| | |
| | | border: true, |
| | | index: true, |
| | | stripe: true, |
| | | viewBtn: true, |
| | | viewBtn: false, |
| | | // selection: true, |
| | | excelBtn: false, |
| | | addBtnText: "发布", |
| | |
| | | this.search["userType"] = 7; |
| | | this.search["hold"] = "1"; |
| | | } |
| | | this.userInfo.rname.forEach((roleName) => { |
| | | var roleName = this.userInfo.role_name; |
| | | // console.log(this.userInfo,52252); |
| | | // this.userInfo.rname.forEach((roleName) => { |
| | | if ( |
| | | roleName == "保安公司管理员" || |
| | | roleName == "保安" || |
| | |
| | | //默认全部展开 |
| | | column.dicUrl = "/api/blade-system/dept/security_lazy-tree"; |
| | | } |
| | | }); |
| | | // }); |
| | | |
| | | if ( |
| | | this.userInfo.account == "南昌市保安服务总公司" || |
| | |
| | | selection: true, |
| | | reserveSelection: true, |
| | | selectable: (row) => { |
| | | if (row.qualified != "0" || row.avatar==null || row.avatar=="") { |
| | | if (row.qualified != "0") { |
| | | return false; |
| | | } else { |
| | | return true; |