wangguoyu 4 ماه پیش
والد
کامیت
f2477c3bb1
2فایلهای تغییر یافته به همراه13 افزوده شده و 8 حذف شده
  1. 2 4
      pages/Login/components/loginBox.vue
  2. 11 4
      pages/admin/Jiazheng/gerenZiliao.vue

+ 2 - 4
pages/Login/components/loginBox.vue

@@ -116,18 +116,16 @@
 		// 客户端
 				// #ifdef H5
 				uni.navigateTo({
-					url: `/pages/admin/ShouYe/shouye`
+					url: `/pages/client/ShouYe/shouye`
 				})
 				// #endif
-				
+
 				// 管理端
 				// #ifdef APP-PLUS
 				uni.navigateTo({
 					url: `/pages/admin/ShouYe/shouye`
 				})
 				// #endif
-
-
 	}
 </script>
 

+ 11 - 4
pages/admin/Jiazheng/gerenZiliao.vue

@@ -20,9 +20,10 @@
 
 		<view class="form-label-input">
 			<view class="phone-form-label"><text class="form-label-require">*</text>生日</view>
-			<uni-datetime-picker v-model="formData.birthday">
+			<uni-datetime-picker type="line"  v-model="formData.birthday">
 				<view class="form-radio-select">
-					<view>请选择</view>
+					<view v-if="!formData.birthday">请选择出生日期</view>
+					<view v-else>{{formData.birthday}}</view>
 					<icon></icon>
 				</view>
 			</uni-datetime-picker>
@@ -40,7 +41,12 @@
 		</view>
 		<view class="form-label-input">
 			<view class="phone-form-label"><text class="form-label-require">*</text>民族</view>
-			<uni-data-select v-model="formData.ethnic" :localdata="ethnicData" placeholder="请选择民族" />
+			<picker :range="xingzuoRange" mode='selector' @change="xingzuoChange" @cancel="xingzuoCancel">
+				<view class="form-radio-select">
+					<view>请选择民族</view>
+					<icon></icon>
+				</view>
+			</picker>
 		</view>
 		<view class="form-label-radio">
 			<view class="phone-form-label"><text class="form-label-require">*</text>性别</view>
@@ -196,7 +202,8 @@
 
 			},
 			goNext() {
-				this.$emit('goNext',0);
+				console.log('formData',this.formData);	
+				//this.$emit('goNext',0);
 			},
 
 			handleAgree(e) {