flat: 企业招工身份校验2
This commit is contained in:
@@ -56,6 +56,7 @@ import {
|
||||
dateFormat
|
||||
} from "../../untils/format.js";
|
||||
import dictionary from '@/common/textdata.js';
|
||||
import { defaults } from "lodash";
|
||||
|
||||
export default {
|
||||
beforeCreate: function () { },
|
||||
@@ -101,15 +102,20 @@ export default {
|
||||
},
|
||||
goInfo: function (item) {
|
||||
// const isCan = this.noApply === false ? '0' : '1'
|
||||
if(item.type == 0) {
|
||||
uni.navigateTo({
|
||||
url: `/pages/projectInfo/projectInfo?missionNo=${encodeURIComponent(item.missionNo)}&isCan=1`
|
||||
})
|
||||
} else if(item.type == 1) {
|
||||
uni.navigateTo({
|
||||
url: `/pages/projectInfo/workInfo?workId=${encodeURIComponent(item.id)}&isCan=1`
|
||||
})
|
||||
}
|
||||
switch(item.type) {
|
||||
case 0:
|
||||
this.navTo(`/pages/projectInfo/projectInfo?missionNo=${encodeURIComponent(item.missionNo)}&isCan=1`)
|
||||
break
|
||||
case 1:
|
||||
this.navTo(`/pages/projectInfo/workInfo?workId=${encodeURIComponent(item.id)}&isCan=1`)
|
||||
break
|
||||
case 2:
|
||||
this.navTo(`/pages/projectInfo/workInfo?workId=${encodeURIComponent(item.id)}&isCan=1`)
|
||||
break
|
||||
default:
|
||||
this.navTo(`/pages/projectInfo/workInfo?workId=${encodeURIComponent(item.id)}&isCan=1`)
|
||||
}
|
||||
|
||||
},
|
||||
getCity: function (val) {
|
||||
if (val) {
|
||||
|
||||
Reference in New Issue
Block a user