Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
iBiz人力资源
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
iBiz企业套件
iBiz人力资源
提交
d6b184a6
提交
d6b184a6
编写于
8月 12, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Miracle 部署微服务应用
上级
ff7aa40e
变更
53
隐藏空白字符变更
内嵌
并排
正在显示
53 个修改的文件
包含
2416 行增加
和
207 行删除
+2416
-207
view-config.json
app_PIM/public/assets/json/view-config.json
+20
-0
app-rich-text-editor.vue
.../components/app-rich-text-editor/app-rich-text-editor.vue
+2
-2
hrarchives.ts
app_PIM/src/interface/entity/hrarchives.ts
+120
-0
hrcertificate.ts
app_PIM/src/interface/entity/hrcertificate.ts
+32
-0
hrtechnical-title.ts
app_PIM/src/interface/entity/hrtechnical-title.ts
+32
-0
en-US.ts
app_PIM/src/locale/lang/en-US.ts
+3
-0
zh-CN.ts
app_PIM/src/locale/lang/zh-CN.ts
+3
-0
hrarchives_en_US.ts
...src/locale/lanres/entities/hrarchives/hrarchives_en_US.ts
+15
-0
hrarchives_zh_CN.ts
...src/locale/lanres/entities/hrarchives/hrarchives_zh_CN.ts
+15
-0
hrcertificate_en_US.ts
...cale/lanres/entities/hrcertificate/hrcertificate_en_US.ts
+4
-0
hrcertificate_zh_CN.ts
...cale/lanres/entities/hrcertificate/hrcertificate_zh_CN.ts
+4
-0
hrtechnical-title_en_US.ts
...res/entities/hrtechnical-title/hrtechnical-title_en_US.ts
+4
-0
hrtechnical-title_zh_CN.ts
...res/entities/hrtechnical-title/hrtechnical-title_zh_CN.ts
+4
-0
hrtransfer-apply_en_US.ts
...anres/entities/hrtransfer-apply/hrtransfer-apply_en_US.ts
+144
-0
hrtransfer-apply_zh_CN.ts
...anres/entities/hrtransfer-apply/hrtransfer-apply_zh_CN.ts
+144
-0
pim-appmenu.ts
app_PIM/src/mock/app/pim-appmenu/pim-appmenu.ts
+48
-12
viewconfig.ts
app_PIM/src/mock/viewconfig/viewconfig.ts
+16
-0
hrcontract-grid-view.html
...n-resource/hrcontract-grid-view/hrcontract-grid-view.html
+1
-1
hrcontract-v-001.html
...ges/human-resource/hrcontract-v-001/hrcontract-v-001.html
+1
-1
hrcontract-v-002.html
...ges/human-resource/hrcontract-v-002/hrcontract-v-002.html
+1
-1
hrcontract-v-003.html
...ges/human-resource/hrcontract-v-003/hrcontract-v-003.html
+1
-1
hrcontract-v-004.html
...ges/human-resource/hrcontract-v-004/hrcontract-v-004.html
+1
-1
hrtransfer-apply-wfdyna-edit-view-base.tsx
...dyna-edit-view/hrtransfer-apply-wfdyna-edit-view-base.tsx
+5
-0
hrtransfer-apply-wfdyna-edit-view.html
...y-wfdyna-edit-view/hrtransfer-apply-wfdyna-edit-view.html
+5
-0
hrtransfer-apply-wfdyna-edit-view.less
...y-wfdyna-edit-view/hrtransfer-apply-wfdyna-edit-view.less
+5
-0
hrtransfer-apply-wfdyna-edit-view.vue
...ly-wfdyna-edit-view/hrtransfer-apply-wfdyna-edit-view.vue
+22
-0
hrtransfer-apply-wfdyna-exp-grid-view-base.tsx
...-grid-view/hrtransfer-apply-wfdyna-exp-grid-view-base.tsx
+1188
-0
hrtransfer-apply-wfdyna-exp-grid-view.html
...-exp-grid-view/hrtransfer-apply-wfdyna-exp-grid-view.html
+5
-0
hrtransfer-apply-wfdyna-exp-grid-view.less
...-exp-grid-view/hrtransfer-apply-wfdyna-exp-grid-view.less
+5
-0
hrtransfer-apply-wfdyna-exp-grid-view.vue
...a-exp-grid-view/hrtransfer-apply-wfdyna-exp-grid-view.vue
+24
-0
page-register.ts
app_PIM/src/pages/ungroup/pim/page-register.ts
+4
-2
pim-base.tsx
app_PIM/src/pages/ungroup/pim/pim-base.tsx
+60
-0
router.ts
app_PIM/src/pages/ungroup/pim/router.ts
+152
-34
state.ts
app_PIM/src/store/modules/view-action/state.ts
+30
-6
app-header-menus.tsx
...dio-core/components/app-header-menus/app-header-menus.tsx
+6
-0
app-content-bottom-exp.tsx
.../layout/app-content-bottom-exp/app-content-bottom-exp.tsx
+1
-1
app-content-left-exp.tsx
...ents/layout/app-content-left-exp/app-content-left-exp.tsx
+4
-1
user-info.tsx
app_PIM/src/studio-core/components/user-info/user-info.tsx
+6
-0
EditFormControlBase.tsx
app_PIM/src/studio-core/widgets/EditFormControlBase.tsx
+47
-0
hrduty-ui-service-base.ts
app_PIM/src/uiservice/hrduty/hrduty-ui-service-base.ts
+1
-1
hremployee-ui-service-base.ts
...IM/src/uiservice/hremployee/hremployee-ui-service-base.ts
+1
-1
hrlegal-ui-service-base.ts
app_PIM/src/uiservice/hrlegal/hrlegal-ui-service-base.ts
+1
-1
hroperation-unit-ui-service-base.ts
...vice/hroperation-unit/hroperation-unit-ui-service-base.ts
+1
-1
hrpost-ui-service-base.ts
app_PIM/src/uiservice/hrpost/hrpost-ui-service-base.ts
+1
-1
hrtransfer-apply-ui-service-base.ts
...vice/hrtransfer-apply/hrtransfer-apply-ui-service-base.ts
+3
-1
pim-appmenu-base.tsx
app_PIM/src/widgets/app/pim-appmenu/pim-appmenu-base.tsx
+88
-54
pim-appmenu-model.ts
app_PIM/src/widgets/app/pim-appmenu/pim-appmenu-model.ts
+110
-58
config.xml
config.xml
+5
-5
Dockerfile
...urce-app/humanresource-app-pim/src/main/docker/Dockerfile
+1
-1
humanresource-app-pim.yaml
...source-app-pim/src/main/docker/humanresource-app-pim.yaml
+17
-1
systemResource.json
...ce-core/src/main/resources/permission/systemResource.json
+1
-1
Dockerfile
...r/humanresource-provider-hrapi/src/main/docker/Dockerfile
+1
-1
humanresource-provider-hrapi.yaml
...r-hrapi/src/main/docker/humanresource-provider-hrapi.yaml
+1
-17
未找到文件。
app_PIM/public/assets/json/view-config.json
浏览文件 @
d6b184a6
...
...
@@ -139,6 +139,16 @@
"viewtag"
:
"0dbdd98c4946bd6e79feb18e32dd387b"
,
"memo"
:
""
},
"hrtransferapplywfdynaexpgridview"
:
{
"title"
:
"调动申请工作流导航表格视图"
,
"caption"
:
"调动申请"
,
"viewtype"
:
"DEWFDYNAEXPGRIDVIEW"
,
"viewmodule"
:
"Pcm"
,
"viewname"
:
"HRTransferApplyWFDynaExpGridView"
,
"viewfilename"
:
"hrtransfer-apply-wfdyna-exp-grid-view"
,
"viewtag"
:
"10c50502a4eebb3c2f6373326db96fc5"
,
"memo"
:
""
},
"hromhierarchycatgridview"
:
{
"title"
:
"组织层次结构"
,
"caption"
:
"结构层次类别"
,
...
...
@@ -1059,6 +1069,16 @@
"viewtag"
:
"c62ff001669cca98c0a2a7bc3383c775"
,
"memo"
:
""
},
"hrtransferapplywfdynaeditview"
:
{
"title"
:
"调动申请"
,
"caption"
:
"调动申请"
,
"viewtype"
:
"DEWFDYNAEDITVIEW"
,
"viewmodule"
:
"Pcm"
,
"viewname"
:
"HRTransferApplyWFDynaEditView"
,
"viewfilename"
:
"hrtransfer-apply-wfdyna-edit-view"
,
"viewtag"
:
"c8310acd7e65d023051725aac59122d9"
,
"memo"
:
""
},
"hremployeedashboardview"
:
{
"title"
:
"员工看板"
,
"caption"
:
"员工看板"
,
...
...
app_PIM/src/components/app-rich-text-editor/app-rich-text-editor.vue
浏览文件 @
d6b184a6
...
...
@@ -301,7 +301,7 @@ export default class AppRichTextEditor extends Vue {
@
Watch
(
'value'
,
{
immediate
:
true
,
deep
:
true
})
oncurrentContent
(
newval
:
any
,
val
:
any
)
{
const
content
:
any
=
this
.
editor
?
this
.
editor
.
getContent
()
:
undefined
;
const
url
=
this
.
downloadUrl
.
substring
(
3
)
;
const
url
=
this
.
downloadUrl
.
indexOf
(
'../'
)
===
0
?
this
.
downloadUrl
.
substring
(
3
)
:
this
.
downloadUrl
;
if
(
newval
)
{
newval
=
newval
.
replace
(
/
\{(\d
+
)\.(
bmp|jpg|jpeg|png|tif|gif|pcx|tga|exif|fpx|svg|psd|cdr|pcd|dxf|ufo|eps|ai|raw|WMF|webp
)\}
/g
,
`
${
url
}
/$1`
);
}
...
...
@@ -364,7 +364,7 @@ export default class AppRichTextEditor extends Vue {
richtexteditor
.
editor
=
editor
;
editor
.
on
(
'blur'
,
()
=>
{
let
content
=
editor
.
getContent
();
const
url
=
richtexteditor
.
downloadUrl
.
substring
(
3
)
;
const
url
=
richtexteditor
.
downloadUrl
.
indexOf
(
'../'
)
===
0
?
richtexteditor
.
downloadUrl
.
substring
(
3
)
:
richtexteditor
.
downloadUrl
;
let
newContent
:
string
=
""
;
const
imgsrc
=
richtexteditor
.
imgsrc
;
if
(
imgsrc
&&
imgsrc
.
length
>
0
){
...
...
app_PIM/src/interface/entity/hrarchives.ts
浏览文件 @
d6b184a6
...
...
@@ -69,4 +69,124 @@ export interface HRArchives {
* @memberof HRArchives
*/
hremployeename
?:
any
;
/**
* 员工编号
*
* @returns {*}
* @memberof HRArchives
*/
employeecode
?:
any
;
/**
* 单位
*
* @returns {*}
* @memberof HRArchives
*/
organizationname
?:
any
;
/**
* 单位ID
*
* @returns {*}
* @memberof HRArchives
*/
organizationid
?:
any
;
/**
* 员工状态
*
* @returns {*}
* @memberof HRArchives
*/
empstate
?:
any
;
/**
* 档案编号
*
* @returns {*}
* @memberof HRArchives
*/
archivescode
?:
any
;
/**
* 档案室
*
* @returns {*}
* @memberof HRArchives
*/
archivesroom
?:
any
;
/**
* 档案保管地
*
* @returns {*}
* @memberof HRArchives
*/
archivesplacetype
?:
any
;
/**
* 档案保管地
*
* @returns {*}
* @memberof HRArchives
*/
archivesplace
?:
any
;
/**
* 档案学历
*
* @returns {*}
* @memberof HRArchives
*/
degree
?:
any
;
/**
* 档案出生日期
*
* @returns {*}
* @memberof HRArchives
*/
birthday
?:
any
;
/**
* 档案入党时间
*
* @returns {*}
* @memberof HRArchives
*/
politicaltime
?:
any
;
/**
* 档案参加工作时间
*
* @returns {*}
* @memberof HRArchives
*/
startworktime
?:
any
;
/**
* 是否有效
*
* @returns {*}
* @memberof HRArchives
*/
activeflag
?:
any
;
/**
* 人事档案目录
*
* @returns {*}
* @memberof HRArchives
*/
attachment
?:
any
;
/**
* 备注
*
* @returns {*}
* @memberof HRArchives
*/
memo
?:
any
;
}
\ No newline at end of file
app_PIM/src/interface/entity/hrcertificate.ts
浏览文件 @
d6b184a6
...
...
@@ -149,4 +149,36 @@ export interface HRCertificate {
* @memberof HRCertificate
*/
registerorganizationname
?:
any
;
/**
* 员工编号
*
* @returns {*}
* @memberof HRCertificate
*/
employeecode
?:
any
;
/**
* 单位
*
* @returns {*}
* @memberof HRCertificate
*/
organizationname
?:
any
;
/**
* 单位ID
*
* @returns {*}
* @memberof HRCertificate
*/
organizationid
?:
any
;
/**
* 员工状态
*
* @returns {*}
* @memberof HRCertificate
*/
empstate
?:
any
;
}
\ No newline at end of file
app_PIM/src/interface/entity/hrtechnical-title.ts
浏览文件 @
d6b184a6
...
...
@@ -141,4 +141,36 @@ export interface HRTechnicalTitle {
* @memberof HRTechnicalTitle
*/
certificatecode
?:
any
;
/**
* 员工编号
*
* @returns {*}
* @memberof HRTechnicalTitle
*/
employeecode
?:
any
;
/**
* 单位
*
* @returns {*}
* @memberof HRTechnicalTitle
*/
organizationname
?:
any
;
/**
* 单位ID
*
* @returns {*}
* @memberof HRTechnicalTitle
*/
organizationid
?:
any
;
/**
* 员工状态
*
* @returns {*}
* @memberof HRTechnicalTitle
*/
empstate
?:
any
;
}
\ No newline at end of file
app_PIM/src/locale/lang/en-US.ts
浏览文件 @
d6b184a6
...
...
@@ -156,6 +156,7 @@ export default {
top_menus
:
"顶部菜单"
,
menuitem1
:
"-"
,
left_exp
:
"左侧菜单"
,
menuitem19
:
"首页"
,
menuitem5
:
"基础"
,
menuitem15
:
"员工"
,
menuitem8
:
"合同"
,
...
...
@@ -172,6 +173,7 @@ export default {
menuitem12
:
"职务"
,
menuitem13
:
"调动"
,
menuitem14
:
"调动申请"
,
menuitem20
:
"调动管理"
,
bottom_exp
:
"底部内容"
,
footer_left
:
"底部左侧"
,
footer_center
:
"底部中间"
,
...
...
@@ -247,6 +249,7 @@ export default {
back
:
"Back"
,
next
:
"Next"
,
complete
:
"Complete"
,
preactionmessage
:
"The calculation of the previous behavior is not configured"
},
viewLayoutPanel
:
{
appLogoutView
:
{
...
...
app_PIM/src/locale/lang/zh-CN.ts
浏览文件 @
d6b184a6
...
...
@@ -156,6 +156,7 @@ export default {
top_menus
:
"顶部菜单"
,
menuitem1
:
"-"
,
left_exp
:
"左侧菜单"
,
menuitem19
:
"首页"
,
menuitem5
:
"基础"
,
menuitem15
:
"员工"
,
menuitem8
:
"合同"
,
...
...
@@ -172,6 +173,7 @@ export default {
menuitem12
:
"职务"
,
menuitem13
:
"调动"
,
menuitem14
:
"调动申请"
,
menuitem20
:
"调动管理"
,
bottom_exp
:
"底部内容"
,
footer_left
:
"底部左侧"
,
footer_center
:
"底部中间"
,
...
...
@@ -246,6 +248,7 @@ export default {
back
:
"上一步"
,
next
:
"下一步"
,
complete
:
"完成"
,
preactionmessage
:
"未配置计算上一步行为"
},
viewLayoutPanel
:
{
appLogoutView
:
{
...
...
app_PIM/src/locale/lanres/entities/hrarchives/hrarchives_en_US.ts
浏览文件 @
d6b184a6
...
...
@@ -9,6 +9,21 @@ export default {
updatedate
:
"更新时间"
,
hremployeeid
:
"员工标识"
,
hremployeename
:
"员工姓名"
,
employeecode
:
"员工编号"
,
organizationname
:
"单位"
,
organizationid
:
"单位ID"
,
empstate
:
"员工状态"
,
archivescode
:
"档案编号"
,
archivesroom
:
"档案室"
,
archivesplacetype
:
"档案保管地"
,
archivesplace
:
"档案保管地"
,
degree
:
"档案学历"
,
birthday
:
"档案出生日期"
,
politicaltime
:
"档案入党时间"
,
startworktime
:
"档案参加工作时间"
,
activeflag
:
"是否有效"
,
attachment
:
"人事档案目录"
,
memo
:
"备注"
,
},
views
:
{
editview
:
{
...
...
app_PIM/src/locale/lanres/entities/hrarchives/hrarchives_zh_CN.ts
浏览文件 @
d6b184a6
...
...
@@ -8,6 +8,21 @@ export default {
updatedate
:
"更新时间"
,
hremployeeid
:
"员工标识"
,
hremployeename
:
"员工姓名"
,
employeecode
:
"员工编号"
,
organizationname
:
"单位"
,
organizationid
:
"单位ID"
,
empstate
:
"员工状态"
,
archivescode
:
"档案编号"
,
archivesroom
:
"档案室"
,
archivesplacetype
:
"档案保管地"
,
archivesplace
:
"档案保管地"
,
degree
:
"档案学历"
,
birthday
:
"档案出生日期"
,
politicaltime
:
"档案入党时间"
,
startworktime
:
"档案参加工作时间"
,
activeflag
:
"是否有效"
,
attachment
:
"人事档案目录"
,
memo
:
"备注"
,
},
views
:
{
editview
:
{
...
...
app_PIM/src/locale/lanres/entities/hrcertificate/hrcertificate_en_US.ts
浏览文件 @
d6b184a6
...
...
@@ -19,6 +19,10 @@ export default {
memo
:
"备注"
,
registerorganizationid
:
"注册单位ID"
,
registerorganizationname
:
"注册单位"
,
employeecode
:
"员工编号"
,
organizationname
:
"单位"
,
organizationid
:
"单位ID"
,
empstate
:
"员工状态"
,
},
views
:
{
gridview
:
{
...
...
app_PIM/src/locale/lanres/entities/hrcertificate/hrcertificate_zh_CN.ts
浏览文件 @
d6b184a6
...
...
@@ -18,6 +18,10 @@ export default {
memo
:
"备注"
,
registerorganizationid
:
"注册单位ID"
,
registerorganizationname
:
"注册单位"
,
employeecode
:
"员工编号"
,
organizationname
:
"单位"
,
organizationid
:
"单位ID"
,
empstate
:
"员工状态"
,
},
views
:
{
gridview
:
{
...
...
app_PIM/src/locale/lanres/entities/hrtechnical-title/hrtechnical-title_en_US.ts
浏览文件 @
d6b184a6
...
...
@@ -18,6 +18,10 @@ export default {
hightitle
:
"最高职称"
,
attachment
:
"附件"
,
certificatecode
:
"证书编号"
,
employeecode
:
"员工编号"
,
organizationname
:
"单位"
,
organizationid
:
"单位ID"
,
empstate
:
"员工状态"
,
},
views
:
{
editview
:
{
...
...
app_PIM/src/locale/lanres/entities/hrtechnical-title/hrtechnical-title_zh_CN.ts
浏览文件 @
d6b184a6
...
...
@@ -17,6 +17,10 @@ export default {
hightitle
:
"最高职称"
,
attachment
:
"附件"
,
certificatecode
:
"证书编号"
,
employeecode
:
"员工编号"
,
organizationname
:
"单位"
,
organizationid
:
"单位ID"
,
empstate
:
"员工状态"
,
},
views
:
{
editview
:
{
...
...
app_PIM/src/locale/lanres/entities/hrtransfer-apply/hrtransfer-apply_en_US.ts
浏览文件 @
d6b184a6
...
...
@@ -35,6 +35,10 @@ export default {
caption
:
"调动申请"
,
title
:
"调动编辑"
,
},
wfdynaexpgridview
:
{
caption
:
"调动申请"
,
title
:
"调动申请工作流导航表格视图"
,
},
v_001
:
{
caption
:
"调动申请"
,
title
:
"拟稿"
,
...
...
@@ -67,6 +71,10 @@ export default {
caption
:
"调动申请"
,
title
:
"调动申请数据选择视图"
,
},
wfdynaeditview
:
{
caption
:
"调动申请"
,
title
:
"调动申请"
,
},
dashboardview
:
{
caption
:
"调动看板"
,
title
:
"调动看板"
,
...
...
@@ -286,6 +294,142 @@ export default {
tip
:
"关闭"
,
},
},
wfdynaexpgridviewtoolbar_toolbar
:
{
tbitem1
:
{
caption
:
"New"
,
tip
:
"New"
,
},
tbitem21
:
{
caption
:
"Edit"
,
tip
:
"Edit {0}"
,
},
tbitem2
:
{
caption
:
"Copy"
,
tip
:
"Copy {0}"
,
},
tbitem24
:
{
caption
:
"-"
,
tip
:
""
,
},
tbitem8
:
{
caption
:
"Copy"
,
tip
:
"Copy {0}"
,
},
tbitem9
:
{
caption
:
"-"
,
tip
:
""
,
},
tbitem11
:
{
caption
:
"Remove"
,
tip
:
"Remove {0}"
,
},
tbitem12
:
{
caption
:
"-"
,
tip
:
""
,
},
tbitem13
:
{
caption
:
"Export"
,
tip
:
"Export {0} Data To Excel"
,
},
tbitem14
:
{
caption
:
"-"
,
tip
:
""
,
},
tbitem19
:
{
caption
:
"其它"
,
tip
:
"其它"
,
},
tbitem30
:
{
caption
:
"Export Data Model"
,
tip
:
"导出数据模型"
,
},
tbitem31
:
{
caption
:
"数据导入"
,
tip
:
"数据导入"
,
},
tbitem4
:
{
caption
:
"-"
,
tip
:
""
,
},
tbitem5
:
{
caption
:
"Filter"
,
tip
:
"Filter"
,
},
tbitem6
:
{
caption
:
"-"
,
tip
:
""
,
},
tbitem7
:
{
caption
:
"Help"
,
tip
:
"Help"
,
},
},
wfdynaeditviewtoolbar_toolbar
:
{
tbitem3
:
{
caption
:
"Save"
,
tip
:
"Save"
,
},
tbitem4
:
{
caption
:
"Save And New"
,
tip
:
"Save And New"
,
},
tbitem5
:
{
caption
:
"Save And Close"
,
tip
:
"Save And Close Window"
,
},
tbitem6
:
{
caption
:
"-"
,
tip
:
""
,
},
tbitem7
:
{
caption
:
"Remove And Close"
,
tip
:
"Remove And Close Window"
,
},
tbitem8
:
{
caption
:
"-"
,
tip
:
""
,
},
tbitem9_saveandstart
:
{
caption
:
"开始"
,
tip
:
"开始"
,
},
tbitem10
:
{
caption
:
"Workflow step"
,
tip
:
"当前流程步骤"
,
},
tbitem11
:
{
caption
:
"-"
,
tip
:
""
,
},
tbitem12
:
{
caption
:
"New"
,
tip
:
"New"
,
},
tbitem13
:
{
caption
:
"-"
,
tip
:
""
,
},
tbitem14
:
{
caption
:
"Copy"
,
tip
:
"Copy {0}"
,
},
tbitem16
:
{
caption
:
"-"
,
tip
:
""
,
},
tbitem21
:
{
caption
:
"数据导航"
,
tip
:
"数据导航"
,
},
tbitem22
:
{
caption
:
"-"
,
tip
:
""
,
},
tbitem23
:
{
caption
:
"Help"
,
tip
:
"Help"
,
},
},
gridviewtoolbar_toolbar
:
{
tbitem3
:
{
caption
:
"New"
,
...
...
app_PIM/src/locale/lanres/entities/hrtransfer-apply/hrtransfer-apply_zh_CN.ts
浏览文件 @
d6b184a6
...
...
@@ -34,6 +34,10 @@ export default {
caption
:
"调动申请"
,
title
:
"调动编辑"
,
},
wfdynaexpgridview
:
{
caption
:
"调动申请"
,
title
:
"调动申请工作流导航表格视图"
,
},
v_001
:
{
caption
:
"调动申请"
,
title
:
"拟稿"
,
...
...
@@ -66,6 +70,10 @@ export default {
caption
:
"调动申请"
,
title
:
"调动申请数据选择视图"
,
},
wfdynaeditview
:
{
caption
:
"调动申请"
,
title
:
"调动申请"
,
},
dashboardview
:
{
caption
:
"调动看板"
,
title
:
"调动看板"
,
...
...
@@ -285,6 +293,142 @@ export default {
tip
:
"关闭"
,
},
},
wfdynaexpgridviewtoolbar_toolbar
:
{
tbitem1
:
{
caption
:
"新建"
,
tip
:
"新建"
,
},
tbitem21
:
{
caption
:
"编辑"
,
tip
:
"编辑"
,
},
tbitem2
:
{
caption
:
"拷贝"
,
tip
:
"拷贝"
,
},
tbitem24
:
{
caption
:
"-"
,
tip
:
""
,
},
tbitem8
:
{
caption
:
"拷贝"
,
tip
:
"拷贝"
,
},
tbitem9
:
{
caption
:
"-"
,
tip
:
""
,
},
tbitem11
:
{
caption
:
"删除"
,
tip
:
"删除"
,
},
tbitem12
:
{
caption
:
"-"
,
tip
:
""
,
},
tbitem13
:
{
caption
:
"导出"
,
tip
:
"导出"
,
},
tbitem14
:
{
caption
:
"-"
,
tip
:
""
,
},
tbitem19
:
{
caption
:
"其它"
,
tip
:
"其它"
,
},
tbitem30
:
{
caption
:
"导出数据模型"
,
tip
:
"导出数据模型"
,
},
tbitem31
:
{
caption
:
"数据导入"
,
tip
:
"数据导入"
,
},
tbitem4
:
{
caption
:
"-"
,
tip
:
""
,
},
tbitem5
:
{
caption
:
"过滤"
,
tip
:
"过滤"
,
},
tbitem6
:
{
caption
:
"-"
,
tip
:
""
,
},
tbitem7
:
{
caption
:
"帮助"
,
tip
:
"帮助"
,
},
},
wfdynaeditviewtoolbar_toolbar
:
{
tbitem3
:
{
caption
:
"保存"
,
tip
:
"保存"
,
},
tbitem4
:
{
caption
:
"保存并新建"
,
tip
:
"保存并新建"
,
},
tbitem5
:
{
caption
:
"保存并关闭"
,
tip
:
"保存并关闭"
,
},
tbitem6
:
{
caption
:
"-"
,
tip
:
""
,
},
tbitem7
:
{
caption
:
"删除并关闭"
,
tip
:
"删除并关闭"
,
},
tbitem8
:
{
caption
:
"-"
,
tip
:
""
,
},
tbitem9_saveandstart
:
{
caption
:
"开始"
,
tip
:
"开始"
,
},
tbitem10
:
{
caption
:
"当前流程步骤"
,
tip
:
"当前流程步骤"
,
},
tbitem11
:
{
caption
:
"-"
,
tip
:
""
,
},
tbitem12
:
{
caption
:
"新建"
,
tip
:
"新建"
,
},
tbitem13
:
{
caption
:
"-"
,
tip
:
""
,
},
tbitem14
:
{
caption
:
"拷贝"
,
tip
:
"拷贝"
,
},
tbitem16
:
{
caption
:
"-"
,
tip
:
""
,
},
tbitem21
:
{
caption
:
"数据导航"
,
tip
:
"数据导航"
,
},
tbitem22
:
{
caption
:
"-"
,
tip
:
""
,
},
tbitem23
:
{
caption
:
"帮助"
,
tip
:
"帮助"
,
},
},
gridviewtoolbar_toolbar
:
{
tbitem3
:
{
caption
:
"新建"
,
...
...
app_PIM/src/mock/app/pim-appmenu/pim-appmenu.ts
浏览文件 @
d6b184a6
...
...
@@ -105,6 +105,24 @@ mock.onGet('v7/pimappmenu').reply((config: any) => {
resourcetag
:
''
,
items
:
[
{
id
:
'F174B1DB-8E40-44BD-A1F9-4C58915A8375'
,
name
:
'menuitem19'
,
text
:
'首页'
,
type
:
'MENUITEM'
,
counterid
:
''
,
tooltip
:
'首页'
,
expanded
:
false
,
separator
:
false
,
hidden
:
false
,
hidesidebar
:
false
,
opendefault
:
false
,
iconcls
:
'fa fa-university'
,
icon
:
''
,
textcls
:
''
,
appfunctag
:
''
,
resourcetag
:
''
,
},
{
id
:
'1F73FB8E-0E2A-4B7A-B800-004B01AB2301'
,
name
:
'menuitem5'
,
text
:
'基础'
,
...
...
@@ -137,7 +155,7 @@ mock.onGet('v7/pimappmenu').reply((config: any) => {
iconcls
:
'fa fa-user'
,
icon
:
''
,
textcls
:
''
,
appfunctag
:
'_
4
'
,
appfunctag
:
'_
5
'
,
resourcetag
:
''
,
},
{
...
...
@@ -155,7 +173,7 @@ mock.onGet('v7/pimappmenu').reply((config: any) => {
iconcls
:
'fa fa-th-large'
,
icon
:
''
,
textcls
:
''
,
appfunctag
:
'_1
0
'
,
appfunctag
:
'_1
1
'
,
resourcetag
:
''
,
},
{
...
...
@@ -173,7 +191,7 @@ mock.onGet('v7/pimappmenu').reply((config: any) => {
iconcls
:
'fa fa-newspaper-o'
,
icon
:
''
,
textcls
:
''
,
appfunctag
:
'_1
1
'
,
appfunctag
:
'_1
2
'
,
resourcetag
:
''
,
},
{
...
...
@@ -191,7 +209,7 @@ mock.onGet('v7/pimappmenu').reply((config: any) => {
iconcls
:
'fa fa-shirtsinbulk'
,
icon
:
''
,
textcls
:
''
,
appfunctag
:
'_
6
'
,
appfunctag
:
'_
7
'
,
resourcetag
:
''
,
},
{
...
...
@@ -209,7 +227,7 @@ mock.onGet('v7/pimappmenu').reply((config: any) => {
iconcls
:
'fa fa-certificate'
,
icon
:
''
,
textcls
:
''
,
appfunctag
:
'_
8
'
,
appfunctag
:
'_
9
'
,
resourcetag
:
''
,
},
],
...
...
@@ -247,7 +265,7 @@ mock.onGet('v7/pimappmenu').reply((config: any) => {
iconcls
:
'fa fa-shirtsinbulk'
,
icon
:
''
,
textcls
:
''
,
appfunctag
:
'_
2
'
,
appfunctag
:
'_
3
'
,
resourcetag
:
''
,
},
{
...
...
@@ -265,7 +283,7 @@ mock.onGet('v7/pimappmenu').reply((config: any) => {
iconcls
:
'fa fa-building-o'
,
icon
:
''
,
textcls
:
''
,
appfunctag
:
'_
3
'
,
appfunctag
:
'_
4
'
,
resourcetag
:
''
,
},
{
...
...
@@ -283,7 +301,7 @@ mock.onGet('v7/pimappmenu').reply((config: any) => {
iconcls
:
'fa fa-signal'
,
icon
:
''
,
textcls
:
''
,
appfunctag
:
'_1
3
'
,
appfunctag
:
'_1
4
'
,
resourcetag
:
''
,
},
{
...
...
@@ -301,7 +319,7 @@ mock.onGet('v7/pimappmenu').reply((config: any) => {
iconcls
:
'fa fa-sitemap'
,
icon
:
''
,
textcls
:
''
,
appfunctag
:
'_1
2
'
,
appfunctag
:
'_1
3
'
,
resourcetag
:
''
,
},
],
...
...
@@ -339,7 +357,7 @@ mock.onGet('v7/pimappmenu').reply((config: any) => {
iconcls
:
'fa fa-delicious'
,
icon
:
''
,
textcls
:
''
,
appfunctag
:
'_
7
'
,
appfunctag
:
'_
8
'
,
resourcetag
:
''
,
},
{
...
...
@@ -357,7 +375,7 @@ mock.onGet('v7/pimappmenu').reply((config: any) => {
iconcls
:
'fa fa-bars'
,
icon
:
''
,
textcls
:
''
,
appfunctag
:
'_
5
'
,
appfunctag
:
'_
6
'
,
resourcetag
:
''
,
},
],
...
...
@@ -395,7 +413,25 @@ mock.onGet('v7/pimappmenu').reply((config: any) => {
iconcls
:
'fa fa-cube'
,
icon
:
''
,
textcls
:
''
,
appfunctag
:
'_14'
,
appfunctag
:
'_15'
,
resourcetag
:
''
,
},
{
id
:
'5840477A-566C-4CB5-9109-51ACC293DFBE'
,
name
:
'menuitem20'
,
text
:
'调动管理'
,
type
:
'MENUITEM'
,
counterid
:
''
,
tooltip
:
'调动管理'
,
expanded
:
false
,
separator
:
false
,
hidden
:
false
,
hidesidebar
:
false
,
opendefault
:
false
,
iconcls
:
'fa fa-male'
,
icon
:
''
,
textcls
:
''
,
appfunctag
:
'_2'
,
resourcetag
:
''
,
},
],
...
...
app_PIM/src/mock/viewconfig/viewconfig.ts
浏览文件 @
d6b184a6
...
...
@@ -119,6 +119,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname"
:
"HRTransferApplyEditView"
,
"viewtag"
:
"0dbdd98c4946bd6e79feb18e32dd387b"
},
"hrtransferapplywfdynaexpgridview"
:
{
"title"
:
"调动申请工作流导航表格视图"
,
"caption"
:
"调动申请"
,
"viewtype"
:
"DEWFDYNAEXPGRIDVIEW"
,
"viewmodule"
:
"Pcm"
,
"viewname"
:
"HRTransferApplyWFDynaExpGridView"
,
"viewtag"
:
"10c50502a4eebb3c2f6373326db96fc5"
},
"hromhierarchycatgridview"
:
{
"title"
:
"组织层次结构"
,
"caption"
:
"结构层次类别"
,
...
...
@@ -855,6 +863,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname"
:
"HROMHierarchyCatDashboardView"
,
"viewtag"
:
"c62ff001669cca98c0a2a7bc3383c775"
},
"hrtransferapplywfdynaeditview"
:
{
"title"
:
"调动申请"
,
"caption"
:
"调动申请"
,
"viewtype"
:
"DEWFDYNAEDITVIEW"
,
"viewmodule"
:
"Pcm"
,
"viewname"
:
"HRTransferApplyWFDynaEditView"
,
"viewtag"
:
"c8310acd7e65d023051725aac59122d9"
},
"hremployeedashboardview"
:
{
"title"
:
"员工看板"
,
"caption"
:
"员工看板"
,
...
...
app_PIM/src/pages/human-resource/hrcontract-grid-view/hrcontract-grid-view.html
浏览文件 @
d6b184a6
<studio-view-style2
viewName=
"hrcontractgridview"
viewTitle=
"合同表格(全部合同)"
class=
'degridview hrcontract-grid-view'
>
<i-input
slot=
"quickSearch"
v-show=
"!isExpandSearchForm"
v-model=
"query"
placeholder=
"
合同信息名称
"
search
@
on-search=
"onSearch($event)"
/>
<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"
>
...
...
app_PIM/src/pages/human-resource/hrcontract-v-001/hrcontract-v-001.html
浏览文件 @
d6b184a6
<studio-view-style2
viewName=
"hrcontractv_001"
viewTitle=
"合同信息表格视图"
class=
'degridview hrcontract-v-001'
>
<i-input
slot=
"quickSearch"
v-show=
"!isExpandSearchForm"
v-model=
"query"
placeholder=
"
合同信息名称
"
search
@
on-search=
"onSearch($event)"
/>
<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"
>
...
...
app_PIM/src/pages/human-resource/hrcontract-v-002/hrcontract-v-002.html
浏览文件 @
d6b184a6
<studio-view-style2
viewName=
"hrcontractv_002"
viewTitle=
"合同表格(全部合同)"
class=
'degridview hrcontract-v-002'
>
<i-input
slot=
"quickSearch"
v-show=
"!isExpandSearchForm"
v-model=
"query"
placeholder=
"
合同信息名称
"
search
@
on-search=
"onSearch($event)"
/>
<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"
>
...
...
app_PIM/src/pages/human-resource/hrcontract-v-003/hrcontract-v-003.html
浏览文件 @
d6b184a6
<studio-view-style2
viewName=
"hrcontractv_003"
viewTitle=
"合同表格(全部合同)"
class=
'degridview hrcontract-v-003'
>
<i-input
slot=
"quickSearch"
v-show=
"!isExpandSearchForm"
v-model=
"query"
placeholder=
"
合同信息名称
"
search
@
on-search=
"onSearch($event)"
/>
<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"
>
...
...
app_PIM/src/pages/human-resource/hrcontract-v-004/hrcontract-v-004.html
浏览文件 @
d6b184a6
<studio-view-style2
viewName=
"hrcontractv_004"
viewTitle=
"合同表格(全部合同)"
class=
'degridview hrcontract-v-004'
>
<i-input
slot=
"quickSearch"
v-show=
"!isExpandSearchForm"
v-model=
"query"
placeholder=
"
合同信息名称
"
search
@
on-search=
"onSearch($event)"
/>
<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"
>
...
...
app_PIM/src/pages/pcm/hrtransfer-apply-wfdyna-edit-view/hrtransfer-apply-wfdyna-edit-view-base.tsx
0 → 100644
浏览文件 @
d6b184a6
!!!!
模版产生代码错误
:
----
FTL
stack
trace
(
"~"
means
nesting
-
related
):
-
Failed
at
:
$
{
P
.
getLogicCode
(
uiAction
,
"LOGIC.vue... [in template "
TEMPLCODE_en_US
" at line 573, column 1]
----
无法获取指定逻辑[UIACTION][SYS#编辑界面_数据导航功能][LOGIC.vue]代码模板
\ No newline at end of file
app_PIM/src/pages/pcm/hrtransfer-apply-wfdyna-edit-view/hrtransfer-apply-wfdyna-edit-view.html
0 → 100644
浏览文件 @
d6b184a6
!!!!模版产生代码错误:----
FTL stack trace ("~" means nesting-related):
- Failed at: ${P.getLayoutCode("VIEW.vue").code} [in template "TEMPLCODE_en_US" at line 1, column 1]
----
无法获取指定部件[VIEWLAYOUTPANEL#APPDEWFDYNAEDITVIEW_STYLE2]发布代码[VIEW.vue]
\ No newline at end of file
app_PIM/src/pages/pcm/hrtransfer-apply-wfdyna-edit-view/hrtransfer-apply-wfdyna-edit-view.less
0 → 100644
浏览文件 @
d6b184a6
!!!!模版产生代码错误:----
FTL stack trace ("~" means nesting-related):
- Failed at: ${P.getLayoutCode().code} [in template "TEMPLCODE_en_US" at line 1, column 1]
----
无法获取指定部件[VIEWLAYOUTPANEL#APPDEWFDYNAEDITVIEW_STYLE2]发布代码[VIEW.less]
\ No newline at end of file
app_PIM/src/pages/pcm/hrtransfer-apply-wfdyna-edit-view/hrtransfer-apply-wfdyna-edit-view.vue
0 → 100644
浏览文件 @
d6b184a6
<
template
src=
"./hrtransfer-apply-wfdyna-edit-view.html"
/>
<script
lang=
'tsx'
>
import
{ Component } from 'vue-property-decorator';
import { VueLifeCycleProcessing } from '@/studio-core';
import { HRTransferApplyWFDynaEditViewBase } from './hrtransfer-apply-wfdyna-edit-view-base';
import view_form from '@widgets/hrtransfer-apply/main-form/main-form.vue';
/**
* 调动申请视图
*
* @export
* @class HRTransferApplyWFDynaEditView
* @extends {HRTransferApplyWFDynaEditViewBase}
*/
@Component({
components: {
view_form,
}
})
@VueLifeCycleProcessing()
export default class HRTransferApplyWFDynaEditView extends HRTransferApplyWFDynaEditViewBase { }
</script>
app_PIM/src/pages/pcm/hrtransfer-apply-wfdyna-exp-grid-view/hrtransfer-apply-wfdyna-exp-grid-view-base.tsx
0 → 100644
浏览文件 @
d6b184a6
import
{
Subject
}
from
'rxjs'
;
import
{
ViewBase
}
from
'@/studio-core'
;
import
HRTransferApplyService
from
'@/service/hrtransfer-apply/hrtransfer-apply-service'
;
import
HRTransferApplyAuthService
from
'@/authservice/hrtransfer-apply/hrtransfer-apply-auth-service'
;
import
WFDynaExpGridViewEngine
from
'@engine/view/wfdyna-exp-grid-view-engine'
;
import
HRTransferApplyUIService
from
'@/uiservice/hrtransfer-apply/hrtransfer-apply-ui-service'
;
/**
* 调动申请工作流导航表格视图视图基类
*
* @export
* @class HRTransferApplyWFDynaExpGridViewBase
* @extends {ViewBase}
*/
export
class
HRTransferApplyWFDynaExpGridViewBase
extends
ViewBase
{
/**
* 视图对应应用实体名称
*
* @protected
* @type {string}
* @memberof HRTransferApplyWFDynaExpGridViewBase
*/
protected
appDeName
:
string
=
'hrtransferapply'
;
/**
* 应用实体主键
*
* @protected
* @type {string}
* @memberof HRTransferApplyWFDynaExpGridViewBase
*/
protected
appDeKey
:
string
=
'hrtransferapplyid'
;
/**
* 应用实体主信息
*
* @protected
* @type {string}
* @memberof HRTransferApplyWFDynaExpGridViewBase
*/
protected
appDeMajor
:
string
=
'hrtransferapplyname'
;
/**
* 实体服务对象
*
* @type {HRTransferApplyService}
* @memberof HRTransferApplyWFDynaExpGridViewBase
*/
protected
appEntityService
:
HRTransferApplyService
=
new
HRTransferApplyService
;
/**
* 实体权限服务对象
*
* @type HRTransferApplyUIService
* @memberof HRTransferApplyWFDynaExpGridViewBase
*/
public
appUIService
:
HRTransferApplyUIService
=
new
HRTransferApplyUIService
(
this
.
$store
);
/**
* 计数器服务对象集合
*
* @protected
* @type {Array<*>}
* @memberof HRTransferApplyWFDynaExpGridViewBase
*/
protected
counterServiceArray
:
Array
<
any
>
=
[];
/**
* 视图模型数据
*
* @protected
* @type {*}
* @memberof HRTransferApplyWFDynaExpGridViewBase
*/
protected
model
:
any
=
{
srfCaption
:
'entities.hrtransferapply.views.wfdynaexpgridview.caption'
,
srfTitle
:
'entities.hrtransferapply.views.wfdynaexpgridview.title'
,
srfSubTitle
:
'entities.hrtransferapply.views.wfdynaexpgridview.subtitle'
,
dataInfo
:
''
}
/**
* 容器模型
*
* @protected
* @type {*}
* @memberof HRTransferApplyWFDynaExpGridViewBase
*/
protected
containerModel
:
any
=
{
view_toolbar
:
{
name
:
'toolbar'
,
type
:
'TOOLBAR'
},
view_grid
:
{
name
:
'grid'
,
type
:
'GRID'
},
view_searchform
:
{
name
:
'searchform'
,
type
:
'SEARCHFORM'
},
wflinks
:
[],
};
/**
* 工具栏模型
*
* @type {*}
* @memberof HRTransferApplyWFDynaExpGridView
*/
public
toolBarModels
:
any
=
{
tbitem1
:
{
name
:
'tbitem1'
,
caption
:
'新建'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'新建'
,
iconcls
:
'fa fa-file-text-o'
,
icon
:
''
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
noprivdisplaymode
:
2
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'New'
,
target
:
''
,
class
:
''
}
},
tbitem21
:
{
name
:
'tbitem21'
,
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
:
''
}
},
tbitem2
:
{
name
:
'tbitem2'
,
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
:
''
}
},
tbitem24
:
{
name
:
'tbitem24'
,
type
:
'SEPERATOR'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
}
},
tbitem8
:
{
name
:
'tbitem8'
,
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
:
''
}
},
tbitem9
:
{
name
:
'tbitem9'
,
type
:
'SEPERATOR'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
}
},
tbitem11
:
{
name
:
'tbitem11'
,
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
:
''
}
},
tbitem12
:
{
name
:
'tbitem12'
,
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
:
''
},
tbitem14
:
{
name
:
'tbitem14'
,
type
:
'SEPERATOR'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
}
},
tbitem19
:
{
name
:
'tbitem19'
,
caption
:
'其它'
,
disabled
:
false
,
type
:
'ITEMS'
,
visabled
:
true
,
dataaccaction
:
''
,
model
:
{
tbitem30
:
{
name
:
'tbitem30'
,
caption
:
'导出数据模型'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'导出数据模型'
,
iconcls
:
'fa fa-download'
,
icon
:
''
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
noprivdisplaymode
:
2
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'ExportModel'
,
target
:
''
,
class
:
''
}
},
tbitem31
:
{
name
:
'tbitem31'
,
caption
:
'数据导入'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'数据导入'
,
iconcls
:
'fa fa-upload'
,
icon
:
''
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
noprivdisplaymode
:
2
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'Import'
,
target
:
''
,
class
:
''
}
},
}
},
tbitem4
:
{
name
:
'tbitem4'
,
type
:
'SEPERATOR'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
}
},
tbitem5
:
{
name
:
'tbitem5'
,
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
:
''
}
},
tbitem6
:
{
name
:
'tbitem6'
,
type
:
'SEPERATOR'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
}
},
tbitem7
:
{
name
:
'tbitem7'
,
caption
:
'帮助'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'帮助'
,
iconcls
:
'fa fa-question'
,
icon
:
''
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
noprivdisplaymode
:
2
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'Help'
,
target
:
''
,
class
:
''
}
},
};
/**
* 视图唯一标识
*
* @protected
* @type {string}
* @memberof ViewBase
*/
protected
viewtag
:
string
=
'10c50502a4eebb3c2f6373326db96fc5'
;
/**
* 视图引擎
*
* @public
* @type {Engine}
* @memberof HRTransferApplyWFDynaExpGridViewBase
*/
public
engine
:
WFDynaExpGridViewEngine
=
new
WFDynaExpGridViewEngine
();
/**
* 引擎初始化
*
* @public
* @memberof HRTransferApplyWFDynaExpGridViewBase
*/
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
:
'hrtransferapply'
,
majorPSDEField
:
'hrtransferapplyname'
,
isLoadDefault
:
true
,
});
}
/**
* toolbar 部件 click 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof HRTransferApplyWFDynaExpGridViewBase
*/
public
toolbar_click
(
$event
:
any
,
$event2
?:
any
):
void
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem1'
))
{
this
.
toolbar_tbitem1_click
(
null
,
''
,
$event2
);
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem21'
))
{
this
.
toolbar_tbitem21_click
(
null
,
''
,
$event2
);
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem22'
))
{
this
.
toolbar_tbitem22_click
(
null
,
''
,
$event2
);
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem2'
))
{
this
.
toolbar_tbitem2_click
(
null
,
''
,
$event2
);
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem8'
))
{
this
.
toolbar_tbitem8_click
(
null
,
''
,
$event2
);
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem26'
))
{
this
.
toolbar_tbitem26_click
(
null
,
''
,
$event2
);
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem27'
))
{
this
.
toolbar_tbitem27_click
(
null
,
''
,
$event2
);
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem11'
))
{
this
.
toolbar_tbitem11_click
(
null
,
''
,
$event2
);
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem13'
))
{
this
.
toolbar_tbitem13_click
(
null
,
''
,
$event2
);
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem15'
))
{
this
.
toolbar_tbitem15_click
(
null
,
''
,
$event2
);
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem30'
))
{
this
.
toolbar_tbitem30_click
(
null
,
''
,
$event2
);
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem31'
))
{
this
.
toolbar_tbitem31_click
(
null
,
''
,
$event2
);
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem5'
))
{
this
.
toolbar_tbitem5_click
(
null
,
''
,
$event2
);
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem7'
))
{
this
.
toolbar_tbitem7_click
(
null
,
''
,
$event2
);
}
}
/**
* grid 部件 selectionchange 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof HRTransferApplyWFDynaExpGridViewBase
*/
public
grid_selectionchange
(
$event
:
any
,
$event2
?:
any
):
void
{
this
.
engine
.
onCtrlEvent
(
'grid'
,
'selectionchange'
,
$event
);
}
/**
* grid 部件 beforeload 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof HRTransferApplyWFDynaExpGridViewBase
*/
public
grid_beforeload
(
$event
:
any
,
$event2
?:
any
):
void
{
this
.
engine
.
onCtrlEvent
(
'grid'
,
'beforeload'
,
$event
);
}
/**
* grid 部件 rowdblclick 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof HRTransferApplyWFDynaExpGridViewBase
*/
public
grid_rowdblclick
(
$event
:
any
,
$event2
?:
any
):
void
{
this
.
engine
.
onCtrlEvent
(
'grid'
,
'rowdblclick'
,
$event
);
}
/**
* grid 部件 remove 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof HRTransferApplyWFDynaExpGridViewBase
*/
public
grid_remove
(
$event
:
any
,
$event2
?:
any
):
void
{
this
.
engine
.
onCtrlEvent
(
'grid'
,
'remove'
,
$event
);
}
/**
* grid 部件 load 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof HRTransferApplyWFDynaExpGridViewBase
*/
public
grid_load
(
$event
:
any
,
$event2
?:
any
):
void
{
this
.
engine
.
onCtrlEvent
(
'grid'
,
'load'
,
$event
);
}
/**
* searchform 部件 save 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof HRTransferApplyWFDynaExpGridViewBase
*/
public
searchform_save
(
$event
:
any
,
$event2
?:
any
):
void
{
this
.
engine
.
onCtrlEvent
(
'searchform'
,
'save'
,
$event
);
}
/**
* searchform 部件 search 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof HRTransferApplyWFDynaExpGridViewBase
*/
public
searchform_search
(
$event
:
any
,
$event2
?:
any
):
void
{
this
.
engine
.
onCtrlEvent
(
'searchform'
,
'search'
,
$event
);
}
/**
* searchform 部件 load 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof HRTransferApplyWFDynaExpGridViewBase
*/
public
searchform_load
(
$event
:
any
,
$event2
?:
any
):
void
{
this
.
engine
.
onCtrlEvent
(
'searchform'
,
'load'
,
$event
);
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public
toolbar_tbitem1_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
.
New
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"HRTransferApply"
);
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public
toolbar_tbitem21_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
,
"HRTransferApply"
);
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public
toolbar_tbitem22_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
.
View
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"HRTransferApply"
);
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public
toolbar_tbitem2_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
,
"HRTransferApply"
);
}
/**
* 逻辑事件
*
* @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
.
Copy
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"HRTransferApply"
);
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public
toolbar_tbitem26_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
.
ToggleRowEdit
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"HRTransferApply"
);
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public
toolbar_tbitem27_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
.
NewRow
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"HRTransferApply"
);
}
/**
* 逻辑事件
*
* @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
.
Remove
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"HRTransferApply"
);
}
/**
* 逻辑事件
*
* @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
,
"HRTransferApply"
);
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public
toolbar_tbitem15_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
,
"HRTransferApply"
);
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public
toolbar_tbitem30_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
.
ExportModel
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"HRTransferApply"
);
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public
toolbar_tbitem31_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
.
Import
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"HRTransferApply"
);
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public
toolbar_tbitem5_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
,
"HRTransferApply"
);
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public
toolbar_tbitem7_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
.
Help
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"HRTransferApply"
);
}
/**
* 打开新建数据视图
*
* @param {any[]} args
* @param {*} [params]
* @param {*} [fullargs]
* @param {*} [$event]
* @param {*} [xData]
* @memberof HRTransferApplyWFDynaExpGridView
*/
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
.
hrtransferapply
;
if
(
args
.
length
>
0
){
Object
.
assign
(
tempContext
,
args
[
0
]);
}
let
deResParameters
:
any
[]
=
[];
if
(
tempContext
.
hrorganization
&&
true
){
deResParameters
=
[
{
pathName
:
'hrorganizations'
,
parameterName
:
'hrorganization'
},
]
}
const
parameters
:
any
[]
=
[
{
pathName
:
'hrtransferapplies'
,
parameterName
:
'hrtransferapply'
},
{
pathName
:
'editview'
,
parameterName
:
'editview'
},
];
const
_this
:
any
=
this
;
const
openIndexViewTab
=
(
data
:
any
)
=>
{
const
_data
:
any
=
{
w
:
(
new
Date
().
getTime
())
};
Object
.
assign
(
_data
,
data
);
const
routePath
=
this
.
$viewTool
.
buildUpRoutePath
(
this
.
$route
,
tempContext
,
deResParameters
,
parameters
,
args
,
_data
);
this
.
$router
.
push
(
routePath
);
}
openIndexViewTab
(
data
);
}
/**
* 打开编辑数据视图
*
* @param {any[]} args
* @param {*} [params]
* @param {*} [fullargs]
* @param {*} [$event]
* @param {*} [xData]
* @memberof HRTransferApplyWFDynaExpGridView
*/
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
.
hrorganization
&&
true
){
deResParameters
=
[
{
pathName
:
'hrorganizations'
,
parameterName
:
'hrorganization'
},
]
}
const
parameters
:
any
[]
=
[
{
pathName
:
'hrtransferapplies'
,
parameterName
:
'hrtransferapply'
},
{
pathName
:
'wfdynaeditview'
,
parameterName
:
'wfdynaeditview'
},
];
const
_this
:
any
=
this
;
const
openIndexViewTab
=
(
data
:
any
)
=>
{
const
routePath
=
this
.
$viewTool
.
buildUpRoutePath
(
this
.
$route
,
tempContext
,
deResParameters
,
parameters
,
args
,
data
);
this
.
$router
.
push
(
routePath
+
'?userTaskId='
+
this
.
viewparams
.
userTaskId
);
}
openIndexViewTab
(
data
);
}
/**
* 新建
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof HRTransferApplyWFDynaExpGridViewBase
*/
public
New
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
const
_this
:
any
=
this
;
if
(
_this
.
newdata
&&
_this
.
newdata
instanceof
Function
)
{
const
data
:
any
=
{};
_this
.
newdata
([{
...
data
}],[{
...
data
}],
params
,
$event
,
xData
);
}
else
{
_this
.
$Notice
.
error
({
title
:
'错误'
,
desc
:
'newdata 视图处理逻辑不存在,请添加!'
});
}
}
/**
* 编辑
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof HRTransferApplyWFDynaExpGridViewBase
*/
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
,
{
hrtransferapply
:
args
[
0
].
hrtransferapply
})
}
_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 HRTransferApplyWFDynaExpGridViewBase
*/
public
View
(
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
,
{
hrtransferapply
:
args
[
0
].
hrtransferapply
})
}
_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 HRTransferApplyWFDynaExpGridViewBase
*/
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
,
{
hrtransferapply
:
args
[
0
].
hrtransferapply
});
}
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 HRTransferApplyWFDynaExpGridViewBase
*/
public
ToggleRowEdit
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
xData
.
actualIsOpenEdit
=
!
xData
.
actualIsOpenEdit
;
}
/**
* 新建行
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof HRTransferApplyWFDynaExpGridViewBase
*/
public
NewRow
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
const
_this
:
any
=
this
;
const
data
:
any
=
{};
if
(
_this
.
hasOwnProperty
(
'newRow'
)
&&
_this
.
newRow
instanceof
Function
)
{
_this
.
newRow
([{
...
data
}],
params
,
$event
,
xData
);
}
else
if
(
xData
.
newRow
&&
xData
.
newRow
instanceof
Function
)
{
xData
.
newRow
([{
...
data
}],
params
,
$event
,
xData
);
}
else
{
_this
.
$Notice
.
error
({
title
:
'错误'
,
desc
:
'newRow 视图处理逻辑不存在,请添加!'
});
}
}
/**
* 删除
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof HRTransferApplyWFDynaExpGridViewBase
*/
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 HRTransferApplyWFDynaExpGridViewBase
*/
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 HRTransferApplyWFDynaExpGridViewBase
*/
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 HRTransferApplyWFDynaExpGridViewBase
*/
public
ExportModel
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
this
.
$Notice
.
error
({
title
:
'错误'
,
desc
:
'导出数据模型未支持'
});
}
/**
* 数据导入
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof HRTransferApplyWFDynaExpGridViewBase
*/
public
Import
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
const
_this
:
any
=
this
;
if
(
!
xData
||
!
(
xData
.
importExcel
instanceof
Function
)
||
!
$event
)
{
return
;
}
xData
.
importExcel
(
params
);
}
/**
* 过滤
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof HRTransferApplyWFDynaExpGridViewBase
*/
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
;
}
}
/**
* 帮助
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof HRTransferApplyWFDynaExpGridViewBase
*/
public
Help
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
this
.
$Notice
.
error
({
title
:
'错误'
,
desc
:
'帮助未支持'
});
}
/**
* 分割宽度
*
* @type {number}
* @memberof HRTransferApplyWFDynaExpGridViewBase
*/
public
split
:
number
=
0.2
;
/**
* 树导航栏数据
*
* @type {any}
* @memberof HRTransferApplyWFDynaExpGridViewBase
*/
public
wfStepModel
:
Array
<
any
>
=
[];
/**
* 是否展开搜索表单
*
* @type {any}
* @memberof HRTransferApplyWFDynaExpGridViewBase
*/
public
isExpandSearchForm
:
boolean
=
true
;
/**
* 是否单选
*
* @type {any}
* @memberof HRTransferApplyWFDynaExpGridViewBase
*/
public
isSingleSelect
:
boolean
=
true
;
/**
* 左侧树的默认配置
*
* @type {any}
* @memberof HRTransferApplyWFDynaExpGridViewBase
*/
public
defaultProps
:
any
=
{
children
:
'children'
,
label
:
'userTaskName'
};
/**
* 左侧树当前选中节点
*
* @type {any}
* @memberof HRTransferApplyWFDynaExpGridViewBase
*/
public
curSelectedNode
:
any
;
/**
* 获取树导航栏数据
*
* @memberof HRTransferApplyWFDynaExpGridViewBase
*/
public
getWFStepModel
():
Promise
<
any
>
{
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
this
.
appEntityService
.
WFGetWFStep
().
then
((
response
:
any
)
=>
{
if
(
response
&&
response
.
status
===
200
)
{
this
.
wfStepModel
=
response
.
data
;
if
(
this
.
wfStepModel
&&
this
.
wfStepModel
.
length
>
0
){
this
.
curSelectedNode
=
this
.
wfStepModel
[
0
];
}
Object
.
assign
(
this
.
viewparams
,{
'userTaskId'
:
this
.
curSelectedNode
[
'userTaskId'
],
'processDefinitionKey'
:
this
.
curSelectedNode
[
'processDefinitionKey'
]});
this
.
setTreeNodeHighLight
(
this
.
curSelectedNode
);
resolve
(
response
.
data
);
}
}).
catch
((
response
:
any
)
=>
{
if
(
response
&&
response
.
status
)
{
this
.
$Notice
.
error
({
title
:
'错误'
,
desc
:
response
.
message
});
return
;
}
if
(
!
response
||
!
response
.
status
||
!
response
.
data
)
{
this
.
$Notice
.
error
({
title
:
'错误'
,
desc
:
'系统异常'
});
return
;
}
});
})
}
/**
* 左侧树选中节点
*
* @type {any}
* @memberof HRTransferApplyWFDynaExpGridViewBase
*/
public
handleNodeClick
(
data
:
any
)
{
this
.
curSelectedNode
=
data
;
this
.
setTreeNodeHighLight
(
this
.
curSelectedNode
);
Object
.
assign
(
this
.
viewparams
,{
'userTaskId'
:
data
[
'userTaskId'
],
'processDefinitionKey'
:
data
[
'processDefinitionKey'
]});
(
this
.
$refs
.
searchform
as
any
).
onSearch
();
}
/**
* 设置选中高亮
*
* @param {*} data
* @memberof HRTransferApplyWFDynaExpGridViewBase
*/
public
setTreeNodeHighLight
(
data
:
any
):
void
{
this
.
$nextTick
(()
=>
{
const
tree
:
any
=
this
.
$refs
.
tree
;
tree
.
setCurrentKey
(
data
.
userTaskId
);
})
}
/**
* 刷新数据
*
* @readonly
* @type {(number | null)}
* @memberof HRTransferApplyWFDynaExpGridViewBase
*/
get
refreshdata
():
number
|
null
{
return
this
.
$store
.
getters
[
'viewaction/getRefreshData'
](
this
.
viewtag
);
}
/**
* 监控数据变化
*
* @param {*} newVal
* @param {*} oldVal
* @returns
* @memberof HRTransferApplyWFDynaExpGridViewBase
*/
@
Watch
(
'refreshdata'
)
onRefreshData
(
newVal
:
any
,
oldVal
:
any
)
{
if
(
newVal
===
null
||
newVal
===
undefined
)
{
return
;
}
if
(
newVal
===
0
)
{
return
;
}
const
grid
:
any
=
this
.
$refs
.
grid
;
if
(
grid
)
{
grid
.
load
({});
}
}
}
\ No newline at end of file
app_PIM/src/pages/pcm/hrtransfer-apply-wfdyna-exp-grid-view/hrtransfer-apply-wfdyna-exp-grid-view.html
0 → 100644
浏览文件 @
d6b184a6
!!!!模版产生代码错误:----
FTL stack trace ("~" means nesting-related):
- Failed at: ${P.getLayoutCode("VIEW.vue").code} [in template "TEMPLCODE_en_US" at line 1, column 1]
----
无法获取指定部件[VIEWLAYOUTPANEL#APPDEWFDYNAEXPGRIDVIEW_STYLE2]发布代码[VIEW.vue]
\ No newline at end of file
app_PIM/src/pages/pcm/hrtransfer-apply-wfdyna-exp-grid-view/hrtransfer-apply-wfdyna-exp-grid-view.less
0 → 100644
浏览文件 @
d6b184a6
!!!!模版产生代码错误:----
FTL stack trace ("~" means nesting-related):
- Failed at: ${P.getLayoutCode().code} [in template "TEMPLCODE_en_US" at line 1, column 1]
----
无法获取指定部件[VIEWLAYOUTPANEL#APPDEWFDYNAEXPGRIDVIEW_STYLE2]发布代码[VIEW.less]
\ No newline at end of file
app_PIM/src/pages/pcm/hrtransfer-apply-wfdyna-exp-grid-view/hrtransfer-apply-wfdyna-exp-grid-view.vue
0 → 100644
浏览文件 @
d6b184a6
<
template
src=
"./hrtransfer-apply-wfdyna-exp-grid-view.html"
/>
<script
lang=
'tsx'
>
import
{ Component } from 'vue-property-decorator';
import { VueLifeCycleProcessing } from '@/studio-core';
import { HRTransferApplyWFDynaExpGridViewBase } from './hrtransfer-apply-wfdyna-exp-grid-view-base';
import view_grid from '@widgets/hrtransfer-apply/main-grid/main-grid.vue';
import view_searchform from '@widgets/hrtransfer-apply/default-searchform/default-searchform.vue';
/**
* 调动申请工作流导航表格视图视图
*
* @export
* @class HRTransferApplyWFDynaExpGridView
* @extends {HRTransferApplyWFDynaExpGridViewBase}
*/
@Component({
components: {
view_grid,
view_searchform,
}
})
@VueLifeCycleProcessing()
export default class HRTransferApplyWFDynaExpGridView extends HRTransferApplyWFDynaExpGridViewBase { }
</script>
app_PIM/src/pages/ungroup/pim/page-register.ts
浏览文件 @
d6b184a6
...
...
@@ -31,6 +31,7 @@ export const PageComponents = {
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
(
'hrpost-rel-v-001'
,
()
=>
import
(
'@pages/human-resource/hrpost-rel-v-001/hrpost-rel-v-001.vue'
));
Vue
.
component
(
'hrtransfer-apply-wfdyna-edit-view'
,
()
=>
import
(
'@pages/pcm/hrtransfer-apply-wfdyna-edit-view/hrtransfer-apply-wfdyna-edit-view.vue'
));
Vue
.
component
(
'hrtransfer-apply-v-002'
,
()
=>
import
(
'@pages/pcm/hrtransfer-apply-v-002/hrtransfer-apply-v-002.vue'
));
Vue
.
component
(
'hrresearch-grid-view'
,
()
=>
import
(
'@pages/human-resource/hrresearch-grid-view/hrresearch-grid-view.vue'
));
Vue
.
component
(
'hrpost-v-003'
,
()
=>
import
(
'@pages/human-resource/hrpost-v-003/hrpost-v-003.vue'
));
...
...
@@ -46,6 +47,7 @@ export const PageComponents = {
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
(
'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'
));
Vue
.
component
(
'hremployee-edit-view'
,
()
=>
import
(
'@pages/human-resource/hremployee-edit-view/hremployee-edit-view.vue'
));
...
...
@@ -57,8 +59,8 @@ export const PageComponents = {
Vue
.
component
(
'hremployee-pickup-view'
,
()
=>
import
(
'@pages/human-resource/hremployee-pickup-view/hremployee-pickup-view.vue'
));
Vue
.
component
(
'hrtransfer-apply-v-005'
,
()
=>
import
(
'@pages/pcm/hrtransfer-apply-v-005/hrtransfer-apply-v-005.vue'
));
Vue
.
component
(
'hroperation-unit-edit-view'
,
()
=>
import
(
'@pages/base/hroperation-unit-edit-view/hroperation-unit-edit-view.vue'
));
Vue
.
component
(
'hrpost-grid-view'
,
()
=>
import
(
'@pages/human-resource/hrpost-grid-view/hrpost-grid-view.vue'
));
Vue
.
component
(
'hrwork-record-edit-view'
,
()
=>
import
(
'@pages/human-resource/hrwork-record-edit-view/hrwork-record-edit-view.vue'
));
Vue
.
component
(
'hrpost-grid-view'
,
()
=>
import
(
'@pages/human-resource/hrpost-grid-view/hrpost-grid-view.vue'
));
Vue
.
component
(
'hremployee-v-004'
,
()
=>
import
(
'@pages/human-resource/hremployee-v-004/hremployee-v-004.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'
));
...
...
@@ -84,8 +86,8 @@ export const PageComponents = {
Vue
.
component
(
'hroperation-unit-tab-exp-view'
,
()
=>
import
(
'@pages/base/hroperation-unit-tab-exp-view/hroperation-unit-tab-exp-view.vue'
));
Vue
.
component
(
'hrlanguage-ability-grid-view'
,
()
=>
import
(
'@pages/human-resource/hrlanguage-ability-grid-view/hrlanguage-ability-grid-view.vue'
));
Vue
.
component
(
'hrorg-address-grid-view'
,
()
=>
import
(
'@pages/base/hrorg-address-grid-view/hrorg-address-grid-view.vue'
));
Vue
.
component
(
'hrduty-cert-v-001'
,
()
=>
import
(
'@pages/human-resource/hrduty-cert-v-001/hrduty-cert-v-001.vue'
));
Vue
.
component
(
'hrreward-edit-view'
,
()
=>
import
(
'@pages/human-resource/hrreward-edit-view/hrreward-edit-view.vue'
));
Vue
.
component
(
'hrduty-cert-v-001'
,
()
=>
import
(
'@pages/human-resource/hrduty-cert-v-001/hrduty-cert-v-001.vue'
));
Vue
.
component
(
'hrlegal-dashboard-view'
,
()
=>
import
(
'@pages/base/hrlegal-dashboard-view/hrlegal-dashboard-view.vue'
));
Vue
.
component
(
'hrlegal-v-001'
,
()
=>
import
(
'@pages/base/hrlegal-v-001/hrlegal-v-001.vue'
));
Vue
.
component
(
'hrwork-record-grid-view'
,
()
=>
import
(
'@pages/human-resource/hrwork-record-grid-view/hrwork-record-grid-view.vue'
));
...
...
app_PIM/src/pages/ungroup/pim/pim-base.tsx
浏览文件 @
d6b184a6
...
...
@@ -2,6 +2,7 @@ import { Vue } from 'vue-property-decorator';
import
{
FooterItemsService
}
from
'@/studio-core/service/FooterItemsService'
;
import
{
AppService
}
from
'@/studio-core/service/app-service/AppService'
;
import
AppMenusModel
from
'@/widgets/app/pim-appmenu/pim-appmenu-model'
;
import
{
Environment
}
from
'@/environments/environment'
;
/**
* 应用首页基类
...
...
@@ -170,6 +171,10 @@ export class PIMBase extends Vue {
* @memberof PIMBase
*/
protected
created
()
{
this
.
left_exp
=
this
.
handleMenusResource
(
this
.
left_exp
);
this
.
bottom_exp
=
this
.
handleMenusResource
(
this
.
bottom_exp
);
this
.
top_menus
=
this
.
handleMenusResource
(
this
.
top_menus
);
this
.
user_menus
=
this
.
handleMenusResource
(
this
.
user_menus
);
const
secondtag
=
this
.
$util
.
createUUID
();
this
.
$store
.
commit
(
"viewaction/createdView"
,
{
viewtag
:
this
.
viewtag
,
...
...
@@ -229,6 +234,61 @@ export class PIMBase extends Vue {
}
}
/**
* 通过统一资源标识计算菜单
*
* @param {*} data
* @memberof PIMBase
*/
public
handleMenusResource
(
inputMenus
:
Array
<
any
>
)
{
if
(
Environment
.
enablePermissionValid
)
{
this
.
computedEffectiveMenus
(
inputMenus
);
this
.
computeParentMenus
(
inputMenus
);
}
return
inputMenus
;
}
/**
* 计算父项菜单项是否隐藏
*
* @param {*} inputMenus
* @memberof PIMBase
*/
public
computeParentMenus
(
inputMenus
:
Array
<
any
>
)
{
if
(
inputMenus
&&
inputMenus
.
length
>
0
)
{
inputMenus
.
forEach
((
item
:
any
)
=>
{
if
(
item
.
hidden
&&
item
.
items
&&
item
.
items
.
length
>
0
)
{
item
.
items
.
map
((
singleItem
:
any
)
=>
{
if
(
!
singleItem
.
hidden
)
{
item
.
hidden
=
false
;
}
if
(
singleItem
.
items
&&
singleItem
.
items
.
length
>
0
)
{
this
.
computeParentMenus
(
singleItem
.
items
);
}
})
}
})
}
}
/**
* 计算有效菜单项
*
* @param {*} inputMenus
* @memberof PIMBase
*/
public
computedEffectiveMenus
(
inputMenus
:
Array
<
any
>
)
{
inputMenus
.
forEach
((
_item
:
any
)
=>
{
if
(
!
this
.
$store
.
getters
[
'authresource/getAuthMenu'
](
_item
))
{
_item
.
hidden
=
true
;
if
(
_item
.
items
&&
_item
.
items
.
length
>
0
)
{
this
.
computedEffectiveMenus
(
_item
.
items
);
}
}
})
}
/**
* 绘制内容
*/
...
...
app_PIM/src/pages/ungroup/pim/router.ts
浏览文件 @
d6b184a6
...
...
@@ -672,6 +672,65 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/human-resource/hrpost-rel-v-001/hrpost-rel-v-001.vue'
),
},
{
path
:
'hrposts/:hrpost?/hrtransferapplies/:hrtransferapply?/wfdynaeditview/:wfdynaeditview?'
,
meta
:
{
caption
:
'entities.hrtransferapply.views.wfdynaeditview.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'pim'
,
parameterName
:
'pim'
},
{
pathName
:
'hrposts'
,
parameterName
:
'hrpost'
},
{
pathName
:
'hrtransferapplies'
,
parameterName
:
'hrtransferapply'
},
{
pathName
:
'wfdynaeditview'
,
parameterName
:
'wfdynaeditview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/pcm/hrtransfer-apply-wfdyna-edit-view/hrtransfer-apply-wfdyna-edit-view.vue'
),
},
{
path
:
'hremployees/:hremployee?/hrtransferapplies/:hrtransferapply?/wfdynaeditview/:wfdynaeditview?'
,
meta
:
{
caption
:
'entities.hrtransferapply.views.wfdynaeditview.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'pim'
,
parameterName
:
'pim'
},
{
pathName
:
'hremployees'
,
parameterName
:
'hremployee'
},
{
pathName
:
'hrtransferapplies'
,
parameterName
:
'hrtransferapply'
},
{
pathName
:
'wfdynaeditview'
,
parameterName
:
'wfdynaeditview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/pcm/hrtransfer-apply-wfdyna-edit-view/hrtransfer-apply-wfdyna-edit-view.vue'
),
},
{
path
:
'hrorganizations/:hrorganization?/hrtransferapplies/:hrtransferapply?/wfdynaeditview/:wfdynaeditview?'
,
meta
:
{
caption
:
'entities.hrtransferapply.views.wfdynaeditview.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'pim'
,
parameterName
:
'pim'
},
{
pathName
:
'hrorganizations'
,
parameterName
:
'hrorganization'
},
{
pathName
:
'hrtransferapplies'
,
parameterName
:
'hrtransferapply'
},
{
pathName
:
'wfdynaeditview'
,
parameterName
:
'wfdynaeditview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/pcm/hrtransfer-apply-wfdyna-edit-view/hrtransfer-apply-wfdyna-edit-view.vue'
),
},
{
path
:
'hrtransferapplies/:hrtransferapply?/wfdynaeditview/:wfdynaeditview?'
,
meta
:
{
caption
:
'entities.hrtransferapply.views.wfdynaeditview.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'pim'
,
parameterName
:
'pim'
},
{
pathName
:
'hrtransferapplies'
,
parameterName
:
'hrtransferapply'
},
{
pathName
:
'wfdynaeditview'
,
parameterName
:
'wfdynaeditview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/pcm/hrtransfer-apply-wfdyna-edit-view/hrtransfer-apply-wfdyna-edit-view.vue'
),
},
{
path
:
'hrposts/:hrpost?/hrtransferapplies/:hrtransferapply?/v_002/:v_002?'
,
meta
:
{
...
...
@@ -1047,6 +1106,65 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/human-resource/hrduty-pickup-view/hrduty-pickup-view.vue'
),
},
{
path
:
'hrposts/:hrpost?/hrtransferapplies/:hrtransferapply?/wfdynaexpgridview/:wfdynaexpgridview?'
,
meta
:
{
caption
:
'entities.hrtransferapply.views.wfdynaexpgridview.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'pim'
,
parameterName
:
'pim'
},
{
pathName
:
'hrposts'
,
parameterName
:
'hrpost'
},
{
pathName
:
'hrtransferapplies'
,
parameterName
:
'hrtransferapply'
},
{
pathName
:
'wfdynaexpgridview'
,
parameterName
:
'wfdynaexpgridview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/pcm/hrtransfer-apply-wfdyna-exp-grid-view/hrtransfer-apply-wfdyna-exp-grid-view.vue'
),
},
{
path
:
'hremployees/:hremployee?/hrtransferapplies/:hrtransferapply?/wfdynaexpgridview/:wfdynaexpgridview?'
,
meta
:
{
caption
:
'entities.hrtransferapply.views.wfdynaexpgridview.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'pim'
,
parameterName
:
'pim'
},
{
pathName
:
'hremployees'
,
parameterName
:
'hremployee'
},
{
pathName
:
'hrtransferapplies'
,
parameterName
:
'hrtransferapply'
},
{
pathName
:
'wfdynaexpgridview'
,
parameterName
:
'wfdynaexpgridview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/pcm/hrtransfer-apply-wfdyna-exp-grid-view/hrtransfer-apply-wfdyna-exp-grid-view.vue'
),
},
{
path
:
'hrorganizations/:hrorganization?/hrtransferapplies/:hrtransferapply?/wfdynaexpgridview/:wfdynaexpgridview?'
,
meta
:
{
caption
:
'entities.hrtransferapply.views.wfdynaexpgridview.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'pim'
,
parameterName
:
'pim'
},
{
pathName
:
'hrorganizations'
,
parameterName
:
'hrorganization'
},
{
pathName
:
'hrtransferapplies'
,
parameterName
:
'hrtransferapply'
},
{
pathName
:
'wfdynaexpgridview'
,
parameterName
:
'wfdynaexpgridview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/pcm/hrtransfer-apply-wfdyna-exp-grid-view/hrtransfer-apply-wfdyna-exp-grid-view.vue'
),
},
{
path
:
'hrtransferapplies/:hrtransferapply?/wfdynaexpgridview/:wfdynaexpgridview?'
,
meta
:
{
caption
:
'entities.hrtransferapply.views.wfdynaexpgridview.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'pim'
,
parameterName
:
'pim'
},
{
pathName
:
'hrtransferapplies'
,
parameterName
:
'hrtransferapply'
},
{
pathName
:
'wfdynaexpgridview'
,
parameterName
:
'wfdynaexpgridview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/pcm/hrtransfer-apply-wfdyna-exp-grid-view/hrtransfer-apply-wfdyna-exp-grid-view.vue'
),
},
{
path
:
'hremployees/:hremployee?/v_006/:v_006?'
,
meta
:
{
...
...
@@ -1292,27 +1410,27 @@ const router = new Router({
component
:
()
=>
import
(
'@pages/base/hroperation-unit-edit-view/hroperation-unit-edit-view.vue'
),
},
{
path
:
'hr
posts/:hrpost?/gridview/:grid
view?'
,
path
:
'hr
employees/:hremployee?/hrworkrecords/:hrworkrecord?/editview/:edit
view?'
,
meta
:
{
caption
:
'entities.hr
post.views.grid
view.title'
,
caption
:
'entities.hr
workrecord.views.edit
view.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'pim'
,
parameterName
:
'pim'
},
{
pathName
:
'hrposts'
,
parameterName
:
'hrpost'
},
{
pathName
:
'gridview'
,
parameterName
:
'gridview'
},
{
pathName
:
'hremployees'
,
parameterName
:
'hremployee'
},
{
pathName
:
'hrworkrecords'
,
parameterName
:
'hrworkrecord'
},
{
pathName
:
'editview'
,
parameterName
:
'editview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/human-resource/hr
post-grid-view/hrpost-grid
-view.vue'
),
component
:
()
=>
import
(
'@pages/human-resource/hr
work-record-edit-view/hrwork-record-edit
-view.vue'
),
},
{
path
:
'hr
employees/:hremployee?/hr
workrecords/:hrworkrecord?/editview/:editview?'
,
path
:
'hrworkrecords/:hrworkrecord?/editview/:editview?'
,
meta
:
{
caption
:
'entities.hrworkrecord.views.editview.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'pim'
,
parameterName
:
'pim'
},
{
pathName
:
'hremployees'
,
parameterName
:
'hremployee'
},
{
pathName
:
'hrworkrecords'
,
parameterName
:
'hrworkrecord'
},
{
pathName
:
'editview'
,
parameterName
:
'editview'
},
],
...
...
@@ -1321,18 +1439,18 @@ const router = new Router({
component
:
()
=>
import
(
'@pages/human-resource/hrwork-record-edit-view/hrwork-record-edit-view.vue'
),
},
{
path
:
'hr
workrecords/:hrworkrecord?/editview/:edit
view?'
,
path
:
'hr
posts/:hrpost?/gridview/:grid
view?'
,
meta
:
{
caption
:
'entities.hr
workrecord.views.edit
view.title'
,
caption
:
'entities.hr
post.views.grid
view.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'pim'
,
parameterName
:
'pim'
},
{
pathName
:
'hr
workrecords'
,
parameterName
:
'hrworkrecord
'
},
{
pathName
:
'
editview'
,
parameterName
:
'edit
view'
},
{
pathName
:
'hr
posts'
,
parameterName
:
'hrpost
'
},
{
pathName
:
'
gridview'
,
parameterName
:
'grid
view'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/human-resource/hr
work-record-edit-view/hrwork-record-edit
-view.vue'
),
component
:
()
=>
import
(
'@pages/human-resource/hr
post-grid-view/hrpost-grid
-view.vue'
),
},
{
path
:
'hremployees/:hremployee?/v_004/:v_004?'
,
...
...
@@ -2015,62 +2133,62 @@ const router = new Router({
component
:
()
=>
import
(
'@pages/base/hrorg-address-grid-view/hrorg-address-grid-view.vue'
),
},
{
path
:
'hr
duties/:hrduty?/hrdutycerts/:hrdutycert?/v_001/:v_001
?'
,
path
:
'hr
employees/:hremployee?/hrrewards/:hrreward?/editview/:editview
?'
,
meta
:
{
caption
:
'entities.hr
dutycert.views.v_001
.title'
,
caption
:
'entities.hr
reward.views.editview
.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'pim'
,
parameterName
:
'pim'
},
{
pathName
:
'hr
duties'
,
parameterName
:
'hrduty
'
},
{
pathName
:
'hr
dutycerts'
,
parameterName
:
'hrdutycert
'
},
{
pathName
:
'
v_001'
,
parameterName
:
'v_001
'
},
{
pathName
:
'hr
employees'
,
parameterName
:
'hremployee
'
},
{
pathName
:
'hr
rewards'
,
parameterName
:
'hrreward
'
},
{
pathName
:
'
editview'
,
parameterName
:
'editview
'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/human-resource/hr
duty-cert-v-001/hrduty-cert-v-001
.vue'
),
component
:
()
=>
import
(
'@pages/human-resource/hr
reward-edit-view/hrreward-edit-view
.vue'
),
},
{
path
:
'hr
dutycerts/:hrdutycert?/v_001/:v_001
?'
,
path
:
'hr
rewards/:hrreward?/editview/:editview
?'
,
meta
:
{
caption
:
'entities.hr
dutycert.views.v_001
.title'
,
caption
:
'entities.hr
reward.views.editview
.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'pim'
,
parameterName
:
'pim'
},
{
pathName
:
'hr
dutycerts'
,
parameterName
:
'hrdutycert
'
},
{
pathName
:
'
v_001'
,
parameterName
:
'v_001
'
},
{
pathName
:
'hr
rewards'
,
parameterName
:
'hrreward
'
},
{
pathName
:
'
editview'
,
parameterName
:
'editview
'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/human-resource/hr
duty-cert-v-001/hrduty-cert-v-001
.vue'
),
component
:
()
=>
import
(
'@pages/human-resource/hr
reward-edit-view/hrreward-edit-view
.vue'
),
},
{
path
:
'hr
employees/:hremployee?/hrrewards/:hrreward?/editview/:editview
?'
,
path
:
'hr
duties/:hrduty?/hrdutycerts/:hrdutycert?/v_001/:v_001
?'
,
meta
:
{
caption
:
'entities.hr
reward.views.editview
.title'
,
caption
:
'entities.hr
dutycert.views.v_001
.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'pim'
,
parameterName
:
'pim'
},
{
pathName
:
'hr
employees'
,
parameterName
:
'hremployee
'
},
{
pathName
:
'hr
rewards'
,
parameterName
:
'hrreward
'
},
{
pathName
:
'
editview'
,
parameterName
:
'editview
'
},
{
pathName
:
'hr
duties'
,
parameterName
:
'hrduty
'
},
{
pathName
:
'hr
dutycerts'
,
parameterName
:
'hrdutycert
'
},
{
pathName
:
'
v_001'
,
parameterName
:
'v_001
'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/human-resource/hr
reward-edit-view/hrreward-edit-view
.vue'
),
component
:
()
=>
import
(
'@pages/human-resource/hr
duty-cert-v-001/hrduty-cert-v-001
.vue'
),
},
{
path
:
'hr
rewards/:hrreward?/editview/:editview
?'
,
path
:
'hr
dutycerts/:hrdutycert?/v_001/:v_001
?'
,
meta
:
{
caption
:
'entities.hr
reward.views.editview
.title'
,
caption
:
'entities.hr
dutycert.views.v_001
.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'pim'
,
parameterName
:
'pim'
},
{
pathName
:
'hr
rewards'
,
parameterName
:
'hrreward
'
},
{
pathName
:
'
editview'
,
parameterName
:
'editview
'
},
{
pathName
:
'hr
dutycerts'
,
parameterName
:
'hrdutycert
'
},
{
pathName
:
'
v_001'
,
parameterName
:
'v_001
'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/human-resource/hr
reward-edit-view/hrreward-edit-view
.vue'
),
component
:
()
=>
import
(
'@pages/human-resource/hr
duty-cert-v-001/hrduty-cert-v-001
.vue'
),
},
{
path
:
'hrlegals/:hrlegal?/dashboardview/:dashboardview?'
,
...
...
app_PIM/src/store/modules/view-action/state.ts
浏览文件 @
d6b184a6
...
...
@@ -145,6 +145,17 @@ export const viewstate: any = {
'e7ba37699bd458dc8dd5c02abac8dadd'
,
],
},
{
viewtag
:
'10c50502a4eebb3c2f6373326db96fc5'
,
viewmodule
:
'Pcm'
,
viewname
:
'HRTransferApplyWFDynaExpGridView'
,
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
'c8310acd7e65d023051725aac59122d9'
,
'0dbdd98c4946bd6e79feb18e32dd387b'
,
],
},
{
viewtag
:
'114f056047eddd92374e982356e59852'
,
viewmodule
:
'Base'
,
...
...
@@ -360,18 +371,19 @@ export const viewstate: any = {
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
'286e8ac9eca7b6eb8058fde93995db10'
,
'8e90bfab442fc1c89453722dfe094408'
,
'685cd7da1331d604d0382b8d64d90664'
,
'd6a51bb0caa43fb475fceed816e6a5aa'
,
'8e90bfab442fc1c89453722dfe094408'
,
'997c27311a28f6ed4e41153c43a5f723'
,
'bae1de77dc5bd2584e2dcf7201a06495'
,
'0d8ac739134947cc5f6545d4041024de'
,
'
b9130f18de0b66cd31ecaddb5a841aae
'
,
'
10c50502a4eebb3c2f6373326db96fc5
'
,
'41036146909ab3f28ff59b80370514b2'
,
'c01c4604589a2c171c4f41f2ac11f4e2'
,
'114f056047eddd92374e982356e59852'
,
'71c5da4234a5c4d3e46c572556dd52d9'
,
'114f056047eddd92374e982356e59852'
,
'286e8ac9eca7b6eb8058fde93995db10'
,
'685cd7da1331d604d0382b8d64d90664'
,
'bae1de77dc5bd2584e2dcf7201a06495'
,
'b9130f18de0b66cd31ecaddb5a841aae'
,
],
},
{
...
...
@@ -1042,6 +1054,18 @@ export const viewstate: any = {
'1316a3add8f01af03edf978ef21af6b1'
,
],
},
{
viewtag
:
'c8310acd7e65d023051725aac59122d9'
,
viewmodule
:
'Pcm'
,
viewname
:
'HRTransferApplyWFDynaEditView'
,
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
'04c02737ae62a4f4c014607441ee0401'
,
'ec9d9fe37bbfc3fcb623e2dc34b48dbc'
,
'e7ba37699bd458dc8dd5c02abac8dadd'
,
],
},
{
viewtag
:
'cb76a18e2c82d318acd00a4ae7c63e8f'
,
viewmodule
:
'HumanResource'
,
...
...
app_PIM/src/studio-core/components/app-header-menus/app-header-menus.tsx
浏览文件 @
d6b184a6
...
...
@@ -139,6 +139,9 @@ export class AppHeaderMenus extends Vue {
* @memberof AppHeaderMenus
*/
protected
renderMenuItem
(
item
:
any
):
any
{
if
(
item
.
hidden
)
{
return
;
}
return
<
menuItem
title=
{
item
.
tooltip
}
name=
{
item
.
name
}
>
<
menu
-
icon
item=
{
item
}
/>
{
item
.
text
}
...
...
@@ -154,6 +157,9 @@ export class AppHeaderMenus extends Vue {
* @memberof AppHeaderMenus
*/
protected
renderSubMenu
(
item
:
any
):
any
{
if
(
item
.
hidden
)
{
return
;
}
return
<
submenu
name=
{
item
.
name
}
>
<
template
slot=
"title"
>
<
menu
-
icon
item=
{
item
}
/>
...
...
app_PIM/src/studio-core/components/layout/app-content-bottom-exp/app-content-bottom-exp.tsx
浏览文件 @
d6b184a6
...
...
@@ -120,7 +120,7 @@ export class AppContentBottomExp extends Vue {
return
<
div
class=
"app-content-bottom-exp"
>
<
tabs
size=
"small"
animated=
{
false
}
value=
{
this
.
activeIndex
.
toString
()
}
on
-
on
-
click=
{
(
name
:
string
)
=>
this
.
activeTab
(
name
)
}
>
{
this
.
menus
.
map
((
item
:
any
,
i
:
number
)
=>
{
if
(
!
Object
.
is
(
item
.
appfuncyype
,
'APPVIEW'
))
{
if
(
!
Object
.
is
(
item
.
appfuncyype
,
'APPVIEW'
)
||
item
.
hidden
)
{
return
;
}
return
<
tabPane
label=
{
(
h
:
any
)
=>
this
.
renderTitle
(
h
,
item
)
}
name=
{
i
.
toString
()
}
>
...
...
app_PIM/src/studio-core/components/layout/app-content-left-exp/app-content-left-exp.tsx
浏览文件 @
d6b184a6
...
...
@@ -108,6 +108,9 @@ export class AppContentLeftExp extends Vue {
return
<
div
class=
"app-content-left-exp"
>
<
div
class=
"exp-actions"
>
{
this
.
menus
.
map
((
item
:
any
,
index
:
number
)
=>
{
if
(
item
.
hidden
)
{
return
;
}
return
<
div
title=
{
item
.
tooltip
}
on
-
click=
{
()
=>
this
.
itemClick
(
item
,
index
)
}
class=
{
{
'action-item'
:
true
,
'active'
:
this
.
activeIndex
===
index
}
}
>
<
div
class=
"active-item-indicator"
/>
<
menu
-
icon
item=
{
item
}
/>
...
...
@@ -116,7 +119,7 @@ export class AppContentLeftExp extends Vue {
</
div
>
<
div
class=
"exp-content"
>
{
this
.
menus
.
map
((
item
:
any
,
index
:
number
)
=>
{
if
(
!
Object
.
is
(
item
.
appfuncyype
,
'APPVIEW'
)
||
!
item
.
isActivated
)
{
if
(
!
Object
.
is
(
item
.
appfuncyype
,
'APPVIEW'
)
||
!
item
.
isActivated
||
item
.
hidden
)
{
return
;
}
return
<
div
v
-
show=
{
this
.
activeIndex
===
index
}
key=
{
index
}
class=
"exp-item"
>
...
...
app_PIM/src/studio-core/components/user-info/user-info.tsx
浏览文件 @
d6b184a6
...
...
@@ -140,6 +140,9 @@ export class UserInfo extends Vue {
* @memberof UserInfo
*/
protected
renderMenuItem
(
item
:
any
):
any
{
if
(
item
.
hidden
)
{
return
;
}
return
<
dropdownItem
name=
{
item
.
name
}
title=
{
item
.
tooltip
}
>
<
menu
-
icon
item=
{
item
}
/>
{
item
.
text
}
...
...
@@ -155,6 +158,9 @@ export class UserInfo extends Vue {
* @memberof UserInfo
*/
protected
renderMenuGroup
(
item
:
any
):
any
{
if
(
item
.
hidden
)
{
return
;
}
return
<
dropdown
class=
"user-menu-child"
placement=
"left-start"
>
<
dropdownItem
name=
{
item
.
name
}
title=
{
item
.
tooltip
}
>
<
icon
type=
"ios-arrow-back"
></
icon
>
...
...
app_PIM/src/studio-core/widgets/EditFormControlBase.tsx
浏览文件 @
d6b184a6
...
...
@@ -110,6 +110,9 @@ export class EditFormControlBase extends FormControlBase {
if
(
Object
.
is
(
'removeandexit'
,
action
))
{
this
.
removeAndExit
(
data
);
}
if
(
Object
.
is
(
'panelaction'
,
action
))
{
this
.
panelAction
(
data
.
action
,
data
.
emitAction
,
data
);
}
});
}
this
.
dataChang
...
...
@@ -610,6 +613,50 @@ export class EditFormControlBase extends FormControlBase {
*/
public
resetFormData
({
name
,
newVal
,
oldVal
}:
{
name
:
string
,
newVal
:
any
,
oldVal
:
any
}):
void
{
}
/**
* 面板行为
*
* @param {string} [action] 调用的实体行为
* @param {string} [emitAction] 抛出行为
* @param {*} [data={}] 传入数据
* @param {boolean} [showloading] 是否显示加载状态
*
* @memberof EditFormControlBase
*/
public
panelAction
(
action
:
string
,
emitAction
:
string
,
data
:
any
=
{},
showloading
?:
boolean
):
void
{
if
(
!
action
||
(
action
&&
Object
.
is
(
action
,
''
)))
{
return
;
}
const
arg
:
any
=
{
...
data
};
const
formdata
=
this
.
getValues
();
Object
.
assign
(
arg
,
formdata
);
Object
.
assign
(
arg
,
this
.
viewparams
);
const
post
:
Promise
<
any
>
=
this
.
service
.
frontLogic
(
action
,
JSON
.
parse
(
JSON
.
stringify
(
this
.
context
)),
arg
,
showloading
);
post
.
then
((
response
:
any
)
=>
{
if
(
!
response
.
status
||
response
.
status
!==
200
)
{
if
(
response
.
data
)
{
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
response
.
data
.
message
});
}
return
;
}
const
data
=
response
.
data
;
this
.
onFormLoad
(
data
,
emitAction
);
this
.
$emit
(
emitAction
,
data
);
this
.
$nextTick
(()
=>
{
this
.
formState
.
next
({
type
:
emitAction
,
data
:
data
});
});
}).
catch
((
response
:
any
)
=>
{
if
(
response
&&
response
.
status
&&
response
.
data
)
{
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
response
.
data
.
message
});
return
;
}
if
(
!
response
||
!
response
.
status
||
!
response
.
data
)
{
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
(
this
.
$t
(
'app.commonWords.sysException'
)
as
string
)
});
return
;
}
});
}
/**
* 保存并退出
*
...
...
app_PIM/src/uiservice/hrduty/hrduty-ui-service-base.ts
浏览文件 @
d6b184a6
...
...
@@ -292,7 +292,7 @@ export default class HRDutyUIServiceBase extends UIService {
xData
.
refresh
(
args
);
}
if
(
this
.
HRDuty_FF_001
&&
this
.
HRDuty_FF_001
instanceof
Function
)
{
this
.
HRDuty_FF_001
(
result
.
datas
[
0
]
,
context
,
params
,
$event
,
xData
,
actionContext
);
this
.
HRDuty_FF_001
(
result
.
datas
,
context
,
params
,
$event
,
xData
,
actionContext
);
}
return
result
.
datas
;
});
...
...
app_PIM/src/uiservice/hremployee/hremployee-ui-service-base.ts
浏览文件 @
d6b184a6
...
...
@@ -352,7 +352,7 @@ export default class HREmployeeUIServiceBase extends UIService {
xData
.
refresh
(
args
);
}
if
(
this
.
HREmployee_FF_001
&&
this
.
HREmployee_FF_001
instanceof
Function
)
{
this
.
HREmployee_FF_001
(
result
.
datas
[
0
]
,
context
,
params
,
$event
,
xData
,
actionContext
);
this
.
HREmployee_FF_001
(
result
.
datas
,
context
,
params
,
$event
,
xData
,
actionContext
);
}
return
result
.
datas
;
});
...
...
app_PIM/src/uiservice/hrlegal/hrlegal-ui-service-base.ts
浏览文件 @
d6b184a6
...
...
@@ -276,7 +276,7 @@ export default class HRLegalUIServiceBase extends UIService {
xData
.
refresh
(
args
);
}
if
(
this
.
HRLegal_FF_001
&&
this
.
HRLegal_FF_001
instanceof
Function
)
{
this
.
HRLegal_FF_001
(
result
.
datas
[
0
]
,
context
,
params
,
$event
,
xData
,
actionContext
);
this
.
HRLegal_FF_001
(
result
.
datas
,
context
,
params
,
$event
,
xData
,
actionContext
);
}
return
result
.
datas
;
});
...
...
app_PIM/src/uiservice/hroperation-unit/hroperation-unit-ui-service-base.ts
浏览文件 @
d6b184a6
...
...
@@ -259,7 +259,7 @@ export default class HROperationUnitUIServiceBase extends UIService {
xData
.
refresh
(
args
);
}
if
(
this
.
HROperationUnit_FF_001
&&
this
.
HROperationUnit_FF_001
instanceof
Function
)
{
this
.
HROperationUnit_FF_001
(
result
.
datas
[
0
]
,
context
,
params
,
$event
,
xData
,
actionContext
);
this
.
HROperationUnit_FF_001
(
result
.
datas
,
context
,
params
,
$event
,
xData
,
actionContext
);
}
return
result
.
datas
;
});
...
...
app_PIM/src/uiservice/hrpost/hrpost-ui-service-base.ts
浏览文件 @
d6b184a6
...
...
@@ -217,7 +217,7 @@ export default class HRPostUIServiceBase extends UIService {
xData
.
refresh
(
args
);
}
if
(
this
.
HRPost_FF_001
&&
this
.
HRPost_FF_001
instanceof
Function
)
{
this
.
HRPost_FF_001
(
result
.
datas
[
0
]
,
context
,
params
,
$event
,
xData
,
actionContext
);
this
.
HRPost_FF_001
(
result
.
datas
,
context
,
params
,
$event
,
xData
,
actionContext
);
}
return
result
.
datas
;
});
...
...
app_PIM/src/uiservice/hrtransfer-apply/hrtransfer-apply-ui-service-base.ts
浏览文件 @
d6b184a6
...
...
@@ -91,6 +91,7 @@ export default class HRTransferApplyUIServiceBase extends UIService {
public
initViewMap
(){
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'v_002'
,
srfappde
:
'hrtransferapplies'
});
this
.
allViewMap
.
set
(
'EDITVIEW:'
,{
viewname
:
'editview'
,
srfappde
:
'hrtransferapplies'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'wfdynaexpgridview'
,
srfappde
:
'hrtransferapplies'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'v_001'
,
srfappde
:
'hrtransferapplies'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'v_004'
,
srfappde
:
'hrtransferapplies'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'tabexpview'
,
srfappde
:
'hrtransferapplies'
});
...
...
@@ -99,6 +100,7 @@ export default class HRTransferApplyUIServiceBase extends UIService {
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'v_006'
,
srfappde
:
'hrtransferapplies'
});
this
.
allViewMap
.
set
(
'MDATAVIEW:'
,{
viewname
:
'gridview'
,
srfappde
:
'hrtransferapplies'
});
this
.
allViewMap
.
set
(
'PICKUPVIEW:'
,{
viewname
:
'pickupview'
,
srfappde
:
'hrtransferapplies'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'wfdynaeditview'
,
srfappde
:
'hrtransferapplies'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'dashboardview'
,
srfappde
:
'hrtransferapplies'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'pickupgridview'
,
srfappde
:
'hrtransferapplies'
});
}
...
...
@@ -224,7 +226,7 @@ export default class HRTransferApplyUIServiceBase extends UIService {
xData
.
refresh
(
args
);
}
if
(
this
.
HRTransferApply_FF_001
&&
this
.
HRTransferApply_FF_001
instanceof
Function
)
{
this
.
HRTransferApply_FF_001
(
result
.
datas
[
0
]
,
context
,
params
,
$event
,
xData
,
actionContext
);
this
.
HRTransferApply_FF_001
(
result
.
datas
,
context
,
params
,
$event
,
xData
,
actionContext
);
}
return
result
.
datas
;
});
...
...
app_PIM/src/widgets/app/pim-appmenu/pim-appmenu-base.tsx
浏览文件 @
d6b184a6
...
...
@@ -5,40 +5,51 @@ import { Vue } from 'vue-property-decorator';
*/
export
class
PIMBase
extends
Vue
{
/**
* 获取应用上下文
*
* @memberof PIMBase
*/
get
context
():
any
{
return
this
.
$appService
.
contextStore
.
appContext
||
{};
}
/**
* 菜单点击
*
* @param {*} item 菜单数据
* @memberof PIM
* @memberof PIM
Base
*/
public
click
(
item
:
any
)
{
if
(
item
)
{
let
judge
=
true
;
switch
(
item
.
appfunctag
)
{
case
'_12'
:
this
.
click_12
(
item
);
break
;
case
'_3'
:
this
.
click_3
(
item
);
break
;
case
'_2'
:
this
.
click_2
(
item
);
break
;
case
'_4'
:
this
.
click_4
(
item
);
break
;
case
'_
7
'
:
this
.
click_
7
(
item
);
break
;
case
'_
12
'
:
this
.
click_
12
(
item
);
break
;
case
'_8'
:
this
.
click_8
(
item
);
break
;
case
'_11'
:
this
.
click_11
(
item
);
break
;
case
'_14'
:
this
.
click_14
(
item
);
break
;
case
'_6'
:
this
.
click_6
(
item
);
break
;
case
'_13'
:
this
.
click_13
(
item
);
break
;
case
'_10'
:
this
.
click_10
(
item
);
break
;
case
'_2'
:
this
.
click_2
(
item
);
break
;
case
'_3'
:
this
.
click_3
(
item
);
break
;
case
'_5'
:
this
.
click_5
(
item
);
break
;
case
'_6'
:
this
.
click_6
(
item
);
break
;
case
'_14'
:
this
.
click_14
(
item
);
break
;
case
'_9'
:
this
.
click_9
(
item
);
break
;
case
'_11'
:
this
.
click_11
(
item
);
break
;
case
'_7'
:
this
.
click_7
(
item
);
break
;
case
'_15'
:
this
.
click_15
(
item
);
break
;
default
:
judge
=
false
;
console
.
warn
(
'未指定应用功能'
);
...
...
@@ -50,17 +61,17 @@ export class PIMBase extends Vue {
}
/**
*
组织
*
运营单位
*
* @param {*} [item={}]
* @memberof PIM
*/
public
click_
12
(
item
:
any
=
{})
{
public
click_
4
(
item
:
any
=
{})
{
const
viewparam
:
any
=
{};
Object
.
assign
(
viewparam
,
{});
const
deResParameters
:
any
[]
=
[];
const
parameters
:
any
[]
=
[
{
pathName
:
'hro
rganizations'
,
parameterName
:
'hrorganization
'
},
{
pathName
:
'hro
perationunits'
,
parameterName
:
'hroperationunit
'
},
{
pathName
:
'gridview'
,
parameterName
:
'gridview'
},
];
const
path
:
string
=
this
.
$viewTool
.
buildUpRoutePath
(
this
.
$route
,
{},
deResParameters
,
parameters
,
[],
viewparam
);
...
...
@@ -73,17 +84,17 @@ export class PIMBase extends Vue {
}
/**
*
运营单位
*
档案信息
*
* @param {*} [item={}]
* @memberof PIM
*/
public
click_
3
(
item
:
any
=
{})
{
public
click_
12
(
item
:
any
=
{})
{
const
viewparam
:
any
=
{};
Object
.
assign
(
viewparam
,
{});
const
deResParameters
:
any
[]
=
[];
const
parameters
:
any
[]
=
[
{
pathName
:
'hr
operationunits'
,
parameterName
:
'hroperationunit
'
},
{
pathName
:
'hr
archives'
,
parameterName
:
'hrarchives
'
},
{
pathName
:
'gridview'
,
parameterName
:
'gridview'
},
];
const
path
:
string
=
this
.
$viewTool
.
buildUpRoutePath
(
this
.
$route
,
{},
deResParameters
,
parameters
,
[],
viewparam
);
...
...
@@ -96,18 +107,18 @@ export class PIMBase extends Vue {
}
/**
*
法人
*
职位
*
* @param {*} [item={}]
* @memberof PIM
*/
public
click_
2
(
item
:
any
=
{})
{
public
click_
8
(
item
:
any
=
{})
{
const
viewparam
:
any
=
{};
Object
.
assign
(
viewparam
,
{});
const
deResParameters
:
any
[]
=
[];
const
parameters
:
any
[]
=
[
{
pathName
:
'hr
legals'
,
parameterName
:
'hrlegal
'
},
{
pathName
:
'
gridview'
,
parameterName
:
'grid
view'
},
{
pathName
:
'hr
posts'
,
parameterName
:
'hrpost
'
},
{
pathName
:
'
tabexpview'
,
parameterName
:
'tabexp
view'
},
];
const
path
:
string
=
this
.
$viewTool
.
buildUpRoutePath
(
this
.
$route
,
{},
deResParameters
,
parameters
,
[],
viewparam
);
if
(
Object
.
is
(
this
.
$route
.
fullPath
,
path
)){
...
...
@@ -119,18 +130,18 @@ export class PIMBase extends Vue {
}
/**
*
员工信息
*
层次结构类别
*
* @param {*} [item={}]
* @memberof PIM
*/
public
click_4
(
item
:
any
=
{})
{
public
click_
1
4
(
item
:
any
=
{})
{
const
viewparam
:
any
=
{};
Object
.
assign
(
viewparam
,
{});
const
deResParameters
:
any
[]
=
[];
const
parameters
:
any
[]
=
[
{
pathName
:
'hr
employees'
,
parameterName
:
'hremployee
'
},
{
pathName
:
'
tabexpview'
,
parameterName
:
'tabexp
view'
},
{
pathName
:
'hr
omhierarchycats'
,
parameterName
:
'hromhierarchycat
'
},
{
pathName
:
'
gridview'
,
parameterName
:
'grid
view'
},
];
const
path
:
string
=
this
.
$viewTool
.
buildUpRoutePath
(
this
.
$route
,
{},
deResParameters
,
parameters
,
[],
viewparam
);
if
(
Object
.
is
(
this
.
$route
.
fullPath
,
path
)){
...
...
@@ -142,18 +153,18 @@ export class PIMBase extends Vue {
}
/**
* 职
位
* 职
务
*
* @param {*} [item={}]
* @memberof PIM
*/
public
click_
7
(
item
:
any
=
{})
{
public
click_
6
(
item
:
any
=
{})
{
const
viewparam
:
any
=
{};
Object
.
assign
(
viewparam
,
{});
const
deResParameters
:
any
[]
=
[];
const
parameters
:
any
[]
=
[
{
pathName
:
'hr
posts'
,
parameterName
:
'hrpost
'
},
{
pathName
:
'
tabexpview'
,
parameterName
:
'tabexp
view'
},
{
pathName
:
'hr
duties'
,
parameterName
:
'hrduty
'
},
{
pathName
:
'
gridview'
,
parameterName
:
'grid
view'
},
];
const
path
:
string
=
this
.
$viewTool
.
buildUpRoutePath
(
this
.
$route
,
{},
deResParameters
,
parameters
,
[],
viewparam
);
if
(
Object
.
is
(
this
.
$route
.
fullPath
,
path
)){
...
...
@@ -165,17 +176,17 @@ export class PIMBase extends Vue {
}
/**
*
证书信息
*
组织
*
* @param {*} [item={}]
* @memberof PIM
*/
public
click_
8
(
item
:
any
=
{})
{
public
click_
13
(
item
:
any
=
{})
{
const
viewparam
:
any
=
{};
Object
.
assign
(
viewparam
,
{});
const
deResParameters
:
any
[]
=
[];
const
parameters
:
any
[]
=
[
{
pathName
:
'hr
certificates'
,
parameterName
:
'hrcertificate
'
},
{
pathName
:
'hr
organizations'
,
parameterName
:
'hrorganization
'
},
{
pathName
:
'gridview'
,
parameterName
:
'gridview'
},
];
const
path
:
string
=
this
.
$viewTool
.
buildUpRoutePath
(
this
.
$route
,
{},
deResParameters
,
parameters
,
[],
viewparam
);
...
...
@@ -188,18 +199,18 @@ export class PIMBase extends Vue {
}
/**
*
档案信息
*
调动管理
*
* @param {*} [item={}]
* @memberof PIM
*/
public
click_
11
(
item
:
any
=
{})
{
public
click_
2
(
item
:
any
=
{})
{
const
viewparam
:
any
=
{};
Object
.
assign
(
viewparam
,
{});
const
deResParameters
:
any
[]
=
[];
const
parameters
:
any
[]
=
[
{
pathName
:
'hr
archives'
,
parameterName
:
'hrarchives
'
},
{
pathName
:
'
gridview'
,
parameterName
:
'
gridview'
},
{
pathName
:
'hr
transferapplies'
,
parameterName
:
'hrtransferapply
'
},
{
pathName
:
'
wfdynaexpgridview'
,
parameterName
:
'wfdynaexp
gridview'
},
];
const
path
:
string
=
this
.
$viewTool
.
buildUpRoutePath
(
this
.
$route
,
{},
deResParameters
,
parameters
,
[],
viewparam
);
if
(
Object
.
is
(
this
.
$route
.
fullPath
,
path
)){
...
...
@@ -211,17 +222,17 @@ export class PIMBase extends Vue {
}
/**
*
层次结构类别
*
法人
*
* @param {*} [item={}]
* @memberof PIM
*/
public
click_
1
3
(
item
:
any
=
{})
{
public
click_3
(
item
:
any
=
{})
{
const
viewparam
:
any
=
{};
Object
.
assign
(
viewparam
,
{});
const
deResParameters
:
any
[]
=
[];
const
parameters
:
any
[]
=
[
{
pathName
:
'hr
omhierarchycats'
,
parameterName
:
'hromhierarchycat
'
},
{
pathName
:
'hr
legals'
,
parameterName
:
'hrlegal
'
},
{
pathName
:
'gridview'
,
parameterName
:
'gridview'
},
];
const
path
:
string
=
this
.
$viewTool
.
buildUpRoutePath
(
this
.
$route
,
{},
deResParameters
,
parameters
,
[],
viewparam
);
...
...
@@ -234,17 +245,17 @@ export class PIMBase extends Vue {
}
/**
*
合同
信息
*
员工
信息
*
* @param {*} [item={}]
* @memberof PIM
*/
public
click_
10
(
item
:
any
=
{})
{
public
click_
5
(
item
:
any
=
{})
{
const
viewparam
:
any
=
{};
Object
.
assign
(
viewparam
,
{});
const
deResParameters
:
any
[]
=
[];
const
parameters
:
any
[]
=
[
{
pathName
:
'hr
contracts'
,
parameterName
:
'hrcontract
'
},
{
pathName
:
'hr
employees'
,
parameterName
:
'hremployee
'
},
{
pathName
:
'tabexpview'
,
parameterName
:
'tabexpview'
},
];
const
path
:
string
=
this
.
$viewTool
.
buildUpRoutePath
(
this
.
$route
,
{},
deResParameters
,
parameters
,
[],
viewparam
);
...
...
@@ -257,17 +268,17 @@ export class PIMBase extends Vue {
}
/**
*
职务
*
证书信息
*
* @param {*} [item={}]
* @memberof PIM
*/
public
click_
5
(
item
:
any
=
{})
{
public
click_
9
(
item
:
any
=
{})
{
const
viewparam
:
any
=
{};
Object
.
assign
(
viewparam
,
{});
const
deResParameters
:
any
[]
=
[];
const
parameters
:
any
[]
=
[
{
pathName
:
'hr
duties'
,
parameterName
:
'hrduty
'
},
{
pathName
:
'hr
certificates'
,
parameterName
:
'hrcertificate
'
},
{
pathName
:
'gridview'
,
parameterName
:
'gridview'
},
];
const
path
:
string
=
this
.
$viewTool
.
buildUpRoutePath
(
this
.
$route
,
{},
deResParameters
,
parameters
,
[],
viewparam
);
...
...
@@ -279,13 +290,36 @@ export class PIMBase extends Vue {
})
}
/**
* 合同信息
*
* @param {*} [item={}]
* @memberof PIM
*/
public
click_11
(
item
:
any
=
{})
{
const
viewparam
:
any
=
{};
Object
.
assign
(
viewparam
,
{});
const
deResParameters
:
any
[]
=
[];
const
parameters
:
any
[]
=
[
{
pathName
:
'hrcontracts'
,
parameterName
:
'hrcontract'
},
{
pathName
:
'tabexpview'
,
parameterName
:
'tabexpview'
},
];
const
path
:
string
=
this
.
$viewTool
.
buildUpRoutePath
(
this
.
$route
,
{},
deResParameters
,
parameters
,
[],
viewparam
);
if
(
Object
.
is
(
this
.
$route
.
fullPath
,
path
)){
return
;
}
this
.
$nextTick
(
function
(){
this
.
$router
.
push
(
path
);
})
}
/**
* 职称信息
*
* @param {*} [item={}]
* @memberof PIM
*/
public
click_
6
(
item
:
any
=
{})
{
public
click_
7
(
item
:
any
=
{})
{
const
viewparam
:
any
=
{};
Object
.
assign
(
viewparam
,
{});
const
deResParameters
:
any
[]
=
[];
...
...
@@ -308,7 +342,7 @@ export class PIMBase extends Vue {
* @param {*} [item={}]
* @memberof PIM
*/
public
click_1
4
(
item
:
any
=
{})
{
public
click_1
5
(
item
:
any
=
{})
{
const
viewparam
:
any
=
{};
Object
.
assign
(
viewparam
,
{});
const
deResParameters
:
any
[]
=
[];
...
...
@@ -329,7 +363,7 @@ export class PIMBase extends Vue {
* 绘制内容
*
* @private
* @memberof PIM
* @memberof PIM
Base
*/
public
render
():
any
{
return
<
span
style=
"display: none;"
/>
...
...
app_PIM/src/widgets/app/pim-appmenu/pim-appmenu-model.ts
浏览文件 @
d6b184a6
...
...
@@ -115,6 +115,25 @@ export default class PIMModel {
resourcetag
:
''
,
items
:
[
{
id
:
'F174B1DB-8E40-44BD-A1F9-4C58915A8375'
,
name
:
'menuitem19'
,
text
:
'首页'
,
type
:
'MENUITEM'
,
counterid
:
''
,
tooltip
:
'首页'
,
expanded
:
false
,
separator
:
false
,
hidden
:
false
,
hidesidebar
:
false
,
opendefault
:
false
,
iconcls
:
'fa fa-university'
,
icon
:
''
,
textcls
:
''
,
appfunctag
:
''
,
resourcetag
:
''
,
}
,
{
id
:
'1F73FB8E-0E2A-4B7A-B800-004B01AB2301'
,
name
:
'menuitem5'
,
text
:
'基础'
,
...
...
@@ -147,7 +166,7 @@ export default class PIMModel {
iconcls
:
'fa fa-user'
,
icon
:
''
,
textcls
:
''
,
appfunctag
:
'_
4
'
,
appfunctag
:
'_
5
'
,
appfuncyype
:
'APPVIEW'
,
viewname
:
'hremployee-tab-exp-view'
,
resourcetag
:
''
,
...
...
@@ -168,7 +187,7 @@ export default class PIMModel {
iconcls
:
'fa fa-th-large'
,
icon
:
''
,
textcls
:
''
,
appfunctag
:
'_1
0
'
,
appfunctag
:
'_1
1
'
,
appfuncyype
:
'APPVIEW'
,
viewname
:
'hrcontract-tab-exp-view'
,
resourcetag
:
''
,
...
...
@@ -189,7 +208,7 @@ export default class PIMModel {
iconcls
:
'fa fa-newspaper-o'
,
icon
:
''
,
textcls
:
''
,
appfunctag
:
'_1
1
'
,
appfunctag
:
'_1
2
'
,
appfuncyype
:
'APPVIEW'
,
viewname
:
'hrarchives-grid-view'
,
resourcetag
:
''
,
...
...
@@ -210,7 +229,7 @@ export default class PIMModel {
iconcls
:
'fa fa-shirtsinbulk'
,
icon
:
''
,
textcls
:
''
,
appfunctag
:
'_
6
'
,
appfunctag
:
'_
7
'
,
appfuncyype
:
'APPVIEW'
,
viewname
:
'hrtechnical-title-grid-view'
,
resourcetag
:
''
,
...
...
@@ -231,7 +250,7 @@ export default class PIMModel {
iconcls
:
'fa fa-certificate'
,
icon
:
''
,
textcls
:
''
,
appfunctag
:
'_
8
'
,
appfunctag
:
'_
9
'
,
appfuncyype
:
'APPVIEW'
,
viewname
:
'hrcertificate-grid-view'
,
resourcetag
:
''
,
...
...
@@ -273,7 +292,7 @@ export default class PIMModel {
iconcls
:
'fa fa-shirtsinbulk'
,
icon
:
''
,
textcls
:
''
,
appfunctag
:
'_
2
'
,
appfunctag
:
'_
3
'
,
appfuncyype
:
'APPVIEW'
,
viewname
:
'hrlegal-grid-view'
,
resourcetag
:
''
,
...
...
@@ -294,7 +313,7 @@ export default class PIMModel {
iconcls
:
'fa fa-building-o'
,
icon
:
''
,
textcls
:
''
,
appfunctag
:
'_
3
'
,
appfunctag
:
'_
4
'
,
appfuncyype
:
'APPVIEW'
,
viewname
:
'hroperation-unit-grid-view'
,
resourcetag
:
''
,
...
...
@@ -315,7 +334,7 @@ export default class PIMModel {
iconcls
:
'fa fa-signal'
,
icon
:
''
,
textcls
:
''
,
appfunctag
:
'_1
3
'
,
appfunctag
:
'_1
4
'
,
appfuncyype
:
'APPVIEW'
,
viewname
:
'hromhierarchy-cat-grid-view'
,
resourcetag
:
''
,
...
...
@@ -336,7 +355,7 @@ export default class PIMModel {
iconcls
:
'fa fa-sitemap'
,
icon
:
''
,
textcls
:
''
,
appfunctag
:
'_1
2
'
,
appfunctag
:
'_1
3
'
,
appfuncyype
:
'APPVIEW'
,
viewname
:
'hrorganization-grid-view'
,
resourcetag
:
''
,
...
...
@@ -378,7 +397,7 @@ export default class PIMModel {
iconcls
:
'fa fa-delicious'
,
icon
:
''
,
textcls
:
''
,
appfunctag
:
'_
7
'
,
appfunctag
:
'_
8
'
,
appfuncyype
:
'APPVIEW'
,
viewname
:
'hrpost-tab-exp-view'
,
resourcetag
:
''
,
...
...
@@ -399,7 +418,7 @@ export default class PIMModel {
iconcls
:
'fa fa-bars'
,
icon
:
''
,
textcls
:
''
,
appfunctag
:
'_
5
'
,
appfunctag
:
'_
6
'
,
appfuncyype
:
'APPVIEW'
,
viewname
:
'hrduty-grid-view'
,
resourcetag
:
''
,
...
...
@@ -441,11 +460,32 @@ export default class PIMModel {
iconcls
:
'fa fa-cube'
,
icon
:
''
,
textcls
:
''
,
appfunctag
:
'_1
4
'
,
appfunctag
:
'_1
5
'
,
appfuncyype
:
'APPVIEW'
,
viewname
:
'hrtransfer-apply-tab-exp-view'
,
resourcetag
:
''
,
}
,
{
id
:
'5840477A-566C-4CB5-9109-51ACC293DFBE'
,
name
:
'menuitem20'
,
text
:
'调动管理'
,
type
:
'MENUITEM'
,
counterid
:
''
,
tooltip
:
'调动管理'
,
expanded
:
false
,
separator
:
false
,
hidden
:
false
,
hidesidebar
:
false
,
opendefault
:
false
,
iconcls
:
'fa fa-male'
,
icon
:
''
,
textcls
:
''
,
appfunctag
:
'_2'
,
appfuncyype
:
'APPVIEW'
,
viewname
:
'hrtransfer-apply-wfdyna-exp-grid-view'
,
resourcetag
:
''
,
}
,
],
}
...
...
@@ -540,127 +580,139 @@ export default class PIMModel {
*/
private
funcs
:
any
[]
=
[
{
appfunctag
:
'_
12
'
,
appfunctag
:
'_
4
'
,
appfuncyype
:
'APPVIEW'
,
openmode
:
''
,
codename
:
'hro
rganization
gridview'
,
codename
:
'hro
perationunit
gridview'
,
deResParameters
:
[],
routepath
:
'/pim/:pim?/hro
rganizations/:hrorganization
?/gridview/:gridview?'
,
routepath
:
'/pim/:pim?/hro
perationunits/:hroperationunit
?/gridview/:gridview?'
,
parameters
:
[
{
pathName
:
'hro
rganizations'
,
parameterName
:
'hrorganization
'
},
{
pathName
:
'hro
perationunits'
,
parameterName
:
'hroperationunit
'
},
{
pathName
:
'gridview'
,
parameterName
:
'gridview'
},
],
},
{
appfunctag
:
'_
3
'
,
appfunctag
:
'_
12
'
,
appfuncyype
:
'APPVIEW'
,
openmode
:
''
,
codename
:
'hr
operationunit
gridview'
,
codename
:
'hr
archives
gridview'
,
deResParameters
:
[],
routepath
:
'/pim/:pim?/hr
operationunits/:hroperationunit
?/gridview/:gridview?'
,
routepath
:
'/pim/:pim?/hr
archives/:hrarchives
?/gridview/:gridview?'
,
parameters
:
[
{
pathName
:
'hr
operationunits'
,
parameterName
:
'hroperationunit
'
},
{
pathName
:
'hr
archives'
,
parameterName
:
'hrarchives
'
},
{
pathName
:
'gridview'
,
parameterName
:
'gridview'
},
],
},
{
appfunctag
:
'_
2
'
,
appfunctag
:
'_
8
'
,
appfuncyype
:
'APPVIEW'
,
openmode
:
''
,
codename
:
'hr
legalgrid
view'
,
codename
:
'hr
posttabexp
view'
,
deResParameters
:
[],
routepath
:
'/pim/:pim?/hr
legals/:hrlegal?/gridview/:grid
view?'
,
routepath
:
'/pim/:pim?/hr
posts/:hrpost?/tabexpview/:tabexp
view?'
,
parameters
:
[
{
pathName
:
'hr
legals'
,
parameterName
:
'hrlegal
'
},
{
pathName
:
'
gridview'
,
parameterName
:
'grid
view'
},
{
pathName
:
'hr
posts'
,
parameterName
:
'hrpost
'
},
{
pathName
:
'
tabexpview'
,
parameterName
:
'tabexp
view'
},
],
},
{
appfunctag
:
'_4'
,
appfunctag
:
'_
1
4'
,
appfuncyype
:
'APPVIEW'
,
openmode
:
''
,
codename
:
'hr
employeetabexp
view'
,
codename
:
'hr
omhierarchycatgrid
view'
,
deResParameters
:
[],
routepath
:
'/pim/:pim?/hr
employees/:hremployee?/tabexpview/:tabexp
view?'
,
routepath
:
'/pim/:pim?/hr
omhierarchycats/:hromhierarchycat?/gridview/:grid
view?'
,
parameters
:
[
{
pathName
:
'hr
employees'
,
parameterName
:
'hremployee
'
},
{
pathName
:
'
tabexpview'
,
parameterName
:
'tabexp
view'
},
{
pathName
:
'hr
omhierarchycats'
,
parameterName
:
'hromhierarchycat
'
},
{
pathName
:
'
gridview'
,
parameterName
:
'grid
view'
},
],
},
{
appfunctag
:
'_
7
'
,
appfunctag
:
'_
6
'
,
appfuncyype
:
'APPVIEW'
,
openmode
:
''
,
codename
:
'hr
posttabexp
view'
,
codename
:
'hr
dutygrid
view'
,
deResParameters
:
[],
routepath
:
'/pim/:pim?/hr
posts/:hrpost?/tabexpview/:tabexp
view?'
,
routepath
:
'/pim/:pim?/hr
duties/:hrduty?/gridview/:grid
view?'
,
parameters
:
[
{
pathName
:
'hr
posts'
,
parameterName
:
'hrpost
'
},
{
pathName
:
'
tabexpview'
,
parameterName
:
'tabexp
view'
},
{
pathName
:
'hr
duties'
,
parameterName
:
'hrduty
'
},
{
pathName
:
'
gridview'
,
parameterName
:
'grid
view'
},
],
},
{
appfunctag
:
'_
8
'
,
appfunctag
:
'_
13
'
,
appfuncyype
:
'APPVIEW'
,
openmode
:
''
,
codename
:
'hr
certificate
gridview'
,
codename
:
'hr
organization
gridview'
,
deResParameters
:
[],
routepath
:
'/pim/:pim?/hr
certificates/:hrcertificate
?/gridview/:gridview?'
,
routepath
:
'/pim/:pim?/hr
organizations/:hrorganization
?/gridview/:gridview?'
,
parameters
:
[
{
pathName
:
'hr
certificates'
,
parameterName
:
'hrcertificate
'
},
{
pathName
:
'hr
organizations'
,
parameterName
:
'hrorganization
'
},
{
pathName
:
'gridview'
,
parameterName
:
'gridview'
},
],
},
{
appfunctag
:
'_
11
'
,
appfunctag
:
'_
2
'
,
appfuncyype
:
'APPVIEW'
,
openmode
:
''
,
codename
:
'hr
archives
gridview'
,
codename
:
'hr
transferapplywfdynaexp
gridview'
,
deResParameters
:
[],
routepath
:
'/pim/:pim?/hr
archives/:hrarchives?/gridview/:
gridview?'
,
routepath
:
'/pim/:pim?/hr
transferapplies/:hrtransferapply?/wfdynaexpgridview/:wfdynaexp
gridview?'
,
parameters
:
[
{
pathName
:
'hr
archives'
,
parameterName
:
'hrarchives
'
},
{
pathName
:
'
gridview'
,
parameterName
:
'
gridview'
},
{
pathName
:
'hr
transferapplies'
,
parameterName
:
'hrtransferapply
'
},
{
pathName
:
'
wfdynaexpgridview'
,
parameterName
:
'wfdynaexp
gridview'
},
],
},
{
appfunctag
:
'_
1
3'
,
appfunctag
:
'_3'
,
appfuncyype
:
'APPVIEW'
,
openmode
:
''
,
codename
:
'hr
omhierarchycat
gridview'
,
codename
:
'hr
legal
gridview'
,
deResParameters
:
[],
routepath
:
'/pim/:pim?/hr
omhierarchycats/:hromhierarchycat
?/gridview/:gridview?'
,
routepath
:
'/pim/:pim?/hr
legals/:hrlegal
?/gridview/:gridview?'
,
parameters
:
[
{
pathName
:
'hr
omhierarchycats'
,
parameterName
:
'hromhierarchycat
'
},
{
pathName
:
'hr
legals'
,
parameterName
:
'hrlegal
'
},
{
pathName
:
'gridview'
,
parameterName
:
'gridview'
},
],
},
{
appfunctag
:
'_
10
'
,
appfunctag
:
'_
5
'
,
appfuncyype
:
'APPVIEW'
,
openmode
:
''
,
codename
:
'hr
contract
tabexpview'
,
codename
:
'hr
employee
tabexpview'
,
deResParameters
:
[],
routepath
:
'/pim/:pim?/hr
contracts/:hrcontract
?/tabexpview/:tabexpview?'
,
routepath
:
'/pim/:pim?/hr
employees/:hremployee
?/tabexpview/:tabexpview?'
,
parameters
:
[
{
pathName
:
'hr
contracts'
,
parameterName
:
'hrcontract
'
},
{
pathName
:
'hr
employees'
,
parameterName
:
'hremployee
'
},
{
pathName
:
'tabexpview'
,
parameterName
:
'tabexpview'
},
],
},
{
appfunctag
:
'_
5
'
,
appfunctag
:
'_
9
'
,
appfuncyype
:
'APPVIEW'
,
openmode
:
''
,
codename
:
'hr
duty
gridview'
,
codename
:
'hr
certificate
gridview'
,
deResParameters
:
[],
routepath
:
'/pim/:pim?/hr
duties/:hrduty
?/gridview/:gridview?'
,
routepath
:
'/pim/:pim?/hr
certificates/:hrcertificate
?/gridview/:gridview?'
,
parameters
:
[
{
pathName
:
'hr
duties'
,
parameterName
:
'hrduty
'
},
{
pathName
:
'hr
certificates'
,
parameterName
:
'hrcertificate
'
},
{
pathName
:
'gridview'
,
parameterName
:
'gridview'
},
],
},
{
appfunctag
:
'_6'
,
appfunctag
:
'_11'
,
appfuncyype
:
'APPVIEW'
,
openmode
:
''
,
codename
:
'hrcontracttabexpview'
,
deResParameters
:
[],
routepath
:
'/pim/:pim?/hrcontracts/:hrcontract?/tabexpview/:tabexpview?'
,
parameters
:
[
{
pathName
:
'hrcontracts'
,
parameterName
:
'hrcontract'
},
{
pathName
:
'tabexpview'
,
parameterName
:
'tabexpview'
},
],
},
{
appfunctag
:
'_7'
,
appfuncyype
:
'APPVIEW'
,
openmode
:
''
,
codename
:
'hrtechnicaltitlegridview'
,
...
...
@@ -672,7 +724,7 @@ export default class PIMModel {
],
},
{
appfunctag
:
'_1
4
'
,
appfunctag
:
'_1
5
'
,
appfuncyype
:
'APPVIEW'
,
openmode
:
''
,
codename
:
'hrtransferapplytabexpview'
,
...
...
config.xml
浏览文件 @
d6b184a6
...
...
@@ -37,11 +37,11 @@
git clone -b master $para2 ibizhumanresources/
export NODE_OPTIONS=--max-old-space-size=4096
cd ibizhumanresources/
mvn clean package -P
hrapi
cd humanresource-
provider/humanresource-provider-hrapi
mvn -P
hrapi
docker:build
mvn -P
hrapi
docker:push
docker -H $para1 stack deploy --compose-file=src/main/docker/humanresource-
provider-hrapi.yaml iBizEE --with-registry-auth
mvn clean package -P
pim
cd humanresource-
app/humanresource-app-pim
mvn -P
pim
docker:build
mvn -P
pim
docker:push
docker -H $para1 stack deploy --compose-file=src/main/docker/humanresource-
app-pim.yaml iBizEE --with-registry-auth
</command>
</hudson.tasks.Shell>
</builders>
...
...
humanresource-app/humanresource-app-pim/src/main/docker/Dockerfile
浏览文件 @
d6b184a6
...
...
@@ -12,6 +12,6 @@ CMD echo "The application will start in ${IBIZ_SLEEP}s..." && \
sleep ${IBIZ_SLEEP} && \
java ${JAVA_OPTS} -Djava.security.egd=file:/dev/./urandom -jar /humanresource-app-pim.jar
EXPOSE
8080
EXPOSE
10327
ADD
humanresource-app-pim.jar /humanresource-app-pim.jar
humanresource-app/humanresource-app-pim/src/main/docker/humanresource-app-pim.yaml
浏览文件 @
d6b184a6
...
...
@@ -3,9 +3,25 @@ services:
humanresource-app-pim
:
image
:
registry.cn-shanghai.aliyuncs.com/ibizsys/humanresource-app-pim:latest
ports
:
-
"
8080:8080
"
-
"
10327:10327
"
networks
:
-
agent_network
environment
:
-
SPRING_CLOUD_NACOS_DISCOVERY_IP=172.16.240.110
-
SERVER_PORT=10327
-
SPRING_CLOUD_NACOS_DISCOVERY_SERVER-ADDR=172.16.240.110:8848
-
SPRING_REDIS_HOST=172.16.240.110
-
SPRING_REDIS_PORT=6379
-
SPRING_REDIS_DATABASE=0
-
SPRING_DATASOURCE_USERNAME=a_LAB01_e85d8801c
-
SPRING_DATASOURCE_PASSWORD=b1@@@772
-
SPRING_DATASOURCE_URL=jdbc:mysql://172.16.186.185:3306/a_LAB01_e85d8801c?autoReconnect=true&useUnicode=true&characterEncoding=UTF-8&useOldAliasMetadataBehavior=true&allowMultiQueries=true
-
SPRING_DATASOURCE_DRIVER-CLASS-NAME=com.mysql.jdbc.Driver
-
SPRING_DATASOURCE_DEFAULTSCHEMA=a_LAB01_e85d8801c
-
CAS=https://passport.ibizlab.cn
-
NACOS=172.16.240.110:8848
-
SEATA_REGISTRY_NACOS_SERVER-ADDR=172.16.240.110:8848
-
SEATA_ENABLED=true
deploy
:
resources
:
limits
:
...
...
humanresource-core/src/main/resources/permission/systemResource.json
浏览文件 @
d6b184a6
...
...
@@ -265,7 +265,7 @@
{
"appid"
:
"PIM"
,
"appname"
:
"基础管理"
,
"appmenu"
:[{
"menuid"
:
"PIM"
,
"menuname"
:
"PIM"
,
"menuitem"
:[{
"id"
:
"user_menus"
,
"name"
:
"用户菜单"
,
"items"
:[{
"id"
:
"menuitem3"
,
"name"
:
"设置"
}]},{
"id"
:
"top_menus"
,
"name"
:
"顶部菜单"
,
"items"
:[{
"id"
:
"menuitem1"
,
"name"
:
"-"
}]},{
"id"
:
"left_exp"
,
"name"
:
"左侧菜单"
,
"items"
:[{
"id"
:
"menuitem19"
,
"name"
:
"首页"
},{
"id"
:
"menuitem5"
,
"name"
:
"基础"
,
"items"
:[{
"id"
:
"menuitem15"
,
"name"
:
"员工"
},{
"id"
:
"menuitem8"
,
"name"
:
"合同"
},{
"id"
:
"menuitem16"
,
"name"
:
"档案"
},{
"id"
:
"menuitem17"
,
"name"
:
"职称"
},{
"id"
:
"menuitem18"
,
"name"
:
"证书"
}]},{
"id"
:
"menuitem2"
,
"name"
:
"组织"
,
"items"
:[{
"id"
:
"menuitem4"
,
"name"
:
"法人"
},{
"id"
:
"menuitem6"
,
"name"
:
"运营单位"
},{
"id"
:
"menuitem7"
,
"name"
:
"组织层次结构"
},{
"id"
:
"menuitem9"
,
"name"
:
"所有组织"
}]},{
"id"
:
"menuitem10"
,
"name"
:
"职位"
,
"items"
:[{
"id"
:
"menuitem11"
,
"name"
:
"职位"
},{
"id"
:
"menuitem12"
,
"name"
:
"职务"
}]},{
"id"
:
"menuitem13"
,
"name"
:
"调动"
,
"items"
:[{
"id"
:
"menuitem14"
,
"name"
:
"调动申请"
}]}]},{
"id"
:
"bottom_exp"
,
"name"
:
"底部内容"
},{
"id"
:
"footer_left"
,
"name"
:
"底部左侧"
},{
"id"
:
"footer_center"
,
"name"
:
"底部中间"
},{
"id"
:
"footer_right"
,
"name"
:
"底部右侧"
}]
}]
"appmenu"
:[{
"menuid"
:
"PIM"
,
"menuname"
:
"PIM"
,
"menuitem"
:[{
"id"
:
"user_menus"
,
"name"
:
"用户菜单"
,
"items"
:[{
"id"
:
"menuitem3"
,
"name"
:
"设置"
}]},{
"id"
:
"top_menus"
,
"name"
:
"顶部菜单"
,
"items"
:[{
"id"
:
"menuitem1"
,
"name"
:
"-"
}]},{
"id"
:
"left_exp"
,
"name"
:
"左侧菜单"
,
"items"
:[{
"id"
:
"menuitem19"
,
"name"
:
"首页"
},{
"id"
:
"menuitem5"
,
"name"
:
"基础"
,
"items"
:[{
"id"
:
"menuitem15"
,
"name"
:
"员工"
},{
"id"
:
"menuitem8"
,
"name"
:
"合同"
},{
"id"
:
"menuitem16"
,
"name"
:
"档案"
},{
"id"
:
"menuitem17"
,
"name"
:
"职称"
},{
"id"
:
"menuitem18"
,
"name"
:
"证书"
}]},{
"id"
:
"menuitem2"
,
"name"
:
"组织"
,
"items"
:[{
"id"
:
"menuitem4"
,
"name"
:
"法人"
},{
"id"
:
"menuitem6"
,
"name"
:
"运营单位"
},{
"id"
:
"menuitem7"
,
"name"
:
"组织层次结构"
},{
"id"
:
"menuitem9"
,
"name"
:
"所有组织"
}]},{
"id"
:
"menuitem10"
,
"name"
:
"职位"
,
"items"
:[{
"id"
:
"menuitem11"
,
"name"
:
"职位"
},{
"id"
:
"menuitem12"
,
"name"
:
"职务"
}]},{
"id"
:
"menuitem13"
,
"name"
:
"调动"
,
"items"
:[{
"id"
:
"menuitem14"
,
"name"
:
"调动申请"
}
,{
"id"
:
"menuitem20"
,
"name"
:
"调动管理"
}
]}]},{
"id"
:
"bottom_exp"
,
"name"
:
"底部内容"
},{
"id"
:
"footer_left"
,
"name"
:
"底部左侧"
},{
"id"
:
"footer_center"
,
"name"
:
"底部中间"
},{
"id"
:
"footer_right"
,
"name"
:
"底部右侧"
}]
}]
}
]
}
humanresource-provider/humanresource-provider-hrapi/src/main/docker/Dockerfile
浏览文件 @
d6b184a6
...
...
@@ -12,6 +12,6 @@ CMD echo "The application will start in ${IBIZ_SLEEP}s..." && \
sleep ${IBIZ_SLEEP} && \
java ${JAVA_OPTS} -Djava.security.egd=file:/dev/./urandom -jar /humanresource-provider-hrapi.jar
EXPOSE
10317
EXPOSE
8081
ADD
humanresource-provider-hrapi.jar /humanresource-provider-hrapi.jar
humanresource-provider/humanresource-provider-hrapi/src/main/docker/humanresource-provider-hrapi.yaml
浏览文件 @
d6b184a6
...
...
@@ -3,25 +3,9 @@ services:
humanresource-provider-hrapi
:
image
:
registry.cn-shanghai.aliyuncs.com/ibizsys/humanresource-provider-hrapi:latest
ports
:
-
"
10317:10317
"
-
"
8081:8081
"
networks
:
-
agent_network
environment
:
-
SPRING_CLOUD_NACOS_DISCOVERY_IP=172.16.240.110
-
SERVER_PORT=10317
-
SPRING_CLOUD_NACOS_DISCOVERY_SERVER-ADDR=172.16.240.110:8848
-
SPRING_REDIS_HOST=172.16.240.110
-
SPRING_REDIS_PORT=6379
-
SPRING_REDIS_DATABASE=0
-
SPRING_DATASOURCE_USERNAME=a_LAB01_e85d8801c
-
SPRING_DATASOURCE_PASSWORD=b1@@@772
-
SPRING_DATASOURCE_URL=jdbc:mysql://172.16.186.185:3306/a_LAB01_e85d8801c?autoReconnect=true&useUnicode=true&characterEncoding=UTF-8&useOldAliasMetadataBehavior=true&allowMultiQueries=true
-
SPRING_DATASOURCE_DRIVER-CLASS-NAME=com.mysql.jdbc.Driver
-
SPRING_DATASOURCE_DEFAULTSCHEMA=a_LAB01_e85d8801c
-
CAS=https://passport.ibizlab.cn
-
NACOS=172.16.240.110:8848
-
SEATA_REGISTRY_NACOS_SERVER-ADDR=172.16.240.110:8848
-
SEATA_ENABLED=true
deploy
:
resources
:
limits
:
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录