|
@@ -1,7 +1,7 @@
|
|
|
<!--
|
|
|
* @Author: your name
|
|
|
* @Date: 2021-11-29 14:37:54
|
|
|
- * @LastEditTime: 2022-03-14 11:03:58
|
|
|
+ * @LastEditTime: 2022-03-17 19:20:11
|
|
|
* @LastEditors: your name
|
|
|
* @Description: 角色管理
|
|
|
* @FilePath: \Foshan4A2.0\src\views\authorityManagement\components\authorityRole.vue
|
|
@@ -141,7 +141,10 @@ export default {
|
|
|
OrganId: OrganId
|
|
|
});
|
|
|
if (res.code === 0) {
|
|
|
- const datas = res.returnData
|
|
|
+ const datas = res.returnData.map(item => {
|
|
|
+ item.isauto = item.Status == 1
|
|
|
+ return item
|
|
|
+ })
|
|
|
this.arrs = datas
|
|
|
} else {
|
|
|
this.$message.error(res.message)
|
|
@@ -171,6 +174,9 @@ export default {
|
|
|
},
|
|
|
//查询
|
|
|
getSearchData (val) {
|
|
|
+ if (this.$route.query) {
|
|
|
+ this.$router.replace('/staff')
|
|
|
+ }
|
|
|
this.arrs = []
|
|
|
this.dataList = []
|
|
|
this.pageNum = 1
|