| | |
| | | import { mapGetters } from "vuex"; |
| | | import { getToken } from "@/util/auth"; |
| | | export default { |
| | | props: ["card"], |
| | | props: ["card", "reself"], |
| | | data() { |
| | | var card = this.card; |
| | | var deptid, |
| | |
| | | this.deptid; |
| | | } |
| | | }, |
| | | reself() { |
| | | this.$refs.crud.refreshTable(); |
| | | this.$refs.crud.doLayout(); |
| | | }, |
| | | }, |
| | | computed: { |
| | | ...mapGetters(["permission", "userInfo"]), |
| | |
| | | onLoad(page, params = {}) { |
| | | this.loading = true; |
| | | params["deptid"] = this.deptid; |
| | | |
| | | if (this.userInfo.role_name == "公安管理员") { |
| | | params["jurisdiction"] = this.userInfo.jurisdiction; |
| | | } |
| | | getList( |
| | | page.currentPage, |
| | | page.pageSize, |