上传文件更改

prod
吕天方 9 months ago
parent e7cbf6f532
commit f600a8a581

@ -220,7 +220,7 @@ export default {
//
form: {
enterpriseDirectoryList: [],
approvalOptions: '通过'
approvalOptions: ''
},
//
rules: {
@ -290,7 +290,6 @@ export default {
},
/** 切换审批项 */
toggleOptions(value) {
console.log(value);
this.queryParams.approvalStatusStr = value
this.handleQuery();
},
@ -302,7 +301,7 @@ export default {
//
reset() {
this.form = {
approvalOptions: '通过',
approvalOptions: '',
approvalStatus: '1',
approvalAttachment: '',
};
@ -322,7 +321,10 @@ export default {
this.fileList = []
this.fileList.push(file)
this.form.fileList = this.fileList
this.uploadList.push(response.data)
let data = {}
data.name = response.originalFilename;
data.url = response.url;
this.uploadList.push(data)
console.log('this.fileList: ', this.fileList);
})
},

@ -370,7 +370,7 @@ export default {
window.removeEventListener('resize', this.cancalDebounce);
},
created() {
console.log(this.$store.state.user.enterpriseId);
// console.log(this.$store.state.user.enterpriseId);
this.getList();
},
methods: {

Loading…
Cancel
Save