Browse Source

调试

newStyle
corala 1 year ago
parent
commit
f9cf8d0e85
3 changed files with 18 additions and 11 deletions
  1. +13
    -6
      src/views/Customer/label.vue
  2. +1
    -1
      src/views/Template/requiremining.vue
  3. +4
    -4
      src/views/Template/taboo.vue

+ 13
- 6
src/views/Customer/label.vue View File

@@ -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({


+ 1
- 1
src/views/Template/requiremining.vue View File

@@ -775,7 +775,7 @@ export default {
url: `/autoSR/zk/keywords/setWordLevel`,
method: "get",
params: {
houseI: this.houseId,
houseId: this.houseId,
level: this.frosasd.setVal,
keywordId: this.frosasd.id
},


+ 4
- 4
src/views/Template/taboo.vue View File

@@ -740,10 +740,10 @@ export default {
editor() {
this.$refs.ruleForm.validate((valid) => {
if (valid) {
if (this.hasOwn.indexOf(this.ruleForm.words) != -1) {
this.$message.error("该敏感词已存在");
return;
}
// if (this.hasOwn.indexOf(this.ruleForm.words) != -1) {
// this.$message.error("该敏感词已存在");
// return;
// }
this.loadingFlag = true;
if (this.editFlag == false) {
this.$api.http


Loading…
Cancel
Save