| | |
| | | </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 { |
| | |
| | | res: 'data' |
| | | }, |
| | | action: "/api/blade-resource/oss/endpoint/put-file-attach?deptid=" |
| | | } |
| | | }, |
| | | ] |
| | | } |
| | | }; |
| | |
| | | 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"]), |
| | |
| | | }) |
| | | .then(() => { |
| | | return remove(this.ids); |
| | | return removenw(row.id); |
| | | }) |
| | | .then(() => { |
| | | this.onLoad(this.page); |