| | |
| | | }; |
| | | 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; |
| | | } |
| | |
| | | }); |
| | | } |
| | | }, |
| | | 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)) { |
| | |
| | | |
| | | // this.$refs.aaa.open = true; |
| | | // this.$refs.aaa.getList(); |
| | | }, |
| | | }, */ |
| | | // 规则 |
| | | handleguize(row) { |
| | | this.row = row; |
| | |
| | | this.focusrow = row; |
| | | }, |
| | | |
| | | handleInputConfirm(row) { |
| | | /* handleInputConfirm(row) { |
| | | this.rows.push(row); |
| | | }, |
| | | console.log(this.rows,2233); |
| | | |
| | | }, */ |
| | | // 点击确认 |
| | | determine() { |
| | | // 体检号 |