| | |
| | | </template> |
| | | |
| | | <script> |
| | | import {getList, getDetail, remove,removenw} from "@/api/resource/attach"; |
| | | import {getList, getDetail, remove,removenws} from "@/api/resource/attach"; |
| | | import {mapGetters} from "vuex"; |
| | | |
| | | export default { |
| | |
| | | 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"]), |
| | |
| | | return remove(row.id); |
| | | }) |
| | | .then(() => { |
| | | return removenws(row.id); |
| | | }) |
| | | .then(() => { |
| | | this.onLoad(this.page); |
| | | this.$message({ |
| | | type: "success", |
| | |
| | | }) |
| | | .then(() => { |
| | | return remove(this.ids); |
| | | return removenw(row.id); |
| | | }) |
| | | .then(() => { |
| | | this.onLoad(this.page); |