diff --git a/components/customeDatePicker.vue b/components/customeDatePicker.vue
index e3d53b6..271d64e 100644
--- a/components/customeDatePicker.vue
+++ b/components/customeDatePicker.vue
@@ -224,7 +224,7 @@
height: 68rpx;
color: #E5E5E5;
&.selected {
- font-size: 28rpx !important;
+ font-size: 57rpx !important;
color: #000000 !important;
}
&.style1 {
diff --git a/pages/modify_visitor/modify_visitor.vue b/pages/modify_visitor/modify_visitor.vue
index efa80ae..8e2117a 100644
--- a/pages/modify_visitor/modify_visitor.vue
+++ b/pages/modify_visitor/modify_visitor.vue
@@ -14,10 +14,10 @@
确认新增
-
-
-
-
+
+
+
+
确认修改
@@ -32,23 +32,23 @@
-
-
-
-
-
+
+
+
+
+
@@ -79,8 +79,8 @@ export default {
genders: {
0:'男',
1:'女'
- },
- doctorInfo:false,
+ },
+ doctorInfo:false,
realName:'',
}
},
@@ -103,49 +103,51 @@ export default {
});
}
},
- onShow() {
- if (this.vid) {
- this.getVisitorInfo()
- }else{
- this.getDoctorInfo()
+ onShow() {
+ if (this.vid) {
+ this.getVisitorInfo()
+ }else{
+ this.getDoctorInfo()
}
+
+ this.$refs.customeDatePicker.open('bottom')
},
- methods: {
- handleConfirmPhone(){
- if(!this.realName.trim()){
- uni.showModal({
- title:'提示',
- content: '姓名不可为空',
- })
- return
- }
- this.$http.req('/api/user/set_realname', { realname:this.realName}, 'POST').then(data => {
- if (data == -1) return
- this.$refs.nameWrap.close()
- });
- },
- getPhoneNumber(e) {
- if (e.detail.errMsg === 'getPhoneNumber:ok') {
- this.$http.req('api/user/bind_phone', {phonecode:e.detail.code}, 'POST').then(data=>{
- if(data == -1) return
- this.getDoctorInfo()
- });
- } else {
-
- }
- },
- async getDoctorInfo() {
- this.$http.req('api/user/index_info', {}, 'GET').then(data=>{
- if(data == -1) return
-
- this.doctorInfo = data;
-
- if(!data.realname && data.aid) {
- this.$nextTick(() => {
- this.$refs.nameWrap.open('bottom')
- })
- }
- });
+ methods: {
+ handleConfirmPhone(){
+ if(!this.realName.trim()){
+ uni.showModal({
+ title:'提示',
+ content: '姓名不可为空',
+ })
+ return
+ }
+ this.$http.req('/api/user/set_realname', { realname:this.realName}, 'POST').then(data => {
+ if (data == -1) return
+ this.$refs.nameWrap.close()
+ });
+ },
+ getPhoneNumber(e) {
+ if (e.detail.errMsg === 'getPhoneNumber:ok') {
+ this.$http.req('api/user/bind_phone', {phonecode:e.detail.code}, 'POST').then(data=>{
+ if(data == -1) return
+ this.getDoctorInfo()
+ });
+ } else {
+
+ }
+ },
+ async getDoctorInfo() {
+ this.$http.req('api/user/index_info', {}, 'GET').then(data=>{
+ if(data == -1) return
+
+ this.doctorInfo = data;
+
+ if(!data.realname && data.aid) {
+ this.$nextTick(() => {
+ this.$refs.nameWrap.open('bottom')
+ })
+ }
+ });
},
handleConfirm(sex){
this.sex = sex;
@@ -238,7 +240,7 @@ export default {
}
-