diff --git a/flowable-engine-web/src/api/org.js b/flowable-engine-web/src/api/org.js index bae49ea..970fc6d 100644 --- a/flowable-engine-web/src/api/org.js +++ b/flowable-engine-web/src/api/org.js @@ -13,7 +13,7 @@ export function getOrgTree(param) { // 查询系统角色 export function getRole() { return request({ - url: 'oa/org/role', + url: 'admin/role/option', method: 'get' }) } diff --git a/flowable-engine-web/src/components/common/OrgPicker.vue b/flowable-engine-web/src/components/common/OrgPicker.vue index eece86f..b1db697 100644 --- a/flowable-engine-web/src/components/common/OrgPicker.vue +++ b/flowable-engine-web/src/components/common/OrgPicker.vue @@ -2,67 +2,32 @@
-
- -
- - - -
- 全选 - 上一级 -
-
-
-
+
系统角色
-
- -
- -
- - {{ org.name }} - - 下级 - -
-
- - {{getShortName(org.name)}} - {{ org.name }} -
-
- - {{ org.name }} -
+
+ + +
+ + + {{ roleItem.name }}
+
- 已选 {{ select.length }} 项 + 已选 {{ selectList.length }} 项 清空
-
- -
-
- - {{ org.name }} -
-
- - {{getShortName(org.name)}} - {{ org.name }} -
-
- - {{ org.name }} -
- +
+ +
+ + {{ org.name }} +
@@ -71,251 +36,137 @@