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 => { }).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({


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

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


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

@@ -740,10 +740,10 @@ export default {
editor() { editor() {
this.$refs.ruleForm.validate((valid) => { this.$refs.ruleForm.validate((valid) => {
if (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; this.loadingFlag = true;
if (this.editFlag == false) { if (this.editFlag == false) {
this.$api.http this.$api.http


Loading…
Cancel
Save