linwenxin vor 5 Monaten
Ursprung
Commit
0137650383

+ 5 - 0
src/components/dateTimeBind.vue

@@ -10,6 +10,7 @@
       @cancel="isShow = false"
       @close="isShow = false"
       :minDate="minDate"
+      :maxDate="maxDate"
       :formatter="formatter"
       :style="{ width: '100%' }"
     />
@@ -31,6 +32,10 @@ export default {
       type: [String, Number],
       default: null
     },
+    maxDate: {
+      type: [String, Number],
+      default: null
+    },
     type: {
       type: [String, Number],
       default: 'datetime'

+ 0 - 3
src/components/insuranceDialog.vue

@@ -61,9 +61,6 @@ export default {
 
   data() {
     return {
-      isShow: false,
-      type: 0, // 2=保险过期提示 3=保险快到期提示
-      day: 0,
       data_: []
     }
   },

+ 3 - 3
src/packageMine/pages/myWebsit.vue

@@ -83,11 +83,11 @@ export default {
 
   methods: {
     async getList() {
-      var { latitude, longitude } = await this.$getLocation()
+      // var { latitude, longitude } = await this.$getLocation()
       this.$api.get('/user/apply/websit', {
         isAll: true,
-        lat:latitude,
-        lng:longitude
+        // lat:latitude,
+        // lng:longitude
       }).then(res => {
         this.refresherTriggered = false;
         this.dataList = res.data

+ 3 - 3
src/packageMine/pages/workerEnter.vue

@@ -138,7 +138,7 @@
                       </view>
                     </view>
                   </view>
-                  <view class="text required">高空证正面</view>
+                  <view class="text">高空证正面</view>
                 </view>
                 <view class="item" style="border-bottom: none">
                   <view class="imgs" @tap="toChooseImg('altitudeDocumentBackImg')">
@@ -163,7 +163,7 @@
                       </view>
                     </view>
                   </view>
-                  <view class="text required">高空证反面</view>
+                  <view class="text">高空证反面</view>
                 </view>
               </view>
               <view class="item flex">
@@ -280,7 +280,7 @@
       <view class="btn" @click="submit()">提交审核</view>
     </template>
     <dateTimeBind v-model="idCardStateTime" ref="idCardStateTime" type="date" />
-    <dateTimeBind v-model="idCardEndTime" ref="idCardEndTime" type="date" />
+    <dateTimeBind v-model="idCardEndTime" ref="idCardEndTime" type="date" :maxDate="7258089600000" />
     <dateTimeBind v-model="reexamineTime" ref="reexamineTime" type="date" />
     <dateTimeBind v-model="altitudeDocumentStateTime" ref="altitudeDocumentStateTime" type="date" />
     <dateTimeBind v-model="altitudeDocumentEndTime" ref="altitudeDocumentEndTime" type="date" />