lin
2024-05-07 382793959e4d355224cc35482a7f10636cfc4742
subPackage/workbench/views/editExamine.vue
@@ -402,19 +402,21 @@
         // 获取民族
         getBizDict() {
            const param = {
               code: "nationType"
            }
            bizDictionary(param).then(res => {
               if (res.code == 200) {
                  res.data.forEach(e => {
                     this.nationTypeList.push({
                        name: e.dictValue,
                        value: Number(e.dictKey)
                     })
                  })
            return new Promise(resolve => {
               const param = {
                  code: "nationType"
               }
            })
               bizDictionary(param).then(res => {
                  if (res.code == 200) {
                     res.data.forEach(e => {
                        this.nationTypeList.push({
                           name: e.dictValue,
                           value: Number(e.dictKey)
                        })
                     })
                  }
               })
            });
         },
         checkboxChange(n) {
@@ -460,7 +462,6 @@
            getPlaceDetail({
               placeId: this.curSelectSite.id
            }).then(detailRes => {
               const {
                  code,
                  data
@@ -476,7 +477,6 @@
               if (data.lat) {
                  this.jwd = `${Number(data.lng).toFixed(6)},${Number(data.lat).toFixed(6)}`
               }
               this.cateId = data.poiCode;
               const placePractitioner = data?.placePractitioner || []
               // Object.keys(this.form).forEach(key => {
@@ -519,8 +519,10 @@
                        let obj = this.$getIndex(this.nationTypeList, item.ethnicity,
                           "value", "name")
                        console.log("ethnicity==>", obj)
                        this.$refs.formItemRef[index].nationValue = obj.name;
                        this.$refs.formItemRef[index].nationTypeIndex = obj.index;
                        if (obj) {
                           this.$refs.formItemRef[index].nationValue = obj.name;
                           this.$refs.formItemRef[index].nationTypeIndex = obj.index;
                        }
                     }
                     if (typeof(item.gender) == 'number') {