|
|
@@ -309,7 +309,7 @@
|
|
|
:orgTypeOptions="dict.type.sys_org_type"
|
|
|
:ruleTypeOptions="dict.type.rule_type"
|
|
|
></dialog-edit>
|
|
|
- <DialogDistribute ref="dialogDistribute"></DialogDistribute>
|
|
|
+ <DialogDistribute ref="dialogDistribute" @select="sel"></DialogDistribute>
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
|
@@ -386,7 +386,13 @@ export default {
|
|
|
},
|
|
|
methods: {
|
|
|
...mapMutations([]),
|
|
|
-
|
|
|
+ sel(selectList){
|
|
|
+ this.loading = true;
|
|
|
+ api.distribute(selectList).then((response) => {
|
|
|
+ this.getList();
|
|
|
+ this.loading = false;
|
|
|
+ })
|
|
|
+ },
|
|
|
getRolesByOrg() {
|
|
|
let params = {
|
|
|
// orgId:this.queryParams.orgId
|