Browse Source

协和病历开发

maotao 13 hours ago
parent
commit
51348156d7

+ 10 - 10
components/bigScreen/bigScreen.vue

@@ -524,7 +524,7 @@
524
 				// this.ScanningCommon('', '7868686868688');
524
 				// this.ScanningCommon('', '7868686868688');
525
 				
525
 				
526
 				// 发起中转配送
526
 				// 发起中转配送
527
-				this.ScanningCommon('', '1de40295-c7cc-4394-a2cd-18e0e7112d99');
527
+				// this.ScanningCommon('', '05ae81fc-3f07-4b8a-bbcb-53c40ede7d3d');
528
 				
528
 				
529
 				// 快捷建单-轮巡工单码
529
 				// 快捷建单-轮巡工单码
530
 				// this.ScanningCommon('', '3330ec8e-76eb-413e-b000-995f08d2ff96');
530
 				// this.ScanningCommon('', '3330ec8e-76eb-413e-b000-995f08d2ff96');
@@ -535,15 +535,15 @@
535
 				// 终点科室核对码--本部住院检验科
535
 				// 终点科室核对码--本部住院检验科
536
 				// this.ScanningCommon('', '95c5de27-c05f-11ea-8cfe-000c29097622');
536
 				// this.ScanningCommon('', '95c5de27-c05f-11ea-8cfe-000c29097622');
537
 				
537
 				
538
-        // if (!this.SMFlag) {
539
-        //   return;
540
-        // }
541
-        // this.SMFlag = false;
542
-        // SM().then((content) => {
543
-        //   this.ScanningCommon(qrcodePrefix, content);
544
-        // }).catch(err => {
545
-        //   this.SMFlag = true;
546
-        // });
538
+        if (!this.SMFlag) {
539
+          return;
540
+        }
541
+        this.SMFlag = false;
542
+        SM().then((content) => {
543
+          this.ScanningCommon(qrcodePrefix, content);
544
+        }).catch(err => {
545
+          this.SMFlag = true;
546
+        });
547
       },
547
       },
548
       //底部扫描-无须扫码
548
       //底部扫描-无须扫码
549
       ScanningCommon(qrcodePrefix = '', content){
549
       ScanningCommon(qrcodePrefix = '', content){

+ 2 - 2
manifest.json

@@ -123,9 +123,9 @@
123
             "disableHostCheck" : true,
123
             "disableHostCheck" : true,
124
             "proxy" : {
124
             "proxy" : {
125
                 "/service" : {
125
                 "/service" : {
126
-                    // "target" : "http://192.168.3.108", //请求的目标域名
126
+                    "target" : "http://192.168.3.108", //请求的目标域名
127
 
127
 
128
-                    "target" : "http://192.168.4.163", //宋程玉本地
128
+                    // "target" : "http://192.168.4.163", //宋程玉本地
129
                     "changeOrigin" : true, //是否跨域
129
                     "changeOrigin" : true, //是否跨域
130
                     "secure" : false
130
                     "secure" : false
131
                 }
131
                 }

+ 5 - 14
pages.json

@@ -825,7 +825,7 @@
825
 		    "h5": {
825
 		    "h5": {
826
 		      "titleNView": false
826
 		      "titleNView": false
827
 		    },
827
 		    },
828
-		    "enablePullDownRefresh": true
828
+		    "enablePullDownRefresh": false
829
 		  }
829
 		  }
830
 		},
830
 		},
831
 		{
831
 		{
@@ -834,16 +834,7 @@
834
 		    "h5": {
834
 		    "h5": {
835
 		      "titleNView": false
835
 		      "titleNView": false
836
 		    },
836
 		    },
837
-		    "enablePullDownRefresh": true
838
-		  }
839
-		},
840
-		{
841
-		  "path": "pages/sponsorTask/sponsorTask",
842
-		  "style": {
843
-		    "h5": {
844
-		      "titleNView": false
845
-		    },
846
-		    "enablePullDownRefresh": true
837
+		    "enablePullDownRefresh": false
847
 		  }
838
 		  }
848
 		},
839
 		},
849
 		{
840
 		{
@@ -852,7 +843,7 @@
852
 		    "h5": {
843
 		    "h5": {
853
 		      "titleNView": false
844
 		      "titleNView": false
854
 		    },
845
 		    },
855
-		    "enablePullDownRefresh": true
846
+		    "enablePullDownRefresh": false
856
 		  }
847
 		  }
857
 		},
848
 		},
858
 		{
849
 		{
@@ -861,7 +852,7 @@
861
 		    "h5": {
852
 		    "h5": {
862
 		      "titleNView": false
853
 		      "titleNView": false
863
 		    },
854
 		    },
864
-		    "enablePullDownRefresh": true
855
+		    "enablePullDownRefresh": false
865
 		  }
856
 		  }
866
 		},
857
 		},
867
 		{
858
 		{
@@ -870,7 +861,7 @@
870
 		    "h5": {
861
 		    "h5": {
871
 		      "titleNView": false
862
 		      "titleNView": false
872
 		    },
863
 		    },
873
-		    "enablePullDownRefresh": true
864
+		    "enablePullDownRefresh": false
874
 		  }
865
 		  }
875
 		}
866
 		}
876
   ],
867
   ],

+ 1 - 3
pages/otherCompleteOrder/otherCompleteOrder.vue

@@ -27,7 +27,7 @@
27
 			<view class="goWorkSelect history" v-if="digitalHandoverSwitch">
27
 			<view class="goWorkSelect history" v-if="digitalHandoverSwitch">
28
 			  <view class="goWorkSelect-head">请填写交接数量</view>
28
 			  <view class="goWorkSelect-head">请填写交接数量</view>
29
 			  <view class="goWorkSelect-list">
29
 			  <view class="goWorkSelect-list">
30
-					<input class="input-num" type="text" v-model="digitalNum">
30
+					<input class="input-num" type="number" v-model="digitalNum">
31
 			  </view>
31
 			  </view>
32
 			</view>
32
 			</view>
33
       <view class="goWorkSelect history" v-if="actionPhotoSwitch">
33
       <view class="goWorkSelect history" v-if="actionPhotoSwitch">
@@ -97,7 +97,6 @@
97
       // 其他临床服务-运输过程-终点科室是否开通备注填写
97
       // 其他临床服务-运输过程-终点科室是否开通备注填写
98
       isOpenTransportationProcessRemarks(data, accountObj, funName){
98
       isOpenTransportationProcessRemarks(data, accountObj, funName){
99
         const tasktype = data.taskType;
99
         const tasktype = data.taskType;
100
-        console.log(tasktype, data);
101
         if(tasktype.associationType.value === 'other' && tasktype.carryingCourses[this.currentIndex].logSwitch && data.gdState.value == 5){
100
         if(tasktype.associationType.value === 'other' && tasktype.carryingCourses[this.currentIndex].logSwitch && data.gdState.value == 5){
102
           uni.navigateTo({
101
           uni.navigateTo({
103
             url: `../../pages/transportationProcessRemarks/transportationProcessRemarks?data=${data ? encodeURIComponent(JSON.stringify(data)) : ''}&accountObj=${accountObj ? encodeURIComponent(JSON.stringify(accountObj)) : ''}&currentCode=${this.currentCode}&funName=${funName}&actions=${this.actions ? encodeURIComponent(JSON.stringify(this.actions)) : ''}&imageValue=${this.imageValue ? encodeURIComponent(JSON.stringify(this.imageValue)) : ''}`
102
             url: `../../pages/transportationProcessRemarks/transportationProcessRemarks?data=${data ? encodeURIComponent(JSON.stringify(data)) : ''}&accountObj=${accountObj ? encodeURIComponent(JSON.stringify(accountObj)) : ''}&currentCode=${this.currentCode}&funName=${funName}&actions=${this.actions ? encodeURIComponent(JSON.stringify(this.actions)) : ''}&imageValue=${this.imageValue ? encodeURIComponent(JSON.stringify(this.imageValue)) : ''}`
@@ -147,7 +146,6 @@
147
         }
146
         }
148
         this.hosModels.disjunctor = false;
147
         this.hosModels.disjunctor = false;
149
         let associationTypeValue = this.currentData.taskType.associationType.value;
148
         let associationTypeValue = this.currentData.taskType.associationType.value;
150
-        console.log(associationTypeValue)
151
         if(this.actionPhotoSwitch && this.actionConfirmSwitch){
149
         if(this.actionPhotoSwitch && this.actionConfirmSwitch){
152
           this.isOpenTransportationProcessRemarks(this.currentData, data, 'uploadToOther');
150
           this.isOpenTransportationProcessRemarks(this.currentData, data, 'uploadToOther');
153
         }else if(this.actionConfirmSwitch){
151
         }else if(this.actionConfirmSwitch){

+ 6 - 5
pages/scanning_all/scanning_all.vue

@@ -444,11 +444,12 @@
444
               icon: "none",
444
               icon: "none",
445
               title: res.info,
445
               title: res.info,
446
             });
446
             });
447
-						setTimeout(_=>{
448
-							uni.redirectTo({
449
-								url:'/pages/receiptpage/receiptpage'
450
-							})
451
-						},1000)
447
+						this.flag = true;
448
+						// setTimeout(_=>{
449
+						// 	uni.redirectTo({
450
+						// 		url:'/pages/receiptpage/receiptpage'
451
+						// 	})
452
+						// },1000)
452
           }else {
453
           }else {
453
             this.flag = true;
454
             this.flag = true;
454
             uni.navigateTo({
455
             uni.navigateTo({

+ 13 - 3
pages/sponsorTask/sponsorTask.vue

@@ -30,7 +30,9 @@
30
     methods: {
30
     methods: {
31
       // 返回
31
       // 返回
32
       goBack() {
32
       goBack() {
33
-        uni.navigateBack();
33
+				uni.navigateTo({
34
+					url:'/pages/receiptpage/receiptpage'
35
+				})
34
       },
36
       },
35
 			itemClick(item){
37
 			itemClick(item){
36
 				uni.navigateTo({
38
 				uni.navigateTo({
@@ -46,7 +48,8 @@
46
 					idx: 0,
48
 					idx: 0,
47
 					sum: 9999,
49
 					sum: 9999,
48
 					taskType:{
50
 					taskType:{
49
-						hosIds: this.hosId
51
+						hosIds: this.hosId,
52
+						simpleQuery: true
50
 					}
53
 					}
51
 				}
54
 				}
52
 				post("/configuration/fetchDataList/taskType", postData).then((res) => {
55
 				post("/configuration/fetchDataList/taskType", postData).then((res) => {
@@ -195,11 +198,18 @@
195
 				color: #64BD7B;
198
 				color: #64BD7B;
196
 				line-height: 80rpx;
199
 				line-height: 80rpx;
197
 				border-bottom: 1rpx solid #E5E5E5;
200
 				border-bottom: 1rpx solid #E5E5E5;
201
+				position: absolute;
202
+				top: 0;
203
+				width: 100%;
204
+				height: 80rpx;
205
+				background: #fff;
198
 			}
206
 			}
199
 			
207
 			
200
       .goWorkSelect {
208
       .goWorkSelect {
201
         &.history {
209
         &.history {
202
-          height: 356rpx;
210
+          height: 81vh;
211
+          overflow-y: auto;
212
+          margin-top: 80rpx;
203
           padding-bottom: 16rpx;
213
           padding-bottom: 16rpx;
204
         }
214
         }
205
 
215
 

+ 107 - 21
pages/sponsorTaskBuild/sponsorTaskBuild.vue

@@ -4,23 +4,29 @@
4
 			<view class="title">{{taskName}}</view>
4
 			<view class="title">{{taskName}}</view>
5
 			<view class="goWorkSelect history">
5
 			<view class="goWorkSelect history">
6
 			  <view class="goWorkSelect-list">
6
 			  <view class="goWorkSelect-list">
7
-					申请科室:
8
-					<input type="text" v-model="applyDept" placeholder="请选择申请科室">
7
+					<view class="list-title">申请科室:</view>
8
+					<view @click="searchDept('applyDept')" :class="applyDeptId ? 'black' : 'gray'">
9
+						{{applyDept}}
10
+					</view>
9
 					<text class="right-icon newicon newicon-weibiaoti2010104" @click="searchDept('applyDept')"></text>
11
 					<text class="right-icon newicon newicon-weibiaoti2010104" @click="searchDept('applyDept')"></text>
10
 					<text class="toolbar-icon newicon newicon-saoma" @click="scan()"></text>
12
 					<text class="toolbar-icon newicon newicon-saoma" @click="scan()"></text>
11
 				</view>
13
 				</view>
12
 				<view class="goWorkSelect-list">
14
 				<view class="goWorkSelect-list">
13
-					起点科室:
14
-					<input type="text" :disabled="startTarget==201 || startTarget==203" v-model="startDept" placeholder="请选择起点科室">
15
+					<view class="list-title">起点科室:</view>
16
+					<view @click="searchDept('startDept')" :class="startDeptId ? 'black' : 'gray'">
17
+						{{startDept}}
18
+					</view>
15
 					<text v-if="startTarget==202 || startTarget==204 || startTarget==205" class="right-icon newicon newicon-weibiaoti2010104" @click="searchDept('startDept')"></text>
19
 					<text v-if="startTarget==202 || startTarget==204 || startTarget==205" class="right-icon newicon newicon-weibiaoti2010104" @click="searchDept('startDept')"></text>
16
 				</view>
20
 				</view>
17
 				<view class="goWorkSelect-list">
21
 				<view class="goWorkSelect-list">
18
-					终点科室:
19
-					<input type="text" :disabled="endTarget==201 || endTarget==203" v-model="endDept" placeholder="请选择终点科室">
22
+					<view class="list-title">终点科室:</view>
23
+					<view @click="searchDept('endDept')" :class="endDeptId ? 'black' : 'gray'">
24
+						{{endDept}}
25
+					</view>
20
 					<text v-if="endTarget==202 || endTarget==204 || endTarget==205" class="right-icon newicon newicon-weibiaoti2010104" @click="searchDept('endDept')"></text>
26
 					<text v-if="endTarget==202 || endTarget==204 || endTarget==205" class="right-icon newicon newicon-weibiaoti2010104" @click="searchDept('endDept')"></text>
21
 				</view>
27
 				</view>
22
 				<view class="goWorkSelect-list besides" v-if="remarksSwitch==1">
28
 				<view class="goWorkSelect-list besides" v-if="remarksSwitch==1">
23
-					备注信息:
29
+					<view class="list-title">备注信息:</view>
24
 					<textarea v-model="remark" :placeholder="remarksPrompts"/>
30
 					<textarea v-model="remark" :placeholder="remarksPrompts"/>
25
 				</view>
31
 				</view>
26
 			</view>
32
 			</view>
@@ -31,7 +37,7 @@
31
     </view>
37
     </view>
32
 		
38
 		
33
 		<uni-popup ref="alertDialog" type="dialog" :mask-click="false">
39
 		<uni-popup ref="alertDialog" type="dialog" :mask-click="false">
34
-			<uni-popup-dialog type="warn" cancelText="取消" confirmText="确定" title="提示" :content="content" @confirm="dialogConfirm"
40
+			<uni-popup-dialog type="info" cancelText="取消" confirmText="确定" title="提示" :content="content" @confirm="dialogConfirm"
35
 				@close="dialogClose"></uni-popup-dialog>
41
 				@close="dialogClose"></uni-popup-dialog>
36
 		</uni-popup>
42
 		</uni-popup>
37
   </view>
43
   </view>
@@ -51,11 +57,11 @@
51
 				list:[],
57
 				list:[],
52
 				hosId: uni.getStorageSync('userData').user.currentHospital.id,
58
 				hosId: uni.getStorageSync('userData').user.currentHospital.id,
53
 				SMFlag:true,
59
 				SMFlag:true,
54
-				applyDept:null,
60
+				applyDept:"请选择申请科室",
55
 				applyDeptId:null,
61
 				applyDeptId:null,
56
-				startDept:null,
62
+				startDept:"请选择起点科室",
57
 				startDeptId:null,
63
 				startDeptId:null,
58
-				endDept:null,
64
+				endDept:"请选择终点科室",
59
 				endDeptId:null,
65
 				endDeptId:null,
60
 				remark:null,
66
 				remark:null,
61
 				itemTaskType:null,
67
 				itemTaskType:null,
@@ -79,10 +85,40 @@
79
 			},
85
 			},
80
       // 返回
86
       // 返回
81
       goBack() {
87
       goBack() {
82
-        uni.navigateBack();
88
+				this.setSess();
89
+				uni.navigateTo({
90
+					url:'/pages/sponsorTask/sponsorTask'
91
+				})
83
       },
92
       },
84
 			// 建单
93
 			// 建单
85
 			submit(){
94
 			submit(){
95
+				if(!this.applyDeptId){
96
+					uni.showToast({
97
+					  icon: 'none',
98
+					  title: '申请科室不能为空'
99
+					});
100
+					return
101
+				}
102
+				if(!this.startDeptId){
103
+					uni.showToast({
104
+					  icon: 'none',
105
+					  title: '起点科室不能为空'
106
+					});
107
+					return
108
+				}
109
+				if(!this.endDeptId){
110
+					uni.showToast({
111
+					  icon: 'none',
112
+					  title: '终点科室不能为空'
113
+					});
114
+					return
115
+				}
116
+				this.content = `您将前往【${this.startDept}】执行【${this.taskName}】,送往【${this.endDept}】,确定建单吗?`
117
+				this.$refs.alertDialog.open()
118
+			},
119
+			
120
+			// 确定中转
121
+			dialogConfirm(){
86
 				uni.showLoading({
122
 				uni.showLoading({
87
 				  title: "加载中",
123
 				  title: "加载中",
88
 				  mask: true,
124
 				  mask: true,
@@ -129,7 +165,10 @@
129
 				  } else if(res2.status == 1000033){
165
 				  } else if(res2.status == 1000033){
130
 						this.tipsCreateOder = 1
166
 						this.tipsCreateOder = 1
131
 						this.content = res2.msg
167
 						this.content = res2.msg
132
-				    this.$refs.alertDialog.open()
168
+						this.$refs.alertDialog.close()
169
+						setTimeout(_=>{
170
+							this.$refs.alertDialog.open()
171
+						},500)
133
 				  } else {
172
 				  } else {
134
 						uni.showToast({
173
 						uni.showToast({
135
 						  icon: 'none',
174
 						  icon: 'none',
@@ -138,16 +177,23 @@
138
 					}
177
 					}
139
 				});
178
 				});
140
 			},
179
 			},
141
-			// 确定中转
142
-			dialogConfirm(){
143
-				this.submit()
144
-			},
145
 			// 取消
180
 			// 取消
146
 			dialogClose(){
181
 			dialogClose(){
182
+				this.tipsCreateOder = null
147
 				this.$refs.alertDialog.close()
183
 				this.$refs.alertDialog.close()
148
 			},
184
 			},
149
 			// 搜索科室
185
 			// 搜索科室
150
 			searchDept(type){
186
 			searchDept(type){
187
+				if(type=='startDept'){
188
+					if(this.startTarget==201 || this.startTarget==203){
189
+						return
190
+					}
191
+				}
192
+				if(type=='endDept'){
193
+					if(this.endTarget==201 || this.endTarget==203){
194
+						return
195
+					}
196
+				}
151
 				let data = {
197
 				let data = {
152
 					applyDept:this.applyDept,
198
 					applyDept:this.applyDept,
153
 					applyDeptId:this.applyDeptId,
199
 					applyDeptId:this.applyDeptId,
@@ -168,14 +214,18 @@
168
 				  return;
214
 				  return;
169
 				}
215
 				}
170
 				this.SMFlag = false;
216
 				this.SMFlag = false;
217
+				// let content = '87bdf1c7-1514-4fa8-8fa4-07f37c06bec7'
171
 				SM().then((content) => {
218
 				SM().then((content) => {
172
 					uni.showLoading({
219
 					uni.showLoading({
173
 					  title: "加载中",
220
 					  title: "加载中",
174
 					  mask: true,
221
 					  mask: true,
175
 					});
222
 					});
176
-					post("/repair/scanCode", {
177
-						code: content
178
-					}).then((res2) => {
223
+					let data = {
224
+						getDeptInfo: true,
225
+						content: content
226
+					}
227
+					post("/dept/scanning" , data).then((res2) => {
228
+						this.SMFlag = true;
179
 					  uni.hideLoading();
229
 					  uni.hideLoading();
180
 					  if (res2.state == 200) {
230
 					  if (res2.state == 200) {
181
 							this.applyDept = res2.data.dept
231
 							this.applyDept = res2.data.dept
@@ -225,6 +275,9 @@
225
 				});
275
 				});
226
 			}
276
 			}
227
     },
277
     },
278
+		onUnload(){
279
+			this.setSess();
280
+		},
228
 		onShow(options){
281
 		onShow(options){
229
 			
282
 			
230
 		},
283
 		},
@@ -327,8 +380,25 @@
327
 /deep/ .uni-textarea-placeholder{
380
 /deep/ .uni-textarea-placeholder{
328
 	padding: 6rpx;
381
 	padding: 6rpx;
329
 }
382
 }
383
+/deep/ .uni-button-color{
384
+	color: #64BD7B;
385
+}
330
 </style>
386
 </style>
331
 <style lang="less" scoped>
387
 <style lang="less" scoped>
388
+	.black{
389
+		color: #000;
390
+		width: 400rpx;
391
+		// overflow:hidden;/*内容超出后隐藏*/
392
+		// text-overflow:ellipsis;/*超出内容显示为省略号*/
393
+		// white-space:nowrap;
394
+	}
395
+	.gray{
396
+		color: #7b7b7b;
397
+		width: 400rpx;
398
+		// overflow:hidden;/*内容超出后隐藏*/
399
+		// text-overflow:ellipsis;/*超出内容显示为省略号*/
400
+		// white-space:nowrap;
401
+	}
332
   .HomeItem {
402
   .HomeItem {
333
     .foot_btn_spe {
403
     .foot_btn_spe {
334
       width: 100%;
404
       width: 100%;
@@ -453,17 +523,33 @@
453
 				
523
 				
454
         .goWorkSelect-list {
524
         .goWorkSelect-list {
455
 					display: flex;
525
 					display: flex;
526
+					flex-wrap: nowrap;
456
 					align-items: center;
527
 					align-items: center;
457
 					padding: 20rpx;
528
 					padding: 20rpx;
458
 					border-bottom: 1rpx solid #E5E5E5;
529
 					border-bottom: 1rpx solid #E5E5E5;
530
+					position: relative;
531
+					
532
+					.list-title{
533
+						width: 180rpx;
534
+					}
535
+					
536
+					.input-sign{
537
+						user-select: none; 
538
+						pointer-events: none;
539
+					}
459
 					
540
 					
460
 					.right-icon{
541
 					.right-icon{
461
 						font-size: 38rpx !important;
542
 						font-size: 38rpx !important;
462
-						margin-right: 20rpx;
543
+						margin: 0 40rpx 0 10rpx;
463
 						position: relative;
544
 						position: relative;
464
 						top: -2rpx;
545
 						top: -2rpx;
465
 					}
546
 					}
466
 					
547
 					
548
+					.toolbar-icon{
549
+						position: absolute;
550
+						right: 20rpx;
551
+					}
552
+					
467
 					.newicon{
553
 					.newicon{
468
 						font-size: 32rpx;
554
 						font-size: 32rpx;
469
 						color: #b8b8b8;
555
 						color: #b8b8b8;

+ 23 - 6
pages/taskTypeSearch/taskTypeSearch.vue

@@ -60,8 +60,8 @@
60
 			this.taskName = options.taskName
60
 			this.taskName = options.taskName
61
 			this.type = options.type
61
 			this.type = options.type
62
 			// 科室类型:201:默认发起科室
62
 			// 科室类型:201:默认发起科室
63
-			// 科室类型:202:固定科室
64
-			// 科室类型:203:固定科室范围
63
+			// 科室类型:202:固定科室范围
64
+			// 科室类型:203:固定科室
65
 			// 科室类型:204:自主填写
65
 			// 科室类型:204:自主填写
66
 			// 科室类型:205:固定科室类型
66
 			// 科室类型:205:固定科室类型
67
 			this.startTarget = this.taskTypeData.startStatus
67
 			this.startTarget = this.taskTypeData.startStatus
@@ -77,17 +77,22 @@
77
 		},
77
 		},
78
 		methods: {
78
 		methods: {
79
 			searchKey(e){
79
 			searchKey(e){
80
-				if(this.type=='startDept'){
80
+				if(this.type=='applyDept'){
81
 					this.handleSearch1()
81
 					this.handleSearch1()
82
-				}else if (this.type=='checkoutDept'){
82
+				}else if (this.type=='startDept'){
83
 					this.handleSearch2()
83
 					this.handleSearch2()
84
+				}else if (this.type=='endDept'){
85
+					this.handleSearch3()
84
 				}
86
 				}
85
 			},
87
 			},
86
 			handleSearch1: debounce(function() {
88
 			handleSearch1: debounce(function() {
87
-			  this.getStartDept();
89
+			  this.getapplyDept();
88
 			}, 500),
90
 			}, 500),
89
 			handleSearch2: debounce(function() {
91
 			handleSearch2: debounce(function() {
90
-			  this.getCheckoutDept();
92
+			  this.getStartDept();
93
+			}, 500),
94
+			handleSearch3: debounce(function() {
95
+			  this.getEndDept();
91
 			}, 500),
96
 			}, 500),
92
 			//获取申请科室
97
 			//获取申请科室
93
 			getapplyDept() {
98
 			getapplyDept() {
@@ -134,6 +139,12 @@
134
 					post("/simple/data/fetchDataList/department", postData).then((res) => {
139
 					post("/simple/data/fetchDataList/department", postData).then((res) => {
135
 						this.dataList = res.list
140
 						this.dataList = res.list
136
 					})
141
 					})
142
+				}else if(this.startTarget== 202){
143
+					if(this.key){
144
+						this.dataList = this.taskTypeData.startDept.filter(i=>i.dept.indexOf(this.key)!=-1)
145
+					}else{
146
+						this.dataList = this.taskTypeData.startDept
147
+					}
137
 				}else{
148
 				}else{
138
 					this.dataList = this.taskTypeData.startDept
149
 					this.dataList = this.taskTypeData.startDept
139
 				}
150
 				}
@@ -166,6 +177,12 @@
166
 					post("/simple/data/fetchDataList/department", postData).then((res) => {
177
 					post("/simple/data/fetchDataList/department", postData).then((res) => {
167
 						this.dataList = res.list
178
 						this.dataList = res.list
168
 					})
179
 					})
180
+				}else if(this.endTarget== 202){
181
+					if(this.key){
182
+						this.dataList = this.taskTypeData.endDept.filter(i=>i.dept.indexOf(this.key)!=-1)
183
+					}else{
184
+						this.dataList = this.taskTypeData.endDept
185
+					}
169
 				}else{
186
 				}else{
170
 					this.dataList = this.taskTypeData.endDept
187
 					this.dataList = this.taskTypeData.endDept
171
 				}
188
 				}

+ 15 - 3
pages/transferConnect/transferConnect.vue

@@ -5,7 +5,7 @@
5
 			<view class="goWorkSelect history">
5
 			<view class="goWorkSelect history">
6
 			  <view class="goWorkSelect-head">总数量:{{optData.totalNum}}</view>
6
 			  <view class="goWorkSelect-head">总数量:{{optData.totalNum}}</view>
7
 			  <view class="goWorkSelect-list" v-for="(item, i) in optData.data">
7
 			  <view class="goWorkSelect-list" v-for="(item, i) in optData.data">
8
-					{{item.deptName}}
8
+					{{item.deptName}}: {{item.num}}
9
 				</view>
9
 				</view>
10
 			</view>
10
 			</view>
11
     </view>
11
     </view>
@@ -20,7 +20,7 @@
20
 		
20
 		
21
 		<!-- 中转 -->
21
 		<!-- 中转 -->
22
 		<uni-popup ref="alertDialog" type="dialog" :mask-click="false">
22
 		<uni-popup ref="alertDialog" type="dialog" :mask-click="false">
23
-			<uni-popup-dialog type="warn" message="提示" cancelText="取消" confirmText="确定" title="通知" content="您确认中转吗?" @confirm="dialogConfirm"
23
+			<uni-popup-dialog type="info" cancelText="取消" confirmText="确定" title="提示" content="您确认中转吗?" @confirm="dialogConfirm"
24
 				@close="dialogClose"></uni-popup-dialog>
24
 				@close="dialogClose"></uni-popup-dialog>
25
 		</uni-popup>
25
 		</uni-popup>
26
   </view>
26
   </view>
@@ -263,6 +263,11 @@
263
   };
263
   };
264
 </script>
264
 </script>
265
 
265
 
266
+<style scoped>
267
+	/deep/ .uni-button-color{
268
+		color: #64BD7B;
269
+	}
270
+</style>
266
 <style lang="less" scoped>
271
 <style lang="less" scoped>
267
   .HomeItem {
272
   .HomeItem {
268
     .foot_btn_spe {
273
     .foot_btn_spe {
@@ -362,11 +367,18 @@
362
 				color: #64BD7B;
367
 				color: #64BD7B;
363
 				line-height: 80rpx;
368
 				line-height: 80rpx;
364
 				border-bottom: 1rpx solid #E5E5E5;
369
 				border-bottom: 1rpx solid #E5E5E5;
370
+				position: absolute;
371
+				top: 0;
372
+				width: 100%;
373
+				height: 80rpx;
374
+				background: #fff;
365
 			}
375
 			}
366
 			
376
 			
367
       .goWorkSelect {
377
       .goWorkSelect {
368
         &.history {
378
         &.history {
369
-          height: 356rpx;
379
+          height: 81vh;
380
+					overflow-y: auto;
381
+					margin-top: 80rpx;
370
           padding-bottom: 16rpx;
382
           padding-bottom: 16rpx;
371
         }
383
         }
372
 
384
 

+ 15 - 3
pages/transferDistribution/transferDistribution.vue

@@ -5,7 +5,7 @@
5
 			<view class="goWorkSelect history">
5
 			<view class="goWorkSelect history">
6
 			  <view class="goWorkSelect-head">总数量:{{optData.totalNum}}</view>
6
 			  <view class="goWorkSelect-head">总数量:{{optData.totalNum}}</view>
7
 			  <view class="goWorkSelect-list" v-for="(item, i) in optData.data">
7
 			  <view class="goWorkSelect-list" v-for="(item, i) in optData.data">
8
-					{{item.deptName}}
8
+					{{item.deptName}}: {{item.num}}
9
 				</view>
9
 				</view>
10
 			</view>
10
 			</view>
11
     </view>
11
     </view>
@@ -19,7 +19,7 @@
19
 		
19
 		
20
 		<!-- 确认建单 -->
20
 		<!-- 确认建单 -->
21
 		<uni-popup ref="alertDialog" type="dialog" :mask-click="false">
21
 		<uni-popup ref="alertDialog" type="dialog" :mask-click="false">
22
-			<uni-popup-dialog type="warn" message="提示" cancelText="取消" confirmText="确定" title="通知" content="您确认建单吗?" @confirm="dialogConfirm"
22
+			<uni-popup-dialog type="info" cancelText="取消" confirmText="确定" title="提示" content="您确认建单吗?" @confirm="dialogConfirm"
23
 				@close="dialogClose"></uni-popup-dialog>
23
 				@close="dialogClose"></uni-popup-dialog>
24
 		</uni-popup>
24
 		</uni-popup>
25
   </view>
25
   </view>
@@ -93,6 +93,11 @@
93
   };
93
   };
94
 </script>
94
 </script>
95
 
95
 
96
+<style scoped>
97
+	/deep/ .uni-button-color{
98
+		color: #64BD7B;
99
+	}
100
+</style>
96
 <style lang="less" scoped>
101
 <style lang="less" scoped>
97
   .HomeItem {
102
   .HomeItem {
98
     .foot_btn_spe {
103
     .foot_btn_spe {
@@ -196,11 +201,18 @@
196
 				color: #64BD7B;
201
 				color: #64BD7B;
197
 				line-height: 80rpx;
202
 				line-height: 80rpx;
198
 				border-bottom: 1rpx solid #E5E5E5;
203
 				border-bottom: 1rpx solid #E5E5E5;
204
+				position: absolute;
205
+				top: 0;
206
+				width: 100%;
207
+				height: 80rpx;
208
+				background: #fff;
199
 			}
209
 			}
200
 			
210
 			
201
       .goWorkSelect {
211
       .goWorkSelect {
202
         &.history {
212
         &.history {
203
-          height: 356rpx;
213
+          height: 81vh;
214
+					overflow-y: auto;
215
+					margin-top: 80rpx;
204
           padding-bottom: 16rpx;
216
           padding-bottom: 16rpx;
205
         }
217
         }
206
 
218
 

+ 5 - 5
tools/commonFun.js

@@ -9,21 +9,21 @@ export function nextDeptOrder_ss(_this, data, accountObj) {
9
     mask: true,
9
     mask: true,
10
   });
10
   });
11
   _this.actions = _this.actions || [];
11
   _this.actions = _this.actions || [];
12
+	let handoverNum = _this.digitalNum
12
   console.log(_this.currentCode);
13
   console.log(_this.currentCode);
13
-  if (_this.currentCode) {
14
+  if (_this.currentCode || handoverNum) {
14
     // 动作
15
     // 动作
15
     let actions = _this.actions.filter(v => v.checked);
16
     let actions = _this.actions.filter(v => v.checked);
16
     let actionRemarks = actions.map(v => v.name).toString();
17
     let actionRemarks = actions.map(v => v.name).toString();
17
 		// 数字交接
18
 		// 数字交接
18
-		let handoverNum = _this.digitalNum
19
-    if(actionRemarks){
19
+    if(actionRemarks || handoverNum){
20
       let postData = {
20
       let postData = {
21
         orderId: data.id,
21
         orderId: data.id,
22
       };
22
       };
23
       if(data.gdState.value == 4){
23
       if(data.gdState.value == 4){
24
-        postData.actionStartRemarks = actionRemarks;
24
+        postData.actionStartRemarks = actionRemarks || null;
25
       }else if(data.gdState.value == 5){
25
       }else if(data.gdState.value == 5){
26
-        postData.actionRemarks = actionRemarks;
26
+        postData.actionRemarks = actionRemarks || null;
27
       }
27
       }
28
 			if(handoverNum){
28
 			if(handoverNum){
29
 				postData.handoverNum = handoverNum;
29
 				postData.handoverNum = handoverNum;