소스 검색

feat(预计在职时间): 新增预计在职时间

已新增
wangxin 4 년 전
부모
커밋
107e4f3eab
1개의 변경된 파일31개의 추가작업 그리고 0개의 파일을 삭제
  1. 31 0
      src/view/interview/xiapu.vue

+ 31 - 0
src/view/interview/xiapu.vue

@@ -181,6 +181,16 @@
                 </van-field>
                 <div class="bar"></div>
                 <van-field
+                        name="workingTime"
+                        v-model="workingTime"
+                        label="预计在职时间"
+                        placeholder="请选择预计在职时间"
+                        @click="show_workingTime = true"
+                        required
+                        readonly
+                >
+                </van-field>
+                <van-field
                         name="notLeave"
                         label="今年是否离锡"
                         placeholder="请选择"
@@ -354,6 +364,19 @@
                     @cancel="show_antiStaticShoeSize = false"
             />
         </van-popup>
+        <van-popup
+                v-model="show_workingTime"
+                position="bottom"
+                :safe-area-inset-bottom="true"
+                :style="{ height: '45%' }">
+            <van-picker
+                    title="标题"
+                    show-toolbar
+                    :columns="['一个月','二个月','三个月','四个月','五个月','六个月','长期']"
+                    @confirm="workingTimeConfirm"
+                    @cancel="show_workingTime = false"
+            />
+        </van-popup>
     </div>
 
 </template>
@@ -393,6 +416,7 @@
         accommodation: '请选择是否住宿',
         phone: '请填写手机号',
         dustCoatSize: '请选择防尘服尺寸',
+        workingTime: '请选择预计在职时间',
         antiStaticShoeSize: '请选择防静电鞋码数',
         notLeave: '请选择今年是否离锡',
     }
@@ -422,6 +446,7 @@
                 show_date: false,
                 show_location: false,
                 show_dustCoatSize: false,
+                show_workingTime: false,
                 show_antiStaticShoeSize: false,
                 condition: '',
                 user_token: '',
@@ -454,6 +479,7 @@
                 start_work: '',
                 end_work: '',
                 dustCoatSize: '',
+                workingTime: '',
                 antiStaticShoeSize: '',
                 notLeave: '',
                 params: {
@@ -467,6 +493,7 @@
                     address: '无锡现居地址',
                     accommodation: '是否住宿',
                     dustCoatSize: '防尘服尺寸',
+                    workingTime: '预计在职时间',
                     antiStaticShoeSize: '防静电鞋码数',
                     notLeave: '今年是否离锡',
                     come: '从哪到达无锡',
@@ -633,6 +660,10 @@
             antiStaticShoeSizeConfirm(value) {
                 this.antiStaticShoeSize = value
                 this.show_antiStaticShoeSize = false
+            },
+            workingTimeConfirm(value) {
+                this.workingTime = value
+                this.show_workingTime = false
             }
         }
     }