Lou
2024-01-03 a3004991e3fd269f2521b8e7446f968b99f43e5b
subPackage/workbench/views/editExamine.vue
@@ -47,7 +47,7 @@
         </view>
         <view class="practitioner">
            <box-title title="从业人员信息"></box-title>
            <view class="info" v-for="(item, index) in personNum" :key="i">
            <view class="info" v-for="(item, index) in personNum" :key="index">
               <view class="title">人员信息-#{{ index*1 + 1 }}</view>
               <formItem ref="formItemRef"></formItem>
            </view>
@@ -198,10 +198,16 @@
               }
               this.personNum = placePractitioner.length
               const componetns = this.$refs.formItemRef || []
               this.$refs.formItemRef.forEach((item, index) => {
                  item.form = placePractitioner[index]
               // const componetns = this.$refs.formItemRef || []
               placePractitioner.forEach((item, index) => {
                  this.$nextTick(() => {
                     this.$refs.formItemRef[index].form = item
                  })
               })
               // this.$refs.formItemRef.forEach((item, index) => {
               //    item.form = placePractitioner[index]
               // })
            })
         },