333
lkk
2024-12-17 e96055d1d6a64f6752d2018f51eb2e3b45a97877
333
1个文件已修改
73 ■■■■■ 已修改文件
src/views/doctor/check/index.vue 73 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/doctor/check/index.vue
@@ -1611,9 +1611,9 @@
          };
          getParentId(data).then((response) => {
            this.proParentList = response.data;
            this.proParentList.remark = this.remakes+ this.proParentList.remark;
            this.proParentList.remark =
              this.remakes + this.proParentList.remark;
          });
        } else {
          this.proParentList.remark = this.remakes;
        }
@@ -1723,8 +1723,67 @@
        });
      }
    },
    vale(value) {
      // 你可以在这里处理输入事件
      console.log("输入内容:", value);
    },
    handleInputConfirm(datas) {
      this.proResult = datas;
      var pattern3 = new RegExp("[0-9]+");
      if (pattern3.test(this.proResult)) {
        let data = {
          proId: this.focusrow.proId,
          cusId: this.tableAll.cusId,
          keyNum: this.proResult,
        };
        AutoGetRule(data).then((res) => {
          this.focusrow.conclusion = "";
          if (res.data) {
            this.autorule = res.data;
            this.focusrow.rulesList = this.autorule;
            this.autorule.forEach((item) => {
              if (this.focusrow.conclusion) {
                this.focusrow.conclusion += item.bingzhong;
              } else {
                this.focusrow.conclusion = item.bingzhong;
              }
            });
            // this.rows.push(this.focusrow);
            // console.log(this.rows,5522);
    vale(datas) {
          }
        });
      } else {
        let data = {
          proId: this.focusrow.proId,
          cusId: this.tableAll.cusId,
          keyWord: this.proResult,
        };
        AutoGetRule(data).then((res) => {
          this.focusrow.conclusion = "";
          if (res.data) {
            this.autorule = res.data;
            this.focusrow.rulesList = this.autorule;
            this.autorule.forEach((item) => {
              if (this.focusrow.conclusion) {
                this.focusrow.conclusion += item.bingzhong;
              } else {
                this.focusrow.conclusion = item.bingzhong;
              }
            });
            // this.rows.push(this.focusrow);
          }
        });
      }
      this.rows.push(datas);
      console.log(this.rows,5522)
      // this.$refs.aaa.open = true;
      // this.$refs.aaa.getList();
    },
    /* vale(datas) {
      this.proResult = datas;
      var pattern3 = new RegExp("[0-9]+");
      if (pattern3.test(this.proResult)) {
@@ -1771,7 +1830,7 @@
      // this.$refs.aaa.open = true;
      // this.$refs.aaa.getList();
    },
    }, */
    // 规则
    handleguize(row) {
      this.row = row;
@@ -2739,9 +2798,11 @@
      this.focusrow = row;
    },
    handleInputConfirm(row) {
    /* handleInputConfirm(row) {
      this.rows.push(row);
    },
      console.log(this.rows,2233);
    }, */
    // 点击确认
    determine() {
      // 体检号