WXL
2024-04-25 c1857baa3a4fbce727da5de733fe30d38477978f
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;
    },