flat: 暂存,新增一体机sdk,和一体机环境
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user