flat: cityId: -1 为空

This commit is contained in:
Apcallover
2024-04-14 20:26:36 +08:00
parent c4d3d41d5e
commit 4db1206fc9
2 changed files with 7 additions and 1 deletions

View File

@@ -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)

View File

@@ -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)