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{
width: 100vh;
height: 100vh;
> img{
width: 100vw;
height: 100vh;
}
.login-logo{
position: fixed;
left: 80px;
top: 80px;
}
.login-content{
position: fixed;
left: 10%;
top: 30%;
width: 60%;
>span{
color: #fff;
font-size: 84px;
}
}
// background-image: url('../assets/images/login_bg.jpg');
background-size: cover;
background-position: center;
position: relative;
&-con{
position: fixed;
right: 160px;
top: 50%;
transform: translateY(-60%);
width: 300px;
.ivu-card-head {
padding: 14px 6px;
>p{
line-height: 20px;
font-size: 14px;
color: #17233d;
font-weight: 700;
}
}
&-header{
font-size: 16px;
font-weight: 300;
...
...
app_EHRPim/src/components/login/login.vue
浏览文件 @
90ca1f11
<
template
>
<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'
>
<card
:bordered=
"false"
>
<p
slot=
'title'
>
...
...
@@ -62,15 +55,7 @@ export default class Login extends Vue {
* @type {*}
* @memberof Login
*/
public
form
:
any
=
{
loginname
:
'guest'
,
password
:
'guest'
};
/**
* 应用标题
*
* @type {string}
* @memberof Login
*/
public
appTitle
:
string
=
Environment
.
AppTitle
;
public
form
:
any
=
{
loginname
:
null
,
password
:
null
};
/**
* 值规则
...
...
@@ -133,12 +118,8 @@ export default class Login extends Vue {
post
.
then
((
response
:
any
)
=>
{
if
(
response
&&
response
.
status
===
200
)
{
const
data
=
response
.
data
;
if
(
data
&&
data
.
token
){
localStorage
.
setItem
(
'token'
,
data
.
token
);
}
if
(
data
&&
data
.
user
){
localStorage
.
setItem
(
'user'
,
JSON
.
stringify
(
data
.
user
));
}
localStorage
.
setItem
(
'token'
,
data
.
token
);
localStorage
.
setItem
(
'user'
,
JSON
.
stringify
(
data
.
user
));
const
url
:
any
=
this
.
$route
.
query
.
redirect
?
this
.
$route
.
query
.
redirect
:
'*'
;
this
.
$router
.
push
({
path
:
url
});
}
...
...
app_EHRPim/src/crm-core/components/app-layout/app-layout.less
浏览文件 @
90ca1f11
...
...
@@ -154,8 +154,7 @@ body {
.dashboard{
padding: 8px;
}
.portlet-card, .portlet-container{
// .portlet-container{
.portlet-container{
background: #efefef;
}
.portlet-container::after{
...
...
app_EHRPim/src/mock/entity/pimeducations/pimeducations.ts
浏览文件 @
90ca1f11
...
...
@@ -4,12 +4,12 @@ const mock = MockAdapter.getInstance();
// 模拟数据
const
mockDatas
:
Array
<
any
>
=
[
{
"sxzy"
:
null
,
"jlczz"
:
null
,
"ygbh"
:
null
,
"ormorgsectorid"
:
null
,
"bz"
:
null
,
"reason"
:
null
,
"xl"
:
null
,
"xkml"
:
null
,
"jymc"
:
null
,
"jssj"
:
null
,
"ormorgid"
:
null
,
"bdwgznx"
:
null
,
"createdate"
:
"2020-05-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
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
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
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
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
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"
:
"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
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
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
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
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
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 {
}
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/pimarchives/getdraft`
,
isloading
);
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
+
'_pimarchiveschanges'
,
JSON
.
stringify
(
res
.
data
.
pimarchiveschanges
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimarchivesrecords'
,
JSON
.
stringify
(
res
.
data
.
pimarchivesrecords
));
return
res
;
}
...
...
@@ -105,6 +105,21 @@ export default class PIMARCHIVESServiceBase extends EntityService {
return
Http
.
getInstance
().
post
(
`/pimpeople/
${
context
.
pimperson
}
/pimarchives/
${
context
.
pimarchives
}
/save`
,
data
,
isloading
);
}
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
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimarchivesloanandreturns'
),
'undefined'
)){
pimarchivesloanandreturnsData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimarchivesloanandreturns'
)
as
any
);
...
...
@@ -135,26 +150,11 @@ export default class PIMARCHIVESServiceBase extends EntityService {
}
}
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
);
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
+
'_pimarchiveschanges'
,
JSON
.
stringify
(
res
.
data
.
pimarchiveschanges
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimarchivesrecords'
,
JSON
.
stringify
(
res
.
data
.
pimarchivesrecords
));
return
res
;
}
...
...
@@ -172,9 +172,9 @@ export default class PIMARCHIVESServiceBase extends EntityService {
return
Http
.
getInstance
().
get
(
`/pimpeople/
${
context
.
pimperson
}
/pimarchives/
${
context
.
pimarchives
}
`
,
isloading
);
}
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/pimarchives/
${
context
.
pimarchives
}
`
,
isloading
);
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimarchivesrecords'
,
JSON
.
stringify
(
res
.
data
.
pimarchivesrecords
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimarchivesloanandreturns'
,
JSON
.
stringify
(
res
.
data
.
pimarchivesloanandreturns
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimarchiveschanges'
,
JSON
.
stringify
(
res
.
data
.
pimarchiveschanges
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimarchivesrecords'
,
JSON
.
stringify
(
res
.
data
.
pimarchivesrecords
));
return
res
;
}
...
...
@@ -193,6 +193,21 @@ export default class PIMARCHIVESServiceBase extends EntityService {
return
Http
.
getInstance
().
put
(
`/pimpeople/
${
context
.
pimperson
}
/pimarchives/
${
context
.
pimarchives
}
`
,
data
,
isloading
);
}
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
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimarchivesloanandreturns'
),
'undefined'
)){
pimarchivesloanandreturnsData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimarchivesloanandreturns'
)
as
any
);
...
...
@@ -223,26 +238,11 @@ export default class PIMARCHIVESServiceBase extends EntityService {
}
}
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
);
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
+
'_pimarchiveschanges'
,
JSON
.
stringify
(
res
.
data
.
pimarchiveschanges
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimarchivesrecords'
,
JSON
.
stringify
(
res
.
data
.
pimarchivesrecords
));
return
res
;
}
...
...
@@ -282,6 +282,21 @@ export default class PIMARCHIVESServiceBase extends EntityService {
return
Http
.
getInstance
().
post
(
`/pimpeople/
${
context
.
pimperson
}
/pimarchives`
,
data
,
isloading
);
}
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
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimarchivesloanandreturns'
),
'undefined'
)){
pimarchivesloanandreturnsData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimarchivesloanandreturns'
)
as
any
);
...
...
@@ -312,21 +327,6 @@ export default class PIMARCHIVESServiceBase extends EntityService {
}
}
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
);
if
(
!
data
.
srffrontuf
||
data
.
srffrontuf
!==
"1"
){
data
[
this
.
APPDEKEY
]
=
null
;
...
...
@@ -336,9 +336,9 @@ export default class PIMARCHIVESServiceBase extends EntityService {
}
let
tempContext
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
context
));
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/pimarchives`
,
data
,
isloading
);
this
.
tempStorage
.
setItem
(
tempContext
.
srfsessionkey
+
'_pimarchivesrecords'
,
JSON
.
stringify
(
res
.
data
.
pimarchivesrecords
));
this
.
tempStorage
.
setItem
(
tempContext
.
srfsessionkey
+
'_pimarchivesloanandreturns'
,
JSON
.
stringify
(
res
.
data
.
pimarchivesloanandreturns
));
this
.
tempStorage
.
setItem
(
tempContext
.
srfsessionkey
+
'_pimarchiveschanges'
,
JSON
.
stringify
(
res
.
data
.
pimarchiveschanges
));
this
.
tempStorage
.
setItem
(
tempContext
.
srfsessionkey
+
'_pimarchivesrecords'
,
JSON
.
stringify
(
res
.
data
.
pimarchivesrecords
));
return
res
;
}
...
...
app_EHRPim/src/service/pimperson/pimperson-service-base.ts
浏览文件 @
90ca1f11
...
...
@@ -80,36 +80,21 @@ export default class PIMPERSONServiceBase extends EntityService {
}
}
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
)
=>
{
let
pimdistirbutionsData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimdistirbutions'
),
'undefined'
)){
pimdistirbutionsData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimdistirbutions'
)
as
any
);
if
(
pimdistirbutionsData
&&
pimdistirbutionsData
.
length
&&
pimdistirbutionsData
.
length
>
0
){
pimdistirbutionsData
.
forEach
((
item
:
any
)
=>
{
if
(
item
.
srffrontuf
){
if
(
Object
.
is
(
item
.
srffrontuf
,
"0"
)){
item
.
pim
personchange
id
=
null
;
item
.
pim
distirbution
id
=
null
;
}
delete
item
.
srffrontuf
;
}
});
}
}
masterData
.
pim
personchanges
=
pimpersonchange
sData
;
masterData
.
pim
distirbutions
=
pimdistirbution
sData
;
let
pimtitlesData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimtitles'
),
'undefined'
)){
pimtitlesData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimtitles'
)
as
any
);
...
...
@@ -125,36 +110,6 @@ export default class PIMPERSONServiceBase extends EntityService {
}
}
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
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimfaminfos'
),
'undefined'
)){
pimfaminfosData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimfaminfos'
)
as
any
);
...
...
@@ -170,36 +125,21 @@ export default class PIMPERSONServiceBase extends EntityService {
}
}
masterData
.
pimfaminfos
=
pimfaminfosData
;
let
pimdistirbutionsData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimdistirbutions'
),
'undefined'
)){
pimdistirbutionsData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimdistirbutions'
)
as
any
);
if
(
pimdistirbutionsData
&&
pimdistirbutionsData
.
length
&&
pimdistirbutionsData
.
length
>
0
){
pimdistirbutionsData
.
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
)
=>
{
let
pimresearchfindingsData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimresearchfindings'
),
'undefined'
)){
pimresearchfindingsData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimresearchfindings'
)
as
any
);
if
(
pimresearchfindingsData
&&
pimresearchfindingsData
.
length
&&
pimresearchfindingsData
.
length
>
0
){
pimresearchfindingsData
.
forEach
((
item
:
any
)
=>
{
if
(
item
.
srffrontuf
){
if
(
Object
.
is
(
item
.
srffrontuf
,
"0"
)){
item
.
pim
armycadre
sid
=
null
;
item
.
pim
researchfinding
sid
=
null
;
}
delete
item
.
srffrontuf
;
}
});
}
}
masterData
.
pim
armycadres
=
pimarmycadre
sData
;
masterData
.
pim
researchfindings
=
pimresearchfinding
sData
;
let
pimworkhistoriesData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimworkhistories'
),
'undefined'
)){
pimworkhistoriesData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimworkhistories'
)
as
any
);
...
...
@@ -215,36 +155,21 @@ export default class PIMPERSONServiceBase extends EntityService {
}
}
masterData
.
pimworkhistories
=
pimworkhistoriesData
;
let
pimpatentsData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimpatents'
),
'undefined'
)){
pimpatentsData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimpatents'
)
as
any
);
if
(
pimpatentsData
&&
pimpatentsData
.
length
&&
pimpatentsData
.
length
>
0
){
pimpatentsData
.
forEach
((
item
:
any
)
=>
{
if
(
item
.
srffrontuf
){
if
(
Object
.
is
(
item
.
srffrontuf
,
"0"
)){
item
.
pimpatentid
=
null
;
}
delete
item
.
srffrontuf
;
}
});
}
}
masterData
.
pimpatents
=
pimpatentsData
;
let
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
)
=>
{
let
pimvocationalsData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimvocationals'
),
'undefined'
)){
pimvocationalsData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimvocationals'
)
as
any
);
if
(
pimvocationalsData
&&
pimvocationalsData
.
length
&&
pimvocationalsData
.
length
>
0
){
pimvocationalsData
.
forEach
((
item
:
any
)
=>
{
if
(
item
.
srffrontuf
){
if
(
Object
.
is
(
item
.
srffrontuf
,
"0"
)){
item
.
pimv
acation
id
=
null
;
item
.
pimv
ocational
id
=
null
;
}
delete
item
.
srffrontuf
;
}
});
}
}
masterData
.
pimv
acations
=
pimvacation
sData
;
masterData
.
pimv
ocationals
=
pimvocational
sData
;
let
pimarchivesData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimarchives'
),
'undefined'
)){
pimarchivesData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimarchives'
)
as
any
);
...
...
@@ -305,21 +230,36 @@ export default class PIMPERSONServiceBase extends EntityService {
}
}
masterData
.
pimpapers
=
pimpapersData
;
let
pim
researchfinding
sData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pim
researchfinding
s'
),
'undefined'
)){
pim
researchfindingsData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimresearchfinding
s'
)
as
any
);
if
(
pim
researchfindingsData
&&
pimresearchfindingsData
.
length
&&
pimresearchfinding
sData
.
length
>
0
){
pim
researchfinding
sData
.
forEach
((
item
:
any
)
=>
{
let
pim
personchange
sData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pim
personchange
s'
),
'undefined'
)){
pim
personchangesData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimpersonchange
s'
)
as
any
);
if
(
pim
personchangesData
&&
pimpersonchangesData
.
length
&&
pimpersonchange
sData
.
length
>
0
){
pim
personchange
sData
.
forEach
((
item
:
any
)
=>
{
if
(
item
.
srffrontuf
){
if
(
Object
.
is
(
item
.
srffrontuf
,
"0"
)){
item
.
pim
researchfindings
id
=
null
;
item
.
pim
personchange
id
=
null
;
}
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
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimrewardpunishments'
),
'undefined'
)){
pimrewardpunishmentsData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimrewardpunishments'
)
as
any
);
...
...
@@ -335,36 +275,36 @@ export default class PIMPERSONServiceBase extends EntityService {
}
}
masterData
.
pimrewardpunishments
=
pimrewardpunishmentsData
;
let
pim
vocational
sData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pim
vocational
s'
),
'undefined'
)){
pim
vocationalsData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimvocational
s'
)
as
any
);
if
(
pim
vocationalsData
&&
pimvocationalsData
.
length
&&
pimvocational
sData
.
length
>
0
){
pim
vocational
sData
.
forEach
((
item
:
any
)
=>
{
let
pim
armycadre
sData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pim
armycadre
s'
),
'undefined'
)){
pim
armycadresData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimarmycadre
s'
)
as
any
);
if
(
pim
armycadresData
&&
pimarmycadresData
.
length
&&
pimarmycadre
sData
.
length
>
0
){
pim
armycadre
sData
.
forEach
((
item
:
any
)
=>
{
if
(
item
.
srffrontuf
){
if
(
Object
.
is
(
item
.
srffrontuf
,
"0"
)){
item
.
pim
vocational
id
=
null
;
item
.
pim
armycadres
id
=
null
;
}
delete
item
.
srffrontuf
;
}
});
}
}
masterData
.
pim
vocationals
=
pimvocational
sData
;
let
pim
languageabilitie
sData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pim
languageabilitie
s'
),
'undefined'
)){
pim
languageabilitiesData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimlanguageabilitie
s'
)
as
any
);
if
(
pim
languageabilitiesData
&&
pimlanguageabilitiesData
.
length
&&
pimlanguageabilitie
sData
.
length
>
0
){
pim
languageabilitie
sData
.
forEach
((
item
:
any
)
=>
{
masterData
.
pim
armycadres
=
pimarmycadre
sData
;
let
pim
patent
sData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pim
patent
s'
),
'undefined'
)){
pim
patentsData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimpatent
s'
)
as
any
);
if
(
pim
patentsData
&&
pimpatentsData
.
length
&&
pimpatent
sData
.
length
>
0
){
pim
patent
sData
.
forEach
((
item
:
any
)
=>
{
if
(
item
.
srffrontuf
){
if
(
Object
.
is
(
item
.
srffrontuf
,
"0"
)){
item
.
pim
languageability
id
=
null
;
item
.
pim
patent
id
=
null
;
}
delete
item
.
srffrontuf
;
}
});
}
}
masterData
.
pim
languageabilities
=
pimlanguageabilitie
sData
;
masterData
.
pim
patents
=
pimpatent
sData
;
let
pimcontractsData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimcontracts'
),
'undefined'
)){
pimcontractsData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimcontracts'
)
as
any
);
...
...
@@ -380,29 +320,89 @@ export default class PIMPERSONServiceBase extends EntityService {
}
}
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
);
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
+
'_pimeducations'
,
JSON
.
stringify
(
res
.
data
.
pimeducations
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimpersonchanges'
,
JSON
.
stringify
(
res
.
data
.
pimpersonchanges
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimdistirbutions'
,
JSON
.
stringify
(
res
.
data
.
pimdistirbutions
));
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
+
'_pimdistirbutions'
,
JSON
.
stringify
(
res
.
data
.
pimdistirbutions
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimarmycadres'
,
JSON
.
stringify
(
res
.
data
.
pimarmycadres
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimresearchfindings'
,
JSON
.
stringify
(
res
.
data
.
pimresearchfindings
));
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
+
'_pimvacations'
,
JSON
.
stringify
(
res
.
data
.
pimvacations
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimvocationals'
,
JSON
.
stringify
(
res
.
data
.
pimvocationals
));
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
+
'_pimachievements'
,
JSON
.
stringify
(
res
.
data
.
pimachievements
));
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
+
'_pim
vocationals'
,
JSON
.
stringify
(
res
.
data
.
pimvocational
s
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pim
languageabilities'
,
JSON
.
stringify
(
res
.
data
.
pimlanguageabilitie
s
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pim
armycadres'
,
JSON
.
stringify
(
res
.
data
.
pimarmycadre
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
+
'_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
;
}
...
...
@@ -444,26 +444,26 @@ export default class PIMPERSONServiceBase extends EntityService {
public
async
Get
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/pimpeople/
${
context
.
pimperson
}
`
,
isloading
);
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_attendancemreportmxes'
,
JSON
.
stringify
(
res
.
data
.
attendancemreportmxes
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimeducations'
,
JSON
.
stringify
(
res
.
data
.
pimeducations
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimpersonchanges'
,
JSON
.
stringify
(
res
.
data
.
pimpersonchanges
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimdistirbutions'
,
JSON
.
stringify
(
res
.
data
.
pimdistirbutions
));
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
+
'_pimdistirbutions'
,
JSON
.
stringify
(
res
.
data
.
pimdistirbutions
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimarmycadres'
,
JSON
.
stringify
(
res
.
data
.
pimarmycadres
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimresearchfindings'
,
JSON
.
stringify
(
res
.
data
.
pimresearchfindings
));
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
+
'_pimvacations'
,
JSON
.
stringify
(
res
.
data
.
pimvacations
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimvocationals'
,
JSON
.
stringify
(
res
.
data
.
pimvocationals
));
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
+
'_pimachievements'
,
JSON
.
stringify
(
res
.
data
.
pimachievements
));
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
+
'_pim
vocationals'
,
JSON
.
stringify
(
res
.
data
.
pimvocational
s
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pim
languageabilities'
,
JSON
.
stringify
(
res
.
data
.
pimlanguageabilitie
s
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pim
armycadres'
,
JSON
.
stringify
(
res
.
data
.
pimarmycadre
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
+
'_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
;
}
...
...
@@ -520,36 +520,21 @@ export default class PIMPERSONServiceBase extends EntityService {
}
}
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
)
=>
{
let
pimdistirbutionsData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimdistirbutions'
),
'undefined'
)){
pimdistirbutionsData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimdistirbutions'
)
as
any
);
if
(
pimdistirbutionsData
&&
pimdistirbutionsData
.
length
&&
pimdistirbutionsData
.
length
>
0
){
pimdistirbutionsData
.
forEach
((
item
:
any
)
=>
{
if
(
item
.
srffrontuf
){
if
(
Object
.
is
(
item
.
srffrontuf
,
"0"
)){
item
.
pim
personchange
id
=
null
;
item
.
pim
distirbution
id
=
null
;
}
delete
item
.
srffrontuf
;
}
});
}
}
masterData
.
pim
personchanges
=
pimpersonchange
sData
;
masterData
.
pim
distirbutions
=
pimdistirbution
sData
;
let
pimtitlesData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimtitles'
),
'undefined'
)){
pimtitlesData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimtitles'
)
as
any
);
...
...
@@ -565,36 +550,6 @@ export default class PIMPERSONServiceBase extends EntityService {
}
}
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
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimfaminfos'
),
'undefined'
)){
pimfaminfosData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimfaminfos'
)
as
any
);
...
...
@@ -610,36 +565,21 @@ export default class PIMPERSONServiceBase extends EntityService {
}
}
masterData
.
pimfaminfos
=
pimfaminfosData
;
let
pimdistirbutionsData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimdistirbutions'
),
'undefined'
)){
pimdistirbutionsData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimdistirbutions'
)
as
any
);
if
(
pimdistirbutionsData
&&
pimdistirbutionsData
.
length
&&
pimdistirbutionsData
.
length
>
0
){
pimdistirbutionsData
.
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
)
=>
{
let
pimresearchfindingsData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimresearchfindings'
),
'undefined'
)){
pimresearchfindingsData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimresearchfindings'
)
as
any
);
if
(
pimresearchfindingsData
&&
pimresearchfindingsData
.
length
&&
pimresearchfindingsData
.
length
>
0
){
pimresearchfindingsData
.
forEach
((
item
:
any
)
=>
{
if
(
item
.
srffrontuf
){
if
(
Object
.
is
(
item
.
srffrontuf
,
"0"
)){
item
.
pim
armycadre
sid
=
null
;
item
.
pim
researchfinding
sid
=
null
;
}
delete
item
.
srffrontuf
;
}
});
}
}
masterData
.
pim
armycadres
=
pimarmycadre
sData
;
masterData
.
pim
researchfindings
=
pimresearchfinding
sData
;
let
pimworkhistoriesData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimworkhistories'
),
'undefined'
)){
pimworkhistoriesData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimworkhistories'
)
as
any
);
...
...
@@ -655,36 +595,21 @@ export default class PIMPERSONServiceBase extends EntityService {
}
}
masterData
.
pimworkhistories
=
pimworkhistoriesData
;
let
pimpatentsData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimpatents'
),
'undefined'
)){
pimpatentsData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimpatents'
)
as
any
);
if
(
pimpatentsData
&&
pimpatentsData
.
length
&&
pimpatentsData
.
length
>
0
){
pimpatentsData
.
forEach
((
item
:
any
)
=>
{
if
(
item
.
srffrontuf
){
if
(
Object
.
is
(
item
.
srffrontuf
,
"0"
)){
item
.
pimpatentid
=
null
;
}
delete
item
.
srffrontuf
;
}
});
}
}
masterData
.
pimpatents
=
pimpatentsData
;
let
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
)
=>
{
let
pimvocationalsData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimvocationals'
),
'undefined'
)){
pimvocationalsData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimvocationals'
)
as
any
);
if
(
pimvocationalsData
&&
pimvocationalsData
.
length
&&
pimvocationalsData
.
length
>
0
){
pimvocationalsData
.
forEach
((
item
:
any
)
=>
{
if
(
item
.
srffrontuf
){
if
(
Object
.
is
(
item
.
srffrontuf
,
"0"
)){
item
.
pimv
acation
id
=
null
;
item
.
pimv
ocational
id
=
null
;
}
delete
item
.
srffrontuf
;
}
});
}
}
masterData
.
pimv
acations
=
pimvacation
sData
;
masterData
.
pimv
ocationals
=
pimvocational
sData
;
let
pimarchivesData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimarchives'
),
'undefined'
)){
pimarchivesData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimarchives'
)
as
any
);
...
...
@@ -745,21 +670,36 @@ export default class PIMPERSONServiceBase extends EntityService {
}
}
masterData
.
pimpapers
=
pimpapersData
;
let
pim
researchfinding
sData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pim
researchfinding
s'
),
'undefined'
)){
pim
researchfindingsData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimresearchfinding
s'
)
as
any
);
if
(
pim
researchfindingsData
&&
pimresearchfindingsData
.
length
&&
pimresearchfinding
sData
.
length
>
0
){
pim
researchfinding
sData
.
forEach
((
item
:
any
)
=>
{
let
pim
personchange
sData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pim
personchange
s'
),
'undefined'
)){
pim
personchangesData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimpersonchange
s'
)
as
any
);
if
(
pim
personchangesData
&&
pimpersonchangesData
.
length
&&
pimpersonchange
sData
.
length
>
0
){
pim
personchange
sData
.
forEach
((
item
:
any
)
=>
{
if
(
item
.
srffrontuf
){
if
(
Object
.
is
(
item
.
srffrontuf
,
"0"
)){
item
.
pim
researchfindings
id
=
null
;
item
.
pim
personchange
id
=
null
;
}
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
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimrewardpunishments'
),
'undefined'
)){
pimrewardpunishmentsData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimrewardpunishments'
)
as
any
);
...
...
@@ -775,36 +715,36 @@ export default class PIMPERSONServiceBase extends EntityService {
}
}
masterData
.
pimrewardpunishments
=
pimrewardpunishmentsData
;
let
pim
vocational
sData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pim
vocational
s'
),
'undefined'
)){
pim
vocationalsData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimvocational
s'
)
as
any
);
if
(
pim
vocationalsData
&&
pimvocationalsData
.
length
&&
pimvocational
sData
.
length
>
0
){
pim
vocational
sData
.
forEach
((
item
:
any
)
=>
{
let
pim
armycadre
sData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pim
armycadre
s'
),
'undefined'
)){
pim
armycadresData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimarmycadre
s'
)
as
any
);
if
(
pim
armycadresData
&&
pimarmycadresData
.
length
&&
pimarmycadre
sData
.
length
>
0
){
pim
armycadre
sData
.
forEach
((
item
:
any
)
=>
{
if
(
item
.
srffrontuf
){
if
(
Object
.
is
(
item
.
srffrontuf
,
"0"
)){
item
.
pim
vocational
id
=
null
;
item
.
pim
armycadres
id
=
null
;
}
delete
item
.
srffrontuf
;
}
});
}
}
masterData
.
pim
vocationals
=
pimvocational
sData
;
let
pim
languageabilitie
sData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pim
languageabilitie
s'
),
'undefined'
)){
pim
languageabilitiesData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimlanguageabilitie
s'
)
as
any
);
if
(
pim
languageabilitiesData
&&
pimlanguageabilitiesData
.
length
&&
pimlanguageabilitie
sData
.
length
>
0
){
pim
languageabilitie
sData
.
forEach
((
item
:
any
)
=>
{
masterData
.
pim
armycadres
=
pimarmycadre
sData
;
let
pim
patent
sData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pim
patent
s'
),
'undefined'
)){
pim
patentsData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimpatent
s'
)
as
any
);
if
(
pim
patentsData
&&
pimpatentsData
.
length
&&
pimpatent
sData
.
length
>
0
){
pim
patent
sData
.
forEach
((
item
:
any
)
=>
{
if
(
item
.
srffrontuf
){
if
(
Object
.
is
(
item
.
srffrontuf
,
"0"
)){
item
.
pim
languageability
id
=
null
;
item
.
pim
patent
id
=
null
;
}
delete
item
.
srffrontuf
;
}
});
}
}
masterData
.
pim
languageabilities
=
pimlanguageabilitie
sData
;
masterData
.
pim
patents
=
pimpatent
sData
;
let
pimcontractsData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimcontracts'
),
'undefined'
)){
pimcontractsData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimcontracts'
)
as
any
);
...
...
@@ -820,6 +760,66 @@ export default class PIMPERSONServiceBase extends EntityService {
}
}
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
);
if
(
!
data
.
srffrontuf
||
data
.
srffrontuf
!==
"1"
){
data
[
this
.
APPDEKEY
]
=
null
;
...
...
@@ -830,26 +830,26 @@ export default class PIMPERSONServiceBase extends EntityService {
let
tempContext
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
context
));
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/pimpeople`
,
data
,
isloading
);
this
.
tempStorage
.
setItem
(
tempContext
.
srfsessionkey
+
'_attendancemreportmxes'
,
JSON
.
stringify
(
res
.
data
.
attendancemreportmxes
));
this
.
tempStorage
.
setItem
(
tempContext
.
srfsessionkey
+
'_pimeducations'
,
JSON
.
stringify
(
res
.
data
.
pimeducations
));
this
.
tempStorage
.
setItem
(
tempContext
.
srfsessionkey
+
'_pimpersonchanges'
,
JSON
.
stringify
(
res
.
data
.
pimpersonchanges
));
this
.
tempStorage
.
setItem
(
tempContext
.
srfsessionkey
+
'_pimdistirbutions'
,
JSON
.
stringify
(
res
.
data
.
pimdistirbutions
));
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
+
'_pimdistirbutions'
,
JSON
.
stringify
(
res
.
data
.
pimdistirbutions
));
this
.
tempStorage
.
setItem
(
tempContext
.
srfsessionkey
+
'_pimarmycadres'
,
JSON
.
stringify
(
res
.
data
.
pimarmycadres
));
this
.
tempStorage
.
setItem
(
tempContext
.
srfsessionkey
+
'_pimresearchfindings'
,
JSON
.
stringify
(
res
.
data
.
pimresearchfindings
));
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
+
'_pimvacations'
,
JSON
.
stringify
(
res
.
data
.
pimvacations
));
this
.
tempStorage
.
setItem
(
tempContext
.
srfsessionkey
+
'_pimvocationals'
,
JSON
.
stringify
(
res
.
data
.
pimvocationals
));
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
+
'_pimachievements'
,
JSON
.
stringify
(
res
.
data
.
pimachievements
));
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
+
'_pim
vocationals'
,
JSON
.
stringify
(
res
.
data
.
pimvocational
s
));
this
.
tempStorage
.
setItem
(
tempContext
.
srfsessionkey
+
'_pim
languageabilities'
,
JSON
.
stringify
(
res
.
data
.
pimlanguageabilitie
s
));
this
.
tempStorage
.
setItem
(
tempContext
.
srfsessionkey
+
'_pim
armycadres'
,
JSON
.
stringify
(
res
.
data
.
pimarmycadre
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
+
'_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
;
}
...
...
@@ -864,96 +864,51 @@ export default class PIMPERSONServiceBase extends EntityService {
*/
public
async
Save
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
masterData
:
any
=
{};
let
attendancemreportmxesData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_attendancemreportmxes'
),
'undefined'
)){
attendancemreportmxesData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_attendancemreportmxes'
)
as
any
);
if
(
attendancemreportmxesData
&&
attendancemreportmxesData
.
length
&&
attendancemreportmxesData
.
length
>
0
){
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
)
=>
{
let
attendancemreportmxesData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_attendancemreportmxes'
),
'undefined'
)){
attendancemreportmxesData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_attendancemreportmxes'
)
as
any
);
if
(
attendancemreportmxesData
&&
attendancemreportmxesData
.
length
&&
attendancemreportmxesData
.
length
>
0
){
attendancemreportmxesData
.
forEach
((
item
:
any
)
=>
{
if
(
item
.
srffrontuf
){
if
(
Object
.
is
(
item
.
srffrontuf
,
"0"
)){
item
.
pimtitle
id
=
null
;
item
.
attendancemreportmx
id
=
null
;
}
delete
item
.
srffrontuf
;
}
});
}
}
masterData
.
pimtitles
=
pimtitl
esData
;
let
pim
personabilitie
sData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pim
personabilitie
s'
),
'undefined'
)){
pim
personabilitiesData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimpersonabilitie
s'
)
as
any
);
if
(
pim
personabilitiesData
&&
pimpersonabilitiesData
.
length
&&
pimpersonabilitie
sData
.
length
>
0
){
pim
personabilitie
sData
.
forEach
((
item
:
any
)
=>
{
masterData
.
attendancemreportmxes
=
attendancemreportmx
esData
;
let
pim
distirbution
sData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pim
distirbution
s'
),
'undefined'
)){
pim
distirbutionsData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimdistirbution
s'
)
as
any
);
if
(
pim
distirbutionsData
&&
pimdistirbutionsData
.
length
&&
pimdistirbution
sData
.
length
>
0
){
pim
distirbution
sData
.
forEach
((
item
:
any
)
=>
{
if
(
item
.
srffrontuf
){
if
(
Object
.
is
(
item
.
srffrontuf
,
"0"
)){
item
.
pim
personability
id
=
null
;
item
.
pim
distirbution
id
=
null
;
}
delete
item
.
srffrontuf
;
}
});
}
}
masterData
.
pim
personabilities
=
pimpersonabilitie
sData
;
let
pim
exitandentri
esData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pim
exitandentri
es'
),
'undefined'
)){
pim
exitandentriesData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimexitandentri
es'
)
as
any
);
if
(
pim
exitandentriesData
&&
pimexitandentriesData
.
length
&&
pimexitandentri
esData
.
length
>
0
){
pim
exitandentri
esData
.
forEach
((
item
:
any
)
=>
{
masterData
.
pim
distirbutions
=
pimdistirbution
sData
;
let
pim
titl
esData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pim
titl
es'
),
'undefined'
)){
pim
titlesData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimtitl
es'
)
as
any
);
if
(
pim
titlesData
&&
pimtitlesData
.
length
&&
pimtitl
esData
.
length
>
0
){
pim
titl
esData
.
forEach
((
item
:
any
)
=>
{
if
(
item
.
srffrontuf
){
if
(
Object
.
is
(
item
.
srffrontuf
,
"0"
)){
item
.
pim
exitandentry
id
=
null
;
item
.
pim
title
id
=
null
;
}
delete
item
.
srffrontuf
;
}
});
}
}
masterData
.
pim
exitandentries
=
pimexitandentri
esData
;
masterData
.
pim
titles
=
pimtitl
esData
;
let
pimfaminfosData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimfaminfos'
),
'undefined'
)){
pimfaminfosData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimfaminfos'
)
as
any
);
...
...
@@ -969,36 +924,21 @@ export default class PIMPERSONServiceBase extends EntityService {
}
}
masterData
.
pimfaminfos
=
pimfaminfosData
;
let
pimdistirbutionsData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimdistirbutions'
),
'undefined'
)){
pimdistirbutionsData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimdistirbutions'
)
as
any
);
if
(
pimdistirbutionsData
&&
pimdistirbutionsData
.
length
&&
pimdistirbutionsData
.
length
>
0
){
pimdistirbutionsData
.
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
)
=>
{
let
pimresearchfindingsData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimresearchfindings'
),
'undefined'
)){
pimresearchfindingsData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimresearchfindings'
)
as
any
);
if
(
pimresearchfindingsData
&&
pimresearchfindingsData
.
length
&&
pimresearchfindingsData
.
length
>
0
){
pimresearchfindingsData
.
forEach
((
item
:
any
)
=>
{
if
(
item
.
srffrontuf
){
if
(
Object
.
is
(
item
.
srffrontuf
,
"0"
)){
item
.
pim
armycadre
sid
=
null
;
item
.
pim
researchfinding
sid
=
null
;
}
delete
item
.
srffrontuf
;
}
});
}
}
masterData
.
pim
armycadres
=
pimarmycadre
sData
;
masterData
.
pim
researchfindings
=
pimresearchfinding
sData
;
let
pimworkhistoriesData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimworkhistories'
),
'undefined'
)){
pimworkhistoriesData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimworkhistories'
)
as
any
);
...
...
@@ -1014,36 +954,21 @@ export default class PIMPERSONServiceBase extends EntityService {
}
}
masterData
.
pimworkhistories
=
pimworkhistoriesData
;
let
pimpatentsData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimpatents'
),
'undefined'
)){
pimpatentsData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimpatents'
)
as
any
);
if
(
pimpatentsData
&&
pimpatentsData
.
length
&&
pimpatentsData
.
length
>
0
){
pimpatentsData
.
forEach
((
item
:
any
)
=>
{
if
(
item
.
srffrontuf
){
if
(
Object
.
is
(
item
.
srffrontuf
,
"0"
)){
item
.
pimpatentid
=
null
;
}
delete
item
.
srffrontuf
;
}
});
}
}
masterData
.
pimpatents
=
pimpatentsData
;
let
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
)
=>
{
let
pimvocationalsData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimvocationals'
),
'undefined'
)){
pimvocationalsData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimvocationals'
)
as
any
);
if
(
pimvocationalsData
&&
pimvocationalsData
.
length
&&
pimvocationalsData
.
length
>
0
){
pimvocationalsData
.
forEach
((
item
:
any
)
=>
{
if
(
item
.
srffrontuf
){
if
(
Object
.
is
(
item
.
srffrontuf
,
"0"
)){
item
.
pimv
acation
id
=
null
;
item
.
pimv
ocational
id
=
null
;
}
delete
item
.
srffrontuf
;
}
});
}
}
masterData
.
pimv
acations
=
pimvacation
sData
;
masterData
.
pimv
ocationals
=
pimvocational
sData
;
let
pimarchivesData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimarchives'
),
'undefined'
)){
pimarchivesData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimarchives'
)
as
any
);
...
...
@@ -1104,21 +1029,36 @@ export default class PIMPERSONServiceBase extends EntityService {
}
}
masterData
.
pimpapers
=
pimpapersData
;
let
pim
researchfinding
sData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pim
researchfinding
s'
),
'undefined'
)){
pim
researchfindingsData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimresearchfinding
s'
)
as
any
);
if
(
pim
researchfindingsData
&&
pimresearchfindingsData
.
length
&&
pimresearchfinding
sData
.
length
>
0
){
pim
researchfinding
sData
.
forEach
((
item
:
any
)
=>
{
let
pim
personchange
sData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pim
personchange
s'
),
'undefined'
)){
pim
personchangesData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimpersonchange
s'
)
as
any
);
if
(
pim
personchangesData
&&
pimpersonchangesData
.
length
&&
pimpersonchange
sData
.
length
>
0
){
pim
personchange
sData
.
forEach
((
item
:
any
)
=>
{
if
(
item
.
srffrontuf
){
if
(
Object
.
is
(
item
.
srffrontuf
,
"0"
)){
item
.
pim
researchfindings
id
=
null
;
item
.
pim
personchange
id
=
null
;
}
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
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimrewardpunishments'
),
'undefined'
)){
pimrewardpunishmentsData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimrewardpunishments'
)
as
any
);
...
...
@@ -1134,36 +1074,36 @@ export default class PIMPERSONServiceBase extends EntityService {
}
}
masterData
.
pimrewardpunishments
=
pimrewardpunishmentsData
;
let
pim
vocational
sData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pim
vocational
s'
),
'undefined'
)){
pim
vocationalsData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimvocational
s'
)
as
any
);
if
(
pim
vocationalsData
&&
pimvocationalsData
.
length
&&
pimvocational
sData
.
length
>
0
){
pim
vocational
sData
.
forEach
((
item
:
any
)
=>
{
let
pim
armycadre
sData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pim
armycadre
s'
),
'undefined'
)){
pim
armycadresData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimarmycadre
s'
)
as
any
);
if
(
pim
armycadresData
&&
pimarmycadresData
.
length
&&
pimarmycadre
sData
.
length
>
0
){
pim
armycadre
sData
.
forEach
((
item
:
any
)
=>
{
if
(
item
.
srffrontuf
){
if
(
Object
.
is
(
item
.
srffrontuf
,
"0"
)){
item
.
pim
vocational
id
=
null
;
item
.
pim
armycadres
id
=
null
;
}
delete
item
.
srffrontuf
;
}
});
}
}
masterData
.
pim
vocationals
=
pimvocational
sData
;
let
pim
languageabilitie
sData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pim
languageabilitie
s'
),
'undefined'
)){
pim
languageabilitiesData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimlanguageabilitie
s'
)
as
any
);
if
(
pim
languageabilitiesData
&&
pimlanguageabilitiesData
.
length
&&
pimlanguageabilitie
sData
.
length
>
0
){
pim
languageabilitie
sData
.
forEach
((
item
:
any
)
=>
{
masterData
.
pim
armycadres
=
pimarmycadre
sData
;
let
pim
patent
sData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pim
patent
s'
),
'undefined'
)){
pim
patentsData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimpatent
s'
)
as
any
);
if
(
pim
patentsData
&&
pimpatentsData
.
length
&&
pimpatent
sData
.
length
>
0
){
pim
patent
sData
.
forEach
((
item
:
any
)
=>
{
if
(
item
.
srffrontuf
){
if
(
Object
.
is
(
item
.
srffrontuf
,
"0"
)){
item
.
pim
languageability
id
=
null
;
item
.
pim
patent
id
=
null
;
}
delete
item
.
srffrontuf
;
}
});
}
}
masterData
.
pim
languageabilities
=
pimlanguageabilitie
sData
;
masterData
.
pim
patents
=
pimpatent
sData
;
let
pimcontractsData
:
any
=
[];
if
(
!
Object
.
is
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimcontracts'
),
'undefined'
)){
pimcontractsData
=
JSON
.
parse
(
this
.
tempStorage
.
getItem
(
context
.
srfsessionkey
+
'_pimcontracts'
)
as
any
);
...
...
@@ -1179,29 +1119,89 @@ export default class PIMPERSONServiceBase extends EntityService {
}
}
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
);
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
+
'_pimeducations'
,
JSON
.
stringify
(
res
.
data
.
pimeducations
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimpersonchanges'
,
JSON
.
stringify
(
res
.
data
.
pimpersonchanges
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimdistirbutions'
,
JSON
.
stringify
(
res
.
data
.
pimdistirbutions
));
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
+
'_pimdistirbutions'
,
JSON
.
stringify
(
res
.
data
.
pimdistirbutions
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimarmycadres'
,
JSON
.
stringify
(
res
.
data
.
pimarmycadres
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimresearchfindings'
,
JSON
.
stringify
(
res
.
data
.
pimresearchfindings
));
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
+
'_pimvacations'
,
JSON
.
stringify
(
res
.
data
.
pimvacations
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimvocationals'
,
JSON
.
stringify
(
res
.
data
.
pimvocationals
));
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
+
'_pimachievements'
,
JSON
.
stringify
(
res
.
data
.
pimachievements
));
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
+
'_pim
vocationals'
,
JSON
.
stringify
(
res
.
data
.
pimvocational
s
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pim
languageabilities'
,
JSON
.
stringify
(
res
.
data
.
pimlanguageabilitie
s
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pim
armycadres'
,
JSON
.
stringify
(
res
.
data
.
pimarmycadre
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
+
'_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
;
}
...
...
@@ -1286,26 +1286,26 @@ export default class PIMPERSONServiceBase extends EntityService {
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/pimpeople/getdraft`
,
isloading
);
res
.
data
.
pimperson
=
data
.
pimperson
;
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
+
'_pimpersonchanges'
,
JSON
.
stringify
(
res
.
data
.
pimpersonchanges
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimdistirbutions'
,
JSON
.
stringify
(
res
.
data
.
pimdistirbutions
));
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
+
'_pimdistirbutions'
,
JSON
.
stringify
(
res
.
data
.
pimdistirbutions
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimarmycadres'
,
JSON
.
stringify
(
res
.
data
.
pimarmycadres
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimresearchfindings'
,
JSON
.
stringify
(
res
.
data
.
pimresearchfindings
));
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
+
'_pimvacations'
,
JSON
.
stringify
(
res
.
data
.
pimvacations
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pimvocationals'
,
JSON
.
stringify
(
res
.
data
.
pimvocationals
));
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
+
'_pimachievements'
,
JSON
.
stringify
(
res
.
data
.
pimachievements
));
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
+
'_pim
vocationals'
,
JSON
.
stringify
(
res
.
data
.
pimvocational
s
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pim
languageabilities'
,
JSON
.
stringify
(
res
.
data
.
pimlanguageabilitie
s
));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_pim
armycadres'
,
JSON
.
stringify
(
res
.
data
.
pimarmycadre
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
+
'_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
;
}
...
...
app_EHRPim/src/user-register.ts
浏览文件 @
90ca1f11
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
=
{
install
(
v
:
any
,
opt
:
any
)
{
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 @@
<row
v-if=
"!isHasCustomized"
>
<div
style =
''
>
<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>
<view
_db_sysportlet1
:viewState=
"viewState"
:viewparams=
"viewparams"
:context=
"context"
name=
"db_sysportlet1"
ref=
'db_sysportlet1'
@
closeview=
"closeView($event)"
>
</view
_db_sysportlet1
>
<view
_db_sysportlet1
:viewState=
"viewState"
:viewparams=
"viewparams"
:context=
"context"
name=
"db_sysportlet1"
ref=
'db_sysportlet1'
@
closeview=
"closeView($event)"
>
</view
_db_sysportlet1
>
</span>
</card>
</i-col>
<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>
<view
_db_sysportlet2
:viewState=
"viewState"
:viewparams=
"viewparams"
:context=
"context"
name=
"db_sysportlet2"
ref=
'db_sysportlet2'
@
closeview=
"closeView($event)"
>
</view
_db_sysportlet2
>
<view
_db_sysportlet2
:viewState=
"viewState"
:viewparams=
"viewparams"
:context=
"context"
name=
"db_sysportlet2"
ref=
'db_sysportlet2'
@
closeview=
"closeView($event)"
>
</view
_db_sysportlet2
>
</span>
</card>
</i-col>
<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>
<view
_db_sysportlet4
:viewState=
"viewState"
:viewparams=
"viewparams"
:context=
"context"
name=
"db_sysportlet4"
ref=
'db_sysportlet4'
@
closeview=
"closeView($event)"
>
</view
_db_sysportlet4
>
<view
_db_sysportlet4
:viewState=
"viewState"
:viewparams=
"viewparams"
:context=
"context"
name=
"db_sysportlet4"
ref=
'db_sysportlet4'
@
closeview=
"closeView($event)"
>
</view
_db_sysportlet4
>
</span>
</card>
</i-col>
<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>
<view
_db_sysportlet3
:viewState=
"viewState"
:viewparams=
"viewparams"
:context=
"context"
name=
"db_sysportlet3"
ref=
'db_sysportlet3'
@
closeview=
"closeView($event)"
>
</view
_db_sysportlet3
>
<view
_db_sysportlet3
:viewState=
"viewState"
:viewparams=
"viewparams"
:context=
"context"
name=
"db_sysportlet3"
ref=
'db_sysportlet3'
@
closeview=
"closeView($event)"
>
</view
_db_sysportlet3
>
</span>
</card>
</i-col>
<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>
<view
_db_sysportlet5
:viewState=
"viewState"
:viewparams=
"viewparams"
:context=
"context"
name=
"db_sysportlet5"
ref=
'db_sysportlet5'
@
closeview=
"closeView($event)"
>
</view
_db_sysportlet5
>
<view
_db_sysportlet5
:viewState=
"viewState"
:viewparams=
"viewparams"
:context=
"context"
name=
"db_sysportlet5"
ref=
'db_sysportlet5'
@
closeview=
"closeView($event)"
>
</view
_db_sysportlet5
>
</span>
</card>
</i-col>
...
...
app_EHRPim/src/widgets/pimvocational/org-voc-num-list-list/org-voc-num-list-list.less
浏览文件 @
90ca1f11
...
...
@@ -3,10 +3,6 @@
.app-list {
flex-grow: 1;
overflow-y: auto;
height: 100%;
>div{
height: 100%;
}
.app-list-item {
line-height: 34px;
}
...
...
config.xml
浏览文件 @
90ca1f11
...
...
@@ -38,6 +38,11 @@
git clone -b master $para2 ehr/
export NODE_OPTIONS=--max-old-space-size=4096
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>
</hudson.tasks.Shell>
</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..." && \
sleep ${IBZ_SLEEP} && \
java ${JAVA_OPTS} -Djava.security.egd=file:/dev/./urandom -jar /ehr-app-ehr.jar
EXPOSE
8080
EXPOSE
6092
ADD
ehr-app-ehr.jar /ehr-app-ehr.jar
ehr-app/ehr-app-ehr/src/main/docker/ehr-app-ehr.yaml
浏览文件 @
90ca1f11
...
...
@@ -3,9 +3,11 @@ services:
ehr-app-ehr
:
image
:
registry.cn-shanghai.aliyuncs.com/ibizsys/ehr-app-ehr:latest
ports
:
-
"
8080:8080
"
-
"
6092:6092
"
networks
:
-
agent_network
environment
:
SPRING_CLOUD_NACOS_DISCOVERY_IP
:
172.16.240.110
deploy
:
mode
:
replicated
replicas
:
1
...
...
ehr-app/ehr-app-ehr/src/main/resources/application-ehr-dev.yml
浏览文件 @
90ca1f11
server
:
port
:
8080
\ No newline at end of file
port
:
6092
\ No newline at end of file
ehr-app/ehr-app-ehr/src/main/resources/application-ehr-prod.yml
浏览文件 @
90ca1f11
server
:
port
:
8080
port
:
6092
#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..." && \
sleep ${IBZ_SLEEP} && \
java ${JAVA_OPTS} -Djava.security.egd=file:/dev/./urandom -jar /ehr-app-ehrapp.jar
EXPOSE
8080
EXPOSE
6092
ADD
ehr-app-ehrapp.jar /ehr-app-ehrapp.jar
ehr-app/ehr-app-ehrapp/src/main/docker/ehr-app-ehrapp.yaml
浏览文件 @
90ca1f11
...
...
@@ -3,9 +3,11 @@ services:
ehr-app-ehrapp
:
image
:
registry.cn-shanghai.aliyuncs.com/ibizsys/ehr-app-ehrapp:latest
ports
:
-
"
8080:8080
"
-
"
6092:6092
"
networks
:
-
agent_network
environment
:
SPRING_CLOUD_NACOS_DISCOVERY_IP
:
172.16.240.110
deploy
:
mode
:
replicated
replicas
:
1
...
...
ehr-app/ehr-app-ehrapp/src/main/resources/application-ehrapp-dev.yml
浏览文件 @
90ca1f11
server
:
port
:
8080
\ No newline at end of file
port
:
6092
\ No newline at end of file
ehr-app/ehr-app-ehrapp/src/main/resources/application-ehrapp-prod.yml
浏览文件 @
90ca1f11
server
:
port
:
8080
port
:
6092
#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..." && \
sleep ${IBZ_SLEEP} && \
java ${JAVA_OPTS} -Djava.security.egd=file:/dev/./urandom -jar /ehr-app-ehrhelp.jar
EXPOSE
8080
EXPOSE
6092
ADD
ehr-app-ehrhelp.jar /ehr-app-ehrhelp.jar
ehr-app/ehr-app-ehrhelp/src/main/docker/ehr-app-ehrhelp.yaml
浏览文件 @
90ca1f11
...
...
@@ -3,9 +3,11 @@ services:
ehr-app-ehrhelp
:
image
:
registry.cn-shanghai.aliyuncs.com/ibizsys/ehr-app-ehrhelp:latest
ports
:
-
"
8080:8080
"
-
"
6092:6092
"
networks
:
-
agent_network
environment
:
SPRING_CLOUD_NACOS_DISCOVERY_IP
:
172.16.240.110
deploy
:
mode
:
replicated
replicas
:
1
...
...
ehr-app/ehr-app-ehrhelp/src/main/resources/application-ehrhelp-dev.yml
浏览文件 @
90ca1f11
server
:
port
:
8080
\ No newline at end of file
port
:
6092
\ No newline at end of file
ehr-app/ehr-app-ehrhelp/src/main/resources/application-ehrhelp-prod.yml
浏览文件 @
90ca1f11
server
:
port
:
8080
port
:
6092
#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..." && \
sleep ${IBZ_SLEEP} && \
java ${JAVA_OPTS} -Djava.security.egd=file:/dev/./urandom -jar /ehr-app-ehrmob.jar
EXPOSE
8080
EXPOSE
6092
ADD
ehr-app-ehrmob.jar /ehr-app-ehrmob.jar
ehr-app/ehr-app-ehrmob/src/main/docker/ehr-app-ehrmob.yaml
浏览文件 @
90ca1f11
...
...
@@ -3,9 +3,11 @@ services:
ehr-app-ehrmob
:
image
:
registry.cn-shanghai.aliyuncs.com/ibizsys/ehr-app-ehrmob:latest
ports
:
-
"
8080:8080
"
-
"
6092:6092
"
networks
:
-
agent_network
environment
:
SPRING_CLOUD_NACOS_DISCOVERY_IP
:
172.16.240.110
deploy
:
mode
:
replicated
replicas
:
1
...
...
ehr-app/ehr-app-ehrmob/src/main/resources/application-ehrmob-dev.yml
浏览文件 @
90ca1f11
server
:
port
:
8080
\ No newline at end of file
port
:
6092
\ No newline at end of file
ehr-app/ehr-app-ehrmob/src/main/resources/application-ehrmob-prod.yml
浏览文件 @
90ca1f11
server
:
port
:
8080
port
:
6092
#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..." && \
sleep ${IBZ_SLEEP} && \
java ${JAVA_OPTS} -Djava.security.egd=file:/dev/./urandom -jar /ehr-app-ehrorm.jar
EXPOSE
8080
EXPOSE
6092
ADD
ehr-app-ehrorm.jar /ehr-app-ehrorm.jar
ehr-app/ehr-app-ehrorm/src/main/docker/ehr-app-ehrorm.yaml
浏览文件 @
90ca1f11
...
...
@@ -3,9 +3,11 @@ services:
ehr-app-ehrorm
:
image
:
registry.cn-shanghai.aliyuncs.com/ibizsys/ehr-app-ehrorm:latest
ports
:
-
"
8080:8080
"
-
"
6092:6092
"
networks
:
-
agent_network
environment
:
SPRING_CLOUD_NACOS_DISCOVERY_IP
:
172.16.240.110
deploy
:
mode
:
replicated
replicas
:
1
...
...
ehr-app/ehr-app-ehrorm/src/main/resources/application-ehrorm-dev.yml
浏览文件 @
90ca1f11
server
:
port
:
8080
\ No newline at end of file
port
:
6092
\ No newline at end of file
ehr-app/ehr-app-ehrorm/src/main/resources/application-ehrorm-prod.yml
浏览文件 @
90ca1f11
server
:
port
:
8080
port
:
6092
#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..." && \
sleep ${IBZ_SLEEP} && \
java ${JAVA_OPTS} -Djava.security.egd=file:/dev/./urandom -jar /ehr-app-ehrpcm.jar
EXPOSE
8080
EXPOSE
6092
ADD
ehr-app-ehrpcm.jar /ehr-app-ehrpcm.jar
ehr-app/ehr-app-ehrpcm/src/main/docker/ehr-app-ehrpcm.yaml
浏览文件 @
90ca1f11
...
...
@@ -3,9 +3,11 @@ services:
ehr-app-ehrpcm
:
image
:
registry.cn-shanghai.aliyuncs.com/ibizsys/ehr-app-ehrpcm:latest
ports
:
-
"
8080:8080
"
-
"
6092:6092
"
networks
:
-
agent_network
environment
:
SPRING_CLOUD_NACOS_DISCOVERY_IP
:
172.16.240.110
deploy
:
mode
:
replicated
replicas
:
1
...
...
ehr-app/ehr-app-ehrpcm/src/main/resources/application-ehrpcm-dev.yml
浏览文件 @
90ca1f11
server
:
port
:
8080
\ No newline at end of file
port
:
6092
\ No newline at end of file
ehr-app/ehr-app-ehrpcm/src/main/resources/application-ehrpcm-prod.yml
浏览文件 @
90ca1f11
server
:
port
:
8080
port
:
6092
#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..." && \
sleep ${IBZ_SLEEP} && \
java ${JAVA_OPTS} -Djava.security.egd=file:/dev/./urandom -jar /ehr-app-ehrpcm2.jar
EXPOSE
8080
EXPOSE
6092
ADD
ehr-app-ehrpcm2.jar /ehr-app-ehrpcm2.jar
ehr-app/ehr-app-ehrpcm2/src/main/docker/ehr-app-ehrpcm2.yaml
浏览文件 @
90ca1f11
...
...
@@ -3,9 +3,11 @@ services:
ehr-app-ehrpcm2
:
image
:
registry.cn-shanghai.aliyuncs.com/ibizsys/ehr-app-ehrpcm2:latest
ports
:
-
"
8080:8080
"
-
"
6092:6092
"
networks
:
-
agent_network
environment
:
SPRING_CLOUD_NACOS_DISCOVERY_IP
:
172.16.240.110
deploy
:
mode
:
replicated
replicas
:
1
...
...
ehr-app/ehr-app-ehrpcm2/src/main/resources/application-ehrpcm2-dev.yml
浏览文件 @
90ca1f11
server
:
port
:
8080
\ No newline at end of file
port
:
6092
\ No newline at end of file
ehr-app/ehr-app-ehrpcm2/src/main/resources/application-ehrpcm2-prod.yml
浏览文件 @
90ca1f11
server
:
port
:
8080
port
:
6092
#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..." && \
sleep ${IBZ_SLEEP} && \
java ${JAVA_OPTS} -Djava.security.egd=file:/dev/./urandom -jar /ehr-app-ehrpim.jar
EXPOSE
8080
EXPOSE
6092
ADD
ehr-app-ehrpim.jar /ehr-app-ehrpim.jar
ehr-app/ehr-app-ehrpim/src/main/docker/ehr-app-ehrpim.yaml
浏览文件 @
90ca1f11
...
...
@@ -3,9 +3,11 @@ services:
ehr-app-ehrpim
:
image
:
registry.cn-shanghai.aliyuncs.com/ibizsys/ehr-app-ehrpim:latest
ports
:
-
"
8080:8080
"
-
"
6092:6092
"
networks
:
-
agent_network
environment
:
SPRING_CLOUD_NACOS_DISCOVERY_IP
:
172.16.240.110
deploy
:
mode
:
replicated
replicas
:
1
...
...
ehr-app/ehr-app-ehrpim/src/main/resources/application-ehrpim-dev.yml
浏览文件 @
90ca1f11
server
:
port
:
8080
\ No newline at end of file
port
:
6092
\ No newline at end of file
ehr-app/ehr-app-ehrpim/src/main/resources/application-ehrpim-prod.yml
浏览文件 @
90ca1f11
server
:
port
:
8080
port
:
6092
#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..." && \
sleep ${IBZ_SLEEP} && \
java ${JAVA_OPTS} -Djava.security.egd=file:/dev/./urandom -jar /ehr-app-ehrweb.jar
EXPOSE
8080
EXPOSE
6092
ADD
ehr-app-ehrweb.jar /ehr-app-ehrweb.jar
ehr-app/ehr-app-ehrweb/src/main/docker/ehr-app-ehrweb.yaml
浏览文件 @
90ca1f11
...
...
@@ -3,9 +3,11 @@ services:
ehr-app-ehrweb
:
image
:
registry.cn-shanghai.aliyuncs.com/ibizsys/ehr-app-ehrweb:latest
ports
:
-
"
8080:8080
"
-
"
6092:6092
"
networks
:
-
agent_network
environment
:
SPRING_CLOUD_NACOS_DISCOVERY_IP
:
172.16.240.110
deploy
:
mode
:
replicated
replicas
:
1
...
...
ehr-app/ehr-app-ehrweb/src/main/resources/application-ehrweb-dev.yml
浏览文件 @
90ca1f11
server
:
port
:
8080
\ No newline at end of file
port
:
6092
\ No newline at end of file
ehr-app/ehr-app-ehrweb/src/main/resources/application-ehrweb-prod.yml
浏览文件 @
90ca1f11
server
:
port
:
8080
port
:
6092
#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..." && \
sleep ${IBZ_SLEEP} && \
java ${JAVA_OPTS} -Djava.security.egd=file:/dev/./urandom -jar /ehr-app-web.jar
EXPOSE
8080
EXPOSE
6092
ADD
ehr-app-web.jar /ehr-app-web.jar
ehr-app/ehr-app-web/src/main/docker/ehr-app-web.yaml
浏览文件 @
90ca1f11
...
...
@@ -3,9 +3,11 @@ services:
ehr-app-web
:
image
:
registry.cn-shanghai.aliyuncs.com/ibizsys/ehr-app-web:latest
ports
:
-
"
8080:8080
"
-
"
6092:6092
"
networks
:
-
agent_network
environment
:
SPRING_CLOUD_NACOS_DISCOVERY_IP
:
172.16.240.110
deploy
:
mode
:
replicated
replicas
:
1
...
...
ehr-app/ehr-app-web/src/main/resources/application-web-dev.yml
浏览文件 @
90ca1f11
server
:
port
:
8080
\ No newline at end of file
port
:
6092
\ No newline at end of file
ehr-app/ehr-app-web/src/main/resources/application-web-prod.yml
浏览文件 @
90ca1f11
server
:
port
:
8080
port
:
6092
#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 {
@Value
(
"${ibiz.enablePermissionValid:false}"
)
boolean
enablePermissionValid
;
//是否开启权限校验
@Value
(
"${ibiz.systemid:
2C40DFCD-0DF5-47BF-91A5-C45F810B0001
}"
)
@Value
(
"${ibiz.systemid:
1A92486F-D8D6-42F7-BD14-426751088CC5
}"
)
private
String
systemId
;
@Override
...
...
ehr-util/src/main/resources/application-sys.yml
浏览文件 @
90ca1f11
...
...
@@ -3,7 +3,7 @@ spring:
cloud
:
nacos
:
discovery
:
server-addr
:
172.16.
102.211
:8848
server-addr
:
172.16.
240.110
:8848
cache
:
redis
:
time-to-live
:
3600
...
...
@@ -20,6 +20,32 @@ spring:
max-wait
:
300ms
max-idle
:
16
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
:
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录