| | |
| | | <el-button icon="el-icon-plus" size="small" type="primary" @click="addHandler">添加</el-button> |
| | | <el-button icon="el-icon-plus" size="small" type="primary" @click="editHandler">修改</el-button> |
| | | <el-button icon="el-icon-delete" plain size="small" type="danger" @click="delHandler">删除</el-button> |
| | | <el-button icon="el-icon-view" plain size="small" type="primary" @click="viewAuthHandler">查看授权结果</el-button> |
| | | <!--<el-button icon="el-icon-view" plain size="small" type="primary" @click="viewAuthHandler">查看授权结果</el-button>--> |
| | | </template> |
| | | </avue-crud> |
| | | <div style="margin-top: 15px;"> |
| | |
| | | watch:{ |
| | | 'form.userOid':{ |
| | | handler(val) { |
| | | if(val){ |
| | | /*if(val){ |
| | | listRoleByUserOid(val).then(res => { |
| | | // 组装好穿梭框可用数据 |
| | | this.roleDic = res.data.data; |
| | |
| | | this.deptDic=[]; |
| | | this.form.roleOid='' |
| | | this.form.deptOid=''; |
| | | } |
| | | }*/ |
| | | }, |
| | | immediate: true, |
| | | deep: true |