XhuiCoder 1 рік тому
батько
коміт
2a1f347d15
3 змінених файлів з 21 додано та 4 видалено
  1. 1 1
      App.vue
  2. 8 3
      pages/info/add-files.vue
  3. 12 0
      pages/lr/info.vue

+ 1 - 1
App.vue

@@ -9,7 +9,7 @@
       // var ua = navigator.userAgent.toLowerCase();
       // var isWeixin = ua.indexOf('micromessenger') != -1;
       // if (!isWeixin) {
-      //   window.location.href = "https://open.weixin.qq.com/connect/oauth2/authorize?appid=888"
+      //   window.location.href = "https://open.weixin.qq.com/connect/oauth2/authorize?appid=wxeb15ff6b40432045"
       // }
       const { path } = e
       if (!getToken()) {

+ 8 - 3
pages/info/add-files.vue

@@ -70,11 +70,11 @@
             <myfile :zczmList="zczmList" @recordsChange="zcChange"></myfile>
           </uni-forms-item>
 
-          <view v-if="show">
+          <view v-if="show" style="border: 1px solid red;">
             <uni-forms-item label="直接上传">
               <uni-data-checkbox v-model="radio" :localdata="radioData"></uni-data-checkbox>
             </uni-forms-item>
-            <text>注意:人证比对不成功可以直接注册人工审核!</text>
+            <text style="color: red; font-weight: bolder;">注意:人证比对不成功可以直接注册人工审核!</text>
           </view>
 
           <view class="miaoshu" v-if="isCheck">
@@ -292,7 +292,7 @@
               idcard(base64, this.token, this.cardType, this.callbackIdcard)
             })
 
-            uni.removeStorageSync('cardType')
+            // uni.removeStorageSync('cardType')
 
           }, 1000);
 
@@ -413,6 +413,7 @@
         this.token = e
       },
       callbackIdcard(words) {
+        alert(';aaaaaaaaa')
         uni.hideLoading()
         if (!this.cardType) {
           this.cardType = uni.getStorageSync("cardType")
@@ -850,6 +851,10 @@
 </script>
 
 <style scoped>
+  ::v-deep .uni-data-checklist {
+    margin-top: 5px !important;
+  }
+
   .content {
     padding: 1vh;
   }

+ 12 - 0
pages/lr/info.vue

@@ -653,6 +653,18 @@
             }
             that.$refs['baseForm'].validate().then(res => {
               if (that.updateFlag) {
+                let { lrHjdz } = that.baseFormData
+                let lastLrhjdz = ''
+                if (Array.isArray(lrHjdz)) {
+                  lastLrhjdz = lrHjdz[lrHjdz.length - 1]
+                } else {
+                  let data = JSON.parse(lrHjdz)
+                  lastLrhjdz = data[data.length - 1]
+                }
+                const params = {
+                  ...that.baseFormData,
+                  lrHjdz: lastLrhjdz,
+                }
                 updateKhjbxx(that.baseFormData).then(r => {
                   uni.hideLoading()
                   if (r.code == 200) {