Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
iBizEHR
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
1
议题
1
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
iBizEHR解决方案
iBizEHR
提交
e0b61b45
提交
e0b61b45
编写于
5月 18, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
ibizdev提交
上级
f20a8266
变更
44
隐藏空白字符变更
内嵌
并排
正在显示
44 个修改的文件
包含
562 行增加
和
492 行删除
+562
-492
pcmdetail_en_US.ts
app_EHRPim/src/locale/lanres/pcmdetail/pcmdetail_en_US.ts
+6
-6
pcmdetail_zh_CN.ts
app_EHRPim/src/locale/lanres/pcmdetail/pcmdetail_zh_CN.ts
+6
-6
pimeducation_en_US.ts
...RPim/src/locale/lanres/pimeducation/pimeducation_en_US.ts
+2
-2
pimeducation_zh_CN.ts
...RPim/src/locale/lanres/pimeducation/pimeducation_zh_CN.ts
+2
-2
pimperson_en_US.ts
app_EHRPim/src/locale/lanres/pimperson/pimperson_en_US.ts
+4
-4
pimperson_zh_CN.ts
app_EHRPim/src/locale/lanres/pimperson/pimperson_zh_CN.ts
+4
-4
pimeducations.ts
app_EHRPim/src/mock/entity/pimeducations/pimeducations.ts
+6
-6
pimarchives-service-base.ts
...HRPim/src/service/pimarchives/pimarchives-service-base.ts
+50
-50
pimperson-service-base.ts
app_EHRPim/src/service/pimperson/pimperson-service-base.ts
+285
-285
main-form-base.vue
...EHRPim/src/widgets/pcmdetail/main-form/main-form-base.vue
+10
-10
main-grid-base.vue
...EHRPim/src/widgets/pcmdetail/main-grid/main-grid-base.vue
+2
-2
read-ryinfo-form-form-base.vue
...rson/read-ryinfo-form-form/read-ryinfo-form-form-base.vue
+5
-5
ryinfo-form-form-base.vue
...gets/pimperson/ryinfo-form-form/ryinfo-form-form-base.vue
+5
-5
config.xml
config.xml
+5
-5
Dockerfile
ehr-app/ehr-app-ehr/src/main/docker/Dockerfile
+1
-1
ehr-app-ehr.yaml
ehr-app/ehr-app-ehr/src/main/docker/ehr-app-ehr.yaml
+15
-1
Dockerfile
ehr-app/ehr-app-ehrapp/src/main/docker/Dockerfile
+1
-1
ehr-app-ehrapp.yaml
ehr-app/ehr-app-ehrapp/src/main/docker/ehr-app-ehrapp.yaml
+15
-1
Dockerfile
ehr-app/ehr-app-ehrhelp/src/main/docker/Dockerfile
+1
-1
ehr-app-ehrhelp.yaml
ehr-app/ehr-app-ehrhelp/src/main/docker/ehr-app-ehrhelp.yaml
+15
-1
Dockerfile
ehr-app/ehr-app-ehrmob/src/main/docker/Dockerfile
+1
-1
ehr-app-ehrmob.yaml
ehr-app/ehr-app-ehrmob/src/main/docker/ehr-app-ehrmob.yaml
+15
-1
Dockerfile
ehr-app/ehr-app-ehrorm/src/main/docker/Dockerfile
+1
-1
ehr-app-ehrorm.yaml
ehr-app/ehr-app-ehrorm/src/main/docker/ehr-app-ehrorm.yaml
+15
-1
Dockerfile
ehr-app/ehr-app-ehrpcm/src/main/docker/Dockerfile
+1
-1
ehr-app-ehrpcm.yaml
ehr-app/ehr-app-ehrpcm/src/main/docker/ehr-app-ehrpcm.yaml
+15
-1
Dockerfile
ehr-app/ehr-app-ehrpcm2/src/main/docker/Dockerfile
+1
-1
ehr-app-ehrpcm2.yaml
ehr-app/ehr-app-ehrpcm2/src/main/docker/ehr-app-ehrpcm2.yaml
+15
-1
Dockerfile
ehr-app/ehr-app-ehrpim/src/main/docker/Dockerfile
+1
-1
ehr-app-ehrpim.yaml
ehr-app/ehr-app-ehrpim/src/main/docker/ehr-app-ehrpim.yaml
+15
-1
Dockerfile
ehr-app/ehr-app-ehrweb/src/main/docker/Dockerfile
+1
-1
ehr-app-ehrweb.yaml
ehr-app/ehr-app-ehrweb/src/main/docker/ehr-app-ehrweb.yaml
+15
-1
Dockerfile
ehr-app/ehr-app-web/src/main/docker/Dockerfile
+1
-1
ehr-app-web.yaml
ehr-app/ehr-app-web/src/main/docker/ehr-app-web.yaml
+15
-1
Dockerfile
...er/ehr-provider-parttimeperson/src/main/docker/Dockerfile
+1
-1
ehr-provider-parttimeperson.yaml
...meperson/src/main/docker/ehr-provider-parttimeperson.yaml
+1
-15
Dockerfile
...rovider/ehr-provider-saasadmin/src/main/docker/Dockerfile
+1
-1
ehr-provider-saasadmin.yaml
...der-saasadmin/src/main/docker/ehr-provider-saasadmin.yaml
+1
-15
Dockerfile
...vider/ehr-provider-specialrole/src/main/docker/Dockerfile
+1
-1
ehr-provider-specialrole.yaml
...specialrole/src/main/docker/ehr-provider-specialrole.yaml
+1
-15
Dockerfile
ehr-provider/ehr-provider-webapi/src/main/docker/Dockerfile
+1
-1
ehr-provider-webapi.yaml
...-provider-webapi/src/main/docker/ehr-provider-webapi.yaml
+1
-15
Dockerfile
...ovider/ehr-provider-wfcallback/src/main/docker/Dockerfile
+1
-1
ehr-provider-wfcallback.yaml
...r-wfcallback/src/main/docker/ehr-provider-wfcallback.yaml
+1
-15
未找到文件。
app_EHRPim/src/locale/lanres/pcmdetail/pcmdetail_en_US.ts
浏览文件 @
e0b61b45
...
...
@@ -38,7 +38,7 @@ export default {
updatedate
:
'更新时间'
,
enable
:
'逻辑有效标志'
,
zgxllx
:
'最高学历学习形式'
,
tozjdate
:
'
中建
系统工作时间'
,
tozjdate
:
'
建筑
系统工作时间'
,
jxkhcj
:
'绩效考核成绩(近两年)'
,
dyxljssj
:
'第一学历毕业时间'
,
yglx
:
'员工类型'
,
...
...
@@ -52,7 +52,7 @@ export default {
rank
:
'职级'
,
zcbh
:
'职称编号'
,
pimmajorsetypename
:
'所属业务系统'
,
zjxtgznx
:
'
中建
系统工作年限'
,
zjxtgznx
:
'
建筑
系统工作年限'
,
gznx
:
'工作年限'
,
xb
:
'性别'
,
createdate
:
'建立时间'
,
...
...
@@ -154,9 +154,9 @@ export default {
bdwgznx
:
"本单位工作年限"
,
bjgznx
:
"局工作年限"
,
careername
:
"专业技术资格(职称)"
,
zjxtgznx
:
"
中建
系统工作年限"
,
zjxtgznx
:
"
建筑
系统工作年限"
,
cjgzsj
:
"参加工作时间"
,
tozjdate
:
"
中建
系统工作时间"
,
tozjdate
:
"
建筑
系统工作时间"
,
dbdwsj
:
"本单位工作时间"
,
rank
:
"职级"
,
rdsj
:
"入党时间"
,
...
...
@@ -217,8 +217,8 @@ export default {
zgxlsxzy
:
"最高学历所学专业"
,
cjgzsj
:
"参加工作时间"
,
gznx
:
"工作年限"
,
tozjdate
:
"
中建
系统工作时间"
,
zjxtgznx
:
"
中建
系统工作年限"
,
tozjdate
:
"
建筑
系统工作时间"
,
zjxtgznx
:
"
建筑
系统工作年限"
,
dzjbjsj
:
"局工作时间"
,
bjgznx
:
"局工作年限"
,
dbdwsj
:
"本单位工作时间"
,
...
...
app_EHRPim/src/locale/lanres/pcmdetail/pcmdetail_zh_CN.ts
浏览文件 @
e0b61b45
...
...
@@ -37,7 +37,7 @@ export default {
updatedate
:
'更新时间'
,
enable
:
'逻辑有效标志'
,
zgxllx
:
'最高学历学习形式'
,
tozjdate
:
'
中建
系统工作时间'
,
tozjdate
:
'
建筑
系统工作时间'
,
jxkhcj
:
'绩效考核成绩(近两年)'
,
dyxljssj
:
'第一学历毕业时间'
,
yglx
:
'员工类型'
,
...
...
@@ -51,7 +51,7 @@ export default {
rank
:
'职级'
,
zcbh
:
'职称编号'
,
pimmajorsetypename
:
'所属业务系统'
,
zjxtgznx
:
'
中建
系统工作年限'
,
zjxtgznx
:
'
建筑
系统工作年限'
,
gznx
:
'工作年限'
,
xb
:
'性别'
,
createdate
:
'建立时间'
,
...
...
@@ -153,9 +153,9 @@ export default {
bdwgznx
:
'本单位工作年限'
,
bjgznx
:
'局工作年限'
,
careername
:
'专业技术资格(职称)'
,
zjxtgznx
:
'
中建
系统工作年限'
,
zjxtgznx
:
'
建筑
系统工作年限'
,
cjgzsj
:
'参加工作时间'
,
tozjdate
:
'
中建
系统工作时间'
,
tozjdate
:
'
建筑
系统工作时间'
,
dbdwsj
:
'本单位工作时间'
,
rank
:
'职级'
,
rdsj
:
'入党时间'
,
...
...
@@ -216,8 +216,8 @@ export default {
zgxlsxzy
:
'最高学历所学专业'
,
cjgzsj
:
'参加工作时间'
,
gznx
:
'工作年限'
,
tozjdate
:
'
中建
系统工作时间'
,
zjxtgznx
:
'
中建
系统工作年限'
,
tozjdate
:
'
建筑
系统工作时间'
,
zjxtgznx
:
'
建筑
系统工作年限'
,
dzjbjsj
:
'局工作时间'
,
bjgznx
:
'局工作年限'
,
dbdwsj
:
'本单位工作时间'
,
...
...
app_EHRPim/src/locale/lanres/pimeducation/pimeducation_en_US.ts
浏览文件 @
e0b61b45
...
...
@@ -21,7 +21,7 @@ export default {
xwz
:
'学位证'
,
xllx
:
'学习形式'
,
xxxz
:
'学校性质'
,
tozjdate
:
'
中建
系统工作时间'
,
tozjdate
:
'
建筑
系统工作时间'
,
jlglbh
:
'记录管理编号'
,
jlspzt
:
'记录审批状态'
,
btz
:
'毕业证'
,
...
...
@@ -39,7 +39,7 @@ export default {
createdate
:
'建立时间'
,
xl
:
'学历'
,
dbdwsj
:
'本单位工作时间'
,
zjxtgznx
:
'
中建
系统工作年限'
,
zjxtgznx
:
'
建筑
系统工作年限'
,
bjgznx
:
'局工作年限'
,
ormorgid
:
'组织标识'
,
pimpersonname
:
'员工名称'
,
...
...
app_EHRPim/src/locale/lanres/pimeducation/pimeducation_zh_CN.ts
浏览文件 @
e0b61b45
...
...
@@ -20,7 +20,7 @@ export default {
xwz
:
'学位证'
,
xllx
:
'学习形式'
,
xxxz
:
'学校性质'
,
tozjdate
:
'
中建
系统工作时间'
,
tozjdate
:
'
建筑
系统工作时间'
,
jlglbh
:
'记录管理编号'
,
jlspzt
:
'记录审批状态'
,
btz
:
'毕业证'
,
...
...
@@ -38,7 +38,7 @@ export default {
createdate
:
'建立时间'
,
xl
:
'学历'
,
dbdwsj
:
'本单位工作时间'
,
zjxtgznx
:
'
中建
系统工作年限'
,
zjxtgznx
:
'
建筑
系统工作年限'
,
bjgznx
:
'局工作年限'
,
ormorgid
:
'组织标识'
,
pimpersonname
:
'员工名称'
,
...
...
app_EHRPim/src/locale/lanres/pimperson/pimperson_en_US.ts
浏览文件 @
e0b61b45
...
...
@@ -114,7 +114,7 @@ export default {
cjgzsj
:
'参加工作时间'
,
gwksrq
:
'岗位开始日期'
,
orgsectorid
:
'部门ID'
,
tozjdate
:
'到
中建
系统时间'
,
tozjdate
:
'到
建筑
系统时间'
,
zjhm
:
'证件号码'
,
pimpersonid
:
'人员信息标识'
,
blacklistreasons
:
'黑名单原因'
,
...
...
@@ -450,7 +450,7 @@ export default {
gw
:
"岗位"
,
zj
:
"专家类型"
,
cjgzsj
:
"参加工作时间"
,
tozjdate
:
"到
中建
系统时间"
,
tozjdate
:
"到
建筑
系统时间"
,
dzjbjsj
:
"到局时间"
,
dbdwsj
:
"到本单位时间"
,
gzzt
:
"挂职状态"
,
...
...
@@ -536,7 +536,7 @@ export default {
postaladdress
:
"通讯地址"
,
rdsj1
:
"入党时间"
,
rtsj
:
"入团时间"
,
tozjdate
:
"到
中建
系统时间"
,
tozjdate
:
"到
建筑
系统时间"
,
dzjbjsj
:
"到局时间"
,
rzqd
:
"入职渠道"
,
gzzt
:
"挂职状态"
,
...
...
@@ -740,7 +740,7 @@ export default {
rank
:
"职级"
,
zj
:
"专家类型"
,
cjgzsj
:
"参加工作时间"
,
tozjdate
:
"到
中建
系统时间"
,
tozjdate
:
"到
建筑
系统时间"
,
dzjbjsj
:
"到局时间"
,
dbdwsj
:
"到本单位时间"
,
pimpersonid
:
"人员信息标识"
,
...
...
app_EHRPim/src/locale/lanres/pimperson/pimperson_zh_CN.ts
浏览文件 @
e0b61b45
...
...
@@ -113,7 +113,7 @@ export default {
cjgzsj
:
'参加工作时间'
,
gwksrq
:
'岗位开始日期'
,
orgsectorid
:
'部门ID'
,
tozjdate
:
'到
中建
系统时间'
,
tozjdate
:
'到
建筑
系统时间'
,
zjhm
:
'证件号码'
,
pimpersonid
:
'人员信息标识'
,
blacklistreasons
:
'黑名单原因'
,
...
...
@@ -449,7 +449,7 @@ export default {
gw
:
'岗位'
,
zj
:
'专家类型'
,
cjgzsj
:
'参加工作时间'
,
tozjdate
:
'到
中建
系统时间'
,
tozjdate
:
'到
建筑
系统时间'
,
dzjbjsj
:
'到局时间'
,
dbdwsj
:
'到本单位时间'
,
gzzt
:
'挂职状态'
,
...
...
@@ -535,7 +535,7 @@ export default {
postaladdress
:
'通讯地址'
,
rdsj1
:
'入党时间'
,
rtsj
:
'入团时间'
,
tozjdate
:
'到
中建
系统时间'
,
tozjdate
:
'到
建筑
系统时间'
,
dzjbjsj
:
'到局时间'
,
rzqd
:
'入职渠道'
,
gzzt
:
'挂职状态'
,
...
...
@@ -739,7 +739,7 @@ export default {
rank
:
'职级'
,
zj
:
'专家类型'
,
cjgzsj
:
'参加工作时间'
,
tozjdate
:
'到
中建
系统时间'
,
tozjdate
:
'到
建筑
系统时间'
,
dzjbjsj
:
'到局时间'
,
dbdwsj
:
'到本单位时间'
,
pimpersonid
:
'人员信息标识'
,
...
...
app_EHRPim/src/mock/entity/pimeducations/pimeducations.ts
浏览文件 @
e0b61b45
...
...
@@ -4,12 +4,12 @@ const mock = MockAdapter.getInstance();
// 模拟数据
const
mockDatas
:
Array
<
any
>
=
[
{
"sxzy"
:
null
,
"jlczz"
:
null
,
"ygbh"
:
null
,
"ormorgsectorid"
:
null
,
"bz"
:
null
,
"reason"
:
null
,
"xl"
:
null
,
"xkml"
:
null
,
"jymc"
:
null
,
"jssj"
:
null
,
"ormorgid"
:
null
,
"bdwgznx"
:
null
,
"createdate"
:
"2020-05-18 1
8:55:01"
,
"enable"
:
1
,
"updateman"
:
"示例操作者"
,
"zjxtgznx"
:
null
,
"srfkey"
:
"1"
,
"gznx"
:
null
,
"cjgzsj"
:
null
,
"qssj"
:
null
,
"fj"
:
null
,
"pimeducationname"
:
"教育信息"
,
"pimeducationid"
:
"1"
,
"orgid"
:
null
,
"bjgznx"
:
null
,
"xllx"
:
null
,
"spstate"
:
null
,
"jlss"
:
null
,
"byyx"
:
null
,
"orgsectorid"
:
null
,
"tozjdate"
:
null
,
"btz"
:
null
,
"pimpersonid"
:
null
,
"sfdyxl"
:
null
,
"xxxz"
:
null
,
"xlcx"
:
null
,
"sfzgxl"
:
null
,
"jlspzt"
:
null
,
"xwz"
:
null
,
"degree"
:
null
,
"jlglbh"
:
null
,
"dbdwsj"
:
null
,
"dzjbjsj"
:
null
,
"updatedate"
:
"2020-05-18 18:55:01
"
,
"createman"
:
"示例操作者"
,
"pimpersonname"
:
null
},
{
"sxzy"
:
null
,
"jlczz"
:
null
,
"ygbh"
:
null
,
"ormorgsectorid"
:
null
,
"bz"
:
null
,
"reason"
:
null
,
"xl"
:
null
,
"xkml"
:
null
,
"jymc"
:
null
,
"jssj"
:
null
,
"ormorgid"
:
null
,
"bdwgznx"
:
null
,
"createdate"
:
"2020-05-18 1
8:55:01"
,
"enable"
:
1
,
"updateman"
:
"示例操作者"
,
"zjxtgznx"
:
null
,
"srfkey"
:
"2"
,
"gznx"
:
null
,
"cjgzsj"
:
null
,
"qssj"
:
null
,
"fj"
:
null
,
"pimeducationname"
:
"教育信息(1)"
,
"pimeducationid"
:
"2"
,
"orgid"
:
null
,
"bjgznx"
:
null
,
"xllx"
:
null
,
"spstate"
:
null
,
"jlss"
:
null
,
"byyx"
:
null
,
"orgsectorid"
:
null
,
"tozjdate"
:
null
,
"btz"
:
null
,
"pimpersonid"
:
null
,
"sfdyxl"
:
null
,
"xxxz"
:
null
,
"xlcx"
:
null
,
"sfzgxl"
:
null
,
"jlspzt"
:
null
,
"xwz"
:
null
,
"degree"
:
null
,
"jlglbh"
:
null
,
"dbdwsj"
:
null
,
"dzjbjsj"
:
null
,
"updatedate"
:
"2020-05-18 18:55:01
"
,
"createman"
:
"示例操作者"
,
"pimpersonname"
:
null
},
{
"sxzy"
:
null
,
"jlczz"
:
null
,
"ygbh"
:
null
,
"ormorgsectorid"
:
null
,
"bz"
:
null
,
"reason"
:
null
,
"xl"
:
null
,
"xkml"
:
null
,
"jymc"
:
null
,
"jssj"
:
null
,
"ormorgid"
:
null
,
"bdwgznx"
:
null
,
"createdate"
:
"2020-05-18 1
8:55:01"
,
"enable"
:
1
,
"updateman"
:
"示例操作者"
,
"zjxtgznx"
:
null
,
"srfkey"
:
"3"
,
"gznx"
:
null
,
"cjgzsj"
:
null
,
"qssj"
:
null
,
"fj"
:
null
,
"pimeducationname"
:
"教育信息(2)"
,
"pimeducationid"
:
"3"
,
"orgid"
:
null
,
"bjgznx"
:
null
,
"xllx"
:
null
,
"spstate"
:
null
,
"jlss"
:
null
,
"byyx"
:
null
,
"orgsectorid"
:
null
,
"tozjdate"
:
null
,
"btz"
:
null
,
"pimpersonid"
:
null
,
"sfdyxl"
:
null
,
"xxxz"
:
null
,
"xlcx"
:
null
,
"sfzgxl"
:
null
,
"jlspzt"
:
null
,
"xwz"
:
null
,
"degree"
:
null
,
"jlglbh"
:
null
,
"dbdwsj"
:
null
,
"dzjbjsj"
:
null
,
"updatedate"
:
"2020-05-18 18:55:01
"
,
"createman"
:
"示例操作者"
,
"pimpersonname"
:
null
},
{
"sxzy"
:
null
,
"jlczz"
:
null
,
"ygbh"
:
null
,
"ormorgsectorid"
:
null
,
"bz"
:
null
,
"reason"
:
null
,
"xl"
:
null
,
"xkml"
:
null
,
"jymc"
:
null
,
"jssj"
:
null
,
"ormorgid"
:
null
,
"bdwgznx"
:
null
,
"createdate"
:
"2020-05-18 1
8:55:01"
,
"enable"
:
1
,
"updateman"
:
"示例操作者"
,
"zjxtgznx"
:
null
,
"srfkey"
:
"4"
,
"gznx"
:
null
,
"cjgzsj"
:
null
,
"qssj"
:
null
,
"fj"
:
null
,
"pimeducationname"
:
"教育信息(3)"
,
"pimeducationid"
:
"4"
,
"orgid"
:
null
,
"bjgznx"
:
null
,
"xllx"
:
null
,
"spstate"
:
null
,
"jlss"
:
null
,
"byyx"
:
null
,
"orgsectorid"
:
null
,
"tozjdate"
:
null
,
"btz"
:
null
,
"pimpersonid"
:
null
,
"sfdyxl"
:
null
,
"xxxz"
:
null
,
"xlcx"
:
null
,
"sfzgxl"
:
null
,
"jlspzt"
:
null
,
"xwz"
:
null
,
"degree"
:
null
,
"jlglbh"
:
null
,
"dbdwsj"
:
null
,
"dzjbjsj"
:
null
,
"updatedate"
:
"2020-05-18 18:55:01
"
,
"createman"
:
"示例操作者"
,
"pimpersonname"
:
null
},
{
"sxzy"
:
null
,
"jlczz"
:
null
,
"ygbh"
:
null
,
"ormorgsectorid"
:
null
,
"bz"
:
null
,
"reason"
:
null
,
"xl"
:
null
,
"xkml"
:
null
,
"jymc"
:
null
,
"jssj"
:
null
,
"ormorgid"
:
null
,
"bdwgznx"
:
null
,
"createdate"
:
"2020-05-18 1
8:55:01"
,
"enable"
:
1
,
"updateman"
:
"示例操作者"
,
"zjxtgznx"
:
null
,
"srfkey"
:
"5"
,
"gznx"
:
null
,
"cjgzsj"
:
null
,
"qssj"
:
null
,
"fj"
:
null
,
"pimeducationname"
:
"教育信息(4)"
,
"pimeducationid"
:
"5"
,
"orgid"
:
null
,
"bjgznx"
:
null
,
"xllx"
:
null
,
"spstate"
:
null
,
"jlss"
:
null
,
"byyx"
:
null
,
"orgsectorid"
:
null
,
"tozjdate"
:
null
,
"btz"
:
null
,
"pimpersonid"
:
null
,
"sfdyxl"
:
null
,
"xxxz"
:
null
,
"xlcx"
:
null
,
"sfzgxl"
:
null
,
"jlspzt"
:
null
,
"xwz"
:
null
,
"degree"
:
null
,
"jlglbh"
:
null
,
"dbdwsj"
:
null
,
"dzjbjsj"
:
null
,
"updatedate"
:
"2020-05-18 18:55:01
"
,
"createman"
:
"示例操作者"
,
"pimpersonname"
:
null
},
{
"sxzy"
:
null
,
"jlczz"
:
null
,
"ygbh"
:
null
,
"ormorgsectorid"
:
null
,
"bz"
:
null
,
"reason"
:
null
,
"xl"
:
null
,
"xkml"
:
null
,
"jymc"
:
null
,
"jssj"
:
null
,
"ormorgid"
:
null
,
"bdwgznx"
:
null
,
"createdate"
:
"2020-05-18 1
8:55:01"
,
"enable"
:
1
,
"updateman"
:
"示例操作者"
,
"zjxtgznx"
:
null
,
"srfkey"
:
"6"
,
"gznx"
:
null
,
"cjgzsj"
:
null
,
"qssj"
:
null
,
"fj"
:
null
,
"pimeducationname"
:
"教育信息(5)"
,
"pimeducationid"
:
"6"
,
"orgid"
:
null
,
"bjgznx"
:
null
,
"xllx"
:
null
,
"spstate"
:
null
,
"jlss"
:
null
,
"byyx"
:
null
,
"orgsectorid"
:
null
,
"tozjdate"
:
null
,
"btz"
:
null
,
"pimpersonid"
:
null
,
"sfdyxl"
:
null
,
"xxxz"
:
null
,
"xlcx"
:
null
,
"sfzgxl"
:
null
,
"jlspzt"
:
null
,
"xwz"
:
null
,
"degree"
:
null
,
"jlglbh"
:
null
,
"dbdwsj"
:
null
,
"dzjbjsj"
:
null
,
"updatedate"
:
"2020-05-18 18:55:01
"
,
"createman"
:
"示例操作者"
,
"pimpersonname"
:
null
}
{
"sxzy"
:
null
,
"jlczz"
:
null
,
"ygbh"
:
null
,
"ormorgsectorid"
:
null
,
"bz"
:
null
,
"reason"
:
null
,
"xl"
:
null
,
"xkml"
:
null
,
"jymc"
:
null
,
"jssj"
:
null
,
"ormorgid"
:
null
,
"bdwgznx"
:
null
,
"createdate"
:
"2020-05-18 1
9:55:55"
,
"enable"
:
1
,
"updateman"
:
"示例操作者"
,
"zjxtgznx"
:
null
,
"srfkey"
:
"1"
,
"gznx"
:
null
,
"cjgzsj"
:
null
,
"qssj"
:
null
,
"fj"
:
null
,
"pimeducationname"
:
"教育信息"
,
"pimeducationid"
:
"1"
,
"orgid"
:
null
,
"bjgznx"
:
null
,
"xllx"
:
null
,
"spstate"
:
null
,
"jlss"
:
null
,
"byyx"
:
null
,
"orgsectorid"
:
null
,
"tozjdate"
:
null
,
"btz"
:
null
,
"pimpersonid"
:
null
,
"sfdyxl"
:
null
,
"xxxz"
:
null
,
"xlcx"
:
null
,
"sfzgxl"
:
null
,
"jlspzt"
:
null
,
"xwz"
:
null
,
"degree"
:
null
,
"jlglbh"
:
null
,
"dbdwsj"
:
null
,
"dzjbjsj"
:
null
,
"updatedate"
:
"2020-05-18 19:55:55
"
,
"createman"
:
"示例操作者"
,
"pimpersonname"
:
null
},
{
"sxzy"
:
null
,
"jlczz"
:
null
,
"ygbh"
:
null
,
"ormorgsectorid"
:
null
,
"bz"
:
null
,
"reason"
:
null
,
"xl"
:
null
,
"xkml"
:
null
,
"jymc"
:
null
,
"jssj"
:
null
,
"ormorgid"
:
null
,
"bdwgznx"
:
null
,
"createdate"
:
"2020-05-18 1
9:55:55"
,
"enable"
:
1
,
"updateman"
:
"示例操作者"
,
"zjxtgznx"
:
null
,
"srfkey"
:
"2"
,
"gznx"
:
null
,
"cjgzsj"
:
null
,
"qssj"
:
null
,
"fj"
:
null
,
"pimeducationname"
:
"教育信息(1)"
,
"pimeducationid"
:
"2"
,
"orgid"
:
null
,
"bjgznx"
:
null
,
"xllx"
:
null
,
"spstate"
:
null
,
"jlss"
:
null
,
"byyx"
:
null
,
"orgsectorid"
:
null
,
"tozjdate"
:
null
,
"btz"
:
null
,
"pimpersonid"
:
null
,
"sfdyxl"
:
null
,
"xxxz"
:
null
,
"xlcx"
:
null
,
"sfzgxl"
:
null
,
"jlspzt"
:
null
,
"xwz"
:
null
,
"degree"
:
null
,
"jlglbh"
:
null
,
"dbdwsj"
:
null
,
"dzjbjsj"
:
null
,
"updatedate"
:
"2020-05-18 19:55:55
"
,
"createman"
:
"示例操作者"
,
"pimpersonname"
:
null
},
{
"sxzy"
:
null
,
"jlczz"
:
null
,
"ygbh"
:
null
,
"ormorgsectorid"
:
null
,
"bz"
:
null
,
"reason"
:
null
,
"xl"
:
null
,
"xkml"
:
null
,
"jymc"
:
null
,
"jssj"
:
null
,
"ormorgid"
:
null
,
"bdwgznx"
:
null
,
"createdate"
:
"2020-05-18 1
9:55:55"
,
"enable"
:
1
,
"updateman"
:
"示例操作者"
,
"zjxtgznx"
:
null
,
"srfkey"
:
"3"
,
"gznx"
:
null
,
"cjgzsj"
:
null
,
"qssj"
:
null
,
"fj"
:
null
,
"pimeducationname"
:
"教育信息(2)"
,
"pimeducationid"
:
"3"
,
"orgid"
:
null
,
"bjgznx"
:
null
,
"xllx"
:
null
,
"spstate"
:
null
,
"jlss"
:
null
,
"byyx"
:
null
,
"orgsectorid"
:
null
,
"tozjdate"
:
null
,
"btz"
:
null
,
"pimpersonid"
:
null
,
"sfdyxl"
:
null
,
"xxxz"
:
null
,
"xlcx"
:
null
,
"sfzgxl"
:
null
,
"jlspzt"
:
null
,
"xwz"
:
null
,
"degree"
:
null
,
"jlglbh"
:
null
,
"dbdwsj"
:
null
,
"dzjbjsj"
:
null
,
"updatedate"
:
"2020-05-18 19:55:55
"
,
"createman"
:
"示例操作者"
,
"pimpersonname"
:
null
},
{
"sxzy"
:
null
,
"jlczz"
:
null
,
"ygbh"
:
null
,
"ormorgsectorid"
:
null
,
"bz"
:
null
,
"reason"
:
null
,
"xl"
:
null
,
"xkml"
:
null
,
"jymc"
:
null
,
"jssj"
:
null
,
"ormorgid"
:
null
,
"bdwgznx"
:
null
,
"createdate"
:
"2020-05-18 1
9:55:55"
,
"enable"
:
1
,
"updateman"
:
"示例操作者"
,
"zjxtgznx"
:
null
,
"srfkey"
:
"4"
,
"gznx"
:
null
,
"cjgzsj"
:
null
,
"qssj"
:
null
,
"fj"
:
null
,
"pimeducationname"
:
"教育信息(3)"
,
"pimeducationid"
:
"4"
,
"orgid"
:
null
,
"bjgznx"
:
null
,
"xllx"
:
null
,
"spstate"
:
null
,
"jlss"
:
null
,
"byyx"
:
null
,
"orgsectorid"
:
null
,
"tozjdate"
:
null
,
"btz"
:
null
,
"pimpersonid"
:
null
,
"sfdyxl"
:
null
,
"xxxz"
:
null
,
"xlcx"
:
null
,
"sfzgxl"
:
null
,
"jlspzt"
:
null
,
"xwz"
:
null
,
"degree"
:
null
,
"jlglbh"
:
null
,
"dbdwsj"
:
null
,
"dzjbjsj"
:
null
,
"updatedate"
:
"2020-05-18 19:55:55
"
,
"createman"
:
"示例操作者"
,
"pimpersonname"
:
null
},
{
"sxzy"
:
null
,
"jlczz"
:
null
,
"ygbh"
:
null
,
"ormorgsectorid"
:
null
,
"bz"
:
null
,
"reason"
:
null
,
"xl"
:
null
,
"xkml"
:
null
,
"jymc"
:
null
,
"jssj"
:
null
,
"ormorgid"
:
null
,
"bdwgznx"
:
null
,
"createdate"
:
"2020-05-18 1
9:55:55"
,
"enable"
:
1
,
"updateman"
:
"示例操作者"
,
"zjxtgznx"
:
null
,
"srfkey"
:
"5"
,
"gznx"
:
null
,
"cjgzsj"
:
null
,
"qssj"
:
null
,
"fj"
:
null
,
"pimeducationname"
:
"教育信息(4)"
,
"pimeducationid"
:
"5"
,
"orgid"
:
null
,
"bjgznx"
:
null
,
"xllx"
:
null
,
"spstate"
:
null
,
"jlss"
:
null
,
"byyx"
:
null
,
"orgsectorid"
:
null
,
"tozjdate"
:
null
,
"btz"
:
null
,
"pimpersonid"
:
null
,
"sfdyxl"
:
null
,
"xxxz"
:
null
,
"xlcx"
:
null
,
"sfzgxl"
:
null
,
"jlspzt"
:
null
,
"xwz"
:
null
,
"degree"
:
null
,
"jlglbh"
:
null
,
"dbdwsj"
:
null
,
"dzjbjsj"
:
null
,
"updatedate"
:
"2020-05-18 19:55:55
"
,
"createman"
:
"示例操作者"
,
"pimpersonname"
:
null
},
{
"sxzy"
:
null
,
"jlczz"
:
null
,
"ygbh"
:
null
,
"ormorgsectorid"
:
null
,
"bz"
:
null
,
"reason"
:
null
,
"xl"
:
null
,
"xkml"
:
null
,
"jymc"
:
null
,
"jssj"
:
null
,
"ormorgid"
:
null
,
"bdwgznx"
:
null
,
"createdate"
:
"2020-05-18 1
9:55:55"
,
"enable"
:
1
,
"updateman"
:
"示例操作者"
,
"zjxtgznx"
:
null
,
"srfkey"
:
"6"
,
"gznx"
:
null
,
"cjgzsj"
:
null
,
"qssj"
:
null
,
"fj"
:
null
,
"pimeducationname"
:
"教育信息(5)"
,
"pimeducationid"
:
"6"
,
"orgid"
:
null
,
"bjgznx"
:
null
,
"xllx"
:
null
,
"spstate"
:
null
,
"jlss"
:
null
,
"byyx"
:
null
,
"orgsectorid"
:
null
,
"tozjdate"
:
null
,
"btz"
:
null
,
"pimpersonid"
:
null
,
"sfdyxl"
:
null
,
"xxxz"
:
null
,
"xlcx"
:
null
,
"sfzgxl"
:
null
,
"jlspzt"
:
null
,
"xwz"
:
null
,
"degree"
:
null
,
"jlglbh"
:
null
,
"dbdwsj"
:
null
,
"dzjbjsj"
:
null
,
"updatedate"
:
"2020-05-18 19:55:55
"
,
"createman"
:
"示例操作者"
,
"pimpersonname"
:
null
}
];
...
...
app_EHRPim/src/service/pimarchives/pimarchives-service-base.ts
浏览文件 @
e0b61b45
...
...
@@ -85,9 +85,9 @@ export default class PIMARCHIVESServiceBase extends EntityService {
}
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/pimarchives/getdraft`
,
isloading
);
res
.
data
.
pimarchives
=
data
.
pimarchives
;
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimarchiveschanges'
,
JSON
.
stringify
(
res
.
data
.
pimarchiveschanges
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimarchivesrecords'
,
JSON
.
stringify
(
res
.
data
.
pimarchivesrecords
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimarchivesloanandreturns'
,
JSON
.
stringify
(
res
.
data
.
pimarchivesloanandreturns
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimarchiveschanges'
,
JSON
.
stringify
(
res
.
data
.
pimarchiveschanges
));
return
res
;
}
...
...
@@ -105,21 +105,6 @@ export default class PIMARCHIVESServiceBase extends EntityService {
return
Http
.
getInstance
().
post
(
`/pimpeople/
${
context
.
pimperson
}
/pimarchives/
${
context
.
pimarchives
}
/save`
,
data
,
isloading
);
}
let
masterData
:
any
=
{};
let
pimarchiveschangesData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimarchiveschanges'
),
'undefined'
)){
pimarchiveschangesData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimarchiveschanges'
)
as
any
);
if
(
pimarchiveschangesData
&&
pimarchiveschangesData
.
length
&&
pimarchiveschangesData
.
length
>
0
){
pimarchiveschangesData
.
forEach
((
item
:
any
)
=>
{
if
(
item
.
srffrontuf
){
if
(
Object
.
is
(
item
.
srffrontuf
,
"0"
)){
item
.
pimarchiveschangeid
=
null
;
}
delete
item
.
srffrontuf
;
}
});
}
}
masterData
.
pimarchiveschanges
=
pimarchiveschangesData
;
let
pimarchivesrecordsData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimarchivesrecords'
),
'undefined'
)){
pimarchivesrecordsData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimarchivesrecords'
)
as
any
);
...
...
@@ -150,11 +135,26 @@ export default class PIMARCHIVESServiceBase extends EntityService {
}
}
masterData
.
pimarchivesloanandreturns
=
pimarchivesloanandreturnsData
;
let
pimarchiveschangesData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimarchiveschanges'
),
'undefined'
)){
pimarchiveschangesData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimarchiveschanges'
)
as
any
);
if
(
pimarchiveschangesData
&&
pimarchiveschangesData
.
length
&&
pimarchiveschangesData
.
length
>
0
){
pimarchiveschangesData
.
forEach
((
item
:
any
)
=>
{
if
(
item
.
srffrontuf
){
if
(
Object
.
is
(
item
.
srffrontuf
,
"0"
)){
item
.
pimarchiveschangeid
=
null
;
}
delete
item
.
srffrontuf
;
}
});
}
}
masterData
.
pimarchiveschanges
=
pimarchiveschangesData
;
Object
.
assign
(
data
,
masterData
);
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/pimarchives/
${
context
.
pimarchives
}
/save`
,
data
,
isloading
);
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimarchiveschanges'
,
JSON
.
stringify
(
res
.
data
.
pimarchiveschanges
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimarchivesrecords'
,
JSON
.
stringify
(
res
.
data
.
pimarchivesrecords
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimarchivesloanandreturns'
,
JSON
.
stringify
(
res
.
data
.
pimarchivesloanandreturns
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimarchiveschanges'
,
JSON
.
stringify
(
res
.
data
.
pimarchiveschanges
));
return
res
;
}
...
...
@@ -172,9 +172,9 @@ export default class PIMARCHIVESServiceBase extends EntityService {
return
Http
.
getInstance
().
get
(
`/pimpeople/
${
context
.
pimperson
}
/pimarchives/
${
context
.
pimarchives
}
`
,
isloading
);
}
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/pimarchives/
${
context
.
pimarchives
}
`
,
isloading
);
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimarchiveschanges'
,
JSON
.
stringify
(
res
.
data
.
pimarchiveschanges
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimarchivesrecords'
,
JSON
.
stringify
(
res
.
data
.
pimarchivesrecords
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimarchivesloanandreturns'
,
JSON
.
stringify
(
res
.
data
.
pimarchivesloanandreturns
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimarchiveschanges'
,
JSON
.
stringify
(
res
.
data
.
pimarchiveschanges
));
return
res
;
}
...
...
@@ -193,21 +193,6 @@ export default class PIMARCHIVESServiceBase extends EntityService {
return
Http
.
getInstance
().
put
(
`/pimpeople/
${
context
.
pimperson
}
/pimarchives/
${
context
.
pimarchives
}
`
,
data
,
isloading
);
}
let
masterData
:
any
=
{};
let
pimarchiveschangesData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimarchiveschanges'
),
'undefined'
)){
pimarchiveschangesData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimarchiveschanges'
)
as
any
);
if
(
pimarchiveschangesData
&&
pimarchiveschangesData
.
length
&&
pimarchiveschangesData
.
length
>
0
){
pimarchiveschangesData
.
forEach
((
item
:
any
)
=>
{
if
(
item
.
srffrontuf
){
if
(
Object
.
is
(
item
.
srffrontuf
,
"0"
)){
item
.
pimarchiveschangeid
=
null
;
}
delete
item
.
srffrontuf
;
}
});
}
}
masterData
.
pimarchiveschanges
=
pimarchiveschangesData
;
let
pimarchivesrecordsData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimarchivesrecords'
),
'undefined'
)){
pimarchivesrecordsData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimarchivesrecords'
)
as
any
);
...
...
@@ -238,11 +223,26 @@ export default class PIMARCHIVESServiceBase extends EntityService {
}
}
masterData
.
pimarchivesloanandreturns
=
pimarchivesloanandreturnsData
;
let
pimarchiveschangesData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimarchiveschanges'
),
'undefined'
)){
pimarchiveschangesData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimarchiveschanges'
)
as
any
);
if
(
pimarchiveschangesData
&&
pimarchiveschangesData
.
length
&&
pimarchiveschangesData
.
length
>
0
){
pimarchiveschangesData
.
forEach
((
item
:
any
)
=>
{
if
(
item
.
srffrontuf
){
if
(
Object
.
is
(
item
.
srffrontuf
,
"0"
)){
item
.
pimarchiveschangeid
=
null
;
}
delete
item
.
srffrontuf
;
}
});
}
}
masterData
.
pimarchiveschanges
=
pimarchiveschangesData
;
Object
.
assign
(
data
,
masterData
);
let
res
:
any
=
await
Http
.
getInstance
().
put
(
`/pimarchives/
${
context
.
pimarchives
}
`
,
data
,
isloading
);
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimarchiveschanges'
,
JSON
.
stringify
(
res
.
data
.
pimarchiveschanges
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimarchivesrecords'
,
JSON
.
stringify
(
res
.
data
.
pimarchivesrecords
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimarchivesloanandreturns'
,
JSON
.
stringify
(
res
.
data
.
pimarchivesloanandreturns
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimarchiveschanges'
,
JSON
.
stringify
(
res
.
data
.
pimarchiveschanges
));
return
res
;
}
...
...
@@ -282,21 +282,6 @@ export default class PIMARCHIVESServiceBase extends EntityService {
return
Http
.
getInstance
().
post
(
`/pimpeople/
${
context
.
pimperson
}
/pimarchives`
,
data
,
isloading
);
}
let
masterData
:
any
=
{};
let
pimarchiveschangesData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimarchiveschanges'
),
'undefined'
)){
pimarchiveschangesData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimarchiveschanges'
)
as
any
);
if
(
pimarchiveschangesData
&&
pimarchiveschangesData
.
length
&&
pimarchiveschangesData
.
length
>
0
){
pimarchiveschangesData
.
forEach
((
item
:
any
)
=>
{
if
(
item
.
srffrontuf
){
if
(
Object
.
is
(
item
.
srffrontuf
,
"0"
)){
item
.
pimarchiveschangeid
=
null
;
}
delete
item
.
srffrontuf
;
}
});
}
}
masterData
.
pimarchiveschanges
=
pimarchiveschangesData
;
let
pimarchivesrecordsData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimarchivesrecords'
),
'undefined'
)){
pimarchivesrecordsData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimarchivesrecords'
)
as
any
);
...
...
@@ -327,6 +312,21 @@ export default class PIMARCHIVESServiceBase extends EntityService {
}
}
masterData
.
pimarchivesloanandreturns
=
pimarchivesloanandreturnsData
;
let
pimarchiveschangesData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimarchiveschanges'
),
'undefined'
)){
pimarchiveschangesData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimarchiveschanges'
)
as
any
);
if
(
pimarchiveschangesData
&&
pimarchiveschangesData
.
length
&&
pimarchiveschangesData
.
length
>
0
){
pimarchiveschangesData
.
forEach
((
item
:
any
)
=>
{
if
(
item
.
srffrontuf
){
if
(
Object
.
is
(
item
.
srffrontuf
,
"0"
)){
item
.
pimarchiveschangeid
=
null
;
}
delete
item
.
srffrontuf
;
}
});
}
}
masterData
.
pimarchiveschanges
=
pimarchiveschangesData
;
Object
.
assign
(
data
,
masterData
);
if
(
!
data
.
srffrontuf
||
data
.
srffrontuf
!==
"1"
){
data
[
this
.
APPDEKEY
]
=
null
;
...
...
@@ -336,9 +336,9 @@ export default class PIMARCHIVESServiceBase extends EntityService {
}
let
tempContext
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
context
));
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/pimarchives`
,
data
,
isloading
);
this
.
tempStorage
.
setItem
(
tempContext
.
srfsessionkey
+
'_pimarchiveschanges'
,
JSON
.
stringify
(
res
.
data
.
pimarchiveschanges
));
this
.
tempStorage
.
setItem
(
tempContext
.
srfsessionkey
+
'_pimarchivesrecords'
,
JSON
.
stringify
(
res
.
data
.
pimarchivesrecords
));
this
.
tempStorage
.
setItem
(
tempContext
.
srfsessionkey
+
'_pimarchivesloanandreturns'
,
JSON
.
stringify
(
res
.
data
.
pimarchivesloanandreturns
));
this
.
tempStorage
.
setItem
(
tempContext
.
srfsessionkey
+
'_pimarchiveschanges'
,
JSON
.
stringify
(
res
.
data
.
pimarchiveschanges
));
return
res
;
}
...
...
app_EHRPim/src/service/pimperson/pimperson-service-base.ts
浏览文件 @
e0b61b45
...
...
@@ -65,36 +65,6 @@ export default class PIMPERSONServiceBase extends EntityService {
*/
public
async
Update
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
masterData
:
any
=
{};
let
trmtrianpeopleData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_trmtrianpeople'
),
'undefined'
)){
trmtrianpeopleData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_trmtrianpeople'
)
as
any
);
if
(
trmtrianpeopleData
&&
trmtrianpeopleData
.
length
&&
trmtrianpeopleData
.
length
>
0
){
trmtrianpeopleData
.
forEach
((
item
:
any
)
=>
{
if
(
item
.
srffrontuf
){
if
(
Object
.
is
(
item
.
srffrontuf
,
"0"
)){
item
.
trmtrianpersonid
=
null
;
}
delete
item
.
srffrontuf
;
}
});
}
}
masterData
.
trmtrianpeople
=
trmtrianpeopleData
;
let
pimpatentsData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimpatents'
),
'undefined'
)){
pimpatentsData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimpatents'
)
as
any
);
if
(
pimpatentsData
&&
pimpatentsData
.
length
&&
pimpatentsData
.
length
>
0
){
pimpatentsData
.
forEach
((
item
:
any
)
=>
{
if
(
item
.
srffrontuf
){
if
(
Object
.
is
(
item
.
srffrontuf
,
"0"
)){
item
.
pimpatentid
=
null
;
}
delete
item
.
srffrontuf
;
}
});
}
}
masterData
.
pimpatents
=
pimpatentsData
;
let
pimachievementsData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimachievements'
),
'undefined'
)){
pimachievementsData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimachievements'
)
as
any
);
...
...
@@ -110,21 +80,6 @@ export default class PIMPERSONServiceBase extends EntityService {
}
}
masterData
.
pimachievements
=
pimachievementsData
;
let
pimvacationsData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimvacations'
),
'undefined'
)){
pimvacationsData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimvacations'
)
as
any
);
if
(
pimvacationsData
&&
pimvacationsData
.
length
&&
pimvacationsData
.
length
>
0
){
pimvacationsData
.
forEach
((
item
:
any
)
=>
{
if
(
item
.
srffrontuf
){
if
(
Object
.
is
(
item
.
srffrontuf
,
"0"
)){
item
.
pimvacationid
=
null
;
}
delete
item
.
srffrontuf
;
}
});
}
}
masterData
.
pimvacations
=
pimvacationsData
;
let
pimpapersData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimpapers'
),
'undefined'
)){
pimpapersData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimpapers'
)
as
any
);
...
...
@@ -170,21 +125,6 @@ export default class PIMPERSONServiceBase extends EntityService {
}
}
masterData
.
pimrewardpunishments
=
pimrewardpunishmentsData
;
let
pimcontractsData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimcontracts'
),
'undefined'
)){
pimcontractsData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimcontracts'
)
as
any
);
if
(
pimcontractsData
&&
pimcontractsData
.
length
&&
pimcontractsData
.
length
>
0
){
pimcontractsData
.
forEach
((
item
:
any
)
=>
{
if
(
item
.
srffrontuf
){
if
(
Object
.
is
(
item
.
srffrontuf
,
"0"
)){
item
.
pimcontractid
=
null
;
}
delete
item
.
srffrontuf
;
}
});
}
}
masterData
.
pimcontracts
=
pimcontractsData
;
let
pimresearchfindingsData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimresearchfindings'
),
'undefined'
)){
pimresearchfindingsData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimresearchfindings'
)
as
any
);
...
...
@@ -215,21 +155,21 @@ export default class PIMPERSONServiceBase extends EntityService {
}
}
masterData
.
attendancemreportmxes
=
attendancemreportmxesData
;
let
pim
education
sData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pim
education
s'
),
'undefined'
)){
pim
educationsData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimeducation
s'
)
as
any
);
if
(
pim
educationsData
&&
pimeducationsData
.
length
&&
pimeducation
sData
.
length
>
0
){
pim
education
sData
.
forEach
((
item
:
any
)
=>
{
let
pim
contract
sData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pim
contract
s'
),
'undefined'
)){
pim
contractsData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimcontract
s'
)
as
any
);
if
(
pim
contractsData
&&
pimcontractsData
.
length
&&
pimcontract
sData
.
length
>
0
){
pim
contract
sData
.
forEach
((
item
:
any
)
=>
{
if
(
item
.
srffrontuf
){
if
(
Object
.
is
(
item
.
srffrontuf
,
"0"
)){
item
.
pim
education
id
=
null
;
item
.
pim
contract
id
=
null
;
}
delete
item
.
srffrontuf
;
}
});
}
}
masterData
.
pim
educations
=
pimeducation
sData
;
masterData
.
pim
contracts
=
pimcontract
sData
;
let
pimtitlesData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimtitles'
),
'undefined'
)){
pimtitlesData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimtitles'
)
as
any
);
...
...
@@ -245,6 +185,36 @@ export default class PIMPERSONServiceBase extends EntityService {
}
}
masterData
.
pimtitles
=
pimtitlesData
;
let
pimeducationsData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimeducations'
),
'undefined'
)){
pimeducationsData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimeducations'
)
as
any
);
if
(
pimeducationsData
&&
pimeducationsData
.
length
&&
pimeducationsData
.
length
>
0
){
pimeducationsData
.
forEach
((
item
:
any
)
=>
{
if
(
item
.
srffrontuf
){
if
(
Object
.
is
(
item
.
srffrontuf
,
"0"
)){
item
.
pimeducationid
=
null
;
}
delete
item
.
srffrontuf
;
}
});
}
}
masterData
.
pimeducations
=
pimeducationsData
;
let
pimvocationalsData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimvocationals'
),
'undefined'
)){
pimvocationalsData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimvocationals'
)
as
any
);
if
(
pimvocationalsData
&&
pimvocationalsData
.
length
&&
pimvocationalsData
.
length
>
0
){
pimvocationalsData
.
forEach
((
item
:
any
)
=>
{
if
(
item
.
srffrontuf
){
if
(
Object
.
is
(
item
.
srffrontuf
,
"0"
)){
item
.
pimvocationalid
=
null
;
}
delete
item
.
srffrontuf
;
}
});
}
}
masterData
.
pimvocationals
=
pimvocationalsData
;
let
pimfaminfosData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimfaminfos'
),
'undefined'
)){
pimfaminfosData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimfaminfos'
)
as
any
);
...
...
@@ -290,21 +260,6 @@ export default class PIMPERSONServiceBase extends EntityService {
}
}
masterData
.
pimpersonabilities
=
pimpersonabilitiesData
;
let
pimvocationalsData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimvocationals'
),
'undefined'
)){
pimvocationalsData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimvocationals'
)
as
any
);
if
(
pimvocationalsData
&&
pimvocationalsData
.
length
&&
pimvocationalsData
.
length
>
0
){
pimvocationalsData
.
forEach
((
item
:
any
)
=>
{
if
(
item
.
srffrontuf
){
if
(
Object
.
is
(
item
.
srffrontuf
,
"0"
)){
item
.
pimvocationalid
=
null
;
}
delete
item
.
srffrontuf
;
}
});
}
}
masterData
.
pimvocationals
=
pimvocationalsData
;
let
pimdistirbutionsData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimdistirbutions'
),
'undefined'
)){
pimdistirbutionsData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimdistirbutions'
)
as
any
);
...
...
@@ -365,6 +320,21 @@ export default class PIMPERSONServiceBase extends EntityService {
}
}
masterData
.
pimarmycadres
=
pimarmycadresData
;
let
pimpatentsData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimpatents'
),
'undefined'
)){
pimpatentsData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimpatents'
)
as
any
);
if
(
pimpatentsData
&&
pimpatentsData
.
length
&&
pimpatentsData
.
length
>
0
){
pimpatentsData
.
forEach
((
item
:
any
)
=>
{
if
(
item
.
srffrontuf
){
if
(
Object
.
is
(
item
.
srffrontuf
,
"0"
)){
item
.
pimpatentid
=
null
;
}
delete
item
.
srffrontuf
;
}
});
}
}
masterData
.
pimpatents
=
pimpatentsData
;
let
pimarchivesData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimarchives'
),
'undefined'
)){
pimarchivesData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimarchives'
)
as
any
);
...
...
@@ -380,29 +350,59 @@ export default class PIMPERSONServiceBase extends EntityService {
}
}
masterData
.
pimarchives
=
pimarchivesData
;
let
trmtrianpeopleData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_trmtrianpeople'
),
'undefined'
)){
trmtrianpeopleData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_trmtrianpeople'
)
as
any
);
if
(
trmtrianpeopleData
&&
trmtrianpeopleData
.
length
&&
trmtrianpeopleData
.
length
>
0
){
trmtrianpeopleData
.
forEach
((
item
:
any
)
=>
{
if
(
item
.
srffrontuf
){
if
(
Object
.
is
(
item
.
srffrontuf
,
"0"
)){
item
.
trmtrianpersonid
=
null
;
}
delete
item
.
srffrontuf
;
}
});
}
}
masterData
.
trmtrianpeople
=
trmtrianpeopleData
;
let
pimvacationsData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimvacations'
),
'undefined'
)){
pimvacationsData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimvacations'
)
as
any
);
if
(
pimvacationsData
&&
pimvacationsData
.
length
&&
pimvacationsData
.
length
>
0
){
pimvacationsData
.
forEach
((
item
:
any
)
=>
{
if
(
item
.
srffrontuf
){
if
(
Object
.
is
(
item
.
srffrontuf
,
"0"
)){
item
.
pimvacationid
=
null
;
}
delete
item
.
srffrontuf
;
}
});
}
}
masterData
.
pimvacations
=
pimvacationsData
;
Object
.
assign
(
data
,
masterData
);
let
res
:
any
=
await
Http
.
getInstance
().
put
(
`/pimpeople/
${
context
.
pimperson
}
`
,
data
,
isloading
);
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_trmtrianpeople'
,
JSON
.
stringify
(
res
.
data
.
trmtrianpeople
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimpatents'
,
JSON
.
stringify
(
res
.
data
.
pimpatents
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimachievements'
,
JSON
.
stringify
(
res
.
data
.
pimachievements
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimvacations'
,
JSON
.
stringify
(
res
.
data
.
pimvacations
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimpapers'
,
JSON
.
stringify
(
res
.
data
.
pimpapers
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimlanguageabilities'
,
JSON
.
stringify
(
res
.
data
.
pimlanguageabilities
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimrewardpunishments'
,
JSON
.
stringify
(
res
.
data
.
pimrewardpunishments
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimcontracts'
,
JSON
.
stringify
(
res
.
data
.
pimcontracts
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimresearchfindings'
,
JSON
.
stringify
(
res
.
data
.
pimresearchfindings
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_attendancemreportmxes'
,
JSON
.
stringify
(
res
.
data
.
attendancemreportmxes
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pim
educations'
,
JSON
.
stringify
(
res
.
data
.
pimeducation
s
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pim
contracts'
,
JSON
.
stringify
(
res
.
data
.
pimcontract
s
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimtitles'
,
JSON
.
stringify
(
res
.
data
.
pimtitles
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimeducations'
,
JSON
.
stringify
(
res
.
data
.
pimeducations
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimvocationals'
,
JSON
.
stringify
(
res
.
data
.
pimvocationals
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimfaminfos'
,
JSON
.
stringify
(
res
.
data
.
pimfaminfos
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimworkhistories'
,
JSON
.
stringify
(
res
.
data
.
pimworkhistories
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimpersonabilities'
,
JSON
.
stringify
(
res
.
data
.
pimpersonabilities
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimvocationals'
,
JSON
.
stringify
(
res
.
data
.
pimvocationals
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimdistirbutions'
,
JSON
.
stringify
(
res
.
data
.
pimdistirbutions
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimpersonchanges'
,
JSON
.
stringify
(
res
.
data
.
pimpersonchanges
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimexitandentries'
,
JSON
.
stringify
(
res
.
data
.
pimexitandentries
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimarmycadres'
,
JSON
.
stringify
(
res
.
data
.
pimarmycadres
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimpatents'
,
JSON
.
stringify
(
res
.
data
.
pimpatents
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimarchives'
,
JSON
.
stringify
(
res
.
data
.
pimarchives
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_trmtrianpeople'
,
JSON
.
stringify
(
res
.
data
.
trmtrianpeople
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimvacations'
,
JSON
.
stringify
(
res
.
data
.
pimvacations
));
return
res
;
}
...
...
@@ -443,27 +443,27 @@ export default class PIMPERSONServiceBase extends EntityService {
*/
public
async
Get
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/pimpeople/
${
context
.
pimperson
}
`
,
isloading
);
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_trmtrianpeople'
,
JSON
.
stringify
(
res
.
data
.
trmtrianpeople
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimpatents'
,
JSON
.
stringify
(
res
.
data
.
pimpatents
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimachievements'
,
JSON
.
stringify
(
res
.
data
.
pimachievements
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimvacations'
,
JSON
.
stringify
(
res
.
data
.
pimvacations
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimpapers'
,
JSON
.
stringify
(
res
.
data
.
pimpapers
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimlanguageabilities'
,
JSON
.
stringify
(
res
.
data
.
pimlanguageabilities
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimrewardpunishments'
,
JSON
.
stringify
(
res
.
data
.
pimrewardpunishments
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimcontracts'
,
JSON
.
stringify
(
res
.
data
.
pimcontracts
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimresearchfindings'
,
JSON
.
stringify
(
res
.
data
.
pimresearchfindings
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_attendancemreportmxes'
,
JSON
.
stringify
(
res
.
data
.
attendancemreportmxes
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pim
educations'
,
JSON
.
stringify
(
res
.
data
.
pimeducation
s
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pim
contracts'
,
JSON
.
stringify
(
res
.
data
.
pimcontract
s
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimtitles'
,
JSON
.
stringify
(
res
.
data
.
pimtitles
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimeducations'
,
JSON
.
stringify
(
res
.
data
.
pimeducations
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimvocationals'
,
JSON
.
stringify
(
res
.
data
.
pimvocationals
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimfaminfos'
,
JSON
.
stringify
(
res
.
data
.
pimfaminfos
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimworkhistories'
,
JSON
.
stringify
(
res
.
data
.
pimworkhistories
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimpersonabilities'
,
JSON
.
stringify
(
res
.
data
.
pimpersonabilities
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimvocationals'
,
JSON
.
stringify
(
res
.
data
.
pimvocationals
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimdistirbutions'
,
JSON
.
stringify
(
res
.
data
.
pimdistirbutions
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimpersonchanges'
,
JSON
.
stringify
(
res
.
data
.
pimpersonchanges
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimexitandentries'
,
JSON
.
stringify
(
res
.
data
.
pimexitandentries
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimarmycadres'
,
JSON
.
stringify
(
res
.
data
.
pimarmycadres
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimpatents'
,
JSON
.
stringify
(
res
.
data
.
pimpatents
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimarchives'
,
JSON
.
stringify
(
res
.
data
.
pimarchives
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_trmtrianpeople'
,
JSON
.
stringify
(
res
.
data
.
trmtrianpeople
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimvacations'
,
JSON
.
stringify
(
res
.
data
.
pimvacations
));
return
res
;
}
...
...
@@ -505,36 +505,6 @@ export default class PIMPERSONServiceBase extends EntityService {
*/
public
async
Create
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
masterData
:
any
=
{};
let
trmtrianpeopleData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_trmtrianpeople'
),
'undefined'
)){
trmtrianpeopleData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_trmtrianpeople'
)
as
any
);
if
(
trmtrianpeopleData
&&
trmtrianpeopleData
.
length
&&
trmtrianpeopleData
.
length
>
0
){
trmtrianpeopleData
.
forEach
((
item
:
any
)
=>
{
if
(
item
.
srffrontuf
){
if
(
Object
.
is
(
item
.
srffrontuf
,
"0"
)){
item
.
trmtrianpersonid
=
null
;
}
delete
item
.
srffrontuf
;
}
});
}
}
masterData
.
trmtrianpeople
=
trmtrianpeopleData
;
let
pimpatentsData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimpatents'
),
'undefined'
)){
pimpatentsData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimpatents'
)
as
any
);
if
(
pimpatentsData
&&
pimpatentsData
.
length
&&
pimpatentsData
.
length
>
0
){
pimpatentsData
.
forEach
((
item
:
any
)
=>
{
if
(
item
.
srffrontuf
){
if
(
Object
.
is
(
item
.
srffrontuf
,
"0"
)){
item
.
pimpatentid
=
null
;
}
delete
item
.
srffrontuf
;
}
});
}
}
masterData
.
pimpatents
=
pimpatentsData
;
let
pimachievementsData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimachievements'
),
'undefined'
)){
pimachievementsData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimachievements'
)
as
any
);
...
...
@@ -550,21 +520,6 @@ export default class PIMPERSONServiceBase extends EntityService {
}
}
masterData
.
pimachievements
=
pimachievementsData
;
let
pimvacationsData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimvacations'
),
'undefined'
)){
pimvacationsData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimvacations'
)
as
any
);
if
(
pimvacationsData
&&
pimvacationsData
.
length
&&
pimvacationsData
.
length
>
0
){
pimvacationsData
.
forEach
((
item
:
any
)
=>
{
if
(
item
.
srffrontuf
){
if
(
Object
.
is
(
item
.
srffrontuf
,
"0"
)){
item
.
pimvacationid
=
null
;
}
delete
item
.
srffrontuf
;
}
});
}
}
masterData
.
pimvacations
=
pimvacationsData
;
let
pimpapersData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimpapers'
),
'undefined'
)){
pimpapersData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimpapers'
)
as
any
);
...
...
@@ -610,21 +565,6 @@ export default class PIMPERSONServiceBase extends EntityService {
}
}
masterData
.
pimrewardpunishments
=
pimrewardpunishmentsData
;
let
pimcontractsData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimcontracts'
),
'undefined'
)){
pimcontractsData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimcontracts'
)
as
any
);
if
(
pimcontractsData
&&
pimcontractsData
.
length
&&
pimcontractsData
.
length
>
0
){
pimcontractsData
.
forEach
((
item
:
any
)
=>
{
if
(
item
.
srffrontuf
){
if
(
Object
.
is
(
item
.
srffrontuf
,
"0"
)){
item
.
pimcontractid
=
null
;
}
delete
item
.
srffrontuf
;
}
});
}
}
masterData
.
pimcontracts
=
pimcontractsData
;
let
pimresearchfindingsData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimresearchfindings'
),
'undefined'
)){
pimresearchfindingsData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimresearchfindings'
)
as
any
);
...
...
@@ -655,21 +595,21 @@ export default class PIMPERSONServiceBase extends EntityService {
}
}
masterData
.
attendancemreportmxes
=
attendancemreportmxesData
;
let
pim
education
sData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pim
education
s'
),
'undefined'
)){
pim
educationsData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimeducation
s'
)
as
any
);
if
(
pim
educationsData
&&
pimeducationsData
.
length
&&
pimeducation
sData
.
length
>
0
){
pim
education
sData
.
forEach
((
item
:
any
)
=>
{
let
pim
contract
sData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pim
contract
s'
),
'undefined'
)){
pim
contractsData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimcontract
s'
)
as
any
);
if
(
pim
contractsData
&&
pimcontractsData
.
length
&&
pimcontract
sData
.
length
>
0
){
pim
contract
sData
.
forEach
((
item
:
any
)
=>
{
if
(
item
.
srffrontuf
){
if
(
Object
.
is
(
item
.
srffrontuf
,
"0"
)){
item
.
pim
education
id
=
null
;
item
.
pim
contract
id
=
null
;
}
delete
item
.
srffrontuf
;
}
});
}
}
masterData
.
pim
educations
=
pimeducation
sData
;
masterData
.
pim
contracts
=
pimcontract
sData
;
let
pimtitlesData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimtitles'
),
'undefined'
)){
pimtitlesData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimtitles'
)
as
any
);
...
...
@@ -685,6 +625,36 @@ export default class PIMPERSONServiceBase extends EntityService {
}
}
masterData
.
pimtitles
=
pimtitlesData
;
let
pimeducationsData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimeducations'
),
'undefined'
)){
pimeducationsData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimeducations'
)
as
any
);
if
(
pimeducationsData
&&
pimeducationsData
.
length
&&
pimeducationsData
.
length
>
0
){
pimeducationsData
.
forEach
((
item
:
any
)
=>
{
if
(
item
.
srffrontuf
){
if
(
Object
.
is
(
item
.
srffrontuf
,
"0"
)){
item
.
pimeducationid
=
null
;
}
delete
item
.
srffrontuf
;
}
});
}
}
masterData
.
pimeducations
=
pimeducationsData
;
let
pimvocationalsData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimvocationals'
),
'undefined'
)){
pimvocationalsData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimvocationals'
)
as
any
);
if
(
pimvocationalsData
&&
pimvocationalsData
.
length
&&
pimvocationalsData
.
length
>
0
){
pimvocationalsData
.
forEach
((
item
:
any
)
=>
{
if
(
item
.
srffrontuf
){
if
(
Object
.
is
(
item
.
srffrontuf
,
"0"
)){
item
.
pimvocationalid
=
null
;
}
delete
item
.
srffrontuf
;
}
});
}
}
masterData
.
pimvocationals
=
pimvocationalsData
;
let
pimfaminfosData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimfaminfos'
),
'undefined'
)){
pimfaminfosData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimfaminfos'
)
as
any
);
...
...
@@ -713,38 +683,23 @@ export default class PIMPERSONServiceBase extends EntityService {
}
});
}
}
masterData
.
pimworkhistories
=
pimworkhistoriesData
;
let
pimpersonabilitiesData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimpersonabilities'
),
'undefined'
)){
pimpersonabilitiesData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimpersonabilities'
)
as
any
);
if
(
pimpersonabilitiesData
&&
pimpersonabilitiesData
.
length
&&
pimpersonabilitiesData
.
length
>
0
){
pimpersonabilitiesData
.
forEach
((
item
:
any
)
=>
{
if
(
item
.
srffrontuf
){
if
(
Object
.
is
(
item
.
srffrontuf
,
"0"
)){
item
.
pimpersonabilityid
=
null
;
}
delete
item
.
srffrontuf
;
}
});
}
}
masterData
.
pimpersonabilities
=
pimpersonabilitiesData
;
let
pimvocationalsData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimvocationals'
),
'undefined'
)){
pimvocationalsData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimvocationals'
)
as
any
);
if
(
pimvocationalsData
&&
pimvocationalsData
.
length
&&
pimvocationalsData
.
length
>
0
){
pimvocationalsData
.
forEach
((
item
:
any
)
=>
{
}
masterData
.
pimworkhistories
=
pimworkhistoriesData
;
let
pimpersonabilitiesData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimpersonabilities'
),
'undefined'
)){
pimpersonabilitiesData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimpersonabilities'
)
as
any
);
if
(
pimpersonabilitiesData
&&
pimpersonabilitiesData
.
length
&&
pimpersonabilitiesData
.
length
>
0
){
pimpersonabilitiesData
.
forEach
((
item
:
any
)
=>
{
if
(
item
.
srffrontuf
){
if
(
Object
.
is
(
item
.
srffrontuf
,
"0"
)){
item
.
pim
vocational
id
=
null
;
item
.
pim
personability
id
=
null
;
}
delete
item
.
srffrontuf
;
}
});
}
}
masterData
.
pim
vocationals
=
pimvocational
sData
;
masterData
.
pim
personabilities
=
pimpersonabilitie
sData
;
let
pimdistirbutionsData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimdistirbutions'
),
'undefined'
)){
pimdistirbutionsData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimdistirbutions'
)
as
any
);
...
...
@@ -805,6 +760,21 @@ export default class PIMPERSONServiceBase extends EntityService {
}
}
masterData
.
pimarmycadres
=
pimarmycadresData
;
let
pimpatentsData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimpatents'
),
'undefined'
)){
pimpatentsData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimpatents'
)
as
any
);
if
(
pimpatentsData
&&
pimpatentsData
.
length
&&
pimpatentsData
.
length
>
0
){
pimpatentsData
.
forEach
((
item
:
any
)
=>
{
if
(
item
.
srffrontuf
){
if
(
Object
.
is
(
item
.
srffrontuf
,
"0"
)){
item
.
pimpatentid
=
null
;
}
delete
item
.
srffrontuf
;
}
});
}
}
masterData
.
pimpatents
=
pimpatentsData
;
let
pimarchivesData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimarchives'
),
'undefined'
)){
pimarchivesData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimarchives'
)
as
any
);
...
...
@@ -820,6 +790,36 @@ export default class PIMPERSONServiceBase extends EntityService {
}
}
masterData
.
pimarchives
=
pimarchivesData
;
let
trmtrianpeopleData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_trmtrianpeople'
),
'undefined'
)){
trmtrianpeopleData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_trmtrianpeople'
)
as
any
);
if
(
trmtrianpeopleData
&&
trmtrianpeopleData
.
length
&&
trmtrianpeopleData
.
length
>
0
){
trmtrianpeopleData
.
forEach
((
item
:
any
)
=>
{
if
(
item
.
srffrontuf
){
if
(
Object
.
is
(
item
.
srffrontuf
,
"0"
)){
item
.
trmtrianpersonid
=
null
;
}
delete
item
.
srffrontuf
;
}
});
}
}
masterData
.
trmtrianpeople
=
trmtrianpeopleData
;
let
pimvacationsData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimvacations'
),
'undefined'
)){
pimvacationsData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimvacations'
)
as
any
);
if
(
pimvacationsData
&&
pimvacationsData
.
length
&&
pimvacationsData
.
length
>
0
){
pimvacationsData
.
forEach
((
item
:
any
)
=>
{
if
(
item
.
srffrontuf
){
if
(
Object
.
is
(
item
.
srffrontuf
,
"0"
)){
item
.
pimvacationid
=
null
;
}
delete
item
.
srffrontuf
;
}
});
}
}
masterData
.
pimvacations
=
pimvacationsData
;
Object
.
assign
(
data
,
masterData
);
if
(
!
data
.
srffrontuf
||
data
.
srffrontuf
!==
"1"
){
data
[
this
.
APPDEKEY
]
=
null
;
...
...
@@ -829,27 +829,27 @@ export default class PIMPERSONServiceBase extends EntityService {
}
let
tempContext
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
context
));
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/pimpeople`
,
data
,
isloading
);
this
.
tempStorage
.
setItem
(
tempContext
.
srfsessionkey
+
'_trmtrianpeople'
,
JSON
.
stringify
(
res
.
data
.
trmtrianpeople
));
this
.
tempStorage
.
setItem
(
tempContext
.
srfsessionkey
+
'_pimpatents'
,
JSON
.
stringify
(
res
.
data
.
pimpatents
));
this
.
tempStorage
.
setItem
(
tempContext
.
srfsessionkey
+
'_pimachievements'
,
JSON
.
stringify
(
res
.
data
.
pimachievements
));
this
.
tempStorage
.
setItem
(
tempContext
.
srfsessionkey
+
'_pimvacations'
,
JSON
.
stringify
(
res
.
data
.
pimvacations
));
this
.
tempStorage
.
setItem
(
tempContext
.
srfsessionkey
+
'_pimpapers'
,
JSON
.
stringify
(
res
.
data
.
pimpapers
));
this
.
tempStorage
.
setItem
(
tempContext
.
srfsessionkey
+
'_pimlanguageabilities'
,
JSON
.
stringify
(
res
.
data
.
pimlanguageabilities
));
this
.
tempStorage
.
setItem
(
tempContext
.
srfsessionkey
+
'_pimrewardpunishments'
,
JSON
.
stringify
(
res
.
data
.
pimrewardpunishments
));
this
.
tempStorage
.
setItem
(
tempContext
.
srfsessionkey
+
'_pimcontracts'
,
JSON
.
stringify
(
res
.
data
.
pimcontracts
));
this
.
tempStorage
.
setItem
(
tempContext
.
srfsessionkey
+
'_pimresearchfindings'
,
JSON
.
stringify
(
res
.
data
.
pimresearchfindings
));
this
.
tempStorage
.
setItem
(
tempContext
.
srfsessionkey
+
'_attendancemreportmxes'
,
JSON
.
stringify
(
res
.
data
.
attendancemreportmxes
));
this
.
tempStorage
.
setItem
(
tempContext
.
srfsessionkey
+
'_pim
educations'
,
JSON
.
stringify
(
res
.
data
.
pimeducation
s
));
this
.
tempStorage
.
setItem
(
tempContext
.
srfsessionkey
+
'_pim
contracts'
,
JSON
.
stringify
(
res
.
data
.
pimcontract
s
));
this
.
tempStorage
.
setItem
(
tempContext
.
srfsessionkey
+
'_pimtitles'
,
JSON
.
stringify
(
res
.
data
.
pimtitles
));
this
.
tempStorage
.
setItem
(
tempContext
.
srfsessionkey
+
'_pimeducations'
,
JSON
.
stringify
(
res
.
data
.
pimeducations
));
this
.
tempStorage
.
setItem
(
tempContext
.
srfsessionkey
+
'_pimvocationals'
,
JSON
.
stringify
(
res
.
data
.
pimvocationals
));
this
.
tempStorage
.
setItem
(
tempContext
.
srfsessionkey
+
'_pimfaminfos'
,
JSON
.
stringify
(
res
.
data
.
pimfaminfos
));
this
.
tempStorage
.
setItem
(
tempContext
.
srfsessionkey
+
'_pimworkhistories'
,
JSON
.
stringify
(
res
.
data
.
pimworkhistories
));
this
.
tempStorage
.
setItem
(
tempContext
.
srfsessionkey
+
'_pimpersonabilities'
,
JSON
.
stringify
(
res
.
data
.
pimpersonabilities
));
this
.
tempStorage
.
setItem
(
tempContext
.
srfsessionkey
+
'_pimvocationals'
,
JSON
.
stringify
(
res
.
data
.
pimvocationals
));
this
.
tempStorage
.
setItem
(
tempContext
.
srfsessionkey
+
'_pimdistirbutions'
,
JSON
.
stringify
(
res
.
data
.
pimdistirbutions
));
this
.
tempStorage
.
setItem
(
tempContext
.
srfsessionkey
+
'_pimpersonchanges'
,
JSON
.
stringify
(
res
.
data
.
pimpersonchanges
));
this
.
tempStorage
.
setItem
(
tempContext
.
srfsessionkey
+
'_pimexitandentries'
,
JSON
.
stringify
(
res
.
data
.
pimexitandentries
));
this
.
tempStorage
.
setItem
(
tempContext
.
srfsessionkey
+
'_pimarmycadres'
,
JSON
.
stringify
(
res
.
data
.
pimarmycadres
));
this
.
tempStorage
.
setItem
(
tempContext
.
srfsessionkey
+
'_pimpatents'
,
JSON
.
stringify
(
res
.
data
.
pimpatents
));
this
.
tempStorage
.
setItem
(
tempContext
.
srfsessionkey
+
'_pimarchives'
,
JSON
.
stringify
(
res
.
data
.
pimarchives
));
this
.
tempStorage
.
setItem
(
tempContext
.
srfsessionkey
+
'_trmtrianpeople'
,
JSON
.
stringify
(
res
.
data
.
trmtrianpeople
));
this
.
tempStorage
.
setItem
(
tempContext
.
srfsessionkey
+
'_pimvacations'
,
JSON
.
stringify
(
res
.
data
.
pimvacations
));
return
res
;
}
...
...
@@ -864,36 +864,6 @@ export default class PIMPERSONServiceBase extends EntityService {
*/
public
async
Save
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
masterData
:
any
=
{};
let
trmtrianpeopleData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_trmtrianpeople'
),
'undefined'
)){
trmtrianpeopleData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_trmtrianpeople'
)
as
any
);
if
(
trmtrianpeopleData
&&
trmtrianpeopleData
.
length
&&
trmtrianpeopleData
.
length
>
0
){
trmtrianpeopleData
.
forEach
((
item
:
any
)
=>
{
if
(
item
.
srffrontuf
){
if
(
Object
.
is
(
item
.
srffrontuf
,
"0"
)){
item
.
trmtrianpersonid
=
null
;
}
delete
item
.
srffrontuf
;
}
});
}
}
masterData
.
trmtrianpeople
=
trmtrianpeopleData
;
let
pimpatentsData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimpatents'
),
'undefined'
)){
pimpatentsData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimpatents'
)
as
any
);
if
(
pimpatentsData
&&
pimpatentsData
.
length
&&
pimpatentsData
.
length
>
0
){
pimpatentsData
.
forEach
((
item
:
any
)
=>
{
if
(
item
.
srffrontuf
){
if
(
Object
.
is
(
item
.
srffrontuf
,
"0"
)){
item
.
pimpatentid
=
null
;
}
delete
item
.
srffrontuf
;
}
});
}
}
masterData
.
pimpatents
=
pimpatentsData
;
let
pimachievementsData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimachievements'
),
'undefined'
)){
pimachievementsData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimachievements'
)
as
any
);
...
...
@@ -909,21 +879,6 @@ export default class PIMPERSONServiceBase extends EntityService {
}
}
masterData
.
pimachievements
=
pimachievementsData
;
let
pimvacationsData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimvacations'
),
'undefined'
)){
pimvacationsData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimvacations'
)
as
any
);
if
(
pimvacationsData
&&
pimvacationsData
.
length
&&
pimvacationsData
.
length
>
0
){
pimvacationsData
.
forEach
((
item
:
any
)
=>
{
if
(
item
.
srffrontuf
){
if
(
Object
.
is
(
item
.
srffrontuf
,
"0"
)){
item
.
pimvacationid
=
null
;
}
delete
item
.
srffrontuf
;
}
});
}
}
masterData
.
pimvacations
=
pimvacationsData
;
let
pimpapersData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimpapers'
),
'undefined'
)){
pimpapersData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimpapers'
)
as
any
);
...
...
@@ -969,21 +924,6 @@ export default class PIMPERSONServiceBase extends EntityService {
}
}
masterData
.
pimrewardpunishments
=
pimrewardpunishmentsData
;
let
pimcontractsData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimcontracts'
),
'undefined'
)){
pimcontractsData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimcontracts'
)
as
any
);
if
(
pimcontractsData
&&
pimcontractsData
.
length
&&
pimcontractsData
.
length
>
0
){
pimcontractsData
.
forEach
((
item
:
any
)
=>
{
if
(
item
.
srffrontuf
){
if
(
Object
.
is
(
item
.
srffrontuf
,
"0"
)){
item
.
pimcontractid
=
null
;
}
delete
item
.
srffrontuf
;
}
});
}
}
masterData
.
pimcontracts
=
pimcontractsData
;
let
pimresearchfindingsData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimresearchfindings'
),
'undefined'
)){
pimresearchfindingsData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimresearchfindings'
)
as
any
);
...
...
@@ -1014,21 +954,21 @@ export default class PIMPERSONServiceBase extends EntityService {
}
}
masterData
.
attendancemreportmxes
=
attendancemreportmxesData
;
let
pim
education
sData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pim
education
s'
),
'undefined'
)){
pim
educationsData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimeducation
s'
)
as
any
);
if
(
pim
educationsData
&&
pimeducationsData
.
length
&&
pimeducation
sData
.
length
>
0
){
pim
education
sData
.
forEach
((
item
:
any
)
=>
{
let
pim
contract
sData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pim
contract
s'
),
'undefined'
)){
pim
contractsData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimcontract
s'
)
as
any
);
if
(
pim
contractsData
&&
pimcontractsData
.
length
&&
pimcontract
sData
.
length
>
0
){
pim
contract
sData
.
forEach
((
item
:
any
)
=>
{
if
(
item
.
srffrontuf
){
if
(
Object
.
is
(
item
.
srffrontuf
,
"0"
)){
item
.
pim
education
id
=
null
;
item
.
pim
contract
id
=
null
;
}
delete
item
.
srffrontuf
;
}
});
}
}
masterData
.
pim
educations
=
pimeducation
sData
;
masterData
.
pim
contracts
=
pimcontract
sData
;
let
pimtitlesData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimtitles'
),
'undefined'
)){
pimtitlesData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimtitles'
)
as
any
);
...
...
@@ -1044,6 +984,36 @@ export default class PIMPERSONServiceBase extends EntityService {
}
}
masterData
.
pimtitles
=
pimtitlesData
;
let
pimeducationsData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimeducations'
),
'undefined'
)){
pimeducationsData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimeducations'
)
as
any
);
if
(
pimeducationsData
&&
pimeducationsData
.
length
&&
pimeducationsData
.
length
>
0
){
pimeducationsData
.
forEach
((
item
:
any
)
=>
{
if
(
item
.
srffrontuf
){
if
(
Object
.
is
(
item
.
srffrontuf
,
"0"
)){
item
.
pimeducationid
=
null
;
}
delete
item
.
srffrontuf
;
}
});
}
}
masterData
.
pimeducations
=
pimeducationsData
;
let
pimvocationalsData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimvocationals'
),
'undefined'
)){
pimvocationalsData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimvocationals'
)
as
any
);
if
(
pimvocationalsData
&&
pimvocationalsData
.
length
&&
pimvocationalsData
.
length
>
0
){
pimvocationalsData
.
forEach
((
item
:
any
)
=>
{
if
(
item
.
srffrontuf
){
if
(
Object
.
is
(
item
.
srffrontuf
,
"0"
)){
item
.
pimvocationalid
=
null
;
}
delete
item
.
srffrontuf
;
}
});
}
}
masterData
.
pimvocationals
=
pimvocationalsData
;
let
pimfaminfosData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimfaminfos'
),
'undefined'
)){
pimfaminfosData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimfaminfos'
)
as
any
);
...
...
@@ -1089,21 +1059,6 @@ export default class PIMPERSONServiceBase extends EntityService {
}
}
masterData
.
pimpersonabilities
=
pimpersonabilitiesData
;
let
pimvocationalsData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimvocationals'
),
'undefined'
)){
pimvocationalsData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimvocationals'
)
as
any
);
if
(
pimvocationalsData
&&
pimvocationalsData
.
length
&&
pimvocationalsData
.
length
>
0
){
pimvocationalsData
.
forEach
((
item
:
any
)
=>
{
if
(
item
.
srffrontuf
){
if
(
Object
.
is
(
item
.
srffrontuf
,
"0"
)){
item
.
pimvocationalid
=
null
;
}
delete
item
.
srffrontuf
;
}
});
}
}
masterData
.
pimvocationals
=
pimvocationalsData
;
let
pimdistirbutionsData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimdistirbutions'
),
'undefined'
)){
pimdistirbutionsData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimdistirbutions'
)
as
any
);
...
...
@@ -1164,6 +1119,21 @@ export default class PIMPERSONServiceBase extends EntityService {
}
}
masterData
.
pimarmycadres
=
pimarmycadresData
;
let
pimpatentsData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimpatents'
),
'undefined'
)){
pimpatentsData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimpatents'
)
as
any
);
if
(
pimpatentsData
&&
pimpatentsData
.
length
&&
pimpatentsData
.
length
>
0
){
pimpatentsData
.
forEach
((
item
:
any
)
=>
{
if
(
item
.
srffrontuf
){
if
(
Object
.
is
(
item
.
srffrontuf
,
"0"
)){
item
.
pimpatentid
=
null
;
}
delete
item
.
srffrontuf
;
}
});
}
}
masterData
.
pimpatents
=
pimpatentsData
;
let
pimarchivesData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimarchives'
),
'undefined'
)){
pimarchivesData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimarchives'
)
as
any
);
...
...
@@ -1179,29 +1149,59 @@ export default class PIMPERSONServiceBase extends EntityService {
}
}
masterData
.
pimarchives
=
pimarchivesData
;
let
trmtrianpeopleData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_trmtrianpeople'
),
'undefined'
)){
trmtrianpeopleData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_trmtrianpeople'
)
as
any
);
if
(
trmtrianpeopleData
&&
trmtrianpeopleData
.
length
&&
trmtrianpeopleData
.
length
>
0
){
trmtrianpeopleData
.
forEach
((
item
:
any
)
=>
{
if
(
item
.
srffrontuf
){
if
(
Object
.
is
(
item
.
srffrontuf
,
"0"
)){
item
.
trmtrianpersonid
=
null
;
}
delete
item
.
srffrontuf
;
}
});
}
}
masterData
.
trmtrianpeople
=
trmtrianpeopleData
;
let
pimvacationsData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimvacations'
),
'undefined'
)){
pimvacationsData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimvacations'
)
as
any
);
if
(
pimvacationsData
&&
pimvacationsData
.
length
&&
pimvacationsData
.
length
>
0
){
pimvacationsData
.
forEach
((
item
:
any
)
=>
{
if
(
item
.
srffrontuf
){
if
(
Object
.
is
(
item
.
srffrontuf
,
"0"
)){
item
.
pimvacationid
=
null
;
}
delete
item
.
srffrontuf
;
}
});
}
}
masterData
.
pimvacations
=
pimvacationsData
;
Object
.
assign
(
data
,
masterData
);
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/pimpeople/
${
context
.
pimperson
}
/save`
,
data
,
isloading
);
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_trmtrianpeople'
,
JSON
.
stringify
(
res
.
data
.
trmtrianpeople
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimpatents'
,
JSON
.
stringify
(
res
.
data
.
pimpatents
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimachievements'
,
JSON
.
stringify
(
res
.
data
.
pimachievements
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimvacations'
,
JSON
.
stringify
(
res
.
data
.
pimvacations
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimpapers'
,
JSON
.
stringify
(
res
.
data
.
pimpapers
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimlanguageabilities'
,
JSON
.
stringify
(
res
.
data
.
pimlanguageabilities
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimrewardpunishments'
,
JSON
.
stringify
(
res
.
data
.
pimrewardpunishments
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimcontracts'
,
JSON
.
stringify
(
res
.
data
.
pimcontracts
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimresearchfindings'
,
JSON
.
stringify
(
res
.
data
.
pimresearchfindings
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_attendancemreportmxes'
,
JSON
.
stringify
(
res
.
data
.
attendancemreportmxes
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pim
educations'
,
JSON
.
stringify
(
res
.
data
.
pimeducation
s
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pim
contracts'
,
JSON
.
stringify
(
res
.
data
.
pimcontract
s
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimtitles'
,
JSON
.
stringify
(
res
.
data
.
pimtitles
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimeducations'
,
JSON
.
stringify
(
res
.
data
.
pimeducations
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimvocationals'
,
JSON
.
stringify
(
res
.
data
.
pimvocationals
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimfaminfos'
,
JSON
.
stringify
(
res
.
data
.
pimfaminfos
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimworkhistories'
,
JSON
.
stringify
(
res
.
data
.
pimworkhistories
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimpersonabilities'
,
JSON
.
stringify
(
res
.
data
.
pimpersonabilities
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimvocationals'
,
JSON
.
stringify
(
res
.
data
.
pimvocationals
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimdistirbutions'
,
JSON
.
stringify
(
res
.
data
.
pimdistirbutions
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimpersonchanges'
,
JSON
.
stringify
(
res
.
data
.
pimpersonchanges
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimexitandentries'
,
JSON
.
stringify
(
res
.
data
.
pimexitandentries
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimarmycadres'
,
JSON
.
stringify
(
res
.
data
.
pimarmycadres
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimpatents'
,
JSON
.
stringify
(
res
.
data
.
pimpatents
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimarchives'
,
JSON
.
stringify
(
res
.
data
.
pimarchives
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_trmtrianpeople'
,
JSON
.
stringify
(
res
.
data
.
trmtrianpeople
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimvacations'
,
JSON
.
stringify
(
res
.
data
.
pimvacations
));
return
res
;
}
...
...
@@ -1285,27 +1285,27 @@ export default class PIMPERSONServiceBase extends EntityService {
public
async
GetDraft
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/pimpeople/getdraft`
,
isloading
);
res
.
data
.
pimperson
=
data
.
pimperson
;
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_trmtrianpeople'
,
JSON
.
stringify
(
res
.
data
.
trmtrianpeople
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimpatents'
,
JSON
.
stringify
(
res
.
data
.
pimpatents
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimachievements'
,
JSON
.
stringify
(
res
.
data
.
pimachievements
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimvacations'
,
JSON
.
stringify
(
res
.
data
.
pimvacations
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimpapers'
,
JSON
.
stringify
(
res
.
data
.
pimpapers
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimlanguageabilities'
,
JSON
.
stringify
(
res
.
data
.
pimlanguageabilities
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimrewardpunishments'
,
JSON
.
stringify
(
res
.
data
.
pimrewardpunishments
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimcontracts'
,
JSON
.
stringify
(
res
.
data
.
pimcontracts
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimresearchfindings'
,
JSON
.
stringify
(
res
.
data
.
pimresearchfindings
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_attendancemreportmxes'
,
JSON
.
stringify
(
res
.
data
.
attendancemreportmxes
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pim
educations'
,
JSON
.
stringify
(
res
.
data
.
pimeducation
s
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pim
contracts'
,
JSON
.
stringify
(
res
.
data
.
pimcontract
s
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimtitles'
,
JSON
.
stringify
(
res
.
data
.
pimtitles
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimeducations'
,
JSON
.
stringify
(
res
.
data
.
pimeducations
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimvocationals'
,
JSON
.
stringify
(
res
.
data
.
pimvocationals
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimfaminfos'
,
JSON
.
stringify
(
res
.
data
.
pimfaminfos
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimworkhistories'
,
JSON
.
stringify
(
res
.
data
.
pimworkhistories
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimpersonabilities'
,
JSON
.
stringify
(
res
.
data
.
pimpersonabilities
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimvocationals'
,
JSON
.
stringify
(
res
.
data
.
pimvocationals
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimdistirbutions'
,
JSON
.
stringify
(
res
.
data
.
pimdistirbutions
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimpersonchanges'
,
JSON
.
stringify
(
res
.
data
.
pimpersonchanges
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimexitandentries'
,
JSON
.
stringify
(
res
.
data
.
pimexitandentries
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimarmycadres'
,
JSON
.
stringify
(
res
.
data
.
pimarmycadres
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimpatents'
,
JSON
.
stringify
(
res
.
data
.
pimpatents
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimarchives'
,
JSON
.
stringify
(
res
.
data
.
pimarchives
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_trmtrianpeople'
,
JSON
.
stringify
(
res
.
data
.
trmtrianpeople
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimvacations'
,
JSON
.
stringify
(
res
.
data
.
pimvacations
));
return
res
;
}
...
...
app_EHRPim/src/widgets/pcmdetail/main-form/main-form-base.vue
浏览文件 @
e0b61b45
...
...
@@ -1046,10 +1046,10 @@ export default class MainBase extends Vue implements ControlInterface {
{
required
:
false
,
type
:
'string'
,
message
:
'专业技术资格(职称) 值不能为空'
,
trigger
:
'blur'
},
],
zjxtgznx
:
[
{
type
:
'number'
,
message
:
'
中建
系统工作年限 值必须为数值类型'
,
trigger
:
'change'
},
{
type
:
'number'
,
message
:
'
中建
系统工作年限 值必须为数值类型'
,
trigger
:
'blur'
},
{
required
:
false
,
type
:
'number'
,
message
:
'
中建
系统工作年限 值不能为空'
,
trigger
:
'change'
},
{
required
:
false
,
type
:
'number'
,
message
:
'
中建
系统工作年限 值不能为空'
,
trigger
:
'blur'
},
{
type
:
'number'
,
message
:
'
建筑
系统工作年限 值必须为数值类型'
,
trigger
:
'change'
},
{
type
:
'number'
,
message
:
'
建筑
系统工作年限 值必须为数值类型'
,
trigger
:
'blur'
},
{
required
:
false
,
type
:
'number'
,
message
:
'
建筑
系统工作年限 值不能为空'
,
trigger
:
'change'
},
{
required
:
false
,
type
:
'number'
,
message
:
'
建筑
系统工作年限 值不能为空'
,
trigger
:
'blur'
},
],
cjgzsj
:
[
{
type
:
'string'
,
message
:
'参加工作时间 值必须为字符串类型'
,
trigger
:
'change'
},
...
...
@@ -1058,10 +1058,10 @@ export default class MainBase extends Vue implements ControlInterface {
{
required
:
false
,
type
:
'string'
,
message
:
'参加工作时间 值不能为空'
,
trigger
:
'blur'
},
],
tozjdate
:
[
{
type
:
'string'
,
message
:
'
中建
系统工作时间 值必须为字符串类型'
,
trigger
:
'change'
},
{
type
:
'string'
,
message
:
'
中建
系统工作时间 值必须为字符串类型'
,
trigger
:
'blur'
},
{
required
:
false
,
type
:
'string'
,
message
:
'
中建
系统工作时间 值不能为空'
,
trigger
:
'change'
},
{
required
:
false
,
type
:
'string'
,
message
:
'
中建
系统工作时间 值不能为空'
,
trigger
:
'blur'
},
{
type
:
'string'
,
message
:
'
建筑
系统工作时间 值必须为字符串类型'
,
trigger
:
'change'
},
{
type
:
'string'
,
message
:
'
建筑
系统工作时间 值必须为字符串类型'
,
trigger
:
'blur'
},
{
required
:
false
,
type
:
'string'
,
message
:
'
建筑
系统工作时间 值不能为空'
,
trigger
:
'change'
},
{
required
:
false
,
type
:
'string'
,
message
:
'
建筑
系统工作时间 值不能为空'
,
trigger
:
'blur'
},
],
dbdwsj
:
[
{
type
:
'string'
,
message
:
'本单位工作时间 值必须为字符串类型'
,
trigger
:
'change'
},
...
...
@@ -1308,11 +1308,11 @@ export default class MainBase extends Vue implements ControlInterface {
,
careername
:
new
FormItemModel
({
caption
:
'专业技术资格(职称)'
,
detailType
:
'FORMITEM'
,
name
:
'careername'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
disabled
:
false
,
enableCond
:
3
})
,
zjxtgznx
:
new
FormItemModel
({
caption
:
'
中建
系统工作年限'
,
detailType
:
'FORMITEM'
,
name
:
'zjxtgznx'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
disabled
:
false
,
enableCond
:
3
})
zjxtgznx
:
new
FormItemModel
({
caption
:
'
建筑
系统工作年限'
,
detailType
:
'FORMITEM'
,
name
:
'zjxtgznx'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
disabled
:
false
,
enableCond
:
3
})
,
cjgzsj
:
new
FormItemModel
({
caption
:
'参加工作时间'
,
detailType
:
'FORMITEM'
,
name
:
'cjgzsj'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
disabled
:
false
,
enableCond
:
3
})
,
tozjdate
:
new
FormItemModel
({
caption
:
'
中建
系统工作时间'
,
detailType
:
'FORMITEM'
,
name
:
'tozjdate'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
disabled
:
false
,
enableCond
:
3
})
tozjdate
:
new
FormItemModel
({
caption
:
'
建筑
系统工作时间'
,
detailType
:
'FORMITEM'
,
name
:
'tozjdate'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
disabled
:
false
,
enableCond
:
3
})
,
dbdwsj
:
new
FormItemModel
({
caption
:
'本单位工作时间'
,
detailType
:
'FORMITEM'
,
name
:
'dbdwsj'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
disabled
:
false
,
enableCond
:
3
})
,
...
...
app_EHRPim/src/widgets/pcmdetail/main-grid/main-grid-base.vue
浏览文件 @
e0b61b45
...
...
@@ -1303,14 +1303,14 @@ export default class MainBase extends Vue implements ControlInterface {
},
{
name
:
'tozjdate'
,
label
:
'
中建
系统工作时间'
,
label
:
'
建筑
系统工作时间'
,
langtag
:
'entities.pcmdetail.main_grid.columns.tozjdate'
,
show
:
true
,
util
:
'PX'
},
{
name
:
'zjxtgznx'
,
label
:
'
中建
系统工作年限'
,
label
:
'
建筑
系统工作年限'
,
langtag
:
'entities.pcmdetail.main_grid.columns.zjxtgznx'
,
show
:
true
,
util
:
'PX'
...
...
app_EHRPim/src/widgets/pimperson/read-ryinfo-form-form/read-ryinfo-form-form-base.vue
浏览文件 @
e0b61b45
...
...
@@ -1150,10 +1150,10 @@ export default class ReadRYInfoFormBase extends Vue implements ControlInterface
{
required
:
false
,
type
:
'string'
,
message
:
'入团时间 值不能为空'
,
trigger
:
'blur'
},
],
tozjdate
:
[
{
type
:
'string'
,
message
:
'到
中建
系统时间 值必须为字符串类型'
,
trigger
:
'change'
},
{
type
:
'string'
,
message
:
'到
中建
系统时间 值必须为字符串类型'
,
trigger
:
'blur'
},
{
required
:
false
,
type
:
'string'
,
message
:
'到
中建
系统时间 值不能为空'
,
trigger
:
'change'
},
{
required
:
false
,
type
:
'string'
,
message
:
'到
中建
系统时间 值不能为空'
,
trigger
:
'blur'
},
{
type
:
'string'
,
message
:
'到
建筑
系统时间 值必须为字符串类型'
,
trigger
:
'change'
},
{
type
:
'string'
,
message
:
'到
建筑
系统时间 值必须为字符串类型'
,
trigger
:
'blur'
},
{
required
:
false
,
type
:
'string'
,
message
:
'到
建筑
系统时间 值不能为空'
,
trigger
:
'change'
},
{
required
:
false
,
type
:
'string'
,
message
:
'到
建筑
系统时间 值不能为空'
,
trigger
:
'blur'
},
],
dzjbjsj
:
[
{
type
:
'string'
,
message
:
'到局时间 值必须为字符串类型'
,
trigger
:
'change'
},
...
...
@@ -1374,7 +1374,7 @@ export default class ReadRYInfoFormBase extends Vue implements ControlInterface
,
rtsj
:
new
FormItemModel
({
caption
:
'入团时间'
,
detailType
:
'FORMITEM'
,
name
:
'rtsj'
,
visible
:
false
,
isShowCaption
:
true
,
form
:
this
,
disabled
:
false
,
enableCond
:
0
})
,
tozjdate
:
new
FormItemModel
({
caption
:
'到
中建
系统时间'
,
detailType
:
'FORMITEM'
,
name
:
'tozjdate'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
disabled
:
false
,
enableCond
:
0
})
tozjdate
:
new
FormItemModel
({
caption
:
'到
建筑
系统时间'
,
detailType
:
'FORMITEM'
,
name
:
'tozjdate'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
disabled
:
false
,
enableCond
:
0
})
,
dzjbjsj
:
new
FormItemModel
({
caption
:
'到局时间'
,
detailType
:
'FORMITEM'
,
name
:
'dzjbjsj'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
disabled
:
false
,
enableCond
:
0
})
,
...
...
app_EHRPim/src/widgets/pimperson/ryinfo-form-form/ryinfo-form-form-base.vue
浏览文件 @
e0b61b45
...
...
@@ -1263,10 +1263,10 @@ export default class RYInfoFormBase extends Vue implements ControlInterface {
{
required
:
false
,
type
:
'string'
,
message
:
'参加工作时间 值不能为空'
,
trigger
:
'blur'
},
],
tozjdate
:
[
{
type
:
'string'
,
message
:
'到
中建
系统时间 值必须为字符串类型'
,
trigger
:
'change'
},
{
type
:
'string'
,
message
:
'到
中建
系统时间 值必须为字符串类型'
,
trigger
:
'blur'
},
{
required
:
false
,
type
:
'string'
,
message
:
'到
中建
系统时间 值不能为空'
,
trigger
:
'change'
},
{
required
:
false
,
type
:
'string'
,
message
:
'到
中建
系统时间 值不能为空'
,
trigger
:
'blur'
},
{
type
:
'string'
,
message
:
'到
建筑
系统时间 值必须为字符串类型'
,
trigger
:
'change'
},
{
type
:
'string'
,
message
:
'到
建筑
系统时间 值必须为字符串类型'
,
trigger
:
'blur'
},
{
required
:
false
,
type
:
'string'
,
message
:
'到
建筑
系统时间 值不能为空'
,
trigger
:
'change'
},
{
required
:
false
,
type
:
'string'
,
message
:
'到
建筑
系统时间 值不能为空'
,
trigger
:
'blur'
},
],
dzjbjsj
:
[
{
type
:
'string'
,
message
:
'到局时间 值必须为字符串类型'
,
trigger
:
'change'
},
...
...
@@ -1511,7 +1511,7 @@ export default class RYInfoFormBase extends Vue implements ControlInterface {
,
cjgzsj
:
new
FormItemModel
({
caption
:
'参加工作时间'
,
detailType
:
'FORMITEM'
,
name
:
'cjgzsj'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
disabled
:
false
,
enableCond
:
3
})
,
tozjdate
:
new
FormItemModel
({
caption
:
'到
中建
系统时间'
,
detailType
:
'FORMITEM'
,
name
:
'tozjdate'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
disabled
:
false
,
enableCond
:
3
})
tozjdate
:
new
FormItemModel
({
caption
:
'到
建筑
系统时间'
,
detailType
:
'FORMITEM'
,
name
:
'tozjdate'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
disabled
:
false
,
enableCond
:
3
})
,
dzjbjsj
:
new
FormItemModel
({
caption
:
'到局时间'
,
detailType
:
'FORMITEM'
,
name
:
'dzjbjsj'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
disabled
:
false
,
enableCond
:
3
})
,
...
...
config.xml
浏览文件 @
e0b61b45
...
...
@@ -38,11 +38,11 @@
git clone -b master $para2 ehr/
export NODE_OPTIONS=--max-old-space-size=4096
cd ehr/
mvn clean package -P
webapi
cd ehr-
provider/ehr-provider-webapi
mvn -P
webapi
docker:build
mvn -P
webapi
docker:push
docker -H $para1 stack deploy --compose-file=src/main/docker/ehr-
provider-webapi.yaml iBizEE --with-registry-auth
mvn clean package -P
ehrpim
cd ehr-
app/ehr-app-ehrpim
mvn -P
ehrpim
docker:build
mvn -P
ehrpim
docker:push
docker -H $para1 stack deploy --compose-file=src/main/docker/ehr-
app-ehrpim.yaml iBizEE --with-registry-auth
</command>
</hudson.tasks.Shell>
</builders>
...
...
ehr-app/ehr-app-ehr/src/main/docker/Dockerfile
浏览文件 @
e0b61b45
...
...
@@ -9,6 +9,6 @@ CMD echo "The application will start in ${IBZ_SLEEP}s..." && \
sleep ${IBZ_SLEEP} && \
java ${JAVA_OPTS} -Djava.security.egd=file:/dev/./urandom -jar /ehr-app-ehr.jar
EXPOSE
8080
EXPOSE
6092
ADD
ehr-app-ehr.jar /ehr-app-ehr.jar
ehr-app/ehr-app-ehr/src/main/docker/ehr-app-ehr.yaml
浏览文件 @
e0b61b45
...
...
@@ -3,9 +3,23 @@ services:
ehr-app-ehr
:
image
:
registry.cn-shanghai.aliyuncs.com/ibizsys/ehr-app-ehr:latest
ports
:
-
"
8080:8080
"
-
"
6092:6092
"
networks
:
-
agent_network
environment
:
-
SPRING_CLOUD_NACOS_DISCOVERY_IP=172.16.240.110
-
SERVER_PORT=6092
-
SPRING_CLOUD_NACOS_DISCOVERY_SERVER-ADDR=172.16.240.110:8848
-
SPRING_REDIS_HOST=172.16.100.243
-
SPRING_REDIS_PORT=6379
-
SPRING_REDIS_DATABASE=0
-
SPRING_DATASOURCE_USERNAME=BPMEHR
-
SPRING_DATASOURCE_PASSWORD=sys
-
SPRING_DATASOURCE_URL=jdbc:oracle:thin:@172.16.170.71:1521:localorcl
-
SPRING_DATASOURCE_DRIVER-CLASS-NAME=oracle.jdbc.driver.OracleDriver
-
SPRING_DATASOURCE_DEFAULTSCHEMA=BPMEHR
-
CAS=https://passport.ibizlab.cn
-
NACOS=172.16.240.110:8848
deploy
:
mode
:
replicated
replicas
:
1
...
...
ehr-app/ehr-app-ehrapp/src/main/docker/Dockerfile
浏览文件 @
e0b61b45
...
...
@@ -9,6 +9,6 @@ CMD echo "The application will start in ${IBZ_SLEEP}s..." && \
sleep ${IBZ_SLEEP} && \
java ${JAVA_OPTS} -Djava.security.egd=file:/dev/./urandom -jar /ehr-app-ehrapp.jar
EXPOSE
8080
EXPOSE
6092
ADD
ehr-app-ehrapp.jar /ehr-app-ehrapp.jar
ehr-app/ehr-app-ehrapp/src/main/docker/ehr-app-ehrapp.yaml
浏览文件 @
e0b61b45
...
...
@@ -3,9 +3,23 @@ services:
ehr-app-ehrapp
:
image
:
registry.cn-shanghai.aliyuncs.com/ibizsys/ehr-app-ehrapp:latest
ports
:
-
"
8080:8080
"
-
"
6092:6092
"
networks
:
-
agent_network
environment
:
-
SPRING_CLOUD_NACOS_DISCOVERY_IP=172.16.240.110
-
SERVER_PORT=6092
-
SPRING_CLOUD_NACOS_DISCOVERY_SERVER-ADDR=172.16.240.110:8848
-
SPRING_REDIS_HOST=172.16.100.243
-
SPRING_REDIS_PORT=6379
-
SPRING_REDIS_DATABASE=0
-
SPRING_DATASOURCE_USERNAME=BPMEHR
-
SPRING_DATASOURCE_PASSWORD=sys
-
SPRING_DATASOURCE_URL=jdbc:oracle:thin:@172.16.170.71:1521:localorcl
-
SPRING_DATASOURCE_DRIVER-CLASS-NAME=oracle.jdbc.driver.OracleDriver
-
SPRING_DATASOURCE_DEFAULTSCHEMA=BPMEHR
-
CAS=https://passport.ibizlab.cn
-
NACOS=172.16.240.110:8848
deploy
:
mode
:
replicated
replicas
:
1
...
...
ehr-app/ehr-app-ehrhelp/src/main/docker/Dockerfile
浏览文件 @
e0b61b45
...
...
@@ -9,6 +9,6 @@ CMD echo "The application will start in ${IBZ_SLEEP}s..." && \
sleep ${IBZ_SLEEP} && \
java ${JAVA_OPTS} -Djava.security.egd=file:/dev/./urandom -jar /ehr-app-ehrhelp.jar
EXPOSE
8080
EXPOSE
6092
ADD
ehr-app-ehrhelp.jar /ehr-app-ehrhelp.jar
ehr-app/ehr-app-ehrhelp/src/main/docker/ehr-app-ehrhelp.yaml
浏览文件 @
e0b61b45
...
...
@@ -3,9 +3,23 @@ services:
ehr-app-ehrhelp
:
image
:
registry.cn-shanghai.aliyuncs.com/ibizsys/ehr-app-ehrhelp:latest
ports
:
-
"
8080:8080
"
-
"
6092:6092
"
networks
:
-
agent_network
environment
:
-
SPRING_CLOUD_NACOS_DISCOVERY_IP=172.16.240.110
-
SERVER_PORT=6092
-
SPRING_CLOUD_NACOS_DISCOVERY_SERVER-ADDR=172.16.240.110:8848
-
SPRING_REDIS_HOST=172.16.100.243
-
SPRING_REDIS_PORT=6379
-
SPRING_REDIS_DATABASE=0
-
SPRING_DATASOURCE_USERNAME=BPMEHR
-
SPRING_DATASOURCE_PASSWORD=sys
-
SPRING_DATASOURCE_URL=jdbc:oracle:thin:@172.16.170.71:1521:localorcl
-
SPRING_DATASOURCE_DRIVER-CLASS-NAME=oracle.jdbc.driver.OracleDriver
-
SPRING_DATASOURCE_DEFAULTSCHEMA=BPMEHR
-
CAS=https://passport.ibizlab.cn
-
NACOS=172.16.240.110:8848
deploy
:
mode
:
replicated
replicas
:
1
...
...
ehr-app/ehr-app-ehrmob/src/main/docker/Dockerfile
浏览文件 @
e0b61b45
...
...
@@ -9,6 +9,6 @@ CMD echo "The application will start in ${IBZ_SLEEP}s..." && \
sleep ${IBZ_SLEEP} && \
java ${JAVA_OPTS} -Djava.security.egd=file:/dev/./urandom -jar /ehr-app-ehrmob.jar
EXPOSE
8080
EXPOSE
6092
ADD
ehr-app-ehrmob.jar /ehr-app-ehrmob.jar
ehr-app/ehr-app-ehrmob/src/main/docker/ehr-app-ehrmob.yaml
浏览文件 @
e0b61b45
...
...
@@ -3,9 +3,23 @@ services:
ehr-app-ehrmob
:
image
:
registry.cn-shanghai.aliyuncs.com/ibizsys/ehr-app-ehrmob:latest
ports
:
-
"
8080:8080
"
-
"
6092:6092
"
networks
:
-
agent_network
environment
:
-
SPRING_CLOUD_NACOS_DISCOVERY_IP=172.16.240.110
-
SERVER_PORT=6092
-
SPRING_CLOUD_NACOS_DISCOVERY_SERVER-ADDR=172.16.240.110:8848
-
SPRING_REDIS_HOST=172.16.100.243
-
SPRING_REDIS_PORT=6379
-
SPRING_REDIS_DATABASE=0
-
SPRING_DATASOURCE_USERNAME=BPMEHR
-
SPRING_DATASOURCE_PASSWORD=sys
-
SPRING_DATASOURCE_URL=jdbc:oracle:thin:@172.16.170.71:1521:localorcl
-
SPRING_DATASOURCE_DRIVER-CLASS-NAME=oracle.jdbc.driver.OracleDriver
-
SPRING_DATASOURCE_DEFAULTSCHEMA=BPMEHR
-
CAS=https://passport.ibizlab.cn
-
NACOS=172.16.240.110:8848
deploy
:
mode
:
replicated
replicas
:
1
...
...
ehr-app/ehr-app-ehrorm/src/main/docker/Dockerfile
浏览文件 @
e0b61b45
...
...
@@ -9,6 +9,6 @@ CMD echo "The application will start in ${IBZ_SLEEP}s..." && \
sleep ${IBZ_SLEEP} && \
java ${JAVA_OPTS} -Djava.security.egd=file:/dev/./urandom -jar /ehr-app-ehrorm.jar
EXPOSE
8080
EXPOSE
6092
ADD
ehr-app-ehrorm.jar /ehr-app-ehrorm.jar
ehr-app/ehr-app-ehrorm/src/main/docker/ehr-app-ehrorm.yaml
浏览文件 @
e0b61b45
...
...
@@ -3,9 +3,23 @@ services:
ehr-app-ehrorm
:
image
:
registry.cn-shanghai.aliyuncs.com/ibizsys/ehr-app-ehrorm:latest
ports
:
-
"
8080:8080
"
-
"
6092:6092
"
networks
:
-
agent_network
environment
:
-
SPRING_CLOUD_NACOS_DISCOVERY_IP=172.16.240.110
-
SERVER_PORT=6092
-
SPRING_CLOUD_NACOS_DISCOVERY_SERVER-ADDR=172.16.240.110:8848
-
SPRING_REDIS_HOST=172.16.100.243
-
SPRING_REDIS_PORT=6379
-
SPRING_REDIS_DATABASE=0
-
SPRING_DATASOURCE_USERNAME=BPMEHR
-
SPRING_DATASOURCE_PASSWORD=sys
-
SPRING_DATASOURCE_URL=jdbc:oracle:thin:@172.16.170.71:1521:localorcl
-
SPRING_DATASOURCE_DRIVER-CLASS-NAME=oracle.jdbc.driver.OracleDriver
-
SPRING_DATASOURCE_DEFAULTSCHEMA=BPMEHR
-
CAS=https://passport.ibizlab.cn
-
NACOS=172.16.240.110:8848
deploy
:
mode
:
replicated
replicas
:
1
...
...
ehr-app/ehr-app-ehrpcm/src/main/docker/Dockerfile
浏览文件 @
e0b61b45
...
...
@@ -9,6 +9,6 @@ CMD echo "The application will start in ${IBZ_SLEEP}s..." && \
sleep ${IBZ_SLEEP} && \
java ${JAVA_OPTS} -Djava.security.egd=file:/dev/./urandom -jar /ehr-app-ehrpcm.jar
EXPOSE
8080
EXPOSE
6092
ADD
ehr-app-ehrpcm.jar /ehr-app-ehrpcm.jar
ehr-app/ehr-app-ehrpcm/src/main/docker/ehr-app-ehrpcm.yaml
浏览文件 @
e0b61b45
...
...
@@ -3,9 +3,23 @@ services:
ehr-app-ehrpcm
:
image
:
registry.cn-shanghai.aliyuncs.com/ibizsys/ehr-app-ehrpcm:latest
ports
:
-
"
8080:8080
"
-
"
6092:6092
"
networks
:
-
agent_network
environment
:
-
SPRING_CLOUD_NACOS_DISCOVERY_IP=172.16.240.110
-
SERVER_PORT=6092
-
SPRING_CLOUD_NACOS_DISCOVERY_SERVER-ADDR=172.16.240.110:8848
-
SPRING_REDIS_HOST=172.16.100.243
-
SPRING_REDIS_PORT=6379
-
SPRING_REDIS_DATABASE=0
-
SPRING_DATASOURCE_USERNAME=BPMEHR
-
SPRING_DATASOURCE_PASSWORD=sys
-
SPRING_DATASOURCE_URL=jdbc:oracle:thin:@172.16.170.71:1521:localorcl
-
SPRING_DATASOURCE_DRIVER-CLASS-NAME=oracle.jdbc.driver.OracleDriver
-
SPRING_DATASOURCE_DEFAULTSCHEMA=BPMEHR
-
CAS=https://passport.ibizlab.cn
-
NACOS=172.16.240.110:8848
deploy
:
mode
:
replicated
replicas
:
1
...
...
ehr-app/ehr-app-ehrpcm2/src/main/docker/Dockerfile
浏览文件 @
e0b61b45
...
...
@@ -9,6 +9,6 @@ CMD echo "The application will start in ${IBZ_SLEEP}s..." && \
sleep ${IBZ_SLEEP} && \
java ${JAVA_OPTS} -Djava.security.egd=file:/dev/./urandom -jar /ehr-app-ehrpcm2.jar
EXPOSE
8080
EXPOSE
6092
ADD
ehr-app-ehrpcm2.jar /ehr-app-ehrpcm2.jar
ehr-app/ehr-app-ehrpcm2/src/main/docker/ehr-app-ehrpcm2.yaml
浏览文件 @
e0b61b45
...
...
@@ -3,9 +3,23 @@ services:
ehr-app-ehrpcm2
:
image
:
registry.cn-shanghai.aliyuncs.com/ibizsys/ehr-app-ehrpcm2:latest
ports
:
-
"
8080:8080
"
-
"
6092:6092
"
networks
:
-
agent_network
environment
:
-
SPRING_CLOUD_NACOS_DISCOVERY_IP=172.16.240.110
-
SERVER_PORT=6092
-
SPRING_CLOUD_NACOS_DISCOVERY_SERVER-ADDR=172.16.240.110:8848
-
SPRING_REDIS_HOST=172.16.100.243
-
SPRING_REDIS_PORT=6379
-
SPRING_REDIS_DATABASE=0
-
SPRING_DATASOURCE_USERNAME=BPMEHR
-
SPRING_DATASOURCE_PASSWORD=sys
-
SPRING_DATASOURCE_URL=jdbc:oracle:thin:@172.16.170.71:1521:localorcl
-
SPRING_DATASOURCE_DRIVER-CLASS-NAME=oracle.jdbc.driver.OracleDriver
-
SPRING_DATASOURCE_DEFAULTSCHEMA=BPMEHR
-
CAS=https://passport.ibizlab.cn
-
NACOS=172.16.240.110:8848
deploy
:
mode
:
replicated
replicas
:
1
...
...
ehr-app/ehr-app-ehrpim/src/main/docker/Dockerfile
浏览文件 @
e0b61b45
...
...
@@ -9,6 +9,6 @@ CMD echo "The application will start in ${IBZ_SLEEP}s..." && \
sleep ${IBZ_SLEEP} && \
java ${JAVA_OPTS} -Djava.security.egd=file:/dev/./urandom -jar /ehr-app-ehrpim.jar
EXPOSE
8080
EXPOSE
6092
ADD
ehr-app-ehrpim.jar /ehr-app-ehrpim.jar
ehr-app/ehr-app-ehrpim/src/main/docker/ehr-app-ehrpim.yaml
浏览文件 @
e0b61b45
...
...
@@ -3,9 +3,23 @@ services:
ehr-app-ehrpim
:
image
:
registry.cn-shanghai.aliyuncs.com/ibizsys/ehr-app-ehrpim:latest
ports
:
-
"
8080:8080
"
-
"
6092:6092
"
networks
:
-
agent_network
environment
:
-
SPRING_CLOUD_NACOS_DISCOVERY_IP=172.16.240.110
-
SERVER_PORT=6092
-
SPRING_CLOUD_NACOS_DISCOVERY_SERVER-ADDR=172.16.240.110:8848
-
SPRING_REDIS_HOST=172.16.100.243
-
SPRING_REDIS_PORT=6379
-
SPRING_REDIS_DATABASE=0
-
SPRING_DATASOURCE_USERNAME=BPMEHR
-
SPRING_DATASOURCE_PASSWORD=sys
-
SPRING_DATASOURCE_URL=jdbc:oracle:thin:@172.16.170.71:1521:localorcl
-
SPRING_DATASOURCE_DRIVER-CLASS-NAME=oracle.jdbc.driver.OracleDriver
-
SPRING_DATASOURCE_DEFAULTSCHEMA=BPMEHR
-
CAS=https://passport.ibizlab.cn
-
NACOS=172.16.240.110:8848
deploy
:
mode
:
replicated
replicas
:
1
...
...
ehr-app/ehr-app-ehrweb/src/main/docker/Dockerfile
浏览文件 @
e0b61b45
...
...
@@ -9,6 +9,6 @@ CMD echo "The application will start in ${IBZ_SLEEP}s..." && \
sleep ${IBZ_SLEEP} && \
java ${JAVA_OPTS} -Djava.security.egd=file:/dev/./urandom -jar /ehr-app-ehrweb.jar
EXPOSE
8080
EXPOSE
6092
ADD
ehr-app-ehrweb.jar /ehr-app-ehrweb.jar
ehr-app/ehr-app-ehrweb/src/main/docker/ehr-app-ehrweb.yaml
浏览文件 @
e0b61b45
...
...
@@ -3,9 +3,23 @@ services:
ehr-app-ehrweb
:
image
:
registry.cn-shanghai.aliyuncs.com/ibizsys/ehr-app-ehrweb:latest
ports
:
-
"
8080:8080
"
-
"
6092:6092
"
networks
:
-
agent_network
environment
:
-
SPRING_CLOUD_NACOS_DISCOVERY_IP=172.16.240.110
-
SERVER_PORT=6092
-
SPRING_CLOUD_NACOS_DISCOVERY_SERVER-ADDR=172.16.240.110:8848
-
SPRING_REDIS_HOST=172.16.100.243
-
SPRING_REDIS_PORT=6379
-
SPRING_REDIS_DATABASE=0
-
SPRING_DATASOURCE_USERNAME=BPMEHR
-
SPRING_DATASOURCE_PASSWORD=sys
-
SPRING_DATASOURCE_URL=jdbc:oracle:thin:@172.16.170.71:1521:localorcl
-
SPRING_DATASOURCE_DRIVER-CLASS-NAME=oracle.jdbc.driver.OracleDriver
-
SPRING_DATASOURCE_DEFAULTSCHEMA=BPMEHR
-
CAS=https://passport.ibizlab.cn
-
NACOS=172.16.240.110:8848
deploy
:
mode
:
replicated
replicas
:
1
...
...
ehr-app/ehr-app-web/src/main/docker/Dockerfile
浏览文件 @
e0b61b45
...
...
@@ -9,6 +9,6 @@ CMD echo "The application will start in ${IBZ_SLEEP}s..." && \
sleep ${IBZ_SLEEP} && \
java ${JAVA_OPTS} -Djava.security.egd=file:/dev/./urandom -jar /ehr-app-web.jar
EXPOSE
8080
EXPOSE
6092
ADD
ehr-app-web.jar /ehr-app-web.jar
ehr-app/ehr-app-web/src/main/docker/ehr-app-web.yaml
浏览文件 @
e0b61b45
...
...
@@ -3,9 +3,23 @@ services:
ehr-app-web
:
image
:
registry.cn-shanghai.aliyuncs.com/ibizsys/ehr-app-web:latest
ports
:
-
"
8080:8080
"
-
"
6092:6092
"
networks
:
-
agent_network
environment
:
-
SPRING_CLOUD_NACOS_DISCOVERY_IP=172.16.240.110
-
SERVER_PORT=6092
-
SPRING_CLOUD_NACOS_DISCOVERY_SERVER-ADDR=172.16.240.110:8848
-
SPRING_REDIS_HOST=172.16.100.243
-
SPRING_REDIS_PORT=6379
-
SPRING_REDIS_DATABASE=0
-
SPRING_DATASOURCE_USERNAME=BPMEHR
-
SPRING_DATASOURCE_PASSWORD=sys
-
SPRING_DATASOURCE_URL=jdbc:oracle:thin:@172.16.170.71:1521:localorcl
-
SPRING_DATASOURCE_DRIVER-CLASS-NAME=oracle.jdbc.driver.OracleDriver
-
SPRING_DATASOURCE_DEFAULTSCHEMA=BPMEHR
-
CAS=https://passport.ibizlab.cn
-
NACOS=172.16.240.110:8848
deploy
:
mode
:
replicated
replicas
:
1
...
...
ehr-provider/ehr-provider-parttimeperson/src/main/docker/Dockerfile
浏览文件 @
e0b61b45
...
...
@@ -9,6 +9,6 @@ CMD echo "The application will start in ${IBZ_SLEEP}s..." && \
sleep ${IBZ_SLEEP} && \
java ${JAVA_OPTS} -Djava.security.egd=file:/dev/./urandom -jar /ehr-provider-parttimeperson.jar
EXPOSE
5080
EXPOSE
8081
ADD
ehr-provider-parttimeperson.jar /ehr-provider-parttimeperson.jar
ehr-provider/ehr-provider-parttimeperson/src/main/docker/ehr-provider-parttimeperson.yaml
浏览文件 @
e0b61b45
...
...
@@ -3,23 +3,9 @@ services:
ehr-provider-parttimeperson
:
image
:
registry.cn-shanghai.aliyuncs.com/ibizsys/ehr-provider-parttimeperson:latest
ports
:
-
"
5080:5080
"
-
"
8081:8081
"
networks
:
-
agent_network
environment
:
-
SPRING_CLOUD_NACOS_DISCOVERY_IP=172.16.240.110
-
SERVER_PORT=5080
-
SPRING_CLOUD_NACOS_DISCOVERY_SERVER-ADDR=172.16.240.110:8848
-
SPRING_REDIS_HOST=172.16.100.243
-
SPRING_REDIS_PORT=6379
-
SPRING_REDIS_DATABASE=0
-
SPRING_DATASOURCE_USERNAME=BPMEHR
-
SPRING_DATASOURCE_PASSWORD=sys
-
SPRING_DATASOURCE_URL=jdbc:oracle:thin:@172.16.170.71:1521:localorcl
-
SPRING_DATASOURCE_DRIVER-CLASS-NAME=oracle.jdbc.driver.OracleDriver
-
SPRING_DATASOURCE_DEFAULTSCHEMA=BPMEHR
-
CAS=https://passport.ibizlab.cn
-
NACOS=172.16.240.110:8848
deploy
:
mode
:
replicated
replicas
:
1
...
...
ehr-provider/ehr-provider-saasadmin/src/main/docker/Dockerfile
浏览文件 @
e0b61b45
...
...
@@ -9,6 +9,6 @@ CMD echo "The application will start in ${IBZ_SLEEP}s..." && \
sleep ${IBZ_SLEEP} && \
java ${JAVA_OPTS} -Djava.security.egd=file:/dev/./urandom -jar /ehr-provider-saasadmin.jar
EXPOSE
5080
EXPOSE
8081
ADD
ehr-provider-saasadmin.jar /ehr-provider-saasadmin.jar
ehr-provider/ehr-provider-saasadmin/src/main/docker/ehr-provider-saasadmin.yaml
浏览文件 @
e0b61b45
...
...
@@ -3,23 +3,9 @@ services:
ehr-provider-saasadmin
:
image
:
registry.cn-shanghai.aliyuncs.com/ibizsys/ehr-provider-saasadmin:latest
ports
:
-
"
5080:5080
"
-
"
8081:8081
"
networks
:
-
agent_network
environment
:
-
SPRING_CLOUD_NACOS_DISCOVERY_IP=172.16.240.110
-
SERVER_PORT=5080
-
SPRING_CLOUD_NACOS_DISCOVERY_SERVER-ADDR=172.16.240.110:8848
-
SPRING_REDIS_HOST=172.16.100.243
-
SPRING_REDIS_PORT=6379
-
SPRING_REDIS_DATABASE=0
-
SPRING_DATASOURCE_USERNAME=BPMEHR
-
SPRING_DATASOURCE_PASSWORD=sys
-
SPRING_DATASOURCE_URL=jdbc:oracle:thin:@172.16.170.71:1521:localorcl
-
SPRING_DATASOURCE_DRIVER-CLASS-NAME=oracle.jdbc.driver.OracleDriver
-
SPRING_DATASOURCE_DEFAULTSCHEMA=BPMEHR
-
CAS=https://passport.ibizlab.cn
-
NACOS=172.16.240.110:8848
deploy
:
mode
:
replicated
replicas
:
1
...
...
ehr-provider/ehr-provider-specialrole/src/main/docker/Dockerfile
浏览文件 @
e0b61b45
...
...
@@ -9,6 +9,6 @@ CMD echo "The application will start in ${IBZ_SLEEP}s..." && \
sleep ${IBZ_SLEEP} && \
java ${JAVA_OPTS} -Djava.security.egd=file:/dev/./urandom -jar /ehr-provider-specialrole.jar
EXPOSE
5080
EXPOSE
8081
ADD
ehr-provider-specialrole.jar /ehr-provider-specialrole.jar
ehr-provider/ehr-provider-specialrole/src/main/docker/ehr-provider-specialrole.yaml
浏览文件 @
e0b61b45
...
...
@@ -3,23 +3,9 @@ services:
ehr-provider-specialrole
:
image
:
registry.cn-shanghai.aliyuncs.com/ibizsys/ehr-provider-specialrole:latest
ports
:
-
"
5080:5080
"
-
"
8081:8081
"
networks
:
-
agent_network
environment
:
-
SPRING_CLOUD_NACOS_DISCOVERY_IP=172.16.240.110
-
SERVER_PORT=5080
-
SPRING_CLOUD_NACOS_DISCOVERY_SERVER-ADDR=172.16.240.110:8848
-
SPRING_REDIS_HOST=172.16.100.243
-
SPRING_REDIS_PORT=6379
-
SPRING_REDIS_DATABASE=0
-
SPRING_DATASOURCE_USERNAME=BPMEHR
-
SPRING_DATASOURCE_PASSWORD=sys
-
SPRING_DATASOURCE_URL=jdbc:oracle:thin:@172.16.170.71:1521:localorcl
-
SPRING_DATASOURCE_DRIVER-CLASS-NAME=oracle.jdbc.driver.OracleDriver
-
SPRING_DATASOURCE_DEFAULTSCHEMA=BPMEHR
-
CAS=https://passport.ibizlab.cn
-
NACOS=172.16.240.110:8848
deploy
:
mode
:
replicated
replicas
:
1
...
...
ehr-provider/ehr-provider-webapi/src/main/docker/Dockerfile
浏览文件 @
e0b61b45
...
...
@@ -9,6 +9,6 @@ CMD echo "The application will start in ${IBZ_SLEEP}s..." && \
sleep ${IBZ_SLEEP} && \
java ${JAVA_OPTS} -Djava.security.egd=file:/dev/./urandom -jar /ehr-provider-webapi.jar
EXPOSE
5080
EXPOSE
8081
ADD
ehr-provider-webapi.jar /ehr-provider-webapi.jar
ehr-provider/ehr-provider-webapi/src/main/docker/ehr-provider-webapi.yaml
浏览文件 @
e0b61b45
...
...
@@ -3,23 +3,9 @@ services:
ehr-provider-webapi
:
image
:
registry.cn-shanghai.aliyuncs.com/ibizsys/ehr-provider-webapi:latest
ports
:
-
"
5080:5080
"
-
"
8081:8081
"
networks
:
-
agent_network
environment
:
-
SPRING_CLOUD_NACOS_DISCOVERY_IP=172.16.240.110
-
SERVER_PORT=5080
-
SPRING_CLOUD_NACOS_DISCOVERY_SERVER-ADDR=172.16.240.110:8848
-
SPRING_REDIS_HOST=172.16.100.243
-
SPRING_REDIS_PORT=6379
-
SPRING_REDIS_DATABASE=0
-
SPRING_DATASOURCE_USERNAME=BPMEHR
-
SPRING_DATASOURCE_PASSWORD=sys
-
SPRING_DATASOURCE_URL=jdbc:oracle:thin:@172.16.170.71:1521:localorcl
-
SPRING_DATASOURCE_DRIVER-CLASS-NAME=oracle.jdbc.driver.OracleDriver
-
SPRING_DATASOURCE_DEFAULTSCHEMA=BPMEHR
-
CAS=https://passport.ibizlab.cn
-
NACOS=172.16.240.110:8848
deploy
:
mode
:
replicated
replicas
:
1
...
...
ehr-provider/ehr-provider-wfcallback/src/main/docker/Dockerfile
浏览文件 @
e0b61b45
...
...
@@ -9,6 +9,6 @@ CMD echo "The application will start in ${IBZ_SLEEP}s..." && \
sleep ${IBZ_SLEEP} && \
java ${JAVA_OPTS} -Djava.security.egd=file:/dev/./urandom -jar /ehr-provider-wfcallback.jar
EXPOSE
5080
EXPOSE
8081
ADD
ehr-provider-wfcallback.jar /ehr-provider-wfcallback.jar
ehr-provider/ehr-provider-wfcallback/src/main/docker/ehr-provider-wfcallback.yaml
浏览文件 @
e0b61b45
...
...
@@ -3,23 +3,9 @@ services:
ehr-provider-wfcallback
:
image
:
registry.cn-shanghai.aliyuncs.com/ibizsys/ehr-provider-wfcallback:latest
ports
:
-
"
5080:5080
"
-
"
8081:8081
"
networks
:
-
agent_network
environment
:
-
SPRING_CLOUD_NACOS_DISCOVERY_IP=172.16.240.110
-
SERVER_PORT=5080
-
SPRING_CLOUD_NACOS_DISCOVERY_SERVER-ADDR=172.16.240.110:8848
-
SPRING_REDIS_HOST=172.16.100.243
-
SPRING_REDIS_PORT=6379
-
SPRING_REDIS_DATABASE=0
-
SPRING_DATASOURCE_USERNAME=BPMEHR
-
SPRING_DATASOURCE_PASSWORD=sys
-
SPRING_DATASOURCE_URL=jdbc:oracle:thin:@172.16.170.71:1521:localorcl
-
SPRING_DATASOURCE_DRIVER-CLASS-NAME=oracle.jdbc.driver.OracleDriver
-
SPRING_DATASOURCE_DEFAULTSCHEMA=BPMEHR
-
CAS=https://passport.ibizlab.cn
-
NACOS=172.16.240.110:8848
deploy
:
mode
:
replicated
replicas
:
1
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录