zkx 4 years ago
parent
commit
e0fd8bf223

+ 1 - 1
src/projects/business/views-home/User/Login.vue

@@ -186,7 +186,7 @@
 								this.$router.push({
 									name: 'UserUploadPhoto',
 									query: {
-										personId: this.personId,
+										personId: response.personInfo.id,
 										project: this.project
 									}
 								})

+ 7 - 2
src/projects/business/views-home/User/UploadPhoto.vue

@@ -136,7 +136,10 @@
 				})
 			},
 			//表单检测
-			checkFrom() {
+			checkFrom() {
+				if(!this.subForm.personId&&this.person_data){
+					this.subForm.personId = this.person_data.id;
+				}
 				if (!this.subForm.personId) {
 					mui.toast('用户id未定义');
 					return false;
@@ -176,7 +179,9 @@
 		},
 		mounted() {
 			//获取微信配置
-			WxJsApi.getWxConfig();
+			WxJsApi.getWxConfig();
+		
+			
 		},
 		destroyed() {},
 		computed: {

+ 1 - 1
src/projects/business/views/Master/Home.vue

@@ -81,7 +81,7 @@
 			<div class="vongi-index-floor">
 				<h4 class="vongi-floor-title">功能推荐区</h4>
 				<div class="vongi-index-inter flew-sp">
-					<div class="mui-col-xs-6" >
+					<div class="mui-col-xs-6" v-if="false" >
 						<router-link :to="{name:'XsyApplyClassMy'}" class="vongi-floor-padded">
 							<div class="mui-media-body">
 								<h4 class="mui-ellipsis">排班表</h4>