| | |
| | | }); |
| | | } |
| | | }); |
| | | this.taocan = false; |
| | | this.defaultKeys = []; |
| | | }, |
| | | |
| | | Package() { |
| | |
| | | <el-button type="primary" @click="Package" size="mini" |
| | | >选择套餐</el-button |
| | | > |
| | | |
| | | <el-button |
| | | type="primary" |
| | | @click="resetpackage" |
| | | size="mini" |
| | | >重置套餐</el-button |
| | | > |
| | | <el-button |
| | | type="primary" |
| | | @click="submitPrice" |
| | |
| | | // return true; |
| | | // } |
| | | // }, |
| | | resetpackage(){ |
| | | if (this.form.cusIdcard) { |
| | | var cusId = this.form.cusIdcard; |
| | | } else { |
| | | this.$message.warning("请先填写信息,再选体检内容"); |
| | | } |
| | | let _this = this; |
| | | _this.pacId = ""; |
| | | this.proIds = []; |
| | | let data = { |
| | | cusId, |
| | | pacId: _this.pacId, |
| | | proIds: this.proIds, |
| | | }; |
| | | getaddtTransition(data).then((response) => { |
| | | if (response.code === 200) { |
| | | let cusId = this.form.cusIdcard; |
| | | this.proIds = []; |
| | | getTransitionList(cusId).then((response) => { |
| | | this.tableData1 = response.data; |
| | | this.TotalPrice1 = 0; |
| | | if (this.tableData1.length>=1) { |
| | | this.list1 = false; |
| | | this.list3 = true; |
| | | } else { |
| | | this.list1 = true; |
| | | |
| | | this.TotalPrice = "0.00"; |
| | | } |
| | | }); |
| | | } |
| | | }); |
| | | }, |
| | | |
| | | Package() { |
| | | this.taocan = true; |