{{ item.name }}
@@ -1029,8 +1029,22 @@
this.addDrawer2 = false
}, // 关闭添加标准事件
updateFile (item) {
- window.location.href = '/api/att/attFile/downloadFile?fileId=' + item.id
+ const attId = item.attId
+ if (attId) {
+ window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId
+ } else {
+ this.$message.warning('文件不存在,下载失败')
+ }
},
+ clickButtonToUpload (file) {
+ const attId = file.attId
+ if (attId) {
+ window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId
+ } else {
+ this.$message.warning('文件不存在,下载失败')
+ }
+ },
+
checkRole(type, index, row) {
if (row) {
this.nodeList = []
diff --git a/src/pages/regulatoryRepository/workingGroup/components/workingGroup2/index.vue b/src/pages/regulatoryRepository/workingGroup/components/workingGroup2/index.vue
index 5fbfb96ab..966207c0f 100644
--- a/src/pages/regulatoryRepository/workingGroup/components/workingGroup2/index.vue
+++ b/src/pages/regulatoryRepository/workingGroup/components/workingGroup2/index.vue
@@ -173,7 +173,7 @@
align="center"
width="150">
-
+
-
+
@@ -262,7 +262,7 @@
align="center"
width="150">
-
+
-
+
-
+
{{ item.name }}
@@ -416,7 +416,7 @@
align="center">
-
+
{{ item.name }}
@@ -523,7 +523,7 @@
align="center">
-
+
{{ item.name }}
@@ -906,7 +906,12 @@
this.addDrawer2 = false
}, // 关闭添加标准事件
updateFile (item) {
- window.location.href = '/api/att/attFile/downloadFile?fileId=' + item.id
+ const attId = item.attId
+ if (attId) {
+ window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId
+ } else {
+ this.$message.warning('文件不存在,下载失败')
+ }
},
checkRole(type, index, row) {
if (row) {