diff --git a/src/api/hr/org/index.ts b/src/api/hr/org/index.ts index cd43426..a07b062 100644 --- a/src/api/hr/org/index.ts +++ b/src/api/hr/org/index.ts @@ -389,3 +389,32 @@ export const hotNews = (data: attributePage):any => { data: data }) } +//获取角色列表 +export function gainRoleList(data?: any) { + return request({ + url: "/systemapi/user/gainRoleList", + method: "POST", + data: data + }); +} + +/** + * 根据行政组织获取岗位 + */ +export function basis_org_postList(data?: any){ + return request({ + url: '/hrapi/org/basis_org_postList', + method: 'post', + data: data + }); +} +/** + * 获取职位(岗位)详情 + */ +export function getpositioncont(data: getContId){ + return request({ + url: '/hrapi/org/getpositioncont', + method: 'post', + data: data + }); +} diff --git a/src/api/hr/org/type.ts b/src/api/hr/org/type.ts index 2d18fcf..93d7995 100644 --- a/src/api/hr/org/type.ts +++ b/src/api/hr/org/type.ts @@ -288,4 +288,6 @@ export interface orgGardes{ } export interface attributePage extends pageTurning{ type?:number -} \ No newline at end of file +} + + diff --git a/src/components/lowCode/assistant/pickpost.vue b/src/components/lowCode/assistant/pickpost.vue new file mode 100644 index 0000000..7f6c722 --- /dev/null +++ b/src/components/lowCode/assistant/pickpost.vue @@ -0,0 +1,226 @@ + + + + \ No newline at end of file diff --git a/src/components/lowCode/assistant/pickrole.vue b/src/components/lowCode/assistant/pickrole.vue new file mode 100644 index 0000000..871e155 --- /dev/null +++ b/src/components/lowCode/assistant/pickrole.vue @@ -0,0 +1,59 @@ + + + + \ No newline at end of file diff --git a/src/components/lowCode/formItem.vue b/src/components/lowCode/formItem.vue index 6525944..ab65184 100644 --- a/src/components/lowCode/formItem.vue +++ b/src/components/lowCode/formItem.vue @@ -45,6 +45,8 @@ import DigitpagePage from '@/components/lowCode/assistant/digitpage.vue' import OrgCentent from '@/components/lowCode/assistant/org.vue' // import Tinymce from '@/components/lowCode/assistant/tinymce.vue' import QuillEditor from '@/components/lowCode/assistant/quillEditor.vue' +import PickRole from '@/components/lowCode/assistant/pickrole.vue' +import PickPost from '@/components/lowCode/assistant/pickpost.vue' const props = withDefaults( @@ -551,6 +553,12 @@ const currentComponent = computed(() => { if (props.data.type === "orgCentent") { return markRaw(OrgCentent); } + if (props.data.type === "pickpost") { + return markRaw(PickPost); + } + if (props.data.type === "pickrole") { + return markRaw(PickRole); + } return `el-${props.data.type}` }) //阻止唤起键盘 @@ -560,7 +568,7 @@ const handleClick = (event) => { };