Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
iBizEHR
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
1
议题
1
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
iBizEHR解决方案
iBizEHR
提交
90ca1f11
提交
90ca1f11
编写于
5月 13, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
ibizdev提交
上级
f6ccaed2
变更
54
隐藏空白字符变更
内嵌
并排
正在显示
54 个修改的文件
包含
20303 行增加
和
638 行删除
+20303
-638
login.less
app_EHRPim/src/components/login/login.less
+4
-28
login.vue
app_EHRPim/src/components/login/login.vue
+3
-22
app-layout.less
...EHRPim/src/crm-core/components/app-layout/app-layout.less
+1
-2
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
+420
-420
user-register.ts
app_EHRPim/src/user-register.ts
+0
-5
pim-portal-view-db-dashboard-base.vue
...l-view-db-dashboard/pim-portal-view-db-dashboard-base.vue
+45
-45
org-voc-num-list-list.less
...cational/org-voc-num-list-list/org-voc-num-list-list.less
+0
-4
config.xml
config.xml
+5
-0
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
+3
-1
application-ehr-dev.yml
...pp/ehr-app-ehr/src/main/resources/application-ehr-dev.yml
+1
-1
application-ehr-prod.yml
...p/ehr-app-ehr/src/main/resources/application-ehr-prod.yml
+1
-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
+3
-1
application-ehrapp-dev.yml
...-app-ehrapp/src/main/resources/application-ehrapp-dev.yml
+1
-1
application-ehrapp-prod.yml
...app-ehrapp/src/main/resources/application-ehrapp-prod.yml
+1
-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
+3
-1
application-ehrhelp-dev.yml
...pp-ehrhelp/src/main/resources/application-ehrhelp-dev.yml
+1
-1
application-ehrhelp-prod.yml
...p-ehrhelp/src/main/resources/application-ehrhelp-prod.yml
+1
-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
+3
-1
application-ehrmob-dev.yml
...-app-ehrmob/src/main/resources/application-ehrmob-dev.yml
+1
-1
application-ehrmob-prod.yml
...app-ehrmob/src/main/resources/application-ehrmob-prod.yml
+1
-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
+3
-1
application-ehrorm-dev.yml
...-app-ehrorm/src/main/resources/application-ehrorm-dev.yml
+1
-1
application-ehrorm-prod.yml
...app-ehrorm/src/main/resources/application-ehrorm-prod.yml
+1
-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
+3
-1
application-ehrpcm-dev.yml
...-app-ehrpcm/src/main/resources/application-ehrpcm-dev.yml
+1
-1
application-ehrpcm-prod.yml
...app-ehrpcm/src/main/resources/application-ehrpcm-prod.yml
+1
-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
+3
-1
application-ehrpcm2-dev.yml
...pp-ehrpcm2/src/main/resources/application-ehrpcm2-dev.yml
+1
-1
application-ehrpcm2-prod.yml
...p-ehrpcm2/src/main/resources/application-ehrpcm2-prod.yml
+1
-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
+3
-1
application-ehrpim-dev.yml
...-app-ehrpim/src/main/resources/application-ehrpim-dev.yml
+1
-1
application-ehrpim-prod.yml
...app-ehrpim/src/main/resources/application-ehrpim-prod.yml
+1
-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
+3
-1
application-ehrweb-dev.yml
...-app-ehrweb/src/main/resources/application-ehrweb-dev.yml
+1
-1
application-ehrweb-prod.yml
...app-ehrweb/src/main/resources/application-ehrweb-prod.yml
+1
-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
+3
-1
application-web-dev.yml
...pp/ehr-app-web/src/main/resources/application-web-dev.yml
+1
-1
application-web-prod.yml
...p/ehr-app-web/src/main/resources/application-web-prod.yml
+1
-1
h2_table.xml
ehr-core/src/main/resources/liquibase/h2_table.xml
+17296
-7
view.xml
ehr-core/src/main/resources/liquibase/view.xml
+2385
-7
PermissionSyncJob.java
.../main/java/cn/ibizlab/ehr/util/job/PermissionSyncJob.java
+1
-1
application-sys.yml
ehr-util/src/main/resources/application-sys.yml
+27
-1
未找到文件。
app_EHRPim/src/components/login/login.less
浏览文件 @
90ca1f11
.login{
.login{
width: 100vh;
width: 100vh;
height: 100vh;
height: 100vh;
> img{
// background-image: url('../assets/images/login_bg.jpg');
width: 100vw;
background-size: cover;
height: 100vh;
background-position: center;
}
position: relative;
.login-logo{
position: fixed;
left: 80px;
top: 80px;
}
.login-content{
position: fixed;
left: 10%;
top: 30%;
width: 60%;
>span{
color: #fff;
font-size: 84px;
}
}
&-con{
&-con{
position: fixed;
position: fixed;
right: 160px;
right: 160px;
top: 50%;
top: 50%;
transform: translateY(-60%);
transform: translateY(-60%);
width: 300px;
width: 300px;
.ivu-card-head {
padding: 14px 6px;
>p{
line-height: 20px;
font-size: 14px;
color: #17233d;
font-weight: 700;
}
}
&-header{
&-header{
font-size: 16px;
font-size: 16px;
font-weight: 300;
font-weight: 300;
...
...
app_EHRPim/src/components/login/login.vue
浏览文件 @
90ca1f11
<
template
>
<
template
>
<div
class=
'login'
>
<div
class=
'login'
>
<img
src=
"/assets/img/login_bg.png"
/>
<div
class=
"login-logo"
>
<img
src =
"/assets/img/logo.svg"
/>
</div>
<div
class=
"login-content"
>
<span>
{{
appTitle
}}
</span>
</div>
<div
class=
'login-con'
>
<div
class=
'login-con'
>
<card
:bordered=
"false"
>
<card
:bordered=
"false"
>
<p
slot=
'title'
>
<p
slot=
'title'
>
...
@@ -62,15 +55,7 @@ export default class Login extends Vue {
...
@@ -62,15 +55,7 @@ export default class Login extends Vue {
* @type {*}
* @type {*}
* @memberof Login
* @memberof Login
*/
*/
public
form
:
any
=
{
loginname
:
'guest'
,
password
:
'guest'
};
public
form
:
any
=
{
loginname
:
null
,
password
:
null
};
/**
* 应用标题
*
* @type {string}
* @memberof Login
*/
public
appTitle
:
string
=
Environment
.
AppTitle
;
/**
/**
* 值规则
* 值规则
...
@@ -133,12 +118,8 @@ export default class Login extends Vue {
...
@@ -133,12 +118,8 @@ export default class Login extends Vue {
post
.
then
((
response
:
any
)
=>
{
post
.
then
((
response
:
any
)
=>
{
if
(
response
&&
response
.
status
===
200
)
{
if
(
response
&&
response
.
status
===
200
)
{
const
data
=
response
.
data
;
const
data
=
response
.
data
;
if
(
data
&&
data
.
token
){
localStorage
.
setItem
(
'token'
,
data
.
token
);
localStorage
.
setItem
(
'token'
,
data
.
token
);
localStorage
.
setItem
(
'user'
,
JSON
.
stringify
(
data
.
user
));
}
if
(
data
&&
data
.
user
){
localStorage
.
setItem
(
'user'
,
JSON
.
stringify
(
data
.
user
));
}
const
url
:
any
=
this
.
$route
.
query
.
redirect
?
this
.
$route
.
query
.
redirect
:
'*'
;
const
url
:
any
=
this
.
$route
.
query
.
redirect
?
this
.
$route
.
query
.
redirect
:
'*'
;
this
.
$router
.
push
({
path
:
url
});
this
.
$router
.
push
({
path
:
url
});
}
}
...
...
app_EHRPim/src/crm-core/components/app-layout/app-layout.less
浏览文件 @
90ca1f11
...
@@ -154,8 +154,7 @@ body {
...
@@ -154,8 +154,7 @@ body {
.dashboard{
.dashboard{
padding: 8px;
padding: 8px;
}
}
.portlet-card, .portlet-container{
.portlet-container{
// .portlet-container{
background: #efefef;
background: #efefef;
}
}
.portlet-container::after{
.portlet-container::after{
...
...
app_EHRPim/src/mock/entity/pimeducations/pimeducations.ts
浏览文件 @
90ca1f11
...
@@ -4,12 +4,12 @@ const mock = MockAdapter.getInstance();
...
@@ -4,12 +4,12 @@ const mock = MockAdapter.getInstance();
// 模拟数据
// 模拟数据
const
mockDatas
:
Array
<
any
>
=
[
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-13 2
2:28:50"
,
"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-13 22:28:50
"
,
"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-13 2
3:36:49"
,
"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-13 23:36:49
"
,
"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-13 2
2:28:50"
,
"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-13 22:28:50
"
,
"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-13 2
3:36:49"
,
"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-13 23:36:49
"
,
"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-13 2
2:28:50"
,
"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-13 22:28:50
"
,
"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-13 2
3:36:49"
,
"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-13 23:36:49
"
,
"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-13 2
2:28:50"
,
"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-13 22:28:50
"
,
"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-13 2
3:36:49"
,
"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-13 23:36:49
"
,
"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-13 2
2:28:50"
,
"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-13 22:28:50
"
,
"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-13 2
3:36:49"
,
"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-13 23:36:49
"
,
"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-13 2
2:28:50"
,
"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-13 22:28:50
"
,
"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-13 2
3:36:49"
,
"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-13 23:36:49
"
,
"createman"
:
"示例操作者"
,
"pimpersonname"
:
null
}
];
];
...
...
app_EHRPim/src/service/pimarchives/pimarchives-service-base.ts
浏览文件 @
90ca1f11
...
@@ -85,9 +85,9 @@ export default class PIMARCHIVESServiceBase extends EntityService {
...
@@ -85,9 +85,9 @@ export default class PIMARCHIVESServiceBase extends EntityService {
}
}
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/pimarchives/getdraft`
,
isloading
);
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/pimarchives/getdraft`
,
isloading
);
res
.
data
.
pimarchives
=
data
.
pimarchives
;
res
.
data
.
pimarchives
=
data
.
pimarchives
;
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
+
'_pimarchivesloanandreturns'
,
JSON
.
stringify
(
res
.
data
.
pimarchivesloanandreturns
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimarchiveschanges'
,
JSON
.
stringify
(
res
.
data
.
pimarchiveschanges
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimarchiveschanges'
,
JSON
.
stringify
(
res
.
data
.
pimarchiveschanges
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimarchivesrecords'
,
JSON
.
stringify
(
res
.
data
.
pimarchivesrecords
));
return
res
;
return
res
;
}
}
...
@@ -105,6 +105,21 @@ export default class PIMARCHIVESServiceBase extends EntityService {
...
@@ -105,6 +105,21 @@ export default class PIMARCHIVESServiceBase extends EntityService {
return
Http
.
getInstance
().
post
(
`/pimpeople/
${
context
.
pimperson
}
/pimarchives/
${
context
.
pimarchives
}
/save`
,
data
,
isloading
);
return
Http
.
getInstance
().
post
(
`/pimpeople/
${
context
.
pimperson
}
/pimarchives/
${
context
.
pimarchives
}
/save`
,
data
,
isloading
);
}
}
let
masterData
:
any
=
{};
let
masterData
:
any
=
{};
let
pimarchivesrecordsData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimarchivesrecords'
),
'undefined'
)){
pimarchivesrecordsData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimarchivesrecords'
)
as
any
);
if
(
pimarchivesrecordsData
&&
pimarchivesrecordsData
.
length
&&
pimarchivesrecordsData
.
length
>
0
){
pimarchivesrecordsData
.
forEach
((
item
:
any
)
=>
{
if
(
item
.
srffrontuf
){
if
(
Object
.
is
(
item
.
srffrontuf
,
"0"
)){
item
.
pimarchivesrecordid
=
null
;
}
delete
item
.
srffrontuf
;
}
});
}
}
masterData
.
pimarchivesrecords
=
pimarchivesrecordsData
;
let
pimarchivesloanandreturnsData
:
any
=
[];
let
pimarchivesloanandreturnsData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimarchivesloanandreturns'
),
'undefined'
)){
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimarchivesloanandreturns'
),
'undefined'
)){
pimarchivesloanandreturnsData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimarchivesloanandreturns'
)
as
any
);
pimarchivesloanandreturnsData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimarchivesloanandreturns'
)
as
any
);
...
@@ -135,26 +150,11 @@ export default class PIMARCHIVESServiceBase extends EntityService {
...
@@ -135,26 +150,11 @@ export default class PIMARCHIVESServiceBase extends EntityService {
}
}
}
}
masterData
.
pimarchiveschanges
=
pimarchiveschangesData
;
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
);
if
(
pimarchivesrecordsData
&&
pimarchivesrecordsData
.
length
&&
pimarchivesrecordsData
.
length
>
0
){
pimarchivesrecordsData
.
forEach
((
item
:
any
)
=>
{
if
(
item
.
srffrontuf
){
if
(
Object
.
is
(
item
.
srffrontuf
,
"0"
)){
item
.
pimarchivesrecordid
=
null
;
}
delete
item
.
srffrontuf
;
}
});
}
}
masterData
.
pimarchivesrecords
=
pimarchivesrecordsData
;
Object
.
assign
(
data
,
masterData
);
Object
.
assign
(
data
,
masterData
);
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/pimarchives/
${
context
.
pimarchives
}
/save`
,
data
,
isloading
);
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/pimarchives/
${
context
.
pimarchives
}
/save`
,
data
,
isloading
);
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
+
'_pimarchivesloanandreturns'
,
JSON
.
stringify
(
res
.
data
.
pimarchivesloanandreturns
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimarchiveschanges'
,
JSON
.
stringify
(
res
.
data
.
pimarchiveschanges
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimarchiveschanges'
,
JSON
.
stringify
(
res
.
data
.
pimarchiveschanges
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimarchivesrecords'
,
JSON
.
stringify
(
res
.
data
.
pimarchivesrecords
));
return
res
;
return
res
;
}
}
...
@@ -172,9 +172,9 @@ export default class PIMARCHIVESServiceBase extends EntityService {
...
@@ -172,9 +172,9 @@ export default class PIMARCHIVESServiceBase extends EntityService {
return
Http
.
getInstance
().
get
(
`/pimpeople/
${
context
.
pimperson
}
/pimarchives/
${
context
.
pimarchives
}
`
,
isloading
);
return
Http
.
getInstance
().
get
(
`/pimpeople/
${
context
.
pimperson
}
/pimarchives/
${
context
.
pimarchives
}
`
,
isloading
);
}
}
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/pimarchives/
${
context
.
pimarchives
}
`
,
isloading
);
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/pimarchives/
${
context
.
pimarchives
}
`
,
isloading
);
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
+
'_pimarchivesloanandreturns'
,
JSON
.
stringify
(
res
.
data
.
pimarchivesloanandreturns
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimarchiveschanges'
,
JSON
.
stringify
(
res
.
data
.
pimarchiveschanges
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimarchiveschanges'
,
JSON
.
stringify
(
res
.
data
.
pimarchiveschanges
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimarchivesrecords'
,
JSON
.
stringify
(
res
.
data
.
pimarchivesrecords
));
return
res
;
return
res
;
}
}
...
@@ -193,6 +193,21 @@ export default class PIMARCHIVESServiceBase extends EntityService {
...
@@ -193,6 +193,21 @@ export default class PIMARCHIVESServiceBase extends EntityService {
return
Http
.
getInstance
().
put
(
`/pimpeople/
${
context
.
pimperson
}
/pimarchives/
${
context
.
pimarchives
}
`
,
data
,
isloading
);
return
Http
.
getInstance
().
put
(
`/pimpeople/
${
context
.
pimperson
}
/pimarchives/
${
context
.
pimarchives
}
`
,
data
,
isloading
);
}
}
let
masterData
:
any
=
{};
let
masterData
:
any
=
{};
let
pimarchivesrecordsData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimarchivesrecords'
),
'undefined'
)){
pimarchivesrecordsData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimarchivesrecords'
)
as
any
);
if
(
pimarchivesrecordsData
&&
pimarchivesrecordsData
.
length
&&
pimarchivesrecordsData
.
length
>
0
){
pimarchivesrecordsData
.
forEach
((
item
:
any
)
=>
{
if
(
item
.
srffrontuf
){
if
(
Object
.
is
(
item
.
srffrontuf
,
"0"
)){
item
.
pimarchivesrecordid
=
null
;
}
delete
item
.
srffrontuf
;
}
});
}
}
masterData
.
pimarchivesrecords
=
pimarchivesrecordsData
;
let
pimarchivesloanandreturnsData
:
any
=
[];
let
pimarchivesloanandreturnsData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimarchivesloanandreturns'
),
'undefined'
)){
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimarchivesloanandreturns'
),
'undefined'
)){
pimarchivesloanandreturnsData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimarchivesloanandreturns'
)
as
any
);
pimarchivesloanandreturnsData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimarchivesloanandreturns'
)
as
any
);
...
@@ -223,26 +238,11 @@ export default class PIMARCHIVESServiceBase extends EntityService {
...
@@ -223,26 +238,11 @@ export default class PIMARCHIVESServiceBase extends EntityService {
}
}
}
}
masterData
.
pimarchiveschanges
=
pimarchiveschangesData
;
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
);
if
(
pimarchivesrecordsData
&&
pimarchivesrecordsData
.
length
&&
pimarchivesrecordsData
.
length
>
0
){
pimarchivesrecordsData
.
forEach
((
item
:
any
)
=>
{
if
(
item
.
srffrontuf
){
if
(
Object
.
is
(
item
.
srffrontuf
,
"0"
)){
item
.
pimarchivesrecordid
=
null
;
}
delete
item
.
srffrontuf
;
}
});
}
}
masterData
.
pimarchivesrecords
=
pimarchivesrecordsData
;
Object
.
assign
(
data
,
masterData
);
Object
.
assign
(
data
,
masterData
);
let
res
:
any
=
await
Http
.
getInstance
().
put
(
`/pimarchives/
${
context
.
pimarchives
}
`
,
data
,
isloading
);
let
res
:
any
=
await
Http
.
getInstance
().
put
(
`/pimarchives/
${
context
.
pimarchives
}
`
,
data
,
isloading
);
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
+
'_pimarchivesloanandreturns'
,
JSON
.
stringify
(
res
.
data
.
pimarchivesloanandreturns
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimarchiveschanges'
,
JSON
.
stringify
(
res
.
data
.
pimarchiveschanges
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimarchiveschanges'
,
JSON
.
stringify
(
res
.
data
.
pimarchiveschanges
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimarchivesrecords'
,
JSON
.
stringify
(
res
.
data
.
pimarchivesrecords
));
return
res
;
return
res
;
}
}
...
@@ -282,6 +282,21 @@ export default class PIMARCHIVESServiceBase extends EntityService {
...
@@ -282,6 +282,21 @@ export default class PIMARCHIVESServiceBase extends EntityService {
return
Http
.
getInstance
().
post
(
`/pimpeople/
${
context
.
pimperson
}
/pimarchives`
,
data
,
isloading
);
return
Http
.
getInstance
().
post
(
`/pimpeople/
${
context
.
pimperson
}
/pimarchives`
,
data
,
isloading
);
}
}
let
masterData
:
any
=
{};
let
masterData
:
any
=
{};
let
pimarchivesrecordsData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimarchivesrecords'
),
'undefined'
)){
pimarchivesrecordsData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimarchivesrecords'
)
as
any
);
if
(
pimarchivesrecordsData
&&
pimarchivesrecordsData
.
length
&&
pimarchivesrecordsData
.
length
>
0
){
pimarchivesrecordsData
.
forEach
((
item
:
any
)
=>
{
if
(
item
.
srffrontuf
){
if
(
Object
.
is
(
item
.
srffrontuf
,
"0"
)){
item
.
pimarchivesrecordid
=
null
;
}
delete
item
.
srffrontuf
;
}
});
}
}
masterData
.
pimarchivesrecords
=
pimarchivesrecordsData
;
let
pimarchivesloanandreturnsData
:
any
=
[];
let
pimarchivesloanandreturnsData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimarchivesloanandreturns'
),
'undefined'
)){
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimarchivesloanandreturns'
),
'undefined'
)){
pimarchivesloanandreturnsData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimarchivesloanandreturns'
)
as
any
);
pimarchivesloanandreturnsData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimarchivesloanandreturns'
)
as
any
);
...
@@ -312,21 +327,6 @@ export default class PIMARCHIVESServiceBase extends EntityService {
...
@@ -312,21 +327,6 @@ export default class PIMARCHIVESServiceBase extends EntityService {
}
}
}
}
masterData
.
pimarchiveschanges
=
pimarchiveschangesData
;
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
);
if
(
pimarchivesrecordsData
&&
pimarchivesrecordsData
.
length
&&
pimarchivesrecordsData
.
length
>
0
){
pimarchivesrecordsData
.
forEach
((
item
:
any
)
=>
{
if
(
item
.
srffrontuf
){
if
(
Object
.
is
(
item
.
srffrontuf
,
"0"
)){
item
.
pimarchivesrecordid
=
null
;
}
delete
item
.
srffrontuf
;
}
});
}
}
masterData
.
pimarchivesrecords
=
pimarchivesrecordsData
;
Object
.
assign
(
data
,
masterData
);
Object
.
assign
(
data
,
masterData
);
if
(
!
data
.
srffrontuf
||
data
.
srffrontuf
!==
"1"
){
if
(
!
data
.
srffrontuf
||
data
.
srffrontuf
!==
"1"
){
data
[
this
.
APPDEKEY
]
=
null
;
data
[
this
.
APPDEKEY
]
=
null
;
...
@@ -336,9 +336,9 @@ export default class PIMARCHIVESServiceBase extends EntityService {
...
@@ -336,9 +336,9 @@ export default class PIMARCHIVESServiceBase extends EntityService {
}
}
let
tempContext
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
context
));
let
tempContext
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
context
));
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/pimarchives`
,
data
,
isloading
);
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/pimarchives`
,
data
,
isloading
);
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
+
'_pimarchivesloanandreturns'
,
JSON
.
stringify
(
res
.
data
.
pimarchivesloanandreturns
));
this
.
tempStorage
.
setItem
(
tempContext
.
srfsessionkey
+
'_pimarchiveschanges'
,
JSON
.
stringify
(
res
.
data
.
pimarchiveschanges
));
this
.
tempStorage
.
setItem
(
tempContext
.
srfsessionkey
+
'_pimarchiveschanges'
,
JSON
.
stringify
(
res
.
data
.
pimarchiveschanges
));
this
.
tempStorage
.
setItem
(
tempContext
.
srfsessionkey
+
'_pimarchivesrecords'
,
JSON
.
stringify
(
res
.
data
.
pimarchivesrecords
));
return
res
;
return
res
;
}
}
...
...
app_EHRPim/src/service/pimperson/pimperson-service-base.ts
浏览文件 @
90ca1f11
...
@@ -80,36 +80,21 @@ export default class PIMPERSONServiceBase extends EntityService {
...
@@ -80,36 +80,21 @@ export default class PIMPERSONServiceBase extends EntityService {
}
}
}
}
masterData
.
attendancemreportmxes
=
attendancemreportmxesData
;
masterData
.
attendancemreportmxes
=
attendancemreportmxesData
;
let
pimeducationsData
:
any
=
[];
let
pimdistirbutionsData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimeducations'
),
'undefined'
)){
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimdistirbutions'
),
'undefined'
)){
pimeducationsData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimeducations'
)
as
any
);
pimdistirbutionsData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimdistirbutions'
)
as
any
);
if
(
pimeducationsData
&&
pimeducationsData
.
length
&&
pimeducationsData
.
length
>
0
){
if
(
pimdistirbutionsData
&&
pimdistirbutionsData
.
length
&&
pimdistirbutionsData
.
length
>
0
){
pimeducationsData
.
forEach
((
item
:
any
)
=>
{
pimdistirbutionsData
.
forEach
((
item
:
any
)
=>
{
if
(
item
.
srffrontuf
){
if
(
Object
.
is
(
item
.
srffrontuf
,
"0"
)){
item
.
pimeducationid
=
null
;
}
delete
item
.
srffrontuf
;
}
});
}
}
masterData
.
pimeducations
=
pimeducationsData
;
let
pimpersonchangesData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimpersonchanges'
),
'undefined'
)){
pimpersonchangesData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimpersonchanges'
)
as
any
);
if
(
pimpersonchangesData
&&
pimpersonchangesData
.
length
&&
pimpersonchangesData
.
length
>
0
){
pimpersonchangesData
.
forEach
((
item
:
any
)
=>
{
if
(
item
.
srffrontuf
){
if
(
item
.
srffrontuf
){
if
(
Object
.
is
(
item
.
srffrontuf
,
"0"
)){
if
(
Object
.
is
(
item
.
srffrontuf
,
"0"
)){
item
.
pim
personchange
id
=
null
;
item
.
pim
distirbution
id
=
null
;
}
}
delete
item
.
srffrontuf
;
delete
item
.
srffrontuf
;
}
}
});
});
}
}
}
}
masterData
.
pim
personchanges
=
pimpersonchange
sData
;
masterData
.
pim
distirbutions
=
pimdistirbution
sData
;
let
pimtitlesData
:
any
=
[];
let
pimtitlesData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimtitles'
),
'undefined'
)){
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimtitles'
),
'undefined'
)){
pimtitlesData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimtitles'
)
as
any
);
pimtitlesData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimtitles'
)
as
any
);
...
@@ -125,36 +110,6 @@ export default class PIMPERSONServiceBase extends EntityService {
...
@@ -125,36 +110,6 @@ export default class PIMPERSONServiceBase extends EntityService {
}
}
}
}
masterData
.
pimtitles
=
pimtitlesData
;
masterData
.
pimtitles
=
pimtitlesData
;
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
pimexitandentriesData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimexitandentries'
),
'undefined'
)){
pimexitandentriesData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimexitandentries'
)
as
any
);
if
(
pimexitandentriesData
&&
pimexitandentriesData
.
length
&&
pimexitandentriesData
.
length
>
0
){
pimexitandentriesData
.
forEach
((
item
:
any
)
=>
{
if
(
item
.
srffrontuf
){
if
(
Object
.
is
(
item
.
srffrontuf
,
"0"
)){
item
.
pimexitandentryid
=
null
;
}
delete
item
.
srffrontuf
;
}
});
}
}
masterData
.
pimexitandentries
=
pimexitandentriesData
;
let
pimfaminfosData
:
any
=
[];
let
pimfaminfosData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimfaminfos'
),
'undefined'
)){
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimfaminfos'
),
'undefined'
)){
pimfaminfosData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimfaminfos'
)
as
any
);
pimfaminfosData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimfaminfos'
)
as
any
);
...
@@ -170,36 +125,21 @@ export default class PIMPERSONServiceBase extends EntityService {
...
@@ -170,36 +125,21 @@ export default class PIMPERSONServiceBase extends EntityService {
}
}
}
}
masterData
.
pimfaminfos
=
pimfaminfosData
;
masterData
.
pimfaminfos
=
pimfaminfosData
;
let
pimdistirbutionsData
:
any
=
[];
let
pimresearchfindingsData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimdistirbutions'
),
'undefined'
)){
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimresearchfindings'
),
'undefined'
)){
pimdistirbutionsData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimdistirbutions'
)
as
any
);
pimresearchfindingsData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimresearchfindings'
)
as
any
);
if
(
pimdistirbutionsData
&&
pimdistirbutionsData
.
length
&&
pimdistirbutionsData
.
length
>
0
){
if
(
pimresearchfindingsData
&&
pimresearchfindingsData
.
length
&&
pimresearchfindingsData
.
length
>
0
){
pimdistirbutionsData
.
forEach
((
item
:
any
)
=>
{
pimresearchfindingsData
.
forEach
((
item
:
any
)
=>
{
if
(
item
.
srffrontuf
){
if
(
Object
.
is
(
item
.
srffrontuf
,
"0"
)){
item
.
pimdistirbutionid
=
null
;
}
delete
item
.
srffrontuf
;
}
});
}
}
masterData
.
pimdistirbutions
=
pimdistirbutionsData
;
let
pimarmycadresData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimarmycadres'
),
'undefined'
)){
pimarmycadresData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimarmycadres'
)
as
any
);
if
(
pimarmycadresData
&&
pimarmycadresData
.
length
&&
pimarmycadresData
.
length
>
0
){
pimarmycadresData
.
forEach
((
item
:
any
)
=>
{
if
(
item
.
srffrontuf
){
if
(
item
.
srffrontuf
){
if
(
Object
.
is
(
item
.
srffrontuf
,
"0"
)){
if
(
Object
.
is
(
item
.
srffrontuf
,
"0"
)){
item
.
pim
armycadre
sid
=
null
;
item
.
pim
researchfinding
sid
=
null
;
}
}
delete
item
.
srffrontuf
;
delete
item
.
srffrontuf
;
}
}
});
});
}
}
}
}
masterData
.
pim
armycadres
=
pimarmycadre
sData
;
masterData
.
pim
researchfindings
=
pimresearchfinding
sData
;
let
pimworkhistoriesData
:
any
=
[];
let
pimworkhistoriesData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimworkhistories'
),
'undefined'
)){
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimworkhistories'
),
'undefined'
)){
pimworkhistoriesData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimworkhistories'
)
as
any
);
pimworkhistoriesData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimworkhistories'
)
as
any
);
...
@@ -215,36 +155,21 @@ export default class PIMPERSONServiceBase extends EntityService {
...
@@ -215,36 +155,21 @@ export default class PIMPERSONServiceBase extends EntityService {
}
}
}
}
masterData
.
pimworkhistories
=
pimworkhistoriesData
;
masterData
.
pimworkhistories
=
pimworkhistoriesData
;
let
pimpatentsData
:
any
=
[];
let
pimvocationalsData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimpatents'
),
'undefined'
)){
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimvocationals'
),
'undefined'
)){
pimpatentsData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimpatents'
)
as
any
);
pimvocationalsData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimvocationals'
)
as
any
);
if
(
pimpatentsData
&&
pimpatentsData
.
length
&&
pimpatentsData
.
length
>
0
){
if
(
pimvocationalsData
&&
pimvocationalsData
.
length
&&
pimvocationalsData
.
length
>
0
){
pimpatentsData
.
forEach
((
item
:
any
)
=>
{
pimvocationalsData
.
forEach
((
item
:
any
)
=>
{
if
(
item
.
srffrontuf
){
if
(
Object
.
is
(
item
.
srffrontuf
,
"0"
)){
item
.
pimpatentid
=
null
;
}
delete
item
.
srffrontuf
;
}
});
}
}
masterData
.
pimpatents
=
pimpatentsData
;
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
(
item
.
srffrontuf
){
if
(
Object
.
is
(
item
.
srffrontuf
,
"0"
)){
if
(
Object
.
is
(
item
.
srffrontuf
,
"0"
)){
item
.
pimv
acation
id
=
null
;
item
.
pimv
ocational
id
=
null
;
}
}
delete
item
.
srffrontuf
;
delete
item
.
srffrontuf
;
}
}
});
});
}
}
}
}
masterData
.
pimv
acations
=
pimvacation
sData
;
masterData
.
pimv
ocationals
=
pimvocational
sData
;
let
pimarchivesData
:
any
=
[];
let
pimarchivesData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimarchives'
),
'undefined'
)){
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimarchives'
),
'undefined'
)){
pimarchivesData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimarchives'
)
as
any
);
pimarchivesData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimarchives'
)
as
any
);
...
@@ -305,21 +230,36 @@ export default class PIMPERSONServiceBase extends EntityService {
...
@@ -305,21 +230,36 @@ export default class PIMPERSONServiceBase extends EntityService {
}
}
}
}
masterData
.
pimpapers
=
pimpapersData
;
masterData
.
pimpapers
=
pimpapersData
;
let
pim
researchfinding
sData
:
any
=
[];
let
pim
personchange
sData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pim
researchfinding
s'
),
'undefined'
)){
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pim
personchange
s'
),
'undefined'
)){
pim
researchfindingsData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimresearchfinding
s'
)
as
any
);
pim
personchangesData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimpersonchange
s'
)
as
any
);
if
(
pim
researchfindingsData
&&
pimresearchfindingsData
.
length
&&
pimresearchfinding
sData
.
length
>
0
){
if
(
pim
personchangesData
&&
pimpersonchangesData
.
length
&&
pimpersonchange
sData
.
length
>
0
){
pim
researchfinding
sData
.
forEach
((
item
:
any
)
=>
{
pim
personchange
sData
.
forEach
((
item
:
any
)
=>
{
if
(
item
.
srffrontuf
){
if
(
item
.
srffrontuf
){
if
(
Object
.
is
(
item
.
srffrontuf
,
"0"
)){
if
(
Object
.
is
(
item
.
srffrontuf
,
"0"
)){
item
.
pim
researchfindings
id
=
null
;
item
.
pim
personchange
id
=
null
;
}
}
delete
item
.
srffrontuf
;
delete
item
.
srffrontuf
;
}
}
});
});
}
}
}
}
masterData
.
pimresearchfindings
=
pimresearchfindingsData
;
masterData
.
pimpersonchanges
=
pimpersonchangesData
;
let
pimexitandentriesData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimexitandentries'
),
'undefined'
)){
pimexitandentriesData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimexitandentries'
)
as
any
);
if
(
pimexitandentriesData
&&
pimexitandentriesData
.
length
&&
pimexitandentriesData
.
length
>
0
){
pimexitandentriesData
.
forEach
((
item
:
any
)
=>
{
if
(
item
.
srffrontuf
){
if
(
Object
.
is
(
item
.
srffrontuf
,
"0"
)){
item
.
pimexitandentryid
=
null
;
}
delete
item
.
srffrontuf
;
}
});
}
}
masterData
.
pimexitandentries
=
pimexitandentriesData
;
let
pimrewardpunishmentsData
:
any
=
[];
let
pimrewardpunishmentsData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimrewardpunishments'
),
'undefined'
)){
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimrewardpunishments'
),
'undefined'
)){
pimrewardpunishmentsData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimrewardpunishments'
)
as
any
);
pimrewardpunishmentsData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimrewardpunishments'
)
as
any
);
...
@@ -335,36 +275,36 @@ export default class PIMPERSONServiceBase extends EntityService {
...
@@ -335,36 +275,36 @@ export default class PIMPERSONServiceBase extends EntityService {
}
}
}
}
masterData
.
pimrewardpunishments
=
pimrewardpunishmentsData
;
masterData
.
pimrewardpunishments
=
pimrewardpunishmentsData
;
let
pim
vocational
sData
:
any
=
[];
let
pim
armycadre
sData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pim
vocational
s'
),
'undefined'
)){
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pim
armycadre
s'
),
'undefined'
)){
pim
vocationalsData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimvocational
s'
)
as
any
);
pim
armycadresData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimarmycadre
s'
)
as
any
);
if
(
pim
vocationalsData
&&
pimvocationalsData
.
length
&&
pimvocational
sData
.
length
>
0
){
if
(
pim
armycadresData
&&
pimarmycadresData
.
length
&&
pimarmycadre
sData
.
length
>
0
){
pim
vocational
sData
.
forEach
((
item
:
any
)
=>
{
pim
armycadre
sData
.
forEach
((
item
:
any
)
=>
{
if
(
item
.
srffrontuf
){
if
(
item
.
srffrontuf
){
if
(
Object
.
is
(
item
.
srffrontuf
,
"0"
)){
if
(
Object
.
is
(
item
.
srffrontuf
,
"0"
)){
item
.
pim
vocational
id
=
null
;
item
.
pim
armycadres
id
=
null
;
}
}
delete
item
.
srffrontuf
;
delete
item
.
srffrontuf
;
}
}
});
});
}
}
}
}
masterData
.
pim
vocationals
=
pimvocational
sData
;
masterData
.
pim
armycadres
=
pimarmycadre
sData
;
let
pim
languageabilitie
sData
:
any
=
[];
let
pim
patent
sData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pim
languageabilitie
s'
),
'undefined'
)){
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pim
patent
s'
),
'undefined'
)){
pim
languageabilitiesData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimlanguageabilitie
s'
)
as
any
);
pim
patentsData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimpatent
s'
)
as
any
);
if
(
pim
languageabilitiesData
&&
pimlanguageabilitiesData
.
length
&&
pimlanguageabilitie
sData
.
length
>
0
){
if
(
pim
patentsData
&&
pimpatentsData
.
length
&&
pimpatent
sData
.
length
>
0
){
pim
languageabilitie
sData
.
forEach
((
item
:
any
)
=>
{
pim
patent
sData
.
forEach
((
item
:
any
)
=>
{
if
(
item
.
srffrontuf
){
if
(
item
.
srffrontuf
){
if
(
Object
.
is
(
item
.
srffrontuf
,
"0"
)){
if
(
Object
.
is
(
item
.
srffrontuf
,
"0"
)){
item
.
pim
languageability
id
=
null
;
item
.
pim
patent
id
=
null
;
}
}
delete
item
.
srffrontuf
;
delete
item
.
srffrontuf
;
}
}
});
});
}
}
}
}
masterData
.
pim
languageabilities
=
pimlanguageabilitie
sData
;
masterData
.
pim
patents
=
pimpatent
sData
;
let
pimcontractsData
:
any
=
[];
let
pimcontractsData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimcontracts'
),
'undefined'
)){
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimcontracts'
),
'undefined'
)){
pimcontractsData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimcontracts'
)
as
any
);
pimcontractsData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimcontracts'
)
as
any
);
...
@@ -380,29 +320,89 @@ export default class PIMPERSONServiceBase extends EntityService {
...
@@ -380,29 +320,89 @@ export default class PIMPERSONServiceBase extends EntityService {
}
}
}
}
masterData
.
pimcontracts
=
pimcontractsData
;
masterData
.
pimcontracts
=
pimcontractsData
;
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
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
pimlanguageabilitiesData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimlanguageabilities'
),
'undefined'
)){
pimlanguageabilitiesData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimlanguageabilities'
)
as
any
);
if
(
pimlanguageabilitiesData
&&
pimlanguageabilitiesData
.
length
&&
pimlanguageabilitiesData
.
length
>
0
){
pimlanguageabilitiesData
.
forEach
((
item
:
any
)
=>
{
if
(
item
.
srffrontuf
){
if
(
Object
.
is
(
item
.
srffrontuf
,
"0"
)){
item
.
pimlanguageabilityid
=
null
;
}
delete
item
.
srffrontuf
;
}
});
}
}
masterData
.
pimlanguageabilities
=
pimlanguageabilitiesData
;
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
;
Object
.
assign
(
data
,
masterData
);
Object
.
assign
(
data
,
masterData
);
let
res
:
any
=
await
Http
.
getInstance
().
put
(
`/pimpeople/
${
context
.
pimperson
}
`
,
data
,
isloading
);
let
res
:
any
=
await
Http
.
getInstance
().
put
(
`/pimpeople/
${
context
.
pimperson
}
`
,
data
,
isloading
);
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_attendancemreportmxes'
,
JSON
.
stringify
(
res
.
data
.
attendancemreportmxes
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_attendancemreportmxes'
,
JSON
.
stringify
(
res
.
data
.
attendancemreportmxes
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimeducations'
,
JSON
.
stringify
(
res
.
data
.
pimeducations
));
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
+
'_pimtitles'
,
JSON
.
stringify
(
res
.
data
.
pimtitles
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimtitles'
,
JSON
.
stringify
(
res
.
data
.
pimtitles
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimpersonabilities'
,
JSON
.
stringify
(
res
.
data
.
pimpersonabilities
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimexitandentries'
,
JSON
.
stringify
(
res
.
data
.
pimexitandentries
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimfaminfos'
,
JSON
.
stringify
(
res
.
data
.
pimfaminfos
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimfaminfos'
,
JSON
.
stringify
(
res
.
data
.
pimfaminfos
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimdistirbutions'
,
JSON
.
stringify
(
res
.
data
.
pimdistirbutions
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimresearchfindings'
,
JSON
.
stringify
(
res
.
data
.
pimresearchfindings
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimarmycadres'
,
JSON
.
stringify
(
res
.
data
.
pimarmycadres
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimworkhistories'
,
JSON
.
stringify
(
res
.
data
.
pimworkhistories
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimworkhistories'
,
JSON
.
stringify
(
res
.
data
.
pimworkhistories
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimpatents'
,
JSON
.
stringify
(
res
.
data
.
pimpatents
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimvocationals'
,
JSON
.
stringify
(
res
.
data
.
pimvocationals
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimvacations'
,
JSON
.
stringify
(
res
.
data
.
pimvacations
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimarchives'
,
JSON
.
stringify
(
res
.
data
.
pimarchives
));
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
+
'_trmtrianpeople'
,
JSON
.
stringify
(
res
.
data
.
trmtrianpeople
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimachievements'
,
JSON
.
stringify
(
res
.
data
.
pimachievements
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimachievements'
,
JSON
.
stringify
(
res
.
data
.
pimachievements
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimpapers'
,
JSON
.
stringify
(
res
.
data
.
pimpapers
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimpapers'
,
JSON
.
stringify
(
res
.
data
.
pimpapers
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimresearchfindings'
,
JSON
.
stringify
(
res
.
data
.
pimresearchfindings
));
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
+
'_pimrewardpunishments'
,
JSON
.
stringify
(
res
.
data
.
pimrewardpunishments
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimrewardpunishments'
,
JSON
.
stringify
(
res
.
data
.
pimrewardpunishments
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pim
vocationals'
,
JSON
.
stringify
(
res
.
data
.
pimvocational
s
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pim
armycadres'
,
JSON
.
stringify
(
res
.
data
.
pimarmycadre
s
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pim
languageabilities'
,
JSON
.
stringify
(
res
.
data
.
pimlanguageabilitie
s
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pim
patents'
,
JSON
.
stringify
(
res
.
data
.
pimpatent
s
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimcontracts'
,
JSON
.
stringify
(
res
.
data
.
pimcontracts
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimcontracts'
,
JSON
.
stringify
(
res
.
data
.
pimcontracts
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimeducations'
,
JSON
.
stringify
(
res
.
data
.
pimeducations
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimvacations'
,
JSON
.
stringify
(
res
.
data
.
pimvacations
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimlanguageabilities'
,
JSON
.
stringify
(
res
.
data
.
pimlanguageabilities
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimpersonabilities'
,
JSON
.
stringify
(
res
.
data
.
pimpersonabilities
));
return
res
;
return
res
;
}
}
...
@@ -444,26 +444,26 @@ export default class PIMPERSONServiceBase extends EntityService {
...
@@ -444,26 +444,26 @@ export default class PIMPERSONServiceBase extends EntityService {
public
async
Get
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Get
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/pimpeople/
${
context
.
pimperson
}
`
,
isloading
);
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/pimpeople/
${
context
.
pimperson
}
`
,
isloading
);
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_attendancemreportmxes'
,
JSON
.
stringify
(
res
.
data
.
attendancemreportmxes
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_attendancemreportmxes'
,
JSON
.
stringify
(
res
.
data
.
attendancemreportmxes
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimeducations'
,
JSON
.
stringify
(
res
.
data
.
pimeducations
));
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
+
'_pimtitles'
,
JSON
.
stringify
(
res
.
data
.
pimtitles
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimtitles'
,
JSON
.
stringify
(
res
.
data
.
pimtitles
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimpersonabilities'
,
JSON
.
stringify
(
res
.
data
.
pimpersonabilities
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimexitandentries'
,
JSON
.
stringify
(
res
.
data
.
pimexitandentries
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimfaminfos'
,
JSON
.
stringify
(
res
.
data
.
pimfaminfos
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimfaminfos'
,
JSON
.
stringify
(
res
.
data
.
pimfaminfos
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimdistirbutions'
,
JSON
.
stringify
(
res
.
data
.
pimdistirbutions
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimresearchfindings'
,
JSON
.
stringify
(
res
.
data
.
pimresearchfindings
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimarmycadres'
,
JSON
.
stringify
(
res
.
data
.
pimarmycadres
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimworkhistories'
,
JSON
.
stringify
(
res
.
data
.
pimworkhistories
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimworkhistories'
,
JSON
.
stringify
(
res
.
data
.
pimworkhistories
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimpatents'
,
JSON
.
stringify
(
res
.
data
.
pimpatents
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimvocationals'
,
JSON
.
stringify
(
res
.
data
.
pimvocationals
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimvacations'
,
JSON
.
stringify
(
res
.
data
.
pimvacations
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimarchives'
,
JSON
.
stringify
(
res
.
data
.
pimarchives
));
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
+
'_trmtrianpeople'
,
JSON
.
stringify
(
res
.
data
.
trmtrianpeople
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimachievements'
,
JSON
.
stringify
(
res
.
data
.
pimachievements
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimachievements'
,
JSON
.
stringify
(
res
.
data
.
pimachievements
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimpapers'
,
JSON
.
stringify
(
res
.
data
.
pimpapers
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimpapers'
,
JSON
.
stringify
(
res
.
data
.
pimpapers
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimresearchfindings'
,
JSON
.
stringify
(
res
.
data
.
pimresearchfindings
));
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
+
'_pimrewardpunishments'
,
JSON
.
stringify
(
res
.
data
.
pimrewardpunishments
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimrewardpunishments'
,
JSON
.
stringify
(
res
.
data
.
pimrewardpunishments
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pim
vocationals'
,
JSON
.
stringify
(
res
.
data
.
pimvocational
s
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pim
armycadres'
,
JSON
.
stringify
(
res
.
data
.
pimarmycadre
s
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pim
languageabilities'
,
JSON
.
stringify
(
res
.
data
.
pimlanguageabilitie
s
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pim
patents'
,
JSON
.
stringify
(
res
.
data
.
pimpatent
s
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimcontracts'
,
JSON
.
stringify
(
res
.
data
.
pimcontracts
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimcontracts'
,
JSON
.
stringify
(
res
.
data
.
pimcontracts
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimeducations'
,
JSON
.
stringify
(
res
.
data
.
pimeducations
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimvacations'
,
JSON
.
stringify
(
res
.
data
.
pimvacations
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimlanguageabilities'
,
JSON
.
stringify
(
res
.
data
.
pimlanguageabilities
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimpersonabilities'
,
JSON
.
stringify
(
res
.
data
.
pimpersonabilities
));
return
res
;
return
res
;
}
}
...
@@ -520,36 +520,21 @@ export default class PIMPERSONServiceBase extends EntityService {
...
@@ -520,36 +520,21 @@ export default class PIMPERSONServiceBase extends EntityService {
}
}
}
}
masterData
.
attendancemreportmxes
=
attendancemreportmxesData
;
masterData
.
attendancemreportmxes
=
attendancemreportmxesData
;
let
pimeducationsData
:
any
=
[];
let
pimdistirbutionsData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimeducations'
),
'undefined'
)){
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimdistirbutions'
),
'undefined'
)){
pimeducationsData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimeducations'
)
as
any
);
pimdistirbutionsData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimdistirbutions'
)
as
any
);
if
(
pimeducationsData
&&
pimeducationsData
.
length
&&
pimeducationsData
.
length
>
0
){
if
(
pimdistirbutionsData
&&
pimdistirbutionsData
.
length
&&
pimdistirbutionsData
.
length
>
0
){
pimeducationsData
.
forEach
((
item
:
any
)
=>
{
pimdistirbutionsData
.
forEach
((
item
:
any
)
=>
{
if
(
item
.
srffrontuf
){
if
(
Object
.
is
(
item
.
srffrontuf
,
"0"
)){
item
.
pimeducationid
=
null
;
}
delete
item
.
srffrontuf
;
}
});
}
}
masterData
.
pimeducations
=
pimeducationsData
;
let
pimpersonchangesData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimpersonchanges'
),
'undefined'
)){
pimpersonchangesData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimpersonchanges'
)
as
any
);
if
(
pimpersonchangesData
&&
pimpersonchangesData
.
length
&&
pimpersonchangesData
.
length
>
0
){
pimpersonchangesData
.
forEach
((
item
:
any
)
=>
{
if
(
item
.
srffrontuf
){
if
(
item
.
srffrontuf
){
if
(
Object
.
is
(
item
.
srffrontuf
,
"0"
)){
if
(
Object
.
is
(
item
.
srffrontuf
,
"0"
)){
item
.
pim
personchange
id
=
null
;
item
.
pim
distirbution
id
=
null
;
}
}
delete
item
.
srffrontuf
;
delete
item
.
srffrontuf
;
}
}
});
});
}
}
}
}
masterData
.
pim
personchanges
=
pimpersonchange
sData
;
masterData
.
pim
distirbutions
=
pimdistirbution
sData
;
let
pimtitlesData
:
any
=
[];
let
pimtitlesData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimtitles'
),
'undefined'
)){
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimtitles'
),
'undefined'
)){
pimtitlesData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimtitles'
)
as
any
);
pimtitlesData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimtitles'
)
as
any
);
...
@@ -565,36 +550,6 @@ export default class PIMPERSONServiceBase extends EntityService {
...
@@ -565,36 +550,6 @@ export default class PIMPERSONServiceBase extends EntityService {
}
}
}
}
masterData
.
pimtitles
=
pimtitlesData
;
masterData
.
pimtitles
=
pimtitlesData
;
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
pimexitandentriesData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimexitandentries'
),
'undefined'
)){
pimexitandentriesData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimexitandentries'
)
as
any
);
if
(
pimexitandentriesData
&&
pimexitandentriesData
.
length
&&
pimexitandentriesData
.
length
>
0
){
pimexitandentriesData
.
forEach
((
item
:
any
)
=>
{
if
(
item
.
srffrontuf
){
if
(
Object
.
is
(
item
.
srffrontuf
,
"0"
)){
item
.
pimexitandentryid
=
null
;
}
delete
item
.
srffrontuf
;
}
});
}
}
masterData
.
pimexitandentries
=
pimexitandentriesData
;
let
pimfaminfosData
:
any
=
[];
let
pimfaminfosData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimfaminfos'
),
'undefined'
)){
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimfaminfos'
),
'undefined'
)){
pimfaminfosData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimfaminfos'
)
as
any
);
pimfaminfosData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimfaminfos'
)
as
any
);
...
@@ -610,36 +565,21 @@ export default class PIMPERSONServiceBase extends EntityService {
...
@@ -610,36 +565,21 @@ export default class PIMPERSONServiceBase extends EntityService {
}
}
}
}
masterData
.
pimfaminfos
=
pimfaminfosData
;
masterData
.
pimfaminfos
=
pimfaminfosData
;
let
pimdistirbutionsData
:
any
=
[];
let
pimresearchfindingsData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimdistirbutions'
),
'undefined'
)){
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimresearchfindings'
),
'undefined'
)){
pimdistirbutionsData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimdistirbutions'
)
as
any
);
pimresearchfindingsData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimresearchfindings'
)
as
any
);
if
(
pimdistirbutionsData
&&
pimdistirbutionsData
.
length
&&
pimdistirbutionsData
.
length
>
0
){
if
(
pimresearchfindingsData
&&
pimresearchfindingsData
.
length
&&
pimresearchfindingsData
.
length
>
0
){
pimdistirbutionsData
.
forEach
((
item
:
any
)
=>
{
pimresearchfindingsData
.
forEach
((
item
:
any
)
=>
{
if
(
item
.
srffrontuf
){
if
(
Object
.
is
(
item
.
srffrontuf
,
"0"
)){
item
.
pimdistirbutionid
=
null
;
}
delete
item
.
srffrontuf
;
}
});
}
}
masterData
.
pimdistirbutions
=
pimdistirbutionsData
;
let
pimarmycadresData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimarmycadres'
),
'undefined'
)){
pimarmycadresData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimarmycadres'
)
as
any
);
if
(
pimarmycadresData
&&
pimarmycadresData
.
length
&&
pimarmycadresData
.
length
>
0
){
pimarmycadresData
.
forEach
((
item
:
any
)
=>
{
if
(
item
.
srffrontuf
){
if
(
item
.
srffrontuf
){
if
(
Object
.
is
(
item
.
srffrontuf
,
"0"
)){
if
(
Object
.
is
(
item
.
srffrontuf
,
"0"
)){
item
.
pim
armycadre
sid
=
null
;
item
.
pim
researchfinding
sid
=
null
;
}
}
delete
item
.
srffrontuf
;
delete
item
.
srffrontuf
;
}
}
});
});
}
}
}
}
masterData
.
pim
armycadres
=
pimarmycadre
sData
;
masterData
.
pim
researchfindings
=
pimresearchfinding
sData
;
let
pimworkhistoriesData
:
any
=
[];
let
pimworkhistoriesData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimworkhistories'
),
'undefined'
)){
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimworkhistories'
),
'undefined'
)){
pimworkhistoriesData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimworkhistories'
)
as
any
);
pimworkhistoriesData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimworkhistories'
)
as
any
);
...
@@ -655,36 +595,21 @@ export default class PIMPERSONServiceBase extends EntityService {
...
@@ -655,36 +595,21 @@ export default class PIMPERSONServiceBase extends EntityService {
}
}
}
}
masterData
.
pimworkhistories
=
pimworkhistoriesData
;
masterData
.
pimworkhistories
=
pimworkhistoriesData
;
let
pimpatentsData
:
any
=
[];
let
pimvocationalsData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimpatents'
),
'undefined'
)){
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimvocationals'
),
'undefined'
)){
pimpatentsData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimpatents'
)
as
any
);
pimvocationalsData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimvocationals'
)
as
any
);
if
(
pimpatentsData
&&
pimpatentsData
.
length
&&
pimpatentsData
.
length
>
0
){
if
(
pimvocationalsData
&&
pimvocationalsData
.
length
&&
pimvocationalsData
.
length
>
0
){
pimpatentsData
.
forEach
((
item
:
any
)
=>
{
pimvocationalsData
.
forEach
((
item
:
any
)
=>
{
if
(
item
.
srffrontuf
){
if
(
Object
.
is
(
item
.
srffrontuf
,
"0"
)){
item
.
pimpatentid
=
null
;
}
delete
item
.
srffrontuf
;
}
});
}
}
masterData
.
pimpatents
=
pimpatentsData
;
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
(
item
.
srffrontuf
){
if
(
Object
.
is
(
item
.
srffrontuf
,
"0"
)){
if
(
Object
.
is
(
item
.
srffrontuf
,
"0"
)){
item
.
pimv
acation
id
=
null
;
item
.
pimv
ocational
id
=
null
;
}
}
delete
item
.
srffrontuf
;
delete
item
.
srffrontuf
;
}
}
});
});
}
}
}
}
masterData
.
pimv
acations
=
pimvacation
sData
;
masterData
.
pimv
ocationals
=
pimvocational
sData
;
let
pimarchivesData
:
any
=
[];
let
pimarchivesData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimarchives'
),
'undefined'
)){
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimarchives'
),
'undefined'
)){
pimarchivesData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimarchives'
)
as
any
);
pimarchivesData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimarchives'
)
as
any
);
...
@@ -745,21 +670,36 @@ export default class PIMPERSONServiceBase extends EntityService {
...
@@ -745,21 +670,36 @@ export default class PIMPERSONServiceBase extends EntityService {
}
}
}
}
masterData
.
pimpapers
=
pimpapersData
;
masterData
.
pimpapers
=
pimpapersData
;
let
pim
researchfinding
sData
:
any
=
[];
let
pim
personchange
sData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pim
researchfinding
s'
),
'undefined'
)){
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pim
personchange
s'
),
'undefined'
)){
pim
researchfindingsData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimresearchfinding
s'
)
as
any
);
pim
personchangesData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimpersonchange
s'
)
as
any
);
if
(
pim
researchfindingsData
&&
pimresearchfindingsData
.
length
&&
pimresearchfinding
sData
.
length
>
0
){
if
(
pim
personchangesData
&&
pimpersonchangesData
.
length
&&
pimpersonchange
sData
.
length
>
0
){
pim
researchfinding
sData
.
forEach
((
item
:
any
)
=>
{
pim
personchange
sData
.
forEach
((
item
:
any
)
=>
{
if
(
item
.
srffrontuf
){
if
(
item
.
srffrontuf
){
if
(
Object
.
is
(
item
.
srffrontuf
,
"0"
)){
if
(
Object
.
is
(
item
.
srffrontuf
,
"0"
)){
item
.
pim
researchfindings
id
=
null
;
item
.
pim
personchange
id
=
null
;
}
}
delete
item
.
srffrontuf
;
delete
item
.
srffrontuf
;
}
}
});
});
}
}
}
}
masterData
.
pimresearchfindings
=
pimresearchfindingsData
;
masterData
.
pimpersonchanges
=
pimpersonchangesData
;
let
pimexitandentriesData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimexitandentries'
),
'undefined'
)){
pimexitandentriesData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimexitandentries'
)
as
any
);
if
(
pimexitandentriesData
&&
pimexitandentriesData
.
length
&&
pimexitandentriesData
.
length
>
0
){
pimexitandentriesData
.
forEach
((
item
:
any
)
=>
{
if
(
item
.
srffrontuf
){
if
(
Object
.
is
(
item
.
srffrontuf
,
"0"
)){
item
.
pimexitandentryid
=
null
;
}
delete
item
.
srffrontuf
;
}
});
}
}
masterData
.
pimexitandentries
=
pimexitandentriesData
;
let
pimrewardpunishmentsData
:
any
=
[];
let
pimrewardpunishmentsData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimrewardpunishments'
),
'undefined'
)){
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimrewardpunishments'
),
'undefined'
)){
pimrewardpunishmentsData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimrewardpunishments'
)
as
any
);
pimrewardpunishmentsData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimrewardpunishments'
)
as
any
);
...
@@ -775,36 +715,36 @@ export default class PIMPERSONServiceBase extends EntityService {
...
@@ -775,36 +715,36 @@ export default class PIMPERSONServiceBase extends EntityService {
}
}
}
}
masterData
.
pimrewardpunishments
=
pimrewardpunishmentsData
;
masterData
.
pimrewardpunishments
=
pimrewardpunishmentsData
;
let
pim
vocational
sData
:
any
=
[];
let
pim
armycadre
sData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pim
vocational
s'
),
'undefined'
)){
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pim
armycadre
s'
),
'undefined'
)){
pim
vocationalsData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimvocational
s'
)
as
any
);
pim
armycadresData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimarmycadre
s'
)
as
any
);
if
(
pim
vocationalsData
&&
pimvocationalsData
.
length
&&
pimvocational
sData
.
length
>
0
){
if
(
pim
armycadresData
&&
pimarmycadresData
.
length
&&
pimarmycadre
sData
.
length
>
0
){
pim
vocational
sData
.
forEach
((
item
:
any
)
=>
{
pim
armycadre
sData
.
forEach
((
item
:
any
)
=>
{
if
(
item
.
srffrontuf
){
if
(
item
.
srffrontuf
){
if
(
Object
.
is
(
item
.
srffrontuf
,
"0"
)){
if
(
Object
.
is
(
item
.
srffrontuf
,
"0"
)){
item
.
pim
vocational
id
=
null
;
item
.
pim
armycadres
id
=
null
;
}
}
delete
item
.
srffrontuf
;
delete
item
.
srffrontuf
;
}
}
});
});
}
}
}
}
masterData
.
pim
vocationals
=
pimvocational
sData
;
masterData
.
pim
armycadres
=
pimarmycadre
sData
;
let
pim
languageabilitie
sData
:
any
=
[];
let
pim
patent
sData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pim
languageabilitie
s'
),
'undefined'
)){
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pim
patent
s'
),
'undefined'
)){
pim
languageabilitiesData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimlanguageabilitie
s'
)
as
any
);
pim
patentsData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimpatent
s'
)
as
any
);
if
(
pim
languageabilitiesData
&&
pimlanguageabilitiesData
.
length
&&
pimlanguageabilitie
sData
.
length
>
0
){
if
(
pim
patentsData
&&
pimpatentsData
.
length
&&
pimpatent
sData
.
length
>
0
){
pim
languageabilitie
sData
.
forEach
((
item
:
any
)
=>
{
pim
patent
sData
.
forEach
((
item
:
any
)
=>
{
if
(
item
.
srffrontuf
){
if
(
item
.
srffrontuf
){
if
(
Object
.
is
(
item
.
srffrontuf
,
"0"
)){
if
(
Object
.
is
(
item
.
srffrontuf
,
"0"
)){
item
.
pim
languageability
id
=
null
;
item
.
pim
patent
id
=
null
;
}
}
delete
item
.
srffrontuf
;
delete
item
.
srffrontuf
;
}
}
});
});
}
}
}
}
masterData
.
pim
languageabilities
=
pimlanguageabilitie
sData
;
masterData
.
pim
patents
=
pimpatent
sData
;
let
pimcontractsData
:
any
=
[];
let
pimcontractsData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimcontracts'
),
'undefined'
)){
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimcontracts'
),
'undefined'
)){
pimcontractsData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimcontracts'
)
as
any
);
pimcontractsData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimcontracts'
)
as
any
);
...
@@ -820,6 +760,66 @@ export default class PIMPERSONServiceBase extends EntityService {
...
@@ -820,6 +760,66 @@ export default class PIMPERSONServiceBase extends EntityService {
}
}
}
}
masterData
.
pimcontracts
=
pimcontractsData
;
masterData
.
pimcontracts
=
pimcontractsData
;
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
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
pimlanguageabilitiesData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimlanguageabilities'
),
'undefined'
)){
pimlanguageabilitiesData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimlanguageabilities'
)
as
any
);
if
(
pimlanguageabilitiesData
&&
pimlanguageabilitiesData
.
length
&&
pimlanguageabilitiesData
.
length
>
0
){
pimlanguageabilitiesData
.
forEach
((
item
:
any
)
=>
{
if
(
item
.
srffrontuf
){
if
(
Object
.
is
(
item
.
srffrontuf
,
"0"
)){
item
.
pimlanguageabilityid
=
null
;
}
delete
item
.
srffrontuf
;
}
});
}
}
masterData
.
pimlanguageabilities
=
pimlanguageabilitiesData
;
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
;
Object
.
assign
(
data
,
masterData
);
Object
.
assign
(
data
,
masterData
);
if
(
!
data
.
srffrontuf
||
data
.
srffrontuf
!==
"1"
){
if
(
!
data
.
srffrontuf
||
data
.
srffrontuf
!==
"1"
){
data
[
this
.
APPDEKEY
]
=
null
;
data
[
this
.
APPDEKEY
]
=
null
;
...
@@ -830,26 +830,26 @@ export default class PIMPERSONServiceBase extends EntityService {
...
@@ -830,26 +830,26 @@ export default class PIMPERSONServiceBase extends EntityService {
let
tempContext
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
context
));
let
tempContext
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
context
));
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/pimpeople`
,
data
,
isloading
);
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/pimpeople`
,
data
,
isloading
);
this
.
tempStorage
.
setItem
(
tempContext
.
srfsessionkey
+
'_attendancemreportmxes'
,
JSON
.
stringify
(
res
.
data
.
attendancemreportmxes
));
this
.
tempStorage
.
setItem
(
tempContext
.
srfsessionkey
+
'_attendancemreportmxes'
,
JSON
.
stringify
(
res
.
data
.
attendancemreportmxes
));
this
.
tempStorage
.
setItem
(
tempContext
.
srfsessionkey
+
'_pimeducations'
,
JSON
.
stringify
(
res
.
data
.
pimeducations
));
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
+
'_pimtitles'
,
JSON
.
stringify
(
res
.
data
.
pimtitles
));
this
.
tempStorage
.
setItem
(
tempContext
.
srfsessionkey
+
'_pimtitles'
,
JSON
.
stringify
(
res
.
data
.
pimtitles
));
this
.
tempStorage
.
setItem
(
tempContext
.
srfsessionkey
+
'_pimpersonabilities'
,
JSON
.
stringify
(
res
.
data
.
pimpersonabilities
));
this
.
tempStorage
.
setItem
(
tempContext
.
srfsessionkey
+
'_pimexitandentries'
,
JSON
.
stringify
(
res
.
data
.
pimexitandentries
));
this
.
tempStorage
.
setItem
(
tempContext
.
srfsessionkey
+
'_pimfaminfos'
,
JSON
.
stringify
(
res
.
data
.
pimfaminfos
));
this
.
tempStorage
.
setItem
(
tempContext
.
srfsessionkey
+
'_pimfaminfos'
,
JSON
.
stringify
(
res
.
data
.
pimfaminfos
));
this
.
tempStorage
.
setItem
(
tempContext
.
srfsessionkey
+
'_pimdistirbutions'
,
JSON
.
stringify
(
res
.
data
.
pimdistirbutions
));
this
.
tempStorage
.
setItem
(
tempContext
.
srfsessionkey
+
'_pimresearchfindings'
,
JSON
.
stringify
(
res
.
data
.
pimresearchfindings
));
this
.
tempStorage
.
setItem
(
tempContext
.
srfsessionkey
+
'_pimarmycadres'
,
JSON
.
stringify
(
res
.
data
.
pimarmycadres
));
this
.
tempStorage
.
setItem
(
tempContext
.
srfsessionkey
+
'_pimworkhistories'
,
JSON
.
stringify
(
res
.
data
.
pimworkhistories
));
this
.
tempStorage
.
setItem
(
tempContext
.
srfsessionkey
+
'_pimworkhistories'
,
JSON
.
stringify
(
res
.
data
.
pimworkhistories
));
this
.
tempStorage
.
setItem
(
tempContext
.
srfsessionkey
+
'_pimpatents'
,
JSON
.
stringify
(
res
.
data
.
pimpatents
));
this
.
tempStorage
.
setItem
(
tempContext
.
srfsessionkey
+
'_pimvocationals'
,
JSON
.
stringify
(
res
.
data
.
pimvocationals
));
this
.
tempStorage
.
setItem
(
tempContext
.
srfsessionkey
+
'_pimvacations'
,
JSON
.
stringify
(
res
.
data
.
pimvacations
));
this
.
tempStorage
.
setItem
(
tempContext
.
srfsessionkey
+
'_pimarchives'
,
JSON
.
stringify
(
res
.
data
.
pimarchives
));
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
+
'_trmtrianpeople'
,
JSON
.
stringify
(
res
.
data
.
trmtrianpeople
));
this
.
tempStorage
.
setItem
(
tempContext
.
srfsessionkey
+
'_pimachievements'
,
JSON
.
stringify
(
res
.
data
.
pimachievements
));
this
.
tempStorage
.
setItem
(
tempContext
.
srfsessionkey
+
'_pimachievements'
,
JSON
.
stringify
(
res
.
data
.
pimachievements
));
this
.
tempStorage
.
setItem
(
tempContext
.
srfsessionkey
+
'_pimpapers'
,
JSON
.
stringify
(
res
.
data
.
pimpapers
));
this
.
tempStorage
.
setItem
(
tempContext
.
srfsessionkey
+
'_pimpapers'
,
JSON
.
stringify
(
res
.
data
.
pimpapers
));
this
.
tempStorage
.
setItem
(
tempContext
.
srfsessionkey
+
'_pimresearchfindings'
,
JSON
.
stringify
(
res
.
data
.
pimresearchfindings
));
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
+
'_pimrewardpunishments'
,
JSON
.
stringify
(
res
.
data
.
pimrewardpunishments
));
this
.
tempStorage
.
setItem
(
tempContext
.
srfsessionkey
+
'_pimrewardpunishments'
,
JSON
.
stringify
(
res
.
data
.
pimrewardpunishments
));
this
.
tempStorage
.
setItem
(
tempContext
.
srfsessionkey
+
'_pim
vocationals'
,
JSON
.
stringify
(
res
.
data
.
pimvocational
s
));
this
.
tempStorage
.
setItem
(
tempContext
.
srfsessionkey
+
'_pim
armycadres'
,
JSON
.
stringify
(
res
.
data
.
pimarmycadre
s
));
this
.
tempStorage
.
setItem
(
tempContext
.
srfsessionkey
+
'_pim
languageabilities'
,
JSON
.
stringify
(
res
.
data
.
pimlanguageabilitie
s
));
this
.
tempStorage
.
setItem
(
tempContext
.
srfsessionkey
+
'_pim
patents'
,
JSON
.
stringify
(
res
.
data
.
pimpatent
s
));
this
.
tempStorage
.
setItem
(
tempContext
.
srfsessionkey
+
'_pimcontracts'
,
JSON
.
stringify
(
res
.
data
.
pimcontracts
));
this
.
tempStorage
.
setItem
(
tempContext
.
srfsessionkey
+
'_pimcontracts'
,
JSON
.
stringify
(
res
.
data
.
pimcontracts
));
this
.
tempStorage
.
setItem
(
tempContext
.
srfsessionkey
+
'_pimeducations'
,
JSON
.
stringify
(
res
.
data
.
pimeducations
));
this
.
tempStorage
.
setItem
(
tempContext
.
srfsessionkey
+
'_pimvacations'
,
JSON
.
stringify
(
res
.
data
.
pimvacations
));
this
.
tempStorage
.
setItem
(
tempContext
.
srfsessionkey
+
'_pimlanguageabilities'
,
JSON
.
stringify
(
res
.
data
.
pimlanguageabilities
));
this
.
tempStorage
.
setItem
(
tempContext
.
srfsessionkey
+
'_pimpersonabilities'
,
JSON
.
stringify
(
res
.
data
.
pimpersonabilities
));
return
res
;
return
res
;
}
}
...
@@ -864,96 +864,51 @@ export default class PIMPERSONServiceBase extends EntityService {
...
@@ -864,96 +864,51 @@ export default class PIMPERSONServiceBase extends EntityService {
*/
*/
public
async
Save
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Save
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
masterData
:
any
=
{};
let
masterData
:
any
=
{};
let
attendancemreportmxesData
:
any
=
[];
let
attendancemreportmxesData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_attendancemreportmxes'
),
'undefined'
)){
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_attendancemreportmxes'
),
'undefined'
)){
attendancemreportmxesData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_attendancemreportmxes'
)
as
any
);
attendancemreportmxesData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_attendancemreportmxes'
)
as
any
);
if
(
attendancemreportmxesData
&&
attendancemreportmxesData
.
length
&&
attendancemreportmxesData
.
length
>
0
){
if
(
attendancemreportmxesData
&&
attendancemreportmxesData
.
length
&&
attendancemreportmxesData
.
length
>
0
){
attendancemreportmxesData
.
forEach
((
item
:
any
)
=>
{
attendancemreportmxesData
.
forEach
((
item
:
any
)
=>
{
if
(
item
.
srffrontuf
){
if
(
Object
.
is
(
item
.
srffrontuf
,
"0"
)){
item
.
attendancemreportmxid
=
null
;
}
delete
item
.
srffrontuf
;
}
});
}
}
masterData
.
attendancemreportmxes
=
attendancemreportmxesData
;
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
pimpersonchangesData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimpersonchanges'
),
'undefined'
)){
pimpersonchangesData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimpersonchanges'
)
as
any
);
if
(
pimpersonchangesData
&&
pimpersonchangesData
.
length
&&
pimpersonchangesData
.
length
>
0
){
pimpersonchangesData
.
forEach
((
item
:
any
)
=>
{
if
(
item
.
srffrontuf
){
if
(
Object
.
is
(
item
.
srffrontuf
,
"0"
)){
item
.
pimpersonchangeid
=
null
;
}
delete
item
.
srffrontuf
;
}
});
}
}
masterData
.
pimpersonchanges
=
pimpersonchangesData
;
let
pimtitlesData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimtitles'
),
'undefined'
)){
pimtitlesData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimtitles'
)
as
any
);
if
(
pimtitlesData
&&
pimtitlesData
.
length
&&
pimtitlesData
.
length
>
0
){
pimtitlesData
.
forEach
((
item
:
any
)
=>
{
if
(
item
.
srffrontuf
){
if
(
item
.
srffrontuf
){
if
(
Object
.
is
(
item
.
srffrontuf
,
"0"
)){
if
(
Object
.
is
(
item
.
srffrontuf
,
"0"
)){
item
.
pimtitle
id
=
null
;
item
.
attendancemreportmx
id
=
null
;
}
}
delete
item
.
srffrontuf
;
delete
item
.
srffrontuf
;
}
}
});
});
}
}
}
}
masterData
.
pimtitles
=
pimtitl
esData
;
masterData
.
attendancemreportmxes
=
attendancemreportmx
esData
;
let
pim
personabilitie
sData
:
any
=
[];
let
pim
distirbution
sData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pim
personabilitie
s'
),
'undefined'
)){
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pim
distirbution
s'
),
'undefined'
)){
pim
personabilitiesData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimpersonabilitie
s'
)
as
any
);
pim
distirbutionsData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimdistirbution
s'
)
as
any
);
if
(
pim
personabilitiesData
&&
pimpersonabilitiesData
.
length
&&
pimpersonabilitie
sData
.
length
>
0
){
if
(
pim
distirbutionsData
&&
pimdistirbutionsData
.
length
&&
pimdistirbution
sData
.
length
>
0
){
pim
personabilitie
sData
.
forEach
((
item
:
any
)
=>
{
pim
distirbution
sData
.
forEach
((
item
:
any
)
=>
{
if
(
item
.
srffrontuf
){
if
(
item
.
srffrontuf
){
if
(
Object
.
is
(
item
.
srffrontuf
,
"0"
)){
if
(
Object
.
is
(
item
.
srffrontuf
,
"0"
)){
item
.
pim
personability
id
=
null
;
item
.
pim
distirbution
id
=
null
;
}
}
delete
item
.
srffrontuf
;
delete
item
.
srffrontuf
;
}
}
});
});
}
}
}
}
masterData
.
pim
personabilities
=
pimpersonabilitie
sData
;
masterData
.
pim
distirbutions
=
pimdistirbution
sData
;
let
pim
exitandentri
esData
:
any
=
[];
let
pim
titl
esData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pim
exitandentri
es'
),
'undefined'
)){
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pim
titl
es'
),
'undefined'
)){
pim
exitandentriesData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimexitandentri
es'
)
as
any
);
pim
titlesData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimtitl
es'
)
as
any
);
if
(
pim
exitandentriesData
&&
pimexitandentriesData
.
length
&&
pimexitandentri
esData
.
length
>
0
){
if
(
pim
titlesData
&&
pimtitlesData
.
length
&&
pimtitl
esData
.
length
>
0
){
pim
exitandentri
esData
.
forEach
((
item
:
any
)
=>
{
pim
titl
esData
.
forEach
((
item
:
any
)
=>
{
if
(
item
.
srffrontuf
){
if
(
item
.
srffrontuf
){
if
(
Object
.
is
(
item
.
srffrontuf
,
"0"
)){
if
(
Object
.
is
(
item
.
srffrontuf
,
"0"
)){
item
.
pim
exitandentry
id
=
null
;
item
.
pim
title
id
=
null
;
}
}
delete
item
.
srffrontuf
;
delete
item
.
srffrontuf
;
}
}
});
});
}
}
}
}
masterData
.
pim
exitandentries
=
pimexitandentri
esData
;
masterData
.
pim
titles
=
pimtitl
esData
;
let
pimfaminfosData
:
any
=
[];
let
pimfaminfosData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimfaminfos'
),
'undefined'
)){
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimfaminfos'
),
'undefined'
)){
pimfaminfosData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimfaminfos'
)
as
any
);
pimfaminfosData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimfaminfos'
)
as
any
);
...
@@ -969,36 +924,21 @@ export default class PIMPERSONServiceBase extends EntityService {
...
@@ -969,36 +924,21 @@ export default class PIMPERSONServiceBase extends EntityService {
}
}
}
}
masterData
.
pimfaminfos
=
pimfaminfosData
;
masterData
.
pimfaminfos
=
pimfaminfosData
;
let
pimdistirbutionsData
:
any
=
[];
let
pimresearchfindingsData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimdistirbutions'
),
'undefined'
)){
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimresearchfindings'
),
'undefined'
)){
pimdistirbutionsData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimdistirbutions'
)
as
any
);
pimresearchfindingsData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimresearchfindings'
)
as
any
);
if
(
pimdistirbutionsData
&&
pimdistirbutionsData
.
length
&&
pimdistirbutionsData
.
length
>
0
){
if
(
pimresearchfindingsData
&&
pimresearchfindingsData
.
length
&&
pimresearchfindingsData
.
length
>
0
){
pimdistirbutionsData
.
forEach
((
item
:
any
)
=>
{
pimresearchfindingsData
.
forEach
((
item
:
any
)
=>
{
if
(
item
.
srffrontuf
){
if
(
Object
.
is
(
item
.
srffrontuf
,
"0"
)){
item
.
pimdistirbutionid
=
null
;
}
delete
item
.
srffrontuf
;
}
});
}
}
masterData
.
pimdistirbutions
=
pimdistirbutionsData
;
let
pimarmycadresData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimarmycadres'
),
'undefined'
)){
pimarmycadresData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimarmycadres'
)
as
any
);
if
(
pimarmycadresData
&&
pimarmycadresData
.
length
&&
pimarmycadresData
.
length
>
0
){
pimarmycadresData
.
forEach
((
item
:
any
)
=>
{
if
(
item
.
srffrontuf
){
if
(
item
.
srffrontuf
){
if
(
Object
.
is
(
item
.
srffrontuf
,
"0"
)){
if
(
Object
.
is
(
item
.
srffrontuf
,
"0"
)){
item
.
pim
armycadre
sid
=
null
;
item
.
pim
researchfinding
sid
=
null
;
}
}
delete
item
.
srffrontuf
;
delete
item
.
srffrontuf
;
}
}
});
});
}
}
}
}
masterData
.
pim
armycadres
=
pimarmycadre
sData
;
masterData
.
pim
researchfindings
=
pimresearchfinding
sData
;
let
pimworkhistoriesData
:
any
=
[];
let
pimworkhistoriesData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimworkhistories'
),
'undefined'
)){
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimworkhistories'
),
'undefined'
)){
pimworkhistoriesData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimworkhistories'
)
as
any
);
pimworkhistoriesData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimworkhistories'
)
as
any
);
...
@@ -1014,36 +954,21 @@ export default class PIMPERSONServiceBase extends EntityService {
...
@@ -1014,36 +954,21 @@ export default class PIMPERSONServiceBase extends EntityService {
}
}
}
}
masterData
.
pimworkhistories
=
pimworkhistoriesData
;
masterData
.
pimworkhistories
=
pimworkhistoriesData
;
let
pimpatentsData
:
any
=
[];
let
pimvocationalsData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimpatents'
),
'undefined'
)){
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimvocationals'
),
'undefined'
)){
pimpatentsData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimpatents'
)
as
any
);
pimvocationalsData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimvocationals'
)
as
any
);
if
(
pimpatentsData
&&
pimpatentsData
.
length
&&
pimpatentsData
.
length
>
0
){
if
(
pimvocationalsData
&&
pimvocationalsData
.
length
&&
pimvocationalsData
.
length
>
0
){
pimpatentsData
.
forEach
((
item
:
any
)
=>
{
pimvocationalsData
.
forEach
((
item
:
any
)
=>
{
if
(
item
.
srffrontuf
){
if
(
Object
.
is
(
item
.
srffrontuf
,
"0"
)){
item
.
pimpatentid
=
null
;
}
delete
item
.
srffrontuf
;
}
});
}
}
masterData
.
pimpatents
=
pimpatentsData
;
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
(
item
.
srffrontuf
){
if
(
Object
.
is
(
item
.
srffrontuf
,
"0"
)){
if
(
Object
.
is
(
item
.
srffrontuf
,
"0"
)){
item
.
pimv
acation
id
=
null
;
item
.
pimv
ocational
id
=
null
;
}
}
delete
item
.
srffrontuf
;
delete
item
.
srffrontuf
;
}
}
});
});
}
}
}
}
masterData
.
pimv
acations
=
pimvacation
sData
;
masterData
.
pimv
ocationals
=
pimvocational
sData
;
let
pimarchivesData
:
any
=
[];
let
pimarchivesData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimarchives'
),
'undefined'
)){
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimarchives'
),
'undefined'
)){
pimarchivesData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimarchives'
)
as
any
);
pimarchivesData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimarchives'
)
as
any
);
...
@@ -1104,21 +1029,36 @@ export default class PIMPERSONServiceBase extends EntityService {
...
@@ -1104,21 +1029,36 @@ export default class PIMPERSONServiceBase extends EntityService {
}
}
}
}
masterData
.
pimpapers
=
pimpapersData
;
masterData
.
pimpapers
=
pimpapersData
;
let
pim
researchfinding
sData
:
any
=
[];
let
pim
personchange
sData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pim
researchfinding
s'
),
'undefined'
)){
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pim
personchange
s'
),
'undefined'
)){
pim
researchfindingsData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimresearchfinding
s'
)
as
any
);
pim
personchangesData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimpersonchange
s'
)
as
any
);
if
(
pim
researchfindingsData
&&
pimresearchfindingsData
.
length
&&
pimresearchfinding
sData
.
length
>
0
){
if
(
pim
personchangesData
&&
pimpersonchangesData
.
length
&&
pimpersonchange
sData
.
length
>
0
){
pim
researchfinding
sData
.
forEach
((
item
:
any
)
=>
{
pim
personchange
sData
.
forEach
((
item
:
any
)
=>
{
if
(
item
.
srffrontuf
){
if
(
item
.
srffrontuf
){
if
(
Object
.
is
(
item
.
srffrontuf
,
"0"
)){
if
(
Object
.
is
(
item
.
srffrontuf
,
"0"
)){
item
.
pim
researchfindings
id
=
null
;
item
.
pim
personchange
id
=
null
;
}
}
delete
item
.
srffrontuf
;
delete
item
.
srffrontuf
;
}
}
});
});
}
}
}
}
masterData
.
pimresearchfindings
=
pimresearchfindingsData
;
masterData
.
pimpersonchanges
=
pimpersonchangesData
;
let
pimexitandentriesData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimexitandentries'
),
'undefined'
)){
pimexitandentriesData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimexitandentries'
)
as
any
);
if
(
pimexitandentriesData
&&
pimexitandentriesData
.
length
&&
pimexitandentriesData
.
length
>
0
){
pimexitandentriesData
.
forEach
((
item
:
any
)
=>
{
if
(
item
.
srffrontuf
){
if
(
Object
.
is
(
item
.
srffrontuf
,
"0"
)){
item
.
pimexitandentryid
=
null
;
}
delete
item
.
srffrontuf
;
}
});
}
}
masterData
.
pimexitandentries
=
pimexitandentriesData
;
let
pimrewardpunishmentsData
:
any
=
[];
let
pimrewardpunishmentsData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimrewardpunishments'
),
'undefined'
)){
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimrewardpunishments'
),
'undefined'
)){
pimrewardpunishmentsData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimrewardpunishments'
)
as
any
);
pimrewardpunishmentsData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimrewardpunishments'
)
as
any
);
...
@@ -1134,36 +1074,36 @@ export default class PIMPERSONServiceBase extends EntityService {
...
@@ -1134,36 +1074,36 @@ export default class PIMPERSONServiceBase extends EntityService {
}
}
}
}
masterData
.
pimrewardpunishments
=
pimrewardpunishmentsData
;
masterData
.
pimrewardpunishments
=
pimrewardpunishmentsData
;
let
pim
vocational
sData
:
any
=
[];
let
pim
armycadre
sData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pim
vocational
s'
),
'undefined'
)){
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pim
armycadre
s'
),
'undefined'
)){
pim
vocationalsData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimvocational
s'
)
as
any
);
pim
armycadresData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimarmycadre
s'
)
as
any
);
if
(
pim
vocationalsData
&&
pimvocationalsData
.
length
&&
pimvocational
sData
.
length
>
0
){
if
(
pim
armycadresData
&&
pimarmycadresData
.
length
&&
pimarmycadre
sData
.
length
>
0
){
pim
vocational
sData
.
forEach
((
item
:
any
)
=>
{
pim
armycadre
sData
.
forEach
((
item
:
any
)
=>
{
if
(
item
.
srffrontuf
){
if
(
item
.
srffrontuf
){
if
(
Object
.
is
(
item
.
srffrontuf
,
"0"
)){
if
(
Object
.
is
(
item
.
srffrontuf
,
"0"
)){
item
.
pim
vocational
id
=
null
;
item
.
pim
armycadres
id
=
null
;
}
}
delete
item
.
srffrontuf
;
delete
item
.
srffrontuf
;
}
}
});
});
}
}
}
}
masterData
.
pim
vocationals
=
pimvocational
sData
;
masterData
.
pim
armycadres
=
pimarmycadre
sData
;
let
pim
languageabilitie
sData
:
any
=
[];
let
pim
patent
sData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pim
languageabilitie
s'
),
'undefined'
)){
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pim
patent
s'
),
'undefined'
)){
pim
languageabilitiesData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimlanguageabilitie
s'
)
as
any
);
pim
patentsData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimpatent
s'
)
as
any
);
if
(
pim
languageabilitiesData
&&
pimlanguageabilitiesData
.
length
&&
pimlanguageabilitie
sData
.
length
>
0
){
if
(
pim
patentsData
&&
pimpatentsData
.
length
&&
pimpatent
sData
.
length
>
0
){
pim
languageabilitie
sData
.
forEach
((
item
:
any
)
=>
{
pim
patent
sData
.
forEach
((
item
:
any
)
=>
{
if
(
item
.
srffrontuf
){
if
(
item
.
srffrontuf
){
if
(
Object
.
is
(
item
.
srffrontuf
,
"0"
)){
if
(
Object
.
is
(
item
.
srffrontuf
,
"0"
)){
item
.
pim
languageability
id
=
null
;
item
.
pim
patent
id
=
null
;
}
}
delete
item
.
srffrontuf
;
delete
item
.
srffrontuf
;
}
}
});
});
}
}
}
}
masterData
.
pim
languageabilities
=
pimlanguageabilitie
sData
;
masterData
.
pim
patents
=
pimpatent
sData
;
let
pimcontractsData
:
any
=
[];
let
pimcontractsData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimcontracts'
),
'undefined'
)){
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimcontracts'
),
'undefined'
)){
pimcontractsData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimcontracts'
)
as
any
);
pimcontractsData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimcontracts'
)
as
any
);
...
@@ -1179,29 +1119,89 @@ export default class PIMPERSONServiceBase extends EntityService {
...
@@ -1179,29 +1119,89 @@ export default class PIMPERSONServiceBase extends EntityService {
}
}
}
}
masterData
.
pimcontracts
=
pimcontractsData
;
masterData
.
pimcontracts
=
pimcontractsData
;
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
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
pimlanguageabilitiesData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimlanguageabilities'
),
'undefined'
)){
pimlanguageabilitiesData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimlanguageabilities'
)
as
any
);
if
(
pimlanguageabilitiesData
&&
pimlanguageabilitiesData
.
length
&&
pimlanguageabilitiesData
.
length
>
0
){
pimlanguageabilitiesData
.
forEach
((
item
:
any
)
=>
{
if
(
item
.
srffrontuf
){
if
(
Object
.
is
(
item
.
srffrontuf
,
"0"
)){
item
.
pimlanguageabilityid
=
null
;
}
delete
item
.
srffrontuf
;
}
});
}
}
masterData
.
pimlanguageabilities
=
pimlanguageabilitiesData
;
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
;
Object
.
assign
(
data
,
masterData
);
Object
.
assign
(
data
,
masterData
);
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/pimpeople/
${
context
.
pimperson
}
/save`
,
data
,
isloading
);
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/pimpeople/
${
context
.
pimperson
}
/save`
,
data
,
isloading
);
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_attendancemreportmxes'
,
JSON
.
stringify
(
res
.
data
.
attendancemreportmxes
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_attendancemreportmxes'
,
JSON
.
stringify
(
res
.
data
.
attendancemreportmxes
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimeducations'
,
JSON
.
stringify
(
res
.
data
.
pimeducations
));
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
+
'_pimtitles'
,
JSON
.
stringify
(
res
.
data
.
pimtitles
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimtitles'
,
JSON
.
stringify
(
res
.
data
.
pimtitles
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimpersonabilities'
,
JSON
.
stringify
(
res
.
data
.
pimpersonabilities
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimexitandentries'
,
JSON
.
stringify
(
res
.
data
.
pimexitandentries
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimfaminfos'
,
JSON
.
stringify
(
res
.
data
.
pimfaminfos
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimfaminfos'
,
JSON
.
stringify
(
res
.
data
.
pimfaminfos
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimdistirbutions'
,
JSON
.
stringify
(
res
.
data
.
pimdistirbutions
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimresearchfindings'
,
JSON
.
stringify
(
res
.
data
.
pimresearchfindings
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimarmycadres'
,
JSON
.
stringify
(
res
.
data
.
pimarmycadres
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimworkhistories'
,
JSON
.
stringify
(
res
.
data
.
pimworkhistories
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimworkhistories'
,
JSON
.
stringify
(
res
.
data
.
pimworkhistories
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimpatents'
,
JSON
.
stringify
(
res
.
data
.
pimpatents
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimvocationals'
,
JSON
.
stringify
(
res
.
data
.
pimvocationals
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimvacations'
,
JSON
.
stringify
(
res
.
data
.
pimvacations
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimarchives'
,
JSON
.
stringify
(
res
.
data
.
pimarchives
));
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
+
'_trmtrianpeople'
,
JSON
.
stringify
(
res
.
data
.
trmtrianpeople
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimachievements'
,
JSON
.
stringify
(
res
.
data
.
pimachievements
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimachievements'
,
JSON
.
stringify
(
res
.
data
.
pimachievements
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimpapers'
,
JSON
.
stringify
(
res
.
data
.
pimpapers
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimpapers'
,
JSON
.
stringify
(
res
.
data
.
pimpapers
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimresearchfindings'
,
JSON
.
stringify
(
res
.
data
.
pimresearchfindings
));
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
+
'_pimrewardpunishments'
,
JSON
.
stringify
(
res
.
data
.
pimrewardpunishments
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimrewardpunishments'
,
JSON
.
stringify
(
res
.
data
.
pimrewardpunishments
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pim
vocationals'
,
JSON
.
stringify
(
res
.
data
.
pimvocational
s
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pim
armycadres'
,
JSON
.
stringify
(
res
.
data
.
pimarmycadre
s
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pim
languageabilities'
,
JSON
.
stringify
(
res
.
data
.
pimlanguageabilitie
s
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pim
patents'
,
JSON
.
stringify
(
res
.
data
.
pimpatent
s
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimcontracts'
,
JSON
.
stringify
(
res
.
data
.
pimcontracts
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimcontracts'
,
JSON
.
stringify
(
res
.
data
.
pimcontracts
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimeducations'
,
JSON
.
stringify
(
res
.
data
.
pimeducations
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimvacations'
,
JSON
.
stringify
(
res
.
data
.
pimvacations
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimlanguageabilities'
,
JSON
.
stringify
(
res
.
data
.
pimlanguageabilities
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimpersonabilities'
,
JSON
.
stringify
(
res
.
data
.
pimpersonabilities
));
return
res
;
return
res
;
}
}
...
@@ -1286,26 +1286,26 @@ export default class PIMPERSONServiceBase extends EntityService {
...
@@ -1286,26 +1286,26 @@ export default class PIMPERSONServiceBase extends EntityService {
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/pimpeople/getdraft`
,
isloading
);
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/pimpeople/getdraft`
,
isloading
);
res
.
data
.
pimperson
=
data
.
pimperson
;
res
.
data
.
pimperson
=
data
.
pimperson
;
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_attendancemreportmxes'
,
JSON
.
stringify
(
res
.
data
.
attendancemreportmxes
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_attendancemreportmxes'
,
JSON
.
stringify
(
res
.
data
.
attendancemreportmxes
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimeducations'
,
JSON
.
stringify
(
res
.
data
.
pimeducations
));
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
+
'_pimtitles'
,
JSON
.
stringify
(
res
.
data
.
pimtitles
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimtitles'
,
JSON
.
stringify
(
res
.
data
.
pimtitles
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimpersonabilities'
,
JSON
.
stringify
(
res
.
data
.
pimpersonabilities
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimexitandentries'
,
JSON
.
stringify
(
res
.
data
.
pimexitandentries
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimfaminfos'
,
JSON
.
stringify
(
res
.
data
.
pimfaminfos
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimfaminfos'
,
JSON
.
stringify
(
res
.
data
.
pimfaminfos
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimdistirbutions'
,
JSON
.
stringify
(
res
.
data
.
pimdistirbutions
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimresearchfindings'
,
JSON
.
stringify
(
res
.
data
.
pimresearchfindings
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimarmycadres'
,
JSON
.
stringify
(
res
.
data
.
pimarmycadres
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimworkhistories'
,
JSON
.
stringify
(
res
.
data
.
pimworkhistories
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimworkhistories'
,
JSON
.
stringify
(
res
.
data
.
pimworkhistories
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimpatents'
,
JSON
.
stringify
(
res
.
data
.
pimpatents
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimvocationals'
,
JSON
.
stringify
(
res
.
data
.
pimvocationals
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimvacations'
,
JSON
.
stringify
(
res
.
data
.
pimvacations
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimarchives'
,
JSON
.
stringify
(
res
.
data
.
pimarchives
));
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
+
'_trmtrianpeople'
,
JSON
.
stringify
(
res
.
data
.
trmtrianpeople
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimachievements'
,
JSON
.
stringify
(
res
.
data
.
pimachievements
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimachievements'
,
JSON
.
stringify
(
res
.
data
.
pimachievements
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimpapers'
,
JSON
.
stringify
(
res
.
data
.
pimpapers
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimpapers'
,
JSON
.
stringify
(
res
.
data
.
pimpapers
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimresearchfindings'
,
JSON
.
stringify
(
res
.
data
.
pimresearchfindings
));
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
+
'_pimrewardpunishments'
,
JSON
.
stringify
(
res
.
data
.
pimrewardpunishments
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimrewardpunishments'
,
JSON
.
stringify
(
res
.
data
.
pimrewardpunishments
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pim
vocationals'
,
JSON
.
stringify
(
res
.
data
.
pimvocational
s
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pim
armycadres'
,
JSON
.
stringify
(
res
.
data
.
pimarmycadre
s
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pim
languageabilities'
,
JSON
.
stringify
(
res
.
data
.
pimlanguageabilitie
s
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pim
patents'
,
JSON
.
stringify
(
res
.
data
.
pimpatent
s
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimcontracts'
,
JSON
.
stringify
(
res
.
data
.
pimcontracts
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimcontracts'
,
JSON
.
stringify
(
res
.
data
.
pimcontracts
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimeducations'
,
JSON
.
stringify
(
res
.
data
.
pimeducations
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimvacations'
,
JSON
.
stringify
(
res
.
data
.
pimvacations
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimlanguageabilities'
,
JSON
.
stringify
(
res
.
data
.
pimlanguageabilities
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimpersonabilities'
,
JSON
.
stringify
(
res
.
data
.
pimpersonabilities
));
return
res
;
return
res
;
}
}
...
...
app_EHRPim/src/user-register.ts
浏览文件 @
90ca1f11
import
{
UserDefaultComponent
}
from
'./user-default-register'
;
import
{
UserDefaultComponent
}
from
'./user-default-register'
;
import
AppOrgPNum
from
'./components/app-org-p-num/app-org-p-num.vue'
import
AppOrgVocNumList
from
'./components/app-org-voc-num-list/app-org-voc-num-list.vue'
export
const
UserComponent
=
{
export
const
UserComponent
=
{
install
(
v
:
any
,
opt
:
any
)
{
install
(
v
:
any
,
opt
:
any
)
{
UserDefaultComponent
.
install
(
v
,
opt
);
UserDefaultComponent
.
install
(
v
,
opt
);
v
.
component
(
'app-org-p-num'
,
AppOrgPNum
);
v
.
component
(
'app-org-voc-num-list'
,
AppOrgVocNumList
);
}
}
};
};
\ No newline at end of file
app_EHRPim/src/widgets/app/pim-portal-view-db-dashboard/pim-portal-view-db-dashboard-base.vue
浏览文件 @
90ca1f11
...
@@ -6,72 +6,72 @@
...
@@ -6,72 +6,72 @@
<row
v-if=
"!isHasCustomized"
>
<row
v-if=
"!isHasCustomized"
>
<div
style =
''
>
<div
style =
''
>
<i-col
:xs=
"
{ span: 8, offset: 0}" :sm="{ span: 8, offset: 0}" :md="{ span: 8, offset: 0 }" :lg="{ span: 8, offset: 0 }">
<i-col
:xs=
"
{ span: 8, offset: 0}" :sm="{ span: 8, offset: 0}" :md="{ span: 8, offset: 0 }" :lg="{ span: 8, offset: 0 }">
<card
class=
"portlet-card"
:bordered=
"false"
dis-hover
:padding=
"0"
>
<card
:bordered=
"false"
dis-hover
:padding=
"0"
>
<span>
<span>
<view
_db_sysportlet1
<view
_db_sysportlet1
:viewState=
"viewState"
:viewState=
"viewState"
:viewparams=
"viewparams"
:viewparams=
"viewparams"
:context=
"context"
:context=
"context"
name=
"db_sysportlet1"
name=
"db_sysportlet1"
ref=
'db_sysportlet1'
ref=
'db_sysportlet1'
@
closeview=
"closeView($event)"
>
@
closeview=
"closeView($event)"
>
</view
_db_sysportlet1
>
</view
_db_sysportlet1
>
</span>
</span>
</card>
</card>
</i-col>
</i-col>
<i-col
:xs=
"
{ span: 16, offset: 0}" :sm="{ span: 16, offset: 0}" :md="{ span: 16, offset: 0 }" :lg="{ span: 16, offset: 0 }">
<i-col
:xs=
"
{ span: 16, offset: 0}" :sm="{ span: 16, offset: 0}" :md="{ span: 16, offset: 0 }" :lg="{ span: 16, offset: 0 }">
<card
class=
"portlet-card"
:bordered=
"false"
dis-hover
:padding=
"0"
>
<card
:bordered=
"false"
dis-hover
:padding=
"0"
>
<span>
<span>
<view
_db_sysportlet2
<view
_db_sysportlet2
:viewState=
"viewState"
:viewState=
"viewState"
:viewparams=
"viewparams"
:viewparams=
"viewparams"
:context=
"context"
:context=
"context"
name=
"db_sysportlet2"
name=
"db_sysportlet2"
ref=
'db_sysportlet2'
ref=
'db_sysportlet2'
@
closeview=
"closeView($event)"
>
@
closeview=
"closeView($event)"
>
</view
_db_sysportlet2
>
</view
_db_sysportlet2
>
</span>
</span>
</card>
</card>
</i-col>
</i-col>
<i-col
:xs=
"
{ span: 8, offset: 0}" :sm="{ span: 8, offset: 0}" :md="{ span: 8, offset: 0 }" :lg="{ span: 8, offset: 0 }">
<i-col
:xs=
"
{ span: 8, offset: 0}" :sm="{ span: 8, offset: 0}" :md="{ span: 8, offset: 0 }" :lg="{ span: 8, offset: 0 }">
<card
class=
"portlet-card"
:bordered=
"false"
dis-hover
:padding=
"0"
>
<card
:bordered=
"false"
dis-hover
:padding=
"0"
>
<span>
<span>
<view
_db_sysportlet4
<view
_db_sysportlet4
:viewState=
"viewState"
:viewState=
"viewState"
:viewparams=
"viewparams"
:viewparams=
"viewparams"
:context=
"context"
:context=
"context"
name=
"db_sysportlet4"
name=
"db_sysportlet4"
ref=
'db_sysportlet4'
ref=
'db_sysportlet4'
@
closeview=
"closeView($event)"
>
@
closeview=
"closeView($event)"
>
</view
_db_sysportlet4
>
</view
_db_sysportlet4
>
</span>
</span>
</card>
</card>
</i-col>
</i-col>
<i-col
:xs=
"
{ span: 8, offset: 0}" :sm="{ span: 8, offset: 0}" :md="{ span: 8, offset: 0 }" :lg="{ span: 8, offset: 0 }">
<i-col
:xs=
"
{ span: 8, offset: 0}" :sm="{ span: 8, offset: 0}" :md="{ span: 8, offset: 0 }" :lg="{ span: 8, offset: 0 }">
<card
class=
"portlet-card"
:bordered=
"false"
dis-hover
:padding=
"0"
>
<card
:bordered=
"false"
dis-hover
:padding=
"0"
>
<span>
<span>
<view
_db_sysportlet3
<view
_db_sysportlet3
:viewState=
"viewState"
:viewState=
"viewState"
:viewparams=
"viewparams"
:viewparams=
"viewparams"
:context=
"context"
:context=
"context"
name=
"db_sysportlet3"
name=
"db_sysportlet3"
ref=
'db_sysportlet3'
ref=
'db_sysportlet3'
@
closeview=
"closeView($event)"
>
@
closeview=
"closeView($event)"
>
</view
_db_sysportlet3
>
</view
_db_sysportlet3
>
</span>
</span>
</card>
</card>
</i-col>
</i-col>
<i-col
:xs=
"
{ span: 8, offset: 0}" :sm="{ span: 8, offset: 0}" :md="{ span: 8, offset: 0 }" :lg="{ span: 8, offset: 0 }">
<i-col
:xs=
"
{ span: 8, offset: 0}" :sm="{ span: 8, offset: 0}" :md="{ span: 8, offset: 0 }" :lg="{ span: 8, offset: 0 }">
<card
class=
"portlet-card"
:bordered=
"false"
dis-hover
:padding=
"0"
>
<card
:bordered=
"false"
dis-hover
:padding=
"0"
>
<span>
<span>
<view
_db_sysportlet5
<view
_db_sysportlet5
:viewState=
"viewState"
:viewState=
"viewState"
:viewparams=
"viewparams"
:viewparams=
"viewparams"
:context=
"context"
:context=
"context"
name=
"db_sysportlet5"
name=
"db_sysportlet5"
ref=
'db_sysportlet5'
ref=
'db_sysportlet5'
@
closeview=
"closeView($event)"
>
@
closeview=
"closeView($event)"
>
</view
_db_sysportlet5
>
</view
_db_sysportlet5
>
</span>
</span>
</card>
</card>
</i-col>
</i-col>
...
...
app_EHRPim/src/widgets/pimvocational/org-voc-num-list-list/org-voc-num-list-list.less
浏览文件 @
90ca1f11
...
@@ -3,10 +3,6 @@
...
@@ -3,10 +3,6 @@
.app-list {
.app-list {
flex-grow: 1;
flex-grow: 1;
overflow-y: auto;
overflow-y: auto;
height: 100%;
>div{
height: 100%;
}
.app-list-item {
.app-list-item {
line-height: 34px;
line-height: 34px;
}
}
...
...
config.xml
浏览文件 @
90ca1f11
...
@@ -38,6 +38,11 @@
...
@@ -38,6 +38,11 @@
git clone -b master $para2 ehr/
git clone -b master $para2 ehr/
export NODE_OPTIONS=--max-old-space-size=4096
export NODE_OPTIONS=--max-old-space-size=4096
cd ehr/
cd ehr/
mvn clean package -Pehrpim
cd ehr-app/ehr-app-ehrpim
mvn -Pehrpim docker:build
mvn -Pehrpim docker:push
docker -H $para1 stack deploy --compose-file=src/main/docker/ehr-app-ehrpim.yaml iBizEE --with-registry-auth
</command>
</command>
</hudson.tasks.Shell>
</hudson.tasks.Shell>
</builders>
</builders>
...
...
ehr-app/ehr-app-ehr/src/main/docker/Dockerfile
浏览文件 @
90ca1f11
...
@@ -9,6 +9,6 @@ CMD echo "The application will start in ${IBZ_SLEEP}s..." && \
...
@@ -9,6 +9,6 @@ CMD echo "The application will start in ${IBZ_SLEEP}s..." && \
sleep ${IBZ_SLEEP} && \
sleep ${IBZ_SLEEP} && \
java ${JAVA_OPTS} -Djava.security.egd=file:/dev/./urandom -jar /ehr-app-ehr.jar
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
ADD
ehr-app-ehr.jar /ehr-app-ehr.jar
ehr-app/ehr-app-ehr/src/main/docker/ehr-app-ehr.yaml
浏览文件 @
90ca1f11
...
@@ -3,9 +3,11 @@ services:
...
@@ -3,9 +3,11 @@ services:
ehr-app-ehr
:
ehr-app-ehr
:
image
:
registry.cn-shanghai.aliyuncs.com/ibizsys/ehr-app-ehr:latest
image
:
registry.cn-shanghai.aliyuncs.com/ibizsys/ehr-app-ehr:latest
ports
:
ports
:
-
"
8080:8080
"
-
"
6092:6092
"
networks
:
networks
:
-
agent_network
-
agent_network
environment
:
SPRING_CLOUD_NACOS_DISCOVERY_IP
:
172.16.240.110
deploy
:
deploy
:
mode
:
replicated
mode
:
replicated
replicas
:
1
replicas
:
1
...
...
ehr-app/ehr-app-ehr/src/main/resources/application-ehr-dev.yml
浏览文件 @
90ca1f11
server
:
server
:
port
:
8080
port
:
6092
\ No newline at end of file
\ No newline at end of file
ehr-app/ehr-app-ehr/src/main/resources/application-ehr-prod.yml
浏览文件 @
90ca1f11
server
:
server
:
port
:
8080
port
:
6092
#zuul网关路由设置
#zuul网关路由设置
zuul
:
zuul
:
...
...
ehr-app/ehr-app-ehrapp/src/main/docker/Dockerfile
浏览文件 @
90ca1f11
...
@@ -9,6 +9,6 @@ CMD echo "The application will start in ${IBZ_SLEEP}s..." && \
...
@@ -9,6 +9,6 @@ CMD echo "The application will start in ${IBZ_SLEEP}s..." && \
sleep ${IBZ_SLEEP} && \
sleep ${IBZ_SLEEP} && \
java ${JAVA_OPTS} -Djava.security.egd=file:/dev/./urandom -jar /ehr-app-ehrapp.jar
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
ADD
ehr-app-ehrapp.jar /ehr-app-ehrapp.jar
ehr-app/ehr-app-ehrapp/src/main/docker/ehr-app-ehrapp.yaml
浏览文件 @
90ca1f11
...
@@ -3,9 +3,11 @@ services:
...
@@ -3,9 +3,11 @@ services:
ehr-app-ehrapp
:
ehr-app-ehrapp
:
image
:
registry.cn-shanghai.aliyuncs.com/ibizsys/ehr-app-ehrapp:latest
image
:
registry.cn-shanghai.aliyuncs.com/ibizsys/ehr-app-ehrapp:latest
ports
:
ports
:
-
"
8080:8080
"
-
"
6092:6092
"
networks
:
networks
:
-
agent_network
-
agent_network
environment
:
SPRING_CLOUD_NACOS_DISCOVERY_IP
:
172.16.240.110
deploy
:
deploy
:
mode
:
replicated
mode
:
replicated
replicas
:
1
replicas
:
1
...
...
ehr-app/ehr-app-ehrapp/src/main/resources/application-ehrapp-dev.yml
浏览文件 @
90ca1f11
server
:
server
:
port
:
8080
port
:
6092
\ No newline at end of file
\ No newline at end of file
ehr-app/ehr-app-ehrapp/src/main/resources/application-ehrapp-prod.yml
浏览文件 @
90ca1f11
server
:
server
:
port
:
8080
port
:
6092
#zuul网关路由设置
#zuul网关路由设置
zuul
:
zuul
:
...
...
ehr-app/ehr-app-ehrhelp/src/main/docker/Dockerfile
浏览文件 @
90ca1f11
...
@@ -9,6 +9,6 @@ CMD echo "The application will start in ${IBZ_SLEEP}s..." && \
...
@@ -9,6 +9,6 @@ CMD echo "The application will start in ${IBZ_SLEEP}s..." && \
sleep ${IBZ_SLEEP} && \
sleep ${IBZ_SLEEP} && \
java ${JAVA_OPTS} -Djava.security.egd=file:/dev/./urandom -jar /ehr-app-ehrhelp.jar
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
ADD
ehr-app-ehrhelp.jar /ehr-app-ehrhelp.jar
ehr-app/ehr-app-ehrhelp/src/main/docker/ehr-app-ehrhelp.yaml
浏览文件 @
90ca1f11
...
@@ -3,9 +3,11 @@ services:
...
@@ -3,9 +3,11 @@ services:
ehr-app-ehrhelp
:
ehr-app-ehrhelp
:
image
:
registry.cn-shanghai.aliyuncs.com/ibizsys/ehr-app-ehrhelp:latest
image
:
registry.cn-shanghai.aliyuncs.com/ibizsys/ehr-app-ehrhelp:latest
ports
:
ports
:
-
"
8080:8080
"
-
"
6092:6092
"
networks
:
networks
:
-
agent_network
-
agent_network
environment
:
SPRING_CLOUD_NACOS_DISCOVERY_IP
:
172.16.240.110
deploy
:
deploy
:
mode
:
replicated
mode
:
replicated
replicas
:
1
replicas
:
1
...
...
ehr-app/ehr-app-ehrhelp/src/main/resources/application-ehrhelp-dev.yml
浏览文件 @
90ca1f11
server
:
server
:
port
:
8080
port
:
6092
\ No newline at end of file
\ No newline at end of file
ehr-app/ehr-app-ehrhelp/src/main/resources/application-ehrhelp-prod.yml
浏览文件 @
90ca1f11
server
:
server
:
port
:
8080
port
:
6092
#zuul网关路由设置
#zuul网关路由设置
zuul
:
zuul
:
...
...
ehr-app/ehr-app-ehrmob/src/main/docker/Dockerfile
浏览文件 @
90ca1f11
...
@@ -9,6 +9,6 @@ CMD echo "The application will start in ${IBZ_SLEEP}s..." && \
...
@@ -9,6 +9,6 @@ CMD echo "The application will start in ${IBZ_SLEEP}s..." && \
sleep ${IBZ_SLEEP} && \
sleep ${IBZ_SLEEP} && \
java ${JAVA_OPTS} -Djava.security.egd=file:/dev/./urandom -jar /ehr-app-ehrmob.jar
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
ADD
ehr-app-ehrmob.jar /ehr-app-ehrmob.jar
ehr-app/ehr-app-ehrmob/src/main/docker/ehr-app-ehrmob.yaml
浏览文件 @
90ca1f11
...
@@ -3,9 +3,11 @@ services:
...
@@ -3,9 +3,11 @@ services:
ehr-app-ehrmob
:
ehr-app-ehrmob
:
image
:
registry.cn-shanghai.aliyuncs.com/ibizsys/ehr-app-ehrmob:latest
image
:
registry.cn-shanghai.aliyuncs.com/ibizsys/ehr-app-ehrmob:latest
ports
:
ports
:
-
"
8080:8080
"
-
"
6092:6092
"
networks
:
networks
:
-
agent_network
-
agent_network
environment
:
SPRING_CLOUD_NACOS_DISCOVERY_IP
:
172.16.240.110
deploy
:
deploy
:
mode
:
replicated
mode
:
replicated
replicas
:
1
replicas
:
1
...
...
ehr-app/ehr-app-ehrmob/src/main/resources/application-ehrmob-dev.yml
浏览文件 @
90ca1f11
server
:
server
:
port
:
8080
port
:
6092
\ No newline at end of file
\ No newline at end of file
ehr-app/ehr-app-ehrmob/src/main/resources/application-ehrmob-prod.yml
浏览文件 @
90ca1f11
server
:
server
:
port
:
8080
port
:
6092
#zuul网关路由设置
#zuul网关路由设置
zuul
:
zuul
:
...
...
ehr-app/ehr-app-ehrorm/src/main/docker/Dockerfile
浏览文件 @
90ca1f11
...
@@ -9,6 +9,6 @@ CMD echo "The application will start in ${IBZ_SLEEP}s..." && \
...
@@ -9,6 +9,6 @@ CMD echo "The application will start in ${IBZ_SLEEP}s..." && \
sleep ${IBZ_SLEEP} && \
sleep ${IBZ_SLEEP} && \
java ${JAVA_OPTS} -Djava.security.egd=file:/dev/./urandom -jar /ehr-app-ehrorm.jar
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
ADD
ehr-app-ehrorm.jar /ehr-app-ehrorm.jar
ehr-app/ehr-app-ehrorm/src/main/docker/ehr-app-ehrorm.yaml
浏览文件 @
90ca1f11
...
@@ -3,9 +3,11 @@ services:
...
@@ -3,9 +3,11 @@ services:
ehr-app-ehrorm
:
ehr-app-ehrorm
:
image
:
registry.cn-shanghai.aliyuncs.com/ibizsys/ehr-app-ehrorm:latest
image
:
registry.cn-shanghai.aliyuncs.com/ibizsys/ehr-app-ehrorm:latest
ports
:
ports
:
-
"
8080:8080
"
-
"
6092:6092
"
networks
:
networks
:
-
agent_network
-
agent_network
environment
:
SPRING_CLOUD_NACOS_DISCOVERY_IP
:
172.16.240.110
deploy
:
deploy
:
mode
:
replicated
mode
:
replicated
replicas
:
1
replicas
:
1
...
...
ehr-app/ehr-app-ehrorm/src/main/resources/application-ehrorm-dev.yml
浏览文件 @
90ca1f11
server
:
server
:
port
:
8080
port
:
6092
\ No newline at end of file
\ No newline at end of file
ehr-app/ehr-app-ehrorm/src/main/resources/application-ehrorm-prod.yml
浏览文件 @
90ca1f11
server
:
server
:
port
:
8080
port
:
6092
#zuul网关路由设置
#zuul网关路由设置
zuul
:
zuul
:
...
...
ehr-app/ehr-app-ehrpcm/src/main/docker/Dockerfile
浏览文件 @
90ca1f11
...
@@ -9,6 +9,6 @@ CMD echo "The application will start in ${IBZ_SLEEP}s..." && \
...
@@ -9,6 +9,6 @@ CMD echo "The application will start in ${IBZ_SLEEP}s..." && \
sleep ${IBZ_SLEEP} && \
sleep ${IBZ_SLEEP} && \
java ${JAVA_OPTS} -Djava.security.egd=file:/dev/./urandom -jar /ehr-app-ehrpcm.jar
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
ADD
ehr-app-ehrpcm.jar /ehr-app-ehrpcm.jar
ehr-app/ehr-app-ehrpcm/src/main/docker/ehr-app-ehrpcm.yaml
浏览文件 @
90ca1f11
...
@@ -3,9 +3,11 @@ services:
...
@@ -3,9 +3,11 @@ services:
ehr-app-ehrpcm
:
ehr-app-ehrpcm
:
image
:
registry.cn-shanghai.aliyuncs.com/ibizsys/ehr-app-ehrpcm:latest
image
:
registry.cn-shanghai.aliyuncs.com/ibizsys/ehr-app-ehrpcm:latest
ports
:
ports
:
-
"
8080:8080
"
-
"
6092:6092
"
networks
:
networks
:
-
agent_network
-
agent_network
environment
:
SPRING_CLOUD_NACOS_DISCOVERY_IP
:
172.16.240.110
deploy
:
deploy
:
mode
:
replicated
mode
:
replicated
replicas
:
1
replicas
:
1
...
...
ehr-app/ehr-app-ehrpcm/src/main/resources/application-ehrpcm-dev.yml
浏览文件 @
90ca1f11
server
:
server
:
port
:
8080
port
:
6092
\ No newline at end of file
\ No newline at end of file
ehr-app/ehr-app-ehrpcm/src/main/resources/application-ehrpcm-prod.yml
浏览文件 @
90ca1f11
server
:
server
:
port
:
8080
port
:
6092
#zuul网关路由设置
#zuul网关路由设置
zuul
:
zuul
:
...
...
ehr-app/ehr-app-ehrpcm2/src/main/docker/Dockerfile
浏览文件 @
90ca1f11
...
@@ -9,6 +9,6 @@ CMD echo "The application will start in ${IBZ_SLEEP}s..." && \
...
@@ -9,6 +9,6 @@ CMD echo "The application will start in ${IBZ_SLEEP}s..." && \
sleep ${IBZ_SLEEP} && \
sleep ${IBZ_SLEEP} && \
java ${JAVA_OPTS} -Djava.security.egd=file:/dev/./urandom -jar /ehr-app-ehrpcm2.jar
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
ADD
ehr-app-ehrpcm2.jar /ehr-app-ehrpcm2.jar
ehr-app/ehr-app-ehrpcm2/src/main/docker/ehr-app-ehrpcm2.yaml
浏览文件 @
90ca1f11
...
@@ -3,9 +3,11 @@ services:
...
@@ -3,9 +3,11 @@ services:
ehr-app-ehrpcm2
:
ehr-app-ehrpcm2
:
image
:
registry.cn-shanghai.aliyuncs.com/ibizsys/ehr-app-ehrpcm2:latest
image
:
registry.cn-shanghai.aliyuncs.com/ibizsys/ehr-app-ehrpcm2:latest
ports
:
ports
:
-
"
8080:8080
"
-
"
6092:6092
"
networks
:
networks
:
-
agent_network
-
agent_network
environment
:
SPRING_CLOUD_NACOS_DISCOVERY_IP
:
172.16.240.110
deploy
:
deploy
:
mode
:
replicated
mode
:
replicated
replicas
:
1
replicas
:
1
...
...
ehr-app/ehr-app-ehrpcm2/src/main/resources/application-ehrpcm2-dev.yml
浏览文件 @
90ca1f11
server
:
server
:
port
:
8080
port
:
6092
\ No newline at end of file
\ No newline at end of file
ehr-app/ehr-app-ehrpcm2/src/main/resources/application-ehrpcm2-prod.yml
浏览文件 @
90ca1f11
server
:
server
:
port
:
8080
port
:
6092
#zuul网关路由设置
#zuul网关路由设置
zuul
:
zuul
:
...
...
ehr-app/ehr-app-ehrpim/src/main/docker/Dockerfile
浏览文件 @
90ca1f11
...
@@ -9,6 +9,6 @@ CMD echo "The application will start in ${IBZ_SLEEP}s..." && \
...
@@ -9,6 +9,6 @@ CMD echo "The application will start in ${IBZ_SLEEP}s..." && \
sleep ${IBZ_SLEEP} && \
sleep ${IBZ_SLEEP} && \
java ${JAVA_OPTS} -Djava.security.egd=file:/dev/./urandom -jar /ehr-app-ehrpim.jar
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
ADD
ehr-app-ehrpim.jar /ehr-app-ehrpim.jar
ehr-app/ehr-app-ehrpim/src/main/docker/ehr-app-ehrpim.yaml
浏览文件 @
90ca1f11
...
@@ -3,9 +3,11 @@ services:
...
@@ -3,9 +3,11 @@ services:
ehr-app-ehrpim
:
ehr-app-ehrpim
:
image
:
registry.cn-shanghai.aliyuncs.com/ibizsys/ehr-app-ehrpim:latest
image
:
registry.cn-shanghai.aliyuncs.com/ibizsys/ehr-app-ehrpim:latest
ports
:
ports
:
-
"
8080:8080
"
-
"
6092:6092
"
networks
:
networks
:
-
agent_network
-
agent_network
environment
:
SPRING_CLOUD_NACOS_DISCOVERY_IP
:
172.16.240.110
deploy
:
deploy
:
mode
:
replicated
mode
:
replicated
replicas
:
1
replicas
:
1
...
...
ehr-app/ehr-app-ehrpim/src/main/resources/application-ehrpim-dev.yml
浏览文件 @
90ca1f11
server
:
server
:
port
:
8080
port
:
6092
\ No newline at end of file
\ No newline at end of file
ehr-app/ehr-app-ehrpim/src/main/resources/application-ehrpim-prod.yml
浏览文件 @
90ca1f11
server
:
server
:
port
:
8080
port
:
6092
#zuul网关路由设置
#zuul网关路由设置
zuul
:
zuul
:
...
...
ehr-app/ehr-app-ehrweb/src/main/docker/Dockerfile
浏览文件 @
90ca1f11
...
@@ -9,6 +9,6 @@ CMD echo "The application will start in ${IBZ_SLEEP}s..." && \
...
@@ -9,6 +9,6 @@ CMD echo "The application will start in ${IBZ_SLEEP}s..." && \
sleep ${IBZ_SLEEP} && \
sleep ${IBZ_SLEEP} && \
java ${JAVA_OPTS} -Djava.security.egd=file:/dev/./urandom -jar /ehr-app-ehrweb.jar
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
ADD
ehr-app-ehrweb.jar /ehr-app-ehrweb.jar
ehr-app/ehr-app-ehrweb/src/main/docker/ehr-app-ehrweb.yaml
浏览文件 @
90ca1f11
...
@@ -3,9 +3,11 @@ services:
...
@@ -3,9 +3,11 @@ services:
ehr-app-ehrweb
:
ehr-app-ehrweb
:
image
:
registry.cn-shanghai.aliyuncs.com/ibizsys/ehr-app-ehrweb:latest
image
:
registry.cn-shanghai.aliyuncs.com/ibizsys/ehr-app-ehrweb:latest
ports
:
ports
:
-
"
8080:8080
"
-
"
6092:6092
"
networks
:
networks
:
-
agent_network
-
agent_network
environment
:
SPRING_CLOUD_NACOS_DISCOVERY_IP
:
172.16.240.110
deploy
:
deploy
:
mode
:
replicated
mode
:
replicated
replicas
:
1
replicas
:
1
...
...
ehr-app/ehr-app-ehrweb/src/main/resources/application-ehrweb-dev.yml
浏览文件 @
90ca1f11
server
:
server
:
port
:
8080
port
:
6092
\ No newline at end of file
\ No newline at end of file
ehr-app/ehr-app-ehrweb/src/main/resources/application-ehrweb-prod.yml
浏览文件 @
90ca1f11
server
:
server
:
port
:
8080
port
:
6092
#zuul网关路由设置
#zuul网关路由设置
zuul
:
zuul
:
...
...
ehr-app/ehr-app-web/src/main/docker/Dockerfile
浏览文件 @
90ca1f11
...
@@ -9,6 +9,6 @@ CMD echo "The application will start in ${IBZ_SLEEP}s..." && \
...
@@ -9,6 +9,6 @@ CMD echo "The application will start in ${IBZ_SLEEP}s..." && \
sleep ${IBZ_SLEEP} && \
sleep ${IBZ_SLEEP} && \
java ${JAVA_OPTS} -Djava.security.egd=file:/dev/./urandom -jar /ehr-app-web.jar
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
ADD
ehr-app-web.jar /ehr-app-web.jar
ehr-app/ehr-app-web/src/main/docker/ehr-app-web.yaml
浏览文件 @
90ca1f11
...
@@ -3,9 +3,11 @@ services:
...
@@ -3,9 +3,11 @@ services:
ehr-app-web
:
ehr-app-web
:
image
:
registry.cn-shanghai.aliyuncs.com/ibizsys/ehr-app-web:latest
image
:
registry.cn-shanghai.aliyuncs.com/ibizsys/ehr-app-web:latest
ports
:
ports
:
-
"
8080:8080
"
-
"
6092:6092
"
networks
:
networks
:
-
agent_network
-
agent_network
environment
:
SPRING_CLOUD_NACOS_DISCOVERY_IP
:
172.16.240.110
deploy
:
deploy
:
mode
:
replicated
mode
:
replicated
replicas
:
1
replicas
:
1
...
...
ehr-app/ehr-app-web/src/main/resources/application-web-dev.yml
浏览文件 @
90ca1f11
server
:
server
:
port
:
8080
port
:
6092
\ No newline at end of file
\ No newline at end of file
ehr-app/ehr-app-web/src/main/resources/application-web-prod.yml
浏览文件 @
90ca1f11
server
:
server
:
port
:
8080
port
:
6092
#zuul网关路由设置
#zuul网关路由设置
zuul
:
zuul
:
...
...
ehr-core/src/main/resources/liquibase/h2_table.xml
浏览文件 @
90ca1f11
因为 它太大了无法显示 源差异 。您可以改为
查看blob
。
ehr-core/src/main/resources/liquibase/view.xml
浏览文件 @
90ca1f11
因为 它太大了无法显示 源差异 。您可以改为
查看blob
。
ehr-util/src/main/java/cn/ibizlab/ehr/util/job/PermissionSyncJob.java
浏览文件 @
90ca1f11
...
@@ -32,7 +32,7 @@ public class PermissionSyncJob implements ApplicationRunner {
...
@@ -32,7 +32,7 @@ public class PermissionSyncJob implements ApplicationRunner {
@Value
(
"${ibiz.enablePermissionValid:false}"
)
@Value
(
"${ibiz.enablePermissionValid:false}"
)
boolean
enablePermissionValid
;
//是否开启权限校验
boolean
enablePermissionValid
;
//是否开启权限校验
@Value
(
"${ibiz.systemid:
2C40DFCD-0DF5-47BF-91A5-C45F810B0001
}"
)
@Value
(
"${ibiz.systemid:
1A92486F-D8D6-42F7-BD14-426751088CC5
}"
)
private
String
systemId
;
private
String
systemId
;
@Override
@Override
...
...
ehr-util/src/main/resources/application-sys.yml
浏览文件 @
90ca1f11
...
@@ -3,7 +3,7 @@ spring:
...
@@ -3,7 +3,7 @@ spring:
cloud
:
cloud
:
nacos
:
nacos
:
discovery
:
discovery
:
server-addr
:
172.16.
102.211
:8848
server-addr
:
172.16.
240.110
:8848
cache
:
cache
:
redis
:
redis
:
time-to-live
:
3600
time-to-live
:
3600
...
@@ -20,6 +20,32 @@ spring:
...
@@ -20,6 +20,32 @@ spring:
max-wait
:
300ms
max-wait
:
300ms
max-idle
:
16
max-idle
:
16
min-idle
:
8
min-idle
:
8
datasource
:
username
:
BPMEHR
password
:
'
sys'
url
:
jdbc:oracle:thin:@172.16.170.71:1521:localorcl
driver-class-name
:
oracle.jdbc.driver.OracleDriver
filters
:
stat,wall,log4j2
#配置初始化大小/最小/最大
initial-size
:
1
min-idle
:
1
max-active
:
20
#获取连接等待超时时间
max-wait
:
60000
#间隔多久进行一次检测,检测需要关闭的空闲连接
time-between-eviction-runs-millis
:
60000
#一个连接在池中最小生存的时间
min-evictable-idle-time-millis
:
300000
validation-query
:
SELECT 1 FROM DUAL
test-while-idle
:
true
test-on-borrow
:
false
test-on-return
:
false
#打开PSCache,并指定每个连接上PSCache的大小。oracle设为true,mysql设为false。分库分表较多推荐设置为false
pool-prepared-statements
:
false
max-pool-prepared-statement-per-connection-size
:
20
isSyncDBSchema
:
false
defaultSchema
:
BPMEHR
conf
:
classpath:liquibase/master.xml
#Mybatis-plus配置
#Mybatis-plus配置
mybatis-plus
:
mybatis-plus
:
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录