Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
iBiz人力资源
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
iBiz企业套件
iBiz人力资源
提交
88df5b2e
提交
88df5b2e
编写于
8月 12, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
jackwang 部署微服务应用
上级
9cc06251
变更
47
显示空白字符变更
内嵌
并排
正在显示
47 个修改的文件
包含
5143 行增加
和
91 行删除
+5143
-91
view-config.json
app_PIM/public/assets/json/view-config.json
+40
-0
hrarchives_en_US.ts
...src/locale/lanres/entities/hrarchives/hrarchives_en_US.ts
+156
-14
hrarchives_zh_CN.ts
...src/locale/lanres/entities/hrarchives/hrarchives_zh_CN.ts
+156
-14
viewconfig.ts
app_PIM/src/mock/viewconfig/viewconfig.ts
+32
-0
hrarchives-v-006-base.tsx
...human-resource/hrarchives-v-006/hrarchives-v-006-base.tsx
+130
-0
hrarchives-v-006.html
...ges/human-resource/hrarchives-v-006/hrarchives-v-006.html
+10
-0
hrarchives-v-006.vue
...ages/human-resource/hrarchives-v-006/hrarchives-v-006.vue
+22
-0
hrarchives-v-007-base.tsx
...human-resource/hrarchives-v-007/hrarchives-v-007-base.tsx
+702
-0
hrarchives-v-007.html
...ges/human-resource/hrarchives-v-007/hrarchives-v-007.html
+49
-0
hrarchives-v-007.vue
...ages/human-resource/hrarchives-v-007/hrarchives-v-007.vue
+24
-0
hrarchives-v-008-base.tsx
...human-resource/hrarchives-v-008/hrarchives-v-008-base.tsx
+702
-0
hrarchives-v-008.html
...ges/human-resource/hrarchives-v-008/hrarchives-v-008.html
+49
-0
hrarchives-v-008.vue
...ages/human-resource/hrarchives-v-008/hrarchives-v-008.vue
+24
-0
hrarchives-v-009-base.tsx
...human-resource/hrarchives-v-009/hrarchives-v-009-base.tsx
+702
-0
hrarchives-v-009.html
...ges/human-resource/hrarchives-v-009/hrarchives-v-009.html
+49
-0
hrarchives-v-009.vue
...ages/human-resource/hrarchives-v-009/hrarchives-v-009.vue
+24
-0
page-register.ts
app_PIM/src/pages/ungroup/pim/page-register.ts
+13
-4
router.ts
app_PIM/src/pages/ungroup/pim/router.ts
+307
-46
state.ts
app_PIM/src/store/modules/view-action/state.ts
+106
-6
hrarchives-ui-service-base.ts
...IM/src/uiservice/hrarchives/hrarchives-ui-service-base.ts
+4
-0
pim-appmenu-base.tsx
app_PIM/src/widgets/app/pim-appmenu/pim-appmenu-base.tsx
+2
-2
pim-appmenu-model.ts
app_PIM/src/widgets/app/pim-appmenu/pim-appmenu-model.ts
+5
-5
v-006tabexppanel-tabexppanel-base.tsx
...xppanel-tabexppanel/v-006tabexppanel-tabexppanel-base.tsx
+96
-0
v-006tabexppanel-tabexppanel-model.ts
...xppanel-tabexppanel/v-006tabexppanel-tabexppanel-model.ts
+100
-0
v-006tabexppanel-tabexppanel-service.ts
...panel-tabexppanel/v-006tabexppanel-tabexppanel-service.ts
+45
-0
v-006tabexppanel-tabexppanel.html
...tabexppanel-tabexppanel/v-006tabexppanel-tabexppanel.html
+124
-0
v-006tabexppanel-tabexppanel.vue
...6tabexppanel-tabexppanel/v-006tabexppanel-tabexppanel.vue
+30
-0
v-006tabviewpanel-tabviewpanel-base.tsx
...anel-tabviewpanel/v-006tabviewpanel-tabviewpanel-base.tsx
+215
-0
v-006tabviewpanel-tabviewpanel-model.ts
...anel-tabviewpanel/v-006tabviewpanel-tabviewpanel-model.ts
+100
-0
v-006tabviewpanel-tabviewpanel-service.ts
...el-tabviewpanel/v-006tabviewpanel-tabviewpanel-service.ts
+11
-0
v-006tabviewpanel-tabviewpanel.html
...iewpanel-tabviewpanel/v-006tabviewpanel-tabviewpanel.html
+12
-0
v-006tabviewpanel-tabviewpanel.vue
...viewpanel-tabviewpanel/v-006tabviewpanel-tabviewpanel.vue
+22
-0
v-006tabviewpanel2-tabviewpanel-base.tsx
...el2-tabviewpanel/v-006tabviewpanel2-tabviewpanel-base.tsx
+215
-0
v-006tabviewpanel2-tabviewpanel-model.ts
...el2-tabviewpanel/v-006tabviewpanel2-tabviewpanel-model.ts
+100
-0
v-006tabviewpanel2-tabviewpanel-service.ts
...2-tabviewpanel/v-006tabviewpanel2-tabviewpanel-service.ts
+11
-0
v-006tabviewpanel2-tabviewpanel.html
...wpanel2-tabviewpanel/v-006tabviewpanel2-tabviewpanel.html
+12
-0
v-006tabviewpanel2-tabviewpanel.vue
...ewpanel2-tabviewpanel/v-006tabviewpanel2-tabviewpanel.vue
+22
-0
v-006tabviewpanel3-tabviewpanel-base.tsx
...el3-tabviewpanel/v-006tabviewpanel3-tabviewpanel-base.tsx
+215
-0
v-006tabviewpanel3-tabviewpanel-model.ts
...el3-tabviewpanel/v-006tabviewpanel3-tabviewpanel-model.ts
+100
-0
v-006tabviewpanel3-tabviewpanel-service.ts
...3-tabviewpanel/v-006tabviewpanel3-tabviewpanel-service.ts
+11
-0
v-006tabviewpanel3-tabviewpanel.html
...wpanel3-tabviewpanel/v-006tabviewpanel3-tabviewpanel.html
+12
-0
v-006tabviewpanel3-tabviewpanel.vue
...ewpanel3-tabviewpanel/v-006tabviewpanel3-tabviewpanel.vue
+22
-0
v-006tabviewpanel4-tabviewpanel-base.tsx
...el4-tabviewpanel/v-006tabviewpanel4-tabviewpanel-base.tsx
+215
-0
v-006tabviewpanel4-tabviewpanel-model.ts
...el4-tabviewpanel/v-006tabviewpanel4-tabviewpanel-model.ts
+100
-0
v-006tabviewpanel4-tabviewpanel-service.ts
...4-tabviewpanel/v-006tabviewpanel4-tabviewpanel-service.ts
+11
-0
v-006tabviewpanel4-tabviewpanel.html
...wpanel4-tabviewpanel/v-006tabviewpanel4-tabviewpanel.html
+12
-0
v-006tabviewpanel4-tabviewpanel.vue
...ewpanel4-tabviewpanel/v-006tabviewpanel4-tabviewpanel.vue
+22
-0
未找到文件。
app_PIM/public/assets/json/view-config.json
浏览文件 @
88df5b2e
...
...
@@ -249,6 +249,16 @@
"viewtag"
:
"188f3997d02da7fc34bac190ccd439e6"
,
"memo"
:
""
},
"hrarchivesv_007"
:
{
"title"
:
"档案"
,
"caption"
:
"档案信息"
,
"viewtype"
:
"DEGRIDVIEW"
,
"viewmodule"
:
"HumanResource"
,
"viewname"
:
"HRArchivesV_007"
,
"viewfilename"
:
"hrarchives-v-007"
,
"viewtag"
:
"1d3844e75211900a75e23efd0993ba25"
,
"memo"
:
""
},
"hromhierarchycatmpickupview"
:
{
"title"
:
"结构层次类别数据多项选择视图"
,
"caption"
:
"结构层次类别"
,
...
...
@@ -359,6 +369,16 @@
"viewtag"
:
"3180604a9489c03131e6642e456cd5c0"
,
"memo"
:
""
},
"hrarchivesv_009"
:
{
"title"
:
"档案"
,
"caption"
:
"档案信息"
,
"viewtype"
:
"DEGRIDVIEW"
,
"viewmodule"
:
"HumanResource"
,
"viewname"
:
"HRArchivesV_009"
,
"viewfilename"
:
"hrarchives-v-009"
,
"viewtag"
:
"32399525785c11b3d942279a4974420d"
,
"memo"
:
""
},
"hrpostv_003"
:
{
"title"
:
"失效职位"
,
"caption"
:
"职位"
,
...
...
@@ -999,6 +1019,16 @@
"viewtag"
:
"af1a0e288eecf89cd99ed798594e1753"
,
"memo"
:
""
},
"hrarchivesv_008"
:
{
"title"
:
"档案"
,
"caption"
:
"档案信息"
,
"viewtype"
:
"DEGRIDVIEW"
,
"viewmodule"
:
"HumanResource"
,
"viewname"
:
"HRArchivesV_008"
,
"viewfilename"
:
"hrarchives-v-008"
,
"viewtag"
:
"b0527570befbf06448caf276ca882838"
,
"memo"
:
""
},
"hrpostv_001"
:
{
"title"
:
"有效职位"
,
"caption"
:
"职位"
,
...
...
@@ -1159,6 +1189,16 @@
"viewtag"
:
"c01c4604589a2c171c4f41f2ac11f4e2"
,
"memo"
:
"系统自动添加"
},
"hrarchivesv_006"
:
{
"title"
:
"档案"
,
"caption"
:
"档案"
,
"viewtype"
:
"DETABEXPVIEW"
,
"viewmodule"
:
"HumanResource"
,
"viewname"
:
"HRArchivesV_006"
,
"viewfilename"
:
"hrarchives-v-006"
,
"viewtag"
:
"c16477290fe18f68c65916e3cbee4a65"
,
"memo"
:
""
},
"hrtransferapplypickupview"
:
{
"title"
:
"调动申请数据选择视图"
,
"caption"
:
"调动申请"
,
...
...
app_PIM/src/locale/lanres/entities/hrarchives/hrarchives_en_US.ts
浏览文件 @
88df5b2e
...
...
@@ -33,6 +33,14 @@ export default {
caption
:
"档案信息"
,
title
:
"档案"
,
},
v_007
:
{
caption
:
"档案信息"
,
title
:
"档案"
,
},
v_009
:
{
caption
:
"档案信息"
,
title
:
"档案"
,
},
v_003
:
{
caption
:
"档案信息"
,
title
:
"档案信息"
,
...
...
@@ -49,10 +57,18 @@ export default {
caption
:
"档案信息"
,
title
:
"档案信息"
,
},
v_008
:
{
caption
:
"档案信息"
,
title
:
"档案"
,
},
gridview
:
{
caption
:
"档案信息"
,
title
:
"档案"
,
},
v_006
:
{
caption
:
"档案"
,
title
:
"档案"
,
},
v_004
:
{
caption
:
"档案信息"
,
title
:
"档案看板"
,
...
...
@@ -90,11 +106,9 @@ export default {
uiactions
:
{
},
},
i
f_001_form
:
{
e
f_001_form
:
{
details
:
{
group1
:
"档案信息"
,
grouppanel1
:
"借阅记录"
,
grouppanel2
:
"调档记录"
,
formpage1
:
"基本信息"
,
srfupdatedate
:
"更新时间"
,
srforikey
:
""
,
...
...
@@ -104,26 +118,24 @@ export default {
srfuf
:
""
,
srfdeid
:
""
,
srfsourcekey
:
""
,
hremployeename
:
"员工姓名"
,
archivescode
:
"档案编号"
,
hrorganizationname
:
"档案管理单位"
,
archivesplace
:
"档案保管地"
,
archivesroom
:
"档案室"
,
hremployeename
:
"员工姓名"
,
employeecode
:
"员工编号"
,
organizationname
:
"单位"
,
activeflag
:
"是否有效"
,
degree
:
"档案学历"
,
birthday
:
"档案出生日期"
,
startworktime
:
"档案参加工作时间"
,
politicaltime
:
"档案入党时间"
,
hremployeeid
:
"员工标识"
,
hrorganizationid
:
"档案管理单位ID"
,
hrarchivesid
:
"档案信息标识"
,
},
uiactions
:
{
},
},
e
f_001_form
:
{
i
f_001_form
:
{
details
:
{
group1
:
"档案信息"
,
grouppanel1
:
"借阅记录"
,
grouppanel2
:
"调档记录"
,
formpage1
:
"基本信息"
,
srfupdatedate
:
"更新时间"
,
srforikey
:
""
,
...
...
@@ -133,14 +145,18 @@ export default {
srfuf
:
""
,
srfdeid
:
""
,
srfsourcekey
:
""
,
hremployeename
:
"员工姓名"
,
archivescode
:
"档案编号"
,
hrorganizationname
:
"档案管理单位"
,
archivesplace
:
"档案保管地"
,
archivesroom
:
"档案室"
,
hremployeename
:
"员工姓名"
,
employeecode
:
"员工编号"
,
organizationname
:
"单位"
,
activeflag
:
"是否有效"
,
hremployeeid
:
"员工标识"
,
hrorganizationid
:
"档案管理单位ID"
,
degree
:
"档案学历"
,
birthday
:
"档案出生日期"
,
startworktime
:
"档案参加工作时间"
,
politicaltime
:
"档案入党时间"
,
hrarchivesid
:
"档案信息标识"
,
},
uiactions
:
{
...
...
@@ -325,4 +341,130 @@ export default {
tip
:
"关闭"
,
},
},
v_007toolbar_toolbar
:
{
tbitem1_ff_002
:
{
caption
:
"新建"
,
tip
:
"新建"
,
},
tbitem2
:
{
caption
:
"-"
,
tip
:
""
,
},
tbitem4
:
{
caption
:
"Edit"
,
tip
:
"Edit {0}"
,
},
tbitem6
:
{
caption
:
"Copy"
,
tip
:
"Copy {0}"
,
},
tbitem7
:
{
caption
:
"-"
,
tip
:
""
,
},
tbitem8
:
{
caption
:
"Remove"
,
tip
:
"Remove {0}"
,
},
tbitem9
:
{
caption
:
"-"
,
tip
:
""
,
},
tbitem13
:
{
caption
:
"Export"
,
tip
:
"Export {0} Data To Excel"
,
},
tbitem10
:
{
caption
:
"-"
,
tip
:
""
,
},
tbitem19
:
{
caption
:
"Filter"
,
tip
:
"Filter"
,
},
},
v_009toolbar_toolbar
:
{
tbitem1_ff_002
:
{
caption
:
"新建"
,
tip
:
"新建"
,
},
tbitem2
:
{
caption
:
"-"
,
tip
:
""
,
},
tbitem4
:
{
caption
:
"Edit"
,
tip
:
"Edit {0}"
,
},
tbitem6
:
{
caption
:
"Copy"
,
tip
:
"Copy {0}"
,
},
tbitem7
:
{
caption
:
"-"
,
tip
:
""
,
},
tbitem8
:
{
caption
:
"Remove"
,
tip
:
"Remove {0}"
,
},
tbitem9
:
{
caption
:
"-"
,
tip
:
""
,
},
tbitem13
:
{
caption
:
"Export"
,
tip
:
"Export {0} Data To Excel"
,
},
tbitem10
:
{
caption
:
"-"
,
tip
:
""
,
},
tbitem19
:
{
caption
:
"Filter"
,
tip
:
"Filter"
,
},
},
v_008toolbar_toolbar
:
{
tbitem1_ff_002
:
{
caption
:
"新建"
,
tip
:
"新建"
,
},
tbitem2
:
{
caption
:
"-"
,
tip
:
""
,
},
tbitem4
:
{
caption
:
"Edit"
,
tip
:
"Edit {0}"
,
},
tbitem6
:
{
caption
:
"Copy"
,
tip
:
"Copy {0}"
,
},
tbitem7
:
{
caption
:
"-"
,
tip
:
""
,
},
tbitem8
:
{
caption
:
"Remove"
,
tip
:
"Remove {0}"
,
},
tbitem9
:
{
caption
:
"-"
,
tip
:
""
,
},
tbitem13
:
{
caption
:
"Export"
,
tip
:
"Export {0} Data To Excel"
,
},
tbitem10
:
{
caption
:
"-"
,
tip
:
""
,
},
tbitem19
:
{
caption
:
"Filter"
,
tip
:
"Filter"
,
},
},
};
\ No newline at end of file
app_PIM/src/locale/lanres/entities/hrarchives/hrarchives_zh_CN.ts
浏览文件 @
88df5b2e
...
...
@@ -32,6 +32,14 @@ export default {
caption
:
"档案信息"
,
title
:
"档案"
,
},
v_007
:
{
caption
:
"档案信息"
,
title
:
"档案"
,
},
v_009
:
{
caption
:
"档案信息"
,
title
:
"档案"
,
},
v_003
:
{
caption
:
"档案信息"
,
title
:
"档案信息"
,
...
...
@@ -48,10 +56,18 @@ export default {
caption
:
"档案信息"
,
title
:
"档案信息"
,
},
v_008
:
{
caption
:
"档案信息"
,
title
:
"档案"
,
},
gridview
:
{
caption
:
"档案信息"
,
title
:
"档案"
,
},
v_006
:
{
caption
:
"档案"
,
title
:
"档案"
,
},
v_004
:
{
caption
:
"档案信息"
,
title
:
"档案看板"
,
...
...
@@ -89,11 +105,9 @@ export default {
uiactions
:
{
},
},
i
f_001_form
:
{
e
f_001_form
:
{
details
:
{
group1
:
"档案信息"
,
grouppanel1
:
"借阅记录"
,
grouppanel2
:
"调档记录"
,
formpage1
:
"基本信息"
,
srfupdatedate
:
"更新时间"
,
srforikey
:
""
,
...
...
@@ -103,26 +117,24 @@ export default {
srfuf
:
""
,
srfdeid
:
""
,
srfsourcekey
:
""
,
hremployeename
:
"员工姓名"
,
archivescode
:
"档案编号"
,
hrorganizationname
:
"档案管理单位"
,
archivesplace
:
"档案保管地"
,
archivesroom
:
"档案室"
,
hremployeename
:
"员工姓名"
,
employeecode
:
"员工编号"
,
organizationname
:
"单位"
,
activeflag
:
"是否有效"
,
degree
:
"档案学历"
,
birthday
:
"档案出生日期"
,
startworktime
:
"档案参加工作时间"
,
politicaltime
:
"档案入党时间"
,
hremployeeid
:
"员工标识"
,
hrorganizationid
:
"档案管理单位ID"
,
hrarchivesid
:
"档案信息标识"
,
},
uiactions
:
{
},
},
e
f_001_form
:
{
i
f_001_form
:
{
details
:
{
group1
:
"档案信息"
,
grouppanel1
:
"借阅记录"
,
grouppanel2
:
"调档记录"
,
formpage1
:
"基本信息"
,
srfupdatedate
:
"更新时间"
,
srforikey
:
""
,
...
...
@@ -132,14 +144,18 @@ export default {
srfuf
:
""
,
srfdeid
:
""
,
srfsourcekey
:
""
,
hremployeename
:
"员工姓名"
,
archivescode
:
"档案编号"
,
hrorganizationname
:
"档案管理单位"
,
archivesplace
:
"档案保管地"
,
archivesroom
:
"档案室"
,
hremployeename
:
"员工姓名"
,
employeecode
:
"员工编号"
,
organizationname
:
"单位"
,
activeflag
:
"是否有效"
,
hremployeeid
:
"员工标识"
,
hrorganizationid
:
"档案管理单位ID"
,
degree
:
"档案学历"
,
birthday
:
"档案出生日期"
,
startworktime
:
"档案参加工作时间"
,
politicaltime
:
"档案入党时间"
,
hrarchivesid
:
"档案信息标识"
,
},
uiactions
:
{
...
...
@@ -324,4 +340,130 @@ export default {
tip
:
"关闭"
,
},
},
v_007toolbar_toolbar
:
{
tbitem1_ff_002
:
{
caption
:
"新建"
,
tip
:
"新建"
,
},
tbitem2
:
{
caption
:
"-"
,
tip
:
""
,
},
tbitem4
:
{
caption
:
"编辑"
,
tip
:
"编辑"
,
},
tbitem6
:
{
caption
:
"拷贝"
,
tip
:
"拷贝"
,
},
tbitem7
:
{
caption
:
"-"
,
tip
:
""
,
},
tbitem8
:
{
caption
:
"删除"
,
tip
:
"删除"
,
},
tbitem9
:
{
caption
:
"-"
,
tip
:
""
,
},
tbitem13
:
{
caption
:
"导出"
,
tip
:
"导出"
,
},
tbitem10
:
{
caption
:
"-"
,
tip
:
""
,
},
tbitem19
:
{
caption
:
"过滤"
,
tip
:
"过滤"
,
},
},
v_009toolbar_toolbar
:
{
tbitem1_ff_002
:
{
caption
:
"新建"
,
tip
:
"新建"
,
},
tbitem2
:
{
caption
:
"-"
,
tip
:
""
,
},
tbitem4
:
{
caption
:
"编辑"
,
tip
:
"编辑"
,
},
tbitem6
:
{
caption
:
"拷贝"
,
tip
:
"拷贝"
,
},
tbitem7
:
{
caption
:
"-"
,
tip
:
""
,
},
tbitem8
:
{
caption
:
"删除"
,
tip
:
"删除"
,
},
tbitem9
:
{
caption
:
"-"
,
tip
:
""
,
},
tbitem13
:
{
caption
:
"导出"
,
tip
:
"导出"
,
},
tbitem10
:
{
caption
:
"-"
,
tip
:
""
,
},
tbitem19
:
{
caption
:
"过滤"
,
tip
:
"过滤"
,
},
},
v_008toolbar_toolbar
:
{
tbitem1_ff_002
:
{
caption
:
"新建"
,
tip
:
"新建"
,
},
tbitem2
:
{
caption
:
"-"
,
tip
:
""
,
},
tbitem4
:
{
caption
:
"编辑"
,
tip
:
"编辑"
,
},
tbitem6
:
{
caption
:
"拷贝"
,
tip
:
"拷贝"
,
},
tbitem7
:
{
caption
:
"-"
,
tip
:
""
,
},
tbitem8
:
{
caption
:
"删除"
,
tip
:
"删除"
,
},
tbitem9
:
{
caption
:
"-"
,
tip
:
""
,
},
tbitem13
:
{
caption
:
"导出"
,
tip
:
"导出"
,
},
tbitem10
:
{
caption
:
"-"
,
tip
:
""
,
},
tbitem19
:
{
caption
:
"过滤"
,
tip
:
"过滤"
,
},
},
};
\ No newline at end of file
app_PIM/src/mock/viewconfig/viewconfig.ts
浏览文件 @
88df5b2e
...
...
@@ -207,6 +207,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname"
:
"HROMHierarchyGridView"
,
"viewtag"
:
"188f3997d02da7fc34bac190ccd439e6"
},
"hrarchivesv_007"
:
{
"title"
:
"档案"
,
"caption"
:
"档案信息"
,
"viewtype"
:
"DEGRIDVIEW"
,
"viewmodule"
:
"HumanResource"
,
"viewname"
:
"HRArchivesV_007"
,
"viewtag"
:
"1d3844e75211900a75e23efd0993ba25"
},
"hromhierarchycatmpickupview"
:
{
"title"
:
"结构层次类别数据多项选择视图"
,
"caption"
:
"结构层次类别"
,
...
...
@@ -295,6 +303,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname"
:
"HRDutyCertV_002"
,
"viewtag"
:
"3180604a9489c03131e6642e456cd5c0"
},
"hrarchivesv_009"
:
{
"title"
:
"档案"
,
"caption"
:
"档案信息"
,
"viewtype"
:
"DEGRIDVIEW"
,
"viewmodule"
:
"HumanResource"
,
"viewname"
:
"HRArchivesV_009"
,
"viewtag"
:
"32399525785c11b3d942279a4974420d"
},
"hrpostv_003"
:
{
"title"
:
"失效职位"
,
"caption"
:
"职位"
,
...
...
@@ -807,6 +823,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname"
:
"HRLegalV_001"
,
"viewtag"
:
"af1a0e288eecf89cd99ed798594e1753"
},
"hrarchivesv_008"
:
{
"title"
:
"档案"
,
"caption"
:
"档案信息"
,
"viewtype"
:
"DEGRIDVIEW"
,
"viewmodule"
:
"HumanResource"
,
"viewname"
:
"HRArchivesV_008"
,
"viewtag"
:
"b0527570befbf06448caf276ca882838"
},
"hrpostv_001"
:
{
"title"
:
"有效职位"
,
"caption"
:
"职位"
,
...
...
@@ -935,6 +959,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname"
:
"HRArchivesGridView"
,
"viewtag"
:
"c01c4604589a2c171c4f41f2ac11f4e2"
},
"hrarchivesv_006"
:
{
"title"
:
"档案"
,
"caption"
:
"档案"
,
"viewtype"
:
"DETABEXPVIEW"
,
"viewmodule"
:
"HumanResource"
,
"viewname"
:
"HRArchivesV_006"
,
"viewtag"
:
"c16477290fe18f68c65916e3cbee4a65"
},
"hrtransferapplypickupview"
:
{
"title"
:
"调动申请数据选择视图"
,
"caption"
:
"调动申请"
,
...
...
app_PIM/src/pages/human-resource/hrarchives-v-006/hrarchives-v-006-base.tsx
0 → 100644
浏览文件 @
88df5b2e
import
{
Subject
}
from
'rxjs'
;
import
{
TabExpViewBase
}
from
'@/studio-core'
;
import
HRArchivesService
from
'@/service/hrarchives/hrarchives-service'
;
import
HRArchivesAuthService
from
'@/authservice/hrarchives/hrarchives-auth-service'
;
import
TabExpViewEngine
from
'@engine/view/tab-exp-view-engine'
;
import
HRArchivesUIService
from
'@/uiservice/hrarchives/hrarchives-ui-service'
;
/**
* 档案视图基类
*
* @export
* @class HRArchivesV_006Base
* @extends {TabExpViewBase}
*/
export
class
HRArchivesV_006Base
extends
TabExpViewBase
{
/**
* 视图对应应用实体名称
*
* @protected
* @type {string}
* @memberof HRArchivesV_006Base
*/
protected
appDeName
:
string
=
'hrarchives'
;
/**
* 应用实体主键
*
* @protected
* @type {string}
* @memberof HRArchivesV_006Base
*/
protected
appDeKey
:
string
=
'hrarchivesid'
;
/**
* 应用实体主信息
*
* @protected
* @type {string}
* @memberof HRArchivesV_006Base
*/
protected
appDeMajor
:
string
=
'hrarchivesname'
;
/**
* 实体服务对象
*
* @type {HRArchivesService}
* @memberof HRArchivesV_006Base
*/
protected
appEntityService
:
HRArchivesService
=
new
HRArchivesService
;
/**
* 实体权限服务对象
*
* @type HRArchivesUIService
* @memberof HRArchivesV_006Base
*/
public
appUIService
:
HRArchivesUIService
=
new
HRArchivesUIService
(
this
.
$store
);
/**
* 计数器服务对象集合
*
* @protected
* @type {Array<*>}
* @memberof HRArchivesV_006Base
*/
protected
counterServiceArray
:
Array
<
any
>
=
[];
/**
* 视图模型数据
*
* @protected
* @type {*}
* @memberof HRArchivesV_006Base
*/
protected
model
:
any
=
{
srfCaption
:
'entities.hrarchives.views.v_006.caption'
,
srfTitle
:
'entities.hrarchives.views.v_006.title'
,
srfSubTitle
:
'entities.hrarchives.views.v_006.subtitle'
,
dataInfo
:
''
}
/**
* 容器模型
*
* @protected
* @type {*}
* @memberof HRArchivesV_006Base
*/
protected
containerModel
:
any
=
{
view_tabexppanel
:
{
name
:
'tabexppanel'
,
type
:
'TABEXPPANEL'
},
};
/**
* 视图唯一标识
*
* @protected
* @type {string}
* @memberof ViewBase
*/
protected
viewtag
:
string
=
'c16477290fe18f68c65916e3cbee4a65'
;
/**
* 视图引擎
*
* @public
* @type {Engine}
* @memberof HRArchivesV_006Base
*/
public
engine
:
TabExpViewEngine
=
new
TabExpViewEngine
();
/**
* 引擎初始化
*
* @public
* @memberof HRArchivesV_006Base
*/
public
engineInit
():
void
{
this
.
engine
.
init
({
view
:
this
,
keyPSDEField
:
'hrarchives'
,
majorPSDEField
:
'hrarchivesname'
,
isLoadDefault
:
true
,
});
}
}
\ No newline at end of file
app_PIM/src/pages/human-resource/hrarchives-v-006/hrarchives-v-006.html
0 → 100644
浏览文件 @
88df5b2e
<studio-view-style2
viewName=
"hrarchivesv_006"
viewTitle=
"档案"
class=
'detabexpview hrarchives-v-006'
>
<view
_tabexppanel
:viewState=
"viewState"
:viewparams=
"viewparams"
:context=
"context"
name=
"tabexppanel"
ref=
'tabexppanel'
@
closeview=
"closeView($event)"
>
</view
_tabexppanel
>
</studio-view-style2>
\ No newline at end of file
app_PIM/src/pages/human-resource/hrarchives-v-006/hrarchives-v-006.vue
0 → 100644
浏览文件 @
88df5b2e
<
template
src=
"./hrarchives-v-006.html"
/>
<script
lang=
'tsx'
>
import
{ Component } from 'vue-property-decorator';
import { VueLifeCycleProcessing } from '@/studio-core';
import { HRArchivesV_006Base } from './hrarchives-v-006-base';
import view_tabexppanel from '@widgets/hrarchives/v-006tabexppanel-tabexppanel/v-006tabexppanel-tabexppanel.vue';
/**
* 档案视图
*
* @export
* @class HRArchivesV_006
* @extends {HRArchivesV_006Base}
*/
@Component({
components: {
view_tabexppanel,
}
})
@VueLifeCycleProcessing()
export default class HRArchivesV_006 extends HRArchivesV_006Base { }
</script>
app_PIM/src/pages/human-resource/hrarchives-v-007/hrarchives-v-007-base.tsx
0 → 100644
浏览文件 @
88df5b2e
import
{
Subject
}
from
'rxjs'
;
import
{
GridViewBase
}
from
'@/studio-core'
;
import
HRArchivesService
from
'@/service/hrarchives/hrarchives-service'
;
import
HRArchivesAuthService
from
'@/authservice/hrarchives/hrarchives-auth-service'
;
import
GridViewEngine
from
'@engine/view/grid-view-engine'
;
import
HRArchivesUIService
from
'@/uiservice/hrarchives/hrarchives-ui-service'
;
import
CodeListService
from
"@service/app/codelist-service"
;
/**
* 档案视图基类
*
* @export
* @class HRArchivesV_007Base
* @extends {GridViewBase}
*/
export
class
HRArchivesV_007Base
extends
GridViewBase
{
/**
* 视图对应应用实体名称
*
* @protected
* @type {string}
* @memberof HRArchivesV_007Base
*/
protected
appDeName
:
string
=
'hrarchives'
;
/**
* 应用实体主键
*
* @protected
* @type {string}
* @memberof HRArchivesV_007Base
*/
protected
appDeKey
:
string
=
'hrarchivesid'
;
/**
* 应用实体主信息
*
* @protected
* @type {string}
* @memberof HRArchivesV_007Base
*/
protected
appDeMajor
:
string
=
'hrarchivesname'
;
/**
* 实体服务对象
*
* @type {HRArchivesService}
* @memberof HRArchivesV_007Base
*/
protected
appEntityService
:
HRArchivesService
=
new
HRArchivesService
;
/**
* 实体权限服务对象
*
* @type HRArchivesUIService
* @memberof HRArchivesV_007Base
*/
public
appUIService
:
HRArchivesUIService
=
new
HRArchivesUIService
(
this
.
$store
);
/**
* 计数器服务对象集合
*
* @protected
* @type {Array<*>}
* @memberof HRArchivesV_007Base
*/
protected
counterServiceArray
:
Array
<
any
>
=
[];
/**
* 视图模型数据
*
* @protected
* @type {*}
* @memberof HRArchivesV_007Base
*/
protected
model
:
any
=
{
srfCaption
:
'entities.hrarchives.views.v_007.caption'
,
srfTitle
:
'entities.hrarchives.views.v_007.title'
,
srfSubTitle
:
'entities.hrarchives.views.v_007.subtitle'
,
dataInfo
:
''
}
/**
* 容器模型
*
* @protected
* @type {*}
* @memberof HRArchivesV_007Base
*/
protected
containerModel
:
any
=
{
view_toolbar
:
{
name
:
'toolbar'
,
type
:
'TOOLBAR'
},
view_grid
:
{
name
:
'grid'
,
type
:
'GRID'
},
view_searchform
:
{
name
:
'searchform'
,
type
:
'SEARCHFORM'
},
};
/**
* 工具栏模型
*
* @type {*}
* @memberof HRArchivesV_007
*/
public
toolBarModels
:
any
=
{
tbitem1_ff_002
:
{
name
:
'tbitem1_ff_002'
,
caption
:
'新建'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'新建'
,
iconcls
:
'fa fa-user-plus'
,
icon
:
''
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
noprivdisplaymode
:
2
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'FF_002'
,
target
:
'NONE'
,
class
:
''
}
},
tbitem2
:
{
name
:
'tbitem2'
,
type
:
'SEPERATOR'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
}
},
tbitem4
:
{
name
:
'tbitem4'
,
caption
:
'编辑'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'编辑'
,
iconcls
:
'fa fa-edit'
,
icon
:
''
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
noprivdisplaymode
:
2
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'Edit'
,
target
:
'SINGLEKEY'
,
class
:
''
}
},
tbitem6
:
{
name
:
'tbitem6'
,
caption
:
'拷贝'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'拷贝'
,
iconcls
:
'fa fa-copy'
,
icon
:
''
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
noprivdisplaymode
:
2
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'Copy'
,
target
:
'SINGLEKEY'
,
class
:
''
}
},
tbitem7
:
{
name
:
'tbitem7'
,
type
:
'SEPERATOR'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
}
},
tbitem8
:
{
name
:
'tbitem8'
,
caption
:
'删除'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'删除'
,
iconcls
:
'fa fa-remove'
,
icon
:
''
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
noprivdisplaymode
:
2
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'Remove'
,
target
:
'MULTIKEY'
,
class
:
''
}
},
tbitem9
:
{
name
:
'tbitem9'
,
type
:
'SEPERATOR'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
}
},
tbitem13
:
{
name
:
'tbitem13'
,
caption
:
'导出'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'导出'
,
iconcls
:
'fa fa-file-excel-o'
,
icon
:
''
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
noprivdisplaymode
:
2
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'ExportExcel'
,
target
:
''
},
MaxRowCount
:
1000
,
class
:
''
},
tbitem10
:
{
name
:
'tbitem10'
,
type
:
'SEPERATOR'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
}
},
tbitem19
:
{
name
:
'tbitem19'
,
caption
:
'过滤'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'过滤'
,
iconcls
:
'fa fa-filter'
,
icon
:
''
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
noprivdisplaymode
:
2
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'ToggleFilter'
,
target
:
''
,
class
:
''
}
},
};
/**
* 视图唯一标识
*
* @protected
* @type {string}
* @memberof ViewBase
*/
protected
viewtag
:
string
=
'1d3844e75211900a75e23efd0993ba25'
;
/**
* 视图引擎
*
* @public
* @type {Engine}
* @memberof HRArchivesV_007Base
*/
public
engine
:
GridViewEngine
=
new
GridViewEngine
();
/**
* 引擎初始化
*
* @public
* @memberof HRArchivesV_007Base
*/
public
engineInit
():
void
{
this
.
engine
.
init
({
view
:
this
,
opendata
:
(
args
:
any
[],
fullargs
?:
any
[],
params
?:
any
,
$event
?:
any
,
xData
?:
any
)
=>
{
this
.
opendata
(
args
,
fullargs
,
params
,
$event
,
xData
);
},
newdata
:
(
args
:
any
[],
fullargs
?:
any
[],
params
?:
any
,
$event
?:
any
,
xData
?:
any
)
=>
{
this
.
newdata
(
args
,
fullargs
,
params
,
$event
,
xData
);
},
grid
:
this
.
$refs
.
grid
,
searchform
:
this
.
$refs
.
searchform
,
keyPSDEField
:
'hrarchives'
,
majorPSDEField
:
'hrarchivesname'
,
isLoadDefault
:
true
,
});
}
/**
* toolbar 部件 click 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof HRArchivesV_007Base
*/
public
toolbar_click
(
$event
:
any
,
$event2
?:
any
):
void
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem1_ff_002'
))
{
this
.
toolbar_tbitem1_ff_002_click
(
null
,
''
,
$event2
);
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem4'
))
{
this
.
toolbar_tbitem4_click
(
null
,
''
,
$event2
);
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem6'
))
{
this
.
toolbar_tbitem6_click
(
null
,
''
,
$event2
);
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem8'
))
{
this
.
toolbar_tbitem8_click
(
null
,
''
,
$event2
);
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem13'
))
{
this
.
toolbar_tbitem13_click
(
null
,
''
,
$event2
);
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem11'
))
{
this
.
toolbar_tbitem11_click
(
null
,
''
,
$event2
);
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem19'
))
{
this
.
toolbar_tbitem19_click
(
null
,
''
,
$event2
);
}
}
/**
* grid 部件 selectionchange 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof HRArchivesV_007Base
*/
public
grid_selectionchange
(
$event
:
any
,
$event2
?:
any
):
void
{
this
.
engine
.
onCtrlEvent
(
'grid'
,
'selectionchange'
,
$event
);
}
/**
* grid 部件 beforeload 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof HRArchivesV_007Base
*/
public
grid_beforeload
(
$event
:
any
,
$event2
?:
any
):
void
{
this
.
engine
.
onCtrlEvent
(
'grid'
,
'beforeload'
,
$event
);
}
/**
* grid 部件 rowdblclick 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof HRArchivesV_007Base
*/
public
grid_rowdblclick
(
$event
:
any
,
$event2
?:
any
):
void
{
this
.
engine
.
onCtrlEvent
(
'grid'
,
'rowdblclick'
,
$event
);
}
/**
* grid 部件 remove 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof HRArchivesV_007Base
*/
public
grid_remove
(
$event
:
any
,
$event2
?:
any
):
void
{
this
.
engine
.
onCtrlEvent
(
'grid'
,
'remove'
,
$event
);
}
/**
* grid 部件 load 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof HRArchivesV_007Base
*/
public
grid_load
(
$event
:
any
,
$event2
?:
any
):
void
{
this
.
engine
.
onCtrlEvent
(
'grid'
,
'load'
,
$event
);
}
/**
* searchform 部件 save 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof HRArchivesV_007Base
*/
public
searchform_save
(
$event
:
any
,
$event2
?:
any
):
void
{
this
.
engine
.
onCtrlEvent
(
'searchform'
,
'save'
,
$event
);
}
/**
* searchform 部件 search 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof HRArchivesV_007Base
*/
public
searchform_search
(
$event
:
any
,
$event2
?:
any
):
void
{
this
.
engine
.
onCtrlEvent
(
'searchform'
,
'search'
,
$event
);
}
/**
* searchform 部件 load 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof HRArchivesV_007Base
*/
public
searchform_load
(
$event
:
any
,
$event2
?:
any
):
void
{
this
.
engine
.
onCtrlEvent
(
'searchform'
,
'load'
,
$event
);
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public
toolbar_tbitem1_ff_002_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
// 参数
// 取数
let
datas
:
any
[]
=
[];
let
xData
:
any
=
null
;
// _this 指向容器对象
const
_this
:
any
=
this
;
let
paramJO
:
any
=
{};
let
contextJO
:
any
=
{};
xData
=
this
.
$refs
.
grid
;
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
const
curUIService
:
HRArchivesUIService
=
new
HRArchivesUIService
();
curUIService
.
HRArchives_FF_002
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"HRArchives"
);
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public
toolbar_tbitem4_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
// 参数
// 取数
let
datas
:
any
[]
=
[];
let
xData
:
any
=
null
;
// _this 指向容器对象
const
_this
:
any
=
this
;
let
paramJO
:
any
=
{};
let
contextJO
:
any
=
{};
xData
=
this
.
$refs
.
grid
;
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
this
.
Edit
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"HRArchives"
);
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public
toolbar_tbitem6_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
// 参数
// 取数
let
datas
:
any
[]
=
[];
let
xData
:
any
=
null
;
// _this 指向容器对象
const
_this
:
any
=
this
;
let
paramJO
:
any
=
{};
let
contextJO
:
any
=
{};
xData
=
this
.
$refs
.
grid
;
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
this
.
Copy
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"HRArchives"
);
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public
toolbar_tbitem8_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
// 参数
// 取数
let
datas
:
any
[]
=
[];
let
xData
:
any
=
null
;
// _this 指向容器对象
const
_this
:
any
=
this
;
let
paramJO
:
any
=
{};
let
contextJO
:
any
=
{};
xData
=
this
.
$refs
.
grid
;
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
this
.
Remove
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"HRArchives"
);
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public
toolbar_tbitem13_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
// 参数
// 取数
let
datas
:
any
[]
=
[];
let
xData
:
any
=
null
;
// _this 指向容器对象
const
_this
:
any
=
this
;
let
paramJO
:
any
=
{};
let
contextJO
:
any
=
{};
xData
=
this
.
$refs
.
grid
;
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
this
.
ExportExcel
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"HRArchives"
);
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public
toolbar_tbitem11_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
// 参数
// 取数
let
datas
:
any
[]
=
[];
let
xData
:
any
=
null
;
// _this 指向容器对象
const
_this
:
any
=
this
;
let
paramJO
:
any
=
{};
let
contextJO
:
any
=
{};
xData
=
this
.
$refs
.
grid
;
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
this
.
Print
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"HRArchives"
);
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public
toolbar_tbitem19_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
// 参数
// 取数
let
datas
:
any
[]
=
[];
let
xData
:
any
=
null
;
// _this 指向容器对象
const
_this
:
any
=
this
;
let
paramJO
:
any
=
{};
let
contextJO
:
any
=
{};
xData
=
this
.
$refs
.
grid
;
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
this
.
ToggleFilter
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"HRArchives"
);
}
/**
* 打开新建数据视图
*
* @param {any[]} args
* @param {*} [params]
* @param {*} [fullargs]
* @param {*} [$event]
* @param {*} [xData]
* @memberof HRArchivesV_007
*/
public
newdata
(
args
:
any
[],
fullargs
?:
any
[],
params
?:
any
,
$event
?:
any
,
xData
?:
any
)
{
let
localContext
:
any
=
null
;
let
localViewParam
:
any
=
null
;
const
data
:
any
=
{};
if
(
args
[
0
].
srfsourcekey
){
data
.
srfsourcekey
=
args
[
0
].
srfsourcekey
;
}
let
tempContext
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
context
));
delete
tempContext
.
hrarchives
;
if
(
args
.
length
>
0
){
Object
.
assign
(
tempContext
,
args
[
0
]);
}
let
deResParameters
:
any
[]
=
[];
if
(
tempContext
.
hremployee
&&
true
){
deResParameters
=
[
{
pathName
:
'hremployees'
,
parameterName
:
'hremployee'
},
]
}
const
parameters
:
any
[]
=
[
{
pathName
:
'hrarchives'
,
parameterName
:
'hrarchives'
},
];
const
_this
:
any
=
this
;
const
openDrawer
=
(
view
:
any
,
data
:
any
)
=>
{
let
container
:
Subject
<
any
>
=
this
.
$appdrawer
.
openDrawer
(
view
,
tempContext
,
data
);
container
.
subscribe
((
result
:
any
)
=>
{
if
(
!
result
||
!
Object
.
is
(
result
.
ret
,
'OK'
))
{
return
;
}
if
(
!
xData
||
!
(
xData
.
refresh
instanceof
Function
))
{
return
;
}
xData
.
refresh
(
result
.
datas
);
});
}
const
view
:
any
=
{
viewname
:
'hrarchives-v-002'
,
height
:
0
,
width
:
600
,
title
:
this
.
$t
(
'entities.hrarchives.views.v_002.title'
),
placement
:
'DRAWER_RIGHT'
,
};
openDrawer
(
view
,
data
);
}
/**
* 打开编辑数据视图
*
* @param {any[]} args
* @param {*} [params]
* @param {*} [fullargs]
* @param {*} [$event]
* @param {*} [xData]
* @memberof HRArchivesV_007
*/
public
opendata
(
args
:
any
[],
fullargs
?:
any
[],
params
?:
any
,
$event
?:
any
,
xData
?:
any
)
{
const
localContext
:
any
=
null
;
const
localViewParam
:
any
=
null
;
const
data
:
any
=
{};
let
tempContext
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
context
));
if
(
args
.
length
>
0
){
Object
.
assign
(
tempContext
,
args
[
0
]);
}
let
deResParameters
:
any
[]
=
[];
if
(
tempContext
.
hremployee
&&
true
){
deResParameters
=
[
{
pathName
:
'hremployees'
,
parameterName
:
'hremployee'
},
]
}
const
parameters
:
any
[]
=
[
{
pathName
:
'hrarchives'
,
parameterName
:
'hrarchives'
},
{
pathName
:
'v_005'
,
parameterName
:
'v_005'
},
];
const
_this
:
any
=
this
;
const
openIndexViewTab
=
(
data
:
any
)
=>
{
const
routePath
=
this
.
$viewTool
.
buildUpRoutePath
(
this
.
$route
,
tempContext
,
deResParameters
,
parameters
,
args
,
data
);
this
.
$router
.
push
(
routePath
);
}
openIndexViewTab
(
data
);
}
/**
* 编辑
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof HRArchivesV_007Base
*/
public
Edit
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
if
(
args
.
length
===
0
)
{
return
;
}
const
_this
:
any
=
this
;
if
(
_this
.
opendata
&&
_this
.
opendata
instanceof
Function
)
{
const
data
:
any
=
{
};
if
(
args
.
length
>
0
)
{
Object
.
assign
(
data
,
{
hrarchives
:
args
[
0
].
hrarchives
})
}
_this
.
opendata
([{
...
data
}],
params
,
$event
,
xData
);
}
else
{
_this
.
$Notice
.
error
({
title
:
'错误'
,
desc
:
'opendata 视图处理逻辑不存在,请添加!'
});
}
}
/**
* 拷贝
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof HRArchivesV_007Base
*/
public
Copy
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
if
(
args
.
length
===
0
)
{
return
;
}
const
_this
:
any
=
this
;
if
(
_this
.
opendata
&&
_this
.
opendata
instanceof
Function
)
{
const
data
:
any
=
{
};
if
(
args
.
length
>
0
)
{
Object
.
assign
(
data
,
{
hrarchives
:
args
[
0
].
hrarchives
});
}
if
(
!
params
)
params
=
{};
Object
.
assign
(
params
,{
copymode
:
true
});
_this
.
opendata
([{
...
data
}],
params
,
$event
,
xData
);
}
else
{
Object
.
assign
(
this
.
viewparams
,{
copymode
:
true
});
}
}
/**
* 删除
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof HRArchivesV_007Base
*/
public
Remove
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
const
_this
:
any
=
this
;
if
(
!
xData
||
!
(
xData
.
remove
instanceof
Function
))
{
return
;
}
xData
.
remove
(
args
);
}
/**
* 导出
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof HRArchivesV_007Base
*/
public
ExportExcel
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
const
_this
:
any
=
this
;
if
(
!
xData
||
!
(
xData
.
exportExcel
instanceof
Function
)
||
!
$event
)
{
return
;
}
xData
.
exportExcel
(
$event
.
exportparms
);
}
/**
* 打印
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof HRArchivesV_007Base
*/
public
Print
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
let
_this
:
any
=
this
;
if
(
!
xData
||
!
(
xData
.
print
instanceof
Function
)
||
!
$event
)
{
return
;
}
xData
.
print
();
}
/**
* 过滤
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof HRArchivesV_007Base
*/
public
ToggleFilter
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
const
_this
:
any
=
this
;
if
(
_this
.
hasOwnProperty
(
'isExpandSearchForm'
))
{
_this
.
isExpandSearchForm
=
!
_this
.
isExpandSearchForm
;
}
}
}
\ No newline at end of file
app_PIM/src/pages/human-resource/hrarchives-v-007/hrarchives-v-007.html
0 → 100644
浏览文件 @
88df5b2e
<studio-view-style2
viewName=
"hrarchivesv_007"
viewTitle=
"档案"
class=
'degridview hrarchives-v-007'
>
<i-input
slot=
"quickSearch"
v-show=
"!isExpandSearchForm"
v-model=
"query"
placeholder=
"档案信息名称"
search
@
on-search=
"onSearch($event)"
/>
<template
slot=
"toolbar"
>
<view-toolbar
mode=
"STYLE2"
:model=
"toolBarModels"
@
item-click=
"toolbar_click.apply(_self, arguments)"
/>
</template>
<template
slot=
"searchForm"
>
<view
_searchform
:viewState=
"viewState"
:viewparams=
"viewparams"
:context=
"context"
:showBusyIndicator=
"true"
v-show=
"isExpandSearchForm"
loaddraftAction=
"FilterGetDraft"
loadAction=
"FilterGet"
name=
"searchform"
ref=
'searchform'
@
save=
"searchform_save($event)"
@
search=
"searchform_search($event)"
@
load=
"searchform_load($event)"
@
closeview=
"closeView($event)"
>
</view
_searchform
>
</template>
<view
_grid
:viewState=
"viewState"
:viewparams=
"viewparams"
:context=
"context"
:isSingleSelect=
"isGridSingleSelect"
:showBusyIndicator=
"true"
:isOpenEdit=
"false"
:gridRowActiveMode=
"gridRowActiveMode"
@
save=
"onSave.apply(_self, arguments)"
updateAction=
""
removeAction=
"Remove"
loaddraftAction=
""
loadAction=
""
createAction=
""
fetchAction=
"FetchNonEmployee"
:newdata=
"newdata.bind(_self)"
:opendata=
"opendata.bind(_self)"
name=
"grid"
ref=
'grid'
@
selectionchange=
"grid_selectionchange($event)"
@
beforeload=
"grid_beforeload($event)"
@
rowdblclick=
"grid_rowdblclick($event)"
@
remove=
"grid_remove($event)"
@
load=
"grid_load($event)"
@
closeview=
"closeView($event)"
>
</view
_grid
>
</studio-view-style2>
\ No newline at end of file
app_PIM/src/pages/human-resource/hrarchives-v-007/hrarchives-v-007.vue
0 → 100644
浏览文件 @
88df5b2e
<
template
src=
"./hrarchives-v-007.html"
/>
<script
lang=
'tsx'
>
import
{ Component } from 'vue-property-decorator';
import { VueLifeCycleProcessing } from '@/studio-core';
import { HRArchivesV_007Base } from './hrarchives-v-007-base';
import view_grid from '@widgets/hrarchives/main-grid/main-grid.vue';
import view_searchform from '@widgets/hrarchives/default-searchform/default-searchform.vue';
/**
* 档案视图
*
* @export
* @class HRArchivesV_007
* @extends {HRArchivesV_007Base}
*/
@Component({
components: {
view_grid,
view_searchform,
}
})
@VueLifeCycleProcessing()
export default class HRArchivesV_007 extends HRArchivesV_007Base { }
</script>
app_PIM/src/pages/human-resource/hrarchives-v-008/hrarchives-v-008-base.tsx
0 → 100644
浏览文件 @
88df5b2e
import
{
Subject
}
from
'rxjs'
;
import
{
GridViewBase
}
from
'@/studio-core'
;
import
HRArchivesService
from
'@/service/hrarchives/hrarchives-service'
;
import
HRArchivesAuthService
from
'@/authservice/hrarchives/hrarchives-auth-service'
;
import
GridViewEngine
from
'@engine/view/grid-view-engine'
;
import
HRArchivesUIService
from
'@/uiservice/hrarchives/hrarchives-ui-service'
;
import
CodeListService
from
"@service/app/codelist-service"
;
/**
* 档案视图基类
*
* @export
* @class HRArchivesV_008Base
* @extends {GridViewBase}
*/
export
class
HRArchivesV_008Base
extends
GridViewBase
{
/**
* 视图对应应用实体名称
*
* @protected
* @type {string}
* @memberof HRArchivesV_008Base
*/
protected
appDeName
:
string
=
'hrarchives'
;
/**
* 应用实体主键
*
* @protected
* @type {string}
* @memberof HRArchivesV_008Base
*/
protected
appDeKey
:
string
=
'hrarchivesid'
;
/**
* 应用实体主信息
*
* @protected
* @type {string}
* @memberof HRArchivesV_008Base
*/
protected
appDeMajor
:
string
=
'hrarchivesname'
;
/**
* 实体服务对象
*
* @type {HRArchivesService}
* @memberof HRArchivesV_008Base
*/
protected
appEntityService
:
HRArchivesService
=
new
HRArchivesService
;
/**
* 实体权限服务对象
*
* @type HRArchivesUIService
* @memberof HRArchivesV_008Base
*/
public
appUIService
:
HRArchivesUIService
=
new
HRArchivesUIService
(
this
.
$store
);
/**
* 计数器服务对象集合
*
* @protected
* @type {Array<*>}
* @memberof HRArchivesV_008Base
*/
protected
counterServiceArray
:
Array
<
any
>
=
[];
/**
* 视图模型数据
*
* @protected
* @type {*}
* @memberof HRArchivesV_008Base
*/
protected
model
:
any
=
{
srfCaption
:
'entities.hrarchives.views.v_008.caption'
,
srfTitle
:
'entities.hrarchives.views.v_008.title'
,
srfSubTitle
:
'entities.hrarchives.views.v_008.subtitle'
,
dataInfo
:
''
}
/**
* 容器模型
*
* @protected
* @type {*}
* @memberof HRArchivesV_008Base
*/
protected
containerModel
:
any
=
{
view_toolbar
:
{
name
:
'toolbar'
,
type
:
'TOOLBAR'
},
view_grid
:
{
name
:
'grid'
,
type
:
'GRID'
},
view_searchform
:
{
name
:
'searchform'
,
type
:
'SEARCHFORM'
},
};
/**
* 工具栏模型
*
* @type {*}
* @memberof HRArchivesV_008
*/
public
toolBarModels
:
any
=
{
tbitem1_ff_002
:
{
name
:
'tbitem1_ff_002'
,
caption
:
'新建'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'新建'
,
iconcls
:
'fa fa-user-plus'
,
icon
:
''
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
noprivdisplaymode
:
2
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'FF_002'
,
target
:
'NONE'
,
class
:
''
}
},
tbitem2
:
{
name
:
'tbitem2'
,
type
:
'SEPERATOR'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
}
},
tbitem4
:
{
name
:
'tbitem4'
,
caption
:
'编辑'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'编辑'
,
iconcls
:
'fa fa-edit'
,
icon
:
''
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
noprivdisplaymode
:
2
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'Edit'
,
target
:
'SINGLEKEY'
,
class
:
''
}
},
tbitem6
:
{
name
:
'tbitem6'
,
caption
:
'拷贝'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'拷贝'
,
iconcls
:
'fa fa-copy'
,
icon
:
''
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
noprivdisplaymode
:
2
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'Copy'
,
target
:
'SINGLEKEY'
,
class
:
''
}
},
tbitem7
:
{
name
:
'tbitem7'
,
type
:
'SEPERATOR'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
}
},
tbitem8
:
{
name
:
'tbitem8'
,
caption
:
'删除'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'删除'
,
iconcls
:
'fa fa-remove'
,
icon
:
''
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
noprivdisplaymode
:
2
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'Remove'
,
target
:
'MULTIKEY'
,
class
:
''
}
},
tbitem9
:
{
name
:
'tbitem9'
,
type
:
'SEPERATOR'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
}
},
tbitem13
:
{
name
:
'tbitem13'
,
caption
:
'导出'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'导出'
,
iconcls
:
'fa fa-file-excel-o'
,
icon
:
''
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
noprivdisplaymode
:
2
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'ExportExcel'
,
target
:
''
},
MaxRowCount
:
1000
,
class
:
''
},
tbitem10
:
{
name
:
'tbitem10'
,
type
:
'SEPERATOR'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
}
},
tbitem19
:
{
name
:
'tbitem19'
,
caption
:
'过滤'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'过滤'
,
iconcls
:
'fa fa-filter'
,
icon
:
''
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
noprivdisplaymode
:
2
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'ToggleFilter'
,
target
:
''
,
class
:
''
}
},
};
/**
* 视图唯一标识
*
* @protected
* @type {string}
* @memberof ViewBase
*/
protected
viewtag
:
string
=
'b0527570befbf06448caf276ca882838'
;
/**
* 视图引擎
*
* @public
* @type {Engine}
* @memberof HRArchivesV_008Base
*/
public
engine
:
GridViewEngine
=
new
GridViewEngine
();
/**
* 引擎初始化
*
* @public
* @memberof HRArchivesV_008Base
*/
public
engineInit
():
void
{
this
.
engine
.
init
({
view
:
this
,
opendata
:
(
args
:
any
[],
fullargs
?:
any
[],
params
?:
any
,
$event
?:
any
,
xData
?:
any
)
=>
{
this
.
opendata
(
args
,
fullargs
,
params
,
$event
,
xData
);
},
newdata
:
(
args
:
any
[],
fullargs
?:
any
[],
params
?:
any
,
$event
?:
any
,
xData
?:
any
)
=>
{
this
.
newdata
(
args
,
fullargs
,
params
,
$event
,
xData
);
},
grid
:
this
.
$refs
.
grid
,
searchform
:
this
.
$refs
.
searchform
,
keyPSDEField
:
'hrarchives'
,
majorPSDEField
:
'hrarchivesname'
,
isLoadDefault
:
true
,
});
}
/**
* toolbar 部件 click 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof HRArchivesV_008Base
*/
public
toolbar_click
(
$event
:
any
,
$event2
?:
any
):
void
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem1_ff_002'
))
{
this
.
toolbar_tbitem1_ff_002_click
(
null
,
''
,
$event2
);
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem4'
))
{
this
.
toolbar_tbitem4_click
(
null
,
''
,
$event2
);
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem6'
))
{
this
.
toolbar_tbitem6_click
(
null
,
''
,
$event2
);
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem8'
))
{
this
.
toolbar_tbitem8_click
(
null
,
''
,
$event2
);
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem13'
))
{
this
.
toolbar_tbitem13_click
(
null
,
''
,
$event2
);
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem11'
))
{
this
.
toolbar_tbitem11_click
(
null
,
''
,
$event2
);
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem19'
))
{
this
.
toolbar_tbitem19_click
(
null
,
''
,
$event2
);
}
}
/**
* grid 部件 selectionchange 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof HRArchivesV_008Base
*/
public
grid_selectionchange
(
$event
:
any
,
$event2
?:
any
):
void
{
this
.
engine
.
onCtrlEvent
(
'grid'
,
'selectionchange'
,
$event
);
}
/**
* grid 部件 beforeload 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof HRArchivesV_008Base
*/
public
grid_beforeload
(
$event
:
any
,
$event2
?:
any
):
void
{
this
.
engine
.
onCtrlEvent
(
'grid'
,
'beforeload'
,
$event
);
}
/**
* grid 部件 rowdblclick 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof HRArchivesV_008Base
*/
public
grid_rowdblclick
(
$event
:
any
,
$event2
?:
any
):
void
{
this
.
engine
.
onCtrlEvent
(
'grid'
,
'rowdblclick'
,
$event
);
}
/**
* grid 部件 remove 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof HRArchivesV_008Base
*/
public
grid_remove
(
$event
:
any
,
$event2
?:
any
):
void
{
this
.
engine
.
onCtrlEvent
(
'grid'
,
'remove'
,
$event
);
}
/**
* grid 部件 load 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof HRArchivesV_008Base
*/
public
grid_load
(
$event
:
any
,
$event2
?:
any
):
void
{
this
.
engine
.
onCtrlEvent
(
'grid'
,
'load'
,
$event
);
}
/**
* searchform 部件 save 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof HRArchivesV_008Base
*/
public
searchform_save
(
$event
:
any
,
$event2
?:
any
):
void
{
this
.
engine
.
onCtrlEvent
(
'searchform'
,
'save'
,
$event
);
}
/**
* searchform 部件 search 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof HRArchivesV_008Base
*/
public
searchform_search
(
$event
:
any
,
$event2
?:
any
):
void
{
this
.
engine
.
onCtrlEvent
(
'searchform'
,
'search'
,
$event
);
}
/**
* searchform 部件 load 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof HRArchivesV_008Base
*/
public
searchform_load
(
$event
:
any
,
$event2
?:
any
):
void
{
this
.
engine
.
onCtrlEvent
(
'searchform'
,
'load'
,
$event
);
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public
toolbar_tbitem1_ff_002_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
// 参数
// 取数
let
datas
:
any
[]
=
[];
let
xData
:
any
=
null
;
// _this 指向容器对象
const
_this
:
any
=
this
;
let
paramJO
:
any
=
{};
let
contextJO
:
any
=
{};
xData
=
this
.
$refs
.
grid
;
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
const
curUIService
:
HRArchivesUIService
=
new
HRArchivesUIService
();
curUIService
.
HRArchives_FF_002
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"HRArchives"
);
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public
toolbar_tbitem4_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
// 参数
// 取数
let
datas
:
any
[]
=
[];
let
xData
:
any
=
null
;
// _this 指向容器对象
const
_this
:
any
=
this
;
let
paramJO
:
any
=
{};
let
contextJO
:
any
=
{};
xData
=
this
.
$refs
.
grid
;
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
this
.
Edit
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"HRArchives"
);
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public
toolbar_tbitem6_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
// 参数
// 取数
let
datas
:
any
[]
=
[];
let
xData
:
any
=
null
;
// _this 指向容器对象
const
_this
:
any
=
this
;
let
paramJO
:
any
=
{};
let
contextJO
:
any
=
{};
xData
=
this
.
$refs
.
grid
;
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
this
.
Copy
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"HRArchives"
);
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public
toolbar_tbitem8_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
// 参数
// 取数
let
datas
:
any
[]
=
[];
let
xData
:
any
=
null
;
// _this 指向容器对象
const
_this
:
any
=
this
;
let
paramJO
:
any
=
{};
let
contextJO
:
any
=
{};
xData
=
this
.
$refs
.
grid
;
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
this
.
Remove
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"HRArchives"
);
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public
toolbar_tbitem13_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
// 参数
// 取数
let
datas
:
any
[]
=
[];
let
xData
:
any
=
null
;
// _this 指向容器对象
const
_this
:
any
=
this
;
let
paramJO
:
any
=
{};
let
contextJO
:
any
=
{};
xData
=
this
.
$refs
.
grid
;
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
this
.
ExportExcel
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"HRArchives"
);
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public
toolbar_tbitem11_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
// 参数
// 取数
let
datas
:
any
[]
=
[];
let
xData
:
any
=
null
;
// _this 指向容器对象
const
_this
:
any
=
this
;
let
paramJO
:
any
=
{};
let
contextJO
:
any
=
{};
xData
=
this
.
$refs
.
grid
;
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
this
.
Print
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"HRArchives"
);
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public
toolbar_tbitem19_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
// 参数
// 取数
let
datas
:
any
[]
=
[];
let
xData
:
any
=
null
;
// _this 指向容器对象
const
_this
:
any
=
this
;
let
paramJO
:
any
=
{};
let
contextJO
:
any
=
{};
xData
=
this
.
$refs
.
grid
;
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
this
.
ToggleFilter
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"HRArchives"
);
}
/**
* 打开新建数据视图
*
* @param {any[]} args
* @param {*} [params]
* @param {*} [fullargs]
* @param {*} [$event]
* @param {*} [xData]
* @memberof HRArchivesV_008
*/
public
newdata
(
args
:
any
[],
fullargs
?:
any
[],
params
?:
any
,
$event
?:
any
,
xData
?:
any
)
{
let
localContext
:
any
=
null
;
let
localViewParam
:
any
=
null
;
const
data
:
any
=
{};
if
(
args
[
0
].
srfsourcekey
){
data
.
srfsourcekey
=
args
[
0
].
srfsourcekey
;
}
let
tempContext
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
context
));
delete
tempContext
.
hrarchives
;
if
(
args
.
length
>
0
){
Object
.
assign
(
tempContext
,
args
[
0
]);
}
let
deResParameters
:
any
[]
=
[];
if
(
tempContext
.
hremployee
&&
true
){
deResParameters
=
[
{
pathName
:
'hremployees'
,
parameterName
:
'hremployee'
},
]
}
const
parameters
:
any
[]
=
[
{
pathName
:
'hrarchives'
,
parameterName
:
'hrarchives'
},
];
const
_this
:
any
=
this
;
const
openDrawer
=
(
view
:
any
,
data
:
any
)
=>
{
let
container
:
Subject
<
any
>
=
this
.
$appdrawer
.
openDrawer
(
view
,
tempContext
,
data
);
container
.
subscribe
((
result
:
any
)
=>
{
if
(
!
result
||
!
Object
.
is
(
result
.
ret
,
'OK'
))
{
return
;
}
if
(
!
xData
||
!
(
xData
.
refresh
instanceof
Function
))
{
return
;
}
xData
.
refresh
(
result
.
datas
);
});
}
const
view
:
any
=
{
viewname
:
'hrarchives-v-002'
,
height
:
0
,
width
:
600
,
title
:
this
.
$t
(
'entities.hrarchives.views.v_002.title'
),
placement
:
'DRAWER_RIGHT'
,
};
openDrawer
(
view
,
data
);
}
/**
* 打开编辑数据视图
*
* @param {any[]} args
* @param {*} [params]
* @param {*} [fullargs]
* @param {*} [$event]
* @param {*} [xData]
* @memberof HRArchivesV_008
*/
public
opendata
(
args
:
any
[],
fullargs
?:
any
[],
params
?:
any
,
$event
?:
any
,
xData
?:
any
)
{
const
localContext
:
any
=
null
;
const
localViewParam
:
any
=
null
;
const
data
:
any
=
{};
let
tempContext
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
context
));
if
(
args
.
length
>
0
){
Object
.
assign
(
tempContext
,
args
[
0
]);
}
let
deResParameters
:
any
[]
=
[];
if
(
tempContext
.
hremployee
&&
true
){
deResParameters
=
[
{
pathName
:
'hremployees'
,
parameterName
:
'hremployee'
},
]
}
const
parameters
:
any
[]
=
[
{
pathName
:
'hrarchives'
,
parameterName
:
'hrarchives'
},
{
pathName
:
'v_005'
,
parameterName
:
'v_005'
},
];
const
_this
:
any
=
this
;
const
openIndexViewTab
=
(
data
:
any
)
=>
{
const
routePath
=
this
.
$viewTool
.
buildUpRoutePath
(
this
.
$route
,
tempContext
,
deResParameters
,
parameters
,
args
,
data
);
this
.
$router
.
push
(
routePath
);
}
openIndexViewTab
(
data
);
}
/**
* 编辑
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof HRArchivesV_008Base
*/
public
Edit
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
if
(
args
.
length
===
0
)
{
return
;
}
const
_this
:
any
=
this
;
if
(
_this
.
opendata
&&
_this
.
opendata
instanceof
Function
)
{
const
data
:
any
=
{
};
if
(
args
.
length
>
0
)
{
Object
.
assign
(
data
,
{
hrarchives
:
args
[
0
].
hrarchives
})
}
_this
.
opendata
([{
...
data
}],
params
,
$event
,
xData
);
}
else
{
_this
.
$Notice
.
error
({
title
:
'错误'
,
desc
:
'opendata 视图处理逻辑不存在,请添加!'
});
}
}
/**
* 拷贝
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof HRArchivesV_008Base
*/
public
Copy
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
if
(
args
.
length
===
0
)
{
return
;
}
const
_this
:
any
=
this
;
if
(
_this
.
opendata
&&
_this
.
opendata
instanceof
Function
)
{
const
data
:
any
=
{
};
if
(
args
.
length
>
0
)
{
Object
.
assign
(
data
,
{
hrarchives
:
args
[
0
].
hrarchives
});
}
if
(
!
params
)
params
=
{};
Object
.
assign
(
params
,{
copymode
:
true
});
_this
.
opendata
([{
...
data
}],
params
,
$event
,
xData
);
}
else
{
Object
.
assign
(
this
.
viewparams
,{
copymode
:
true
});
}
}
/**
* 删除
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof HRArchivesV_008Base
*/
public
Remove
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
const
_this
:
any
=
this
;
if
(
!
xData
||
!
(
xData
.
remove
instanceof
Function
))
{
return
;
}
xData
.
remove
(
args
);
}
/**
* 导出
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof HRArchivesV_008Base
*/
public
ExportExcel
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
const
_this
:
any
=
this
;
if
(
!
xData
||
!
(
xData
.
exportExcel
instanceof
Function
)
||
!
$event
)
{
return
;
}
xData
.
exportExcel
(
$event
.
exportparms
);
}
/**
* 打印
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof HRArchivesV_008Base
*/
public
Print
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
let
_this
:
any
=
this
;
if
(
!
xData
||
!
(
xData
.
print
instanceof
Function
)
||
!
$event
)
{
return
;
}
xData
.
print
();
}
/**
* 过滤
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof HRArchivesV_008Base
*/
public
ToggleFilter
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
const
_this
:
any
=
this
;
if
(
_this
.
hasOwnProperty
(
'isExpandSearchForm'
))
{
_this
.
isExpandSearchForm
=
!
_this
.
isExpandSearchForm
;
}
}
}
\ No newline at end of file
app_PIM/src/pages/human-resource/hrarchives-v-008/hrarchives-v-008.html
0 → 100644
浏览文件 @
88df5b2e
<studio-view-style2
viewName=
"hrarchivesv_008"
viewTitle=
"档案"
class=
'degridview hrarchives-v-008'
>
<i-input
slot=
"quickSearch"
v-show=
"!isExpandSearchForm"
v-model=
"query"
placeholder=
"档案信息名称"
search
@
on-search=
"onSearch($event)"
/>
<template
slot=
"toolbar"
>
<view-toolbar
mode=
"STYLE2"
:model=
"toolBarModels"
@
item-click=
"toolbar_click.apply(_self, arguments)"
/>
</template>
<template
slot=
"searchForm"
>
<view
_searchform
:viewState=
"viewState"
:viewparams=
"viewparams"
:context=
"context"
:showBusyIndicator=
"true"
v-show=
"isExpandSearchForm"
loaddraftAction=
"FilterGetDraft"
loadAction=
"FilterGet"
name=
"searchform"
ref=
'searchform'
@
save=
"searchform_save($event)"
@
search=
"searchform_search($event)"
@
load=
"searchform_load($event)"
@
closeview=
"closeView($event)"
>
</view
_searchform
>
</template>
<view
_grid
:viewState=
"viewState"
:viewparams=
"viewparams"
:context=
"context"
:isSingleSelect=
"isGridSingleSelect"
:showBusyIndicator=
"true"
:isOpenEdit=
"false"
:gridRowActiveMode=
"gridRowActiveMode"
@
save=
"onSave.apply(_self, arguments)"
updateAction=
""
removeAction=
"Remove"
loaddraftAction=
""
loadAction=
""
createAction=
""
fetchAction=
"FetchNonArchives"
:newdata=
"newdata.bind(_self)"
:opendata=
"opendata.bind(_self)"
name=
"grid"
ref=
'grid'
@
selectionchange=
"grid_selectionchange($event)"
@
beforeload=
"grid_beforeload($event)"
@
rowdblclick=
"grid_rowdblclick($event)"
@
remove=
"grid_remove($event)"
@
load=
"grid_load($event)"
@
closeview=
"closeView($event)"
>
</view
_grid
>
</studio-view-style2>
\ No newline at end of file
app_PIM/src/pages/human-resource/hrarchives-v-008/hrarchives-v-008.vue
0 → 100644
浏览文件 @
88df5b2e
<
template
src=
"./hrarchives-v-008.html"
/>
<script
lang=
'tsx'
>
import
{ Component } from 'vue-property-decorator';
import { VueLifeCycleProcessing } from '@/studio-core';
import { HRArchivesV_008Base } from './hrarchives-v-008-base';
import view_grid from '@widgets/hrarchives/main-grid/main-grid.vue';
import view_searchform from '@widgets/hrarchives/default-searchform/default-searchform.vue';
/**
* 档案视图
*
* @export
* @class HRArchivesV_008
* @extends {HRArchivesV_008Base}
*/
@Component({
components: {
view_grid,
view_searchform,
}
})
@VueLifeCycleProcessing()
export default class HRArchivesV_008 extends HRArchivesV_008Base { }
</script>
app_PIM/src/pages/human-resource/hrarchives-v-009/hrarchives-v-009-base.tsx
0 → 100644
浏览文件 @
88df5b2e
import
{
Subject
}
from
'rxjs'
;
import
{
GridViewBase
}
from
'@/studio-core'
;
import
HRArchivesService
from
'@/service/hrarchives/hrarchives-service'
;
import
HRArchivesAuthService
from
'@/authservice/hrarchives/hrarchives-auth-service'
;
import
GridViewEngine
from
'@engine/view/grid-view-engine'
;
import
HRArchivesUIService
from
'@/uiservice/hrarchives/hrarchives-ui-service'
;
import
CodeListService
from
"@service/app/codelist-service"
;
/**
* 档案视图基类
*
* @export
* @class HRArchivesV_009Base
* @extends {GridViewBase}
*/
export
class
HRArchivesV_009Base
extends
GridViewBase
{
/**
* 视图对应应用实体名称
*
* @protected
* @type {string}
* @memberof HRArchivesV_009Base
*/
protected
appDeName
:
string
=
'hrarchives'
;
/**
* 应用实体主键
*
* @protected
* @type {string}
* @memberof HRArchivesV_009Base
*/
protected
appDeKey
:
string
=
'hrarchivesid'
;
/**
* 应用实体主信息
*
* @protected
* @type {string}
* @memberof HRArchivesV_009Base
*/
protected
appDeMajor
:
string
=
'hrarchivesname'
;
/**
* 实体服务对象
*
* @type {HRArchivesService}
* @memberof HRArchivesV_009Base
*/
protected
appEntityService
:
HRArchivesService
=
new
HRArchivesService
;
/**
* 实体权限服务对象
*
* @type HRArchivesUIService
* @memberof HRArchivesV_009Base
*/
public
appUIService
:
HRArchivesUIService
=
new
HRArchivesUIService
(
this
.
$store
);
/**
* 计数器服务对象集合
*
* @protected
* @type {Array<*>}
* @memberof HRArchivesV_009Base
*/
protected
counterServiceArray
:
Array
<
any
>
=
[];
/**
* 视图模型数据
*
* @protected
* @type {*}
* @memberof HRArchivesV_009Base
*/
protected
model
:
any
=
{
srfCaption
:
'entities.hrarchives.views.v_009.caption'
,
srfTitle
:
'entities.hrarchives.views.v_009.title'
,
srfSubTitle
:
'entities.hrarchives.views.v_009.subtitle'
,
dataInfo
:
''
}
/**
* 容器模型
*
* @protected
* @type {*}
* @memberof HRArchivesV_009Base
*/
protected
containerModel
:
any
=
{
view_toolbar
:
{
name
:
'toolbar'
,
type
:
'TOOLBAR'
},
view_grid
:
{
name
:
'grid'
,
type
:
'GRID'
},
view_searchform
:
{
name
:
'searchform'
,
type
:
'SEARCHFORM'
},
};
/**
* 工具栏模型
*
* @type {*}
* @memberof HRArchivesV_009
*/
public
toolBarModels
:
any
=
{
tbitem1_ff_002
:
{
name
:
'tbitem1_ff_002'
,
caption
:
'新建'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'新建'
,
iconcls
:
'fa fa-user-plus'
,
icon
:
''
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
noprivdisplaymode
:
2
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'FF_002'
,
target
:
'NONE'
,
class
:
''
}
},
tbitem2
:
{
name
:
'tbitem2'
,
type
:
'SEPERATOR'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
}
},
tbitem4
:
{
name
:
'tbitem4'
,
caption
:
'编辑'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'编辑'
,
iconcls
:
'fa fa-edit'
,
icon
:
''
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
noprivdisplaymode
:
2
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'Edit'
,
target
:
'SINGLEKEY'
,
class
:
''
}
},
tbitem6
:
{
name
:
'tbitem6'
,
caption
:
'拷贝'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'拷贝'
,
iconcls
:
'fa fa-copy'
,
icon
:
''
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
noprivdisplaymode
:
2
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'Copy'
,
target
:
'SINGLEKEY'
,
class
:
''
}
},
tbitem7
:
{
name
:
'tbitem7'
,
type
:
'SEPERATOR'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
}
},
tbitem8
:
{
name
:
'tbitem8'
,
caption
:
'删除'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'删除'
,
iconcls
:
'fa fa-remove'
,
icon
:
''
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
noprivdisplaymode
:
2
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'Remove'
,
target
:
'MULTIKEY'
,
class
:
''
}
},
tbitem9
:
{
name
:
'tbitem9'
,
type
:
'SEPERATOR'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
}
},
tbitem13
:
{
name
:
'tbitem13'
,
caption
:
'导出'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'导出'
,
iconcls
:
'fa fa-file-excel-o'
,
icon
:
''
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
noprivdisplaymode
:
2
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'ExportExcel'
,
target
:
''
},
MaxRowCount
:
1000
,
class
:
''
},
tbitem10
:
{
name
:
'tbitem10'
,
type
:
'SEPERATOR'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
}
},
tbitem19
:
{
name
:
'tbitem19'
,
caption
:
'过滤'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'过滤'
,
iconcls
:
'fa fa-filter'
,
icon
:
''
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
noprivdisplaymode
:
2
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'ToggleFilter'
,
target
:
''
,
class
:
''
}
},
};
/**
* 视图唯一标识
*
* @protected
* @type {string}
* @memberof ViewBase
*/
protected
viewtag
:
string
=
'32399525785c11b3d942279a4974420d'
;
/**
* 视图引擎
*
* @public
* @type {Engine}
* @memberof HRArchivesV_009Base
*/
public
engine
:
GridViewEngine
=
new
GridViewEngine
();
/**
* 引擎初始化
*
* @public
* @memberof HRArchivesV_009Base
*/
public
engineInit
():
void
{
this
.
engine
.
init
({
view
:
this
,
opendata
:
(
args
:
any
[],
fullargs
?:
any
[],
params
?:
any
,
$event
?:
any
,
xData
?:
any
)
=>
{
this
.
opendata
(
args
,
fullargs
,
params
,
$event
,
xData
);
},
newdata
:
(
args
:
any
[],
fullargs
?:
any
[],
params
?:
any
,
$event
?:
any
,
xData
?:
any
)
=>
{
this
.
newdata
(
args
,
fullargs
,
params
,
$event
,
xData
);
},
grid
:
this
.
$refs
.
grid
,
searchform
:
this
.
$refs
.
searchform
,
keyPSDEField
:
'hrarchives'
,
majorPSDEField
:
'hrarchivesname'
,
isLoadDefault
:
true
,
});
}
/**
* toolbar 部件 click 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof HRArchivesV_009Base
*/
public
toolbar_click
(
$event
:
any
,
$event2
?:
any
):
void
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem1_ff_002'
))
{
this
.
toolbar_tbitem1_ff_002_click
(
null
,
''
,
$event2
);
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem4'
))
{
this
.
toolbar_tbitem4_click
(
null
,
''
,
$event2
);
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem6'
))
{
this
.
toolbar_tbitem6_click
(
null
,
''
,
$event2
);
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem8'
))
{
this
.
toolbar_tbitem8_click
(
null
,
''
,
$event2
);
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem13'
))
{
this
.
toolbar_tbitem13_click
(
null
,
''
,
$event2
);
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem11'
))
{
this
.
toolbar_tbitem11_click
(
null
,
''
,
$event2
);
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem19'
))
{
this
.
toolbar_tbitem19_click
(
null
,
''
,
$event2
);
}
}
/**
* grid 部件 selectionchange 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof HRArchivesV_009Base
*/
public
grid_selectionchange
(
$event
:
any
,
$event2
?:
any
):
void
{
this
.
engine
.
onCtrlEvent
(
'grid'
,
'selectionchange'
,
$event
);
}
/**
* grid 部件 beforeload 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof HRArchivesV_009Base
*/
public
grid_beforeload
(
$event
:
any
,
$event2
?:
any
):
void
{
this
.
engine
.
onCtrlEvent
(
'grid'
,
'beforeload'
,
$event
);
}
/**
* grid 部件 rowdblclick 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof HRArchivesV_009Base
*/
public
grid_rowdblclick
(
$event
:
any
,
$event2
?:
any
):
void
{
this
.
engine
.
onCtrlEvent
(
'grid'
,
'rowdblclick'
,
$event
);
}
/**
* grid 部件 remove 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof HRArchivesV_009Base
*/
public
grid_remove
(
$event
:
any
,
$event2
?:
any
):
void
{
this
.
engine
.
onCtrlEvent
(
'grid'
,
'remove'
,
$event
);
}
/**
* grid 部件 load 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof HRArchivesV_009Base
*/
public
grid_load
(
$event
:
any
,
$event2
?:
any
):
void
{
this
.
engine
.
onCtrlEvent
(
'grid'
,
'load'
,
$event
);
}
/**
* searchform 部件 save 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof HRArchivesV_009Base
*/
public
searchform_save
(
$event
:
any
,
$event2
?:
any
):
void
{
this
.
engine
.
onCtrlEvent
(
'searchform'
,
'save'
,
$event
);
}
/**
* searchform 部件 search 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof HRArchivesV_009Base
*/
public
searchform_search
(
$event
:
any
,
$event2
?:
any
):
void
{
this
.
engine
.
onCtrlEvent
(
'searchform'
,
'search'
,
$event
);
}
/**
* searchform 部件 load 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof HRArchivesV_009Base
*/
public
searchform_load
(
$event
:
any
,
$event2
?:
any
):
void
{
this
.
engine
.
onCtrlEvent
(
'searchform'
,
'load'
,
$event
);
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public
toolbar_tbitem1_ff_002_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
// 参数
// 取数
let
datas
:
any
[]
=
[];
let
xData
:
any
=
null
;
// _this 指向容器对象
const
_this
:
any
=
this
;
let
paramJO
:
any
=
{};
let
contextJO
:
any
=
{};
xData
=
this
.
$refs
.
grid
;
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
const
curUIService
:
HRArchivesUIService
=
new
HRArchivesUIService
();
curUIService
.
HRArchives_FF_002
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"HRArchives"
);
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public
toolbar_tbitem4_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
// 参数
// 取数
let
datas
:
any
[]
=
[];
let
xData
:
any
=
null
;
// _this 指向容器对象
const
_this
:
any
=
this
;
let
paramJO
:
any
=
{};
let
contextJO
:
any
=
{};
xData
=
this
.
$refs
.
grid
;
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
this
.
Edit
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"HRArchives"
);
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public
toolbar_tbitem6_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
// 参数
// 取数
let
datas
:
any
[]
=
[];
let
xData
:
any
=
null
;
// _this 指向容器对象
const
_this
:
any
=
this
;
let
paramJO
:
any
=
{};
let
contextJO
:
any
=
{};
xData
=
this
.
$refs
.
grid
;
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
this
.
Copy
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"HRArchives"
);
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public
toolbar_tbitem8_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
// 参数
// 取数
let
datas
:
any
[]
=
[];
let
xData
:
any
=
null
;
// _this 指向容器对象
const
_this
:
any
=
this
;
let
paramJO
:
any
=
{};
let
contextJO
:
any
=
{};
xData
=
this
.
$refs
.
grid
;
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
this
.
Remove
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"HRArchives"
);
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public
toolbar_tbitem13_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
// 参数
// 取数
let
datas
:
any
[]
=
[];
let
xData
:
any
=
null
;
// _this 指向容器对象
const
_this
:
any
=
this
;
let
paramJO
:
any
=
{};
let
contextJO
:
any
=
{};
xData
=
this
.
$refs
.
grid
;
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
this
.
ExportExcel
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"HRArchives"
);
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public
toolbar_tbitem11_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
// 参数
// 取数
let
datas
:
any
[]
=
[];
let
xData
:
any
=
null
;
// _this 指向容器对象
const
_this
:
any
=
this
;
let
paramJO
:
any
=
{};
let
contextJO
:
any
=
{};
xData
=
this
.
$refs
.
grid
;
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
this
.
Print
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"HRArchives"
);
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public
toolbar_tbitem19_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
// 参数
// 取数
let
datas
:
any
[]
=
[];
let
xData
:
any
=
null
;
// _this 指向容器对象
const
_this
:
any
=
this
;
let
paramJO
:
any
=
{};
let
contextJO
:
any
=
{};
xData
=
this
.
$refs
.
grid
;
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
this
.
ToggleFilter
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"HRArchives"
);
}
/**
* 打开新建数据视图
*
* @param {any[]} args
* @param {*} [params]
* @param {*} [fullargs]
* @param {*} [$event]
* @param {*} [xData]
* @memberof HRArchivesV_009
*/
public
newdata
(
args
:
any
[],
fullargs
?:
any
[],
params
?:
any
,
$event
?:
any
,
xData
?:
any
)
{
let
localContext
:
any
=
null
;
let
localViewParam
:
any
=
null
;
const
data
:
any
=
{};
if
(
args
[
0
].
srfsourcekey
){
data
.
srfsourcekey
=
args
[
0
].
srfsourcekey
;
}
let
tempContext
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
context
));
delete
tempContext
.
hrarchives
;
if
(
args
.
length
>
0
){
Object
.
assign
(
tempContext
,
args
[
0
]);
}
let
deResParameters
:
any
[]
=
[];
if
(
tempContext
.
hremployee
&&
true
){
deResParameters
=
[
{
pathName
:
'hremployees'
,
parameterName
:
'hremployee'
},
]
}
const
parameters
:
any
[]
=
[
{
pathName
:
'hrarchives'
,
parameterName
:
'hrarchives'
},
];
const
_this
:
any
=
this
;
const
openDrawer
=
(
view
:
any
,
data
:
any
)
=>
{
let
container
:
Subject
<
any
>
=
this
.
$appdrawer
.
openDrawer
(
view
,
tempContext
,
data
);
container
.
subscribe
((
result
:
any
)
=>
{
if
(
!
result
||
!
Object
.
is
(
result
.
ret
,
'OK'
))
{
return
;
}
if
(
!
xData
||
!
(
xData
.
refresh
instanceof
Function
))
{
return
;
}
xData
.
refresh
(
result
.
datas
);
});
}
const
view
:
any
=
{
viewname
:
'hrarchives-v-002'
,
height
:
0
,
width
:
600
,
title
:
this
.
$t
(
'entities.hrarchives.views.v_002.title'
),
placement
:
'DRAWER_RIGHT'
,
};
openDrawer
(
view
,
data
);
}
/**
* 打开编辑数据视图
*
* @param {any[]} args
* @param {*} [params]
* @param {*} [fullargs]
* @param {*} [$event]
* @param {*} [xData]
* @memberof HRArchivesV_009
*/
public
opendata
(
args
:
any
[],
fullargs
?:
any
[],
params
?:
any
,
$event
?:
any
,
xData
?:
any
)
{
const
localContext
:
any
=
null
;
const
localViewParam
:
any
=
null
;
const
data
:
any
=
{};
let
tempContext
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
context
));
if
(
args
.
length
>
0
){
Object
.
assign
(
tempContext
,
args
[
0
]);
}
let
deResParameters
:
any
[]
=
[];
if
(
tempContext
.
hremployee
&&
true
){
deResParameters
=
[
{
pathName
:
'hremployees'
,
parameterName
:
'hremployee'
},
]
}
const
parameters
:
any
[]
=
[
{
pathName
:
'hrarchives'
,
parameterName
:
'hrarchives'
},
{
pathName
:
'v_005'
,
parameterName
:
'v_005'
},
];
const
_this
:
any
=
this
;
const
openIndexViewTab
=
(
data
:
any
)
=>
{
const
routePath
=
this
.
$viewTool
.
buildUpRoutePath
(
this
.
$route
,
tempContext
,
deResParameters
,
parameters
,
args
,
data
);
this
.
$router
.
push
(
routePath
);
}
openIndexViewTab
(
data
);
}
/**
* 编辑
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof HRArchivesV_009Base
*/
public
Edit
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
if
(
args
.
length
===
0
)
{
return
;
}
const
_this
:
any
=
this
;
if
(
_this
.
opendata
&&
_this
.
opendata
instanceof
Function
)
{
const
data
:
any
=
{
};
if
(
args
.
length
>
0
)
{
Object
.
assign
(
data
,
{
hrarchives
:
args
[
0
].
hrarchives
})
}
_this
.
opendata
([{
...
data
}],
params
,
$event
,
xData
);
}
else
{
_this
.
$Notice
.
error
({
title
:
'错误'
,
desc
:
'opendata 视图处理逻辑不存在,请添加!'
});
}
}
/**
* 拷贝
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof HRArchivesV_009Base
*/
public
Copy
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
if
(
args
.
length
===
0
)
{
return
;
}
const
_this
:
any
=
this
;
if
(
_this
.
opendata
&&
_this
.
opendata
instanceof
Function
)
{
const
data
:
any
=
{
};
if
(
args
.
length
>
0
)
{
Object
.
assign
(
data
,
{
hrarchives
:
args
[
0
].
hrarchives
});
}
if
(
!
params
)
params
=
{};
Object
.
assign
(
params
,{
copymode
:
true
});
_this
.
opendata
([{
...
data
}],
params
,
$event
,
xData
);
}
else
{
Object
.
assign
(
this
.
viewparams
,{
copymode
:
true
});
}
}
/**
* 删除
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof HRArchivesV_009Base
*/
public
Remove
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
const
_this
:
any
=
this
;
if
(
!
xData
||
!
(
xData
.
remove
instanceof
Function
))
{
return
;
}
xData
.
remove
(
args
);
}
/**
* 导出
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof HRArchivesV_009Base
*/
public
ExportExcel
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
const
_this
:
any
=
this
;
if
(
!
xData
||
!
(
xData
.
exportExcel
instanceof
Function
)
||
!
$event
)
{
return
;
}
xData
.
exportExcel
(
$event
.
exportparms
);
}
/**
* 打印
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof HRArchivesV_009Base
*/
public
Print
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
let
_this
:
any
=
this
;
if
(
!
xData
||
!
(
xData
.
print
instanceof
Function
)
||
!
$event
)
{
return
;
}
xData
.
print
();
}
/**
* 过滤
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof HRArchivesV_009Base
*/
public
ToggleFilter
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
const
_this
:
any
=
this
;
if
(
_this
.
hasOwnProperty
(
'isExpandSearchForm'
))
{
_this
.
isExpandSearchForm
=
!
_this
.
isExpandSearchForm
;
}
}
}
\ No newline at end of file
app_PIM/src/pages/human-resource/hrarchives-v-009/hrarchives-v-009.html
0 → 100644
浏览文件 @
88df5b2e
<studio-view-style2
viewName=
"hrarchivesv_009"
viewTitle=
"档案"
class=
'degridview hrarchives-v-009'
>
<i-input
slot=
"quickSearch"
v-show=
"!isExpandSearchForm"
v-model=
"query"
placeholder=
"档案信息名称"
search
@
on-search=
"onSearch($event)"
/>
<template
slot=
"toolbar"
>
<view-toolbar
mode=
"STYLE2"
:model=
"toolBarModels"
@
item-click=
"toolbar_click.apply(_self, arguments)"
/>
</template>
<template
slot=
"searchForm"
>
<view
_searchform
:viewState=
"viewState"
:viewparams=
"viewparams"
:context=
"context"
:showBusyIndicator=
"true"
v-show=
"isExpandSearchForm"
loaddraftAction=
"FilterGetDraft"
loadAction=
"FilterGet"
name=
"searchform"
ref=
'searchform'
@
save=
"searchform_save($event)"
@
search=
"searchform_search($event)"
@
load=
"searchform_load($event)"
@
closeview=
"closeView($event)"
>
</view
_searchform
>
</template>
<view
_grid
:viewState=
"viewState"
:viewparams=
"viewparams"
:context=
"context"
:isSingleSelect=
"isGridSingleSelect"
:showBusyIndicator=
"true"
:isOpenEdit=
"false"
:gridRowActiveMode=
"gridRowActiveMode"
@
save=
"onSave.apply(_self, arguments)"
updateAction=
""
removeAction=
"Remove"
loaddraftAction=
""
loadAction=
""
createAction=
""
fetchAction=
"FetchActive"
:newdata=
"newdata.bind(_self)"
:opendata=
"opendata.bind(_self)"
name=
"grid"
ref=
'grid'
@
selectionchange=
"grid_selectionchange($event)"
@
beforeload=
"grid_beforeload($event)"
@
rowdblclick=
"grid_rowdblclick($event)"
@
remove=
"grid_remove($event)"
@
load=
"grid_load($event)"
@
closeview=
"closeView($event)"
>
</view
_grid
>
</studio-view-style2>
\ No newline at end of file
app_PIM/src/pages/human-resource/hrarchives-v-009/hrarchives-v-009.vue
0 → 100644
浏览文件 @
88df5b2e
<
template
src=
"./hrarchives-v-009.html"
/>
<script
lang=
'tsx'
>
import
{ Component } from 'vue-property-decorator';
import { VueLifeCycleProcessing } from '@/studio-core';
import { HRArchivesV_009Base } from './hrarchives-v-009-base';
import view_grid from '@widgets/hrarchives/main-grid/main-grid.vue';
import view_searchform from '@widgets/hrarchives/default-searchform/default-searchform.vue';
/**
* 档案视图
*
* @export
* @class HRArchivesV_009
* @extends {HRArchivesV_009Base}
*/
@Component({
components: {
view_grid,
view_searchform,
}
})
@VueLifeCycleProcessing()
export default class HRArchivesV_009 extends HRArchivesV_009Base { }
</script>
app_PIM/src/pages/ungroup/pim/page-register.ts
浏览文件 @
88df5b2e
...
...
@@ -15,8 +15,10 @@ export const PageComponents = {
Vue
.
component
(
'hroperation-unit-v-002'
,
()
=>
import
(
'@pages/base/hroperation-unit-v-002/hroperation-unit-v-002.vue'
));
Vue
.
component
(
'hrtechnical-title-v-002'
,
()
=>
import
(
'@pages/human-resource/hrtechnical-title-v-002/hrtechnical-title-v-002.vue'
));
Vue
.
component
(
'hrpost-rel-v-002'
,
()
=>
import
(
'@pages/human-resource/hrpost-rel-v-002/hrpost-rel-v-002.vue'
));
Vue
.
component
(
'hrarchives-v-009'
,
()
=>
import
(
'@pages/human-resource/hrarchives-v-009/hrarchives-v-009.vue'
));
Vue
.
component
(
'hremployee-pickup-grid-view'
,
()
=>
import
(
'@pages/human-resource/hremployee-pickup-grid-view/hremployee-pickup-grid-view.vue'
));
Vue
.
component
(
'hrcontract-grid-view'
,
()
=>
import
(
'@pages/human-resource/hrcontract-grid-view/hrcontract-grid-view.vue'
));
Vue
.
component
(
'hrarchives-v-002'
,
()
=>
import
(
'@pages/human-resource/hrarchives-v-002/hrarchives-v-002.vue'
));
Vue
.
component
(
'hromhierarchy-tree-exp-view'
,
()
=>
import
(
'@pages/base/hromhierarchy-tree-exp-view/hromhierarchy-tree-exp-view.vue'
));
Vue
.
component
(
'hrlegal-grid-view'
,
()
=>
import
(
'@pages/base/hrlegal-grid-view/hrlegal-grid-view.vue'
));
Vue
.
component
(
'hrpost-v-006'
,
()
=>
import
(
'@pages/human-resource/hrpost-v-006/hrpost-v-006.vue'
));
...
...
@@ -26,10 +28,12 @@ export const PageComponents = {
Vue
.
component
(
'hremployee-v-003'
,
()
=>
import
(
'@pages/human-resource/hremployee-v-003/hremployee-v-003.vue'
));
Vue
.
component
(
'hrduty-tab-exp-view'
,
()
=>
import
(
'@pages/human-resource/hrduty-tab-exp-view/hrduty-tab-exp-view.vue'
));
Vue
.
component
(
'hrpost-pickup-view'
,
()
=>
import
(
'@pages/human-resource/hrpost-pickup-view/hrpost-pickup-view.vue'
));
Vue
.
component
(
'hrarchives-v-006'
,
()
=>
import
(
'@pages/human-resource/hrarchives-v-006/hrarchives-v-006.vue'
));
Vue
.
component
(
'hrorganization-pickup-grid-view'
,
()
=>
import
(
'@pages/base/hrorganization-pickup-grid-view/hrorganization-pickup-grid-view.vue'
));
Vue
.
component
(
'hrpost-pickup-grid-view'
,
()
=>
import
(
'@pages/human-resource/hrpost-pickup-grid-view/hrpost-pickup-grid-view.vue'
));
Vue
.
component
(
'hrcontract-v-002'
,
()
=>
import
(
'@pages/human-resource/hrcontract-v-002/hrcontract-v-002.vue'
));
Vue
.
component
(
'hrduty-edu-v-001'
,
()
=>
import
(
'@pages/human-resource/hrduty-edu-v-001/hrduty-edu-v-001.vue'
));
Vue
.
component
(
'hrarchives-grid-view'
,
()
=>
import
(
'@pages/human-resource/hrarchives-grid-view/hrarchives-grid-view.vue'
));
Vue
.
component
(
'hrorganization-edit-view'
,
()
=>
import
(
'@pages/base/hrorganization-edit-view/hrorganization-edit-view.vue'
));
Vue
.
component
(
'hromhierarchy-cat-grid-view'
,
()
=>
import
(
'@pages/base/hromhierarchy-cat-grid-view/hromhierarchy-cat-grid-view.vue'
));
Vue
.
component
(
'hremployee-v-001'
,
()
=>
import
(
'@pages/human-resource/hremployee-v-001/hremployee-v-001.vue'
));
...
...
@@ -39,8 +43,8 @@ export const PageComponents = {
Vue
.
component
(
'hrresearch-grid-view'
,
()
=>
import
(
'@pages/human-resource/hrresearch-grid-view/hrresearch-grid-view.vue'
));
Vue
.
component
(
'hrtechnical-title-v-004'
,
()
=>
import
(
'@pages/human-resource/hrtechnical-title-v-004/hrtechnical-title-v-004.vue'
));
Vue
.
component
(
'hrtransfer-apply-grid-view'
,
()
=>
import
(
'@pages/pcm/hrtransfer-apply-grid-view/hrtransfer-apply-grid-view.vue'
));
Vue
.
component
(
'hrpost-v-003'
,
()
=>
import
(
'@pages/human-resource/hrpost-v-003/hrpost-v-003.vue'
));
Vue
.
component
(
'hremployee-grid-view'
,
()
=>
import
(
'@pages/human-resource/hremployee-grid-view/hremployee-grid-view.vue'
));
Vue
.
component
(
'hrpost-v-003'
,
()
=>
import
(
'@pages/human-resource/hrpost-v-003/hrpost-v-003.vue'
));
Vue
.
component
(
'hrtechnical-title-v-006'
,
()
=>
import
(
'@pages/human-resource/hrtechnical-title-v-006/hrtechnical-title-v-006.vue'
));
Vue
.
component
(
'hrtechnical-title-tab-exp-view'
,
()
=>
import
(
'@pages/human-resource/hrtechnical-title-tab-exp-view/hrtechnical-title-tab-exp-view.vue'
));
Vue
.
component
(
'hrduty-v-002'
,
()
=>
import
(
'@pages/human-resource/hrduty-v-002/hrduty-v-002.vue'
));
...
...
@@ -52,8 +56,8 @@ export const PageComponents = {
Vue
.
component
(
'hrtechnical-title-v-003'
,
()
=>
import
(
'@pages/human-resource/hrtechnical-title-v-003/hrtechnical-title-v-003.vue'
));
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
(
'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
(
'hrorganization-grid-view'
,
()
=>
import
(
'@pages/base/hrorganization-grid-view/hrorganization-grid-view.vue'
));
Vue
.
component
(
'hrtransfer-apply-wfdyna-exp-grid-view'
,
()
=>
import
(
'@pages/pcm/hrtransfer-apply-wfdyna-exp-grid-view/hrtransfer-apply-wfdyna-exp-grid-view.vue'
));
Vue
.
component
(
'hremployee-v-006'
,
()
=>
import
(
'@pages/human-resource/hremployee-v-006/hremployee-v-006.vue'
));
Vue
.
component
(
'hremployee-v-002'
,
()
=>
import
(
'@pages/human-resource/hremployee-v-002/hremployee-v-002.vue'
));
...
...
@@ -71,21 +75,25 @@ export const PageComponents = {
Vue
.
component
(
'hremployee-v-004'
,
()
=>
import
(
'@pages/human-resource/hremployee-v-004/hremployee-v-004.vue'
));
Vue
.
component
(
'hrcertificate-v-001'
,
()
=>
import
(
'@pages/human-resource/hrcertificate-v-001/hrcertificate-v-001.vue'
));
Vue
.
component
(
'hrcontract-v-005'
,
()
=>
import
(
'@pages/human-resource/hrcontract-v-005/hrcontract-v-005.vue'
));
Vue
.
component
(
'hrpost-v-002'
,
()
=>
import
(
'@pages/human-resource/hrpost-v-002/hrpost-v-002.vue'
));
Vue
.
component
(
'hremployee-v-005'
,
()
=>
import
(
'@pages/human-resource/hremployee-v-005/hremployee-v-005.vue'
));
Vue
.
component
(
'hrpost-v-002'
,
()
=>
import
(
'@pages/human-resource/hrpost-v-002/hrpost-v-002.vue'
));
Vue
.
component
(
'hrdistribution-edit-view'
,
()
=>
import
(
'@pages/human-resource/hrdistribution-edit-view/hrdistribution-edit-view.vue'
));
Vue
.
component
(
'hrduty-cert-v-002'
,
()
=>
import
(
'@pages/human-resource/hrduty-cert-v-002/hrduty-cert-v-002.vue'
));
Vue
.
component
(
'hrtransfer-apply-v-001'
,
()
=>
import
(
'@pages/pcm/hrtransfer-apply-v-001/hrtransfer-apply-v-001.vue'
));
Vue
.
component
(
'hrorg-contact-grid-view'
,
()
=>
import
(
'@pages/base/hrorg-contact-grid-view/hrorg-contact-grid-view.vue'
));
Vue
.
component
(
'hroperation-unit-grid-view'
,
()
=>
import
(
'@pages/base/hroperation-unit-grid-view/hroperation-unit-grid-view.vue'
));
Vue
.
component
(
'hrtraining-record-edit-view'
,
()
=>
import
(
'@pages/human-resource/hrtraining-record-edit-view/hrtraining-record-edit-view.vue'
));
Vue
.
component
(
'hrarchives-v-004'
,
()
=>
import
(
'@pages/human-resource/hrarchives-v-004/hrarchives-v-004.vue'
));
Vue
.
component
(
'hrorg-contact-v-001'
,
()
=>
import
(
'@pages/base/hrorg-contact-v-001/hrorg-contact-v-001.vue'
));
Vue
.
component
(
'hrorg-address-v-001'
,
()
=>
import
(
'@pages/base/hrorg-address-v-001/hrorg-address-v-001.vue'
));
Vue
.
component
(
'hrpost-v-001'
,
()
=>
import
(
'@pages/human-resource/hrpost-v-001/hrpost-v-001.vue'
));
Vue
.
component
(
'hromhierarchy-grid-view'
,
()
=>
import
(
'@pages/base/hromhierarchy-grid-view/hromhierarchy-grid-view.vue'
));
Vue
.
component
(
'hrarchives-v-008'
,
()
=>
import
(
'@pages/human-resource/hrarchives-v-008/hrarchives-v-008.vue'
));
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
(
'hrarchives-v-007'
,
()
=>
import
(
'@pages/human-resource/hrarchives-v-007/hrarchives-v-007.vue'
));
Vue
.
component
(
'hremployee-tree-exp-view'
,
()
=>
import
(
'@pages/human-resource/hremployee-tree-exp-view/hremployee-tree-exp-view.vue'
));
Vue
.
component
(
'hrarchives-v-005'
,
()
=>
import
(
'@pages/human-resource/hrarchives-v-005/hrarchives-v-005.vue'
));
Vue
.
component
(
'hremployee-tab-exp-view'
,
()
=>
import
(
'@pages/human-resource/hremployee-tab-exp-view/hremployee-tab-exp-view.vue'
));
Vue
.
component
(
'hrcontract-edit-view'
,
()
=>
import
(
'@pages/human-resource/hrcontract-edit-view/hrcontract-edit-view.vue'
));
Vue
.
component
(
'hromhierarchy-cat-dashboard-view'
,
()
=>
import
(
'@pages/base/hromhierarchy-cat-dashboard-view/hromhierarchy-cat-dashboard-view.vue'
));
...
...
@@ -128,9 +136,10 @@ export const PageComponents = {
Vue
.
component
(
'hrfamily-edit-view'
,
()
=>
import
(
'@pages/human-resource/hrfamily-edit-view/hrfamily-edit-view.vue'
));
Vue
.
component
(
'hromhierarchy-cat-v-002'
,
()
=>
import
(
'@pages/base/hromhierarchy-cat-v-002/hromhierarchy-cat-v-002.vue'
));
Vue
.
component
(
'hrdistribution-grid-view'
,
()
=>
import
(
'@pages/human-resource/hrdistribution-grid-view/hrdistribution-grid-view.vue'
));
Vue
.
component
(
'hrarchives-edit-view'
,
()
=>
import
(
'@pages/human-resource/hrarchives-edit-view/hrarchives-edit-view.vue'
));
Vue
.
component
(
'hrarchives-v-001'
,
()
=>
import
(
'@pages/human-resource/hrarchives-v-001/hrarchives-v-001.vue'
));
Vue
.
component
(
'hrarchives-edit-view'
,
()
=>
import
(
'@pages/human-resource/hrarchives-edit-view/hrarchives-edit-view.vue'
));
Vue
.
component
(
'hromhierarchy-pickup-grid-view'
,
()
=>
import
(
'@pages/base/hromhierarchy-pickup-grid-view/hromhierarchy-pickup-grid-view.vue'
));
Vue
.
component
(
'hrarchives-v-003'
,
()
=>
import
(
'@pages/human-resource/hrarchives-v-003/hrarchives-v-003.vue'
));
Vue
.
component
(
'hrcertificate-tab-exp-view'
,
()
=>
import
(
'@pages/human-resource/hrcertificate-tab-exp-view/hrcertificate-tab-exp-view.vue'
));
Vue
.
component
(
'hrdistribution-v-001'
,
()
=>
import
(
'@pages/human-resource/hrdistribution-v-001/hrdistribution-v-001.vue'
));
Vue
.
component
(
'hrtransfer-apply-v-004'
,
()
=>
import
(
'@pages/pcm/hrtransfer-apply-v-004/hrtransfer-apply-v-004.vue'
));
...
...
app_PIM/src/pages/ungroup/pim/router.ts
浏览文件 @
88df5b2e
...
...
@@ -388,6 +388,35 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/human-resource/hrpost-rel-v-002/hrpost-rel-v-002.vue'
),
},
{
path
:
'hremployees/:hremployee?/hrarchives/:hrarchives?/v_009/:v_009?'
,
meta
:
{
caption
:
'entities.hrarchives.views.v_009.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'pim'
,
parameterName
:
'pim'
},
{
pathName
:
'hremployees'
,
parameterName
:
'hremployee'
},
{
pathName
:
'hrarchives'
,
parameterName
:
'hrarchives'
},
{
pathName
:
'v_009'
,
parameterName
:
'v_009'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/human-resource/hrarchives-v-009/hrarchives-v-009.vue'
),
},
{
path
:
'hrarchives/:hrarchives?/v_009/:v_009?'
,
meta
:
{
caption
:
'entities.hrarchives.views.v_009.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'pim'
,
parameterName
:
'pim'
},
{
pathName
:
'hrarchives'
,
parameterName
:
'hrarchives'
},
{
pathName
:
'v_009'
,
parameterName
:
'v_009'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/human-resource/hrarchives-v-009/hrarchives-v-009.vue'
),
},
{
path
:
'hremployees/:hremployee?/pickupgridview/:pickupgridview?'
,
meta
:
{
...
...
@@ -431,6 +460,35 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/human-resource/hrcontract-grid-view/hrcontract-grid-view.vue'
),
},
{
path
:
'hremployees/:hremployee?/hrarchives/:hrarchives?/v_002/:v_002?'
,
meta
:
{
caption
:
'entities.hrarchives.views.v_002.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'pim'
,
parameterName
:
'pim'
},
{
pathName
:
'hremployees'
,
parameterName
:
'hremployee'
},
{
pathName
:
'hrarchives'
,
parameterName
:
'hrarchives'
},
{
pathName
:
'v_002'
,
parameterName
:
'v_002'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/human-resource/hrarchives-v-002/hrarchives-v-002.vue'
),
},
{
path
:
'hrarchives/:hrarchives?/v_002/:v_002?'
,
meta
:
{
caption
:
'entities.hrarchives.views.v_002.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'pim'
,
parameterName
:
'pim'
},
{
pathName
:
'hrarchives'
,
parameterName
:
'hrarchives'
},
{
pathName
:
'v_002'
,
parameterName
:
'v_002'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/human-resource/hrarchives-v-002/hrarchives-v-002.vue'
),
},
{
path
:
'hromhierarchycats/:hromhierarchycat?/hromhierarchies/:hromhierarchy?/treeexpview/:treeexpview?'
,
meta
:
{
...
...
@@ -602,6 +660,35 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/human-resource/hrpost-pickup-view/hrpost-pickup-view.vue'
),
},
{
path
:
'hremployees/:hremployee?/hrarchives/:hrarchives?/v_006/:v_006?'
,
meta
:
{
caption
:
'entities.hrarchives.views.v_006.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'pim'
,
parameterName
:
'pim'
},
{
pathName
:
'hremployees'
,
parameterName
:
'hremployee'
},
{
pathName
:
'hrarchives'
,
parameterName
:
'hrarchives'
},
{
pathName
:
'v_006'
,
parameterName
:
'v_006'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/human-resource/hrarchives-v-006/hrarchives-v-006.vue'
),
},
{
path
:
'hrarchives/:hrarchives?/v_006/:v_006?'
,
meta
:
{
caption
:
'entities.hrarchives.views.v_006.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'pim'
,
parameterName
:
'pim'
},
{
pathName
:
'hrarchives'
,
parameterName
:
'hrarchives'
},
{
pathName
:
'v_006'
,
parameterName
:
'v_006'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/human-resource/hrarchives-v-006/hrarchives-v-006.vue'
),
},
{
path
:
'hrorganizations/:hrorganization?/pickupgridview/:pickupgridview?'
,
meta
:
{
...
...
@@ -688,6 +775,35 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/human-resource/hrduty-edu-v-001/hrduty-edu-v-001.vue'
),
},
{
path
:
'hremployees/:hremployee?/hrarchives/:hrarchives?/gridview/:gridview?'
,
meta
:
{
caption
:
'entities.hrarchives.views.gridview.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'pim'
,
parameterName
:
'pim'
},
{
pathName
:
'hremployees'
,
parameterName
:
'hremployee'
},
{
pathName
:
'hrarchives'
,
parameterName
:
'hrarchives'
},
{
pathName
:
'gridview'
,
parameterName
:
'gridview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/human-resource/hrarchives-grid-view/hrarchives-grid-view.vue'
),
},
{
path
:
'hrarchives/:hrarchives?/gridview/:gridview?'
,
meta
:
{
caption
:
'entities.hrarchives.views.gridview.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'pim'
,
parameterName
:
'pim'
},
{
pathName
:
'hrarchives'
,
parameterName
:
'hrarchives'
},
{
pathName
:
'gridview'
,
parameterName
:
'gridview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/human-resource/hrarchives-grid-view/hrarchives-grid-view.vue'
),
},
{
path
:
'hrorganizations/:hrorganization?/editview/:editview?'
,
meta
:
{
...
...
@@ -995,32 +1111,32 @@ const router = new Router({
component
:
()
=>
import
(
'@pages/pcm/hrtransfer-apply-grid-view/hrtransfer-apply-grid-view.vue'
),
},
{
path
:
'hr
posts/:hrpost?/v_003/:v_003
?'
,
path
:
'hr
employees/:hremployee?/gridview/:gridview
?'
,
meta
:
{
caption
:
'entities.hr
post.views.v_003
.title'
,
caption
:
'entities.hr
employee.views.gridview
.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'pim'
,
parameterName
:
'pim'
},
{
pathName
:
'hr
posts'
,
parameterName
:
'hrpost
'
},
{
pathName
:
'
v_003'
,
parameterName
:
'v_003
'
},
{
pathName
:
'hr
employees'
,
parameterName
:
'hremployee
'
},
{
pathName
:
'
gridview'
,
parameterName
:
'gridview
'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/human-resource/hr
post-v-003/hrpost-v-003
.vue'
),
component
:
()
=>
import
(
'@pages/human-resource/hr
employee-grid-view/hremployee-grid-view
.vue'
),
},
{
path
:
'hr
employees/:hremployee?/gridview/:gridview
?'
,
path
:
'hr
posts/:hrpost?/v_003/:v_003
?'
,
meta
:
{
caption
:
'entities.hr
employee.views.gridview
.title'
,
caption
:
'entities.hr
post.views.v_003
.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'pim'
,
parameterName
:
'pim'
},
{
pathName
:
'hr
employees'
,
parameterName
:
'hremployee
'
},
{
pathName
:
'
gridview'
,
parameterName
:
'gridview
'
},
{
pathName
:
'hr
posts'
,
parameterName
:
'hrpost
'
},
{
pathName
:
'
v_003'
,
parameterName
:
'v_003
'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/human-resource/hr
employee-grid-view/hremployee-grid-view
.vue'
),
component
:
()
=>
import
(
'@pages/human-resource/hr
post-v-003/hrpost-v-003
.vue'
),
},
{
path
:
'hremployees/:hremployee?/hrtechnicaltitles/:hrtechnicaltitle?/v_006/:v_006?'
,
...
...
@@ -1282,32 +1398,32 @@ const router = new Router({
component
:
()
=>
import
(
'@pages/base/hrlegal-edit-view/hrlegal-edit-view.vue'
),
},
{
path
:
'hr
organizations/:hrorganization?/gridview/:grid
view?'
,
path
:
'hr
duties/:hrduty?/pickupview/:pickup
view?'
,
meta
:
{
caption
:
'entities.hr
organization.views.grid
view.title'
,
caption
:
'entities.hr
duty.views.pickup
view.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'pim'
,
parameterName
:
'pim'
},
{
pathName
:
'hr
organizations'
,
parameterName
:
'hrorganization
'
},
{
pathName
:
'
gridview'
,
parameterName
:
'grid
view'
},
{
pathName
:
'hr
duties'
,
parameterName
:
'hrduty
'
},
{
pathName
:
'
pickupview'
,
parameterName
:
'pickup
view'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/
base/hrorganization-grid-view/hrorganization-grid
-view.vue'
),
component
:
()
=>
import
(
'@pages/
human-resource/hrduty-pickup-view/hrduty-pickup
-view.vue'
),
},
{
path
:
'hr
duties/:hrduty?/pickupview/:pickup
view?'
,
path
:
'hr
organizations/:hrorganization?/gridview/:grid
view?'
,
meta
:
{
caption
:
'entities.hr
duty.views.pickup
view.title'
,
caption
:
'entities.hr
organization.views.grid
view.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'pim'
,
parameterName
:
'pim'
},
{
pathName
:
'hr
duties'
,
parameterName
:
'hrduty
'
},
{
pathName
:
'
pickupview'
,
parameterName
:
'pickup
view'
},
{
pathName
:
'hr
organizations'
,
parameterName
:
'hrorganization
'
},
{
pathName
:
'
gridview'
,
parameterName
:
'grid
view'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/
human-resource/hrduty-pickup-view/hrduty-pickup
-view.vue'
),
component
:
()
=>
import
(
'@pages/
base/hrorganization-grid-view/hrorganization-grid
-view.vue'
),
},
{
path
:
'hrposts/:hrpost?/hrtransferapplies/:hrtransferapply?/wfdynaexpgridview/:wfdynaexpgridview?'
,
...
...
@@ -1728,32 +1844,32 @@ const router = new Router({
component
:
()
=>
import
(
'@pages/human-resource/hrcontract-v-005/hrcontract-v-005.vue'
),
},
{
path
:
'hr
posts/:hrpost?/v_002/:v_002
?'
,
path
:
'hr
employees/:hremployee?/v_005/:v_005
?'
,
meta
:
{
caption
:
'entities.hr
post.views.v_002
.title'
,
caption
:
'entities.hr
employee.views.v_005
.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'pim'
,
parameterName
:
'pim'
},
{
pathName
:
'hr
posts'
,
parameterName
:
'hrpost
'
},
{
pathName
:
'v_00
2'
,
parameterName
:
'v_002
'
},
{
pathName
:
'hr
employees'
,
parameterName
:
'hremployee
'
},
{
pathName
:
'v_00
5'
,
parameterName
:
'v_005
'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/human-resource/hr
post-v-002/hrpost-v-002
.vue'
),
component
:
()
=>
import
(
'@pages/human-resource/hr
employee-v-005/hremployee-v-005
.vue'
),
},
{
path
:
'hr
employees/:hremployee?/v_005/:v_005
?'
,
path
:
'hr
posts/:hrpost?/v_002/:v_002
?'
,
meta
:
{
caption
:
'entities.hr
employee.views.v_005
.title'
,
caption
:
'entities.hr
post.views.v_002
.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'pim'
,
parameterName
:
'pim'
},
{
pathName
:
'hr
employees'
,
parameterName
:
'hremployee
'
},
{
pathName
:
'v_00
5'
,
parameterName
:
'v_005
'
},
{
pathName
:
'hr
posts'
,
parameterName
:
'hrpost
'
},
{
pathName
:
'v_00
2'
,
parameterName
:
'v_002
'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/human-resource/hr
employee-v-005/hremployee-v-005
.vue'
),
component
:
()
=>
import
(
'@pages/human-resource/hr
post-v-002/hrpost-v-002
.vue'
),
},
{
path
:
'hrposts/:hrpost?/hrdistributions/:hrdistribution?/editview/:editview?'
,
...
...
@@ -1974,6 +2090,35 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/human-resource/hrtraining-record-edit-view/hrtraining-record-edit-view.vue'
),
},
{
path
:
'hremployees/:hremployee?/hrarchives/:hrarchives?/v_004/:v_004?'
,
meta
:
{
caption
:
'entities.hrarchives.views.v_004.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'pim'
,
parameterName
:
'pim'
},
{
pathName
:
'hremployees'
,
parameterName
:
'hremployee'
},
{
pathName
:
'hrarchives'
,
parameterName
:
'hrarchives'
},
{
pathName
:
'v_004'
,
parameterName
:
'v_004'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/human-resource/hrarchives-v-004/hrarchives-v-004.vue'
),
},
{
path
:
'hrarchives/:hrarchives?/v_004/:v_004?'
,
meta
:
{
caption
:
'entities.hrarchives.views.v_004.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'pim'
,
parameterName
:
'pim'
},
{
pathName
:
'hrarchives'
,
parameterName
:
'hrarchives'
},
{
pathName
:
'v_004'
,
parameterName
:
'v_004'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/human-resource/hrarchives-v-004/hrarchives-v-004.vue'
),
},
{
path
:
'hroperationunits/:hroperationunit?/hrorgcontacts/:hrorgcontact?/v_001/:v_001?'
,
meta
:
{
...
...
@@ -2105,6 +2250,35 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/base/hromhierarchy-grid-view/hromhierarchy-grid-view.vue'
),
},
{
path
:
'hremployees/:hremployee?/hrarchives/:hrarchives?/v_008/:v_008?'
,
meta
:
{
caption
:
'entities.hrarchives.views.v_008.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'pim'
,
parameterName
:
'pim'
},
{
pathName
:
'hremployees'
,
parameterName
:
'hremployee'
},
{
pathName
:
'hrarchives'
,
parameterName
:
'hrarchives'
},
{
pathName
:
'v_008'
,
parameterName
:
'v_008'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/human-resource/hrarchives-v-008/hrarchives-v-008.vue'
),
},
{
path
:
'hrarchives/:hrarchives?/v_008/:v_008?'
,
meta
:
{
caption
:
'entities.hrarchives.views.v_008.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'pim'
,
parameterName
:
'pim'
},
{
pathName
:
'hrarchives'
,
parameterName
:
'hrarchives'
},
{
pathName
:
'v_008'
,
parameterName
:
'v_008'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/human-resource/hrarchives-v-008/hrarchives-v-008.vue'
),
},
{
path
:
'hrduties/:hrduty?/hrdutycerts/:hrdutycert?/gridview/:gridview?'
,
meta
:
{
...
...
@@ -2163,6 +2337,35 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/human-resource/hrduty-skill-v-002/hrduty-skill-v-002.vue'
),
},
{
path
:
'hremployees/:hremployee?/hrarchives/:hrarchives?/v_007/:v_007?'
,
meta
:
{
caption
:
'entities.hrarchives.views.v_007.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'pim'
,
parameterName
:
'pim'
},
{
pathName
:
'hremployees'
,
parameterName
:
'hremployee'
},
{
pathName
:
'hrarchives'
,
parameterName
:
'hrarchives'
},
{
pathName
:
'v_007'
,
parameterName
:
'v_007'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/human-resource/hrarchives-v-007/hrarchives-v-007.vue'
),
},
{
path
:
'hrarchives/:hrarchives?/v_007/:v_007?'
,
meta
:
{
caption
:
'entities.hrarchives.views.v_007.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'pim'
,
parameterName
:
'pim'
},
{
pathName
:
'hrarchives'
,
parameterName
:
'hrarchives'
},
{
pathName
:
'v_007'
,
parameterName
:
'v_007'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/human-resource/hrarchives-v-007/hrarchives-v-007.vue'
),
},
{
path
:
'hremployees/:hremployee?/treeexpview/:treeexpview?'
,
meta
:
{
...
...
@@ -2177,6 +2380,35 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/human-resource/hremployee-tree-exp-view/hremployee-tree-exp-view.vue'
),
},
{
path
:
'hremployees/:hremployee?/hrarchives/:hrarchives?/v_005/:v_005?'
,
meta
:
{
caption
:
'entities.hrarchives.views.v_005.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'pim'
,
parameterName
:
'pim'
},
{
pathName
:
'hremployees'
,
parameterName
:
'hremployee'
},
{
pathName
:
'hrarchives'
,
parameterName
:
'hrarchives'
},
{
pathName
:
'v_005'
,
parameterName
:
'v_005'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/human-resource/hrarchives-v-005/hrarchives-v-005.vue'
),
},
{
path
:
'hrarchives/:hrarchives?/v_005/:v_005?'
,
meta
:
{
caption
:
'entities.hrarchives.views.v_005.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'pim'
,
parameterName
:
'pim'
},
{
pathName
:
'hrarchives'
,
parameterName
:
'hrarchives'
},
{
pathName
:
'v_005'
,
parameterName
:
'v_005'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/human-resource/hrarchives-v-005/hrarchives-v-005.vue'
),
},
{
path
:
'hremployees/:hremployee?/tabexpview/:tabexpview?'
,
meta
:
{
...
...
@@ -3396,62 +3628,62 @@ const router = new Router({
component
:
()
=>
import
(
'@pages/human-resource/hrdistribution-grid-view/hrdistribution-grid-view.vue'
),
},
{
path
:
'hremployees/:hremployee?/hrarchives/:hrarchives?/
editview/:editview
?'
,
path
:
'hremployees/:hremployee?/hrarchives/:hrarchives?/
v_001/:v_001
?'
,
meta
:
{
caption
:
'entities.hrarchives.views.
editview
.title'
,
caption
:
'entities.hrarchives.views.
v_001
.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'pim'
,
parameterName
:
'pim'
},
{
pathName
:
'hremployees'
,
parameterName
:
'hremployee'
},
{
pathName
:
'hrarchives'
,
parameterName
:
'hrarchives'
},
{
pathName
:
'
editview'
,
parameterName
:
'editview
'
},
{
pathName
:
'
v_001'
,
parameterName
:
'v_001
'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/human-resource/hrarchives-
edit-view/hrarchives-edit-view
.vue'
),
component
:
()
=>
import
(
'@pages/human-resource/hrarchives-
v-001/hrarchives-v-001
.vue'
),
},
{
path
:
'hrarchives/:hrarchives?/
editview/:editview
?'
,
path
:
'hrarchives/:hrarchives?/
v_001/:v_001
?'
,
meta
:
{
caption
:
'entities.hrarchives.views.
editview
.title'
,
caption
:
'entities.hrarchives.views.
v_001
.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'pim'
,
parameterName
:
'pim'
},
{
pathName
:
'hrarchives'
,
parameterName
:
'hrarchives'
},
{
pathName
:
'
editview'
,
parameterName
:
'editview
'
},
{
pathName
:
'
v_001'
,
parameterName
:
'v_001
'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/human-resource/hrarchives-
edit-view/hrarchives-edit-view
.vue'
),
component
:
()
=>
import
(
'@pages/human-resource/hrarchives-
v-001/hrarchives-v-001
.vue'
),
},
{
path
:
'hremployees/:hremployee?/hrarchives/:hrarchives?/
v_001/:v_001
?'
,
path
:
'hremployees/:hremployee?/hrarchives/:hrarchives?/
editview/:editview
?'
,
meta
:
{
caption
:
'entities.hrarchives.views.
v_001
.title'
,
caption
:
'entities.hrarchives.views.
editview
.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'pim'
,
parameterName
:
'pim'
},
{
pathName
:
'hremployees'
,
parameterName
:
'hremployee'
},
{
pathName
:
'hrarchives'
,
parameterName
:
'hrarchives'
},
{
pathName
:
'
v_001'
,
parameterName
:
'v_001
'
},
{
pathName
:
'
editview'
,
parameterName
:
'editview
'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/human-resource/hrarchives-
v-001/hrarchives-v-001
.vue'
),
component
:
()
=>
import
(
'@pages/human-resource/hrarchives-
edit-view/hrarchives-edit-view
.vue'
),
},
{
path
:
'hrarchives/:hrarchives?/
v_001/:v_001
?'
,
path
:
'hrarchives/:hrarchives?/
editview/:editview
?'
,
meta
:
{
caption
:
'entities.hrarchives.views.
v_001
.title'
,
caption
:
'entities.hrarchives.views.
editview
.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'pim'
,
parameterName
:
'pim'
},
{
pathName
:
'hrarchives'
,
parameterName
:
'hrarchives'
},
{
pathName
:
'
v_001'
,
parameterName
:
'v_001
'
},
{
pathName
:
'
editview'
,
parameterName
:
'editview
'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/human-resource/hrarchives-
v-001/hrarchives-v-001
.vue'
),
component
:
()
=>
import
(
'@pages/human-resource/hrarchives-
edit-view/hrarchives-edit-view
.vue'
),
},
{
path
:
'hromhierarchycats/:hromhierarchycat?/hromhierarchies/:hromhierarchy?/pickupgridview/:pickupgridview?'
,
...
...
@@ -3482,6 +3714,35 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/base/hromhierarchy-pickup-grid-view/hromhierarchy-pickup-grid-view.vue'
),
},
{
path
:
'hremployees/:hremployee?/hrarchives/:hrarchives?/v_003/:v_003?'
,
meta
:
{
caption
:
'entities.hrarchives.views.v_003.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'pim'
,
parameterName
:
'pim'
},
{
pathName
:
'hremployees'
,
parameterName
:
'hremployee'
},
{
pathName
:
'hrarchives'
,
parameterName
:
'hrarchives'
},
{
pathName
:
'v_003'
,
parameterName
:
'v_003'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/human-resource/hrarchives-v-003/hrarchives-v-003.vue'
),
},
{
path
:
'hrarchives/:hrarchives?/v_003/:v_003?'
,
meta
:
{
caption
:
'entities.hrarchives.views.v_003.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'pim'
,
parameterName
:
'pim'
},
{
pathName
:
'hrarchives'
,
parameterName
:
'hrarchives'
},
{
pathName
:
'v_003'
,
parameterName
:
'v_003'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/human-resource/hrarchives-v-003/hrarchives-v-003.vue'
),
},
{
path
:
'hremployees/:hremployee?/hrcertificates/:hrcertificate?/tabexpview/:tabexpview?'
,
meta
:
{
...
...
app_PIM/src/store/modules/view-action/state.ts
浏览文件 @
88df5b2e
...
...
@@ -252,6 +252,17 @@ export const viewstate: any = {
'4a61d63445d504cab11cf5f45536b314'
,
],
},
{
viewtag
:
'1d3844e75211900a75e23efd0993ba25'
,
viewmodule
:
'HumanResource'
,
viewname
:
'HRArchivesV_007'
,
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
'5748c15cb24deb3f3fb24d68668711dd'
,
'8bd2a4a14135c358985d4ff9b7ffb88e'
,
],
},
{
viewtag
:
'1fda62030d6149cb5ee6f088bc4f0aa7'
,
viewmodule
:
'HumanResource'
,
...
...
@@ -354,6 +365,17 @@ export const viewstate: any = {
'2ee255b61cfa5e9bb8991f1421e807c3'
,
],
},
{
viewtag
:
'32399525785c11b3d942279a4974420d'
,
viewmodule
:
'HumanResource'
,
viewname
:
'HRArchivesV_009'
,
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
'5748c15cb24deb3f3fb24d68668711dd'
,
'8bd2a4a14135c358985d4ff9b7ffb88e'
,
],
},
{
viewtag
:
'3274463a5fe4c1bcb99fee2240c044ed'
,
viewmodule
:
'HumanResource'
,
...
...
@@ -387,6 +409,15 @@ export const viewstate: any = {
'af1a0e288eecf89cd99ed798594e1753'
,
],
},
{
viewtag
:
'4577fe920c1f8dc9da44a0cab28ca33b'
,
viewmodule
:
'HumanResource'
,
viewname
:
'HRArchivesV_003'
,
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
],
},
{
viewtag
:
'4726bc4ee402aed771ecabe7a6ecdaae'
,
viewmodule
:
'HumanResource'
,
...
...
@@ -405,18 +436,19 @@ export const viewstate: any = {
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
'286e8ac9eca7b6eb8058fde93995db10'
,
'8e90bfab442fc1c89453722dfe094408'
,
'1556b6299248ca949822a15645afc066'
,
'997c27311a28f6ed4e41153c43a5f723'
,
'bae1de77dc5bd2584e2dcf7201a06495'
,
'0d8ac739134947cc5f6545d4041024de'
,
'10c50502a4eebb3c2f6373326db96fc5'
,
'b9130f18de0b66cd31ecaddb5a841aae'
,
'41036146909ab3f28ff59b80370514b2'
,
'8edb721608ec0094af042929943e498e'
,
'114f056047eddd92374e982356e59852'
,
'71c5da4234a5c4d3e46c572556dd52d9'
,
'114f056047eddd92374e982356e59852'
,
'286e8ac9eca7b6eb8058fde93995db10'
,
'c16477290fe18f68c65916e3cbee4a65'
,
'1556b6299248ca949822a15645afc066'
,
'bae1de77dc5bd2584e2dcf7201a06495'
,
'b9130f18de0b66cd31ecaddb5a841aae'
,
'8edb721608ec0094af042929943e498e'
,
],
},
{
...
...
@@ -501,6 +533,18 @@ export const viewstate: any = {
'069985244f19f8c6f8e74e39ef573e9a'
,
],
},
{
viewtag
:
'5748c15cb24deb3f3fb24d68668711dd'
,
viewmodule
:
'HumanResource'
,
viewname
:
'HRArchivesV_005'
,
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
'4726bc4ee402aed771ecabe7a6ecdaae'
,
'd33bb4278ea65f691909636c691a0666'
,
'c01c4604589a2c171c4f41f2ac11f4e2'
,
],
},
{
viewtag
:
'57dbe1035c2366090a02ceb7c8269ebb'
,
viewmodule
:
'HumanResource'
,
...
...
@@ -757,6 +801,17 @@ export const viewstate: any = {
'e7ba37699bd458dc8dd5c02abac8dadd'
,
],
},
{
viewtag
:
'8bd2a4a14135c358985d4ff9b7ffb88e'
,
viewmodule
:
'HumanResource'
,
viewname
:
'HRArchivesV_002'
,
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
'ec9d9fe37bbfc3fcb623e2dc34b48dbc'
,
'e7ba37699bd458dc8dd5c02abac8dadd'
,
],
},
{
viewtag
:
'8db1cc9344908f2f9e2fb21f3849a539'
,
viewmodule
:
'HumanResource'
,
...
...
@@ -950,6 +1005,17 @@ export const viewstate: any = {
refviews
:
[
],
},
{
viewtag
:
'b0527570befbf06448caf276ca882838'
,
viewmodule
:
'HumanResource'
,
viewname
:
'HRArchivesV_008'
,
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
'5748c15cb24deb3f3fb24d68668711dd'
,
'8bd2a4a14135c358985d4ff9b7ffb88e'
,
],
},
{
viewtag
:
'b4b751d7088fd1c29aed976e9e9528b2'
,
viewmodule
:
'HumanResource'
,
...
...
@@ -1122,6 +1188,30 @@ export const viewstate: any = {
refviews
:
[
],
},
{
viewtag
:
'c01c4604589a2c171c4f41f2ac11f4e2'
,
viewmodule
:
'HumanResource'
,
viewname
:
'HRArchivesGridView'
,
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
'5748c15cb24deb3f3fb24d68668711dd'
,
'8bd2a4a14135c358985d4ff9b7ffb88e'
,
],
},
{
viewtag
:
'c16477290fe18f68c65916e3cbee4a65'
,
viewmodule
:
'HumanResource'
,
viewname
:
'HRArchivesV_006'
,
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
'b0527570befbf06448caf276ca882838'
,
'c01c4604589a2c171c4f41f2ac11f4e2'
,
'1d3844e75211900a75e23efd0993ba25'
,
'32399525785c11b3d942279a4974420d'
,
],
},
{
viewtag
:
'c1a754fe9d4ff67c56d0bb4b6ae949be'
,
viewmodule
:
'HumanResource'
,
...
...
@@ -1227,6 +1317,16 @@ export const viewstate: any = {
refviews
:
[
],
},
{
viewtag
:
'd33bb4278ea65f691909636c691a0666'
,
viewmodule
:
'HumanResource'
,
viewname
:
'HRArchivesV_004'
,
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
'4577fe920c1f8dc9da44a0cab28ca33b'
,
],
},
{
viewtag
:
'd4d0e128d8c7e5c141f99540b62fd9bf'
,
viewmodule
:
'HumanResource'
,
...
...
app_PIM/src/uiservice/hrarchives/hrarchives-ui-service-base.ts
浏览文件 @
88df5b2e
...
...
@@ -90,11 +90,15 @@ export default class HRArchivesUIServiceBase extends UIService {
*/
public
initViewMap
(){
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'v_001'
,
srfappde
:
'hrarchives'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'v_007'
,
srfappde
:
'hrarchives'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'v_009'
,
srfappde
:
'hrarchives'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'v_003'
,
srfappde
:
'hrarchives'
});
this
.
allViewMap
.
set
(
'EDITVIEW:'
,{
viewname
:
'editview'
,
srfappde
:
'hrarchives'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'v_005'
,
srfappde
:
'hrarchives'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'v_002'
,
srfappde
:
'hrarchives'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'v_008'
,
srfappde
:
'hrarchives'
});
this
.
allViewMap
.
set
(
'MDATAVIEW:'
,{
viewname
:
'gridview'
,
srfappde
:
'hrarchives'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'v_006'
,
srfappde
:
'hrarchives'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'v_004'
,
srfappde
:
'hrarchives'
});
}
...
...
app_PIM/src/widgets/app/pim-appmenu/pim-appmenu-base.tsx
浏览文件 @
88df5b2e
...
...
@@ -94,8 +94,8 @@ export class PIMBase extends Vue {
Object
.
assign
(
viewparam
,
{});
const
deResParameters
:
any
[]
=
[];
const
parameters
:
any
[]
=
[
{
pathName
:
'hr
technicaltitles'
,
parameterName
:
'hrtechnicaltitle
'
},
{
pathName
:
'
tabexpview'
,
parameterName
:
'tabexpview
'
},
{
pathName
:
'hr
archives'
,
parameterName
:
'hrarchives
'
},
{
pathName
:
'
v_006'
,
parameterName
:
'v_006
'
},
];
const
path
:
string
=
this
.
$viewTool
.
buildUpRoutePath
(
this
.
$route
,
{},
deResParameters
,
parameters
,
[],
viewparam
);
if
(
Object
.
is
(
this
.
$route
.
fullPath
,
path
)){
...
...
app_PIM/src/widgets/app/pim-appmenu/pim-appmenu-model.ts
浏览文件 @
88df5b2e
...
...
@@ -210,7 +210,7 @@ export default class PIMModel {
textcls
:
''
,
appfunctag
:
'_12'
,
appfuncyype
:
'APPVIEW'
,
viewname
:
'hr
technical-title-tab-exp-view
'
,
viewname
:
'hr
archives-v-006
'
,
resourcetag
:
''
,
}
,
...
...
@@ -595,12 +595,12 @@ export default class PIMModel {
appfunctag
:
'_12'
,
appfuncyype
:
'APPVIEW'
,
openmode
:
''
,
codename
:
'hr
technicaltitletabexpview
'
,
codename
:
'hr
archivesv_006
'
,
deResParameters
:
[],
routepath
:
'/pim/:pim?/hr
technicaltitles/:hrtechnicaltitle?/tabexpview/:tabexpview
?'
,
routepath
:
'/pim/:pim?/hr
archives/:hrarchives?/v_006/:v_006
?'
,
parameters
:
[
{
pathName
:
'hr
technicaltitles'
,
parameterName
:
'hrtechnicaltitle
'
},
{
pathName
:
'
tabexpview'
,
parameterName
:
'tabexpview
'
},
{
pathName
:
'hr
archives'
,
parameterName
:
'hrarchives
'
},
{
pathName
:
'
v_006'
,
parameterName
:
'v_006
'
},
],
},
{
...
...
app_PIM/src/widgets/hrarchives/v-006tabexppanel-tabexppanel/v-006tabexppanel-tabexppanel-base.tsx
0 → 100644
浏览文件 @
88df5b2e
import
{
Prop
,
Provide
,
Emit
,
Model
}
from
'vue-property-decorator'
;
import
{
Subject
,
Subscription
}
from
'rxjs'
;
import
{
Watch
,
TabExpPanelControlBase
}
from
'@/studio-core'
;
import
HRArchivesService
from
'@/service/hrarchives/hrarchives-service'
;
import
V_006tabexppanelService
from
'./v-006tabexppanel-tabexppanel-service'
;
import
HRArchivesUIService
from
'@/uiservice/hrarchives/hrarchives-ui-service'
;
/**
* tabexppanel部件基类
*
* @export
* @class TabExpPanelControlBase
* @extends {V_006tabexppanelTabexppanelBase}
*/
export
class
V_006tabexppanelTabexppanelBase
extends
TabExpPanelControlBase
{
/**
* 获取部件类型
*
* @protected
* @type {string}
* @memberof V_006tabexppanelTabexppanelBase
*/
protected
controlType
:
string
=
'TABEXPPANEL'
;
/**
* 建构部件服务对象
*
* @type {V_006tabexppanelService}
* @memberof V_006tabexppanelTabexppanelBase
*/
public
service
:
V_006tabexppanelService
=
new
V_006tabexppanelService
({
$store
:
this
.
$store
});
/**
* 实体服务对象
*
* @type {HRArchivesService}
* @memberof V_006tabexppanelTabexppanelBase
*/
public
appEntityService
:
HRArchivesService
=
new
HRArchivesService
({
$store
:
this
.
$store
});
/**
* 应用实体名称
*
* @protected
* @type {string}
* @memberof V_006tabexppanelTabexppanelBase
*/
protected
appDeName
:
string
=
'hrarchives'
;
/**
* 应用实体中文名称
*
* @protected
* @type {string}
* @memberof V_006tabexppanelTabexppanelBase
*/
protected
appDeLogicName
:
string
=
'档案信息'
;
/**
* 是否初始化
*
* @protected
* @returns {any}
* @memberof V_006tabexppanel
*/
protected
isInit
:
any
=
{
tabviewpanel
:
true
,
tabviewpanel3
:
false
,
tabviewpanel4
:
false
,
tabviewpanel2
:
false
,
}
/**
* 被激活的分页面板
*
* @protected
* @type {string}
* @memberof V_006tabexppanel
*/
protected
activatedTabViewPanel
:
string
=
'tabviewpanel'
;
/**
* 组件创建完毕
*
* @protected
* @memberof V_006tabexppanel
*/
protected
ctrlCreated
():
void
{
//设置分页导航srfparentdename和srfparentkey
if
(
this
.
context
.
hrarchives
)
{
Object
.
assign
(
this
.
context
,
{
srfparentdename
:
'HRArchives'
,
srfparentkey
:
this
.
context
.
hrarchives
});
}
super
.
ctrlCreated
();
}
}
\ No newline at end of file
app_PIM/src/widgets/hrarchives/v-006tabexppanel-tabexppanel/v-006tabexppanel-tabexppanel-model.ts
0 → 100644
浏览文件 @
88df5b2e
/**
* V_006tabexppanel 部件模型
*
* @export
* @class V_006tabexppanelModel
*/
export
default
class
V_006tabexppanelModel
{
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof V_006tabexppanelModel
*/
public
getDataItems
():
any
[]
{
return
[
{
name
:
'hrarchives'
,
prop
:
'hrarchivesid'
,
},
{
name
:
'hrarchivesname'
,
},
{
name
:
'createman'
,
},
{
name
:
'createdate'
,
},
{
name
:
'updateman'
,
},
{
name
:
'updatedate'
,
},
{
name
:
'hremployeeid'
,
},
{
name
:
'hremployeename'
,
},
{
name
:
'employeecode'
,
},
{
name
:
'organizationname'
,
},
{
name
:
'organizationid'
,
},
{
name
:
'empstate'
,
},
{
name
:
'archivescode'
,
},
{
name
:
'archivesroom'
,
},
{
name
:
'archivesplacetype'
,
},
{
name
:
'archivesplace'
,
},
{
name
:
'degree'
,
},
{
name
:
'birthday'
,
},
{
name
:
'politicaltime'
,
},
{
name
:
'startworktime'
,
},
{
name
:
'activeflag'
,
},
{
name
:
'attachment'
,
},
{
name
:
'memo'
,
},
{
name
:
'borrowstate'
,
},
{
name
:
'hrorganizationid'
,
},
{
name
:
'hrorganizationname'
,
},
]
}
}
\ No newline at end of file
app_PIM/src/widgets/hrarchives/v-006tabexppanel-tabexppanel/v-006tabexppanel-tabexppanel-service.ts
0 → 100644
浏览文件 @
88df5b2e
import
{
Http
,
Util
,
Errorlog
}
from
'@/utils'
;
import
ControlService
from
'@/widgets/control-service'
;
import
HRArchivesService
from
'@/service/hrarchives/hrarchives-service'
;
import
V_006tabexppanelModel
from
'./v-006tabexppanel-tabexppanel-model'
;
/**
* V_006tabexppanel 部件服务对象
*
* @export
* @class V_006tabexppanelService
*/
export
default
class
V_006tabexppanelService
extends
ControlService
{
/**
* 档案信息服务对象
*
* @type {HRArchivesService}
* @memberof V_006tabexppanelService
*/
public
appEntityService
:
HRArchivesService
=
new
HRArchivesService
({
$store
:
this
.
getStore
()
});
/**
* 设置从数据模式
*
* @type {boolean}
* @memberof V_006tabexppanelService
*/
public
setTempMode
(){
this
.
isTempMode
=
false
;
}
/**
* Creates an instance of V_006tabexppanelService.
*
* @param {*} [opts={}]
* @memberof V_006tabexppanelService
*/
constructor
(
opts
:
any
=
{})
{
super
(
opts
);
this
.
model
=
new
V_006tabexppanelModel
();
}
}
\ No newline at end of file
app_PIM/src/widgets/hrarchives/v-006tabexppanel-tabexppanel/v-006tabexppanel-tabexppanel.html
0 → 100644
浏览文件 @
88df5b2e
<div
class=
'tabviewpanel'
>
<tabs
:value=
"activatedTabViewPanel"
:animated=
"false"
class=
'tabexppanel'
name=
'v_006tabexppanel'
@
on-click=
"tabPanelClick($event)"
>
<tab-pane
:index=
"0"
name=
'tabviewpanel'
tab=
'v_006tabexppanel'
class=
''
:label=
"(h) =>{
return h('div', [
h('i',{
class:'fa fa-check-square',
style:{
'margin-right' : '2px'
}
}),
h('span', '有效档案'),
h('Badge', {
props: {
count: undefined,
type: 'primary'
}
})
])
}"
>
<view
_tabviewpanel
:viewState=
"viewState"
:viewparams=
"JSON.parse(JSON.stringify(viewparams))"
:context=
"JSON.parse(JSON.stringify(context))"
v-if=
"isInit.tabviewpanel"
name=
"tabviewpanel"
ref=
'tabviewpanel'
:expActive=
"activatedTabViewPanel === 'tabviewpanel'"
@
viewpanelDatasChange =
"tabViewPanelDatasChange"
@
closeview=
"closeView($event)"
>
</view
_tabviewpanel
>
</tab-pane>
<tab-pane
:index=
"1"
name=
'tabviewpanel3'
tab=
'v_006tabexppanel'
class=
''
:label=
"(h) =>{
return h('div', [
h('i',{
class:'fa fa-user',
style:{
'margin-right' : '2px'
}
}),
h('span', '员工不在档'),
h('Badge', {
props: {
count: undefined,
type: 'primary'
}
})
])
}"
>
<view
_tabviewpanel3
:viewState=
"viewState"
:viewparams=
"JSON.parse(JSON.stringify(viewparams))"
:context=
"JSON.parse(JSON.stringify(context))"
v-if=
"isInit.tabviewpanel3"
name=
"tabviewpanel3"
ref=
'tabviewpanel3'
:expActive=
"activatedTabViewPanel === 'tabviewpanel3'"
@
viewpanelDatasChange =
"tabViewPanelDatasChange"
@
closeview=
"closeView($event)"
>
</view
_tabviewpanel3
>
</tab-pane>
<tab-pane
:index=
"2"
name=
'tabviewpanel4'
tab=
'v_006tabexppanel'
class=
''
:label=
"(h) =>{
return h('div', [
h('i',{
class:'fa fa-list-alt',
style:{
'margin-right' : '2px'
}
}),
h('span', '全部档案'),
h('Badge', {
props: {
count: undefined,
type: 'primary'
}
})
])
}"
>
<view
_tabviewpanel4
:viewState=
"viewState"
:viewparams=
"JSON.parse(JSON.stringify(viewparams))"
:context=
"JSON.parse(JSON.stringify(context))"
v-if=
"isInit.tabviewpanel4"
name=
"tabviewpanel4"
ref=
'tabviewpanel4'
:expActive=
"activatedTabViewPanel === 'tabviewpanel4'"
@
viewpanelDatasChange =
"tabViewPanelDatasChange"
@
closeview=
"closeView($event)"
>
</view
_tabviewpanel4
>
</tab-pane>
<tab-pane
:index=
"3"
name=
'tabviewpanel2'
tab=
'v_006tabexppanel'
class=
''
:label=
"(h) =>{
return h('div', [
h('i',{
class:'fa fa-warning',
style:{
'margin-right' : '2px'
}
}),
h('span', '非员工在档'),
h('Badge', {
props: {
count: undefined,
type: 'primary'
}
})
])
}"
>
<view
_tabviewpanel2
:viewState=
"viewState"
:viewparams=
"JSON.parse(JSON.stringify(viewparams))"
:context=
"JSON.parse(JSON.stringify(context))"
v-if=
"isInit.tabviewpanel2"
name=
"tabviewpanel2"
ref=
'tabviewpanel2'
:expActive=
"activatedTabViewPanel === 'tabviewpanel2'"
@
viewpanelDatasChange =
"tabViewPanelDatasChange"
@
closeview=
"closeView($event)"
>
</view
_tabviewpanel2
>
</tab-pane>
</tabs>
</div>
\ No newline at end of file
app_PIM/src/widgets/hrarchives/v-006tabexppanel-tabexppanel/v-006tabexppanel-tabexppanel.vue
0 → 100644
浏览文件 @
88df5b2e
<
template
src=
"./v-006tabexppanel-tabexppanel.html"
/>
<script
lang=
'tsx'
>
import
{ Component } from 'vue-property-decorator';
import { VueLifeCycleProcessing } from '@/studio-core';
import { V_006tabexppanelTabexppanelBase } from './v-006tabexppanel-tabexppanel-base';
import view_tabviewpanel from '@widgets/hrarchives/v-006tabviewpanel-tabviewpanel/v-006tabviewpanel-tabviewpanel.vue';
import view_tabviewpanel3 from '@widgets/hrarchives/v-006tabviewpanel3-tabviewpanel/v-006tabviewpanel3-tabviewpanel.vue';
import view_tabviewpanel4 from '@widgets/hrarchives/v-006tabviewpanel4-tabviewpanel/v-006tabviewpanel4-tabviewpanel.vue';
import view_tabviewpanel2 from '@widgets/hrarchives/v-006tabviewpanel2-tabviewpanel/v-006tabviewpanel2-tabviewpanel.vue';
/**
* tabexppanel部件
*
* @export
* @class V_006tabexppanelTabexppanel
* @extends {V_006tabexppanelTabexppanelBase}
*/
@Component({
components: {
view_tabviewpanel,
view_tabviewpanel3,
view_tabviewpanel4,
view_tabviewpanel2,
}
})
@VueLifeCycleProcessing()
export default class V_006tabexppanelTabexppanel extends V_006tabexppanelTabexppanelBase { }
</script>
app_PIM/src/widgets/hrarchives/v-006tabviewpanel-tabviewpanel/v-006tabviewpanel-tabviewpanel-base.tsx
0 → 100644
浏览文件 @
88df5b2e
import
{
Prop
,
Provide
,
Emit
,
Model
}
from
'vue-property-decorator'
;
import
{
Subject
,
Subscription
}
from
'rxjs'
;
import
{
Watch
,
MainControlBase
}
from
'@/studio-core'
;
import
HRArchivesService
from
'@/service/hrarchives/hrarchives-service'
;
import
V_006tabviewpanelService
from
'./v-006tabviewpanel-tabviewpanel-service'
;
import
HRArchivesUIService
from
'@/uiservice/hrarchives/hrarchives-ui-service'
;
/**
* tabviewpanel部件基类
*
* @export
* @class MainControlBase
* @extends {V_006tabviewpanelTabviewpanelBase}
*/
export
class
V_006tabviewpanelTabviewpanelBase
extends
MainControlBase
{
/**
* 获取部件类型
*
* @protected
* @type {string}
* @memberof V_006tabviewpanelTabviewpanelBase
*/
protected
controlType
:
string
=
'TABVIEWPANEL'
;
/**
* 建构部件服务对象
*
* @type {V_006tabviewpanelService}
* @memberof V_006tabviewpanelTabviewpanelBase
*/
public
service
:
V_006tabviewpanelService
=
new
V_006tabviewpanelService
({
$store
:
this
.
$store
});
/**
* 实体服务对象
*
* @type {HRArchivesService}
* @memberof V_006tabviewpanelTabviewpanelBase
*/
public
appEntityService
:
HRArchivesService
=
new
HRArchivesService
({
$store
:
this
.
$store
});
/**
* 应用实体名称
*
* @protected
* @type {string}
* @memberof V_006tabviewpanelTabviewpanelBase
*/
protected
appDeName
:
string
=
'hrarchives'
;
/**
* 应用实体中文名称
*
* @protected
* @type {string}
* @memberof V_006tabviewpanelTabviewpanelBase
*/
protected
appDeLogicName
:
string
=
'档案信息'
;
/**
* 导航模式下项是否激活
*
* @type {*}
* @memberof V_006tabviewpanel
*/
@
Prop
()
public
expActive
!
:
any
;
/**
* 获取多项数据
*
* @returns {any[]}
* @memberof V_006tabviewpanel
*/
public
getDatas
():
any
[]
{
return
[];
}
/**
* 获取单项树
*
* @returns {*}
* @memberof V_006tabviewpanel
*/
public
getData
():
any
{
return
null
;
}
/**
* 是否被激活
*
* @type {boolean}
* @memberof V_006tabviewpanel
*/
public
isActivied
:
boolean
=
true
;
/**
* 局部上下文
*
* @type {*}
* @memberof V_006tabviewpanel
*/
public
localContext
:
any
=
null
;
/**
* 局部视图参数
*
* @type {*}
* @memberof V_006tabviewpanel
*/
public
localViewParam
:
any
=
null
;
/**
* 传入上下文
*
* @type {string}
* @memberof TabExpViewtabviewpanel
*/
public
viewdata
:
string
=
JSON
.
stringify
(
this
.
context
);
/**
* 传入视图参数
*
* @type {string}
* @memberof PickupViewpickupviewpanel
*/
public
viewparam
:
string
=
JSON
.
stringify
(
this
.
viewparams
);
/**
* 视图面板过滤项
*
* @type {string}
* @memberof V_006tabviewpanel
*/
public
navfilter
:
string
=
""
;
/**
* vue 生命周期
*
* @returns
* @memberof V_006tabviewpanel
*/
public
created
()
{
this
.
afterCreated
();
}
/**
* 执行created后的逻辑
*
* @memberof V_006tabviewpanel
*/
public
afterCreated
(){
this
.
initNavParam
();
if
(
this
.
viewState
)
{
this
.
viewStateEvent
=
this
.
viewState
.
subscribe
(({
tag
,
action
,
data
})
=>
{
if
(
!
Object
.
is
(
tag
,
this
.
name
))
{
return
;
}
this
.
$forceUpdate
();
this
.
initNavParam
();
});
}
}
/**
* 初始化导航参数
*
* @memberof V_006tabviewpanel
*/
public
initNavParam
(){
if
(
!
Object
.
is
(
this
.
navfilter
,
""
)){
Object
.
assign
(
this
.
viewparams
,{[
this
.
navfilter
]:
this
.
context
[
'majorentity'
]})
}
if
(
this
.
localContext
&&
Object
.
keys
(
this
.
localContext
).
length
>
0
){
let
_context
:
any
=
this
.
$util
.
computedNavData
({},
this
.
context
,
this
.
viewparams
,
this
.
localContext
);
Object
.
assign
(
this
.
context
,
_context
);
}
if
(
this
.
localViewParam
&&
Object
.
keys
(
this
.
localViewParam
).
length
>
0
){
let
_param
:
any
=
this
.
$util
.
computedNavData
({},
this
.
context
,
this
.
viewparams
,
this
.
localViewParam
);
Object
.
assign
(
this
.
viewparams
,
_param
);
}
this
.
viewdata
=
JSON
.
stringify
(
this
.
context
);
this
.
viewparam
=
JSON
.
stringify
(
this
.
viewparams
);
}
/**
* 视图数据变化
*
* @memberof V_006tabviewpanel
*/
public
viewDatasChange
(
$event
:
any
){
this
.
$emit
(
'viewpanelDatasChange'
,
$event
);
}
/**
* vue 生命周期
*
* @memberof V_006tabviewpanel
*/
public
destroyed
()
{
this
.
afterDestroy
();
}
/**
* 执行destroyed后的逻辑
*
* @memberof V_006tabviewpanel
*/
public
afterDestroy
()
{
if
(
this
.
viewStateEvent
)
{
this
.
viewStateEvent
.
unsubscribe
();
}
}
}
\ No newline at end of file
app_PIM/src/widgets/hrarchives/v-006tabviewpanel-tabviewpanel/v-006tabviewpanel-tabviewpanel-model.ts
0 → 100644
浏览文件 @
88df5b2e
/**
* V_006tabviewpanel 部件模型
*
* @export
* @class V_006tabviewpanelModel
*/
export
default
class
V_006tabviewpanelModel
{
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof V_006tabviewpanelModel
*/
public
getDataItems
():
any
[]
{
return
[
{
name
:
'hrarchives'
,
prop
:
'hrarchivesid'
,
},
{
name
:
'hrarchivesname'
,
},
{
name
:
'createman'
,
},
{
name
:
'createdate'
,
},
{
name
:
'updateman'
,
},
{
name
:
'updatedate'
,
},
{
name
:
'hremployeeid'
,
},
{
name
:
'hremployeename'
,
},
{
name
:
'employeecode'
,
},
{
name
:
'organizationname'
,
},
{
name
:
'organizationid'
,
},
{
name
:
'empstate'
,
},
{
name
:
'archivescode'
,
},
{
name
:
'archivesroom'
,
},
{
name
:
'archivesplacetype'
,
},
{
name
:
'archivesplace'
,
},
{
name
:
'degree'
,
},
{
name
:
'birthday'
,
},
{
name
:
'politicaltime'
,
},
{
name
:
'startworktime'
,
},
{
name
:
'activeflag'
,
},
{
name
:
'attachment'
,
},
{
name
:
'memo'
,
},
{
name
:
'borrowstate'
,
},
{
name
:
'hrorganizationid'
,
},
{
name
:
'hrorganizationname'
,
},
]
}
}
\ No newline at end of file
app_PIM/src/widgets/hrarchives/v-006tabviewpanel-tabviewpanel/v-006tabviewpanel-tabviewpanel-service.ts
0 → 100644
浏览文件 @
88df5b2e
import
{
Http
}
from
'@/utils'
;
import
ControlService
from
'@/widgets/control-service'
;
/**
* V_006tabviewpanel 部件服务对象
*
* @export
* @class V_006tabviewpanelService
*/
export
default
class
V_006tabviewpanelService
extends
ControlService
{
}
\ No newline at end of file
app_PIM/src/widgets/hrarchives/v-006tabviewpanel-tabviewpanel/v-006tabviewpanel-tabviewpanel.html
0 → 100644
浏览文件 @
88df5b2e
<div
class=
'tabviewpanel'
v-if=
'isActivied'
>
<hrarchives-v-009
class=
'viewcontainer2'
:viewdata=
"viewdata"
:viewparam=
"viewparam"
@
viewload=
"viewDatasChange($event)"
:viewDefaultUsage=
"false"
:viewUsage=
"7"
:expActive=
"expActive"
@
closeview=
"closeView($event)"
/>
</div>
\ No newline at end of file
app_PIM/src/widgets/hrarchives/v-006tabviewpanel-tabviewpanel/v-006tabviewpanel-tabviewpanel.vue
0 → 100644
浏览文件 @
88df5b2e
<
template
src=
"./v-006tabviewpanel-tabviewpanel.html"
/>
<script
lang=
'tsx'
>
import
{ Component } from 'vue-property-decorator';
import { VueLifeCycleProcessing } from '@/studio-core';
import { V_006tabviewpanelTabviewpanelBase } from './v-006tabviewpanel-tabviewpanel-base';
/**
* tabviewpanel部件
*
* @export
* @class V_006tabviewpanelTabviewpanel
* @extends {V_006tabviewpanelTabviewpanelBase}
*/
@Component({
components: {
}
})
@VueLifeCycleProcessing()
export default class V_006tabviewpanelTabviewpanel extends V_006tabviewpanelTabviewpanelBase { }
</script>
app_PIM/src/widgets/hrarchives/v-006tabviewpanel2-tabviewpanel/v-006tabviewpanel2-tabviewpanel-base.tsx
0 → 100644
浏览文件 @
88df5b2e
import
{
Prop
,
Provide
,
Emit
,
Model
}
from
'vue-property-decorator'
;
import
{
Subject
,
Subscription
}
from
'rxjs'
;
import
{
Watch
,
MainControlBase
}
from
'@/studio-core'
;
import
HRArchivesService
from
'@/service/hrarchives/hrarchives-service'
;
import
V_006tabviewpanel2Service
from
'./v-006tabviewpanel2-tabviewpanel-service'
;
import
HRArchivesUIService
from
'@/uiservice/hrarchives/hrarchives-ui-service'
;
/**
* tabviewpanel2部件基类
*
* @export
* @class MainControlBase
* @extends {V_006tabviewpanel2TabviewpanelBase}
*/
export
class
V_006tabviewpanel2TabviewpanelBase
extends
MainControlBase
{
/**
* 获取部件类型
*
* @protected
* @type {string}
* @memberof V_006tabviewpanel2TabviewpanelBase
*/
protected
controlType
:
string
=
'TABVIEWPANEL'
;
/**
* 建构部件服务对象
*
* @type {V_006tabviewpanel2Service}
* @memberof V_006tabviewpanel2TabviewpanelBase
*/
public
service
:
V_006tabviewpanel2Service
=
new
V_006tabviewpanel2Service
({
$store
:
this
.
$store
});
/**
* 实体服务对象
*
* @type {HRArchivesService}
* @memberof V_006tabviewpanel2TabviewpanelBase
*/
public
appEntityService
:
HRArchivesService
=
new
HRArchivesService
({
$store
:
this
.
$store
});
/**
* 应用实体名称
*
* @protected
* @type {string}
* @memberof V_006tabviewpanel2TabviewpanelBase
*/
protected
appDeName
:
string
=
'hrarchives'
;
/**
* 应用实体中文名称
*
* @protected
* @type {string}
* @memberof V_006tabviewpanel2TabviewpanelBase
*/
protected
appDeLogicName
:
string
=
'档案信息'
;
/**
* 导航模式下项是否激活
*
* @type {*}
* @memberof V_006tabviewpanel2
*/
@
Prop
()
public
expActive
!
:
any
;
/**
* 获取多项数据
*
* @returns {any[]}
* @memberof V_006tabviewpanel2
*/
public
getDatas
():
any
[]
{
return
[];
}
/**
* 获取单项树
*
* @returns {*}
* @memberof V_006tabviewpanel2
*/
public
getData
():
any
{
return
null
;
}
/**
* 是否被激活
*
* @type {boolean}
* @memberof V_006tabviewpanel2
*/
public
isActivied
:
boolean
=
true
;
/**
* 局部上下文
*
* @type {*}
* @memberof V_006tabviewpanel2
*/
public
localContext
:
any
=
null
;
/**
* 局部视图参数
*
* @type {*}
* @memberof V_006tabviewpanel2
*/
public
localViewParam
:
any
=
null
;
/**
* 传入上下文
*
* @type {string}
* @memberof TabExpViewtabviewpanel
*/
public
viewdata
:
string
=
JSON
.
stringify
(
this
.
context
);
/**
* 传入视图参数
*
* @type {string}
* @memberof PickupViewpickupviewpanel
*/
public
viewparam
:
string
=
JSON
.
stringify
(
this
.
viewparams
);
/**
* 视图面板过滤项
*
* @type {string}
* @memberof V_006tabviewpanel2
*/
public
navfilter
:
string
=
""
;
/**
* vue 生命周期
*
* @returns
* @memberof V_006tabviewpanel2
*/
public
created
()
{
this
.
afterCreated
();
}
/**
* 执行created后的逻辑
*
* @memberof V_006tabviewpanel2
*/
public
afterCreated
(){
this
.
initNavParam
();
if
(
this
.
viewState
)
{
this
.
viewStateEvent
=
this
.
viewState
.
subscribe
(({
tag
,
action
,
data
})
=>
{
if
(
!
Object
.
is
(
tag
,
this
.
name
))
{
return
;
}
this
.
$forceUpdate
();
this
.
initNavParam
();
});
}
}
/**
* 初始化导航参数
*
* @memberof V_006tabviewpanel2
*/
public
initNavParam
(){
if
(
!
Object
.
is
(
this
.
navfilter
,
""
)){
Object
.
assign
(
this
.
viewparams
,{[
this
.
navfilter
]:
this
.
context
[
'majorentity'
]})
}
if
(
this
.
localContext
&&
Object
.
keys
(
this
.
localContext
).
length
>
0
){
let
_context
:
any
=
this
.
$util
.
computedNavData
({},
this
.
context
,
this
.
viewparams
,
this
.
localContext
);
Object
.
assign
(
this
.
context
,
_context
);
}
if
(
this
.
localViewParam
&&
Object
.
keys
(
this
.
localViewParam
).
length
>
0
){
let
_param
:
any
=
this
.
$util
.
computedNavData
({},
this
.
context
,
this
.
viewparams
,
this
.
localViewParam
);
Object
.
assign
(
this
.
viewparams
,
_param
);
}
this
.
viewdata
=
JSON
.
stringify
(
this
.
context
);
this
.
viewparam
=
JSON
.
stringify
(
this
.
viewparams
);
}
/**
* 视图数据变化
*
* @memberof V_006tabviewpanel2
*/
public
viewDatasChange
(
$event
:
any
){
this
.
$emit
(
'viewpanelDatasChange'
,
$event
);
}
/**
* vue 生命周期
*
* @memberof V_006tabviewpanel2
*/
public
destroyed
()
{
this
.
afterDestroy
();
}
/**
* 执行destroyed后的逻辑
*
* @memberof V_006tabviewpanel2
*/
public
afterDestroy
()
{
if
(
this
.
viewStateEvent
)
{
this
.
viewStateEvent
.
unsubscribe
();
}
}
}
\ No newline at end of file
app_PIM/src/widgets/hrarchives/v-006tabviewpanel2-tabviewpanel/v-006tabviewpanel2-tabviewpanel-model.ts
0 → 100644
浏览文件 @
88df5b2e
/**
* V_006tabviewpanel2 部件模型
*
* @export
* @class V_006tabviewpanel2Model
*/
export
default
class
V_006tabviewpanel2Model
{
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof V_006tabviewpanel2Model
*/
public
getDataItems
():
any
[]
{
return
[
{
name
:
'hrarchives'
,
prop
:
'hrarchivesid'
,
},
{
name
:
'hrarchivesname'
,
},
{
name
:
'createman'
,
},
{
name
:
'createdate'
,
},
{
name
:
'updateman'
,
},
{
name
:
'updatedate'
,
},
{
name
:
'hremployeeid'
,
},
{
name
:
'hremployeename'
,
},
{
name
:
'employeecode'
,
},
{
name
:
'organizationname'
,
},
{
name
:
'organizationid'
,
},
{
name
:
'empstate'
,
},
{
name
:
'archivescode'
,
},
{
name
:
'archivesroom'
,
},
{
name
:
'archivesplacetype'
,
},
{
name
:
'archivesplace'
,
},
{
name
:
'degree'
,
},
{
name
:
'birthday'
,
},
{
name
:
'politicaltime'
,
},
{
name
:
'startworktime'
,
},
{
name
:
'activeflag'
,
},
{
name
:
'attachment'
,
},
{
name
:
'memo'
,
},
{
name
:
'borrowstate'
,
},
{
name
:
'hrorganizationid'
,
},
{
name
:
'hrorganizationname'
,
},
]
}
}
\ No newline at end of file
app_PIM/src/widgets/hrarchives/v-006tabviewpanel2-tabviewpanel/v-006tabviewpanel2-tabviewpanel-service.ts
0 → 100644
浏览文件 @
88df5b2e
import
{
Http
}
from
'@/utils'
;
import
ControlService
from
'@/widgets/control-service'
;
/**
* V_006tabviewpanel2 部件服务对象
*
* @export
* @class V_006tabviewpanel2Service
*/
export
default
class
V_006tabviewpanel2Service
extends
ControlService
{
}
\ No newline at end of file
app_PIM/src/widgets/hrarchives/v-006tabviewpanel2-tabviewpanel/v-006tabviewpanel2-tabviewpanel.html
0 → 100644
浏览文件 @
88df5b2e
<div
class=
'tabviewpanel'
v-if=
'isActivied'
>
<hrarchives-v-007
class=
'viewcontainer2'
:viewdata=
"viewdata"
:viewparam=
"viewparam"
@
viewload=
"viewDatasChange($event)"
:viewDefaultUsage=
"false"
:viewUsage=
"7"
:expActive=
"expActive"
@
closeview=
"closeView($event)"
/>
</div>
\ No newline at end of file
app_PIM/src/widgets/hrarchives/v-006tabviewpanel2-tabviewpanel/v-006tabviewpanel2-tabviewpanel.vue
0 → 100644
浏览文件 @
88df5b2e
<
template
src=
"./v-006tabviewpanel2-tabviewpanel.html"
/>
<script
lang=
'tsx'
>
import
{ Component } from 'vue-property-decorator';
import { VueLifeCycleProcessing } from '@/studio-core';
import { V_006tabviewpanel2TabviewpanelBase } from './v-006tabviewpanel2-tabviewpanel-base';
/**
* tabviewpanel2部件
*
* @export
* @class V_006tabviewpanel2Tabviewpanel
* @extends {V_006tabviewpanel2TabviewpanelBase}
*/
@Component({
components: {
}
})
@VueLifeCycleProcessing()
export default class V_006tabviewpanel2Tabviewpanel extends V_006tabviewpanel2TabviewpanelBase { }
</script>
app_PIM/src/widgets/hrarchives/v-006tabviewpanel3-tabviewpanel/v-006tabviewpanel3-tabviewpanel-base.tsx
0 → 100644
浏览文件 @
88df5b2e
import
{
Prop
,
Provide
,
Emit
,
Model
}
from
'vue-property-decorator'
;
import
{
Subject
,
Subscription
}
from
'rxjs'
;
import
{
Watch
,
MainControlBase
}
from
'@/studio-core'
;
import
HRArchivesService
from
'@/service/hrarchives/hrarchives-service'
;
import
V_006tabviewpanel3Service
from
'./v-006tabviewpanel3-tabviewpanel-service'
;
import
HRArchivesUIService
from
'@/uiservice/hrarchives/hrarchives-ui-service'
;
/**
* tabviewpanel3部件基类
*
* @export
* @class MainControlBase
* @extends {V_006tabviewpanel3TabviewpanelBase}
*/
export
class
V_006tabviewpanel3TabviewpanelBase
extends
MainControlBase
{
/**
* 获取部件类型
*
* @protected
* @type {string}
* @memberof V_006tabviewpanel3TabviewpanelBase
*/
protected
controlType
:
string
=
'TABVIEWPANEL'
;
/**
* 建构部件服务对象
*
* @type {V_006tabviewpanel3Service}
* @memberof V_006tabviewpanel3TabviewpanelBase
*/
public
service
:
V_006tabviewpanel3Service
=
new
V_006tabviewpanel3Service
({
$store
:
this
.
$store
});
/**
* 实体服务对象
*
* @type {HRArchivesService}
* @memberof V_006tabviewpanel3TabviewpanelBase
*/
public
appEntityService
:
HRArchivesService
=
new
HRArchivesService
({
$store
:
this
.
$store
});
/**
* 应用实体名称
*
* @protected
* @type {string}
* @memberof V_006tabviewpanel3TabviewpanelBase
*/
protected
appDeName
:
string
=
'hrarchives'
;
/**
* 应用实体中文名称
*
* @protected
* @type {string}
* @memberof V_006tabviewpanel3TabviewpanelBase
*/
protected
appDeLogicName
:
string
=
'档案信息'
;
/**
* 导航模式下项是否激活
*
* @type {*}
* @memberof V_006tabviewpanel3
*/
@
Prop
()
public
expActive
!
:
any
;
/**
* 获取多项数据
*
* @returns {any[]}
* @memberof V_006tabviewpanel3
*/
public
getDatas
():
any
[]
{
return
[];
}
/**
* 获取单项树
*
* @returns {*}
* @memberof V_006tabviewpanel3
*/
public
getData
():
any
{
return
null
;
}
/**
* 是否被激活
*
* @type {boolean}
* @memberof V_006tabviewpanel3
*/
public
isActivied
:
boolean
=
true
;
/**
* 局部上下文
*
* @type {*}
* @memberof V_006tabviewpanel3
*/
public
localContext
:
any
=
null
;
/**
* 局部视图参数
*
* @type {*}
* @memberof V_006tabviewpanel3
*/
public
localViewParam
:
any
=
null
;
/**
* 传入上下文
*
* @type {string}
* @memberof TabExpViewtabviewpanel
*/
public
viewdata
:
string
=
JSON
.
stringify
(
this
.
context
);
/**
* 传入视图参数
*
* @type {string}
* @memberof PickupViewpickupviewpanel
*/
public
viewparam
:
string
=
JSON
.
stringify
(
this
.
viewparams
);
/**
* 视图面板过滤项
*
* @type {string}
* @memberof V_006tabviewpanel3
*/
public
navfilter
:
string
=
""
;
/**
* vue 生命周期
*
* @returns
* @memberof V_006tabviewpanel3
*/
public
created
()
{
this
.
afterCreated
();
}
/**
* 执行created后的逻辑
*
* @memberof V_006tabviewpanel3
*/
public
afterCreated
(){
this
.
initNavParam
();
if
(
this
.
viewState
)
{
this
.
viewStateEvent
=
this
.
viewState
.
subscribe
(({
tag
,
action
,
data
})
=>
{
if
(
!
Object
.
is
(
tag
,
this
.
name
))
{
return
;
}
this
.
$forceUpdate
();
this
.
initNavParam
();
});
}
}
/**
* 初始化导航参数
*
* @memberof V_006tabviewpanel3
*/
public
initNavParam
(){
if
(
!
Object
.
is
(
this
.
navfilter
,
""
)){
Object
.
assign
(
this
.
viewparams
,{[
this
.
navfilter
]:
this
.
context
[
'majorentity'
]})
}
if
(
this
.
localContext
&&
Object
.
keys
(
this
.
localContext
).
length
>
0
){
let
_context
:
any
=
this
.
$util
.
computedNavData
({},
this
.
context
,
this
.
viewparams
,
this
.
localContext
);
Object
.
assign
(
this
.
context
,
_context
);
}
if
(
this
.
localViewParam
&&
Object
.
keys
(
this
.
localViewParam
).
length
>
0
){
let
_param
:
any
=
this
.
$util
.
computedNavData
({},
this
.
context
,
this
.
viewparams
,
this
.
localViewParam
);
Object
.
assign
(
this
.
viewparams
,
_param
);
}
this
.
viewdata
=
JSON
.
stringify
(
this
.
context
);
this
.
viewparam
=
JSON
.
stringify
(
this
.
viewparams
);
}
/**
* 视图数据变化
*
* @memberof V_006tabviewpanel3
*/
public
viewDatasChange
(
$event
:
any
){
this
.
$emit
(
'viewpanelDatasChange'
,
$event
);
}
/**
* vue 生命周期
*
* @memberof V_006tabviewpanel3
*/
public
destroyed
()
{
this
.
afterDestroy
();
}
/**
* 执行destroyed后的逻辑
*
* @memberof V_006tabviewpanel3
*/
public
afterDestroy
()
{
if
(
this
.
viewStateEvent
)
{
this
.
viewStateEvent
.
unsubscribe
();
}
}
}
\ No newline at end of file
app_PIM/src/widgets/hrarchives/v-006tabviewpanel3-tabviewpanel/v-006tabviewpanel3-tabviewpanel-model.ts
0 → 100644
浏览文件 @
88df5b2e
/**
* V_006tabviewpanel3 部件模型
*
* @export
* @class V_006tabviewpanel3Model
*/
export
default
class
V_006tabviewpanel3Model
{
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof V_006tabviewpanel3Model
*/
public
getDataItems
():
any
[]
{
return
[
{
name
:
'hrarchives'
,
prop
:
'hrarchivesid'
,
},
{
name
:
'hrarchivesname'
,
},
{
name
:
'createman'
,
},
{
name
:
'createdate'
,
},
{
name
:
'updateman'
,
},
{
name
:
'updatedate'
,
},
{
name
:
'hremployeeid'
,
},
{
name
:
'hremployeename'
,
},
{
name
:
'employeecode'
,
},
{
name
:
'organizationname'
,
},
{
name
:
'organizationid'
,
},
{
name
:
'empstate'
,
},
{
name
:
'archivescode'
,
},
{
name
:
'archivesroom'
,
},
{
name
:
'archivesplacetype'
,
},
{
name
:
'archivesplace'
,
},
{
name
:
'degree'
,
},
{
name
:
'birthday'
,
},
{
name
:
'politicaltime'
,
},
{
name
:
'startworktime'
,
},
{
name
:
'activeflag'
,
},
{
name
:
'attachment'
,
},
{
name
:
'memo'
,
},
{
name
:
'borrowstate'
,
},
{
name
:
'hrorganizationid'
,
},
{
name
:
'hrorganizationname'
,
},
]
}
}
\ No newline at end of file
app_PIM/src/widgets/hrarchives/v-006tabviewpanel3-tabviewpanel/v-006tabviewpanel3-tabviewpanel-service.ts
0 → 100644
浏览文件 @
88df5b2e
import
{
Http
}
from
'@/utils'
;
import
ControlService
from
'@/widgets/control-service'
;
/**
* V_006tabviewpanel3 部件服务对象
*
* @export
* @class V_006tabviewpanel3Service
*/
export
default
class
V_006tabviewpanel3Service
extends
ControlService
{
}
\ No newline at end of file
app_PIM/src/widgets/hrarchives/v-006tabviewpanel3-tabviewpanel/v-006tabviewpanel3-tabviewpanel.html
0 → 100644
浏览文件 @
88df5b2e
<div
class=
'tabviewpanel'
v-if=
'isActivied'
>
<hrarchives-v-008
class=
'viewcontainer2'
:viewdata=
"viewdata"
:viewparam=
"viewparam"
@
viewload=
"viewDatasChange($event)"
:viewDefaultUsage=
"false"
:viewUsage=
"7"
:expActive=
"expActive"
@
closeview=
"closeView($event)"
/>
</div>
\ No newline at end of file
app_PIM/src/widgets/hrarchives/v-006tabviewpanel3-tabviewpanel/v-006tabviewpanel3-tabviewpanel.vue
0 → 100644
浏览文件 @
88df5b2e
<
template
src=
"./v-006tabviewpanel3-tabviewpanel.html"
/>
<script
lang=
'tsx'
>
import
{ Component } from 'vue-property-decorator';
import { VueLifeCycleProcessing } from '@/studio-core';
import { V_006tabviewpanel3TabviewpanelBase } from './v-006tabviewpanel3-tabviewpanel-base';
/**
* tabviewpanel3部件
*
* @export
* @class V_006tabviewpanel3Tabviewpanel
* @extends {V_006tabviewpanel3TabviewpanelBase}
*/
@Component({
components: {
}
})
@VueLifeCycleProcessing()
export default class V_006tabviewpanel3Tabviewpanel extends V_006tabviewpanel3TabviewpanelBase { }
</script>
app_PIM/src/widgets/hrarchives/v-006tabviewpanel4-tabviewpanel/v-006tabviewpanel4-tabviewpanel-base.tsx
0 → 100644
浏览文件 @
88df5b2e
import
{
Prop
,
Provide
,
Emit
,
Model
}
from
'vue-property-decorator'
;
import
{
Subject
,
Subscription
}
from
'rxjs'
;
import
{
Watch
,
MainControlBase
}
from
'@/studio-core'
;
import
HRArchivesService
from
'@/service/hrarchives/hrarchives-service'
;
import
V_006tabviewpanel4Service
from
'./v-006tabviewpanel4-tabviewpanel-service'
;
import
HRArchivesUIService
from
'@/uiservice/hrarchives/hrarchives-ui-service'
;
/**
* tabviewpanel4部件基类
*
* @export
* @class MainControlBase
* @extends {V_006tabviewpanel4TabviewpanelBase}
*/
export
class
V_006tabviewpanel4TabviewpanelBase
extends
MainControlBase
{
/**
* 获取部件类型
*
* @protected
* @type {string}
* @memberof V_006tabviewpanel4TabviewpanelBase
*/
protected
controlType
:
string
=
'TABVIEWPANEL'
;
/**
* 建构部件服务对象
*
* @type {V_006tabviewpanel4Service}
* @memberof V_006tabviewpanel4TabviewpanelBase
*/
public
service
:
V_006tabviewpanel4Service
=
new
V_006tabviewpanel4Service
({
$store
:
this
.
$store
});
/**
* 实体服务对象
*
* @type {HRArchivesService}
* @memberof V_006tabviewpanel4TabviewpanelBase
*/
public
appEntityService
:
HRArchivesService
=
new
HRArchivesService
({
$store
:
this
.
$store
});
/**
* 应用实体名称
*
* @protected
* @type {string}
* @memberof V_006tabviewpanel4TabviewpanelBase
*/
protected
appDeName
:
string
=
'hrarchives'
;
/**
* 应用实体中文名称
*
* @protected
* @type {string}
* @memberof V_006tabviewpanel4TabviewpanelBase
*/
protected
appDeLogicName
:
string
=
'档案信息'
;
/**
* 导航模式下项是否激活
*
* @type {*}
* @memberof V_006tabviewpanel4
*/
@
Prop
()
public
expActive
!
:
any
;
/**
* 获取多项数据
*
* @returns {any[]}
* @memberof V_006tabviewpanel4
*/
public
getDatas
():
any
[]
{
return
[];
}
/**
* 获取单项树
*
* @returns {*}
* @memberof V_006tabviewpanel4
*/
public
getData
():
any
{
return
null
;
}
/**
* 是否被激活
*
* @type {boolean}
* @memberof V_006tabviewpanel4
*/
public
isActivied
:
boolean
=
true
;
/**
* 局部上下文
*
* @type {*}
* @memberof V_006tabviewpanel4
*/
public
localContext
:
any
=
null
;
/**
* 局部视图参数
*
* @type {*}
* @memberof V_006tabviewpanel4
*/
public
localViewParam
:
any
=
null
;
/**
* 传入上下文
*
* @type {string}
* @memberof TabExpViewtabviewpanel
*/
public
viewdata
:
string
=
JSON
.
stringify
(
this
.
context
);
/**
* 传入视图参数
*
* @type {string}
* @memberof PickupViewpickupviewpanel
*/
public
viewparam
:
string
=
JSON
.
stringify
(
this
.
viewparams
);
/**
* 视图面板过滤项
*
* @type {string}
* @memberof V_006tabviewpanel4
*/
public
navfilter
:
string
=
""
;
/**
* vue 生命周期
*
* @returns
* @memberof V_006tabviewpanel4
*/
public
created
()
{
this
.
afterCreated
();
}
/**
* 执行created后的逻辑
*
* @memberof V_006tabviewpanel4
*/
public
afterCreated
(){
this
.
initNavParam
();
if
(
this
.
viewState
)
{
this
.
viewStateEvent
=
this
.
viewState
.
subscribe
(({
tag
,
action
,
data
})
=>
{
if
(
!
Object
.
is
(
tag
,
this
.
name
))
{
return
;
}
this
.
$forceUpdate
();
this
.
initNavParam
();
});
}
}
/**
* 初始化导航参数
*
* @memberof V_006tabviewpanel4
*/
public
initNavParam
(){
if
(
!
Object
.
is
(
this
.
navfilter
,
""
)){
Object
.
assign
(
this
.
viewparams
,{[
this
.
navfilter
]:
this
.
context
[
'majorentity'
]})
}
if
(
this
.
localContext
&&
Object
.
keys
(
this
.
localContext
).
length
>
0
){
let
_context
:
any
=
this
.
$util
.
computedNavData
({},
this
.
context
,
this
.
viewparams
,
this
.
localContext
);
Object
.
assign
(
this
.
context
,
_context
);
}
if
(
this
.
localViewParam
&&
Object
.
keys
(
this
.
localViewParam
).
length
>
0
){
let
_param
:
any
=
this
.
$util
.
computedNavData
({},
this
.
context
,
this
.
viewparams
,
this
.
localViewParam
);
Object
.
assign
(
this
.
viewparams
,
_param
);
}
this
.
viewdata
=
JSON
.
stringify
(
this
.
context
);
this
.
viewparam
=
JSON
.
stringify
(
this
.
viewparams
);
}
/**
* 视图数据变化
*
* @memberof V_006tabviewpanel4
*/
public
viewDatasChange
(
$event
:
any
){
this
.
$emit
(
'viewpanelDatasChange'
,
$event
);
}
/**
* vue 生命周期
*
* @memberof V_006tabviewpanel4
*/
public
destroyed
()
{
this
.
afterDestroy
();
}
/**
* 执行destroyed后的逻辑
*
* @memberof V_006tabviewpanel4
*/
public
afterDestroy
()
{
if
(
this
.
viewStateEvent
)
{
this
.
viewStateEvent
.
unsubscribe
();
}
}
}
\ No newline at end of file
app_PIM/src/widgets/hrarchives/v-006tabviewpanel4-tabviewpanel/v-006tabviewpanel4-tabviewpanel-model.ts
0 → 100644
浏览文件 @
88df5b2e
/**
* V_006tabviewpanel4 部件模型
*
* @export
* @class V_006tabviewpanel4Model
*/
export
default
class
V_006tabviewpanel4Model
{
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof V_006tabviewpanel4Model
*/
public
getDataItems
():
any
[]
{
return
[
{
name
:
'hrarchives'
,
prop
:
'hrarchivesid'
,
},
{
name
:
'hrarchivesname'
,
},
{
name
:
'createman'
,
},
{
name
:
'createdate'
,
},
{
name
:
'updateman'
,
},
{
name
:
'updatedate'
,
},
{
name
:
'hremployeeid'
,
},
{
name
:
'hremployeename'
,
},
{
name
:
'employeecode'
,
},
{
name
:
'organizationname'
,
},
{
name
:
'organizationid'
,
},
{
name
:
'empstate'
,
},
{
name
:
'archivescode'
,
},
{
name
:
'archivesroom'
,
},
{
name
:
'archivesplacetype'
,
},
{
name
:
'archivesplace'
,
},
{
name
:
'degree'
,
},
{
name
:
'birthday'
,
},
{
name
:
'politicaltime'
,
},
{
name
:
'startworktime'
,
},
{
name
:
'activeflag'
,
},
{
name
:
'attachment'
,
},
{
name
:
'memo'
,
},
{
name
:
'borrowstate'
,
},
{
name
:
'hrorganizationid'
,
},
{
name
:
'hrorganizationname'
,
},
]
}
}
\ No newline at end of file
app_PIM/src/widgets/hrarchives/v-006tabviewpanel4-tabviewpanel/v-006tabviewpanel4-tabviewpanel-service.ts
0 → 100644
浏览文件 @
88df5b2e
import
{
Http
}
from
'@/utils'
;
import
ControlService
from
'@/widgets/control-service'
;
/**
* V_006tabviewpanel4 部件服务对象
*
* @export
* @class V_006tabviewpanel4Service
*/
export
default
class
V_006tabviewpanel4Service
extends
ControlService
{
}
\ No newline at end of file
app_PIM/src/widgets/hrarchives/v-006tabviewpanel4-tabviewpanel/v-006tabviewpanel4-tabviewpanel.html
0 → 100644
浏览文件 @
88df5b2e
<div
class=
'tabviewpanel'
v-if=
'isActivied'
>
<hrarchives-grid-view
class=
'viewcontainer2'
:viewdata=
"viewdata"
:viewparam=
"viewparam"
@
viewload=
"viewDatasChange($event)"
:viewDefaultUsage=
"false"
:viewUsage=
"7"
:expActive=
"expActive"
@
closeview=
"closeView($event)"
/>
</div>
\ No newline at end of file
app_PIM/src/widgets/hrarchives/v-006tabviewpanel4-tabviewpanel/v-006tabviewpanel4-tabviewpanel.vue
0 → 100644
浏览文件 @
88df5b2e
<
template
src=
"./v-006tabviewpanel4-tabviewpanel.html"
/>
<script
lang=
'tsx'
>
import
{ Component } from 'vue-property-decorator';
import { VueLifeCycleProcessing } from '@/studio-core';
import { V_006tabviewpanel4TabviewpanelBase } from './v-006tabviewpanel4-tabviewpanel-base';
/**
* tabviewpanel4部件
*
* @export
* @class V_006tabviewpanel4Tabviewpanel
* @extends {V_006tabviewpanel4TabviewpanelBase}
*/
@Component({
components: {
}
})
@VueLifeCycleProcessing()
export default class V_006tabviewpanel4Tabviewpanel extends V_006tabviewpanel4TabviewpanelBase { }
</script>
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录