|
|
@@ -345,15 +345,16 @@ export default {
|
|
|
this.getList();
|
|
|
},
|
|
|
getRolesByOrg() {
|
|
|
- if(!this.queryParams.orgType){
|
|
|
- this.planRoles=[]
|
|
|
- this.queryParams.roleId=[]
|
|
|
- }
|
|
|
+
|
|
|
let params = {
|
|
|
orgType:this.queryParams.orgType|| null,
|
|
|
};
|
|
|
findAllRole(params).then((res) => {
|
|
|
this.planRoles = res.data;
|
|
|
+ if(!this.queryParams.orgType){
|
|
|
+ this.planRoles=[]
|
|
|
+ this.queryParams.roleId=[]
|
|
|
+ }
|
|
|
});
|
|
|
},
|
|
|
cleanExecOrgList() {
|