Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
iBiz人力资源
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
iBiz企业套件
iBiz人力资源
提交
456b33b5
提交
456b33b5
编写于
8月 12, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
jackwang 部署微服务应用
上级
f727aa20
变更
31
显示空白字符变更
内嵌
并排
正在显示
31 个修改的文件
包含
1048 行增加
和
167 行删除
+1048
-167
view-config.json
app_PIM/public/assets/json/view-config.json
+10
-0
hrtechnical-title_en_US.ts
...res/entities/hrtechnical-title/hrtechnical-title_en_US.ts
+19
-6
hrtechnical-title_zh_CN.ts
...res/entities/hrtechnical-title/hrtechnical-title_zh_CN.ts
+19
-6
viewconfig.ts
app_PIM/src/mock/viewconfig/viewconfig.ts
+8
-0
hrcertificate-grid-view-base.tsx
.../hrcertificate-grid-view/hrcertificate-grid-view-base.tsx
+39
-13
hrcertificate-v-002-base.tsx
...resource/hrcertificate-v-002/hrcertificate-v-002-base.tsx
+171
-0
hrcertificate-v-002.html
...man-resource/hrcertificate-v-002/hrcertificate-v-002.html
+34
-0
hrcertificate-v-002.vue
...uman-resource/hrcertificate-v-002/hrcertificate-v-002.vue
+22
-0
hrtechnical-title-grid-view-base.tsx
...ical-title-grid-view/hrtechnical-title-grid-view-base.tsx
+39
-13
hrtechnical-title-v-002-base.tsx
.../hrtechnical-title-v-002/hrtechnical-title-v-002-base.tsx
+171
-0
hrtechnical-title-v-002.html
...urce/hrtechnical-title-v-002/hrtechnical-title-v-002.html
+34
-0
hrtechnical-title-v-002.vue
...ource/hrtechnical-title-v-002/hrtechnical-title-v-002.vue
+22
-0
page-register.ts
app_PIM/src/pages/ungroup/pim/page-register.ts
+2
-0
router.ts
app_PIM/src/pages/ungroup/pim/router.ts
+58
-0
state.ts
app_PIM/src/store/modules/view-action/state.ts
+24
-2
hrtechnical-title-ui-service-base.ts
...ce/hrtechnical-title/hrtechnical-title-ui-service-base.ts
+1
-0
main-grid-base.tsx
...IM/src/widgets/hrcertificate/main-grid/main-grid-base.tsx
+8
-0
main-grid-model.ts
...IM/src/widgets/hrcertificate/main-grid/main-grid-model.ts
+1
-1
main-grid.html
app_PIM/src/widgets/hrcertificate/main-grid/main-grid.html
+3
-1
main-form-base.tsx
...rc/widgets/hrtechnical-title/main-form/main-form-base.tsx
+30
-14
main-form-model.ts
...rc/widgets/hrtechnical-title/main-form/main-form-model.ts
+45
-10
main-form-service.ts
.../widgets/hrtechnical-title/main-form/main-form-service.ts
+12
-0
main-form.html
...IM/src/widgets/hrtechnical-title/main-form/main-form.html
+116
-55
main-grid-base.tsx
...rc/widgets/hrtechnical-title/main-grid/main-grid-base.tsx
+44
-0
main-grid-model.ts
...rc/widgets/hrtechnical-title/main-grid/main-grid-model.ts
+41
-21
main-grid.html
...IM/src/widgets/hrtechnical-title/main-grid/main-grid.html
+50
-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/view-config.json
浏览文件 @
456b33b5
...
@@ -1249,6 +1249,16 @@
...
@@ -1249,6 +1249,16 @@
"viewtag"
:
"df641376a477230f2dac638fe717516a"
,
"viewtag"
:
"df641376a477230f2dac638fe717516a"
,
"memo"
:
"系统自动添加"
"memo"
:
"系统自动添加"
},
},
"hrtechnicaltitlev_002"
:
{
"title"
:
"职称信息"
,
"caption"
:
"职称信息"
,
"viewtype"
:
"DEOPTVIEW"
,
"viewmodule"
:
"HumanResource"
,
"viewname"
:
"HRTechnicalTitleV_002"
,
"viewfilename"
:
"hrtechnical-title-v-002"
,
"viewtag"
:
"df7e84808e509a1e80f47ab303d5f059"
,
"memo"
:
""
},
"hrfamilyeditview"
:
{
"hrfamilyeditview"
:
{
"title"
:
"家庭情况编辑视图"
,
"title"
:
"家庭情况编辑视图"
,
"caption"
:
"家庭情况"
,
"caption"
:
"家庭情况"
,
...
...
app_PIM/src/locale/lanres/entities/hrtechnical-title/hrtechnical-title_en_US.ts
浏览文件 @
456b33b5
...
@@ -36,13 +36,15 @@ export default {
...
@@ -36,13 +36,15 @@ export default {
caption
:
"职称信息"
,
caption
:
"职称信息"
,
title
:
"职称信息表格视图"
,
title
:
"职称信息表格视图"
,
},
},
v_002
:
{
caption
:
"职称信息"
,
title
:
"职称信息"
,
},
},
},
main_form
:
{
main_form
:
{
details
:
{
details
:
{
group1
:
"职称信息基本信息"
,
group1
:
"职称信息基本信息"
,
formpage1
:
"基本信息"
,
formpage1
:
"基本信息"
,
group2
:
"操作信息"
,
formpage2
:
"其它"
,
srfupdatedate
:
"更新时间"
,
srfupdatedate
:
"更新时间"
,
srforikey
:
""
,
srforikey
:
""
,
srfkey
:
"职称信息标识"
,
srfkey
:
"职称信息标识"
,
...
@@ -51,11 +53,18 @@ export default {
...
@@ -51,11 +53,18 @@ export default {
srfuf
:
""
,
srfuf
:
""
,
srfdeid
:
""
,
srfdeid
:
""
,
srfsourcekey
:
""
,
srfsourcekey
:
""
,
hremployeename
:
"员工姓名"
,
hrtechnicaltitlename
:
"职称名称"
,
hrtechnicaltitlename
:
"职称名称"
,
createman
:
"建立人"
,
titletime
:
"获取时间"
,
createdate
:
"建立时间"
,
certificatecode
:
"证书编号"
,
updateman
:
"更新人"
,
titlelevel
:
"职称等级"
,
updatedate
:
"更新时间"
,
majortype
:
"专业类别"
,
major
:
"专业名称"
,
authorganization
:
"签发机构"
,
validorganization
:
"评审机构"
,
hightitle
:
"最高职称"
,
attachment
:
"附件"
,
hremployeeid
:
"员工标识"
,
hrtechnicaltitleid
:
"职称信息标识"
,
hrtechnicaltitleid
:
"职称信息标识"
,
},
},
uiactions
:
{
uiactions
:
{
...
@@ -76,6 +85,10 @@ export default {
...
@@ -76,6 +85,10 @@ export default {
},
},
main_grid
:
{
main_grid
:
{
columns
:
{
columns
:
{
employeecode
:
"员工编号"
,
hremployeename
:
"员工姓名"
,
organizationname
:
"单位"
,
empstate
:
"员工状态"
,
hrtechnicaltitlename
:
"职称名称"
,
hrtechnicaltitlename
:
"职称名称"
,
titlelevel
:
"职称等级"
,
titlelevel
:
"职称等级"
,
majortype
:
"专业类别"
,
majortype
:
"专业类别"
,
...
...
app_PIM/src/locale/lanres/entities/hrtechnical-title/hrtechnical-title_zh_CN.ts
浏览文件 @
456b33b5
...
@@ -35,13 +35,15 @@ export default {
...
@@ -35,13 +35,15 @@ export default {
caption
:
"职称信息"
,
caption
:
"职称信息"
,
title
:
"职称信息表格视图"
,
title
:
"职称信息表格视图"
,
},
},
v_002
:
{
caption
:
"职称信息"
,
title
:
"职称信息"
,
},
},
},
main_form
:
{
main_form
:
{
details
:
{
details
:
{
group1
:
"职称信息基本信息"
,
group1
:
"职称信息基本信息"
,
formpage1
:
"基本信息"
,
formpage1
:
"基本信息"
,
group2
:
"操作信息"
,
formpage2
:
"其它"
,
srfupdatedate
:
"更新时间"
,
srfupdatedate
:
"更新时间"
,
srforikey
:
""
,
srforikey
:
""
,
srfkey
:
"职称信息标识"
,
srfkey
:
"职称信息标识"
,
...
@@ -50,11 +52,18 @@ export default {
...
@@ -50,11 +52,18 @@ export default {
srfuf
:
""
,
srfuf
:
""
,
srfdeid
:
""
,
srfdeid
:
""
,
srfsourcekey
:
""
,
srfsourcekey
:
""
,
hremployeename
:
"员工姓名"
,
hrtechnicaltitlename
:
"职称名称"
,
hrtechnicaltitlename
:
"职称名称"
,
createman
:
"建立人"
,
titletime
:
"获取时间"
,
createdate
:
"建立时间"
,
certificatecode
:
"证书编号"
,
updateman
:
"更新人"
,
titlelevel
:
"职称等级"
,
updatedate
:
"更新时间"
,
majortype
:
"专业类别"
,
major
:
"专业名称"
,
authorganization
:
"签发机构"
,
validorganization
:
"评审机构"
,
hightitle
:
"最高职称"
,
attachment
:
"附件"
,
hremployeeid
:
"员工标识"
,
hrtechnicaltitleid
:
"职称信息标识"
,
hrtechnicaltitleid
:
"职称信息标识"
,
},
},
uiactions
:
{
uiactions
:
{
...
@@ -75,6 +84,10 @@ export default {
...
@@ -75,6 +84,10 @@ export default {
},
},
main_grid
:
{
main_grid
:
{
columns
:
{
columns
:
{
employeecode
:
"员工编号"
,
hremployeename
:
"员工姓名"
,
organizationname
:
"单位"
,
empstate
:
"员工状态"
,
hrtechnicaltitlename
:
"职称名称"
,
hrtechnicaltitlename
:
"职称名称"
,
titlelevel
:
"职称等级"
,
titlelevel
:
"职称等级"
,
majortype
:
"专业类别"
,
majortype
:
"专业类别"
,
...
...
app_PIM/src/mock/viewconfig/viewconfig.ts
浏览文件 @
456b33b5
...
@@ -1007,6 +1007,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
...
@@ -1007,6 +1007,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname"
:
"HREmployeeV_005"
,
"viewname"
:
"HREmployeeV_005"
,
"viewtag"
:
"df641376a477230f2dac638fe717516a"
"viewtag"
:
"df641376a477230f2dac638fe717516a"
},
},
"hrtechnicaltitlev_002"
:
{
"title"
:
"职称信息"
,
"caption"
:
"职称信息"
,
"viewtype"
:
"DEOPTVIEW"
,
"viewmodule"
:
"HumanResource"
,
"viewname"
:
"HRTechnicalTitleV_002"
,
"viewtag"
:
"df7e84808e509a1e80f47ab303d5f059"
},
"hrfamilyeditview"
:
{
"hrfamilyeditview"
:
{
"title"
:
"家庭情况编辑视图"
,
"title"
:
"家庭情况编辑视图"
,
"caption"
:
"家庭情况"
,
"caption"
:
"家庭情况"
,
...
...
app_PIM/src/pages/human-resource/hrcertificate-grid-view/hrcertificate-grid-view-base.tsx
浏览文件 @
456b33b5
...
@@ -569,16 +569,28 @@ export class HRCertificateGridViewBase extends GridViewBase {
...
@@ -569,16 +569,28 @@ export class HRCertificateGridViewBase extends GridViewBase {
}
}
const
parameters
:
any
[]
=
[
const
parameters
:
any
[]
=
[
{
pathName
:
'hrcertificates'
,
parameterName
:
'hrcertificate'
},
{
pathName
:
'hrcertificates'
,
parameterName
:
'hrcertificate'
},
{
pathName
:
'editview'
,
parameterName
:
'editview'
},
];
];
const
_this
:
any
=
this
;
const
_this
:
any
=
this
;
const
openIndexViewTab
=
(
data
:
any
)
=>
{
const
openDrawer
=
(
view
:
any
,
data
:
any
)
=>
{
const
_data
:
any
=
{
w
:
(
new
Date
().
getTime
())
};
let
container
:
Subject
<
any
>
=
this
.
$appdrawer
.
openDrawer
(
view
,
tempContext
,
data
);
Object
.
assign
(
_data
,
data
);
container
.
subscribe
((
result
:
any
)
=>
{
const
routePath
=
this
.
$viewTool
.
buildUpRoutePath
(
this
.
$route
,
tempContext
,
deResParameters
,
parameters
,
args
,
_data
);
if
(
!
result
||
!
Object
.
is
(
result
.
ret
,
'OK'
))
{
this
.
$router
.
push
(
routePath
);
return
;
}
if
(
!
xData
||
!
(
xData
.
refresh
instanceof
Function
))
{
return
;
}
}
openIndexViewTab
(
data
);
xData
.
refresh
(
result
.
datas
);
});
}
const
view
:
any
=
{
viewname
:
'hrcertificate-v-002'
,
height
:
0
,
width
:
800
,
title
:
this
.
$t
(
'entities.hrcertificate.views.v_002.title'
),
placement
:
'DRAWER_RIGHT'
,
};
openDrawer
(
view
,
data
);
}
}
...
@@ -608,14 +620,28 @@ export class HRCertificateGridViewBase extends GridViewBase {
...
@@ -608,14 +620,28 @@ export class HRCertificateGridViewBase extends GridViewBase {
}
}
const
parameters
:
any
[]
=
[
const
parameters
:
any
[]
=
[
{
pathName
:
'hrcertificates'
,
parameterName
:
'hrcertificate'
},
{
pathName
:
'hrcertificates'
,
parameterName
:
'hrcertificate'
},
{
pathName
:
'editview'
,
parameterName
:
'editview'
},
];
];
const
_this
:
any
=
this
;
const
_this
:
any
=
this
;
const
openIndexViewTab
=
(
data
:
any
)
=>
{
const
openDrawer
=
(
view
:
any
,
data
:
any
)
=>
{
const
routePath
=
this
.
$viewTool
.
buildUpRoutePath
(
this
.
$route
,
tempContext
,
deResParameters
,
parameters
,
args
,
data
);
let
container
:
Subject
<
any
>
=
this
.
$appdrawer
.
openDrawer
(
view
,
tempContext
,
data
);
this
.
$router
.
push
(
routePath
);
container
.
subscribe
((
result
:
any
)
=>
{
if
(
!
result
||
!
Object
.
is
(
result
.
ret
,
'OK'
))
{
return
;
}
if
(
!
xData
||
!
(
xData
.
refresh
instanceof
Function
))
{
return
;
}
}
openIndexViewTab
(
data
);
xData
.
refresh
(
result
.
datas
);
});
}
const
view
:
any
=
{
viewname
:
'hrcertificate-v-002'
,
height
:
0
,
width
:
800
,
title
:
this
.
$t
(
'entities.hrcertificate.views.v_002.title'
),
placement
:
'DRAWER_RIGHT'
,
};
openDrawer
(
view
,
data
);
}
}
...
...
app_PIM/src/pages/human-resource/hrcertificate-v-002/hrcertificate-v-002-base.tsx
0 → 100644
浏览文件 @
456b33b5
import
{
Subject
}
from
'rxjs'
;
import
{
OptionViewBase
}
from
'@/studio-core'
;
import
HRCertificateService
from
'@/service/hrcertificate/hrcertificate-service'
;
import
HRCertificateAuthService
from
'@/authservice/hrcertificate/hrcertificate-auth-service'
;
import
OptionViewEngine
from
'@engine/view/option-view-engine'
;
import
HRCertificateUIService
from
'@/uiservice/hrcertificate/hrcertificate-ui-service'
;
/**
* 证书信息视图基类
*
* @export
* @class HRCertificateV_002Base
* @extends {OptionViewBase}
*/
export
class
HRCertificateV_002Base
extends
OptionViewBase
{
/**
* 视图对应应用实体名称
*
* @protected
* @type {string}
* @memberof HRCertificateV_002Base
*/
protected
appDeName
:
string
=
'hrcertificate'
;
/**
* 应用实体主键
*
* @protected
* @type {string}
* @memberof HRCertificateV_002Base
*/
protected
appDeKey
:
string
=
'hrcertificateid'
;
/**
* 应用实体主信息
*
* @protected
* @type {string}
* @memberof HRCertificateV_002Base
*/
protected
appDeMajor
:
string
=
'hrcertificatename'
;
/**
* 实体服务对象
*
* @type {HRCertificateService}
* @memberof HRCertificateV_002Base
*/
protected
appEntityService
:
HRCertificateService
=
new
HRCertificateService
;
/**
* 实体权限服务对象
*
* @type HRCertificateUIService
* @memberof HRCertificateV_002Base
*/
public
appUIService
:
HRCertificateUIService
=
new
HRCertificateUIService
(
this
.
$store
);
/**
* 计数器服务对象集合
*
* @protected
* @type {Array<*>}
* @memberof HRCertificateV_002Base
*/
protected
counterServiceArray
:
Array
<
any
>
=
[];
/**
* 视图模型数据
*
* @protected
* @type {*}
* @memberof HRCertificateV_002Base
*/
protected
model
:
any
=
{
srfCaption
:
'entities.hrcertificate.views.v_002.caption'
,
srfTitle
:
'entities.hrcertificate.views.v_002.title'
,
srfSubTitle
:
'entities.hrcertificate.views.v_002.subtitle'
,
dataInfo
:
''
}
/**
* 容器模型
*
* @protected
* @type {*}
* @memberof HRCertificateV_002Base
*/
protected
containerModel
:
any
=
{
view_form
:
{
name
:
'form'
,
type
:
'FORM'
},
view_okbtn
:
{
name
:
'okbtn'
,
type
:
'button'
,
text
:
'确定'
,
disabled
:
true
},
view_cancelbtn
:
{
name
:
'cancelbtn'
,
type
:
'button'
,
text
:
'取消'
,
disabled
:
false
},
view_leftbtn
:
{
name
:
'leftbtn'
,
type
:
'button'
,
text
:
'左移'
,
disabled
:
true
},
view_rightbtn
:
{
name
:
'rightbtn'
,
type
:
'button'
,
text
:
'右移'
,
disabled
:
true
},
view_allleftbtn
:
{
name
:
'allleftbtn'
,
type
:
'button'
,
text
:
'全部左移'
,
disabled
:
true
},
view_allrightbtn
:
{
name
:
'allrightbtn'
,
type
:
'button'
,
text
:
'全部右移'
,
disabled
:
true
},
};
/**
* 视图唯一标识
*
* @protected
* @type {string}
* @memberof ViewBase
*/
protected
viewtag
:
string
=
'57dbe1035c2366090a02ceb7c8269ebb'
;
/**
* 视图引擎
*
* @public
* @type {Engine}
* @memberof HRCertificateV_002Base
*/
public
engine
:
OptionViewEngine
=
new
OptionViewEngine
();
/**
* 引擎初始化
*
* @public
* @memberof HRCertificateV_002Base
*/
public
engineInit
():
void
{
this
.
engine
.
init
({
view
:
this
,
form
:
this
.
$refs
.
form
,
p2k
:
'0'
,
keyPSDEField
:
'hrcertificate'
,
majorPSDEField
:
'hrcertificatename'
,
isLoadDefault
:
true
,
});
}
/**
* form 部件 save 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof HRCertificateV_002Base
*/
public
form_save
(
$event
:
any
,
$event2
?:
any
):
void
{
this
.
engine
.
onCtrlEvent
(
'form'
,
'save'
,
$event
);
}
/**
* form 部件 remove 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof HRCertificateV_002Base
*/
public
form_remove
(
$event
:
any
,
$event2
?:
any
):
void
{
this
.
engine
.
onCtrlEvent
(
'form'
,
'remove'
,
$event
);
}
/**
* form 部件 load 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof HRCertificateV_002Base
*/
public
form_load
(
$event
:
any
,
$event2
?:
any
):
void
{
this
.
engine
.
onCtrlEvent
(
'form'
,
'load'
,
$event
);
}
}
\ No newline at end of file
app_PIM/src/pages/human-resource/hrcertificate-v-002/hrcertificate-v-002.html
0 → 100644
浏览文件 @
456b33b5
<studio-view-style2
viewName=
"hrcertificatev_002"
viewTitle=
"证书信息"
class=
'deoptview hrcertificate-v-002'
>
<template
slot=
'title'
>
<span
class=
'caption-info'
>
{{viewCaption}}
</span>
</template>
<view
_form
:viewState=
"viewState"
:viewparams=
"viewparams"
:context=
"context"
:autosave=
"false"
:viewtag=
"viewtag"
:showBusyIndicator=
"true"
updateAction=
"Update"
removeAction=
"Remove"
loaddraftAction=
"GetDraft"
loadAction=
"Get"
createAction=
"Create"
WFSubmitAction=
""
WFStartAction=
""
style=
''
name=
"form"
ref=
'form'
@
save=
"form_save($event)"
@
remove=
"form_remove($event)"
@
load=
"form_load($event)"
@
closeview=
"closeView($event)"
>
</view
_form
>
<template
slot=
"footer"
>
<div
class=
"option-view-footer-actions"
>
<i-button
type=
'primary'
@
click=
"onClickOk.apply(_self, arguments)"
>
{{ containerModel.view_okbtn.text }}
</i-button>
<i-button
@
click=
"onClickCancel.apply(_self, arguments)"
>
{{ containerModel.view_cancelbtn.text }}
</i-button>
</div>
</template>
</studio-view-style2>
\ No newline at end of file
app_PIM/src/pages/human-resource/hrcertificate-v-002/hrcertificate-v-002.vue
0 → 100644
浏览文件 @
456b33b5
<
template
src=
"./hrcertificate-v-002.html"
/>
<script
lang=
'tsx'
>
import
{ Component } from 'vue-property-decorator';
import { VueLifeCycleProcessing } from '@/studio-core';
import { HRCertificateV_002Base } from './hrcertificate-v-002-base';
import view_form from '@widgets/hrcertificate/main-form/main-form.vue';
/**
* 证书信息视图
*
* @export
* @class HRCertificateV_002
* @extends {HRCertificateV_002Base}
*/
@Component({
components: {
view_form,
}
})
@VueLifeCycleProcessing()
export default class HRCertificateV_002 extends HRCertificateV_002Base { }
</script>
app_PIM/src/pages/human-resource/hrtechnical-title-grid-view/hrtechnical-title-grid-view-base.tsx
浏览文件 @
456b33b5
...
@@ -569,16 +569,28 @@ export class HRTechnicalTitleGridViewBase extends GridViewBase {
...
@@ -569,16 +569,28 @@ export class HRTechnicalTitleGridViewBase extends GridViewBase {
}
}
const
parameters
:
any
[]
=
[
const
parameters
:
any
[]
=
[
{
pathName
:
'hrtechnicaltitles'
,
parameterName
:
'hrtechnicaltitle'
},
{
pathName
:
'hrtechnicaltitles'
,
parameterName
:
'hrtechnicaltitle'
},
{
pathName
:
'editview'
,
parameterName
:
'editview'
},
];
];
const
_this
:
any
=
this
;
const
_this
:
any
=
this
;
const
openIndexViewTab
=
(
data
:
any
)
=>
{
const
openDrawer
=
(
view
:
any
,
data
:
any
)
=>
{
const
_data
:
any
=
{
w
:
(
new
Date
().
getTime
())
};
let
container
:
Subject
<
any
>
=
this
.
$appdrawer
.
openDrawer
(
view
,
tempContext
,
data
);
Object
.
assign
(
_data
,
data
);
container
.
subscribe
((
result
:
any
)
=>
{
const
routePath
=
this
.
$viewTool
.
buildUpRoutePath
(
this
.
$route
,
tempContext
,
deResParameters
,
parameters
,
args
,
_data
);
if
(
!
result
||
!
Object
.
is
(
result
.
ret
,
'OK'
))
{
this
.
$router
.
push
(
routePath
);
return
;
}
if
(
!
xData
||
!
(
xData
.
refresh
instanceof
Function
))
{
return
;
}
}
openIndexViewTab
(
data
);
xData
.
refresh
(
result
.
datas
);
});
}
const
view
:
any
=
{
viewname
:
'hrtechnical-title-v-002'
,
height
:
0
,
width
:
600
,
title
:
this
.
$t
(
'entities.hrtechnicaltitle.views.v_002.title'
),
placement
:
'DRAWER_RIGHT'
,
};
openDrawer
(
view
,
data
);
}
}
...
@@ -608,14 +620,28 @@ export class HRTechnicalTitleGridViewBase extends GridViewBase {
...
@@ -608,14 +620,28 @@ export class HRTechnicalTitleGridViewBase extends GridViewBase {
}
}
const
parameters
:
any
[]
=
[
const
parameters
:
any
[]
=
[
{
pathName
:
'hrtechnicaltitles'
,
parameterName
:
'hrtechnicaltitle'
},
{
pathName
:
'hrtechnicaltitles'
,
parameterName
:
'hrtechnicaltitle'
},
{
pathName
:
'editview'
,
parameterName
:
'editview'
},
];
];
const
_this
:
any
=
this
;
const
_this
:
any
=
this
;
const
openIndexViewTab
=
(
data
:
any
)
=>
{
const
openDrawer
=
(
view
:
any
,
data
:
any
)
=>
{
const
routePath
=
this
.
$viewTool
.
buildUpRoutePath
(
this
.
$route
,
tempContext
,
deResParameters
,
parameters
,
args
,
data
);
let
container
:
Subject
<
any
>
=
this
.
$appdrawer
.
openDrawer
(
view
,
tempContext
,
data
);
this
.
$router
.
push
(
routePath
);
container
.
subscribe
((
result
:
any
)
=>
{
if
(
!
result
||
!
Object
.
is
(
result
.
ret
,
'OK'
))
{
return
;
}
if
(
!
xData
||
!
(
xData
.
refresh
instanceof
Function
))
{
return
;
}
}
openIndexViewTab
(
data
);
xData
.
refresh
(
result
.
datas
);
});
}
const
view
:
any
=
{
viewname
:
'hrtechnical-title-v-002'
,
height
:
0
,
width
:
600
,
title
:
this
.
$t
(
'entities.hrtechnicaltitle.views.v_002.title'
),
placement
:
'DRAWER_RIGHT'
,
};
openDrawer
(
view
,
data
);
}
}
...
...
app_PIM/src/pages/human-resource/hrtechnical-title-v-002/hrtechnical-title-v-002-base.tsx
0 → 100644
浏览文件 @
456b33b5
import
{
Subject
}
from
'rxjs'
;
import
{
OptionViewBase
}
from
'@/studio-core'
;
import
HRTechnicalTitleService
from
'@/service/hrtechnical-title/hrtechnical-title-service'
;
import
HRTechnicalTitleAuthService
from
'@/authservice/hrtechnical-title/hrtechnical-title-auth-service'
;
import
OptionViewEngine
from
'@engine/view/option-view-engine'
;
import
HRTechnicalTitleUIService
from
'@/uiservice/hrtechnical-title/hrtechnical-title-ui-service'
;
/**
* 职称信息视图基类
*
* @export
* @class HRTechnicalTitleV_002Base
* @extends {OptionViewBase}
*/
export
class
HRTechnicalTitleV_002Base
extends
OptionViewBase
{
/**
* 视图对应应用实体名称
*
* @protected
* @type {string}
* @memberof HRTechnicalTitleV_002Base
*/
protected
appDeName
:
string
=
'hrtechnicaltitle'
;
/**
* 应用实体主键
*
* @protected
* @type {string}
* @memberof HRTechnicalTitleV_002Base
*/
protected
appDeKey
:
string
=
'hrtechnicaltitleid'
;
/**
* 应用实体主信息
*
* @protected
* @type {string}
* @memberof HRTechnicalTitleV_002Base
*/
protected
appDeMajor
:
string
=
'hrtechnicaltitlename'
;
/**
* 实体服务对象
*
* @type {HRTechnicalTitleService}
* @memberof HRTechnicalTitleV_002Base
*/
protected
appEntityService
:
HRTechnicalTitleService
=
new
HRTechnicalTitleService
;
/**
* 实体权限服务对象
*
* @type HRTechnicalTitleUIService
* @memberof HRTechnicalTitleV_002Base
*/
public
appUIService
:
HRTechnicalTitleUIService
=
new
HRTechnicalTitleUIService
(
this
.
$store
);
/**
* 计数器服务对象集合
*
* @protected
* @type {Array<*>}
* @memberof HRTechnicalTitleV_002Base
*/
protected
counterServiceArray
:
Array
<
any
>
=
[];
/**
* 视图模型数据
*
* @protected
* @type {*}
* @memberof HRTechnicalTitleV_002Base
*/
protected
model
:
any
=
{
srfCaption
:
'entities.hrtechnicaltitle.views.v_002.caption'
,
srfTitle
:
'entities.hrtechnicaltitle.views.v_002.title'
,
srfSubTitle
:
'entities.hrtechnicaltitle.views.v_002.subtitle'
,
dataInfo
:
''
}
/**
* 容器模型
*
* @protected
* @type {*}
* @memberof HRTechnicalTitleV_002Base
*/
protected
containerModel
:
any
=
{
view_form
:
{
name
:
'form'
,
type
:
'FORM'
},
view_okbtn
:
{
name
:
'okbtn'
,
type
:
'button'
,
text
:
'确定'
,
disabled
:
true
},
view_cancelbtn
:
{
name
:
'cancelbtn'
,
type
:
'button'
,
text
:
'取消'
,
disabled
:
false
},
view_leftbtn
:
{
name
:
'leftbtn'
,
type
:
'button'
,
text
:
'左移'
,
disabled
:
true
},
view_rightbtn
:
{
name
:
'rightbtn'
,
type
:
'button'
,
text
:
'右移'
,
disabled
:
true
},
view_allleftbtn
:
{
name
:
'allleftbtn'
,
type
:
'button'
,
text
:
'全部左移'
,
disabled
:
true
},
view_allrightbtn
:
{
name
:
'allrightbtn'
,
type
:
'button'
,
text
:
'全部右移'
,
disabled
:
true
},
};
/**
* 视图唯一标识
*
* @protected
* @type {string}
* @memberof ViewBase
*/
protected
viewtag
:
string
=
'df7e84808e509a1e80f47ab303d5f059'
;
/**
* 视图引擎
*
* @public
* @type {Engine}
* @memberof HRTechnicalTitleV_002Base
*/
public
engine
:
OptionViewEngine
=
new
OptionViewEngine
();
/**
* 引擎初始化
*
* @public
* @memberof HRTechnicalTitleV_002Base
*/
public
engineInit
():
void
{
this
.
engine
.
init
({
view
:
this
,
form
:
this
.
$refs
.
form
,
p2k
:
'0'
,
keyPSDEField
:
'hrtechnicaltitle'
,
majorPSDEField
:
'hrtechnicaltitlename'
,
isLoadDefault
:
true
,
});
}
/**
* form 部件 save 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof HRTechnicalTitleV_002Base
*/
public
form_save
(
$event
:
any
,
$event2
?:
any
):
void
{
this
.
engine
.
onCtrlEvent
(
'form'
,
'save'
,
$event
);
}
/**
* form 部件 remove 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof HRTechnicalTitleV_002Base
*/
public
form_remove
(
$event
:
any
,
$event2
?:
any
):
void
{
this
.
engine
.
onCtrlEvent
(
'form'
,
'remove'
,
$event
);
}
/**
* form 部件 load 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof HRTechnicalTitleV_002Base
*/
public
form_load
(
$event
:
any
,
$event2
?:
any
):
void
{
this
.
engine
.
onCtrlEvent
(
'form'
,
'load'
,
$event
);
}
}
\ No newline at end of file
app_PIM/src/pages/human-resource/hrtechnical-title-v-002/hrtechnical-title-v-002.html
0 → 100644
浏览文件 @
456b33b5
<studio-view-style2
viewName=
"hrtechnicaltitlev_002"
viewTitle=
"职称信息"
class=
'deoptview hrtechnical-title-v-002'
>
<template
slot=
'title'
>
<span
class=
'caption-info'
>
{{viewCaption}}
</span>
</template>
<view
_form
:viewState=
"viewState"
:viewparams=
"viewparams"
:context=
"context"
:autosave=
"false"
:viewtag=
"viewtag"
:showBusyIndicator=
"true"
updateAction=
"Update"
removeAction=
"Remove"
loaddraftAction=
"GetDraft"
loadAction=
"Get"
createAction=
"Create"
WFSubmitAction=
""
WFStartAction=
""
style=
''
name=
"form"
ref=
'form'
@
save=
"form_save($event)"
@
remove=
"form_remove($event)"
@
load=
"form_load($event)"
@
closeview=
"closeView($event)"
>
</view
_form
>
<template
slot=
"footer"
>
<div
class=
"option-view-footer-actions"
>
<i-button
type=
'primary'
@
click=
"onClickOk.apply(_self, arguments)"
>
{{ containerModel.view_okbtn.text }}
</i-button>
<i-button
@
click=
"onClickCancel.apply(_self, arguments)"
>
{{ containerModel.view_cancelbtn.text }}
</i-button>
</div>
</template>
</studio-view-style2>
\ No newline at end of file
app_PIM/src/pages/human-resource/hrtechnical-title-v-002/hrtechnical-title-v-002.vue
0 → 100644
浏览文件 @
456b33b5
<
template
src=
"./hrtechnical-title-v-002.html"
/>
<script
lang=
'tsx'
>
import
{ Component } from 'vue-property-decorator';
import { VueLifeCycleProcessing } from '@/studio-core';
import { HRTechnicalTitleV_002Base } from './hrtechnical-title-v-002-base';
import view_form from '@widgets/hrtechnical-title/main-form/main-form.vue';
/**
* 职称信息视图
*
* @export
* @class HRTechnicalTitleV_002
* @extends {HRTechnicalTitleV_002Base}
*/
@Component({
components: {
view_form,
}
})
@VueLifeCycleProcessing()
export default class HRTechnicalTitleV_002 extends HRTechnicalTitleV_002Base { }
</script>
app_PIM/src/pages/ungroup/pim/page-register.ts
浏览文件 @
456b33b5
...
@@ -9,9 +9,11 @@ export const PageComponents = {
...
@@ -9,9 +9,11 @@ export const PageComponents = {
Vue
.
component
(
'hrlanguage-ability-edit-view'
,
()
=>
import
(
'@pages/human-resource/hrlanguage-ability-edit-view/hrlanguage-ability-edit-view.vue'
));
Vue
.
component
(
'hrlanguage-ability-edit-view'
,
()
=>
import
(
'@pages/human-resource/hrlanguage-ability-edit-view/hrlanguage-ability-edit-view.vue'
));
Vue
.
component
(
'hrtechnical-title-v-001'
,
()
=>
import
(
'@pages/human-resource/hrtechnical-title-v-001/hrtechnical-title-v-001.vue'
));
Vue
.
component
(
'hrtechnical-title-v-001'
,
()
=>
import
(
'@pages/human-resource/hrtechnical-title-v-001/hrtechnical-title-v-001.vue'
));
Vue
.
component
(
'hroperation-unit-v-001'
,
()
=>
import
(
'@pages/base/hroperation-unit-v-001/hroperation-unit-v-001.vue'
));
Vue
.
component
(
'hroperation-unit-v-001'
,
()
=>
import
(
'@pages/base/hroperation-unit-v-001/hroperation-unit-v-001.vue'
));
Vue
.
component
(
'hrcertificate-v-002'
,
()
=>
import
(
'@pages/human-resource/hrcertificate-v-002/hrcertificate-v-002.vue'
));
Vue
.
component
(
'hrduty-pickup-grid-view'
,
()
=>
import
(
'@pages/human-resource/hrduty-pickup-grid-view/hrduty-pickup-grid-view.vue'
));
Vue
.
component
(
'hrduty-pickup-grid-view'
,
()
=>
import
(
'@pages/human-resource/hrduty-pickup-grid-view/hrduty-pickup-grid-view.vue'
));
Vue
.
component
(
'hrcontract-v-003'
,
()
=>
import
(
'@pages/human-resource/hrcontract-v-003/hrcontract-v-003.vue'
));
Vue
.
component
(
'hrcontract-v-003'
,
()
=>
import
(
'@pages/human-resource/hrcontract-v-003/hrcontract-v-003.vue'
));
Vue
.
component
(
'hroperation-unit-v-002'
,
()
=>
import
(
'@pages/base/hroperation-unit-v-002/hroperation-unit-v-002.vue'
));
Vue
.
component
(
'hroperation-unit-v-002'
,
()
=>
import
(
'@pages/base/hroperation-unit-v-002/hroperation-unit-v-002.vue'
));
Vue
.
component
(
'hrtechnical-title-v-002'
,
()
=>
import
(
'@pages/human-resource/hrtechnical-title-v-002/hrtechnical-title-v-002.vue'
));
Vue
.
component
(
'hrpost-rel-v-002'
,
()
=>
import
(
'@pages/human-resource/hrpost-rel-v-002/hrpost-rel-v-002.vue'
));
Vue
.
component
(
'hrpost-rel-v-002'
,
()
=>
import
(
'@pages/human-resource/hrpost-rel-v-002/hrpost-rel-v-002.vue'
));
Vue
.
component
(
'hremployee-pickup-grid-view'
,
()
=>
import
(
'@pages/human-resource/hremployee-pickup-grid-view/hremployee-pickup-grid-view.vue'
));
Vue
.
component
(
'hremployee-pickup-grid-view'
,
()
=>
import
(
'@pages/human-resource/hremployee-pickup-grid-view/hremployee-pickup-grid-view.vue'
));
Vue
.
component
(
'hrcontract-grid-view'
,
()
=>
import
(
'@pages/human-resource/hrcontract-grid-view/hrcontract-grid-view.vue'
));
Vue
.
component
(
'hrcontract-grid-view'
,
()
=>
import
(
'@pages/human-resource/hrcontract-grid-view/hrcontract-grid-view.vue'
));
...
...
app_PIM/src/pages/ungroup/pim/router.ts
浏览文件 @
456b33b5
...
@@ -244,6 +244,35 @@ const router = new Router({
...
@@ -244,6 +244,35 @@ const router = new Router({
},
},
component
:
()
=>
import
(
'@pages/base/hroperation-unit-v-001/hroperation-unit-v-001.vue'
),
component
:
()
=>
import
(
'@pages/base/hroperation-unit-v-001/hroperation-unit-v-001.vue'
),
},
},
{
path
:
'hremployees/:hremployee?/hrcertificates/:hrcertificate?/v_002/:v_002?'
,
meta
:
{
caption
:
'entities.hrcertificate.views.v_002.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'pim'
,
parameterName
:
'pim'
},
{
pathName
:
'hremployees'
,
parameterName
:
'hremployee'
},
{
pathName
:
'hrcertificates'
,
parameterName
:
'hrcertificate'
},
{
pathName
:
'v_002'
,
parameterName
:
'v_002'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/human-resource/hrcertificate-v-002/hrcertificate-v-002.vue'
),
},
{
path
:
'hrcertificates/:hrcertificate?/v_002/:v_002?'
,
meta
:
{
caption
:
'entities.hrcertificate.views.v_002.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'pim'
,
parameterName
:
'pim'
},
{
pathName
:
'hrcertificates'
,
parameterName
:
'hrcertificate'
},
{
pathName
:
'v_002'
,
parameterName
:
'v_002'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/human-resource/hrcertificate-v-002/hrcertificate-v-002.vue'
),
},
{
{
path
:
'hrduties/:hrduty?/pickupgridview/:pickupgridview?'
,
path
:
'hrduties/:hrduty?/pickupgridview/:pickupgridview?'
,
meta
:
{
meta
:
{
...
@@ -301,6 +330,35 @@ const router = new Router({
...
@@ -301,6 +330,35 @@ const router = new Router({
},
},
component
:
()
=>
import
(
'@pages/base/hroperation-unit-v-002/hroperation-unit-v-002.vue'
),
component
:
()
=>
import
(
'@pages/base/hroperation-unit-v-002/hroperation-unit-v-002.vue'
),
},
},
{
path
:
'hremployees/:hremployee?/hrtechnicaltitles/:hrtechnicaltitle?/v_002/:v_002?'
,
meta
:
{
caption
:
'entities.hrtechnicaltitle.views.v_002.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'pim'
,
parameterName
:
'pim'
},
{
pathName
:
'hremployees'
,
parameterName
:
'hremployee'
},
{
pathName
:
'hrtechnicaltitles'
,
parameterName
:
'hrtechnicaltitle'
},
{
pathName
:
'v_002'
,
parameterName
:
'v_002'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/human-resource/hrtechnical-title-v-002/hrtechnical-title-v-002.vue'
),
},
{
path
:
'hrtechnicaltitles/:hrtechnicaltitle?/v_002/:v_002?'
,
meta
:
{
caption
:
'entities.hrtechnicaltitle.views.v_002.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'pim'
,
parameterName
:
'pim'
},
{
pathName
:
'hrtechnicaltitles'
,
parameterName
:
'hrtechnicaltitle'
},
{
pathName
:
'v_002'
,
parameterName
:
'v_002'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/human-resource/hrtechnical-title-v-002/hrtechnical-title-v-002.vue'
),
},
{
{
path
:
'hrposts/:hrpost?/hrpostrels/:hrpostrel?/v_002/:v_002?'
,
path
:
'hrposts/:hrpost?/hrpostrels/:hrpostrel?/v_002/:v_002?'
,
meta
:
{
meta
:
{
...
...
app_PIM/src/store/modules/view-action/state.ts
浏览文件 @
456b33b5
...
@@ -415,6 +415,7 @@ export const viewstate: any = {
...
@@ -415,6 +415,7 @@ export const viewstate: any = {
viewaction
:
''
,
viewaction
:
''
,
viewdatachange
:
false
,
viewdatachange
:
false
,
refviews
:
[
refviews
:
[
'ec9d9fe37bbfc3fcb623e2dc34b48dbc'
,
],
],
},
},
{
{
...
@@ -477,6 +478,17 @@ export const viewstate: any = {
...
@@ -477,6 +478,17 @@ export const viewstate: any = {
'069985244f19f8c6f8e74e39ef573e9a'
,
'069985244f19f8c6f8e74e39ef573e9a'
,
],
],
},
},
{
viewtag
:
'57dbe1035c2366090a02ceb7c8269ebb'
,
viewmodule
:
'HumanResource'
,
viewname
:
'HRCertificateV_002'
,
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
'ec9d9fe37bbfc3fcb623e2dc34b48dbc'
,
'e7ba37699bd458dc8dd5c02abac8dadd'
,
],
},
{
{
viewtag
:
'5a233f63f736e87b700460e378650f45'
,
viewtag
:
'5a233f63f736e87b700460e378650f45'
,
viewmodule
:
'Pcm'
,
viewmodule
:
'Pcm'
,
...
@@ -534,7 +546,7 @@ export const viewstate: any = {
...
@@ -534,7 +546,7 @@ export const viewstate: any = {
viewaction
:
''
,
viewaction
:
''
,
viewdatachange
:
false
,
viewdatachange
:
false
,
refviews
:
[
refviews
:
[
'
ea230b5b872ed3d5cba7daa284278299
'
,
'
57dbe1035c2366090a02ceb7c8269ebb
'
,
],
],
},
},
{
{
...
@@ -1186,7 +1198,7 @@ export const viewstate: any = {
...
@@ -1186,7 +1198,7 @@ export const viewstate: any = {
viewaction
:
''
,
viewaction
:
''
,
viewdatachange
:
false
,
viewdatachange
:
false
,
refviews
:
[
refviews
:
[
'
4b8327f8aa5091583a16b09a241c8866
'
,
'
df7e84808e509a1e80f47ab303d5f059
'
,
],
],
},
},
{
{
...
@@ -1219,6 +1231,16 @@ export const viewstate: any = {
...
@@ -1219,6 +1231,16 @@ export const viewstate: any = {
'1fda62030d6149cb5ee6f088bc4f0aa7'
,
'1fda62030d6149cb5ee6f088bc4f0aa7'
,
],
],
},
},
{
viewtag
:
'df7e84808e509a1e80f47ab303d5f059'
,
viewmodule
:
'HumanResource'
,
viewname
:
'HRTechnicalTitleV_002'
,
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
'ec9d9fe37bbfc3fcb623e2dc34b48dbc'
,
],
},
{
{
viewtag
:
'e09349c39faf8e8dbe63ac7be3aaa781'
,
viewtag
:
'e09349c39faf8e8dbe63ac7be3aaa781'
,
viewmodule
:
'HumanResource'
,
viewmodule
:
'HumanResource'
,
...
...
app_PIM/src/uiservice/hrtechnical-title/hrtechnical-title-ui-service-base.ts
浏览文件 @
456b33b5
...
@@ -92,6 +92,7 @@ export default class HRTechnicalTitleUIServiceBase extends UIService {
...
@@ -92,6 +92,7 @@ export default class HRTechnicalTitleUIServiceBase extends UIService {
this
.
allViewMap
.
set
(
'EDITVIEW:'
,{
viewname
:
'editview'
,
srfappde
:
'hrtechnicaltitles'
});
this
.
allViewMap
.
set
(
'EDITVIEW:'
,{
viewname
:
'editview'
,
srfappde
:
'hrtechnicaltitles'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'v_001'
,
srfappde
:
'hrtechnicaltitles'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'v_001'
,
srfappde
:
'hrtechnicaltitles'
});
this
.
allViewMap
.
set
(
'MDATAVIEW:'
,{
viewname
:
'gridview'
,
srfappde
:
'hrtechnicaltitles'
});
this
.
allViewMap
.
set
(
'MDATAVIEW:'
,{
viewname
:
'gridview'
,
srfappde
:
'hrtechnicaltitles'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'v_002'
,
srfappde
:
'hrtechnicaltitles'
});
}
}
/**
/**
...
...
app_PIM/src/widgets/hrcertificate/main-grid/main-grid-base.tsx
浏览文件 @
456b33b5
...
@@ -259,6 +259,14 @@ export class MainGridBase extends GridControlBase {
...
@@ -259,6 +259,14 @@ export class MainGridBase extends GridControlBase {
*/
*/
public
async
formatExcelData
(
filterVal
:
any
,
jsonData
:
any
,
codelistColumns
?:
any
[]):
Promise
<
any
>
{
public
async
formatExcelData
(
filterVal
:
any
,
jsonData
:
any
,
codelistColumns
?:
any
[]):
Promise
<
any
>
{
return
super
.
formatExcelData
(
filterVal
,
jsonData
,
[
return
super
.
formatExcelData
(
filterVal
,
jsonData
,
[
{
name
:
'empstate'
,
srfkey
:
'CL_HR_0016'
,
codelistType
:
'DYNAMIC'
,
renderMode
:
'other'
,
textSeparator
:
'、'
,
valueSeparator
:
','
,
},
]);
]);
}
}
...
...
app_PIM/src/widgets/hrcertificate/main-grid/main-grid-model.ts
浏览文件 @
456b33b5
...
@@ -39,7 +39,7 @@ export default class MainModel {
...
@@ -39,7 +39,7 @@ export default class MainModel {
{
{
name
:
'empstate'
,
name
:
'empstate'
,
prop
:
'empstate'
,
prop
:
'empstate'
,
dataType
:
'
TEXT
'
,
dataType
:
'
PICKUPDATA
'
,
},
},
{
{
name
:
'registertime'
,
name
:
'registertime'
,
...
...
app_PIM/src/widgets/hrcertificate/main-grid/main-grid.html
浏览文件 @
456b33b5
...
@@ -67,7 +67,9 @@
...
@@ -67,7 +67,9 @@
</span>
</span>
</template>
</template>
<template
v-slot=
"{row,column,$index}"
>
<template
v-slot=
"{row,column,$index}"
>
<span>
{{row.empstate}}
</span>
<template
>
<codelist
:value=
"row.empstate"
tag=
'CL_HR_0016'
codelistType=
'DYNAMIC'
></codelist>
</template>
</template>
</template>
</el-table-column>
</el-table-column>
</template>
</template>
...
...
app_PIM/src/widgets/hrtechnical-title/main-form/main-form-base.tsx
浏览文件 @
456b33b5
...
@@ -82,11 +82,18 @@ export class MainEditFormBase extends EditFormControlBase {
...
@@ -82,11 +82,18 @@ export class MainEditFormBase extends EditFormControlBase {
srfuf
:
null
,
srfuf
:
null
,
srfdeid
:
null
,
srfdeid
:
null
,
srfsourcekey
:
null
,
srfsourcekey
:
null
,
hremployeename
:
null
,
hrtechnicaltitlename
:
null
,
hrtechnicaltitlename
:
null
,
createman
:
null
,
titletime
:
null
,
createdate
:
null
,
certificatecode
:
null
,
updateman
:
null
,
titlelevel
:
null
,
updatedate
:
null
,
majortype
:
null
,
major
:
null
,
authorganization
:
null
,
validorganization
:
null
,
hightitle
:
null
,
attachment
:
null
,
hremployeeid
:
null
,
hrtechnicaltitleid
:
null
,
hrtechnicaltitleid
:
null
,
hrtechnicaltitle
:
null
,
hrtechnicaltitle
:
null
,
};
};
...
@@ -116,14 +123,10 @@ export class MainEditFormBase extends EditFormControlBase {
...
@@ -116,14 +123,10 @@ export class MainEditFormBase extends EditFormControlBase {
* @memberof MainEditFormBase
* @memberof MainEditFormBase
*/
*/
public
detailsModel
:
any
=
{
public
detailsModel
:
any
=
{
group1
:
new
FormGroupPanelModel
({
caption
:
'职称信息基本信息'
,
detailType
:
'GROUPPANEL'
,
name
:
'group1'
,
visible
:
true
,
isShowCaption
:
tru
e
,
form
:
this
,
showMoreMode
:
0
,
uiActionGroup
:
{
caption
:
''
,
langbase
:
'entities.hrtechnicaltitle.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.hrtechnicaltitle.main_form'
,
extractMode
:
'ITEM'
,
details
:
[]
}
}),
formpage1
:
new
FormPageModel
({
caption
:
'基本信息'
,
detailType
:
'FORMPAGE'
,
name
:
'formpage1'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
}),
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.hrtechnicaltitle.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
}),
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
}),
srforikey
:
new
FormItemModel
({
caption
:
''
,
detailType
:
'FORMITEM'
,
name
:
'srforikey'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
...
@@ -140,18 +143,31 @@ export class MainEditFormBase extends EditFormControlBase {
...
@@ -140,18 +143,31 @@ 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
}),
srfsourcekey
:
new
FormItemModel
({
caption
:
''
,
detailType
:
'FORMITEM'
,
name
:
'srfsourcekey'
,
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
}),
hrtechnicaltitlename
:
new
FormItemModel
({
caption
:
'职称名称'
,
detailType
:
'FORMITEM'
,
name
:
'hrtechnicaltitlename'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
hrtechnicaltitlename
:
new
FormItemModel
({
caption
:
'职称名称'
,
detailType
:
'FORMITEM'
,
name
:
'hrtechnicaltitlename'
,
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
}),
titletime
:
new
FormItemModel
({
caption
:
'获取时间'
,
detailType
:
'FORMITEM'
,
name
:
'titletime'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
certificatecode
:
new
FormItemModel
({
caption
:
'证书编号'
,
detailType
:
'FORMITEM'
,
name
:
'certificatecode'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
titlelevel
:
new
FormItemModel
({
caption
:
'职称等级'
,
detailType
:
'FORMITEM'
,
name
:
'titlelevel'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
majortype
:
new
FormItemModel
({
caption
:
'专业类别'
,
detailType
:
'FORMITEM'
,
name
:
'majortype'
,
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
}),
authorganization
:
new
FormItemModel
({
caption
:
'签发机构'
,
detailType
:
'FORMITEM'
,
name
:
'authorganization'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
validorganization
:
new
FormItemModel
({
caption
:
'评审机构'
,
detailType
:
'FORMITEM'
,
name
:
'validorganization'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
createdate
:
new
FormItemModel
({
caption
:
'建立时间'
,
detailType
:
'FORMITEM'
,
name
:
'createdat
e'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
hightitle
:
new
FormItemModel
({
caption
:
'最高职称'
,
detailType
:
'FORMITEM'
,
name
:
'hightitl
e'
,
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
}),
attachment
:
new
FormItemModel
({
caption
:
'附件'
,
detailType
:
'FORMITEM'
,
name
:
'attachment
'
,
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
}),
hrtechnicaltitleid
:
new
FormItemModel
({
caption
:
'职称信息标识'
,
detailType
:
'FORMITEM'
,
name
:
'hrtechnicaltitleid'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
hrtechnicaltitleid
:
new
FormItemModel
({
caption
:
'职称信息标识'
,
detailType
:
'FORMITEM'
,
name
:
'hrtechnicaltitleid'
,
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/hrtechnical-title/main-form/main-form-model.ts
浏览文件 @
456b33b5
...
@@ -55,30 +55,65 @@ export default class MainModel {
...
@@ -55,30 +55,65 @@ export default class MainModel {
{
{
name
:
'srfsourcekey'
,
name
:
'srfsourcekey'
,
},
},
{
name
:
'hremployeename'
,
prop
:
'hremployeename'
,
dataType
:
'PICKUPTEXT'
,
},
{
{
name
:
'hrtechnicaltitlename'
,
name
:
'hrtechnicaltitlename'
,
prop
:
'hrtechnicaltitlename'
,
prop
:
'hrtechnicaltitlename'
,
dataType
:
'TEXT'
,
dataType
:
'TEXT'
,
},
},
{
{
name
:
'createman'
,
name
:
'titletime'
,
prop
:
'createman'
,
prop
:
'titletime'
,
dataType
:
'DATE'
,
},
{
name
:
'certificatecode'
,
prop
:
'certificatecode'
,
dataType
:
'TEXT'
,
dataType
:
'TEXT'
,
},
},
{
{
name
:
'
createdate
'
,
name
:
'
titlelevel
'
,
prop
:
'
createdate
'
,
prop
:
'
titlelevel
'
,
dataType
:
'
DATETIME
'
,
dataType
:
'
SSCODELIST
'
,
},
},
{
{
name
:
'
updateman
'
,
name
:
'
majortype
'
,
prop
:
'
updateman
'
,
prop
:
'
majortype
'
,
dataType
:
'TEXT'
,
dataType
:
'TEXT'
,
},
},
{
{
name
:
'updatedate'
,
name
:
'major'
,
prop
:
'updatedate'
,
prop
:
'major'
,
dataType
:
'DATETIME'
,
dataType
:
'TEXT'
,
},
{
name
:
'authorganization'
,
prop
:
'authorganization'
,
dataType
:
'TEXT'
,
},
{
name
:
'validorganization'
,
prop
:
'validorganization'
,
dataType
:
'TEXT'
,
},
{
name
:
'hightitle'
,
prop
:
'hightitle'
,
dataType
:
'YESNO'
,
},
{
name
:
'attachment'
,
prop
:
'attachment'
,
dataType
:
'TEXT'
,
},
{
name
:
'hremployeeid'
,
prop
:
'hremployeeid'
,
dataType
:
'PICKUP'
,
},
},
{
{
name
:
'hrtechnicaltitleid'
,
name
:
'hrtechnicaltitleid'
,
...
...
app_PIM/src/widgets/hrtechnical-title/main-form/main-form-service.ts
浏览文件 @
456b33b5
...
@@ -2,6 +2,7 @@ import { Http,Util,Errorlog } from '@/utils';
...
@@ -2,6 +2,7 @@ import { Http,Util,Errorlog } from '@/utils';
import
ControlService
from
'@/widgets/control-service'
;
import
ControlService
from
'@/widgets/control-service'
;
import
HRTechnicalTitleService
from
'@/service/hrtechnical-title/hrtechnical-title-service'
;
import
HRTechnicalTitleService
from
'@/service/hrtechnical-title/hrtechnical-title-service'
;
import
MainModel
from
'./main-form-model'
;
import
MainModel
from
'./main-form-model'
;
import
HREmployeeService
from
'@/service/hremployee/hremployee-service'
;
/**
/**
...
@@ -41,6 +42,14 @@ export default class MainService extends ControlService {
...
@@ -41,6 +42,14 @@ export default class MainService extends ControlService {
this
.
model
=
new
MainModel
();
this
.
model
=
new
MainModel
();
}
}
/**
* 员工服务对象
*
* @type {HREmployeeService}
* @memberof MainService
*/
public
hremployeeService
:
HREmployeeService
=
new
HREmployeeService
();
/**
/**
* 处理数据
* 处理数据
*
*
...
@@ -82,6 +91,9 @@ export default class MainService extends ControlService {
...
@@ -82,6 +91,9 @@ export default class MainService extends ControlService {
public
getItems
(
serviceName
:
string
,
interfaceName
:
string
,
context
:
any
=
{},
data
:
any
,
isloading
?:
boolean
):
Promise
<
any
[]
>
{
public
getItems
(
serviceName
:
string
,
interfaceName
:
string
,
context
:
any
=
{},
data
:
any
,
isloading
?:
boolean
):
Promise
<
any
[]
>
{
data
.
page
=
data
.
page
?
data
.
page
:
0
;
data
.
page
=
data
.
page
?
data
.
page
:
0
;
data
.
size
=
data
.
size
?
data
.
size
:
1000
;
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
([])
return
Promise
.
reject
([])
}
}
...
...
app_PIM/src/widgets/hrtechnical-title/main-form/main-form.html
浏览文件 @
456b33b5
<i-form
:model=
"this.data"
class=
'app-form'
ref=
'form'
id=
'hrtechnicaltitle_main'
style=
""
>
<i-form
:model=
"this.data"
class=
'app-form'
ref=
'form'
id=
'hrtechnicaltitle_main'
style=
""
>
<input
style=
"display:none;"
/>
<input
style=
"display:none;"
/>
<row
>
<row
>
<tabs
:animated=
"false"
size=
"small"
name=
'main'
:value=
"detailsModel.form.activiedPage"
@
on-click=
"detailsModel.form.clickPage($event)"
>
<tab-pane
v-show=
"detailsModel.formpage1.visible"
name=
'formpage1'
:index=
"0"
tab=
'main'
class=
''
:label=
"(h) =>{
return h('span',{
class:'caption'
},[
$t('entities.hrtechnicaltitle.main_form.details.formpage1')
])
}"
>
<i-col
class=
"form-layout-container"
v-show=
"detailsModel.group1.visible"
:style=
"{}"
:lg=
"{ span: 24, offset: 0 }"
>
<i-col
class=
"form-layout-container"
v-show=
"detailsModel.group1.visible"
:style=
"{}"
:lg=
"{ span: 24, offset: 0 }"
>
<app-form-group
:model=
"detailsModel.group1"
layoutType=
"TABLE_24COL"
titleStyle=
""
class=
''
:uiActionGroup=
"detailsModel.group1.uiActionGroup"
@
groupuiactionclick=
"groupUIActionClick($event)"
:caption=
"$t('entities.hrtechnicaltitle.main_form.details.group1')"
:isShowCaption=
"
tru
e"
uiStyle=
"DEFAULT"
:titleBarCloseMode=
"0"
:isInfoGroupMode=
"false"
>
<app-form-group
:model=
"detailsModel.group1"
layoutType=
"TABLE_24COL"
titleStyle=
""
class=
''
:uiActionGroup=
"detailsModel.group1.uiActionGroup"
@
groupuiactionclick=
"groupUIActionClick($event)"
:caption=
"$t('entities.hrtechnicaltitle.main_form.details.group1')"
:isShowCaption=
"
fals
e"
uiStyle=
"DEFAULT"
:titleBarCloseMode=
"0"
:isInfoGroupMode=
"false"
>
<app-form-group-data-panel
slot=
"dataInfoPanel"
:model=
"detailsModel.group1"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
/>
<app-form-group-data-panel
slot=
"dataInfoPanel"
:model=
"detailsModel.group1"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
/>
<row>
<row>
<i-col
class=
"form-layout-container"
v-show=
"detailsModel.hrtechnicaltitlename.visible"
:style=
"{}"
:lg=
"{ span: 24, offset: 0 }"
>
<i-col
class=
"form-layout-container"
v-show=
"detailsModel.hremployeename.visible"
:style=
"{}"
:lg=
"{ span: 24, offset: 0 }"
>
<app-form-item
name=
'hremployeename'
:itemRules=
"this.rules.hremployeename"
class=
''
:caption=
"$t('entities.hrtechnicaltitle.main_form.details.hremployeename')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.hremployeename.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-picker
:formState=
"formState"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'{ }'
:localParam =
'{ }'
:disabled=
"detailsModel.hremployeename.disabled"
name=
'hremployeename'
deMajorField=
'employeename'
deKeyField=
'hremployee'
:service=
"service"
:acParams=
"{ serviceName: 'HREmployeeService', interfaceName: 'FetchDefault'}"
valueitem=
'hremployeeid'
:value=
"data.hremployeename"
:pickupView=
"{ viewname: 'hremployee-pickup-view', title: $t('entities.hremployee.views.pickupview.title'), deResParameters: [], parameters: [{ pathName: 'hremployees', parameterName: 'hremployee' }, { pathName: 'pickupview', parameterName: 'pickupview' } ], placement:'' }"
style=
""
@
formitemvaluechange=
"onFormItemValueChange($event)"
>
</app-picker>
</app-form-item>
</i-col>
<i-col
class=
"form-layout-container"
v-show=
"detailsModel.hrtechnicaltitlename.visible"
:style=
"{}"
:lg=
"{ span: 24, offset: 0 }"
>
<app-form-item
name=
'hrtechnicaltitlename'
:itemRules=
"this.rules.hrtechnicaltitlename"
class=
''
:caption=
"$t('entities.hrtechnicaltitle.main_form.details.hrtechnicaltitlename')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.hrtechnicaltitlename.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-form-item
name=
'hrtechnicaltitlename'
:itemRules=
"this.rules.hrtechnicaltitlename"
class=
''
:caption=
"$t('entities.hrtechnicaltitle.main_form.details.hrtechnicaltitlename')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.hrtechnicaltitlename.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<input-box
<input-box
v-model=
"data.hrtechnicaltitlename"
v-model=
"data.hrtechnicaltitlename"
...
@@ -30,64 +46,111 @@
...
@@ -30,64 +46,111 @@
</app-form-item>
</app-form-item>
</i-col>
</i-col>
<i-col
class=
"form-layout-container"
v-show=
"detailsModel.titletime.visible"
:style=
"{}"
:lg=
"{ span: 24, offset: 0 }"
>
<app-form-item
name=
'titletime'
:itemRules=
"this.rules.titletime"
class=
''
:caption=
"$t('entities.hrtechnicaltitle.main_form.details.titletime')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.titletime.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<date-picker
type=
"date"
:transfer=
"true"
format=
"yyyy-MM-dd"
placeholder=
"请选择时间..."
:value=
"data.titletime"
:disabled=
"detailsModel.titletime.disabled"
style=
"min-width: 150px; width:100px;"
@
on-change=
"(val1, val2) => { this.data.titletime = val1 }"
></date-picker>
</row>
</app-form-item>
</app-form-group>
</i-col>
</i-col>
<i-col
class=
"form-layout-container"
v-show=
"detailsModel.certificatecode.visible"
:style=
"{}"
:lg=
"{ span: 24, offset: 0 }"
>
<app-form-item
name=
'certificatecode'
:itemRules=
"this.rules.certificatecode"
class=
''
:caption=
"$t('entities.hrtechnicaltitle.main_form.details.certificatecode')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.certificatecode.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<input-box
v-model=
"data.certificatecode"
@
enter=
"onEnter($event)"
unit=
""
:disabled=
"detailsModel.certificatecode.disabled"
type=
'text'
style=
""
>
</input-box>
</app-form-item>
</tab-pane>
</i-col>
<tab-pane
v-show=
"detailsModel.formpage2.visible"
name=
'formpage2'
:index=
"1"
tab=
'main'
class=
''
<i-col
class=
"form-layout-container"
v-show=
"detailsModel.titlelevel.visible"
:style=
"{}"
:lg=
"{ span: 24, offset: 0 }"
>
:label=
"(h) =>{
<app-form-item
name=
'titlelevel'
:itemRules=
"this.rules.titlelevel"
class=
''
:caption=
"$t('entities.hrtechnicaltitle.main_form.details.titlelevel')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.titlelevel.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
return h('span',{
class:'caption'
<dropdown-list
},[
v-model=
"data.titlelevel"
$t('entities.hrtechnicaltitle.main_form.details.formpage2')
:data=
"data"
])
:context=
"context"
}"
>
:viewparams=
"viewparams"
:localContext =
'{ }'
<i-col
class=
"form-layout-container"
v-show=
"detailsModel.group2.visible"
:style=
"{}"
:lg=
"{ span: 24, offset: 0 }"
>
:localParam =
'{ }'
<app-form-group
:model=
"detailsModel.group2"
layoutType=
"TABLE_24COL"
titleStyle=
""
class=
''
:uiActionGroup=
"detailsModel.group2.uiActionGroup"
@
groupuiactionclick=
"groupUIActionClick($event)"
:caption=
"$t('entities.hrtechnicaltitle.main_form.details.group2')"
:isShowCaption=
"true"
uiStyle=
"DEFAULT"
:titleBarCloseMode=
"0"
:isInfoGroupMode=
"false"
>
:disabled=
"detailsModel.titlelevel.disabled"
<app-form-group-data-panel
slot=
"dataInfoPanel"
:model=
"detailsModel.group2"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
/>
valueType=
"string"
<row>
placeholder=
'请选择...'
<i-col
class=
"form-layout-container"
v-show=
"detailsModel.createman.visible"
:style=
"{}"
:lg=
"{ span: 24, offset: 0 }"
>
<app-form-item
name=
'createman'
:itemRules=
"this.rules.createman"
class=
''
:caption=
"$t('entities.hrtechnicaltitle.main_form.details.createman')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.createman.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
/>
</app-form-item>
<app-span
name=
'createman'
:value=
"data.createman"
dataType=
"TEXT"
:precision=
"0"
</i-col>
tag=
'SysOperator'
codelistType=
'DYNAMIC'
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'{ }'
:localParam =
'{ }'
style=
""
>
<i-col
class=
"form-layout-container"
v-show=
"detailsModel.majortype.visible"
:style=
"{}"
:lg=
"{ span: 24, offset: 0 }"
>
</app-span>
<app-form-item
name=
'majortype'
:itemRules=
"this.rules.majortype"
class=
''
:caption=
"$t('entities.hrtechnicaltitle.main_form.details.majortype')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.majortype.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<input-box
v-model=
"data.majortype"
@
enter=
"onEnter($event)"
unit=
""
:disabled=
"detailsModel.majortype.disabled"
type=
'text'
style=
""
>
</input-box>
</app-form-item>
</app-form-item>
</i-col>
</i-col>
<i-col
class=
"form-layout-container"
v-show=
"detailsModel.createdate.visible"
:style=
"{}"
:lg=
"{ span: 24, offset: 0 }"
>
<i-col
class=
"form-layout-container"
v-show=
"detailsModel.major.visible"
:style=
"{}"
:lg=
"{ span: 24, offset: 0 }"
>
<app-form-item
name=
'createdate'
:itemRules=
"this.rules.createdate"
class=
''
:caption=
"$t('entities.hrtechnicaltitle.main_form.details.createdate')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.createdate.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-form-item
name=
'major'
:itemRules=
"this.rules.major"
class=
''
:caption=
"$t('entities.hrtechnicaltitle.main_form.details.major')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.major.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<input-box
<app-span
name=
'createdate'
:value=
"data.createdate"
dataType=
"DATETIME"
valueFormat=
"%1$tY-%1$tm-%1$td %1$tH:%1$tM:%1$tS"
:precision=
"0"
v-model=
"data.major"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'{ }'
:localParam =
'{ }'
style=
""
>
@
enter=
"onEnter($event)"
</app-span>
unit=
""
:disabled=
"detailsModel.major.disabled"
type=
'text'
style=
""
>
</input-box>
</app-form-item>
</app-form-item>
</i-col>
</i-col>
<i-col
class=
"form-layout-container"
v-show=
"detailsModel.updateman.visible"
:style=
"{}"
:lg=
"{ span: 24, offset: 0 }"
>
<i-col
class=
"form-layout-container"
v-show=
"detailsModel.authorganization.visible"
:style=
"{}"
:lg=
"{ span: 24, offset: 0 }"
>
<app-form-item
name=
'updateman'
:itemRules=
"this.rules.updateman"
class=
''
:caption=
"$t('entities.hrtechnicaltitle.main_form.details.updateman')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.updateman.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-form-item
name=
'authorganization'
:itemRules=
"this.rules.authorganization"
class=
''
:caption=
"$t('entities.hrtechnicaltitle.main_form.details.authorganization')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.authorganization.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<input-box
v-model=
"data.authorganization"
@
enter=
"onEnter($event)"
unit=
""
:disabled=
"detailsModel.authorganization.disabled"
type=
'text'
style=
""
>
</input-box>
</app-form-item>
<app-span
name=
'updateman'
:value=
"data.updateman"
dataType=
"TEXT"
:precision=
"0"
</i-col>
tag=
'SysOperator'
codelistType=
'DYNAMIC'
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'{ }'
:localParam =
'{ }'
style=
""
>
<i-col
class=
"form-layout-container"
v-show=
"detailsModel.validorganization.visible"
:style=
"{}"
:lg=
"{ span: 24, offset: 0 }"
>
</app-span>
<app-form-item
name=
'validorganization'
:itemRules=
"this.rules.validorganization"
class=
''
:caption=
"$t('entities.hrtechnicaltitle.main_form.details.validorganization')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.validorganization.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<input-box
v-model=
"data.validorganization"
@
enter=
"onEnter($event)"
unit=
""
:disabled=
"detailsModel.validorganization.disabled"
type=
'text'
style=
""
>
</input-box>
</app-form-item>
</app-form-item>
</i-col>
</i-col>
<i-col
class=
"form-layout-container"
v-show=
"detailsModel.updatedate.visible"
:style=
"{}"
:lg=
"{ span: 24, offset: 0 }"
>
<i-col
class=
"form-layout-container"
v-show=
"detailsModel.hightitle.visible"
:style=
"{}"
:lg=
"{ span: 24, offset: 0 }"
>
<app-form-item
name=
'updatedate'
:itemRules=
"this.rules.updatedate"
class=
''
:caption=
"$t('entities.hrtechnicaltitle.main_form.details.updatedate')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.updatedate.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-form-item
name=
'hightitle'
:itemRules=
"this.rules.hightitle"
class=
''
:caption=
"$t('entities.hrtechnicaltitle.main_form.details.hightitle')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.hightitle.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-switch
name=
'hightitle'
:value=
"this.data.hightitle"
@
change=
"($event)=>{this.data.hightitle = $event} "
:disabled=
"detailsModel.hightitle.disabled"
style=
""
></app-switch>
<app-span
name=
'updatedate'
:value=
"data.updatedate"
dataType=
"DATETIME"
valueFormat=
"%1$tY-%1$tm-%1$td %1$tH:%1$tM:%1$tS"
:precision=
"0"
</app-form-item>
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'{ }'
:localParam =
'{ }'
style=
""
>
</app-span>
</i-col>
<i-col
class=
"form-layout-container"
v-show=
"detailsModel.attachment.visible"
:style=
"{}"
:lg=
"{ span: 24, offset: 0 }"
>
<app-form-item
name=
'attachment'
:itemRules=
"this.rules.attachment"
class=
''
:caption=
"$t('entities.hrtechnicaltitle.main_form.details.attachment')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.attachment.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-image-upload
:multiple=
"true"
:formState=
"formState"
:ignorefieldvaluechange=
"ignorefieldvaluechange"
@
formitemvaluechange=
"onFormItemValueChange($event)"
:data=
"JSON.stringify(this.data)"
name=
'attachment'
:value=
"data.attachment"
:disabled=
"detailsModel.attachment.disabled"
:uploadparams=
'{}'
:exportparams=
'{}'
style=
"overflow: auto;"
></app-image-upload>
</app-form-item>
</app-form-item>
</i-col>
</i-col>
...
@@ -98,7 +161,5 @@ tag='SysOperator' codelistType='DYNAMIC' :data="data" :context="context" :viewpa
...
@@ -98,7 +161,5 @@ tag='SysOperator' codelistType='DYNAMIC' :data="data" :context="context" :viewpa
</i-col>
</i-col>
</tab-pane>
</tabs>
</row>
</row>
</i-form>
</i-form>
\ No newline at end of file
app_PIM/src/widgets/hrtechnical-title/main-grid/main-grid-base.tsx
浏览文件 @
456b33b5
...
@@ -92,6 +92,38 @@ export class MainGridBase extends GridControlBase {
...
@@ -92,6 +92,38 @@ export class MainGridBase extends GridControlBase {
* @memberof MainGridBase
* @memberof MainGridBase
*/
*/
public
allColumns
:
any
[]
=
[
public
allColumns
:
any
[]
=
[
{
name
:
'employeecode'
,
label
:
'员工编号'
,
langtag
:
'entities.hrtechnicaltitle.main_grid.columns.employeecode'
,
show
:
true
,
util
:
'PX'
,
isEnableRowEdit
:
false
,
},
{
name
:
'hremployeename'
,
label
:
'员工姓名'
,
langtag
:
'entities.hrtechnicaltitle.main_grid.columns.hremployeename'
,
show
:
true
,
util
:
'PX'
,
isEnableRowEdit
:
false
,
},
{
name
:
'organizationname'
,
label
:
'单位'
,
langtag
:
'entities.hrtechnicaltitle.main_grid.columns.organizationname'
,
show
:
true
,
util
:
'PX'
,
isEnableRowEdit
:
false
,
},
{
name
:
'empstate'
,
label
:
'员工状态'
,
langtag
:
'entities.hrtechnicaltitle.main_grid.columns.empstate'
,
show
:
true
,
util
:
'PX'
,
isEnableRowEdit
:
false
,
},
{
{
name
:
'hrtechnicaltitlename'
,
name
:
'hrtechnicaltitlename'
,
label
:
'职称名称'
,
label
:
'职称名称'
,
...
@@ -182,6 +214,10 @@ export class MainGridBase extends GridControlBase {
...
@@ -182,6 +214,10 @@ export class MainGridBase extends GridControlBase {
* @memberof MainBase
* @memberof MainBase
*/
*/
public
hasRowEdit
:
any
=
{
public
hasRowEdit
:
any
=
{
'employeecode'
:
false
,
'hremployeename'
:
false
,
'organizationname'
:
false
,
'empstate'
:
false
,
'hrtechnicaltitlename'
:
false
,
'hrtechnicaltitlename'
:
false
,
'titlelevel'
:
false
,
'titlelevel'
:
false
,
'majortype'
:
false
,
'majortype'
:
false
,
...
@@ -214,6 +250,14 @@ export class MainGridBase extends GridControlBase {
...
@@ -214,6 +250,14 @@ export class MainGridBase extends GridControlBase {
*/
*/
public
async
formatExcelData
(
filterVal
:
any
,
jsonData
:
any
,
codelistColumns
?:
any
[]):
Promise
<
any
>
{
public
async
formatExcelData
(
filterVal
:
any
,
jsonData
:
any
,
codelistColumns
?:
any
[]):
Promise
<
any
>
{
return
super
.
formatExcelData
(
filterVal
,
jsonData
,
[
return
super
.
formatExcelData
(
filterVal
,
jsonData
,
[
{
name
:
'empstate'
,
srfkey
:
'CL_HR_0016'
,
codelistType
:
'DYNAMIC'
,
renderMode
:
'other'
,
textSeparator
:
'、'
,
valueSeparator
:
','
,
},
{
{
name
:
'hightitle'
,
name
:
'hightitle'
,
srfkey
:
'YesNo'
,
srfkey
:
'YesNo'
,
...
...
app_PIM/src/widgets/hrtechnical-title/main-grid/main-grid-model.ts
浏览文件 @
456b33b5
...
@@ -26,31 +26,67 @@ export default class MainModel {
...
@@ -26,31 +26,67 @@ export default class MainModel {
]
]
}
else
{
}
else
{
return
[
return
[
{
name
:
'organizationname'
,
prop
:
'organizationname'
,
dataType
:
'PICKUPDATA'
,
},
{
{
name
:
'hightitle'
,
name
:
'hightitle'
,
prop
:
'hightitle'
,
prop
:
'hightitle'
,
dataType
:
'YESNO'
,
dataType
:
'YESNO'
,
},
},
{
name
:
'empstate'
,
prop
:
'empstate'
,
dataType
:
'PICKUPDATA'
,
},
{
name
:
'employeecode'
,
prop
:
'employeecode'
,
dataType
:
'PICKUPDATA'
,
},
{
name
:
'srfmajortext'
,
prop
:
'hrtechnicaltitlename'
,
dataType
:
'TEXT'
,
},
{
name
:
'srfdataaccaction'
,
prop
:
'hrtechnicaltitleid'
,
dataType
:
'GUID'
,
},
{
name
:
'srfkey'
,
prop
:
'hrtechnicaltitleid'
,
dataType
:
'GUID'
,
isEditable
:
true
},
{
{
name
:
'hremployeeid'
,
name
:
'hremployeeid'
,
prop
:
'hremployeeid'
,
prop
:
'hremployeeid'
,
dataType
:
'PICKUP'
,
dataType
:
'PICKUP'
,
},
},
{
name
:
'hremployeename'
,
prop
:
'hremployeename'
,
dataType
:
'PICKUPTEXT'
,
},
{
{
name
:
'titlelevel'
,
name
:
'titlelevel'
,
prop
:
'titlelevel'
,
prop
:
'titlelevel'
,
dataType
:
'SSCODELIST'
,
dataType
:
'SSCODELIST'
,
},
},
{
name
:
'titletime'
,
prop
:
'titletime'
,
dataType
:
'DATE'
,
},
{
{
name
:
'majortype'
,
name
:
'majortype'
,
prop
:
'majortype'
,
prop
:
'majortype'
,
dataType
:
'TEXT'
,
dataType
:
'TEXT'
,
},
},
{
name
:
'titletime'
,
prop
:
'titletime'
,
dataType
:
'DATE'
,
},
{
{
name
:
'hrtechnicaltitlename'
,
name
:
'hrtechnicaltitlename'
,
prop
:
'hrtechnicaltitlename'
,
prop
:
'hrtechnicaltitlename'
,
...
@@ -61,22 +97,6 @@ export default class MainModel {
...
@@ -61,22 +97,6 @@ export default class MainModel {
prop
:
'authorganization'
,
prop
:
'authorganization'
,
dataType
:
'TEXT'
,
dataType
:
'TEXT'
,
},
},
{
name
:
'srfmajortext'
,
prop
:
'hrtechnicaltitlename'
,
dataType
:
'TEXT'
,
},
{
name
:
'srfdataaccaction'
,
prop
:
'hrtechnicaltitleid'
,
dataType
:
'GUID'
,
},
{
name
:
'srfkey'
,
prop
:
'hrtechnicaltitleid'
,
dataType
:
'GUID'
,
isEditable
:
true
},
{
{
name
:
'major'
,
name
:
'major'
,
prop
:
'major'
,
prop
:
'major'
,
...
...
app_PIM/src/widgets/hrtechnical-title/main-grid/main-grid.html
浏览文件 @
456b33b5
...
@@ -23,6 +23,56 @@
...
@@ -23,6 +23,56 @@
<template
v-if=
"!isSingleSelect"
>
<template
v-if=
"!isSingleSelect"
>
<el-table-column
align=
"center"
type=
'selection'
:width=
"checkboxColWidth"
></el-table-column>
<el-table-column
align=
"center"
type=
'selection'
:width=
"checkboxColWidth"
></el-table-column>
</template>
</template>
<template
v-if=
"getColumnState('employeecode')"
>
<el-table-column
show-overflow-tooltip
:prop=
"'employeecode'"
:label=
"$t('entities.hrtechnicaltitle.main_grid.columns.employeecode')"
:width=
"120"
:align=
"'left'"
:sortable=
"'custom'"
>
<template
v-slot:header=
"{column}"
>
<span
class=
"column-header "
>
{{$t('entities.hrtechnicaltitle.main_grid.columns.employeecode')}}
</span>
</template>
<template
v-slot=
"{row,column,$index}"
>
<span>
{{row.employeecode}}
</span>
</template>
</el-table-column>
</template>
<template
v-if=
"getColumnState('hremployeename')"
>
<el-table-column
show-overflow-tooltip
:prop=
"'hremployeename'"
:label=
"$t('entities.hrtechnicaltitle.main_grid.columns.hremployeename')"
:width=
"120"
:align=
"'left'"
:sortable=
"'custom'"
>
<template
v-slot:header=
"{column}"
>
<span
class=
"column-header "
>
{{$t('entities.hrtechnicaltitle.main_grid.columns.hremployeename')}}
</span>
</template>
<template
v-slot=
"{row,column,$index}"
>
<span>
{{row.hremployeename}}
</span>
</template>
</el-table-column>
</template>
<template
v-if=
"getColumnState('organizationname')"
>
<el-table-column
show-overflow-tooltip
:prop=
"'organizationname'"
:label=
"$t('entities.hrtechnicaltitle.main_grid.columns.organizationname')"
:width=
"200"
:align=
"'left'"
:sortable=
"'custom'"
>
<template
v-slot:header=
"{column}"
>
<span
class=
"column-header "
>
{{$t('entities.hrtechnicaltitle.main_grid.columns.organizationname')}}
</span>
</template>
<template
v-slot=
"{row,column,$index}"
>
<span>
{{row.organizationname}}
</span>
</template>
</el-table-column>
</template>
<template
v-if=
"getColumnState('empstate')"
>
<el-table-column
show-overflow-tooltip
:prop=
"'empstate'"
:label=
"$t('entities.hrtechnicaltitle.main_grid.columns.empstate')"
:width=
"120"
:align=
"'left'"
:sortable=
"'custom'"
>
<template
v-slot:header=
"{column}"
>
<span
class=
"column-header "
>
{{$t('entities.hrtechnicaltitle.main_grid.columns.empstate')}}
</span>
</template>
<template
v-slot=
"{row,column,$index}"
>
<template
>
<codelist
:value=
"row.empstate"
tag=
'CL_HR_0016'
codelistType=
'DYNAMIC'
></codelist>
</template>
</template>
</el-table-column>
</template>
<template
v-if=
"getColumnState('hrtechnicaltitlename')"
>
<template
v-if=
"getColumnState('hrtechnicaltitlename')"
>
<el-table-column
show-overflow-tooltip
:prop=
"'hrtechnicaltitlename'"
:label=
"$t('entities.hrtechnicaltitle.main_grid.columns.hrtechnicaltitlename')"
:width=
"150"
:align=
"'left'"
:sortable=
"'custom'"
>
<el-table-column
show-overflow-tooltip
:prop=
"'hrtechnicaltitlename'"
:label=
"$t('entities.hrtechnicaltitle.main_grid.columns.hrtechnicaltitlename')"
:width=
"150"
:align=
"'left'"
:sortable=
"'custom'"
>
<template
v-slot:header=
"{column}"
>
<template
v-slot:header=
"{column}"
>
...
...
config.xml
浏览文件 @
456b33b5
...
@@ -37,11 +37,11 @@
...
@@ -37,11 +37,11 @@
git clone -b master $para2 ibizhumanresources/
git clone -b master $para2 ibizhumanresources/
export NODE_OPTIONS=--max-old-space-size=4096
export NODE_OPTIONS=--max-old-space-size=4096
cd ibizhumanresources/
cd ibizhumanresources/
mvn clean package -P
hrapi
mvn clean package -P
pim
cd humanresource-
provider/humanresource-provider-hrapi
cd humanresource-
app/humanresource-app-pim
mvn -P
hrapi
docker:build
mvn -P
pim
docker:build
mvn -P
hrapi
docker:push
mvn -P
pim
docker:push
docker -H $para1 stack deploy --compose-file=src/main/docker/humanresource-
provider-hrapi.yaml iBizEE --with-registry-auth
docker -H $para1 stack deploy --compose-file=src/main/docker/humanresource-
app-pim.yaml iBizEE --with-registry-auth
</command>
</command>
</hudson.tasks.Shell>
</hudson.tasks.Shell>
</builders>
</builders>
...
...
humanresource-app/humanresource-app-pim/src/main/docker/Dockerfile
浏览文件 @
456b33b5
...
@@ -12,6 +12,6 @@ CMD echo "The application will start in ${IBIZ_SLEEP}s..." && \
...
@@ -12,6 +12,6 @@ CMD echo "The application will start in ${IBIZ_SLEEP}s..." && \
sleep ${IBIZ_SLEEP} && \
sleep ${IBIZ_SLEEP} && \
java ${JAVA_OPTS} -Djava.security.egd=file:/dev/./urandom -jar /humanresource-app-pim.jar
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
ADD
humanresource-app-pim.jar /humanresource-app-pim.jar
humanresource-app/humanresource-app-pim/src/main/docker/humanresource-app-pim.yaml
浏览文件 @
456b33b5
...
@@ -3,9 +3,25 @@ services:
...
@@ -3,9 +3,25 @@ services:
humanresource-app-pim
:
humanresource-app-pim
:
image
:
registry.cn-shanghai.aliyuncs.com/ibizsys/humanresource-app-pim:latest
image
:
registry.cn-shanghai.aliyuncs.com/ibizsys/humanresource-app-pim:latest
ports
:
ports
:
-
"
8080:8080
"
-
"
10327:10327
"
networks
:
networks
:
-
agent_network
-
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
:
deploy
:
resources
:
resources
:
limits
:
limits
:
...
...
humanresource-provider/humanresource-provider-hrapi/src/main/docker/Dockerfile
浏览文件 @
456b33b5
...
@@ -12,6 +12,6 @@ CMD echo "The application will start in ${IBIZ_SLEEP}s..." && \
...
@@ -12,6 +12,6 @@ CMD echo "The application will start in ${IBIZ_SLEEP}s..." && \
sleep ${IBIZ_SLEEP} && \
sleep ${IBIZ_SLEEP} && \
java ${JAVA_OPTS} -Djava.security.egd=file:/dev/./urandom -jar /humanresource-provider-hrapi.jar
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
ADD
humanresource-provider-hrapi.jar /humanresource-provider-hrapi.jar
humanresource-provider/humanresource-provider-hrapi/src/main/docker/humanresource-provider-hrapi.yaml
浏览文件 @
456b33b5
...
@@ -3,25 +3,9 @@ services:
...
@@ -3,25 +3,9 @@ services:
humanresource-provider-hrapi
:
humanresource-provider-hrapi
:
image
:
registry.cn-shanghai.aliyuncs.com/ibizsys/humanresource-provider-hrapi:latest
image
:
registry.cn-shanghai.aliyuncs.com/ibizsys/humanresource-provider-hrapi:latest
ports
:
ports
:
-
"
10317:10317
"
-
"
8081:8081
"
networks
:
networks
:
-
agent_network
-
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
:
deploy
:
resources
:
resources
:
limits
:
limits
:
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录