From 3ea0574afc5841f829724710cf2e0dc46a8c60b8 Mon Sep 17 00:00:00 2001
From: tangzy <tangzy123456>
Date: Wed, 14 Jul 2021 16:05:13 +0800
Subject: [PATCH] 许可备案系统
---
src/views/resource/attach.vue | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/views/resource/attach.vue b/src/views/resource/attach.vue
index 7dfbf4d..1aa0b44 100644
--- a/src/views/resource/attach.vue
+++ b/src/views/resource/attach.vue
@@ -53,7 +53,7 @@
</template>
<script>
-import {getList, getDetail, remove} from "@/api/resource/attach";
+import {getList, getDetail, remove,removenw} from "@/api/resource/attach";
import {mapGetters} from "vuex";
export default {
@@ -192,7 +192,7 @@
res: 'data'
},
action: "/api/blade-resource/oss/endpoint/put-file-attach?deptid="
- }
+ },
]
}
};
@@ -215,6 +215,7 @@
var deptid = this.$route.query.deptid;
var type = this.$route.query.type;
this.attachOption.column[0].action += deptid + "&type=" + type
+ this.attachOption.column[1].action += deptid + "&type=" + type
},
computed: {
...mapGetters(["permission"]),
@@ -277,6 +278,7 @@
})
.then(() => {
return remove(this.ids);
+ return removenw(row.id);
})
.then(() => {
this.onLoad(this.page);
--
Gitblit v1.9.3