xiao-xx 1 year ago
parent
commit
e29968f51e
2 changed files with 15 additions and 6 deletions
  1. 3 0
      manifest.json
  2. 12 6
      pages/peoChoose/peoChoose.vue

+ 3 - 0
manifest.json

@@ -78,6 +78,9 @@
                         "spotlight@3x" : "unpackage/res/icons/120x120.png"
                     }
                 }
+            },
+            "splashscreen" : {
+                "useOriginalMsgbox" : true
             }
         }
     },

+ 12 - 6
pages/peoChoose/peoChoose.vue

@@ -34,8 +34,8 @@
 			this.getjsPeo(options)
 		},
 		onNavigationBarButtonTap(e) {
-			
-			
+
+
 		},
 		methods: {
 			//获取下一节点接收人信息
@@ -48,10 +48,16 @@
 						toNodeID: options.id
 					}
 				}).then(res => {
-					// console.log(res)
+					console.log(res)
 					this.allUserList = res.Emps;
 					this.userList = res.Emps;
-					this.deptList = res.Depts.splice(1);
+					if(res.Depts.length>1&&res.Depts[0].Name=="河北省卫计委综合监督执法局"){
+						this.deptList = res.Depts.splice(1)
+					}else{
+						this.deptList = res.Depts
+					}
+					
+					console.log(this.deptList)
 				})
 			},
 			//选择人员
@@ -87,7 +93,7 @@
 		}
 	}
 </script>
- 
+
 <style lang="scss" scoped>
 	.checkitem{
 		// display: flex;
@@ -96,7 +102,7 @@
 		font-size: 32rpx;
 		padding: 20rpx 0;
 		border-bottom: 1px solid #eaeaea;
-		
+
 	}
 	::v-deep .u-collapse-item__content__text{
 		background-color: #f7f7f7;