| | |
| | | <template> |
| | | <basic-container> |
| | | <div class="securityUnit"> |
| | | <div |
| | | :class="[ |
| | | 'securityUnit', |
| | | $store.state.control.windowWidth >= 1024 ? 'oneRowSearch' : '', |
| | | ]" |
| | | > |
| | | <avue-crud |
| | | :option="option" |
| | | :data="data" |
| | |
| | | pageSize: 10, |
| | | currentPage: 1, |
| | | total: 0, |
| | | ...this.$store.state.control.changePageSize, |
| | | }, |
| | | |
| | | treeData: [], |
| | |
| | | tip: false, |
| | | searchSize: "mini", |
| | | searchMenuSpan: 6, |
| | | height: 583, |
| | | height: "auto", |
| | | menuWidth: 275, |
| | | align: "center", |
| | | border: true, |
| | | |
| | | selection: true, |
| | | ...this.$store.state.control.clearOtherBut, |
| | | column: [ |
| | | ...column, |
| | | { |
| | |
| | | created() { |
| | | this.option0.column[4].value = 0; |
| | | this.option0.column[4].disabled = true; |
| | | if (this.userInfo.role_name == "培训公司管理员") { |
| | | for (let k in this.option0.column) { |
| | | if (this.option0.column[k].prop == "enterprisename") { |
| | | continue; |
| | | } |
| | | if (this.option0.column[k].rules) { |
| | | delete this.option0.column[k].rules; |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | computed: { |
| | | ...mapGetters(["userInfo"]), |
| | |
| | | console.log("是公安add jurisdiction"); |
| | | params["jurisdiction"] = this.userInfo.jurisdiction; |
| | | } |
| | | if (this.userInfo.role_name == "培训公司管理员") { |
| | | params["createDeptId"] = this.userInfo.dept_id; |
| | | } |
| | | params["stats"] = 0; |
| | | this.loading = true; |
| | | getdata( |