WXL
2024-01-04 f93cb40b76468c6f1063081a3be16027d69b4832
src/views/repositoryai/intention/index.vue
@@ -173,8 +173,8 @@
              <el-table-column
                label="序号"
                align="center"
                key="targetID"
                prop="targetID"
                key="targetid"
                prop="targetid"
              />
              <el-table-column
                label="值类型"
@@ -827,7 +827,7 @@
    // 疾病-----------------------
    illnessUpdate(row) {
      this.illnessVisible = true;
      this.indexid = row.targetID;
      this.indexid = row.targetid;
      this.illnesslistapi = [];
      const illnessqueryParams = {
        pageNum: 1,
@@ -837,7 +837,7 @@
        console.log(response);
        this.optionsillness = response.rows;
      });
      getillness({ outid: row.targetID, type: 1 }).then((res) => {
      getillness({ outid: row.targetid, type: 1 }).then((res) => {
        this.illnesslist = res.rows;
        console.log(res);
      });
@@ -1082,7 +1082,7 @@
    reset() {
      this.indexform = {
        suitWay: undefined,
        targetID: undefined,
        targetid: undefined,
        targetdesc: undefined,
        baseTagList: [],
        targetoptionList: [],
@@ -1104,7 +1104,7 @@
    },
    // 多选框选中数据
    handleSelectionChange(selection) {
      this.ids = selection.map((item) => item.targetID);
      this.ids = selection.map((item) => item.targetid);
      this.single = selection.length != 1;
      this.multiple = !selection.length;
    },
@@ -1161,7 +1161,7 @@
          this.targetoptionList
        );
        if (valid) {
          if (this.indexform.targetID != undefined) {
          if (this.indexform.targetid != undefined) {
            this.indexform.isoperation = 2;
            gettargetInfoedit(this.indexform).then((response) => {
              this.$modal.msgSuccess("修改成功");
@@ -1182,7 +1182,7 @@
    },
    /** 删除按钮操作 */
    handleDelete(row) {
      const userIds = row.targetID || this.ids;
      const userIds = row.targetid || this.ids;
      this.$modal
        .confirm('是否确认删除指标名称为"' + row.targetname + '"的数据项?')
        .then(function () {