| | |
| | | this.loading = false; |
| | | }); |
| | | }, |
| | | |
| | | sub() { |
| | | this.queryParams.compId = this.CheckBox.drugManufacturerId; |
| | | if (this.startTime) { |
| | | this.queryParams.djbeginTime = this.startTime[0]; |
| | | this.queryParams.djendTime = this.startTime[1]; |
| | | } else if (this.createTimeList) { |
| | | this.queryParams.djbeginTime = this.createTimeList[0]; |
| | | this.queryParams.djendTime = this.createTimeList[1]; |
| | | } else if (this.createTimeList == null) { |
| | | this.queryParams.djbeginTime = null; |
| | | this.queryParams.djendTime = null; |
| | | } |
| | | if (this.startTime1) { |
| | | this.queryParams.bgbeginTime = this.startTime1[0]; |
| | | this.queryParams.bgendTime = this.startTime1[1]; |
| | | } |
| | | |
| | | this.loading = true; |
| | | getOrderList(this.queryParams).then((response) => { |
| | | this.orderList = response.data.list; |
| | | if (this.orderList) { |
| | | this.orderList.forEach((item, index) => { |
| | | item.newID = |
| | | (this.queryParams.pageNum - 1) * this.queryParams.pageSize + |
| | | index + |
| | | 1; |
| | | }); |
| | | } |
| | | this.total = response.data.total; |
| | | this.loading = false; |
| | | }); |
| | | }, |
| | | driver(row) { |
| | | return row.pacName == null ? "普通体检" : row.pacName; |
| | | }, |
| | |
| | | /** 搜索按钮操作 */ |
| | | handleQuery() { |
| | | this.queryParams.pageNum = 1; |
| | | this.getList(); |
| | | // this.getList(); |
| | | this.sub(); |
| | | }, |
| | | renderContents(h, { node, data, store }) { |
| | | return ( |