From e96055d1d6a64f6752d2018f51eb2e3b45a97877 Mon Sep 17 00:00:00 2001 From: lkk <364857242@qq.com> Date: 星期二, 17 十二月 2024 18:00:48 +0800 Subject: [PATCH] 333 --- src/views/doctor/check/index.vue | 77 ++++++++++++++++++++++++++++++++++---- 1 files changed, 69 insertions(+), 8 deletions(-) diff --git a/src/views/doctor/check/index.vue b/src/views/doctor/check/index.vue index 4808d0a..7c9c134 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,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); + + } + }); + } 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); + } + }); + } - vale(datas) { + 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; @@ -1789,8 +1848,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 +2798,11 @@ this.focusrow = row; }, - handleInputConfirm(row) { + /* handleInputConfirm(row) { this.rows.push(row); - }, + console.log(this.rows,2233); + + }, */ // 鐐瑰嚮纭 determine() { // 浣撴鍙� -- Gitblit v1.8.0