| | |
| | | import { mapGetters } from "vuex"; |
| | | import { getToken } from "@/util/auth"; |
| | | export default { |
| | | props: ["deptid"], |
| | | props: ["deptid", "socialRE"], |
| | | data() { |
| | | var deptid = this.deptid; |
| | | if (this.deptid == undefined) { |
| | |
| | | this.deptid; |
| | | } |
| | | }, |
| | | socialRE() { |
| | | this.$refs.crud.refreshTable(); |
| | | this.$refs.crud.doLayout(); |
| | | }, |
| | | }, |
| | | computed: { |
| | | ...mapGetters(["permission", "userInfo"]), |
| | |
| | | this.page.total = data.total; |
| | | this.data = data.records; |
| | | this.loading = false; |
| | | this.$refs.crud.refreshTable(); |
| | | this.$refs.crud.doLayout(); |
| | | this.selectionClear(); |
| | | }); |
| | | }, |