From 76196fb19d525648532a209710818ea74c242c3a Mon Sep 17 00:00:00 2001 From: WXL <1785969728@qq.com> Date: 星期二, 23 七月 2024 09:47:47 +0800 Subject: [PATCH] 测试完成 --- src/views/repositoryai/intention/index.vue | 26 ++++++++++++++++++++------ 1 files changed, 20 insertions(+), 6 deletions(-) diff --git a/src/views/repositoryai/intention/index.vue b/src/views/repositoryai/intention/index.vue index 100dd5b..a7edc4b 100644 --- a/src/views/repositoryai/intention/index.vue +++ b/src/views/repositoryai/intention/index.vue @@ -212,7 +212,7 @@ > </el-table-column> - <el-table-column + <!-- <el-table-column label="姝e父鍊艰寖鍥�" align="center" key="warndown" @@ -222,7 +222,7 @@ <template slot-scope="scope"> <span>{{ scope.row.warnup }}~{{ scope.row.warndown }}</span> </template> - </el-table-column> + </el-table-column> --> <el-table-column label="鎸囨爣鎻忚堪" align="center" @@ -297,7 +297,7 @@ ><i class="el-icon-edit"></i>淇敼</span ></el-button > - <el-button + <!-- <el-button size="medium" type="text" @click="handlemeasurement(scope.row)" @@ -305,7 +305,7 @@ ><span class="button-textcs" ><i class="el-icon-help"></i>娴嬭瘯</span ></el-button - > + > --> <el-button size="medium" type="text" @@ -495,8 +495,10 @@ <el-col :span="24"> <el-form-item label="閫傜敤鍦烘櫙" prop="suitWayList"> <el-select + class="el-select1" v-model="indexform.suitWayList" multiple + @change="changeselect" placeholder="璇烽�夋嫨" > <el-option @@ -513,18 +515,19 @@ <el-card class="box-card" style="margin-bottom: 20px" - v-if="indexform.valueType == 1 || indexform.valueType == 2" + v-if="indexform.scriptType == 1 || indexform.scriptType == 2" > <Regular :TargetoptionList="testuserList" :intent="false" + :hasValue="hasValue" @addoption="addoption" @deloption="deloption" @syioption="syioption" @xiayioption="xiayioption" /> </el-card> - <div v-if="indexform.valueType == 3"> + <div v-if="indexform.scriptType == 3"> <el-form-item label="鏀堕泦淇℃伅"> <el-input type="text" @@ -707,6 +710,7 @@ radio: "涓诲垎绫�", testvalue: "", testgovalue: "", + hasValue: true, classifyform: { categoryname: "", }, //绫诲埆琛ㄥ崟 @@ -810,6 +814,10 @@ getIndexInArray(arr, obj) { // 杩斿洖鏁扮粍涓寚瀹氬厓绱犵殑绱㈠紩 return arr.indexOf(obj); + }, + changeselect(row) { + console.log(row); + this.hasValue = row.includes('2'); }, //鍒犻櫎鍒嗙被 deletefenlei(row) { @@ -954,6 +962,7 @@ id: this.indexform.id, targettype: this.indexform.targettype, isoperation: 1, + isabnormal: 0, targetvalue: "", targetregex: "", targetregex2: "", @@ -1008,6 +1017,7 @@ dynamiccruxsJson: item.dynamiccruxsJson, nodynamiccruxsJson: item.nodynamiccruxsJson, targetoptionid: item.targetoptionid, + isabnormal: item.isabnormal, }; }); console.log(this.testuserList); @@ -1179,6 +1189,7 @@ this.title = "鎸囨爣璇︽儏"; this.indexform = {}; this.indexform = row; + this.indexform.scriptType = Number(row.scriptType); if (!row.targetoptionList[0]) { row.targetoptionList = [ { @@ -1396,6 +1407,9 @@ height: 400px; } } +.el-select { + width: 40%; +} ::v-deep.el-tabs--left, .el-tabs--right { overflow: hidden; -- Gitblit v1.9.3