From 4bc27ca4c7eb5e6ceed68036b9dda7d80c69ead6 Mon Sep 17 00:00:00 2001 From: WXL <1785969728@qq.com> Date: 星期四, 25 四月 2024 16:49:15 +0800 Subject: [PATCH] 测试完成 --- src/views/repositoryai/intention/index.vue | 26 +++++++++++++++++++++++--- 1 files changed, 23 insertions(+), 3 deletions(-) diff --git a/src/views/repositoryai/intention/index.vue b/src/views/repositoryai/intention/index.vue index 3952f5d..0b3eb02 100644 --- a/src/views/repositoryai/intention/index.vue +++ b/src/views/repositoryai/intention/index.vue @@ -197,7 +197,10 @@ :show-overflow-tooltip="true" > <template slot-scope="scope"> - <dict-tag :options="valuetypelb" :value="scope.row.valueType" /> + <dict-tag + :options="valuetypelb" + :value="scope.row.valueType" + /> </template> </el-table-column> <el-table-column @@ -703,7 +706,9 @@ }, //绫诲埆琛ㄥ崟 // 琛ㄦ牸鏁版嵁 targetList: null, - testuserList: [], + testuserList: [ + + ], // 寮瑰嚭灞傛爣棰� title: "", // 鏄惁鏄剧ず寮瑰嚭灞� @@ -745,7 +750,7 @@ pageNum: 1, pageSize: 10, }, - valuetypelb:[], + valuetypelb: [], // 琛ㄥ崟鏍¢獙 rules: {}, @@ -1137,6 +1142,7 @@ targetvalue: "", targetregex: "", targetregex2: "", + isoperation: 1, dynamiccruxs: [], nodynamiccruxs: [], dynamiccruxsJson: "", @@ -1152,8 +1158,22 @@ console.log(row); this.title = "鎸囨爣璇︽儏"; this.indexform = row; + if(!row.targetoptionList[0]){ + row.targetoptionList=[{ + targettype: "1", + targetvalue: "", + targetregex: "", + targetregex2: "", + isoperation: 1, + dynamiccruxs: [], + nodynamiccruxs: [], + dynamiccruxsJson: "", + nodynamiccruxsJson: "", + },] + } this.dynamicTags = row.baseTagList.map(this.processElement); this.testuserList = row.targetoptionList; + this.testvalue = ""; this.indexopen = true; this.measurement = false; }, -- Gitblit v1.9.3