flat: 暂存,新增一体机sdk,和一体机环境

This commit is contained in:
Apcallover
2025-12-16 15:36:42 +08:00
parent 33f1d0a8ab
commit 77dfab84f1
11 changed files with 214 additions and 60 deletions

View File

@@ -168,7 +168,7 @@
</view>
<view v-else class="btn-wq button-click" @click="jobApply">
<span v-if="jobInfo.isApply">立即前往</span>
<span v-if="!jobInfo.isApply">立即投递</span>
<span v-if="!jobInfo.isApply">立即前往</span>
</view>
</view>
</template>
@@ -185,7 +185,7 @@ import dictLabel from '@/components/dict-Label/dict-Label.vue';
import RadarMap from './component/radarMap.vue';
import { storeToRefs } from 'pinia';
import useUserStore from '@/stores/useUserStore';
const { isMiniProgram } = storeToRefs(useUserStore());
const { isMiniProgram, hasLogin } = storeToRefs(useUserStore());
const { $api, navTo, getLenPx, parseQueryParams, navBack, isEmptyObject } = inject('globalFunction');
import config from '@/config.js';
@@ -252,7 +252,10 @@ function getDetail(jobId) {
const { latitude, longitude, companyName, companyId } = resData.data;
jobInfo.value = resData.data;
getCompanyIsAJobs(companyId);
getCompetivetuveness(jobId);
if (hasLogin.value) {
getCompetivetuveness(jobId);
}
if (latitude && longitude) {
initMapCovers(latitude, longitude, companyName);
@@ -285,12 +288,12 @@ function getCompanyIsAJobs(...args) {
if (dataType.value === 2) {
// 第三方数据获取公司职位数量
const [gsID, gsmc, zphID] = args;
const params={
const params = {
gsID,
gsmc,
zphID
}
$api.createRequest(`/app/internal/jobThirdPart`,params).then((resData) => {
zphID,
};
$api.createRequest(`/app/internal/jobThirdPart`, params).then((resData) => {
companyCount.value = resData.total;
});
} else {