|
@@ -432,7 +432,7 @@
|
|
|
v-if="workVisible"
|
|
|
/> -->
|
|
|
|
|
|
- <uploadCvImageVue ref="fileUpload" :multiple="false" />
|
|
|
+ <uploadCvImageVue ref="fileUpload" :multiple="true" />
|
|
|
<div slot="footer" class="dialog-footer">
|
|
|
<el-button type="primary" @click="workUpload" :loading="workLoading"
|
|
|
>确 定</el-button
|
|
@@ -442,6 +442,7 @@
|
|
|
workLoading = false;
|
|
|
workVisible = false;
|
|
|
noticeContent = '';
|
|
|
+ $refs.fileUpload.fileList = []
|
|
|
"
|
|
|
>取 消</el-button
|
|
|
>
|
|
@@ -660,11 +661,14 @@ export default {
|
|
|
var index = this.typeList.findIndex((item) => {
|
|
|
return this.ids == item.itemId + "-" + item.promoterId;
|
|
|
});
|
|
|
- this.typeList[index].sampleVoucher = this.$refs.fileUpload.fileList[0].url
|
|
|
+ this.typeList[index].sampleVoucher = this.$refs.fileUpload.fileList.map(item=>{
|
|
|
+ return item.url
|
|
|
+ }).join()
|
|
|
// console.log(index);
|
|
|
// console.log(this.$refs.fileUpload.fileList)
|
|
|
// console.log(this.typeList)
|
|
|
this.workVisible = false
|
|
|
+ this.$refs.fileUpload.fileList = []
|
|
|
},
|
|
|
handleSelectionChange(selection) {
|
|
|
this.okIds = selection.map((item) => item.itemId + "-" + item.promoterId);
|