|
|
@@ -728,6 +728,7 @@ export default { |
|
|
|
this.ruleForm.id = row.id; |
|
|
|
this.dialogVisible = true; |
|
|
|
this.ruleForm.words = row.words; |
|
|
|
this.ruleForm.sceneDesc = row.desc; |
|
|
|
this.editFlag = true; |
|
|
|
}, |
|
|
|
|
|
|
@@ -749,7 +750,7 @@ export default { |
|
|
|
.tabooadd({ |
|
|
|
houseId: this.houseId, |
|
|
|
words: this.ruleForm.words, |
|
|
|
sceneDesc: this.ruleForm.sceneDesc// 场景描述 |
|
|
|
desc: this.ruleForm.sceneDesc// 场景描述 |
|
|
|
}) |
|
|
|
.then((res) => { |
|
|
|
if (res.code == 0) { |
|
|
@@ -775,6 +776,7 @@ export default { |
|
|
|
this.$api.http |
|
|
|
.tabooupdate({ |
|
|
|
id: this.ruleForm.id, |
|
|
|
desc: this.ruleForm.sceneDesc, |
|
|
|
words: this.ruleForm.words, |
|
|
|
}) |
|
|
|
.then((res) => { |
|
|
|