diff --git a/src/views/onlineDeclaration/pendingReview/index.vue b/src/views/onlineDeclaration/pendingReview/index.vue index 35319c8..1d6314b 100644 --- a/src/views/onlineDeclaration/pendingReview/index.vue +++ b/src/views/onlineDeclaration/pendingReview/index.vue @@ -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); }) }, diff --git a/src/views/onlineDeclaration/records/index.vue b/src/views/onlineDeclaration/records/index.vue index 73fa114..226b6db 100644 --- a/src/views/onlineDeclaration/records/index.vue +++ b/src/views/onlineDeclaration/records/index.vue @@ -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: {