|  |  |  | @ -317,7 +317,7 @@ | 
			
		
	
		
			
				
					|  |  |  |  |                     </el-form-item> | 
			
		
	
		
			
				
					|  |  |  |  |                   </el-col> | 
			
		
	
		
			
				
					|  |  |  |  |                   <el-col :span="24"> | 
			
		
	
		
			
				
					|  |  |  |  |                     <el-form-item class="query-form-item" label-width="35%" label="业务类型:"> | 
			
		
	
		
			
				
					|  |  |  |  |                     <el-form-item class="query-form-item" label-width="35%" label="业务名称:"> | 
			
		
	
		
			
				
					|  |  |  |  |                       <el-input | 
			
		
	
		
			
				
					|  |  |  |  |                         v-model="info.busTypeName" | 
			
		
	
		
			
				
					|  |  |  |  |                         placeholder="" | 
			
		
	
	
		
			
				
					|  |  |  | @ -423,7 +423,7 @@ import CollectOrderAllotDetail from "./CollectOrderAllotDetail"; | 
			
		
	
		
			
				
					|  |  |  |  | import {filterWorkOptimize} from "@/api/basic/workPlace/sysWorkplaceManage"; | 
			
		
	
		
			
				
					|  |  |  |  | import {getUserBindWork} from '@/api/basic/collectPoint/userWorkplace' | 
			
		
	
		
			
				
					|  |  |  |  | import {decideOrder, deleteByOrder, orderPage, orderTop} from '@/api/collect/collectOrder' | 
			
		
	
		
			
				
					|  |  |  |  | import {getWorkBindBusTypes, removeBusTypeById} from '@/api/basic/workPlace/sysWorkplaceDocuments' | 
			
		
	
		
			
				
					|  |  |  |  | import {getWorkBindBusTypes, removeBusTypeById,filterListByWorkplace} from '@/api/basic/workPlace/sysWorkplaceDocuments' | 
			
		
	
		
			
				
					|  |  |  |  | import {isBlank} from '@/utils/strUtil' | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | export default { | 
			
		
	
	
		
			
				
					|  |  |  | @ -463,6 +463,38 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |  |         companyName: this.$store.getters.companyName, | 
			
		
	
		
			
				
					|  |  |  |  |       }, | 
			
		
	
		
			
				
					|  |  |  |  |       //界面配置相关 | 
			
		
	
		
			
				
					|  |  |  |  |       pickerOptions: { | 
			
		
	
		
			
				
					|  |  |  |  |         shortcuts: [ | 
			
		
	
		
			
				
					|  |  |  |  |           { | 
			
		
	
		
			
				
					|  |  |  |  |             text: "最近一周", | 
			
		
	
		
			
				
					|  |  |  |  |             onClick(picker) { | 
			
		
	
		
			
				
					|  |  |  |  |               const end = new Date(); | 
			
		
	
		
			
				
					|  |  |  |  |               const start = new Date(); | 
			
		
	
		
			
				
					|  |  |  |  |               start.setTime(start.getTime() - 3600 * 1000 * 24 * 7); | 
			
		
	
		
			
				
					|  |  |  |  |               picker.$emit("pick", [start, end]); | 
			
		
	
		
			
				
					|  |  |  |  |             }, | 
			
		
	
		
			
				
					|  |  |  |  |           }, | 
			
		
	
		
			
				
					|  |  |  |  |           { | 
			
		
	
		
			
				
					|  |  |  |  |             text: "最近一个月", | 
			
		
	
		
			
				
					|  |  |  |  |             onClick(picker) { | 
			
		
	
		
			
				
					|  |  |  |  |               const end = new Date(); | 
			
		
	
		
			
				
					|  |  |  |  |               const start = new Date(); | 
			
		
	
		
			
				
					|  |  |  |  |               start.setTime(start.getTime() - 3600 * 1000 * 24 * 30); | 
			
		
	
		
			
				
					|  |  |  |  |               picker.$emit("pick", [start, end]); | 
			
		
	
		
			
				
					|  |  |  |  |             }, | 
			
		
	
		
			
				
					|  |  |  |  |           }, | 
			
		
	
		
			
				
					|  |  |  |  |           { | 
			
		
	
		
			
				
					|  |  |  |  |             text: "最近三个月", | 
			
		
	
		
			
				
					|  |  |  |  |             onClick(picker) { | 
			
		
	
		
			
				
					|  |  |  |  |               const end = new Date(); | 
			
		
	
		
			
				
					|  |  |  |  |               const start = new Date(); | 
			
		
	
		
			
				
					|  |  |  |  |               start.setTime(start.getTime() - 3600 * 1000 * 24 * 90); | 
			
		
	
		
			
				
					|  |  |  |  |               picker.$emit("pick", [start, end]); | 
			
		
	
		
			
				
					|  |  |  |  |             }, | 
			
		
	
		
			
				
					|  |  |  |  |           }, | 
			
		
	
		
			
				
					|  |  |  |  |         ], | 
			
		
	
		
			
				
					|  |  |  |  |       }, | 
			
		
	
		
			
				
					|  |  |  |  |       actDateRange: [], | 
			
		
	
		
			
				
					|  |  |  |  |       //患者处方 | 
			
		
	
		
			
				
					|  |  |  |  |       tableHeader: [], | 
			
		
	
		
			
				
					|  |  |  |  |       queryList: [], | 
			
		
	
	
		
			
				
					|  |  |  | @ -525,7 +557,8 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |  |       }, | 
			
		
	
		
			
				
					|  |  |  |  |       showType: 1, | 
			
		
	
		
			
				
					|  |  |  |  |       routerParam: this.$route.query.routerParam, | 
			
		
	
		
			
				
					|  |  |  |  |       timer: null | 
			
		
	
		
			
				
					|  |  |  |  |       timer: null, | 
			
		
	
		
			
				
					|  |  |  |  |       selectLoading: false | 
			
		
	
		
			
				
					|  |  |  |  |     } | 
			
		
	
		
			
				
					|  |  |  |  |   }, | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
	
		
			
				
					|  |  |  | @ -558,15 +591,16 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |  |         return | 
			
		
	
		
			
				
					|  |  |  |  |       }) | 
			
		
	
		
			
				
					|  |  |  |  |     }, | 
			
		
	
		
			
				
					|  |  |  |  |     timerAuto() { | 
			
		
	
		
			
				
					|  |  |  |  |       //启动定时器 | 
			
		
	
		
			
				
					|  |  |  |  |       this.timer = setInterval(() => { | 
			
		
	
		
			
				
					|  |  |  |  |         this.getList() | 
			
		
	
		
			
				
					|  |  |  |  |       }, 10000) | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |       //清楚定时器的方法 | 
			
		
	
		
			
				
					|  |  |  |  |       // clearInterval(this.timer) | 
			
		
	
		
			
				
					|  |  |  |  |     }, | 
			
		
	
		
			
				
					|  |  |  |  |     //todo 改完之后要取消注释定时器 | 
			
		
	
		
			
				
					|  |  |  |  |     // timerAuto() { | 
			
		
	
		
			
				
					|  |  |  |  |     //   //启动定时器 | 
			
		
	
		
			
				
					|  |  |  |  |     //   this.timer = setInterval(() => { | 
			
		
	
		
			
				
					|  |  |  |  |     //     this.getList() | 
			
		
	
		
			
				
					|  |  |  |  |     //   }, 10000) | 
			
		
	
		
			
				
					|  |  |  |  |     // | 
			
		
	
		
			
				
					|  |  |  |  |     //   //清楚定时器的方法 | 
			
		
	
		
			
				
					|  |  |  |  |     //   // clearInterval(this.timer) | 
			
		
	
		
			
				
					|  |  |  |  |     // }, | 
			
		
	
		
			
				
					|  |  |  |  |     changeInvRemind(val) { | 
			
		
	
		
			
				
					|  |  |  |  |       let post = { | 
			
		
	
		
			
				
					|  |  |  |  |         workPlaceCode: val | 
			
		
	
	
		
			
				
					|  |  |  | @ -713,13 +747,28 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |  |       if (_this == null) | 
			
		
	
		
			
				
					|  |  |  |  |         _this = this | 
			
		
	
		
			
				
					|  |  |  |  |       _this.filterQuery.page = 1; | 
			
		
	
		
			
				
					|  |  |  |  |       _this.selectLoading = true; | 
			
		
	
		
			
				
					|  |  |  |  |       const loading = _this.$loading({ | 
			
		
	
		
			
				
					|  |  |  |  |         lock: true, | 
			
		
	
		
			
				
					|  |  |  |  |         text: 'Loading', | 
			
		
	
		
			
				
					|  |  |  |  |         spinner: 'el-icon-loading', | 
			
		
	
		
			
				
					|  |  |  |  |         background: 'rgba(0, 0, 0, 0.7)' | 
			
		
	
		
			
				
					|  |  |  |  |       }); | 
			
		
	
		
			
				
					|  |  |  |  |       _this.getList(); | 
			
		
	
		
			
				
					|  |  |  |  |       loading.close(); | 
			
		
	
		
			
				
					|  |  |  |  |     }, | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |     getList() { | 
			
		
	
		
			
				
					|  |  |  |  |       this.loading = true; | 
			
		
	
		
			
				
					|  |  |  |  |       if (this.actDateRange !== null) { | 
			
		
	
		
			
				
					|  |  |  |  |         this.filterQuery.startTime = this.actDateRange[0]; | 
			
		
	
		
			
				
					|  |  |  |  |         this.filterQuery.endTime = this.actDateRange[1]; | 
			
		
	
		
			
				
					|  |  |  |  |       } else { | 
			
		
	
		
			
				
					|  |  |  |  |         this.filterQuery.startTime = null; | 
			
		
	
		
			
				
					|  |  |  |  |         this.filterQuery.endTime = null; | 
			
		
	
		
			
				
					|  |  |  |  |       } | 
			
		
	
		
			
				
					|  |  |  |  |       let query = JSON.parse(JSON.stringify(this.filterQuery)); | 
			
		
	
		
			
				
					|  |  |  |  |       query.workPlaceCode = null | 
			
		
	
		
			
				
					|  |  |  |  |       // query.workPlaceCode = null | 
			
		
	
		
			
				
					|  |  |  |  |       orderPage(query).then(res => { | 
			
		
	
		
			
				
					|  |  |  |  |         this.loading = false | 
			
		
	
		
			
				
					|  |  |  |  |         this.list = res.data.list || [] | 
			
		
	
	
		
			
				
					|  |  |  | @ -823,6 +872,7 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |  |       this.showType = 2 | 
			
		
	
		
			
				
					|  |  |  |  |     } | 
			
		
	
		
			
				
					|  |  |  |  |     this.findWorkPlace(this, ""); | 
			
		
	
		
			
				
					|  |  |  |  |     this.getWorkBindBusTypes(this, ""); | 
			
		
	
		
			
				
					|  |  |  |  |     getHead("prescribeAllot", "1").then((re) => { | 
			
		
	
		
			
				
					|  |  |  |  |       // 处理返回的数据 | 
			
		
	
		
			
				
					|  |  |  |  |       this.tableObj = re.data; | 
			
		
	
	
		
			
				
					|  |  |  | 
 |