通知通告页面,保安公司4个页面,心理咨询,成绩查询,培训报名列表修改
| | |
| | | this.userInfo.role_name == "装备管理员" |
| | | ) { |
| | | params["deptId"] = this.userInfo.dept_id; |
| | | }else{ |
| | | params["jurisdiction"] = this.userInfo.jurisdiction; |
| | | } |
| | | |
| | | const { releaseTimeRange } = this.query; |
| | | params["jurisdiction"] = this.jurisdiction; |
| | | |
| | | params["type"] = 1; |
| | | let values = { |
| | | ...params |
| | |
| | | :data="data" |
| | | :page.sync="page" |
| | | ref="crudrec" |
| | | :permission="permissionList" |
| | | @on-load="onLoad" |
| | | :table-loading="loading" |
| | | @row-save="rowSave" |
| | |
| | | size="small" |
| | | plain |
| | | icon="el-icon-delete" |
| | | v-if="permission.recruitment_delete" |
| | | @click="handleDelete" |
| | | >删 除 |
| | | </el-button> |
| | |
| | | } |
| | | }, |
| | | computed: { |
| | | ...mapGetters(["userInfo"]), |
| | | ...mapGetters(["permission", "userInfo"]), |
| | | permissionList() { |
| | | return { |
| | | addBtn: this.vaildData(this.permission.recruitment_add, false), |
| | | viewBtn: this.vaildData(this.permission.recruitment_view, true), |
| | | delBtn: this.vaildData(this.permission.recruitment_delete, false), |
| | | editBtn: this.vaildData(this.permission.recruitment_edit, false) |
| | | }; |
| | | }, |
| | | ids() { |
| | | let ids = []; |
| | | this.selectionList.forEach(ele => { |
| | |
| | | }); |
| | | }, |
| | | onLoad(page, params = {}) { |
| | | if (this.userInfo.role_id == "1414840172333842433") { |
| | | console.log("是公安add jurisdiction"); |
| | | if(this.userInfo.role_name == "公安管理员" || this.userInfo.role_name == "民警" || this.userInfo.role_name == "administrator"){ |
| | | params["jurisdiction"] = this.userInfo.jurisdiction; |
| | | } |
| | | params["stats"] = "2"; |
| | |
| | | }); |
| | | }, |
| | | onLoad(page, params = {}) { |
| | | if (this.userInfo.role_id == "1414840172333842433") { |
| | | console.log("是公安add jurisdiction"); |
| | | if(this.userInfo.role_name == "公安管理员" || this.userInfo.role_name == "民警" || this.userInfo.role_name == "administrator"){ |
| | | params["jurisdiction"] = this.userInfo.jurisdiction; |
| | | } |
| | | params["stats"] = 1; |
| | |
| | | }); |
| | | }, |
| | | onLoad(page, params = {}) { |
| | | if (this.userInfo.role_id == "1414840172333842433") { |
| | | if(this.userInfo.role_name == "公安管理员" || this.userInfo.role_name == "民警" || this.userInfo.role_name == "administrator"){ |
| | | params["jurisdiction"] = this.userInfo.jurisdiction; |
| | | } |
| | | if (this.userInfo.role_name == "培训公司管理员") { |
| | |
| | | }); |
| | | }, |
| | | onLoad(page, params = {}) { |
| | | if (this.userInfo.role_id == "1414840172333842433") { |
| | | console.log("是公安add jurisdiction"); |
| | | if(this.userInfo.role_name == "公安管理员" || this.userInfo.role_name == "民警" || this.userInfo.role_name == "administrator"){ |
| | | params["jurisdiction"] = this.userInfo.jurisdiction; |
| | | } |
| | | params["stats"] = 4; |
| | |
| | | this.onLoad(this.page, this.query); |
| | | }, |
| | | onLoad(page, params = {}) { |
| | | if(this.userInfo.role_name == "公安管理员" || this.userInfo.role_name == "民警" || this.userInfo.role_name == "administrator"){ |
| | | params["jurisdiction"] = this.userInfo.jurisdiction; |
| | | }else{ |
| | | params["deptid"] = this.userInfo.dept_id; |
| | | } |
| | | this.loading = true; |
| | | // console.log(1); |
| | | getList( |
| | | page.currentPage, |
| | | page.pageSize, |
| | |
| | | //如果是培训公司管理员 |
| | | params["trainUnitId"] = that.userInfo.dept_id; |
| | | } |
| | | if (roleAlias == "公安管理员" || roleAlias == "民警") { |
| | | //如果公安 |
| | | params["jurisdiction"] = that.userInfo.jurisdiction; |
| | | } |
| | | that.questionBankLoading = false; |
| | | params["examType"] = 2; |
| | | if (this.sort) { |
| | |
| | | //如果是培训公司管理员 |
| | | params["trainingUnitId"] = that.userInfo.dept_id; |
| | | } |
| | | if (roleAlias == "公安管理员" || roleAlias == "民警") { |
| | | //如果公安 |
| | | params["jurisdiction"] = that.userInfo.jurisdiction; |
| | | } |
| | | // params["isExam"] = 1; |
| | | getdata( |
| | | page.currentPage, |