|
|
@@ -621,11 +621,11 @@ export default { |
|
|
|
} |
|
|
|
}).then(data => { |
|
|
|
this.moxingVisible = false |
|
|
|
if(data.data.res==1){ |
|
|
|
this.$message.success(data.data.obj) |
|
|
|
if(data.code==0){ |
|
|
|
this.$message.success(data.data) |
|
|
|
this.getorgCode() |
|
|
|
}else{ |
|
|
|
this.$message.error(data.data.resMsg) |
|
|
|
this.$message.error(data.msg) |
|
|
|
} |
|
|
|
}).catch((e)=>{ |
|
|
|
this.moxingVisible = false |
|
|
@@ -647,7 +647,7 @@ export default { |
|
|
|
keywordsId: data.id |
|
|
|
} |
|
|
|
}).then(res => { |
|
|
|
console.log(res) |
|
|
|
// console.log(res) |
|
|
|
this.moxingVisible = true |
|
|
|
if (res.code == 0) { |
|
|
|
let obj = res.data |
|
|
@@ -704,8 +704,15 @@ export default { |
|
|
|
houseId:this.houseId |
|
|
|
}, |
|
|
|
}).then((res) => { |
|
|
|
this.dialogVisible2=false; |
|
|
|
this.getHouse() |
|
|
|
if(res.code ==0){ |
|
|
|
this.dialogVisible2=false; |
|
|
|
this.getHouse() |
|
|
|
}else{ |
|
|
|
this.$message({ |
|
|
|
message: res.msg||'添加失败', |
|
|
|
type: "error", |
|
|
|
}); |
|
|
|
} |
|
|
|
}) |
|
|
|
}else{ |
|
|
|
this.$message({ |
|
|
|