Browse Source

fix: 部门角色编辑调整

main
xuziqiang 3 months ago
parent
commit
45908dd5c1
  1. 11
      hx-ai-intelligent/src/view/organizationManage/departmentManage/index.vue

11
hx-ai-intelligent/src/view/organizationManage/departmentManage/index.vue

@ -139,15 +139,22 @@
<a-empty style="margin-top: 120px" v-else /> <a-empty style="margin-top: 120px" v-else />
</a-tab-pane> </a-tab-pane>
</a-tabs> </a-tabs>
<a-space v-if="activeKey === 1 || rolePermissionTreeData?.length"> <a-space>
<ns-button type="primary" @click="CancelUser">取消</ns-button> <ns-button type="primary" @click="CancelUser">取消</ns-button>
<ns-button <ns-button
v-show="roleDisabled" v-show="roleDisabled"
:disabled="!roleTreeData?.length"
type="primary" type="primary"
@click="rolePipe(roleEdit, false, false)"> @click="rolePipe(roleEdit, false, false)">
编辑 编辑
</ns-button> </ns-button>
<ns-button v-show="!roleDisabled" type="primary" @click="roleSure"> 确定 </ns-button> <ns-button
v-show="!roleDisabled"
:disabled="!roleTreeData?.length"
type="primary"
@click="roleSure">
确定
</ns-button>
</a-space> </a-space>
</div> </div>
</a-col> </a-col>

Loading…
Cancel
Save