| | |
| | | cusPhone: [ |
| | | { required: true, message: "", trigger: "change" }, |
| | | ], |
| | | cusBrithday: [ |
| | | cusBrithday: [ |
| | | { required: true, message: "", trigger: "change" }, |
| | | ], |
| | | // cusNational: [ |
| | |
| | | websocket.onclose = function () { |
| | | alert("读卡器连接关闭"); |
| | | }; |
| | | } else if (res.msg == "Y"){ |
| | | } else if (res.msg == "Y") { |
| | | this.$refs.aaa.open = true; |
| | | this.$refs.aaa.getAllList(); |
| | | this.$refs.aaa.title = "证件字典"; |
| | |
| | | }, |
| | | |
| | | handleChanges(param1) { |
| | | if(this.form.pacCode == "不详"){ |
| | | if (this.form.pacCode == "不详") { |
| | | this.form.cusIdcard = param1[0].xh; |
| | | }else{ |
| | | } else { |
| | | this.form.cusIdcard = param1[0].pacCode; |
| | | } |
| | | |
| | | |
| | | // this.form.cusName = param1[0].pacName; |
| | | // this.form.cusPhone = param1[0].pacRemark; |
| | | |
| | | |
| | | }, |
| | | |
| | | // selected(row, index) { |
| | |
| | | } |
| | | }, |
| | | |
| | | listgetOrder(data) { |
| | | getOrder(data).then((res) => { |
| | | this.$modal.msgSuccess("提交成功"); |
| | | // this.dialogVisibles = true; |
| | | // this.url = window.webkitURL.createObjectURL(res); //将后端返回的blob文件读取出url |
| | | //调接口显示导检单 |
| | | const tjNumber = res.msg; |
| | | const viewNum = "792931586196398080"; |
| | | const params = { viewNum, tjNumber }; |
| | | this.$tab.openPage("导诊单", "/report/breDailyReport", params); |
| | | _this.confirm = true; |
| | | }); |
| | | this.$tab.refreshPage(); |
| | | }, |
| | | |
| | | // 最后提交按钮 |
| | | submitPrice() { |
| | | let _this = this; |
| | |
| | | this.tjFlowingWater = { copeWith, paidIn, discount }; |
| | | |
| | | let data; |
| | | if (pacId) { |
| | | if (pacId || this.tjOrderList.length > 0) { |
| | | data = { |
| | | photo: this.srcUrl, |
| | | pacId, |
| | |
| | | tjFlowingWater: this.tjFlowingWater, |
| | | userId, |
| | | tjType, |
| | | tjCategory:this.tjCategory |
| | | tjCategory: this.tjCategory |
| | | }; |
| | | } else { |
| | | this.listgetOrder(data) |
| | | } else if (pacId || this.tjOrderList.length > 0) { |
| | | data = { |
| | | photo: this.srcUrl, |
| | | tjOrderList: this.tjOrderList, |
| | | tjFlowingWater: this.tjFlowingWater, |
| | | userId, |
| | | tjType, |
| | | tjCategory:this.tjCategory |
| | | tjCategory: this.tjCategory |
| | | }; |
| | | this.listgetOrder(data) |
| | | } else { |
| | | this.$message({ |
| | | type: "warning ", |
| | | message: "请选择套餐!", |
| | | }); |
| | | } |
| | | getOrder(data).then((res) => { |
| | | this.$modal.msgSuccess("提交成功"); |
| | | // this.dialogVisibles = true; |
| | | // this.url = window.webkitURL.createObjectURL(res); //将后端返回的blob文件读取出url |
| | | //调接口显示导检单 |
| | | const tjNumber = res.msg; |
| | | const viewNum = "792931586196398080"; |
| | | const params = { viewNum, tjNumber }; |
| | | this.$tab.openPage("导诊单", "/report/breDailyReport", params); |
| | | _this.confirm = true; |
| | | }); |
| | | this.$tab.refreshPage(); |
| | | |
| | | }, |
| | | }, |
| | | }; |
| | |
| | | |
| | | <style > |
| | | .el-form-item__error { |
| | | display: none; |
| | | } |
| | | display: none; |
| | | } |
| | | |
| | | .el-table__header-wrapper .el-checkbox { |
| | | display: none; |
| | | } |