flat: cityId: -1 为空
This commit is contained in:
@@ -60,6 +60,7 @@
|
||||
<!-- 行业类型 -->
|
||||
<!-- <template slot="tradeId">
|
||||
<div class="tradeId">
|
||||
|
||||
<el-autocomplete
|
||||
popper-class="my-autocomplete"
|
||||
v-model.trim="tradeState"
|
||||
@@ -1122,7 +1123,9 @@ export default {
|
||||
} else if (type === "edit") {
|
||||
this.title = "编辑任务";
|
||||
detail(row.missionNo).then((res) => {
|
||||
console.log(res)
|
||||
if(res.cityId === -1) {
|
||||
res.cityId = ''
|
||||
}
|
||||
this.obj = res;
|
||||
this.obj.workSkills = []
|
||||
this.obj.workSkills.push(res.worktypeIds)
|
||||
|
||||
@@ -1316,6 +1316,9 @@ export default {
|
||||
} else if (type === "edit") {
|
||||
this.title = "编辑岗位";
|
||||
detail(row.id).then((res) => {
|
||||
if(res.cityId === -1) {
|
||||
res.cityId = ''
|
||||
}
|
||||
this.obj = res;
|
||||
// this.obj.workSkills = []
|
||||
// console.log(res.worktypeIds)
|
||||
|
||||
Reference in New Issue
Block a user