| | |
| | | proId: null, |
| | | proName: null, |
| | | }, |
| | | tjNumber: null, |
| | | startTime: "", |
| | | tableKey: "", |
| | | pickerOptions: { |
| | |
| | | |
| | | |
| | | jydPrint() { |
| | | if (this.piliangList.length != 0) { |
| | | const tjnumber = this.piliangList[0].tjNumber; |
| | | const viewNum = "1086792376946569216"; |
| | | const params = { viewNum, tjnumber }; |
| | | this.$tab.openPage("检验科导检单", "/report/clinical", params); |
| | | this.$refs.tb.toggleRowSelection(this.piliangList[0], false); |
| | | this.piliangList = [] |
| | | } else { |
| | | this.$message.info('请重新选择要打印的数据'); |
| | | this.$refs.tb.toggleRowSelection(this.piliangList[0], false); |
| | | this.piliangList = [] |
| | | } |
| | | |
| | | }, |
| | | getTruncatedName(proName) { |
| | | // 去掉所有空格 |
| | |
| | | }, |
| | | |
| | | handleSelectionChange(selection) { |
| | | this.piliangList = selection; |
| | | |
| | | const selectedCount = selection.length; |
| | | const totalCount = this.samplingList.length; |
| | | |
| | |
| | | if (selectedCount === 1) { |
| | | this.disableSelections = false; |
| | | const selectedPerson = selection[0]; |
| | | this.piliangList = selection; |
| | | const tjNumber = selectedPerson.tjNumber; |
| | | console.log(`选中的体检号: ${tjNumber}`); |
| | | this.fetchData(tjNumber); |