From 17c625e57c04428aa530661982f309da30ffa13a Mon Sep 17 00:00:00 2001 From: chiyilin <2449182606@qq.com> Date: Fri, 3 Nov 2023 15:28:33 +0800 Subject: [PATCH] =?UTF-8?q?=E7=94=B5=E5=AD=90=E6=A1=A3=E6=A1=88=20?= =?UTF-8?q?=E5=AE=8C=E6=95=B4=E6=80=A7=E5=AD=97=E5=85=B8=E5=80=BC=E6=9B=B4?= =?UTF-8?q?=E6=94=B9=20/=E9=A1=B5=E9=9D=A2=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/ea/electronicAssets/index.vue | 352 ++++++++++++++---- src/views/ea/electronicAttachment/index.vue | 4 +- src/views/ea/electronicConsultation/index.vue | 35 +- src/views/ea/electronicContracts/index.vue | 61 ++- .../ea/electronicCustomerComplaint/index.vue | 30 +- src/views/ea/electronicEmployee/index.vue | 30 +- src/views/ea/electronicOther/index.vue | 11 +- 7 files changed, 393 insertions(+), 130 deletions(-) diff --git a/src/views/ea/electronicAssets/index.vue b/src/views/ea/electronicAssets/index.vue index 6b65212a..dc48b7d2 100644 --- a/src/views/ea/electronicAssets/index.vue +++ b/src/views/ea/electronicAssets/index.vue @@ -1,35 +1,81 @@ - + - + @@ -102,27 +179,47 @@ - + - + - + - + - - - -
将文件拖到此处,或点击上传
-
+ + + +
将文件拖到此处,或点击上传
+
- + - - + + - + @@ -179,54 +337,83 @@ - - - + - + - + - - + + - + - + - + @@ -236,7 +423,13 @@ - + @@ -244,15 +437,27 @@ - + - + @@ -268,7 +473,9 @@
@@ -343,7 +550,7 @@ export default { queryParams: { pageNo: 1, pageSize: 10, - contractAttachment:null, + contractAttachment: null, companyId: null, company: null, deptId: null, @@ -403,9 +610,9 @@ export default { this.form.contractAttachment = res.data.url; }, /** - * 文件预览 - * @param fileUrl - */ + * 文件预览 + * @param fileUrl + */ openLink(fileUrl) { const url = process.env.VUE_APP_ONLINE_API + @@ -497,7 +704,7 @@ export default { deptName: undefined, assetCode: undefined, assetName: undefined, - contractAttachment:undefined, + contractAttachment: undefined, assetDescription: undefined, assetType: undefined, purchaseDate: undefined, @@ -597,6 +804,7 @@ export default { return; } // 添加的提交 + this.form.cherks = 0; createElectronicAssets(this.form).then((response) => { this.$modal.msgSuccess("新增成功"); this.open = false; @@ -616,7 +824,7 @@ export default { this.getList(); this.$modal.msgSuccess("删除成功"); }) - .catch(() => { }); + .catch(() => {}); }, /** 导出按钮操作 */ handleExport() { @@ -634,7 +842,7 @@ export default { this.$download.excel(response, "资产档案.xls"); this.exportLoading = false; }) - .catch(() => { }); + .catch(() => {}); }, }, }; diff --git a/src/views/ea/electronicAttachment/index.vue b/src/views/ea/electronicAttachment/index.vue index 0a02cad9..0dea0b68 100644 --- a/src/views/ea/electronicAttachment/index.vue +++ b/src/views/ea/electronicAttachment/index.vue @@ -165,7 +165,7 @@ >