|  |  | 
 |  |  |   <el-collapse class="config-uploader" v-model="activeNames" v-if="oss"> | 
 |  |  |     <el-collapse-item name="1" v-for="group in (oss.groups || [])" :key="group.busiFieldGroup"> | 
 |  |  |       <template slot="title"> | 
 |  |  |         <el-tag>{{group.busiFieldGroup}}</el-tag> | 
 |  |  |         <el-tag v-if="!image">{{group.busiFieldGroup}}</el-tag> | 
 |  |  |       </template> | 
 |  |  |      <!-- <zt-form-item :label="field.busiFieldName" :prop="field.busiField" v-for="field in group.fields" | 
 |  |  |                     :key="field.busiField" :rules="field.isRequired ? 'required':''" style="width: 100%;"> | 
 |  |  | 
 |  |  |         </el-table-column> | 
 |  |  |         <el-table-column align="left"> | 
 |  |  |           <template slot-scope="scope"> | 
 |  |  |             <zt-uploader v-model="dataForm[scope.row.busiField]" multiple :limit="scope.row.fileLimit" :file-type="scope.row.fileType" | 
 |  |  |                          :accept="scope.row.accept" :file-size="scope.row.fileSize" @input="change(scope.row.busiField)"/> | 
 |  |  |             <zt-uploader :image="image" v-model="dataForm[scope.row.busiField]" multiple :limit="scope.row.fileLimit" :file-type="scope.row.fileType" | 
 |  |  |                          :accept="scope.row.accept" :file-size="scope.row.fileSize" @getUploaderImg="getUploaderImg" @input="change(scope.row.busiField)"/> | 
 |  |  |           </template> | 
 |  |  |         </el-table-column> | 
 |  |  |       </el-table> | 
 |  |  | 
 |  |  |     props: { | 
 |  |  |       value: Object, | 
 |  |  |       dataForm: Object, | 
 |  |  |       image:false, | 
 |  |  |       busiType: String // 业务类型 | 
 |  |  |     }, | 
 |  |  |     data() { | 
 |  |  | 
 |  |  |         return null | 
 |  |  |       }, | 
 |  |  |       change(busiField) { | 
 |  |  |         console.log(busiField,'busiField busiField') | 
 |  |  |         this.fields.forEach(field => { | 
 |  |  |           if (field.busiField === busiField) { | 
 |  |  |             field.files.length = 0 | 
 |  |  |             this.dataForm[busiField].forEach(file => field.files.push(file)) | 
 |  |  |           } | 
 |  |  |         }) | 
 |  |  |       }, | 
 |  |  |       getUploaderImg(list){ | 
 |  |  |         // this.imageList = list | 
 |  |  |         if(list[0].url){ | 
 |  |  |           this.$emit('getImageUrl',list[0].url) | 
 |  |  |         } | 
 |  |  |  | 
 |  |  |       } | 
 |  |  |     } | 
 |  |  |   } |