Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
iBiz人力资源
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
iBiz企业套件
iBiz人力资源
提交
15e99894
提交
15e99894
编写于
8月 08, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
jackwang 部署微服务应用
上级
2b27c1a2
变更
23
展开全部
隐藏空白字符变更
内嵌
并排
正在显示
23 个修改的文件
包含
2381 行增加
和
62 行删除
+2381
-62
view-config.json
app_PIM/public/assets/json/view-config.json
+10
-0
hremployee_en_US.ts
...src/locale/lanres/entities/hremployee/hremployee_en_US.ts
+13
-0
hremployee_zh_CN.ts
...src/locale/lanres/entities/hremployee/hremployee_zh_CN.ts
+13
-0
viewconfig.ts
app_PIM/src/mock/viewconfig/viewconfig.ts
+8
-0
hremployee-grid-view-base.tsx
...source/hremployee-grid-view/hremployee-grid-view-base.tsx
+1
-1
hremployee-tree-exp-view-base.tsx
...remployee-tree-exp-view/hremployee-tree-exp-view-base.tsx
+205
-0
hremployee-tree-exp-view.html
...ce/hremployee-tree-exp-view/hremployee-tree-exp-view.html
+19
-0
hremployee-tree-exp-view.vue
...rce/hremployee-tree-exp-view/hremployee-tree-exp-view.vue
+22
-0
page-register.ts
app_PIM/src/pages/ungroup/pim/page-register.ts
+4
-4
router.ts
app_PIM/src/pages/ungroup/pim/router.ts
+43
-43
state.ts
app_PIM/src/store/modules/view-action/state.ts
+12
-10
hremployee-ui-service-base.ts
...IM/src/uiservice/hremployee/hremployee-ui-service-base.ts
+1
-0
tree-001-treeview-base.tsx
...s/hremployee/tree-001-treeview/tree-001-treeview-base.tsx
+630
-0
tree-001-treeview-model.ts
...s/hremployee/tree-001-treeview/tree-001-treeview-model.ts
+139
-0
tree-001-treeview-service.ts
...hremployee/tree-001-treeview/tree-001-treeview-service.ts
+565
-0
tree-001-treeview.html
...dgets/hremployee/tree-001-treeview/tree-001-treeview.html
+47
-0
tree-001-treeview.vue
...idgets/hremployee/tree-001-treeview/tree-001-treeview.vue
+22
-0
tree-exp-viewtreeexpbar-treeexpbar-base.tsx
...ar-treeexpbar/tree-exp-viewtreeexpbar-treeexpbar-base.tsx
+410
-0
tree-exp-viewtreeexpbar-treeexpbar-model.ts
...ar-treeexpbar/tree-exp-viewtreeexpbar-treeexpbar-model.ts
+139
-0
tree-exp-viewtreeexpbar-treeexpbar-service.ts
...-treeexpbar/tree-exp-viewtreeexpbar-treeexpbar-service.ts
+11
-0
tree-exp-viewtreeexpbar-treeexpbar.html
...expbar-treeexpbar/tree-exp-viewtreeexpbar-treeexpbar.html
+39
-0
tree-exp-viewtreeexpbar-treeexpbar.vue
...eexpbar-treeexpbar/tree-exp-viewtreeexpbar-treeexpbar.vue
+24
-0
h2_table.xml
humanresource-core/src/main/resources/liquibase/h2_table.xml
+4
-4
未找到文件。
app_PIM/public/assets/json/view-config.json
浏览文件 @
15e99894
...
...
@@ -619,6 +619,16 @@
"viewtag"
:
"b932c0eb66409c638c29ee27ba4fda37"
,
"memo"
:
"系统自动添加"
},
"hremployeetreeexpview"
:
{
"title"
:
"员工树导航编辑"
,
"caption"
:
"员工信息"
,
"viewtype"
:
"DETREEEXPVIEW"
,
"viewmodule"
:
"HumanResource"
,
"viewname"
:
"HREmployeeTreeExpView"
,
"viewfilename"
:
"hremployee-tree-exp-view"
,
"viewtag"
:
"ba512ad6a392dc170b1959cebd038fb8"
,
"memo"
:
""
},
"hrposttabexpview"
:
{
"title"
:
"职位"
,
"caption"
:
"职位"
,
...
...
app_PIM/src/locale/lanres/entities/hremployee/hremployee_en_US.ts
浏览文件 @
15e99894
...
...
@@ -58,6 +58,10 @@ export default {
caption
:
"员工"
,
title
:
"员工编辑视图"
,
},
treeexpview
:
{
caption
:
"员工信息"
,
title
:
"员工树导航编辑"
,
},
pickupview
:
{
caption
:
"员工"
,
title
:
"员工数据选择视图"
,
...
...
@@ -230,4 +234,13 @@ export default {
tip
:
"Remove {0}"
,
},
},
tree_001_treeview
:
{
nodes
:
{
root
:
"默认根节点"
,
tr0
:
"员工信息"
,
tr01
:
"分配信息"
,
},
uiactions
:
{
},
},
};
\ No newline at end of file
app_PIM/src/locale/lanres/entities/hremployee/hremployee_zh_CN.ts
浏览文件 @
15e99894
...
...
@@ -57,6 +57,10 @@ export default {
caption
:
"员工"
,
title
:
"员工编辑视图"
,
},
treeexpview
:
{
caption
:
"员工信息"
,
title
:
"员工树导航编辑"
,
},
pickupview
:
{
caption
:
"员工"
,
title
:
"员工数据选择视图"
,
...
...
@@ -229,4 +233,13 @@ export default {
tip
:
"删除"
,
},
},
tree_001_treeview
:
{
nodes
:
{
root
:
"默认根节点"
,
tr0
:
"员工信息"
,
tr01
:
"分配信息"
,
},
uiactions
:
{
},
},
};
\ No newline at end of file
app_PIM/src/mock/viewconfig/viewconfig.ts
浏览文件 @
15e99894
...
...
@@ -503,6 +503,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname"
:
"HREmployeeEditView"
,
"viewtag"
:
"b932c0eb66409c638c29ee27ba4fda37"
},
"hremployeetreeexpview"
:
{
"title"
:
"员工树导航编辑"
,
"caption"
:
"员工信息"
,
"viewtype"
:
"DETREEEXPVIEW"
,
"viewmodule"
:
"HumanResource"
,
"viewname"
:
"HREmployeeTreeExpView"
,
"viewtag"
:
"ba512ad6a392dc170b1959cebd038fb8"
},
"hrposttabexpview"
:
{
"title"
:
"职位"
,
"caption"
:
"职位"
,
...
...
app_PIM/src/pages/human-resource/hremployee-grid-view/hremployee-grid-view-base.tsx
浏览文件 @
15e99894
...
...
@@ -598,7 +598,7 @@ export class HREmployeeGridViewBase extends GridViewBase {
const
deResParameters
:
any
[]
=
[];
const
parameters
:
any
[]
=
[
{
pathName
:
'hremployees'
,
parameterName
:
'hremployee'
},
{
pathName
:
'
listexpview'
,
parameterName
:
'list
expview'
},
{
pathName
:
'
treeexpview'
,
parameterName
:
'tree
expview'
},
];
const
_this
:
any
=
this
;
const
openIndexViewTab
=
(
data
:
any
)
=>
{
...
...
app_PIM/src/pages/human-resource/hremployee-tree-exp-view/hremployee-tree-exp-view-base.tsx
0 → 100644
浏览文件 @
15e99894
import
{
Subject
}
from
'rxjs'
;
import
{
TreeExpViewBase
}
from
'@/studio-core'
;
import
HREmployeeService
from
'@/service/hremployee/hremployee-service'
;
import
HREmployeeAuthService
from
'@/authservice/hremployee/hremployee-auth-service'
;
import
TreeExpViewEngine
from
'@engine/view/tree-exp-view-engine'
;
import
HREmployeeUIService
from
'@/uiservice/hremployee/hremployee-ui-service'
;
/**
* 员工树导航编辑视图基类
*
* @export
* @class HREmployeeTreeExpViewBase
* @extends {TreeExpViewBase}
*/
export
class
HREmployeeTreeExpViewBase
extends
TreeExpViewBase
{
/**
* 视图对应应用实体名称
*
* @protected
* @type {string}
* @memberof HREmployeeTreeExpViewBase
*/
protected
appDeName
:
string
=
'hremployee'
;
/**
* 应用实体主键
*
* @protected
* @type {string}
* @memberof HREmployeeTreeExpViewBase
*/
protected
appDeKey
:
string
=
'employeeid'
;
/**
* 应用实体主信息
*
* @protected
* @type {string}
* @memberof HREmployeeTreeExpViewBase
*/
protected
appDeMajor
:
string
=
'employeename'
;
/**
* 实体服务对象
*
* @type {HREmployeeService}
* @memberof HREmployeeTreeExpViewBase
*/
protected
appEntityService
:
HREmployeeService
=
new
HREmployeeService
;
/**
* 实体权限服务对象
*
* @type HREmployeeUIService
* @memberof HREmployeeTreeExpViewBase
*/
public
appUIService
:
HREmployeeUIService
=
new
HREmployeeUIService
(
this
.
$store
);
/**
* 计数器服务对象集合
*
* @protected
* @type {Array<*>}
* @memberof HREmployeeTreeExpViewBase
*/
protected
counterServiceArray
:
Array
<
any
>
=
[];
/**
* 视图模型数据
*
* @protected
* @type {*}
* @memberof HREmployeeTreeExpViewBase
*/
protected
model
:
any
=
{
srfCaption
:
'entities.hremployee.views.treeexpview.caption'
,
srfTitle
:
'entities.hremployee.views.treeexpview.title'
,
srfSubTitle
:
'entities.hremployee.views.treeexpview.subtitle'
,
dataInfo
:
''
}
/**
* 容器模型
*
* @protected
* @type {*}
* @memberof HREmployeeTreeExpViewBase
*/
protected
containerModel
:
any
=
{
view_treeexpbar
:
{
name
:
'treeexpbar'
,
type
:
'TREEEXPBAR'
},
};
/**
* 视图唯一标识
*
* @protected
* @type {string}
* @memberof ViewBase
*/
protected
viewtag
:
string
=
'ba512ad6a392dc170b1959cebd038fb8'
;
/**
* 视图引擎
*
* @public
* @type {Engine}
* @memberof HREmployeeTreeExpViewBase
*/
public
engine
:
TreeExpViewEngine
=
new
TreeExpViewEngine
();
/**
* 引擎初始化
*
* @public
* @memberof HREmployeeTreeExpViewBase
*/
public
engineInit
():
void
{
this
.
engine
.
init
({
view
:
this
,
treeexpbar
:
this
.
$refs
.
treeexpbar
,
keyPSDEField
:
'hremployee'
,
majorPSDEField
:
'employeename'
,
isLoadDefault
:
true
,
});
}
/**
* treeexpbar 部件 selectionchange 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof HREmployeeTreeExpViewBase
*/
public
treeexpbar_selectionchange
(
$event
:
any
,
$event2
?:
any
):
void
{
this
.
engine
.
onCtrlEvent
(
'treeexpbar'
,
'selectionchange'
,
$event
);
}
/**
* treeexpbar 部件 activated 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof HREmployeeTreeExpViewBase
*/
public
treeexpbar_activated
(
$event
:
any
,
$event2
?:
any
):
void
{
this
.
engine
.
onCtrlEvent
(
'treeexpbar'
,
'activated'
,
$event
);
}
/**
* treeexpbar 部件 load 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof HREmployeeTreeExpViewBase
*/
public
treeexpbar_load
(
$event
:
any
,
$event2
?:
any
):
void
{
this
.
engine
.
onCtrlEvent
(
'treeexpbar'
,
'load'
,
$event
);
}
/**
* 打开新建数据视图
*
* @param {any[]} args
* @param {*} [params]
* @param {*} [fullargs]
* @param {*} [$event]
* @param {*} [xData]
* @memberof HREmployeeTreeExpView
*/
public
newdata
(
args
:
any
[],
fullargs
?:
any
[],
params
?:
any
,
$event
?:
any
,
xData
?:
any
)
{
let
localContext
:
any
=
null
;
let
localViewParam
:
any
=
null
;
this
.
$Notice
.
warning
({
title
:
'错误'
,
desc
:
'未指定关系视图'
});
}
/**
* 打开编辑数据视图
*
* @param {any[]} args
* @param {*} [params]
* @param {*} [fullargs]
* @param {*} [$event]
* @param {*} [xData]
* @memberof HREmployeeTreeExpView
*/
public
opendata
(
args
:
any
[],
fullargs
?:
any
[],
params
?:
any
,
$event
?:
any
,
xData
?:
any
)
{
this
.
$Notice
.
warning
({
title
:
'错误'
,
desc
:
'未指定关系视图'
});
}
/**
* 视图唯一标识
*
* @type {string}
* @memberof HREmployeeTreeExpView
*/
public
viewUID
:
string
=
'human-resource-hremployee-tree-exp-view'
;
}
\ No newline at end of file
app_PIM/src/pages/human-resource/hremployee-tree-exp-view/hremployee-tree-exp-view.html
0 → 100644
浏览文件 @
15e99894
<studio-view-style2
viewName=
"hremployeetreeexpview"
viewTitle=
"员工树导航编辑"
class=
'detreeexpview hremployee-tree-exp-view'
>
<template
slot=
'title'
>
<span
class=
'caption-info'
>
{{$t(model.srfTitle)}}
</span>
</template>
<view
_treeexpbar
:viewState=
"viewState"
:viewparams=
"viewparams"
:context=
"context"
:viewUID=
"viewUID"
:newdata=
"newdata"
:opendata=
"opendata"
name=
"treeexpbar"
ref=
'treeexpbar'
@
selectionchange=
"treeexpbar_selectionchange($event)"
@
activated=
"treeexpbar_activated($event)"
@
load=
"treeexpbar_load($event)"
@
closeview=
"closeView($event)"
>
</view
_treeexpbar
>
</studio-view-style2>
\ No newline at end of file
app_PIM/src/pages/human-resource/hremployee-tree-exp-view/hremployee-tree-exp-view.vue
0 → 100644
浏览文件 @
15e99894
<
template
src=
"./hremployee-tree-exp-view.html"
/>
<script
lang=
'tsx'
>
import
{ Component } from 'vue-property-decorator';
import { VueLifeCycleProcessing } from '@/studio-core';
import { HREmployeeTreeExpViewBase } from './hremployee-tree-exp-view-base';
import view_treeexpbar from '@widgets/hremployee/tree-exp-viewtreeexpbar-treeexpbar/tree-exp-viewtreeexpbar-treeexpbar.vue';
/**
* 员工树导航编辑视图
*
* @export
* @class HREmployeeTreeExpView
* @extends {HREmployeeTreeExpViewBase}
*/
@Component({
components: {
view_treeexpbar,
}
})
@VueLifeCycleProcessing()
export default class HREmployeeTreeExpView extends HREmployeeTreeExpViewBase { }
</script>
app_PIM/src/pages/ungroup/pim/page-register.ts
浏览文件 @
15e99894
export
const
PageComponents
=
{
install
(
Vue
:
any
,
opt
:
any
)
{
Vue
.
component
(
'hr
employee-pickup-view'
,
()
=>
import
(
'@pages/human-resource/hremployee-pickup-view/hremployee-pickup-view
.vue'
));
Vue
.
component
(
'hr
post-v-004'
,
()
=>
import
(
'@pages/human-resource/hrpost-v-004/hrpost-v-004
.vue'
));
Vue
.
component
(
'hr
post-v-004'
,
()
=>
import
(
'@pages/human-resource/hrpost-v-004/hrpost-v-004
.vue'
));
Vue
.
component
(
'hr
employee-pickup-view'
,
()
=>
import
(
'@pages/human-resource/hremployee-pickup-view/hremployee-pickup-view
.vue'
));
Vue
.
component
(
'hroperation-unit-edit-view'
,
()
=>
import
(
'@pages/base/hroperation-unit-edit-view/hroperation-unit-edit-view.vue'
));
Vue
.
component
(
'hrpost-grid-view'
,
()
=>
import
(
'@pages/human-resource/hrpost-grid-view/hrpost-grid-view.vue'
));
Vue
.
component
(
'hrduty-v-001'
,
()
=>
import
(
'@pages/human-resource/hrduty-v-001/hrduty-v-001.vue'
));
...
...
@@ -21,6 +21,7 @@ export const PageComponents = {
Vue
.
component
(
'hrduty-cert-grid-view'
,
()
=>
import
(
'@pages/human-resource/hrduty-cert-grid-view/hrduty-cert-grid-view.vue'
));
Vue
.
component
(
'hrduty-skill-v-002'
,
()
=>
import
(
'@pages/human-resource/hrduty-skill-v-002/hrduty-skill-v-002.vue'
));
Vue
.
component
(
'hrpost-rel-v-002'
,
()
=>
import
(
'@pages/human-resource/hrpost-rel-v-002/hrpost-rel-v-002.vue'
));
Vue
.
component
(
'hremployee-tree-exp-view'
,
()
=>
import
(
'@pages/human-resource/hremployee-tree-exp-view/hremployee-tree-exp-view.vue'
));
Vue
.
component
(
'hremployee-pickup-grid-view'
,
()
=>
import
(
'@pages/human-resource/hremployee-pickup-grid-view/hremployee-pickup-grid-view.vue'
));
Vue
.
component
(
'hrorganization-pickup-view'
,
()
=>
import
(
'@pages/base/hrorganization-pickup-view/hrorganization-pickup-view.vue'
));
Vue
.
component
(
'hromhierarchy-cat-dashboard-view'
,
()
=>
import
(
'@pages/base/hromhierarchy-cat-dashboard-view/hromhierarchy-cat-dashboard-view.vue'
));
...
...
@@ -39,7 +40,6 @@ export const PageComponents = {
Vue
.
component
(
'hrlegal-v-001'
,
()
=>
import
(
'@pages/base/hrlegal-v-001/hrlegal-v-001.vue'
));
Vue
.
component
(
'hrpost-pickup-grid-view'
,
()
=>
import
(
'@pages/human-resource/hrpost-pickup-grid-view/hrpost-pickup-grid-view.vue'
));
Vue
.
component
(
'hrduty-skill-grid-view'
,
()
=>
import
(
'@pages/human-resource/hrduty-skill-grid-view/hrduty-skill-grid-view.vue'
));
Vue
.
component
(
'hremployee-list-exp-view'
,
()
=>
import
(
'@pages/human-resource/hremployee-list-exp-view/hremployee-list-exp-view.vue'
));
Vue
.
component
(
'hrduty-edu-v-001'
,
()
=>
import
(
'@pages/human-resource/hrduty-edu-v-001/hrduty-edu-v-001.vue'
));
Vue
.
component
(
'hrpost-dashboard-view'
,
()
=>
import
(
'@pages/human-resource/hrpost-dashboard-view/hrpost-dashboard-view.vue'
));
Vue
.
component
(
'hrorg-address-edit-view'
,
()
=>
import
(
'@pages/base/hrorg-address-edit-view/hrorg-address-edit-view.vue'
));
...
...
@@ -61,9 +61,9 @@ export const PageComponents = {
Vue
.
component
(
'hrpost-v-005'
,
()
=>
import
(
'@pages/human-resource/hrpost-v-005/hrpost-v-005.vue'
));
Vue
.
component
(
'hrlegal-edit-view'
,
()
=>
import
(
'@pages/base/hrlegal-edit-view/hrlegal-edit-view.vue'
));
Vue
.
component
(
'hromhierarchy-edit-view'
,
()
=>
import
(
'@pages/base/hromhierarchy-edit-view/hromhierarchy-edit-view.vue'
));
Vue
.
component
(
'hrpost-rel-grid-view'
,
()
=>
import
(
'@pages/human-resource/hrpost-rel-grid-view/hrpost-rel-grid-view.vue'
));
Vue
.
component
(
'hrorganization-grid-view'
,
()
=>
import
(
'@pages/base/hrorganization-grid-view/hrorganization-grid-view.vue'
));
Vue
.
component
(
'hrduty-pickup-view'
,
()
=>
import
(
'@pages/human-resource/hrduty-pickup-view/hrduty-pickup-view.vue'
));
Vue
.
component
(
'hrpost-rel-grid-view'
,
()
=>
import
(
'@pages/human-resource/hrpost-rel-grid-view/hrpost-rel-grid-view.vue'
));
Vue
.
component
(
'hromhierarchy-cat-edit-view'
,
()
=>
import
(
'@pages/base/hromhierarchy-cat-edit-view/hromhierarchy-cat-edit-view.vue'
));
Vue
.
component
(
'hrorg-contact-edit-view'
,
()
=>
import
(
'@pages/base/hrorg-contact-edit-view/hrorg-contact-edit-view.vue'
));
Vue
.
component
(
'hromhierarchy-cat-v-002'
,
()
=>
import
(
'@pages/base/hromhierarchy-cat-v-002/hromhierarchy-cat-v-002.vue'
));
...
...
app_PIM/src/pages/ungroup/pim/router.ts
浏览文件 @
15e99894
...
...
@@ -44,32 +44,32 @@ const router = new Router({
component
:
()
=>
import
(
'@pages/ungroup/pim/pim.vue'
),
children
:
[
{
path
:
'hr
employees/:hremployee?/pickupview/:pickupview
?'
,
path
:
'hr
posts/:hrpost?/v_004/:v_004
?'
,
meta
:
{
caption
:
'entities.hr
employee.views.pickupview
.title'
,
caption
:
'entities.hr
post.views.v_004
.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'pim'
,
parameterName
:
'pim'
},
{
pathName
:
'hr
employees'
,
parameterName
:
'hremployee
'
},
{
pathName
:
'
pickupview'
,
parameterName
:
'pickupview
'
},
{
pathName
:
'hr
posts'
,
parameterName
:
'hrpost
'
},
{
pathName
:
'
v_004'
,
parameterName
:
'v_004
'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/human-resource/hr
employee-pickup-view/hremployee-pickup-view
.vue'
),
component
:
()
=>
import
(
'@pages/human-resource/hr
post-v-004/hrpost-v-004
.vue'
),
},
{
path
:
'hr
posts/:hrpost?/v_004/:v_004
?'
,
path
:
'hr
employees/:hremployee?/pickupview/:pickupview
?'
,
meta
:
{
caption
:
'entities.hr
post.views.v_004
.title'
,
caption
:
'entities.hr
employee.views.pickupview
.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'pim'
,
parameterName
:
'pim'
},
{
pathName
:
'hr
posts'
,
parameterName
:
'hrpost
'
},
{
pathName
:
'
v_004'
,
parameterName
:
'v_004
'
},
{
pathName
:
'hr
employees'
,
parameterName
:
'hremployee
'
},
{
pathName
:
'
pickupview'
,
parameterName
:
'pickupview
'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/human-resource/hr
post-v-004/hrpost-v-004
.vue'
),
component
:
()
=>
import
(
'@pages/human-resource/hr
employee-pickup-view/hremployee-pickup-view
.vue'
),
},
{
path
:
'hroperationunits/:hroperationunit?/editview/:editview?'
,
...
...
@@ -517,6 +517,20 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/human-resource/hrpost-rel-v-002/hrpost-rel-v-002.vue'
),
},
{
path
:
'hremployees/:hremployee?/treeexpview/:treeexpview?'
,
meta
:
{
caption
:
'entities.hremployee.views.treeexpview.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'pim'
,
parameterName
:
'pim'
},
{
pathName
:
'hremployees'
,
parameterName
:
'hremployee'
},
{
pathName
:
'treeexpview'
,
parameterName
:
'treeexpview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/human-resource/hremployee-tree-exp-view/hremployee-tree-exp-view.vue'
),
},
{
path
:
'hremployees/:hremployee?/pickupgridview/:pickupgridview?'
,
meta
:
{
...
...
@@ -859,20 +873,6 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/human-resource/hrduty-skill-grid-view/hrduty-skill-grid-view.vue'
),
},
{
path
:
'hremployees/:hremployee?/listexpview/:listexpview?'
,
meta
:
{
caption
:
'entities.hremployee.views.listexpview.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'pim'
,
parameterName
:
'pim'
},
{
pathName
:
'hremployees'
,
parameterName
:
'hremployee'
},
{
pathName
:
'listexpview'
,
parameterName
:
'listexpview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/human-resource/hremployee-list-exp-view/hremployee-list-exp-view.vue'
),
},
{
path
:
'hrduties/:hrduty?/hrdutyedus/:hrdutyedu?/v_001/:v_001?'
,
meta
:
{
...
...
@@ -1288,61 +1288,61 @@ const router = new Router({
component
:
()
=>
import
(
'@pages/base/hromhierarchy-edit-view/hromhierarchy-edit-view.vue'
),
},
{
path
:
'hr
organizations/:hrorganization
?/gridview/:gridview?'
,
path
:
'hr
posts/:hrpost?/hrpostrels/:hrpostrel
?/gridview/:gridview?'
,
meta
:
{
caption
:
'entities.hr
organization
.views.gridview.title'
,
caption
:
'entities.hr
postrel
.views.gridview.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'pim'
,
parameterName
:
'pim'
},
{
pathName
:
'hrorganizations'
,
parameterName
:
'hrorganization'
},
{
pathName
:
'hrposts'
,
parameterName
:
'hrpost'
},
{
pathName
:
'hrpostrels'
,
parameterName
:
'hrpostrel'
},
{
pathName
:
'gridview'
,
parameterName
:
'gridview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/
base/hrorganization-grid-view/hrorganization
-grid-view.vue'
),
component
:
()
=>
import
(
'@pages/
human-resource/hrpost-rel-grid-view/hrpost-rel
-grid-view.vue'
),
},
{
path
:
'hr
duties/:hrduty?/pickupview/:pickup
view?'
,
path
:
'hr
postrels/:hrpostrel?/gridview/:grid
view?'
,
meta
:
{
caption
:
'entities.hr
duty.views.pickup
view.title'
,
caption
:
'entities.hr
postrel.views.grid
view.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'pim'
,
parameterName
:
'pim'
},
{
pathName
:
'hr
duties'
,
parameterName
:
'hrduty
'
},
{
pathName
:
'
pickupview'
,
parameterName
:
'pickup
view'
},
{
pathName
:
'hr
postrels'
,
parameterName
:
'hrpostrel
'
},
{
pathName
:
'
gridview'
,
parameterName
:
'grid
view'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/human-resource/hr
duty-pickup-view/hrduty-pickup
-view.vue'
),
component
:
()
=>
import
(
'@pages/human-resource/hr
post-rel-grid-view/hrpost-rel-grid
-view.vue'
),
},
{
path
:
'hr
posts/:hrpost?/hrpostrels/:hrpostrel
?/gridview/:gridview?'
,
path
:
'hr
organizations/:hrorganization
?/gridview/:gridview?'
,
meta
:
{
caption
:
'entities.hr
postrel
.views.gridview.title'
,
caption
:
'entities.hr
organization
.views.gridview.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'pim'
,
parameterName
:
'pim'
},
{
pathName
:
'hrposts'
,
parameterName
:
'hrpost'
},
{
pathName
:
'hrpostrels'
,
parameterName
:
'hrpostrel'
},
{
pathName
:
'hrorganizations'
,
parameterName
:
'hrorganization'
},
{
pathName
:
'gridview'
,
parameterName
:
'gridview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/
human-resource/hrpost-rel-grid-view/hrpost-rel
-grid-view.vue'
),
component
:
()
=>
import
(
'@pages/
base/hrorganization-grid-view/hrorganization
-grid-view.vue'
),
},
{
path
:
'hr
postrels/:hrpostrel?/gridview/:grid
view?'
,
path
:
'hr
duties/:hrduty?/pickupview/:pickup
view?'
,
meta
:
{
caption
:
'entities.hr
postrel.views.grid
view.title'
,
caption
:
'entities.hr
duty.views.pickup
view.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'pim'
,
parameterName
:
'pim'
},
{
pathName
:
'hr
postrels'
,
parameterName
:
'hrpostrel
'
},
{
pathName
:
'
gridview'
,
parameterName
:
'grid
view'
},
{
pathName
:
'hr
duties'
,
parameterName
:
'hrduty
'
},
{
pathName
:
'
pickupview'
,
parameterName
:
'pickup
view'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/human-resource/hr
post-rel-grid-view/hrpost-rel-grid
-view.vue'
),
component
:
()
=>
import
(
'@pages/human-resource/hr
duty-pickup-view/hrduty-pickup
-view.vue'
),
},
{
path
:
'hromhierarchycats/:hromhierarchycat?/editview/:editview?'
,
...
...
app_PIM/src/store/modules/view-action/state.ts
浏览文件 @
15e99894
...
...
@@ -465,15 +465,6 @@ export const viewstate: any = {
refviews
:
[
],
},
{
viewtag
:
'92826c47e3d2b905845fe1ad5c30be62'
,
viewmodule
:
'HumanResource'
,
viewname
:
'HREmployeeListExpView'
,
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
],
},
{
viewtag
:
'9420eeffff765c2a6e4ac27dfae7fb2d'
,
viewmodule
:
'Base'
,
...
...
@@ -492,8 +483,8 @@ export const viewstate: any = {
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
'ba512ad6a392dc170b1959cebd038fb8'
,
'b932c0eb66409c638c29ee27ba4fda37'
,
'92826c47e3d2b905845fe1ad5c30be62'
,
],
},
{
...
...
@@ -589,6 +580,17 @@ export const viewstate: any = {
'e7ba37699bd458dc8dd5c02abac8dadd'
,
],
},
{
viewtag
:
'ba512ad6a392dc170b1959cebd038fb8'
,
viewmodule
:
'HumanResource'
,
viewname
:
'HREmployeeTreeExpView'
,
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
'6395cba44e6d6151f19e543b55d88845'
,
'b932c0eb66409c638c29ee27ba4fda37'
,
],
},
{
viewtag
:
'bae1de77dc5bd2584e2dcf7201a06495'
,
viewmodule
:
'HumanResource'
,
...
...
app_PIM/src/uiservice/hremployee/hremployee-ui-service-base.ts
浏览文件 @
15e99894
...
...
@@ -93,6 +93,7 @@ export default class HREmployeeUIServiceBase extends UIService {
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'listexpview'
,
srfappde
:
'hremployees'
});
this
.
allViewMap
.
set
(
'MDATAVIEW:'
,{
viewname
:
'gridview'
,
srfappde
:
'hremployees'
});
this
.
allViewMap
.
set
(
'EDITVIEW:'
,{
viewname
:
'editview'
,
srfappde
:
'hremployees'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'treeexpview'
,
srfappde
:
'hremployees'
});
this
.
allViewMap
.
set
(
'PICKUPVIEW:'
,{
viewname
:
'pickupview'
,
srfappde
:
'hremployees'
});
}
...
...
app_PIM/src/widgets/hremployee/tree-001-treeview/tree-001-treeview-base.tsx
0 → 100644
浏览文件 @
15e99894
此差异已折叠。
点击以展开。
app_PIM/src/widgets/hremployee/tree-001-treeview/tree-001-treeview-model.ts
0 → 100644
浏览文件 @
15e99894
/**
* TREE_001 部件模型
*
* @export
* @class TREE_001Model
*/
export
default
class
TREE_001Model
{
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof TREE_001Model
*/
public
getDataItems
():
any
[]
{
return
[
{
name
:
'employeename'
,
},
{
name
:
'updateman'
,
},
{
name
:
'createman'
,
},
{
name
:
'hremployee'
,
prop
:
'employeeid'
,
},
{
name
:
'updatedate'
,
},
{
name
:
'createdate'
,
},
{
name
:
'organizationid'
,
},
{
name
:
'employeecode'
,
},
{
name
:
'certtype'
,
},
{
name
:
'certnum'
,
},
{
name
:
'birthday'
,
},
{
name
:
'age'
,
},
{
name
:
'organizationname'
,
},
{
name
:
'sex'
,
},
{
name
:
'bloodtype'
,
},
{
name
:
'telephone'
,
},
{
name
:
'mobile'
,
},
{
name
:
'email'
,
},
{
name
:
'marriage'
,
},
{
name
:
'nation'
,
},
{
name
:
'nativetype'
,
},
{
name
:
'nativeaddress'
,
},
{
name
:
'birthaddress'
,
},
{
name
:
'postaladdress'
,
},
{
name
:
'hobby'
,
},
{
name
:
'health'
,
},
{
name
:
'political'
,
},
{
name
:
'startworktime'
,
},
{
name
:
'startorgtime'
,
},
{
name
:
'photo'
,
},
{
name
:
'firstdegree'
,
},
{
name
:
'highestdegree'
,
},
{
name
:
'technicaltitle'
,
},
{
name
:
'certificates'
,
},
{
name
:
'entrytype'
,
},
{
name
:
'politicaltime'
,
},
{
name
:
'empstate'
,
},
{
name
:
'jobstate'
,
},
{
name
:
'nativeplace'
,
},
]
}
}
\ No newline at end of file
app_PIM/src/widgets/hremployee/tree-001-treeview/tree-001-treeview-service.ts
0 → 100644
浏览文件 @
15e99894
此差异已折叠。
点击以展开。
app_PIM/src/widgets/hremployee/tree-001-treeview/tree-001-treeview.html
0 → 100644
浏览文件 @
15e99894
<div
class=
"design-tree-container"
>
<context-menu-container>
<el-tree
v-if=
"inited"
ref=
"treeexpbar_tree"
class=
"design-tree"
node-key=
"id"
lazy
:show-checkbox=
"!isSingleSelect"
:check-on-click-node=
"!isSingleSelect"
:default-expanded-keys=
"expandedKeys"
:props=
"{
label: 'text',
isLeaf: 'leaf',
children: 'children'
}"
:load=
"load.bind(_self)"
:highlight-current=
"true"
:expand-on-click-node=
"false"
@
check=
"onCheck.apply(_self, arguments)"
@
current-change=
"selectionChange.apply(_self, arguments)"
:filter-node-method=
"filterNode"
>
<template
slot-scope=
"{ node, data }"
>
<context-menu
:contextMenuStyle=
"{width: '100%'}"
:data=
"node"
:renderContent=
"renderContextMenu.bind(_self)"
>
<tooltip
transfer
style=
"width: 100%;"
max-width=
"2000"
placement=
"right"
>
<div
class=
"tree-node"
@
dblclick=
"doDefaultAction(node)"
>
<span
class=
"icon"
>
<i
v-if=
" data.iconcls && !Object.is(data.iconcls, '')"
:class=
"data.iconcls"
></i>
<img
v-else-if=
"data.icon && !Object.is(data.icon, '')"
:src=
"data.icon"
/>
<icon
v-else-if=
"isOutputIconDefault"
type=
"ios-paper-outline"
></icon>
</span>
<span
class=
"text"
>
<span
v-if=
"data.html"
v-html=
"data.html"
></span>
<span
v-else
>
{{ data.isUseLangRes ? $t(data.text) : data.text }}
</span>
</span>
</div>
<template
slot=
"content"
>
<span
v-if=
"data.html"
v-html=
"data.html"
></span>
<span
v-else
>
{{ data.isUseLangRes ? $t(data.text) : data.text }}
</span>
</template>
</tooltip>
</context-menu>
</template>
</el-tree>
</context-menu-container>
</div>
\ No newline at end of file
app_PIM/src/widgets/hremployee/tree-001-treeview/tree-001-treeview.vue
0 → 100644
浏览文件 @
15e99894
<
template
src=
"./tree-001-treeview.html"
/>
<script
lang=
'tsx'
>
import
{ Component } from 'vue-property-decorator';
import { VueLifeCycleProcessing } from '@/studio-core';
import { TREE_001TreeBase } from './tree-001-treeview-base';
/**
* treeexpbar_tree部件
*
* @export
* @class TREE_001Tree
* @extends {TREE_001TreeBase}
*/
@Component({
components: {
}
})
@VueLifeCycleProcessing()
export default class TREE_001Tree extends TREE_001TreeBase { }
</script>
app_PIM/src/widgets/hremployee/tree-exp-viewtreeexpbar-treeexpbar/tree-exp-viewtreeexpbar-treeexpbar-base.tsx
0 → 100644
浏览文件 @
15e99894
此差异已折叠。
点击以展开。
app_PIM/src/widgets/hremployee/tree-exp-viewtreeexpbar-treeexpbar/tree-exp-viewtreeexpbar-treeexpbar-model.ts
0 → 100644
浏览文件 @
15e99894
/**
* TreeExpViewtreeexpbar 部件模型
*
* @export
* @class TreeExpViewtreeexpbarModel
*/
export
default
class
TreeExpViewtreeexpbarModel
{
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof TreeExpViewtreeexpbarModel
*/
public
getDataItems
():
any
[]
{
return
[
{
name
:
'employeename'
,
},
{
name
:
'updateman'
,
},
{
name
:
'createman'
,
},
{
name
:
'hremployee'
,
prop
:
'employeeid'
,
},
{
name
:
'updatedate'
,
},
{
name
:
'createdate'
,
},
{
name
:
'organizationid'
,
},
{
name
:
'employeecode'
,
},
{
name
:
'certtype'
,
},
{
name
:
'certnum'
,
},
{
name
:
'birthday'
,
},
{
name
:
'age'
,
},
{
name
:
'organizationname'
,
},
{
name
:
'sex'
,
},
{
name
:
'bloodtype'
,
},
{
name
:
'telephone'
,
},
{
name
:
'mobile'
,
},
{
name
:
'email'
,
},
{
name
:
'marriage'
,
},
{
name
:
'nation'
,
},
{
name
:
'nativetype'
,
},
{
name
:
'nativeaddress'
,
},
{
name
:
'birthaddress'
,
},
{
name
:
'postaladdress'
,
},
{
name
:
'hobby'
,
},
{
name
:
'health'
,
},
{
name
:
'political'
,
},
{
name
:
'startworktime'
,
},
{
name
:
'startorgtime'
,
},
{
name
:
'photo'
,
},
{
name
:
'firstdegree'
,
},
{
name
:
'highestdegree'
,
},
{
name
:
'technicaltitle'
,
},
{
name
:
'certificates'
,
},
{
name
:
'entrytype'
,
},
{
name
:
'politicaltime'
,
},
{
name
:
'empstate'
,
},
{
name
:
'jobstate'
,
},
{
name
:
'nativeplace'
,
},
]
}
}
\ No newline at end of file
app_PIM/src/widgets/hremployee/tree-exp-viewtreeexpbar-treeexpbar/tree-exp-viewtreeexpbar-treeexpbar-service.ts
0 → 100644
浏览文件 @
15e99894
import
{
Http
}
from
'@/utils'
;
import
ControlService
from
'@/widgets/control-service'
;
/**
* TreeExpViewtreeexpbar 部件服务对象
*
* @export
* @class TreeExpViewtreeexpbarService
*/
export
default
class
TreeExpViewtreeexpbarService
extends
ControlService
{
}
\ No newline at end of file
app_PIM/src/widgets/hremployee/tree-exp-viewtreeexpbar-treeexpbar/tree-exp-viewtreeexpbar-treeexpbar.html
0 → 100644
浏览文件 @
15e99894
<split
id=
"treeexpviewtreeexpbar"
class=
'app-tree-exp-bar'
v-model=
"split"
mode=
"horizontal"
@
on-move-end=
"onSplitChange.apply(_self, arguments)"
>
<div
class=
"app-tree-exp-bar-left show-title-bar"
slot=
'left'
>
<div
class=
'tree-exp-bar-header'
>
<div
class=
"tree-exp-bar-title"
>
员工信息
</div>
</div>
<div
class=
'tree-exp-content'
>
<view
_treeexpbar_tree
:viewState=
"viewState"
:viewparams=
"viewparams"
:context=
"context"
:showBusyIndicator=
"true"
updateAction=
'Update'
removeAction=
'Remove'
loadAction=
'Get'
createAction=
'Create'
:isSelectFirstDefault=
"true"
:isBranchAvailable=
"true"
name=
"treeexpbar_tree"
ref=
'treeexpbar_tree'
@
selectionchange=
"treeexpbar_tree_selectionchange($event)"
@
load=
"treeexpbar_tree_load($event)"
@
closeview=
"closeView($event)"
>
</view
_treeexpbar_tree
>
</div>
</div>
<div
class=
"app-tree-exp-bar-right"
slot=
'right'
>
<component
v-if=
"selection.view && !Object.is(this.selection.view.viewname, '')"
:is=
"selection.view.viewname"
class=
"viewcontainer2"
:viewDefaultUsage=
"false"
:viewdata=
"JSON.stringify(selection.context)"
:viewparam=
"JSON.stringify(selection.viewparam)"
@
viewdataschange=
"onViewDatasChange.apply(_self, arguments)"
@
viewdatasactivated=
"viewDatasActivated.apply(_self, arguments)"
@
viewload=
"onViewLoad.apply(_self, arguments)"
>
</component>
</div>
</split>
app_PIM/src/widgets/hremployee/tree-exp-viewtreeexpbar-treeexpbar/tree-exp-viewtreeexpbar-treeexpbar.vue
0 → 100644
浏览文件 @
15e99894
<
template
src=
"./tree-exp-viewtreeexpbar-treeexpbar.html"
/>
<script
lang=
'tsx'
>
import
{ Component } from 'vue-property-decorator';
import { VueLifeCycleProcessing } from '@/studio-core';
import { TreeExpViewtreeexpbarTreeExpBarBase } from './tree-exp-viewtreeexpbar-treeexpbar-base';
import view_treeexpbar_tree from '@widgets/hremployee/tree-001-treeview/tree-001-treeview.vue';
/**
* treeexpbar部件
*
* @export
* @class TreeExpViewtreeexpbarTreeExpBar
* @extends {TreeExpViewtreeexpbarTreeExpBarBase}
*/
@Component({
components: {
view_treeexpbar_tree,
}
})
@VueLifeCycleProcessing()
export default class TreeExpViewtreeexpbarTreeExpBar extends TreeExpViewtreeexpbarTreeExpBarBase { }
</script>
humanresource-core/src/main/resources/liquibase/h2_table.xml
浏览文件 @
15e99894
...
...
@@ -178,7 +178,7 @@
<!--输出实体[HREMPLOYEE]数据结构 -->
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"tab-hremployee-1
0
5-8"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"tab-hremployee-1
1
5-8"
>
<createTable
tableName=
"EMPLOYEE"
>
<column
name=
"EMPLOYEENAME"
remarks=
""
type=
"VARCHAR(200)"
>
</column>
...
...
@@ -278,7 +278,7 @@
<!--输出实体[HRLEGAL]数据结构 -->
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"tab-hrlegal-
88
-10"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"tab-hrlegal-
90
-10"
>
<createTable
tableName=
"LEGAL"
>
<column
name=
"LEGALNAME"
remarks=
""
type=
"VARCHAR(200)"
>
</column>
...
...
@@ -593,10 +593,10 @@
</changeSet>
<!--输出实体[HREMPSTATE]外键关系 -->
<!--输出实体[HREMPLOYEE]外键关系 -->
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-hremployee-1
0
5-26"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-hremployee-1
1
5-26"
>
<addForeignKeyConstraint
baseColumnNames=
"ORGANIZATIONID"
baseTableName=
"EMPLOYEE"
constraintName=
"DER1N_EMPLOYEE_ORGANIZATION_OR"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"ORGANIZATIONID"
referencedTableName=
"ORGANIZATION"
validate=
"true"
/>
</changeSet>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-hremployee-1
0
5-27"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-hremployee-1
1
5-27"
>
<addForeignKeyConstraint
baseColumnNames=
"EMPSTATE"
baseTableName=
"EMPLOYEE"
constraintName=
"DER1N_HREMPLOYEE_HREMPSTATE_EM"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"HREMPSTATEID"
referencedTableName=
"T_HREMPSTATE"
validate=
"true"
/>
</changeSet>
<!--输出实体[HRLEAVE]外键关系 -->
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录