Lou
2024-03-14 3e697353c6fea9cb80ec809d02594939f892e77e
subPackage/workbench/views/editExamine.vue
@@ -91,7 +91,7 @@
            </view>
            <view class="item bgc-ff mt-20" v-if="false">
            <view class="item bgc-ff mt-20">
               <view class="box-title">
                  <box-title title="房东信息"></box-title>
@@ -206,9 +206,6 @@
   import {
      minioBaseUrl
   } from '@/common/setting'
   import {
      getPlaceList
   } from '@/api/place/place.js'
@@ -328,31 +325,20 @@
                  })
               }
            })
         },
         checkboxChange(n) {
            console.log('change', n);
            let list = n;
            let ids = [];
            let names = []
            for (let i = 0, ii = list.length; i < ii; i++) {
               ids.push(this.placeList[list[i]].addressCode)
               names.push(this.placeList[list[i]].addressName)
            }
            this.$set(this.form, "houseCodeBinds", ids.join(","))
            this.addressNames = names;
         },
         getPlace(location) {
@@ -363,7 +349,6 @@
               this.placeList = res.data;
            })
         },
         getLocation() {
            uni.chooseLocation({
@@ -380,6 +365,7 @@
               }
            })
         },
         getCsDetails() {
            getPlaceDetail({
               placeId: this.curSelectSite.id
@@ -438,6 +424,20 @@
               // const componetns = this.$refs.formItemRef || []
               placePractitioner.forEach((item, index) => {
                  this.$nextTick(() => {
                     if (item.ethnicity) {
                        let obj = this.$getIndex(this.$refs.formItemRef[index]
                           .nationTypeList, item.ethnicity, "value", "name")
                        this.$refs.formItemRef[index].nationValue = obj.name;
                        this.$refs.formItemRef[index].nationTypeIndex = obj.index;
                     }
                     if (item.gender) {
                        let obj = this.$getIndex(this.$refs.formItemRef[index]
                           .gender, item.gender, "value", "name")
                        this.$refs.formItemRef[index].genderValue = obj.name;
                        this.$refs.formItemRef[index].genderIndex = obj.index;
                     }
                     this.$refs.formItemRef[index].form = item
                  })
               })