Browse Source

【接口看板+store+job】角色页面优化开发

faster_AG_grid
安虹睿 1 year ago
parent
commit
a0e83ade63
  1. 4
      PC/InterFace.Dash/src/views/menuList/AbpIdentityMarkRoles.vue
  2. 31
      PC/UI.WinIn.FasterZ.Job/src/views/menuList/AbpIdentityMarkRoles.vue
  3. 4
      PC/UI.WinIn.FasterZ.Store/src/views/menuList/AbpIdentityMarkRoles.vue

4
PC/InterFace.Dash/src/views/menuList/AbpIdentityMarkRoles.vue

@ -413,8 +413,8 @@ export default {
duration: 2000,
});
this.treeLoading = false;
//
if(this.multipleSelection[0].name == this.$store.getters.currentUserInfo.name){
//
if(this.$store.getters.currentUserInfo.roles.indexOf(this.multipleSelection[0].name) >= 0){
location.reload()
}
}).catch(()=>{

31
PC/UI.WinIn.FasterZ.Job/src/views/menuList/AbpIdentityMarkRoles.vue

@ -149,9 +149,9 @@
</div>
</el-dialog>
</div>
</template>
<script>
import {
</template>
<script>
import {
getPageListRoles,
getPermissionsRoles,
savePermissionsRoles,
@ -159,10 +159,10 @@
postCreateRoles,
postUpdateRoles,
postDeleteRoles,
} from "@/api/wms-auth";
import permission from "@/utils/permission/index";
import searchNormal from "@/components/searchNormal/index.vue"
export default {
} from "@/api/wms-auth";
import permission from "@/utils/permission/index";
import searchNormal from "@/components/searchNormal/index.vue"
export default {
directives: { permission },
components:{
searchNormal
@ -413,8 +413,8 @@
duration: 2000,
});
this.treeLoading = false;
//
if(this.multipleSelection[0].name == this.$store.getters.currentUserInfo.name){
//
if(this.$store.getters.currentUserInfo.roles.indexOf(this.multipleSelection[0].name) >= 0){
location.reload()
}
}).catch(()=>{
@ -490,10 +490,10 @@
})
},
},
};
</script>
<style lang="scss" scoped>
.appMainPage {
};
</script>
<style lang="scss" scoped>
.appMainPage {
padding: 20px;
.main {
@ -542,7 +542,6 @@
height: calc(100vh - 260px);
overflow-y: auto;
}
}
</style>
}
</style>

4
PC/UI.WinIn.FasterZ.Store/src/views/menuList/AbpIdentityMarkRoles.vue

@ -413,8 +413,8 @@ export default {
duration: 2000,
});
this.treeLoading = false;
//
if(this.multipleSelection[0].name == this.$store.getters.currentUserInfo.name){
//
if(this.$store.getters.currentUserInfo.roles.indexOf(this.multipleSelection[0].name) >= 0){
location.reload()
}
}).catch(()=>{

Loading…
Cancel
Save