Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
iBiz人力资源
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
iBiz企业套件
iBiz人力资源
提交
42440a30
提交
42440a30
编写于
8月 10, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
jackwang 部署微服务应用
上级
0b4b507b
变更
46
展开全部
显示空白字符变更
内嵌
并排
正在显示
46 个修改的文件
包含
2169 行增加
和
208 行删除
+2169
-208
data-dictionary.json
app_PIM/public/assets/json/data-dictionary.json
+117
-0
auth-service-register.ts
app_PIM/src/authservice/auth-service-register.ts
+1
-0
hrtransfer-apply-auth-service-base.ts
...ce/hrtransfer-apply/hrtransfer-apply-auth-service-base.ts
+37
-0
hrtransfer-apply-auth-service.ts
...service/hrtransfer-apply/hrtransfer-apply-auth-service.ts
+24
-0
hrtransfer-apply.ts
app_PIM/src/interface/entity/hrtransfer-apply.ts
+160
-0
en-US.ts
app_PIM/src/locale/lang/en-US.ts
+2
-0
zh-CN.ts
app_PIM/src/locale/lang/zh-CN.ts
+2
-0
codelist_en_US.ts
app_PIM/src/locale/lanres/codelist/codelist_en_US.ts
+13
-0
codelist_zh_CN.ts
app_PIM/src/locale/lanres/codelist/codelist_zh_CN.ts
+13
-0
hreducation_en_US.ts
...c/locale/lanres/entities/hreducation/hreducation_en_US.ts
+27
-11
hreducation_zh_CN.ts
...c/locale/lanres/entities/hreducation/hreducation_zh_CN.ts
+27
-11
hremployee_en_US.ts
...src/locale/lanres/entities/hremployee/hremployee_en_US.ts
+4
-0
hremployee_zh_CN.ts
...src/locale/lanres/entities/hremployee/hremployee_zh_CN.ts
+4
-0
hrtransfer-apply_en_US.ts
...anres/entities/hrtransfer-apply/hrtransfer-apply_en_US.ts
+24
-0
hrtransfer-apply_zh_CN.ts
...anres/entities/hrtransfer-apply/hrtransfer-apply_zh_CN.ts
+23
-0
codelist.ts
app_PIM/src/mock/codelist/codelist.ts
+107
-0
hrtransfer-applys.ts
...IM/src/mock/entity/hrtransfer-applys/hrtransfer-applys.ts
+380
-0
index.ts
app_PIM/src/mock/index.ts
+1
-0
page-register.ts
app_PIM/src/pages/ungroup/pim/page-register.ts
+2
-2
router.ts
app_PIM/src/pages/ungroup/pim/router.ts
+31
-31
entity-service-register.ts
app_PIM/src/service/entity-service-register.ts
+1
-0
hrtransfer-apply-service-base.ts
...service/hrtransfer-apply/hrtransfer-apply-service-base.ts
+187
-0
hrtransfer-apply-service.ts
.../src/service/hrtransfer-apply/hrtransfer-apply-service.ts
+25
-0
state.ts
app_PIM/src/store/modules/view-action/state.ts
+2
-0
hrtransfer-apply-ui-service-base.ts
...vice/hrtransfer-apply/hrtransfer-apply-ui-service-base.ts
+250
-0
hrtransfer-apply-ui-service.ts
...uiservice/hrtransfer-apply/hrtransfer-apply-ui-service.ts
+21
-0
ui-service-register.ts
app_PIM/src/uiservice/ui-service-register.ts
+1
-0
main-form-base.tsx
app_PIM/src/widgets/hreducation/main-form/main-form-base.tsx
+56
-16
main-form-model.ts
app_PIM/src/widgets/hreducation/main-form/main-form-model.ts
+67
-12
main-form-service.ts
...IM/src/widgets/hreducation/main-form/main-form-service.ts
+12
-0
main-form.html
app_PIM/src/widgets/hreducation/main-form/main-form.html
+172
-57
main-grid-base.tsx
app_PIM/src/widgets/hreducation/main-grid/main-grid-base.tsx
+94
-15
main-grid-model.ts
app_PIM/src/widgets/hreducation/main-grid/main-grid-model.ts
+48
-13
main-grid.html
app_PIM/src/widgets/hreducation/main-grid/main-grid.html
+100
-12
ef-001-form-base.tsx
...M/src/widgets/hremployee/ef-001-form/ef-001-form-base.tsx
+6
-0
ef-001-form-model.ts
...M/src/widgets/hremployee/ef-001-form/ef-001-form-model.ts
+10
-0
ef-001-form-service.ts
...src/widgets/hremployee/ef-001-form/ef-001-form-service.ts
+12
-0
ef-001-form.html
app_PIM/src/widgets/hremployee/ef-001-form/ef-001-form.html
+26
-0
main-grid-base.tsx
app_PIM/src/widgets/hremployee/main-grid/main-grid-base.tsx
+18
-0
main-grid-model.ts
app_PIM/src/widgets/hremployee/main-grid/main-grid-model.ts
+13
-3
main-grid.html
app_PIM/src/widgets/hremployee/main-grid/main-grid.html
+24
-0
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
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/data-dictionary.json
浏览文件 @
42440a30
...
...
@@ -440,6 +440,123 @@
}
]
},
{
"srfkey"
:
"CL_HR_0014"
,
"emptytext"
:
"未定义"
,
"codelisttype"
:
"static"
,
"items"
:
[
{
"id"
:
"10"
,
"label"
:
"博士后"
,
"text"
:
"博士后"
,
"data"
:
""
,
"codename"
:
"Item_10"
,
"value"
:
"10"
,
"disabled"
:
false
,
"default"
:
false
}
,
{
"id"
:
"20"
,
"label"
:
"硕士研究生"
,
"text"
:
"硕士研究生"
,
"data"
:
""
,
"codename"
:
"Item_20"
,
"value"
:
"20"
,
"disabled"
:
false
,
"default"
:
false
}
,
{
"id"
:
"30"
,
"label"
:
"大学本科"
,
"text"
:
"大学本科"
,
"data"
:
""
,
"codename"
:
"Item_30"
,
"value"
:
"30"
,
"disabled"
:
false
,
"default"
:
false
}
,
{
"id"
:
"40"
,
"label"
:
"中等专科"
,
"text"
:
"中等专科"
,
"data"
:
""
,
"codename"
:
"Item_40"
,
"value"
:
"40"
,
"disabled"
:
false
,
"default"
:
false
}
,
{
"id"
:
"50"
,
"label"
:
"职业高中"
,
"text"
:
"职业高中"
,
"data"
:
""
,
"codename"
:
"Item_50"
,
"value"
:
"50"
,
"disabled"
:
false
,
"default"
:
false
}
,
{
"id"
:
"60"
,
"label"
:
"技工学校"
,
"text"
:
"技工学校"
,
"data"
:
""
,
"codename"
:
"Item_60"
,
"value"
:
"60"
,
"disabled"
:
false
,
"default"
:
false
}
,
{
"id"
:
"70"
,
"label"
:
"普通高中"
,
"text"
:
"普通高中"
,
"data"
:
""
,
"codename"
:
"Item_70"
,
"value"
:
"70"
,
"disabled"
:
false
,
"default"
:
false
}
,
{
"id"
:
"80"
,
"label"
:
"初中"
,
"text"
:
"初中"
,
"data"
:
""
,
"codename"
:
"Item_80"
,
"value"
:
"80"
,
"disabled"
:
false
,
"default"
:
false
}
,
{
"id"
:
"90"
,
"label"
:
"小学"
,
"text"
:
"小学"
,
"data"
:
""
,
"codename"
:
"Item_90"
,
"value"
:
"90"
,
"disabled"
:
false
,
"default"
:
false
}
,
{
"id"
:
"100"
,
"label"
:
"其他"
,
"text"
:
"其他"
,
"data"
:
""
,
"codename"
:
"Item_100"
,
"value"
:
"100"
,
"disabled"
:
false
,
"default"
:
false
}
]
},
{
"srfkey"
:
"CL_HR_0005"
,
"emptytext"
:
"未定义"
,
...
...
app_PIM/src/authservice/auth-service-register.ts
浏览文件 @
42440a30
...
...
@@ -47,6 +47,7 @@ export class AuthServiceRegister {
this
.
allAuthService
.
set
(
'hrcertificate'
,
()
=>
import
(
'@/authservice/hrcertificate/hrcertificate-auth-service'
));
this
.
allAuthService
.
set
(
'hrorgcontact'
,
()
=>
import
(
'@/authservice/hrorg-contact/hrorg-contact-auth-service'
));
this
.
allAuthService
.
set
(
'hrempstate'
,
()
=>
import
(
'@/authservice/hremp-state/hremp-state-auth-service'
));
this
.
allAuthService
.
set
(
'hrtransferapply'
,
()
=>
import
(
'@/authservice/hrtransfer-apply/hrtransfer-apply-auth-service'
));
this
.
allAuthService
.
set
(
'hrtechnicaltitle'
,
()
=>
import
(
'@/authservice/hrtechnical-title/hrtechnical-title-auth-service'
));
this
.
allAuthService
.
set
(
'hremployee'
,
()
=>
import
(
'@/authservice/hremployee/hremployee-auth-service'
));
this
.
allAuthService
.
set
(
'hrlegal'
,
()
=>
import
(
'@/authservice/hrlegal/hrlegal-auth-service'
));
...
...
app_PIM/src/authservice/hrtransfer-apply/hrtransfer-apply-auth-service-base.ts
0 → 100644
浏览文件 @
42440a30
import
AuthService
from
'../auth-service'
;
/**
* 调动申请权限服务对象基类
*
* @export
* @class HRTransferApplyAuthServiceBase
* @extends {AuthService}
*/
export
default
class
HRTransferApplyAuthServiceBase
extends
AuthService
{
/**
* Creates an instance of HRTransferApplyAuthServiceBase.
*
* @param {*} [opts={}]
* @memberof HRTransferApplyAuthServiceBase
*/
constructor
(
opts
:
any
=
{})
{
super
(
opts
);
}
/**
* 根据当前数据获取实体操作标识
*
* @param {*} mainSateOPPrivs 传入数据操作标识
* @returns {any}
* @memberof HRTransferApplyAuthServiceBase
*/
public
getOPPrivs
(
mainSateOPPrivs
:
any
):
any
{
let
curDefaultOPPrivs
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
defaultOPPrivs
));
if
(
mainSateOPPrivs
){
Object
.
assign
(
curDefaultOPPrivs
,
mainSateOPPrivs
);
}
return
curDefaultOPPrivs
;
}
}
\ No newline at end of file
app_PIM/src/authservice/hrtransfer-apply/hrtransfer-apply-auth-service.ts
0 → 100644
浏览文件 @
42440a30
import
HRTransferApplyAuthServiceBase
from
'./hrtransfer-apply-auth-service-base'
;
/**
* 调动申请权限服务对象
*
* @export
* @class HRTransferApplyAuthService
* @extends {HRTransferApplyAuthServiceBase}
*/
export
default
class
HRTransferApplyAuthService
extends
HRTransferApplyAuthServiceBase
{
/**
* Creates an instance of HRTransferApplyAuthService.
*
* @param {*} [opts={}]
* @memberof HRTransferApplyAuthService
*/
constructor
(
opts
:
any
=
{})
{
super
(
opts
);
}
}
\ No newline at end of file
app_PIM/src/interface/entity/hrtransfer-apply.ts
0 → 100644
浏览文件 @
42440a30
/**
* 调动申请
*
* @export
* @interface HRTransferApply
*/
export
interface
HRTransferApply
{
/**
* 调动申请标识
*
* @returns {*}
* @memberof HRTransferApply
*/
hrtransferapplyid
?:
any
;
/**
* 调动申请名称
*
* @returns {*}
* @memberof HRTransferApply
*/
hrtransferapplyname
?:
any
;
/**
* 更新人
*
* @returns {*}
* @memberof HRTransferApply
*/
updateman
?:
any
;
/**
* 建立时间
*
* @returns {*}
* @memberof HRTransferApply
*/
createdate
?:
any
;
/**
* 建立人
*
* @returns {*}
* @memberof HRTransferApply
*/
createman
?:
any
;
/**
* 更新时间
*
* @returns {*}
* @memberof HRTransferApply
*/
updatedate
?:
any
;
/**
* 员工标识
*
* @returns {*}
* @memberof HRTransferApply
*/
hremployeeid
?:
any
;
/**
* 员工姓名
*
* @returns {*}
* @memberof HRTransferApply
*/
hremployeename
?:
any
;
/**
* 部门ID
*
* @returns {*}
* @memberof HRTransferApply
*/
organizationid
?:
any
;
/**
* 部门
*
* @returns {*}
* @memberof HRTransferApply
*/
organizationname
?:
any
;
/**
* 职务
*
* @returns {*}
* @memberof HRTransferApply
*/
hrdutyname
?:
any
;
/**
* 职位
*
* @returns {*}
* @memberof HRTransferApply
*/
hrpostname
?:
any
;
/**
* 新组织ID
*
* @returns {*}
* @memberof HRTransferApply
*/
hrorganizationid2
?:
any
;
/**
* 新部门
*
* @returns {*}
* @memberof HRTransferApply
*/
hrorganizationname2
?:
any
;
/**
* 新职位标识
*
* @returns {*}
* @memberof HRTransferApply
*/
hrpostid2
?:
any
;
/**
* 新职位
*
* @returns {*}
* @memberof HRTransferApply
*/
hrpostname2
?:
any
;
/**
* 新职务
*
* @returns {*}
* @memberof HRTransferApply
*/
hrdutyname2
?:
any
;
/**
* 生效日期
*
* @returns {*}
* @memberof HRTransferApply
*/
activetime
?:
any
;
/**
* 任职文件
*
* @returns {*}
* @memberof HRTransferApply
*/
attachment
?:
any
;
}
\ No newline at end of file
app_PIM/src/locale/lang/en-US.ts
浏览文件 @
42440a30
...
...
@@ -6,6 +6,7 @@ import hromhierarchycat_en_US from '@locale/lanres/entities/hromhierarchy-cat/hr
import
hrcertificate_en_US
from
'@locale/lanres/entities/hrcertificate/hrcertificate_en_US'
;
import
hrorgcontact_en_US
from
'@locale/lanres/entities/hrorg-contact/hrorg-contact_en_US'
;
import
hrempstate_en_US
from
'@locale/lanres/entities/hremp-state/hremp-state_en_US'
;
import
hrtransferapply_en_US
from
'@locale/lanres/entities/hrtransfer-apply/hrtransfer-apply_en_US'
;
import
hrtechnicaltitle_en_US
from
'@locale/lanres/entities/hrtechnical-title/hrtechnical-title_en_US'
;
import
hremployee_en_US
from
'@locale/lanres/entities/hremployee/hremployee_en_US'
;
import
hrlegal_en_US
from
'@locale/lanres/entities/hrlegal/hrlegal_en_US'
;
...
...
@@ -275,6 +276,7 @@ export default {
hrcertificate
:
hrcertificate_en_US
,
hrorgcontact
:
hrorgcontact_en_US
,
hrempstate
:
hrempstate_en_US
,
hrtransferapply
:
hrtransferapply_en_US
,
hrtechnicaltitle
:
hrtechnicaltitle_en_US
,
hremployee
:
hremployee_en_US
,
hrlegal
:
hrlegal_en_US
,
...
...
app_PIM/src/locale/lang/zh-CN.ts
浏览文件 @
42440a30
...
...
@@ -6,6 +6,7 @@ import hromhierarchycat_zh_CN from '@locale/lanres/entities/hromhierarchy-cat/hr
import
hrcertificate_zh_CN
from
'@locale/lanres/entities/hrcertificate/hrcertificate_zh_CN'
;
import
hrorgcontact_zh_CN
from
'@locale/lanres/entities/hrorg-contact/hrorg-contact_zh_CN'
;
import
hrempstate_zh_CN
from
'@locale/lanres/entities/hremp-state/hremp-state_zh_CN'
;
import
hrtransferapply_zh_CN
from
'@locale/lanres/entities/hrtransfer-apply/hrtransfer-apply_zh_CN'
;
import
hrtechnicaltitle_zh_CN
from
'@locale/lanres/entities/hrtechnical-title/hrtechnical-title_zh_CN'
;
import
hremployee_zh_CN
from
'@locale/lanres/entities/hremployee/hremployee_zh_CN'
;
import
hrlegal_zh_CN
from
'@locale/lanres/entities/hrlegal/hrlegal_zh_CN'
;
...
...
@@ -274,6 +275,7 @@ export default {
hrcertificate
:
hrcertificate_zh_CN
,
hrorgcontact
:
hrorgcontact_zh_CN
,
hrempstate
:
hrempstate_zh_CN
,
hrtransferapply
:
hrtransferapply_zh_CN
,
hrtechnicaltitle
:
hrtechnicaltitle_zh_CN
,
hremployee
:
hremployee_zh_CN
,
hrlegal
:
hrlegal_zh_CN
,
...
...
app_PIM/src/locale/lanres/codelist/codelist_en_US.ts
浏览文件 @
42440a30
...
...
@@ -65,6 +65,19 @@ export default {
"其他"
:
"其他"
,
"empty"
:
""
},
CL_HR_0014
:
{
"10"
:
"博士后"
,
"20"
:
"硕士研究生"
,
"30"
:
"大学本科"
,
"40"
:
"中等专科"
,
"50"
:
"职业高中"
,
"60"
:
"技工学校"
,
"70"
:
"普通高中"
,
"80"
:
"初中"
,
"90"
:
"小学"
,
"100"
:
"其他"
,
"empty"
:
""
},
CL_HR_0005
:
{
"HIGH"
:
"高"
,
"MID"
:
"中"
,
...
...
app_PIM/src/locale/lanres/codelist/codelist_zh_CN.ts
浏览文件 @
42440a30
...
...
@@ -65,6 +65,19 @@ export default {
"其他"
:
"其他"
,
"empty"
:
""
,
},
CL_HR_0014
:
{
"10"
:
"博士后"
,
"20"
:
"硕士研究生"
,
"30"
:
"大学本科"
,
"40"
:
"中等专科"
,
"50"
:
"职业高中"
,
"60"
:
"技工学校"
,
"70"
:
"普通高中"
,
"80"
:
"初中"
,
"90"
:
"小学"
,
"100"
:
"其他"
,
"empty"
:
""
,
},
CL_HR_0005
:
{
"HIGH"
:
"高"
,
"MID"
:
"中"
,
...
...
app_PIM/src/locale/lanres/entities/hreducation/hreducation_en_US.ts
浏览文件 @
42440a30
...
...
@@ -36,10 +36,8 @@ export default {
},
main_form
:
{
details
:
{
group1
:
"教育信息
基本信息
"
,
group1
:
"教育信息"
,
formpage1
:
"基本信息"
,
group2
:
"操作信息"
,
formpage2
:
"其它"
,
srfupdatedate
:
"更新时间"
,
srforikey
:
""
,
srfkey
:
"教育信息标识"
,
...
...
@@ -48,11 +46,22 @@ export default {
srfuf
:
""
,
srfdeid
:
""
,
srfsourcekey
:
""
,
hreducationname
:
"教育信息名称"
,
createman
:
"建立人"
,
createdate
:
"建立时间"
,
updateman
:
"更新人"
,
updatedate
:
"更新时间"
,
hremployeename
:
"员工姓名"
,
degree
:
"学历"
,
begintime
:
"入学时间"
,
endtime
:
"毕业时间"
,
school
:
"毕业院校"
,
subject
:
"一级学科"
,
major
:
"专业"
,
learnmodality
:
"学习形式"
,
schooltype
:
"学校性质"
,
firstdegreeflag
:
"是否第一学历"
,
highdegreeflag
:
"是否最高学历"
,
attachment2
:
"学位证"
,
attachment1
:
"毕业证"
,
attachment
:
"其他附件"
,
attachment3
:
"学历验证"
,
hremployeeid
:
"员工标识"
,
hreducationid
:
"教育信息标识"
,
},
uiactions
:
{
...
...
@@ -60,9 +69,16 @@ export default {
},
main_grid
:
{
columns
:
{
hreducationname
:
"教育信息名称"
,
updateman
:
"更新人"
,
updatedate
:
"更新时间"
,
degree
:
"学历"
,
begintime
:
"入学时间"
,
endtime
:
"毕业时间"
,
school
:
"毕业院校"
,
subject
:
"一级学科"
,
major
:
"专业"
,
learnmodality
:
"学习形式"
,
schooltype
:
"学校性质"
,
highdegreeflag
:
"是否最高学历"
,
firstdegreeflag
:
"是否第一学历"
,
},
uiactions
:
{
},
...
...
app_PIM/src/locale/lanres/entities/hreducation/hreducation_zh_CN.ts
浏览文件 @
42440a30
...
...
@@ -35,10 +35,8 @@ export default {
},
main_form
:
{
details
:
{
group1
:
"教育信息
基本信息
"
,
group1
:
"教育信息"
,
formpage1
:
"基本信息"
,
group2
:
"操作信息"
,
formpage2
:
"其它"
,
srfupdatedate
:
"更新时间"
,
srforikey
:
""
,
srfkey
:
"教育信息标识"
,
...
...
@@ -47,11 +45,22 @@ export default {
srfuf
:
""
,
srfdeid
:
""
,
srfsourcekey
:
""
,
hreducationname
:
"教育信息名称"
,
createman
:
"建立人"
,
createdate
:
"建立时间"
,
updateman
:
"更新人"
,
updatedate
:
"更新时间"
,
hremployeename
:
"员工姓名"
,
degree
:
"学历"
,
begintime
:
"入学时间"
,
endtime
:
"毕业时间"
,
school
:
"毕业院校"
,
subject
:
"一级学科"
,
major
:
"专业"
,
learnmodality
:
"学习形式"
,
schooltype
:
"学校性质"
,
firstdegreeflag
:
"是否第一学历"
,
highdegreeflag
:
"是否最高学历"
,
attachment2
:
"学位证"
,
attachment1
:
"毕业证"
,
attachment
:
"其他附件"
,
attachment3
:
"学历验证"
,
hremployeeid
:
"员工标识"
,
hreducationid
:
"教育信息标识"
,
},
uiactions
:
{
...
...
@@ -59,9 +68,16 @@ export default {
},
main_grid
:
{
columns
:
{
hreducationname
:
"教育信息名称"
,
updateman
:
"更新人"
,
updatedate
:
"更新时间"
,
degree
:
"学历"
,
begintime
:
"入学时间"
,
endtime
:
"毕业时间"
,
school
:
"毕业院校"
,
subject
:
"一级学科"
,
major
:
"专业"
,
learnmodality
:
"学习形式"
,
schooltype
:
"学校性质"
,
highdegreeflag
:
"是否最高学历"
,
firstdegreeflag
:
"是否第一学历"
,
},
uiactions
:
{
},
...
...
app_PIM/src/locale/lanres/entities/hremployee/hremployee_en_US.ts
浏览文件 @
42440a30
...
...
@@ -100,6 +100,8 @@ export default {
certtype
:
"证件类型"
,
certnum
:
"证件号码"
,
organizationname
:
"单位"
,
hrpostname
:
"职位"
,
hrpostid
:
"职位标识"
,
organizationid
:
"组织ID"
,
employeeid
:
"员工标识"
,
},
...
...
@@ -212,6 +214,8 @@ export default {
employeecode
:
"员工编号"
,
employeename
:
"员工姓名"
,
organizationname
:
"单位"
,
hrdutyname
:
"职务"
,
hrpostname
:
"职位"
,
certnum
:
"证件号码"
,
birthday
:
"出生日期"
,
age
:
"年龄"
,
...
...
app_PIM/src/locale/lanres/entities/hremployee/hremployee_zh_CN.ts
浏览文件 @
42440a30
...
...
@@ -99,6 +99,8 @@ export default {
certtype
:
"证件类型"
,
certnum
:
"证件号码"
,
organizationname
:
"单位"
,
hrpostname
:
"职位"
,
hrpostid
:
"职位标识"
,
organizationid
:
"组织ID"
,
employeeid
:
"员工标识"
,
},
...
...
@@ -211,6 +213,8 @@ export default {
employeecode
:
"员工编号"
,
employeename
:
"员工姓名"
,
organizationname
:
"单位"
,
hrdutyname
:
"职务"
,
hrpostname
:
"职位"
,
certnum
:
"证件号码"
,
birthday
:
"出生日期"
,
age
:
"年龄"
,
...
...
app_PIM/src/locale/lanres/entities/hrtransfer-apply/hrtransfer-apply_en_US.ts
0 → 100644
浏览文件 @
42440a30
export
default
{
fields
:
{
hrtransferapplyid
:
"调动申请标识"
,
hrtransferapplyname
:
"调动申请名称"
,
updateman
:
"更新人"
,
createdate
:
"建立时间"
,
createman
:
"建立人"
,
updatedate
:
"更新时间"
,
hremployeeid
:
"员工标识"
,
hremployeename
:
"员工姓名"
,
organizationid
:
"部门ID"
,
organizationname
:
"部门"
,
hrdutyname
:
"职务"
,
hrpostname
:
"职位"
,
hrorganizationid2
:
"新组织ID"
,
hrorganizationname2
:
"新部门"
,
hrpostid2
:
"新职位标识"
,
hrpostname2
:
"新职位"
,
hrdutyname2
:
"新职务"
,
activetime
:
"生效日期"
,
attachment
:
"任职文件"
,
},
};
\ No newline at end of file
app_PIM/src/locale/lanres/entities/hrtransfer-apply/hrtransfer-apply_zh_CN.ts
0 → 100644
浏览文件 @
42440a30
export
default
{
fields
:
{
hrtransferapplyid
:
"调动申请标识"
,
hrtransferapplyname
:
"调动申请名称"
,
updateman
:
"更新人"
,
createdate
:
"建立时间"
,
createman
:
"建立人"
,
updatedate
:
"更新时间"
,
hremployeeid
:
"员工标识"
,
hremployeename
:
"员工姓名"
,
organizationid
:
"部门ID"
,
organizationname
:
"部门"
,
hrdutyname
:
"职务"
,
hrpostname
:
"职位"
,
hrorganizationid2
:
"新组织ID"
,
hrorganizationname2
:
"新部门"
,
hrpostid2
:
"新职位标识"
,
hrpostname2
:
"新职位"
,
hrdutyname2
:
"新职务"
,
activetime
:
"生效日期"
,
attachment
:
"任职文件"
,
},
};
\ No newline at end of file
app_PIM/src/mock/codelist/codelist.ts
浏览文件 @
42440a30
...
...
@@ -415,6 +415,113 @@ mock.onGet('./assets/json/data-dictionary.json').reply((config: any) => {
},
]
},
{
srfkey
:
"CL_HR_0014"
,
emptytext
:
"未定义"
,
"codelisttype"
:
"static"
,
items
:
[
{
id
:
"10"
,
label
:
"博士后"
,
text
:
"博士后"
,
"data"
:
""
,
"codename"
:
"Item_10"
,
value
:
"10"
,
disabled
:
false
,
},
{
id
:
"20"
,
label
:
"硕士研究生"
,
text
:
"硕士研究生"
,
"data"
:
""
,
"codename"
:
"Item_20"
,
value
:
"20"
,
disabled
:
false
,
},
{
id
:
"30"
,
label
:
"大学本科"
,
text
:
"大学本科"
,
"data"
:
""
,
"codename"
:
"Item_30"
,
value
:
"30"
,
disabled
:
false
,
},
{
id
:
"40"
,
label
:
"中等专科"
,
text
:
"中等专科"
,
"data"
:
""
,
"codename"
:
"Item_40"
,
value
:
"40"
,
disabled
:
false
,
},
{
id
:
"50"
,
label
:
"职业高中"
,
text
:
"职业高中"
,
"data"
:
""
,
"codename"
:
"Item_50"
,
value
:
"50"
,
disabled
:
false
,
},
{
id
:
"60"
,
label
:
"技工学校"
,
text
:
"技工学校"
,
"data"
:
""
,
"codename"
:
"Item_60"
,
value
:
"60"
,
disabled
:
false
,
},
{
id
:
"70"
,
label
:
"普通高中"
,
text
:
"普通高中"
,
"data"
:
""
,
"codename"
:
"Item_70"
,
value
:
"70"
,
disabled
:
false
,
},
{
id
:
"80"
,
label
:
"初中"
,
text
:
"初中"
,
"data"
:
""
,
"codename"
:
"Item_80"
,
value
:
"80"
,
disabled
:
false
,
},
{
id
:
"90"
,
label
:
"小学"
,
text
:
"小学"
,
"data"
:
""
,
"codename"
:
"Item_90"
,
value
:
"90"
,
disabled
:
false
,
},
{
id
:
"100"
,
label
:
"其他"
,
text
:
"其他"
,
"data"
:
""
,
"codename"
:
"Item_100"
,
value
:
"100"
,
disabled
:
false
,
},
]
},
{
srfkey
:
"CL_HR_0005"
,
emptytext
:
"未定义"
,
...
...
app_PIM/src/mock/entity/hrtransfer-applys/hrtransfer-applys.ts
0 → 100644
浏览文件 @
42440a30
此差异已折叠。
点击以展开。
app_PIM/src/mock/index.ts
浏览文件 @
42440a30
...
...
@@ -15,6 +15,7 @@ import './entity/hromhierarchy-cats/hromhierarchy-cats';
import
'./entity/hrcertificates/hrcertificates'
;
import
'./entity/hrorg-contacts/hrorg-contacts'
;
import
'./entity/hremp-states/hremp-states'
;
import
'./entity/hrtransfer-applys/hrtransfer-applys'
;
import
'./entity/hrtechnical-titles/hrtechnical-titles'
;
import
'./entity/hremployees/hremployees'
;
import
'./entity/hrlegals/hrlegals'
;
...
...
app_PIM/src/pages/ungroup/pim/page-register.ts
浏览文件 @
42440a30
...
...
@@ -16,8 +16,8 @@ export const PageComponents = {
Vue
.
component
(
'hrlegal-grid-view'
,
()
=>
import
(
'@pages/base/hrlegal-grid-view/hrlegal-grid-view.vue'
));
Vue
.
component
(
'hromhierarchy-tree-exp-view'
,
()
=>
import
(
'@pages/base/hromhierarchy-tree-exp-view/hromhierarchy-tree-exp-view.vue'
));
Vue
.
component
(
'hrlegal-v-002'
,
()
=>
import
(
'@pages/base/hrlegal-v-002/hrlegal-v-002.vue'
));
Vue
.
component
(
'hrduty-tab-exp-view'
,
()
=>
import
(
'@pages/human-resource/hrduty-tab-exp-view/hrduty-tab-exp-view.vue'
));
Vue
.
component
(
'hrpost-pickup-view'
,
()
=>
import
(
'@pages/human-resource/hrpost-pickup-view/hrpost-pickup-view.vue'
));
Vue
.
component
(
'hrduty-tab-exp-view'
,
()
=>
import
(
'@pages/human-resource/hrduty-tab-exp-view/hrduty-tab-exp-view.vue'
));
Vue
.
component
(
'hrorganization-pickup-grid-view'
,
()
=>
import
(
'@pages/base/hrorganization-pickup-grid-view/hrorganization-pickup-grid-view.vue'
));
Vue
.
component
(
'hrpost-pickup-grid-view'
,
()
=>
import
(
'@pages/human-resource/hrpost-pickup-grid-view/hrpost-pickup-grid-view.vue'
));
Vue
.
component
(
'hrduty-edu-v-001'
,
()
=>
import
(
'@pages/human-resource/hrduty-edu-v-001/hrduty-edu-v-001.vue'
));
...
...
@@ -61,9 +61,9 @@ export const PageComponents = {
Vue
.
component
(
'hrduty-skill-v-002'
,
()
=>
import
(
'@pages/human-resource/hrduty-skill-v-002/hrduty-skill-v-002.vue'
));
Vue
.
component
(
'hremployee-tree-exp-view'
,
()
=>
import
(
'@pages/human-resource/hremployee-tree-exp-view/hremployee-tree-exp-view.vue'
));
Vue
.
component
(
'hrcontract-edit-view'
,
()
=>
import
(
'@pages/human-resource/hrcontract-edit-view/hrcontract-edit-view.vue'
));
Vue
.
component
(
'hrduty-edu-grid-view'
,
()
=>
import
(
'@pages/human-resource/hrduty-edu-grid-view/hrduty-edu-grid-view.vue'
));
Vue
.
component
(
'hromhierarchy-cat-dashboard-view'
,
()
=>
import
(
'@pages/base/hromhierarchy-cat-dashboard-view/hromhierarchy-cat-dashboard-view.vue'
));
Vue
.
component
(
'hrorganization-pickup-view'
,
()
=>
import
(
'@pages/base/hrorganization-pickup-view/hrorganization-pickup-view.vue'
));
Vue
.
component
(
'hrduty-edu-grid-view'
,
()
=>
import
(
'@pages/human-resource/hrduty-edu-grid-view/hrduty-edu-grid-view.vue'
));
Vue
.
component
(
'hrlanguage-ability-grid-view'
,
()
=>
import
(
'@pages/human-resource/hrlanguage-ability-grid-view/hrlanguage-ability-grid-view.vue'
));
Vue
.
component
(
'hroperation-unit-tab-exp-view'
,
()
=>
import
(
'@pages/base/hroperation-unit-tab-exp-view/hroperation-unit-tab-exp-view.vue'
));
Vue
.
component
(
'hrorg-address-grid-view'
,
()
=>
import
(
'@pages/base/hrorg-address-grid-view/hrorg-address-grid-view.vue'
));
...
...
app_PIM/src/pages/ungroup/pim/router.ts
浏览文件 @
42440a30
...
...
@@ -358,32 +358,32 @@ const router = new Router({
component
:
()
=>
import
(
'@pages/base/hrlegal-v-002/hrlegal-v-002.vue'
),
},
{
path
:
'hr
duties/:hrduty?/tabexpview/:tabex
pview?'
,
path
:
'hr
posts/:hrpost?/pickupview/:picku
pview?'
,
meta
:
{
caption
:
'entities.hr
duty.views.tabex
pview.title'
,
caption
:
'entities.hr
post.views.picku
pview.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'pim'
,
parameterName
:
'pim'
},
{
pathName
:
'hr
duties'
,
parameterName
:
'hrduty
'
},
{
pathName
:
'
tabexpview'
,
parameterName
:
'tabex
pview'
},
{
pathName
:
'hr
posts'
,
parameterName
:
'hrpost
'
},
{
pathName
:
'
pickupview'
,
parameterName
:
'picku
pview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/human-resource/hr
duty-tab-exp-view/hrduty-tab-ex
p-view.vue'
),
component
:
()
=>
import
(
'@pages/human-resource/hr
post-pickup-view/hrpost-picku
p-view.vue'
),
},
{
path
:
'hr
posts/:hrpost?/pickupview/:picku
pview?'
,
path
:
'hr
duties/:hrduty?/tabexpview/:tabex
pview?'
,
meta
:
{
caption
:
'entities.hr
post.views.picku
pview.title'
,
caption
:
'entities.hr
duty.views.tabex
pview.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'pim'
,
parameterName
:
'pim'
},
{
pathName
:
'hr
posts'
,
parameterName
:
'hrpost
'
},
{
pathName
:
'
pickupview'
,
parameterName
:
'picku
pview'
},
{
pathName
:
'hr
duties'
,
parameterName
:
'hrduty
'
},
{
pathName
:
'
tabexpview'
,
parameterName
:
'tabex
pview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/human-resource/hr
post-pickup-view/hrpost-picku
p-view.vue'
),
component
:
()
=>
import
(
'@pages/human-resource/hr
duty-tab-exp-view/hrduty-tab-ex
p-view.vue'
),
},
{
path
:
'hrorganizations/:hrorganization?/pickupgridview/:pickupgridview?'
,
...
...
@@ -1318,61 +1318,61 @@ const router = new Router({
component
:
()
=>
import
(
'@pages/human-resource/hrcontract-edit-view/hrcontract-edit-view.vue'
),
},
{
path
:
'hr
duties/:hrduty?/hrdutyedus/:hrdutyedu?/gridview/:gri
dview?'
,
path
:
'hr
omhierarchycats/:hromhierarchycat?/dashboardview/:dashboar
dview?'
,
meta
:
{
caption
:
'entities.hr
dutyedu.views.gri
dview.title'
,
caption
:
'entities.hr
omhierarchycat.views.dashboar
dview.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'pim'
,
parameterName
:
'pim'
},
{
pathName
:
'hrduties'
,
parameterName
:
'hrduty'
},
{
pathName
:
'hrdutyedus'
,
parameterName
:
'hrdutyedu'
},
{
pathName
:
'gridview'
,
parameterName
:
'gridview'
},
{
pathName
:
'hromhierarchycats'
,
parameterName
:
'hromhierarchycat'
},
{
pathName
:
'dashboardview'
,
parameterName
:
'dashboardview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/
human-resource/hrduty-edu-grid-view/hrduty-edu-gri
d-view.vue'
),
component
:
()
=>
import
(
'@pages/
base/hromhierarchy-cat-dashboard-view/hromhierarchy-cat-dashboar
d-view.vue'
),
},
{
path
:
'hr
dutyedus/:hrdutyedu?/gridview/:grid
view?'
,
path
:
'hr
organizations/:hrorganization?/pickupview/:pickup
view?'
,
meta
:
{
caption
:
'entities.hr
dutyedu.views.grid
view.title'
,
caption
:
'entities.hr
organization.views.pickup
view.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'pim'
,
parameterName
:
'pim'
},
{
pathName
:
'hr
dutyedus'
,
parameterName
:
'hrdutyedu
'
},
{
pathName
:
'
gridview'
,
parameterName
:
'grid
view'
},
{
pathName
:
'hr
organizations'
,
parameterName
:
'hrorganization
'
},
{
pathName
:
'
pickupview'
,
parameterName
:
'pickup
view'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/
human-resource/hrduty-edu-grid-view/hrduty-edu-grid
-view.vue'
),
component
:
()
=>
import
(
'@pages/
base/hrorganization-pickup-view/hrorganization-pickup
-view.vue'
),
},
{
path
:
'hr
omhierarchycats/:hromhierarchycat?/dashboardview/:dashboar
dview?'
,
path
:
'hr
duties/:hrduty?/hrdutyedus/:hrdutyedu?/gridview/:gri
dview?'
,
meta
:
{
caption
:
'entities.hr
omhierarchycat.views.dashboar
dview.title'
,
caption
:
'entities.hr
dutyedu.views.gri
dview.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'pim'
,
parameterName
:
'pim'
},
{
pathName
:
'hromhierarchycats'
,
parameterName
:
'hromhierarchycat'
},
{
pathName
:
'dashboardview'
,
parameterName
:
'dashboardview'
},
{
pathName
:
'hrduties'
,
parameterName
:
'hrduty'
},
{
pathName
:
'hrdutyedus'
,
parameterName
:
'hrdutyedu'
},
{
pathName
:
'gridview'
,
parameterName
:
'gridview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/
base/hromhierarchy-cat-dashboard-view/hromhierarchy-cat-dashboar
d-view.vue'
),
component
:
()
=>
import
(
'@pages/
human-resource/hrduty-edu-grid-view/hrduty-edu-gri
d-view.vue'
),
},
{
path
:
'hr
organizations/:hrorganization?/pickupview/:pickup
view?'
,
path
:
'hr
dutyedus/:hrdutyedu?/gridview/:grid
view?'
,
meta
:
{
caption
:
'entities.hr
organization.views.pickup
view.title'
,
caption
:
'entities.hr
dutyedu.views.grid
view.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'pim'
,
parameterName
:
'pim'
},
{
pathName
:
'hr
organizations'
,
parameterName
:
'hrorganization
'
},
{
pathName
:
'
pickupview'
,
parameterName
:
'pickup
view'
},
{
pathName
:
'hr
dutyedus'
,
parameterName
:
'hrdutyedu
'
},
{
pathName
:
'
gridview'
,
parameterName
:
'grid
view'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/
base/hrorganization-pickup-view/hrorganization-pickup
-view.vue'
),
component
:
()
=>
import
(
'@pages/
human-resource/hrduty-edu-grid-view/hrduty-edu-grid
-view.vue'
),
},
{
path
:
'hremployees/:hremployee?/hrlanguageabilities/:hrlanguageability?/gridview/:gridview?'
,
...
...
app_PIM/src/service/entity-service-register.ts
浏览文件 @
42440a30
...
...
@@ -47,6 +47,7 @@ export class EntityServiceRegister {
this
.
allEntityService
.
set
(
'hrcertificate'
,
()
=>
import
(
'@/service/hrcertificate/hrcertificate-service'
));
this
.
allEntityService
.
set
(
'hrorgcontact'
,
()
=>
import
(
'@/service/hrorg-contact/hrorg-contact-service'
));
this
.
allEntityService
.
set
(
'hrempstate'
,
()
=>
import
(
'@/service/hremp-state/hremp-state-service'
));
this
.
allEntityService
.
set
(
'hrtransferapply'
,
()
=>
import
(
'@/service/hrtransfer-apply/hrtransfer-apply-service'
));
this
.
allEntityService
.
set
(
'hrtechnicaltitle'
,
()
=>
import
(
'@/service/hrtechnical-title/hrtechnical-title-service'
));
this
.
allEntityService
.
set
(
'hremployee'
,
()
=>
import
(
'@/service/hremployee/hremployee-service'
));
this
.
allEntityService
.
set
(
'hrlegal'
,
()
=>
import
(
'@/service/hrlegal/hrlegal-service'
));
...
...
app_PIM/src/service/hrtransfer-apply/hrtransfer-apply-service-base.ts
0 → 100644
浏览文件 @
42440a30
import
{
Http
,
Util
}
from
'@/utils'
;
import
EntityService
from
'../entity-service'
;
/**
* 调动申请服务对象基类
*
* @export
* @class HRTransferApplyServiceBase
* @extends {EntityServie}
*/
export
default
class
HRTransferApplyServiceBase
extends
EntityService
{
/**
* Creates an instance of HRTransferApplyServiceBase.
*
* @param {*} [opts={}]
* @memberof HRTransferApplyServiceBase
*/
constructor
(
opts
:
any
=
{})
{
super
(
opts
);
}
/**
* 初始化基础数据
*
* @memberof HRTransferApplyServiceBase
*/
public
initBasicData
(){
this
.
APPLYDEKEY
=
'hrtransferapply'
;
this
.
APPDEKEY
=
'hrtransferapplyid'
;
this
.
APPDENAME
=
'hrtransferapplies'
;
this
.
APPDETEXT
=
'hrtransferapplyname'
;
this
.
APPNAME
=
'pim'
;
this
.
SYSTEMNAME
=
'ibizhumanresources'
;
}
// 实体接口
/**
* Select接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof HRTransferApplyServiceBase
*/
public
async
Select
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
Http
.
getInstance
().
get
(
`/hrtransferapplies/
${
context
.
hrtransferapply
}
/select`
,
isloading
);
return
res
;
}
/**
* Create接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof HRTransferApplyServiceBase
*/
public
async
Create
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
if
(
!
data
.
srffrontuf
||
data
.
srffrontuf
!==
"1"
){
data
[
this
.
APPDEKEY
]
=
null
;
}
if
(
data
.
srffrontuf
){
delete
data
.
srffrontuf
;
}
let
tempContext
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
context
));
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/hrtransferapplies`
,
data
,
isloading
);
return
res
;
}
/**
* Update接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof HRTransferApplyServiceBase
*/
public
async
Update
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
let
res
:
any
=
await
Http
.
getInstance
().
put
(
`/hrtransferapplies/
${
context
.
hrtransferapply
}
`
,
data
,
isloading
);
return
res
;
}
/**
* Remove接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof HRTransferApplyServiceBase
*/
public
async
Remove
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
Http
.
getInstance
().
delete
(
`/hrtransferapplies/
${
context
.
hrtransferapply
}
`
,
isloading
);
return
res
;
}
/**
* Get接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof HRTransferApplyServiceBase
*/
public
async
Get
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/hrtransferapplies/
${
context
.
hrtransferapply
}
`
,
isloading
);
return
res
;
}
/**
* GetDraft接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof HRTransferApplyServiceBase
*/
public
async
GetDraft
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/hrtransferapplies/getdraft`
,
isloading
);
res
.
data
.
hrtransferapply
=
data
.
hrtransferapply
;
return
res
;
}
/**
* CheckKey接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof HRTransferApplyServiceBase
*/
public
async
CheckKey
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
Http
.
getInstance
().
post
(
`/hrtransferapplies/
${
context
.
hrtransferapply
}
/checkkey`
,
data
,
isloading
);
return
res
;
}
/**
* Save接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof HRTransferApplyServiceBase
*/
public
async
Save
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/hrtransferapplies/
${
context
.
hrtransferapply
}
/save`
,
data
,
isloading
);
return
res
;
}
/**
* FetchDefault接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof HRTransferApplyServiceBase
*/
public
async
FetchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
res
:
any
=
Http
.
getInstance
().
get
(
`/hrtransferapplies/fetchdefault`
,
tempData
,
isloading
);
return
res
;
}
}
\ No newline at end of file
app_PIM/src/service/hrtransfer-apply/hrtransfer-apply-service.ts
0 → 100644
浏览文件 @
42440a30
import
{
Http
,
Util
}
from
'@/utils'
;
import
HRTransferApplyServiceBase
from
'./hrtransfer-apply-service-base'
;
/**
* 调动申请服务对象
*
* @export
* @class HRTransferApplyService
* @extends {HRTransferApplyServiceBase}
*/
export
default
class
HRTransferApplyService
extends
HRTransferApplyServiceBase
{
/**
* Creates an instance of HRTransferApplyService.
*
* @param {*} [opts={}]
* @memberof HRTransferApplyService
*/
constructor
(
opts
:
any
=
{})
{
super
(
opts
);
}
}
\ No newline at end of file
app_PIM/src/store/modules/view-action/state.ts
浏览文件 @
42440a30
...
...
@@ -171,6 +171,7 @@ export const viewstate: any = {
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
'04c02737ae62a4f4c014607441ee0401'
,
'e7ba37699bd458dc8dd5c02abac8dadd'
,
],
},
...
...
@@ -509,6 +510,7 @@ export const viewstate: any = {
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
'ec9d9fe37bbfc3fcb623e2dc34b48dbc'
,
],
},
{
...
...
app_PIM/src/uiservice/hrtransfer-apply/hrtransfer-apply-ui-service-base.ts
0 → 100644
浏览文件 @
42440a30
import
{
Environment
}
from
'@/environments/environment'
;
import
{
UIActionTool
,
Util
}
from
'@/utils'
;
import
UIService
from
'../ui-service'
;
import
{
Subject
}
from
'rxjs'
;
import
HRTransferApplyService
from
'@/service/hrtransfer-apply/hrtransfer-apply-service'
;
import
HRTransferApplyAuthService
from
'@/authservice/hrtransfer-apply/hrtransfer-apply-auth-service'
;
/**
* 调动申请UI服务对象基类
*
* @export
* @class HRTransferApplyUIServiceBase
*/
export
default
class
HRTransferApplyUIServiceBase
extends
UIService
{
/**
* 是否支持工作流
*
* @memberof HRTransferApplyUIServiceBase
*/
public
isEnableWorkflow
:
boolean
=
false
;
/**
* 当前UI服务对应的数据服务对象
*
* @memberof HRTransferApplyUIServiceBase
*/
public
dataService
:
HRTransferApplyService
=
new
HRTransferApplyService
();
/**
* 所有关联视图
*
* @memberof HRTransferApplyUIServiceBase
*/
public
allViewMap
:
Map
<
string
,
Object
>
=
new
Map
();
/**
* 状态值
*
* @memberof HRTransferApplyUIServiceBase
*/
public
stateValue
:
number
=
0
;
/**
* 状态属性
*
* @memberof HRTransferApplyUIServiceBase
*/
public
stateField
:
string
=
""
;
/**
* 主状态属性集合
*
* @memberof HRTransferApplyUIServiceBase
*/
public
mainStateFields
:
Array
<
any
>
=
[];
/**
* 主状态集合Map
*
* @memberof HRTransferApplyUIServiceBase
*/
public
allDeMainStateMap
:
Map
<
string
,
string
>
=
new
Map
();
/**
* 主状态操作标识Map
*
* @memberof HRTransferApplyUIServiceBase
*/
public
allDeMainStateOPPrivsMap
:
Map
<
string
,
any
>
=
new
Map
();
/**
* Creates an instance of HRTransferApplyUIServiceBase.
*
* @param {*} [opts={}]
* @memberof HRTransferApplyUIServiceBase
*/
constructor
(
opts
:
any
=
{})
{
super
(
opts
);
this
.
authService
=
new
HRTransferApplyAuthService
(
opts
);
this
.
initViewMap
();
this
.
initDeMainStateMap
();
this
.
initDeMainStateOPPrivsMap
();
}
/**
* 初始化视图Map
*
* @memberof HRTransferApplyUIServiceBase
*/
public
initViewMap
(){
}
/**
* 初始化主状态集合
*
* @memberof HRTransferApplyUIServiceBase
*/
public
initDeMainStateMap
(){
}
/**
* 初始化主状态操作标识
*
* @memberof HRTransferApplyUIServiceBase
*/
public
initDeMainStateOPPrivsMap
(){
}
/**
* 获取指定数据的重定向页面
*
* @param srfkey 数据主键
* @param isEnableWorkflow 重定向视图是否需要处理流程中的数据
* @memberof HRTransferApplyUIServiceBase
*/
public
async
getRDAppView
(
srfkey
:
string
,
isEnableWorkflow
:
boolean
){
this
.
isEnableWorkflow
=
isEnableWorkflow
;
// 进行数据查询
let
result
:
any
=
await
this
.
dataService
.
Get
({
hrtransferapply
:
srfkey
});
const
curData
:
any
=
result
.
data
;
//判断当前数据模式,默认为true,todo
const
iRealDEModel
:
boolean
=
true
;
let
bDataInWF
:
boolean
=
false
;
let
bWFMode
:
any
=
false
;
// 计算数据模式
if
(
this
.
isEnableWorkflow
)
{
bDataInWF
=
await
this
.
dataService
.
testDataInWF
({
stateValue
:
this
.
stateValue
,
stateField
:
this
.
stateField
},
curData
);
if
(
bDataInWF
)
{
bDataInWF
=
true
;
bWFMode
=
await
this
.
dataService
.
testUserExistWorklist
(
null
,
curData
);
}
}
let
strPDTViewParam
:
string
=
await
this
.
getDESDDEViewPDTParam
(
curData
,
bDataInWF
,
bWFMode
);
//若不是当前数据模式,处理strPDTViewParam,todo
//查找视图
//返回视图
return
this
.
allViewMap
.
get
(
strPDTViewParam
);
}
/**
* 获取实际的数据类型
*
* @memberof HRTransferApplyUIServiceBase
*/
public
getRealDEType
(
entity
:
any
){
}
/**
* 获取实体单数据实体视图预定义参数
*
* @param curData 当前数据
* @param bDataInWF 是否有数据在工作流中
* @param bWFMode 是否工作流模式
* @memberof HRTransferApplyUIServiceBase
*/
public
async
getDESDDEViewPDTParam
(
curData
:
any
,
bDataInWF
:
boolean
,
bWFMode
:
boolean
){
let
strPDTParam
:
string
=
''
;
if
(
bDataInWF
)
{
// 判断数据是否在流程中
}
//多表单,todo
const
isEnableMultiForm
:
boolean
=
false
;
const
multiFormDEField
:
string
|
null
=
null
;
if
(
isEnableMultiForm
&&
multiFormDEField
)
{
const
objFormValue
:
string
=
curData
[
multiFormDEField
];
if
(
!
Environment
.
isAppMode
){
return
'MOBEDITVIEW'
+
objFormValue
;
}
return
'EDITVIEW'
+
objFormValue
;
}
if
(
!
Environment
.
isAppMode
){
if
(
this
.
getDEMainStateTag
(
curData
)){
return
`MOBEDITVIEW:MSTAG:
${
this
.
getDEMainStateTag
(
curData
)}
`
;
}
return
'MOBEDITVIEW:'
;
}
if
(
this
.
getDEMainStateTag
(
curData
)){
return
`EDITVIEW:MSTAG:
${
this
.
getDEMainStateTag
(
curData
)}
`
;
}
return
'EDITVIEW:'
;
}
/**
* 获取数据对象的主状态标识
*
* @param curData 当前数据
* @memberof HRTransferApplyUIServiceBase
*/
public
getDEMainStateTag
(
curData
:
any
){
if
(
this
.
mainStateFields
.
length
===
0
)
return
null
;
this
.
mainStateFields
.
forEach
((
singleMainField
:
any
)
=>
{
if
(
!
(
singleMainField
in
curData
)){
console
.
warn
(
`当前数据对象不包含属性
${
singleMainField
}
,可能会发生错误`
);
}
})
for
(
let
i
=
0
;
i
<=
1
;
i
++
)
{
let
strTag
:
string
=
(
curData
[
this
.
mainStateFields
[
0
]])?(
i
==
0
)
?
curData
[
this
.
mainStateFields
[
0
]]
:
""
:
""
;
if
(
this
.
mainStateFields
.
length
>=
2
)
{
for
(
let
j
=
0
;
j
<=
1
;
j
++
)
{
let
strTag2
:
string
=
(
curData
[
this
.
mainStateFields
[
1
]])?
`
${
strTag
}
__
${(
j
==
0
)
?
curData
[
this
.
mainStateFields
[
1
]]
:
""
}
`
:
strTag
;
if
(
this
.
mainStateFields
.
length
>=
3
)
{
for
(
let
k
=
0
;
k
<=
1
;
k
++
)
{
let
strTag3
:
string
=
(
curData
[
this
.
mainStateFields
[
2
]])?
`
${
strTag2
}
__
${(
k
==
0
)
?
curData
[
this
.
mainStateFields
[
2
]]
:
""
}
`
:
strTag2
;
// 判断是否存在
return
this
.
allDeMainStateMap
.
get
(
strTag3
);
}
}
else
{
return
this
.
allDeMainStateMap
.
get
(
strTag2
);
}
}
}
else
{
return
this
.
allDeMainStateMap
.
get
(
strTag
);
}
}
return
null
;
}
/**
* 获取数据对象当前操作标识
*
* @param data 当前数据
* @memberof HRTransferApplyUIServiceBase
*/
public
getDEMainStateOPPrivs
(
data
:
any
){
if
(
this
.
getDEMainStateTag
(
data
)){
return
this
.
allDeMainStateOPPrivsMap
.
get
((
this
.
getDEMainStateTag
(
data
)
as
string
));
}
else
{
return
null
;
}
}
/**
* 获取数据对象所有的操作标识
*
* @param data 当前数据
* @memberof HRTransferApplyUIServiceBase
*/
public
getAllOPPrivs
(
data
:
any
){
return
this
.
authService
.
getOPPrivs
(
this
.
getDEMainStateOPPrivs
(
data
));
}
}
\ No newline at end of file
app_PIM/src/uiservice/hrtransfer-apply/hrtransfer-apply-ui-service.ts
0 → 100644
浏览文件 @
42440a30
import
HRTransferApplyUIServiceBase
from
'./hrtransfer-apply-ui-service-base'
;
/**
* 调动申请UI服务对象
*
* @export
* @class HRTransferApplyUIService
*/
export
default
class
HRTransferApplyUIService
extends
HRTransferApplyUIServiceBase
{
/**
* Creates an instance of HRTransferApplyUIService.
*
* @param {*} [opts={}]
* @memberof HRTransferApplyUIService
*/
constructor
(
opts
:
any
=
{})
{
super
(
opts
);
}
}
\ No newline at end of file
app_PIM/src/uiservice/ui-service-register.ts
浏览文件 @
42440a30
...
...
@@ -47,6 +47,7 @@ export class UIServiceRegister {
this
.
allUIService
.
set
(
'hrcertificate'
,
()
=>
import
(
'@/uiservice/hrcertificate/hrcertificate-ui-service'
));
this
.
allUIService
.
set
(
'hrorgcontact'
,
()
=>
import
(
'@/uiservice/hrorg-contact/hrorg-contact-ui-service'
));
this
.
allUIService
.
set
(
'hrempstate'
,
()
=>
import
(
'@/uiservice/hremp-state/hremp-state-ui-service'
));
this
.
allUIService
.
set
(
'hrtransferapply'
,
()
=>
import
(
'@/uiservice/hrtransfer-apply/hrtransfer-apply-ui-service'
));
this
.
allUIService
.
set
(
'hrtechnicaltitle'
,
()
=>
import
(
'@/uiservice/hrtechnical-title/hrtechnical-title-ui-service'
));
this
.
allUIService
.
set
(
'hremployee'
,
()
=>
import
(
'@/uiservice/hremployee/hremployee-ui-service'
));
this
.
allUIService
.
set
(
'hrlegal'
,
()
=>
import
(
'@/uiservice/hrlegal/hrlegal-ui-service'
));
...
...
app_PIM/src/widgets/hreducation/main-form/main-form-base.tsx
浏览文件 @
42440a30
...
...
@@ -82,11 +82,22 @@ export class MainEditFormBase extends EditFormControlBase {
srfuf
:
null
,
srfdeid
:
null
,
srfsourcekey
:
null
,
hreducationname
:
null
,
createman
:
null
,
createdate
:
null
,
updateman
:
null
,
updatedate
:
null
,
hremployeename
:
null
,
degree
:
null
,
begintime
:
null
,
endtime
:
null
,
school
:
null
,
subject
:
null
,
major
:
null
,
learnmodality
:
null
,
schooltype
:
null
,
firstdegreeflag
:
null
,
highdegreeflag
:
null
,
attachment2
:
null
,
attachment1
:
null
,
attachment
:
null
,
attachment3
:
null
,
hremployeeid
:
null
,
hreducationid
:
null
,
hreducation
:
null
,
};
...
...
@@ -98,6 +109,18 @@ export class MainEditFormBase extends EditFormControlBase {
* @memberof MainEditFormBase
*/
public
rules
:
any
=
{
hremployeename
:
[
{
required
:
true
,
type
:
'string'
,
message
:
'员工姓名 值不能为空'
,
trigger
:
'change'
},
{
required
:
true
,
type
:
'string'
,
message
:
'员工姓名 值不能为空'
,
trigger
:
'blur'
},
],
degree
:
[
{
required
:
true
,
type
:
'string'
,
message
:
'学历 值不能为空'
,
trigger
:
'change'
},
{
required
:
true
,
type
:
'string'
,
message
:
'学历 值不能为空'
,
trigger
:
'blur'
},
],
begintime
:
[
{
required
:
true
,
type
:
'string'
,
message
:
'入学时间 值不能为空'
,
trigger
:
'change'
},
{
required
:
true
,
type
:
'string'
,
message
:
'入学时间 值不能为空'
,
trigger
:
'blur'
},
],
}
/**
...
...
@@ -116,14 +139,10 @@ export class MainEditFormBase extends EditFormControlBase {
* @memberof MainEditFormBase
*/
public
detailsModel
:
any
=
{
group1
:
new
FormGroupPanelModel
({
caption
:
'教育信息
基本信息'
,
detailType
:
'GROUPPANEL'
,
name
:
'group1'
,
visible
:
true
,
isShowCaption
:
tru
e
,
form
:
this
,
showMoreMode
:
0
,
uiActionGroup
:
{
caption
:
''
,
langbase
:
'entities.hreducation.main_form'
,
extractMode
:
'ITEM'
,
details
:
[]
}
}),
group1
:
new
FormGroupPanelModel
({
caption
:
'教育信息
'
,
detailType
:
'GROUPPANEL'
,
name
:
'group1'
,
visible
:
true
,
isShowCaption
:
fals
e
,
form
:
this
,
showMoreMode
:
0
,
uiActionGroup
:
{
caption
:
''
,
langbase
:
'entities.hreducation.main_form'
,
extractMode
:
'ITEM'
,
details
:
[]
}
}),
formpage1
:
new
FormPageModel
({
caption
:
'基本信息'
,
detailType
:
'FORMPAGE'
,
name
:
'formpage1'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
}),
group2
:
new
FormGroupPanelModel
({
caption
:
'操作信息'
,
detailType
:
'GROUPPANEL'
,
name
:
'group2'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
uiActionGroup
:
{
caption
:
''
,
langbase
:
'entities.hreducation.main_form'
,
extractMode
:
'ITEM'
,
details
:
[]
}
}),
formpage2
:
new
FormPageModel
({
caption
:
'其它'
,
detailType
:
'FORMPAGE'
,
name
:
'formpage2'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
}),
srfupdatedate
:
new
FormItemModel
({
caption
:
'更新时间'
,
detailType
:
'FORMITEM'
,
name
:
'srfupdatedate'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
srforikey
:
new
FormItemModel
({
caption
:
''
,
detailType
:
'FORMITEM'
,
name
:
'srforikey'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
...
...
@@ -140,18 +159,39 @@ export class MainEditFormBase extends EditFormControlBase {
srfsourcekey
:
new
FormItemModel
({
caption
:
''
,
detailType
:
'FORMITEM'
,
name
:
'srfsourcekey'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
hreducationname
:
new
FormItemModel
({
caption
:
'教育信息名称'
,
detailType
:
'FORMITEM'
,
name
:
'hreducationname'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
hremployeename
:
new
FormItemModel
({
caption
:
'员工姓名'
,
detailType
:
'FORMITEM'
,
name
:
'hremployeename'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
degree
:
new
FormItemModel
({
caption
:
'学历'
,
detailType
:
'FORMITEM'
,
name
:
'degree'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
begintime
:
new
FormItemModel
({
caption
:
'入学时间'
,
detailType
:
'FORMITEM'
,
name
:
'begintime'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
endtime
:
new
FormItemModel
({
caption
:
'毕业时间'
,
detailType
:
'FORMITEM'
,
name
:
'endtime'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
school
:
new
FormItemModel
({
caption
:
'毕业院校'
,
detailType
:
'FORMITEM'
,
name
:
'school'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
subject
:
new
FormItemModel
({
caption
:
'一级学科'
,
detailType
:
'FORMITEM'
,
name
:
'subject'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
major
:
new
FormItemModel
({
caption
:
'专业'
,
detailType
:
'FORMITEM'
,
name
:
'major'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
learnmodality
:
new
FormItemModel
({
caption
:
'学习形式'
,
detailType
:
'FORMITEM'
,
name
:
'learnmodality'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
schooltype
:
new
FormItemModel
({
caption
:
'学校性质'
,
detailType
:
'FORMITEM'
,
name
:
'schooltype'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
firstdegreeflag
:
new
FormItemModel
({
caption
:
'是否第一学历'
,
detailType
:
'FORMITEM'
,
name
:
'firstdegreeflag'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
highdegreeflag
:
new
FormItemModel
({
caption
:
'是否最高学历'
,
detailType
:
'FORMITEM'
,
name
:
'highdegreeflag'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
attachment2
:
new
FormItemModel
({
caption
:
'学位证'
,
detailType
:
'FORMITEM'
,
name
:
'attachment2'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
createman
:
new
FormItemModel
({
caption
:
'建立人'
,
detailType
:
'FORMITEM'
,
name
:
'createman
'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
attachment1
:
new
FormItemModel
({
caption
:
'毕业证'
,
detailType
:
'FORMITEM'
,
name
:
'attachment1
'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
createdate
:
new
FormItemModel
({
caption
:
'建立时间'
,
detailType
:
'FORMITEM'
,
name
:
'createdate
'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
attachment
:
new
FormItemModel
({
caption
:
'其他附件'
,
detailType
:
'FORMITEM'
,
name
:
'attachment
'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
updateman
:
new
FormItemModel
({
caption
:
'更新人'
,
detailType
:
'FORMITEM'
,
name
:
'updateman
'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
attachment3
:
new
FormItemModel
({
caption
:
'学历验证'
,
detailType
:
'FORMITEM'
,
name
:
'attachment3
'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
updatedate
:
new
FormItemModel
({
caption
:
'更新时间'
,
detailType
:
'FORMITEM'
,
name
:
'updatedate
'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
hremployeeid
:
new
FormItemModel
({
caption
:
'员工标识'
,
detailType
:
'FORMITEM'
,
name
:
'hremployeeid
'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
hreducationid
:
new
FormItemModel
({
caption
:
'教育信息标识'
,
detailType
:
'FORMITEM'
,
name
:
'hreducationid'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
form
:
new
FormTabPanelModel
({
caption
:
'form'
,
detailType
:
'TABPANEL'
,
name
:
'form'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
tabPages
:
[{
name
:
'formpage1'
,
index
:
0
,
visible
:
true
},
{
name
:
'formpage2'
,
index
:
1
,
visible
:
true
}]
}),
};
}
\ No newline at end of file
app_PIM/src/widgets/hreducation/main-form/main-form-model.ts
浏览文件 @
42440a30
...
...
@@ -56,29 +56,84 @@ export default class MainModel {
name
:
'srfsourcekey'
,
},
{
name
:
'hreducationname'
,
prop
:
'hreducationname'
,
name
:
'hremployeename'
,
prop
:
'hremployeename'
,
dataType
:
'PICKUPTEXT'
,
},
{
name
:
'degree'
,
prop
:
'degree'
,
dataType
:
'SSCODELIST'
,
},
{
name
:
'begintime'
,
prop
:
'begintime'
,
dataType
:
'DATE'
,
},
{
name
:
'endtime'
,
prop
:
'endtime'
,
dataType
:
'DATE'
,
},
{
name
:
'school'
,
prop
:
'school'
,
dataType
:
'TEXT'
,
},
{
name
:
'
createman
'
,
prop
:
'
createman
'
,
name
:
'
subject
'
,
prop
:
'
subject
'
,
dataType
:
'TEXT'
,
},
{
name
:
'createdate'
,
prop
:
'createdate'
,
dataType
:
'DATETIME'
,
name
:
'major'
,
prop
:
'major'
,
dataType
:
'TEXT'
,
},
{
name
:
'learnmodality'
,
prop
:
'learnmodality'
,
dataType
:
'SSCODELIST'
,
},
{
name
:
'schooltype'
,
prop
:
'schooltype'
,
dataType
:
'SSCODELIST'
,
},
{
name
:
'updateman'
,
prop
:
'updateman'
,
name
:
'firstdegreeflag'
,
prop
:
'firstdegreeflag'
,
dataType
:
'YESNO'
,
},
{
name
:
'highdegreeflag'
,
prop
:
'highdegreeflag'
,
dataType
:
'YESNO'
,
},
{
name
:
'attachment2'
,
prop
:
'attachment2'
,
dataType
:
'TEXT'
,
},
{
name
:
'updatedate'
,
prop
:
'updatedate'
,
dataType
:
'DATETIME'
,
name
:
'attachment1'
,
prop
:
'attachment1'
,
dataType
:
'TEXT'
,
},
{
name
:
'attachment'
,
prop
:
'attachment'
,
dataType
:
'TEXT'
,
},
{
name
:
'attachment3'
,
prop
:
'attachment3'
,
dataType
:
'TEXT'
,
},
{
name
:
'hremployeeid'
,
prop
:
'hremployeeid'
,
dataType
:
'PICKUP'
,
},
{
name
:
'hreducationid'
,
...
...
app_PIM/src/widgets/hreducation/main-form/main-form-service.ts
浏览文件 @
42440a30
...
...
@@ -2,6 +2,7 @@ import { Http,Util,Errorlog } from '@/utils';
import
ControlService
from
'@/widgets/control-service'
;
import
HREducationService
from
'@/service/hreducation/hreducation-service'
;
import
MainModel
from
'./main-form-model'
;
import
HREmployeeService
from
'@/service/hremployee/hremployee-service'
;
/**
...
...
@@ -41,6 +42,14 @@ export default class MainService extends ControlService {
this
.
model
=
new
MainModel
();
}
/**
* 员工服务对象
*
* @type {HREmployeeService}
* @memberof MainService
*/
public
hremployeeService
:
HREmployeeService
=
new
HREmployeeService
();
/**
* 处理数据
*
...
...
@@ -82,6 +91,9 @@ export default class MainService extends ControlService {
public
getItems
(
serviceName
:
string
,
interfaceName
:
string
,
context
:
any
=
{},
data
:
any
,
isloading
?:
boolean
):
Promise
<
any
[]
>
{
data
.
page
=
data
.
page
?
data
.
page
:
0
;
data
.
size
=
data
.
size
?
data
.
size
:
1000
;
if
(
Object
.
is
(
serviceName
,
'HREmployeeService'
)
&&
Object
.
is
(
interfaceName
,
'FetchDefault'
))
{
return
this
.
doItems
(
this
.
hremployeeService
.
FetchDefault
(
JSON
.
parse
(
JSON
.
stringify
(
context
)),
data
,
isloading
),
'employeeid'
,
'hremployee'
);
}
return
Promise
.
reject
([])
}
...
...
app_PIM/src/widgets/hreducation/main-form/main-form.html
浏览文件 @
42440a30
此差异已折叠。
点击以展开。
app_PIM/src/widgets/hreducation/main-grid/main-grid-base.tsx
浏览文件 @
42440a30
...
...
@@ -93,25 +93,81 @@ export class MainGridBase extends GridControlBase {
*/
public
allColumns
:
any
[]
=
[
{
name
:
'
hreducationnam
e'
,
label
:
'
教育信息名称
'
,
langtag
:
'entities.hreducation.main_grid.columns.
hreducationnam
e'
,
name
:
'
degre
e'
,
label
:
'
学历
'
,
langtag
:
'entities.hreducation.main_grid.columns.
degre
e'
,
show
:
true
,
util
:
'PX'
,
isEnableRowEdit
:
false
,
},
{
name
:
'
updateman
'
,
label
:
'
更新人
'
,
langtag
:
'entities.hreducation.main_grid.columns.
updateman
'
,
name
:
'
begintime
'
,
label
:
'
入学时间
'
,
langtag
:
'entities.hreducation.main_grid.columns.
begintime
'
,
show
:
true
,
util
:
'PX'
,
isEnableRowEdit
:
false
,
},
{
name
:
'updatedate'
,
label
:
'更新时间'
,
langtag
:
'entities.hreducation.main_grid.columns.updatedate'
,
name
:
'endtime'
,
label
:
'毕业时间'
,
langtag
:
'entities.hreducation.main_grid.columns.endtime'
,
show
:
true
,
util
:
'PX'
,
isEnableRowEdit
:
false
,
},
{
name
:
'school'
,
label
:
'毕业院校'
,
langtag
:
'entities.hreducation.main_grid.columns.school'
,
show
:
true
,
util
:
'PX'
,
isEnableRowEdit
:
false
,
},
{
name
:
'subject'
,
label
:
'一级学科'
,
langtag
:
'entities.hreducation.main_grid.columns.subject'
,
show
:
true
,
util
:
'PX'
,
isEnableRowEdit
:
false
,
},
{
name
:
'major'
,
label
:
'专业'
,
langtag
:
'entities.hreducation.main_grid.columns.major'
,
show
:
true
,
util
:
'PX'
,
isEnableRowEdit
:
false
,
},
{
name
:
'learnmodality'
,
label
:
'学习形式'
,
langtag
:
'entities.hreducation.main_grid.columns.learnmodality'
,
show
:
true
,
util
:
'PX'
,
isEnableRowEdit
:
false
,
},
{
name
:
'schooltype'
,
label
:
'学校性质'
,
langtag
:
'entities.hreducation.main_grid.columns.schooltype'
,
show
:
true
,
util
:
'PX'
,
isEnableRowEdit
:
false
,
},
{
name
:
'highdegreeflag'
,
label
:
'是否最高学历'
,
langtag
:
'entities.hreducation.main_grid.columns.highdegreeflag'
,
show
:
true
,
util
:
'PX'
,
isEnableRowEdit
:
false
,
},
{
name
:
'firstdegreeflag'
,
label
:
'是否第一学历'
,
langtag
:
'entities.hreducation.main_grid.columns.firstdegreeflag'
,
show
:
true
,
util
:
'PX'
,
isEnableRowEdit
:
false
,
...
...
@@ -150,9 +206,16 @@ export class MainGridBase extends GridControlBase {
* @memberof MainBase
*/
public
hasRowEdit
:
any
=
{
'hreducationname'
:
false
,
'updateman'
:
false
,
'updatedate'
:
false
,
'degree'
:
false
,
'begintime'
:
false
,
'endtime'
:
false
,
'school'
:
false
,
'subject'
:
false
,
'major'
:
false
,
'learnmodality'
:
false
,
'schooltype'
:
false
,
'highdegreeflag'
:
false
,
'firstdegreeflag'
:
false
,
};
/**
...
...
@@ -179,9 +242,25 @@ export class MainGridBase extends GridControlBase {
public
async
formatExcelData
(
filterVal
:
any
,
jsonData
:
any
,
codelistColumns
?:
any
[]):
Promise
<
any
>
{
return
super
.
formatExcelData
(
filterVal
,
jsonData
,
[
{
name
:
'updateman'
,
srfkey
:
'SysOperator'
,
codelistType
:
'DYNAMIC'
,
name
:
'degree'
,
srfkey
:
'CL_HR_0014'
,
codelistType
:
'STATIC'
,
renderMode
:
'other'
,
textSeparator
:
'、'
,
valueSeparator
:
','
,
},
{
name
:
'highdegreeflag'
,
srfkey
:
'YesNo'
,
codelistType
:
'STATIC'
,
renderMode
:
'other'
,
textSeparator
:
'、'
,
valueSeparator
:
','
,
},
{
name
:
'firstdegreeflag'
,
srfkey
:
'YesNo'
,
codelistType
:
'STATIC'
,
renderMode
:
'other'
,
textSeparator
:
'、'
,
valueSeparator
:
','
,
...
...
app_PIM/src/widgets/hreducation/main-grid/main-grid-model.ts
浏览文件 @
42440a30
...
...
@@ -27,19 +27,39 @@ export default class MainModel {
}
else
{
return
[
{
name
:
'hremployeeid'
,
prop
:
'hremployeeid'
,
dataType
:
'PICKUP'
,
name
:
'endtime'
,
prop
:
'endtime'
,
dataType
:
'DATE'
,
},
{
name
:
'learnmodality'
,
prop
:
'learnmodality'
,
dataType
:
'SSCODELIST'
,
},
{
name
:
'firstdegreeflag'
,
prop
:
'firstdegreeflag'
,
dataType
:
'YESNO'
,
},
{
name
:
'updateman'
,
prop
:
'updateman'
,
name
:
'begintime'
,
prop
:
'begintime'
,
dataType
:
'DATE'
,
},
{
name
:
'subject'
,
prop
:
'subject'
,
dataType
:
'TEXT'
,
},
{
name
:
'updatedate'
,
prop
:
'updatedate'
,
dataType
:
'DATETIME'
,
name
:
'highdegreeflag'
,
prop
:
'highdegreeflag'
,
dataType
:
'YESNO'
,
},
{
name
:
'schooltype'
,
prop
:
'schooltype'
,
dataType
:
'SSCODELIST'
,
},
{
name
:
'srfmajortext'
,
...
...
@@ -47,19 +67,34 @@ export default class MainModel {
dataType
:
'TEXT'
,
},
{
name
:
'srf
dataaccaction
'
,
name
:
'srf
key
'
,
prop
:
'hreducationid'
,
dataType
:
'GUID'
,
isEditable
:
true
},
{
name
:
'srf
key
'
,
name
:
'srf
dataaccaction
'
,
prop
:
'hreducationid'
,
dataType
:
'GUID'
,
isEditable
:
true
},
{
name
:
'hreducationname'
,
prop
:
'hreducationname'
,
name
:
'hremployeeid'
,
prop
:
'hremployeeid'
,
dataType
:
'PICKUP'
,
},
{
name
:
'degree'
,
prop
:
'degree'
,
dataType
:
'SSCODELIST'
,
},
{
name
:
'school'
,
prop
:
'school'
,
dataType
:
'TEXT'
,
},
{
name
:
'major'
,
prop
:
'major'
,
dataType
:
'TEXT'
,
},
{
...
...
app_PIM/src/widgets/hreducation/main-grid/main-grid.html
浏览文件 @
42440a30
...
...
@@ -23,41 +23,129 @@
<template
v-if=
"!isSingleSelect"
>
<el-table-column
align=
"center"
type=
'selection'
:width=
"checkboxColWidth"
></el-table-column>
</template>
<template
v-if=
"getColumnState('
hreducationnam
e')"
>
<el-table-column
show-overflow-tooltip
:prop=
"'
hreducationname'"
:label=
"$t('entities.hreducation.main_grid.columns.hreducationnam
e')"
:width=
"150"
:align=
"'left'"
:sortable=
"'custom'"
>
<template
v-if=
"getColumnState('
degre
e')"
>
<el-table-column
show-overflow-tooltip
:prop=
"'
degree'"
:label=
"$t('entities.hreducation.main_grid.columns.degre
e')"
:width=
"150"
:align=
"'left'"
:sortable=
"'custom'"
>
<template
v-slot:header=
"{column}"
>
<span
class=
"column-header "
>
{{$t('entities.hreducation.main_grid.columns.
hreducationnam
e')}}
{{$t('entities.hreducation.main_grid.columns.
degre
e')}}
</span>
</template>
<template
v-slot=
"{row,column,$index}"
>
<span>
{{row.hreducationname}}
</span>
<template
>
<codelist
:value=
"row.degree"
tag=
'CL_HR_0014'
codelistType=
'STATIC'
></codelist>
</template>
</template>
</el-table-column>
</template>
<template
v-if=
"getColumnState('begintime')"
>
<el-table-column
show-overflow-tooltip
:prop=
"'begintime'"
:label=
"$t('entities.hreducation.main_grid.columns.begintime')"
:width=
"150"
:align=
"'left'"
:sortable=
"'custom'"
>
<template
v-slot:header=
"{column}"
>
<span
class=
"column-header "
>
{{$t('entities.hreducation.main_grid.columns.begintime')}}
</span>
</template>
<template
v-slot=
"{row,column,$index}"
>
<app-format-data
format=
"YYYY-MM-DD"
:data=
"row.begintime"
></app-format-data>
</template>
</el-table-column>
</template>
<template
v-if=
"getColumnState('endtime')"
>
<el-table-column
show-overflow-tooltip
:prop=
"'endtime'"
:label=
"$t('entities.hreducation.main_grid.columns.endtime')"
:width=
"150"
:align=
"'left'"
:sortable=
"'custom'"
>
<template
v-slot:header=
"{column}"
>
<span
class=
"column-header "
>
{{$t('entities.hreducation.main_grid.columns.endtime')}}
</span>
</template>
<template
v-slot=
"{row,column,$index}"
>
<app-format-data
format=
"YYYY-MM-DD"
:data=
"row.endtime"
></app-format-data>
</template>
</el-table-column>
</template>
<template
v-if=
"getColumnState('school')"
>
<el-table-column
show-overflow-tooltip
:prop=
"'school'"
:label=
"$t('entities.hreducation.main_grid.columns.school')"
:width=
"150"
:align=
"'left'"
:sortable=
"'custom'"
>
<template
v-slot:header=
"{column}"
>
<span
class=
"column-header "
>
{{$t('entities.hreducation.main_grid.columns.school')}}
</span>
</template>
<template
v-slot=
"{row,column,$index}"
>
<span>
{{row.school}}
</span>
</template>
</el-table-column>
</template>
<template
v-if=
"getColumnState('subject')"
>
<el-table-column
show-overflow-tooltip
:prop=
"'subject'"
:label=
"$t('entities.hreducation.main_grid.columns.subject')"
:width=
"150"
:align=
"'left'"
:sortable=
"'custom'"
>
<template
v-slot:header=
"{column}"
>
<span
class=
"column-header "
>
{{$t('entities.hreducation.main_grid.columns.subject')}}
</span>
</template>
<template
v-slot=
"{row,column,$index}"
>
<span>
{{row.subject}}
</span>
</template>
</el-table-column>
</template>
<template
v-if=
"getColumnState('major')"
>
<el-table-column
show-overflow-tooltip
:prop=
"'major'"
:label=
"$t('entities.hreducation.main_grid.columns.major')"
:width=
"150"
:align=
"'left'"
:sortable=
"'custom'"
>
<template
v-slot:header=
"{column}"
>
<span
class=
"column-header "
>
{{$t('entities.hreducation.main_grid.columns.major')}}
</span>
</template>
<template
v-slot=
"{row,column,$index}"
>
<span>
{{row.major}}
</span>
</template>
</el-table-column>
</template>
<template
v-if=
"getColumnState('learnmodality')"
>
<el-table-column
show-overflow-tooltip
:prop=
"'learnmodality'"
:label=
"$t('entities.hreducation.main_grid.columns.learnmodality')"
:width=
"150"
:align=
"'left'"
:sortable=
"'custom'"
>
<template
v-slot:header=
"{column}"
>
<span
class=
"column-header "
>
{{$t('entities.hreducation.main_grid.columns.learnmodality')}}
</span>
</template>
<template
v-slot=
"{row,column,$index}"
>
<span>
{{row.learnmodality}}
</span>
</template>
</el-table-column>
</template>
<template
v-if=
"getColumnState('
updateman
')"
>
<el-table-column
show-overflow-tooltip
:prop=
"'
updateman'"
:label=
"$t('entities.hreducation.main_grid.columns.updateman
')"
:width=
"150"
:align=
"'left'"
:sortable=
"'custom'"
>
<template
v-if=
"getColumnState('
schooltype
')"
>
<el-table-column
show-overflow-tooltip
:prop=
"'
schooltype'"
:label=
"$t('entities.hreducation.main_grid.columns.schooltype
')"
:width=
"150"
:align=
"'left'"
:sortable=
"'custom'"
>
<template
v-slot:header=
"{column}"
>
<span
class=
"column-header "
>
{{$t('entities.hreducation.main_grid.columns.updateman')}}
{{$t('entities.hreducation.main_grid.columns.schooltype')}}
</span>
</template>
<template
v-slot=
"{row,column,$index}"
>
<span>
{{row.schooltype}}
</span>
</template>
</el-table-column>
</template>
<template
v-if=
"getColumnState('highdegreeflag')"
>
<el-table-column
show-overflow-tooltip
:prop=
"'highdegreeflag'"
:label=
"$t('entities.hreducation.main_grid.columns.highdegreeflag')"
:width=
"150"
:align=
"'left'"
:sortable=
"'custom'"
>
<template
v-slot:header=
"{column}"
>
<span
class=
"column-header "
>
{{$t('entities.hreducation.main_grid.columns.highdegreeflag')}}
</span>
</template>
<template
v-slot=
"{row,column,$index}"
>
<template
>
<codelist
:value=
"row.
updateman"
tag=
'SysOperator'
codelistType=
'DYNAM
IC'
></codelist>
<codelist
:value=
"row.
highdegreeflag"
tag=
'YesNo'
codelistType=
'STAT
IC'
></codelist>
</template>
</template>
</el-table-column>
</template>
<template
v-if=
"getColumnState('
updatedate
')"
>
<el-table-column
show-overflow-tooltip
:prop=
"'
updatedate'"
:label=
"$t('entities.hreducation.main_grid.columns.updatedate
')"
:width=
"150"
:align=
"'left'"
:sortable=
"'custom'"
>
<template
v-if=
"getColumnState('
firstdegreeflag
')"
>
<el-table-column
show-overflow-tooltip
:prop=
"'
firstdegreeflag'"
:label=
"$t('entities.hreducation.main_grid.columns.firstdegreeflag
')"
:width=
"150"
:align=
"'left'"
:sortable=
"'custom'"
>
<template
v-slot:header=
"{column}"
>
<span
class=
"column-header "
>
{{$t('entities.hreducation.main_grid.columns.
updatedate
')}}
{{$t('entities.hreducation.main_grid.columns.
firstdegreeflag
')}}
</span>
</template>
<template
v-slot=
"{row,column,$index}"
>
<app-format-data
format=
"YYYY-MM-DD HH:mm:ss"
:data=
"row.updatedate"
></app-format-data>
<template
>
<codelist
:value=
"row.firstdegreeflag"
tag=
'YesNo'
codelistType=
'STATIC'
></codelist>
</template>
</template>
</el-table-column>
</template>
...
...
app_PIM/src/widgets/hremployee/ef-001-form/ef-001-form-base.tsx
浏览文件 @
42440a30
...
...
@@ -88,6 +88,8 @@ export class EF_001EditFormBase extends EditFormControlBase {
certtype
:
null
,
certnum
:
null
,
organizationname
:
null
,
hrpostname
:
null
,
hrpostid
:
null
,
organizationid
:
null
,
employeeid
:
null
,
hremployee
:
null
,
...
...
@@ -170,6 +172,10 @@ export class EF_001EditFormBase extends EditFormControlBase {
organizationname
:
new
FormItemModel
({
caption
:
'单位'
,
detailType
:
'FORMITEM'
,
name
:
'organizationname'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
hrpostname
:
new
FormItemModel
({
caption
:
'职位'
,
detailType
:
'FORMITEM'
,
name
:
'hrpostname'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
hrpostid
:
new
FormItemModel
({
caption
:
'职位标识'
,
detailType
:
'FORMITEM'
,
name
:
'hrpostid'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
organizationid
:
new
FormItemModel
({
caption
:
'组织ID'
,
detailType
:
'FORMITEM'
,
name
:
'organizationid'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
employeeid
:
new
FormItemModel
({
caption
:
'员工标识'
,
detailType
:
'FORMITEM'
,
name
:
'employeeid'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
...
...
app_PIM/src/widgets/hremployee/ef-001-form/ef-001-form-model.ts
浏览文件 @
42440a30
...
...
@@ -85,6 +85,16 @@ export default class EF_001Model {
prop
:
'organizationname'
,
dataType
:
'PICKUPTEXT'
,
},
{
name
:
'hrpostname'
,
prop
:
'hrpostname'
,
dataType
:
'PICKUPTEXT'
,
},
{
name
:
'hrpostid'
,
prop
:
'hrpostid'
,
dataType
:
'PICKUP'
,
},
{
name
:
'organizationid'
,
prop
:
'organizationid'
,
...
...
app_PIM/src/widgets/hremployee/ef-001-form/ef-001-form-service.ts
浏览文件 @
42440a30
...
...
@@ -3,6 +3,7 @@ import ControlService from '@/widgets/control-service';
import
HREmployeeService
from
'@/service/hremployee/hremployee-service'
;
import
EF_001Model
from
'./ef-001-form-model'
;
import
HROrganizationService
from
'@/service/hrorganization/hrorganization-service'
;
import
HRPostService
from
'@/service/hrpost/hrpost-service'
;
/**
...
...
@@ -50,6 +51,14 @@ export default class EF_001Service extends ControlService {
*/
public
hrorganizationService
:
HROrganizationService
=
new
HROrganizationService
();
/**
* 职位服务对象
*
* @type {HRPostService}
* @memberof EF_001Service
*/
public
hrpostService
:
HRPostService
=
new
HRPostService
();
/**
* 处理数据
*
...
...
@@ -94,6 +103,9 @@ export default class EF_001Service extends ControlService {
if
(
Object
.
is
(
serviceName
,
'HROrganizationService'
)
&&
Object
.
is
(
interfaceName
,
'FetchDefault'
))
{
return
this
.
doItems
(
this
.
hrorganizationService
.
FetchDefault
(
JSON
.
parse
(
JSON
.
stringify
(
context
)),
data
,
isloading
),
'organizationid'
,
'hrorganization'
);
}
if
(
Object
.
is
(
serviceName
,
'HRPostService'
)
&&
Object
.
is
(
interfaceName
,
'FetchDefault'
))
{
return
this
.
doItems
(
this
.
hrpostService
.
FetchDefault
(
JSON
.
parse
(
JSON
.
stringify
(
context
)),
data
,
isloading
),
'hrpostid'
,
'hrpost'
);
}
return
Promise
.
reject
([])
}
...
...
app_PIM/src/widgets/hremployee/ef-001-form/ef-001-form.html
浏览文件 @
42440a30
...
...
@@ -113,6 +113,32 @@
</app-form-item>
</i-col>
<i-col
class=
"form-layout-container"
v-show=
"detailsModel.hrpostname.visible"
:style=
"{}"
:lg=
"{ span: 24, offset: 0 }"
>
<app-form-item
name=
'hrpostname'
:itemRules=
"this.rules.hrpostname"
class=
''
:caption=
"$t('entities.hremployee.ef_001_form.details.hrpostname')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.hrpostname.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-picker
:formState=
"formState"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'{ }'
:localParam =
'{ }'
:disabled=
"detailsModel.hrpostname.disabled"
name=
'hrpostname'
deMajorField=
'hrpostname'
deKeyField=
'hrpost'
:service=
"service"
:acParams=
"{ serviceName: 'HRPostService', interfaceName: 'FetchDefault'}"
valueitem=
'hrpostid'
:value=
"data.hrpostname"
:pickupView=
"{ viewname: 'hrpost-pickup-view', title: $t('entities.hrpost.views.pickupview.title'), deResParameters: [], parameters: [{ pathName: 'hrposts', parameterName: 'hrpost' }, { pathName: 'pickupview', parameterName: 'pickupview' } ], placement:'' }"
style=
""
@
formitemvaluechange=
"onFormItemValueChange($event)"
>
</app-picker>
</app-form-item>
</i-col>
</row>
...
...
app_PIM/src/widgets/hremployee/main-grid/main-grid-base.tsx
浏览文件 @
42440a30
...
...
@@ -116,6 +116,22 @@ export class MainGridBase extends GridControlBase {
util
:
'PX'
,
isEnableRowEdit
:
false
,
},
{
name
:
'hrdutyname'
,
label
:
'职务'
,
langtag
:
'entities.hremployee.main_grid.columns.hrdutyname'
,
show
:
true
,
util
:
'PX'
,
isEnableRowEdit
:
false
,
},
{
name
:
'hrpostname'
,
label
:
'职位'
,
langtag
:
'entities.hremployee.main_grid.columns.hrpostname'
,
show
:
true
,
util
:
'PX'
,
isEnableRowEdit
:
false
,
},
{
name
:
'certnum'
,
label
:
'证件号码'
,
...
...
@@ -201,6 +217,8 @@ export class MainGridBase extends GridControlBase {
'employeecode'
:
false
,
'employeename'
:
false
,
'organizationname'
:
false
,
'hrdutyname'
:
false
,
'hrpostname'
:
false
,
'certnum'
:
false
,
'birthday'
:
false
,
'age'
:
false
,
...
...
app_PIM/src/widgets/hremployee/main-grid/main-grid-model.ts
浏览文件 @
42440a30
...
...
@@ -46,6 +46,16 @@ export default class MainModel {
prop
:
'empstate'
,
dataType
:
'PICKUP'
,
},
{
name
:
'hrdutyname'
,
prop
:
'hrdutyname'
,
dataType
:
'PICKUPDATA'
,
},
{
name
:
'hrpostname'
,
prop
:
'hrpostname'
,
dataType
:
'PICKUPTEXT'
,
},
{
name
:
'employeename'
,
prop
:
'employeename'
,
...
...
@@ -62,15 +72,15 @@ export default class MainModel {
dataType
:
'TEXT'
,
},
{
name
:
'srf
key
'
,
name
:
'srf
dataaccaction
'
,
prop
:
'employeeid'
,
dataType
:
'GUID'
,
isEditable
:
true
},
{
name
:
'srf
dataaccaction
'
,
name
:
'srf
key
'
,
prop
:
'employeeid'
,
dataType
:
'GUID'
,
isEditable
:
true
},
{
name
:
'organizationid'
,
...
...
app_PIM/src/widgets/hremployee/main-grid/main-grid.html
浏览文件 @
42440a30
...
...
@@ -59,6 +59,30 @@
</template>
</el-table-column>
</template>
<template
v-if=
"getColumnState('hrdutyname')"
>
<el-table-column
show-overflow-tooltip
:prop=
"'hrdutyname'"
:label=
"$t('entities.hremployee.main_grid.columns.hrdutyname')"
:width=
"150"
:align=
"'left'"
:sortable=
"'custom'"
>
<template
v-slot:header=
"{column}"
>
<span
class=
"column-header "
>
{{$t('entities.hremployee.main_grid.columns.hrdutyname')}}
</span>
</template>
<template
v-slot=
"{row,column,$index}"
>
<span>
{{row.hrdutyname}}
</span>
</template>
</el-table-column>
</template>
<template
v-if=
"getColumnState('hrpostname')"
>
<el-table-column
show-overflow-tooltip
:prop=
"'hrpostname'"
:label=
"$t('entities.hremployee.main_grid.columns.hrpostname')"
:width=
"150"
:align=
"'left'"
:sortable=
"'custom'"
>
<template
v-slot:header=
"{column}"
>
<span
class=
"column-header "
>
{{$t('entities.hremployee.main_grid.columns.hrpostname')}}
</span>
</template>
<template
v-slot=
"{row,column,$index}"
>
<span>
{{row.hrpostname}}
</span>
</template>
</el-table-column>
</template>
<template
v-if=
"getColumnState('certnum')"
>
<el-table-column
show-overflow-tooltip
:prop=
"'certnum'"
:label=
"$t('entities.hremployee.main_grid.columns.certnum')"
:width=
"150"
:align=
"'left'"
:sortable=
"'custom'"
>
<template
v-slot:header=
"{column}"
>
...
...
config.xml
浏览文件 @
42440a30
...
...
@@ -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
浏览文件 @
42440a30
...
...
@@ -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
浏览文件 @
42440a30
...
...
@@ -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-provider/humanresource-provider-hrapi/src/main/docker/Dockerfile
浏览文件 @
42440a30
...
...
@@ -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
浏览文件 @
42440a30
...
...
@@ -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
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录