| | |
| | | type="info" |
| | | size="small" |
| | | plain |
| | | v-if="permission.user_role" |
| | | v-if="permission.user_role && isguanli" |
| | | icon="el-icon-user" |
| | | @click="handleGrant" |
| | | >角色配置 |
| | |
| | | } |
| | | }; |
| | | return { |
| | | isguanli: true, |
| | | |
| | | sizes: [5, 19], |
| | | deptids: null, |
| | | |
| | |
| | | required: true, |
| | | message: "请选择性别", |
| | | trigger: "blur", |
| | | } |
| | | }, |
| | | ], |
| | | }, |
| | | { |
| | |
| | | if (this.userInfo.role_name == "保安公司管理员") { |
| | | this.deptids = this.userInfo.dept_id; |
| | | this.sizes = [0, 24]; |
| | | this.isguanli = false; |
| | | // this.option.group[2].value = this.userInfo.Id; |
| | | } else { |
| | | this.deptids = null; |
| | | this.sizes = [5, 19]; |
| | |
| | | getJurisdiction(params).then((res) => { |
| | | // console.log(res.data.data); |
| | | // return; |
| | | if (res.msg != "暂无承载数据") { |
| | | if (res.data.msg != "暂无承载数据") { |
| | | row.jurisdiction = res.data.data; |
| | | } else { |
| | | row.jurisdiction = ""; |