|
|
|
@ -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);
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|