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 @@ >