WXL
2024-08-05 9201094eda93a5429e1e83a73f9d18dd84f74099
src/views/knowledge/questionbank/particulars/index.vue
@@ -453,14 +453,16 @@
              @keyup.enter.native="gettargetInfo"
            />
          </el-form-item>
          <el-form-item label="指标标签" prop="userName">
            <el-input
              v-model="queryParams.tagName"
              placeholder="请输入"
              clearable
              style="width: 200px"
              @keyup.enter.native="gettargetInfo"
            />
          <el-form-item label="指标类型" prop="scriptType">
            <el-select v-model="queryParams.scriptType" placeholder="请选择">
              <el-option
                v-for="(item, index) in qyoptions"
                :key="item.value"
                :label="item.label"
                :value="item.value"
              >
              </el-option>
            </el-select>
          </el-form-item>
          <el-form-item>
@@ -616,6 +618,7 @@
        pageNum: 1,
        pageSize: 10,
        isavailable: "",
        scriptType: "",
      },
      optionlist: [
        { value: "scriptTopic", table: "scriptTopic" },
@@ -632,6 +635,7 @@
      inputVisibleillness: false,
      illnessVisible: false, //指标疾病弹框
      deptOptions: [],
      qyoptions: [],
      optionsillness: [],
      illnesslistapi: [],
      illnesslist: [],
@@ -658,6 +662,7 @@
    this.usable = store.getters.usable;
    this.valuetype = store.getters.askvaluetype;
    this.required = store.getters.required;
    this.qyoptions = store.getters.askvaluetype;
  },
  methods: {
@@ -722,7 +727,10 @@
        });
        return;
      }
      this.queryParams.scriptType = this.topicobj.scriptType;
      if (this.topicobj.scriptType) {
        this.queryParams.scriptType = this.topicobj.scriptType;
      }
      this.queryParams.suitWay = 1;
      gettargetInfo(this.queryParams).then((res) => {
        this.targetList = res.rows;
        this.total = res.total;
@@ -836,7 +844,7 @@
            this.scriptTypels = this.topicobj.scriptType;
          })
          .catch(() => {
            this.topicobj.scriptType=this.scriptTypels
            this.topicobj.scriptType = this.scriptTypels;
          });
      }
    },