Browse Source

编辑模型

newStyle
corala 1 year ago
parent
commit
3acbe8f574
2 changed files with 1306 additions and 1207 deletions
  1. +1303
    -1206
      src/views/Template/requireminingAnalysis.vue
  2. +3
    -1
      src/views/Template/taboo.vue

+ 1303
- 1206
src/views/Template/requireminingAnalysis.vue
File diff suppressed because it is too large
View File


+ 3
- 1
src/views/Template/taboo.vue View File

@@ -728,6 +728,7 @@ export default {
this.ruleForm.id = row.id; this.ruleForm.id = row.id;
this.dialogVisible = true; this.dialogVisible = true;
this.ruleForm.words = row.words; this.ruleForm.words = row.words;
this.ruleForm.sceneDesc = row.desc;
this.editFlag = true; this.editFlag = true;
}, },


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


Loading…
Cancel
Save