|
@@ -621,11 +621,11 @@ export default { |
|
|
} |
|
|
} |
|
|
}).then(data => { |
|
|
}).then(data => { |
|
|
this.moxingVisible = false |
|
|
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() |
|
|
this.getorgCode() |
|
|
}else{ |
|
|
}else{ |
|
|
this.$message.error(data.data.resMsg) |
|
|
|
|
|
|
|
|
this.$message.error(data.msg) |
|
|
} |
|
|
} |
|
|
}).catch((e)=>{ |
|
|
}).catch((e)=>{ |
|
|
this.moxingVisible = false |
|
|
this.moxingVisible = false |
|
@@ -647,7 +647,7 @@ export default { |
|
|
keywordsId: data.id |
|
|
keywordsId: data.id |
|
|
} |
|
|
} |
|
|
}).then(res => { |
|
|
}).then(res => { |
|
|
console.log(res) |
|
|
|
|
|
|
|
|
// console.log(res) |
|
|
this.moxingVisible = true |
|
|
this.moxingVisible = true |
|
|
if (res.code == 0) { |
|
|
if (res.code == 0) { |
|
|
let obj = res.data |
|
|
let obj = res.data |
|
@@ -704,8 +704,15 @@ export default { |
|
|
houseId:this.houseId |
|
|
houseId:this.houseId |
|
|
}, |
|
|
}, |
|
|
}).then((res) => { |
|
|
}).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{ |
|
|
}else{ |
|
|
this.$message({ |
|
|
this.$message({ |
|
|