From 061a4d2d7e73aa92c7ad61a34cf471d26fb08a32 Mon Sep 17 00:00:00 2001 From: wwl <xchao828@163.com> Date: 星期二, 24 十二月 2024 10:22:20 +0800 Subject: [PATCH] 增加参数 --- src/views/doctor/check/index.vue | 79 +++++++++++++++++++++++++++++++++++---- 1 files changed, 70 insertions(+), 9 deletions(-) diff --git a/src/views/doctor/check/index.vue b/src/views/doctor/check/index.vue index 4808d0a..1ccb796 100644 --- a/src/views/doctor/check/index.vue +++ b/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,72 @@ }); } }, + 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, + tjNum: this.tableAll.tjNumber, + keyNum: this.proResult.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); + + } + }); + } else { + let data = { + proId: this.focusrow.proId, + cusId: this.tableAll.cusId, + keyWord: this.proResult, + tjNum: this.tableAll.tjNumber, + keyNum: this.proResult.proResult - vale(datas) { + }; + 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 +1835,7 @@ // this.$refs.aaa.open = true; // this.$refs.aaa.getList(); - }, + }, */ // 瑙勫垯 handleguize(row) { this.row = row; @@ -1789,8 +1853,8 @@ this.loading = true; this.queryParams.type = this.tjStatus; getProList(this.queryParams).then((response) => { - console.log(response,1212); - + console.log(response, 1212); + if (response.code == 200) { this.loading = false; if (response.data) { @@ -2739,9 +2803,6 @@ this.focusrow = row; }, - handleInputConfirm(row) { - this.rows.push(row); - }, // 鐐瑰嚮纭 determine() { // 浣撴鍙� -- Gitblit v1.8.0