| | |
| | | </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>
|
| | |
| | | }
|
| | |
|
| | | 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]
|
| | | // })
|
| | | })
|
| | | },
|
| | |
|