Lou
2024-04-10 3f14c8d4a6a8a8bdeced78998bd0cce1de6f06a6
subPackage/workbench/views/cscj.vue
@@ -64,8 +64,8 @@
                  <view class="f-30" v-if="currentId">
                     {{nineTypeValue}}
                  </view>
               </u-form-item>
               <u-form-item label="阵地:" labelWidth="100" prop="isFront" :required="isRequired">
                  <u-radio-group v-model="form.isFront" v-if="!currentId">
                     <u-radio :customStyle="{marginBottom: '8px'}" v-for="(item, index) in statusList"
@@ -98,6 +98,19 @@
                  </u-radio-group>
                  <view class="f-30" v-if="currentId">
                     {{form.threeFireProtection == 1?"否":"是"}}
                  </view>
               </u-form-item>
               <u-form-item class="form-item" labelWidth="100" label="无诈类别:" :required="isRequired"
                  :disabled="isDisabled" prop="noExplosionCategory">
                  <view class="flex j-c-s-b a-i-c" v-if="!currentId" @click="showNotSwindleTypePicker= true">
                     <u-input border="none" v-model="notSwindleValue" disabled disabledColor="#ffffff"
                        placeholder="请选择">
                     </u-input>
                     <u-icon slot="right" name="arrow-right"></u-icon>
                  </view>
                  <view class="f-30" v-if="currentId">
                     {{notSwindleValue}}
                  </view>
               </u-form-item>
@@ -148,7 +161,7 @@
                  <view class="box-title" style="width:50%;">
                     <box-title title="负责人信息"></box-title>
                  </view>
                  <ocr-navigator v-if="!currentId" @onSuccess="recognizeSuccess($event,'legal')"
                  <ocr-navigator v-if="!currentId" @onSuccess="recognizeSuccess($event,'principal')"
                     certificateType="idCard" :opposite="false">
                     <view class="recognize-btn flex a-i-c">
                        <u-icon name="scan" color="#fff" size="24"></u-icon>
@@ -384,6 +397,12 @@
         @close="showGenderPicker = false" @cancel="showGenderPicker = false" keyName="name"
         @confirm="confirmGender"></u-picker>
      <u-picker :defaultIndex="notSwindleTypeIndex" :closeOnClickOverlay="true" :show="showNotSwindleTypePicker"
         :columns="[notSwindleTypeList]" @close="showNotSwindleTypePicker = false"
         @cancel="showNotSwindleTypePicker = false" keyName="name" @confirm="confirmNotSwindleType"></u-picker>
      <cate-selector ref="selector" @comfirm="comfirmNineType" />
   </view>
</template>
@@ -459,6 +478,7 @@
               frontType: "",
               nineType: "",
               threeFireProtection: "",
               noExplosionCategory: "",
               placeExtEntity: {
                  landlordName: "",
                  landlordIdCard: "",
@@ -679,7 +699,6 @@
            frontTypeValue: "",
            isView: false,
            source: "",
            nationTypeList: [], //民族
            nationTypeIndex: [0],
            nationValue: "",
@@ -698,7 +717,11 @@
            showGenderPicker: false,
            personNum: 0,
            personNumArr: [],
            isLegalSame: 1 //法人信息是否与负责人一致  1是  2否
            isLegalSame: 1, //法人信息是否与负责人一致  1是  2否
            notSwindleTypeList: [],
            notSwindleIndex: [0],
            notSwindleValue: "",
            showNotSwindleTypePicker: false
         }
      },
@@ -763,6 +786,8 @@
            await this.getBizDict('frontType', this.frontTypeList)
            // 获取民族
            await this.getBizDict('nationType', this.nationTypeList);
            //反诈类别
            await this.getBizDict('noExplosionCategory', this.notSwindleTypeList);
         },
         // 获取业务字典
@@ -1005,7 +1030,15 @@
                     this.nationValue = name;
                  }
                  if (key == "noExplosionCategory" && data.noExplosionCategory) {
                     let {
                        index,
                        name
                     } = this.$getIndex(this.notSwindleTypeList, data.noExplosionCategory, "value",
                        "name")
                     this.notSwindleIndex = [index];
                     this.notSwindleValue = name;
                  }
               })
               this.$set(this.form, "jwd", `${Number(data.lng).toFixed(6)},${Number(data.lat).toFixed(6)}`)
               this.form.building = arr.join("")
@@ -1261,6 +1294,14 @@
            this.showGenderPicker = false;
         },
         //选择无诈类别
         confirmNotSwindleType(e) {
            this.notSwindleIndex = e.indexs;
            this.notSwindleValue = e.value[0].name;
            this.form.noExplosionCategory = e.value[0].value;
            this.showNotSwindleTypePicker = false;
         },
         //弹出层打开
         popup() {