Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
iBiz人力资源
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
iBiz企业套件
iBiz人力资源
提交
e9534484
提交
e9534484
编写于
8月 12, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
jackwang 部署微服务应用
上级
ba9a55e4
变更
57
隐藏空白字符变更
内嵌
并排
正在显示
57 个修改的文件
包含
4971 行增加
和
171 行删除
+4971
-171
view-config.json
app_PIM/public/assets/json/view-config.json
+11
-11
hrcertificate_en_US.ts
...cale/lanres/entities/hrcertificate/hrcertificate_en_US.ts
+10
-10
hrcertificate_zh_CN.ts
...cale/lanres/entities/hrcertificate/hrcertificate_zh_CN.ts
+10
-10
hrtechnical-title_en_US.ts
...res/entities/hrtechnical-title/hrtechnical-title_en_US.ts
+1
-1
hrtechnical-title_zh_CN.ts
...res/entities/hrtechnical-title/hrtechnical-title_zh_CN.ts
+1
-1
viewconfig.ts
app_PIM/src/mock/viewconfig/viewconfig.ts
+11
-11
hrcertificate-grid-view-base.tsx
.../hrcertificate-grid-view/hrcertificate-grid-view-base.tsx
+1
-1
hrcertificate-grid-view.html
...urce/hrcertificate-grid-view/hrcertificate-grid-view.html
+1
-1
hrcertificate-grid-view.vue
...ource/hrcertificate-grid-view/hrcertificate-grid-view.vue
+1
-1
hrcertificate-tab-exp-view-base.tsx
...tificate-tab-exp-view/hrcertificate-tab-exp-view-base.tsx
+130
-0
hrcertificate-tab-exp-view.html
...rcertificate-tab-exp-view/hrcertificate-tab-exp-view.html
+10
-0
hrcertificate-tab-exp-view.vue
...hrcertificate-tab-exp-view/hrcertificate-tab-exp-view.vue
+22
-0
hrcertificate-v-001-base.tsx
...resource/hrcertificate-v-001/hrcertificate-v-001-base.tsx
+1
-1
hrcertificate-v-001.html
...man-resource/hrcertificate-v-001/hrcertificate-v-001.html
+1
-1
hrcertificate-v-001.vue
...uman-resource/hrcertificate-v-001/hrcertificate-v-001.vue
+1
-1
hrcertificate-v-003-base.tsx
...resource/hrcertificate-v-003/hrcertificate-v-003-base.tsx
+822
-0
hrcertificate-v-003.html
...man-resource/hrcertificate-v-003/hrcertificate-v-003.html
+49
-0
hrcertificate-v-003.vue
...uman-resource/hrcertificate-v-003/hrcertificate-v-003.vue
+24
-0
hrcertificate-v-004-base.tsx
...resource/hrcertificate-v-004/hrcertificate-v-004-base.tsx
+822
-0
hrcertificate-v-004.html
...man-resource/hrcertificate-v-004/hrcertificate-v-004.html
+49
-0
hrcertificate-v-004.vue
...uman-resource/hrcertificate-v-004/hrcertificate-v-004.vue
+24
-0
hrcertificate-v-006-base.tsx
...resource/hrcertificate-v-006/hrcertificate-v-006-base.tsx
+822
-0
hrcertificate-v-006.html
...man-resource/hrcertificate-v-006/hrcertificate-v-006.html
+49
-0
hrcertificate-v-006.vue
...uman-resource/hrcertificate-v-006/hrcertificate-v-006.vue
+24
-0
hrtechnical-title-grid-view-base.tsx
...ical-title-grid-view/hrtechnical-title-grid-view-base.tsx
+1
-1
hrtechnical-title-grid-view.html
...echnical-title-grid-view/hrtechnical-title-grid-view.html
+1
-1
hrtechnical-title-grid-view.vue
...technical-title-grid-view/hrtechnical-title-grid-view.vue
+1
-1
page-register.ts
app_PIM/src/pages/ungroup/pim/page-register.ts
+9
-5
router.ts
app_PIM/src/pages/ungroup/pim/router.ts
+223
-107
state.ts
app_PIM/src/store/modules/view-action/state.ts
+44
-1
pim-appmenu-base.tsx
app_PIM/src/widgets/app/pim-appmenu/pim-appmenu-base.tsx
+1
-1
pim-appmenu-model.ts
app_PIM/src/widgets/app/pim-appmenu/pim-appmenu-model.ts
+4
-4
tab-exp-viewtabexppanel-tabexppanel-base.tsx
...-tabexppanel/tab-exp-viewtabexppanel-tabexppanel-base.tsx
+96
-0
tab-exp-viewtabexppanel-tabexppanel-model.ts
...-tabexppanel/tab-exp-viewtabexppanel-tabexppanel-model.ts
+91
-0
tab-exp-viewtabexppanel-tabexppanel-service.ts
...abexppanel/tab-exp-viewtabexppanel-tabexppanel-service.ts
+45
-0
tab-exp-viewtabexppanel-tabexppanel.html
...anel-tabexppanel/tab-exp-viewtabexppanel-tabexppanel.html
+124
-0
tab-exp-viewtabexppanel-tabexppanel.vue
...panel-tabexppanel/tab-exp-viewtabexppanel-tabexppanel.vue
+30
-0
tab-exp-viewtabviewpanel-tabviewpanel-base.tsx
...bviewpanel/tab-exp-viewtabviewpanel-tabviewpanel-base.tsx
+215
-0
tab-exp-viewtabviewpanel-tabviewpanel-model.ts
...bviewpanel/tab-exp-viewtabviewpanel-tabviewpanel-model.ts
+91
-0
tab-exp-viewtabviewpanel-tabviewpanel-service.ts
...iewpanel/tab-exp-viewtabviewpanel-tabviewpanel-service.ts
+11
-0
tab-exp-viewtabviewpanel-tabviewpanel.html
...l-tabviewpanel/tab-exp-viewtabviewpanel-tabviewpanel.html
+12
-0
tab-exp-viewtabviewpanel-tabviewpanel.vue
...el-tabviewpanel/tab-exp-viewtabviewpanel-tabviewpanel.vue
+22
-0
tab-exp-viewtabviewpanel2-tabviewpanel-base.tsx
...viewpanel/tab-exp-viewtabviewpanel2-tabviewpanel-base.tsx
+215
-0
tab-exp-viewtabviewpanel2-tabviewpanel-model.ts
...viewpanel/tab-exp-viewtabviewpanel2-tabviewpanel-model.ts
+91
-0
tab-exp-viewtabviewpanel2-tabviewpanel-service.ts
...ewpanel/tab-exp-viewtabviewpanel2-tabviewpanel-service.ts
+11
-0
tab-exp-viewtabviewpanel2-tabviewpanel.html
...-tabviewpanel/tab-exp-viewtabviewpanel2-tabviewpanel.html
+12
-0
tab-exp-viewtabviewpanel2-tabviewpanel.vue
...2-tabviewpanel/tab-exp-viewtabviewpanel2-tabviewpanel.vue
+22
-0
tab-exp-viewtabviewpanel3-tabviewpanel-base.tsx
...viewpanel/tab-exp-viewtabviewpanel3-tabviewpanel-base.tsx
+215
-0
tab-exp-viewtabviewpanel3-tabviewpanel-model.ts
...viewpanel/tab-exp-viewtabviewpanel3-tabviewpanel-model.ts
+91
-0
tab-exp-viewtabviewpanel3-tabviewpanel-service.ts
...ewpanel/tab-exp-viewtabviewpanel3-tabviewpanel-service.ts
+11
-0
tab-exp-viewtabviewpanel3-tabviewpanel.html
...-tabviewpanel/tab-exp-viewtabviewpanel3-tabviewpanel.html
+12
-0
tab-exp-viewtabviewpanel3-tabviewpanel.vue
...3-tabviewpanel/tab-exp-viewtabviewpanel3-tabviewpanel.vue
+22
-0
tab-exp-viewtabviewpanel4-tabviewpanel-base.tsx
...viewpanel/tab-exp-viewtabviewpanel4-tabviewpanel-base.tsx
+215
-0
tab-exp-viewtabviewpanel4-tabviewpanel-model.ts
...viewpanel/tab-exp-viewtabviewpanel4-tabviewpanel-model.ts
+91
-0
tab-exp-viewtabviewpanel4-tabviewpanel-service.ts
...ewpanel/tab-exp-viewtabviewpanel4-tabviewpanel-service.ts
+11
-0
tab-exp-viewtabviewpanel4-tabviewpanel.html
...-tabviewpanel/tab-exp-viewtabviewpanel4-tabviewpanel.html
+12
-0
tab-exp-viewtabviewpanel4-tabviewpanel.vue
...4-tabviewpanel/tab-exp-viewtabviewpanel4-tabviewpanel.vue
+22
-0
未找到文件。
app_PIM/public/assets/json/view-config.json
浏览文件 @
e9534484
...
...
@@ -190,8 +190,8 @@
"memo"
:
"系统自动添加"
},
"hrcertificatev_001"
:
{
"title"
:
"证书
信息表格视图
"
,
"caption"
:
"证书
信息
"
,
"title"
:
"证书"
,
"caption"
:
"证书"
,
"viewtype"
:
"DEGRIDVIEW"
,
"viewmodule"
:
"HumanResource"
,
"viewname"
:
"HRCertificateV_001"
,
...
...
@@ -540,8 +540,8 @@
"memo"
:
"系统自动添加"
},
"hrcertificatev_003"
:
{
"title"
:
"证书
表格
"
,
"caption"
:
"证书
信息
"
,
"title"
:
"证书"
,
"caption"
:
"证书"
,
"viewtype"
:
"DEGRIDVIEW"
,
"viewmodule"
:
"HumanResource"
,
"viewname"
:
"HRCertificateV_003"
,
...
...
@@ -560,8 +560,8 @@
"memo"
:
"系统自动添加"
},
"hrcertificategridview"
:
{
"title"
:
"证书
表格
"
,
"caption"
:
"证书
信息
"
,
"title"
:
"证书"
,
"caption"
:
"证书"
,
"viewtype"
:
"DEGRIDVIEW"
,
"viewmodule"
:
"HumanResource"
,
"viewname"
:
"HRCertificateGridView"
,
...
...
@@ -620,8 +620,8 @@
"memo"
:
""
},
"hrcertificatev_006"
:
{
"title"
:
"证书
表格
"
,
"caption"
:
"证书
信息
"
,
"title"
:
"证书"
,
"caption"
:
"证书"
,
"viewtype"
:
"DEGRIDVIEW"
,
"viewmodule"
:
"HumanResource"
,
"viewname"
:
"HRCertificateV_006"
,
...
...
@@ -1240,7 +1240,7 @@
"memo"
:
"系统自动添加"
},
"hrtechnicaltitlegridview"
:
{
"title"
:
"职称
信息表格视图
"
,
"title"
:
"职称"
,
"caption"
:
"职称信息"
,
"viewtype"
:
"DEGRIDVIEW"
,
"viewmodule"
:
"HumanResource"
,
...
...
@@ -1420,8 +1420,8 @@
"memo"
:
""
},
"hrcertificatev_004"
:
{
"title"
:
"证书
表格
"
,
"caption"
:
"证书
信息
"
,
"title"
:
"证书"
,
"caption"
:
"证书"
,
"viewtype"
:
"DEGRIDVIEW"
,
"viewmodule"
:
"HumanResource"
,
"viewname"
:
"HRCertificateV_004"
,
...
...
app_PIM/src/locale/lanres/entities/hrcertificate/hrcertificate_en_US.ts
浏览文件 @
e9534484
...
...
@@ -27,8 +27,8 @@ export default {
},
views
:
{
v_001
:
{
caption
:
"证书
信息
"
,
title
:
"证书
信息表格视图
"
,
caption
:
"证书"
,
title
:
"证书"
,
},
tabexpview
:
{
caption
:
"证书"
,
...
...
@@ -39,24 +39,24 @@ export default {
title
:
"证书信息"
,
},
v_003
:
{
caption
:
"证书
信息
"
,
title
:
"证书
表格
"
,
caption
:
"证书"
,
title
:
"证书"
,
},
gridview
:
{
caption
:
"证书
信息
"
,
title
:
"证书
表格
"
,
caption
:
"证书"
,
title
:
"证书"
,
},
v_006
:
{
caption
:
"证书
信息
"
,
title
:
"证书
表格
"
,
caption
:
"证书"
,
title
:
"证书"
,
},
editview
:
{
caption
:
"证书信息"
,
title
:
"证书信息编辑视图"
,
},
v_004
:
{
caption
:
"证书
信息
"
,
title
:
"证书
表格
"
,
caption
:
"证书"
,
title
:
"证书"
,
},
},
main_form
:
{
...
...
app_PIM/src/locale/lanres/entities/hrcertificate/hrcertificate_zh_CN.ts
浏览文件 @
e9534484
...
...
@@ -26,8 +26,8 @@ export default {
},
views
:
{
v_001
:
{
caption
:
"证书
信息
"
,
title
:
"证书
信息表格视图
"
,
caption
:
"证书"
,
title
:
"证书"
,
},
tabexpview
:
{
caption
:
"证书"
,
...
...
@@ -38,24 +38,24 @@ export default {
title
:
"证书信息"
,
},
v_003
:
{
caption
:
"证书
信息
"
,
title
:
"证书
表格
"
,
caption
:
"证书"
,
title
:
"证书"
,
},
gridview
:
{
caption
:
"证书
信息
"
,
title
:
"证书
表格
"
,
caption
:
"证书"
,
title
:
"证书"
,
},
v_006
:
{
caption
:
"证书
信息
"
,
title
:
"证书
表格
"
,
caption
:
"证书"
,
title
:
"证书"
,
},
editview
:
{
caption
:
"证书信息"
,
title
:
"证书信息编辑视图"
,
},
v_004
:
{
caption
:
"证书
信息
"
,
title
:
"证书
表格
"
,
caption
:
"证书"
,
title
:
"证书"
,
},
},
main_form
:
{
...
...
app_PIM/src/locale/lanres/entities/hrtechnical-title/hrtechnical-title_en_US.ts
浏览文件 @
e9534484
...
...
@@ -34,7 +34,7 @@ export default {
},
gridview
:
{
caption
:
"职称信息"
,
title
:
"职称
信息表格视图
"
,
title
:
"职称"
,
},
v_002
:
{
caption
:
"职称信息"
,
...
...
app_PIM/src/locale/lanres/entities/hrtechnical-title/hrtechnical-title_zh_CN.ts
浏览文件 @
e9534484
...
...
@@ -33,7 +33,7 @@ export default {
},
gridview
:
{
caption
:
"职称信息"
,
title
:
"职称
信息表格视图
"
,
title
:
"职称"
,
},
v_002
:
{
caption
:
"职称信息"
,
...
...
app_PIM/src/mock/viewconfig/viewconfig.ts
浏览文件 @
e9534484
...
...
@@ -160,8 +160,8 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewtag"
:
"1316a3add8f01af03edf978ef21af6b1"
},
"hrcertificatev_001"
:
{
"title"
:
"证书
信息表格视图
"
,
"caption"
:
"证书
信息
"
,
"title"
:
"证书"
,
"caption"
:
"证书"
,
"viewtype"
:
"DEGRIDVIEW"
,
"viewmodule"
:
"HumanResource"
,
"viewname"
:
"HRCertificateV_001"
,
...
...
@@ -440,8 +440,8 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewtag"
:
"62468a4082892d924fe855427a8cd0cb"
},
"hrcertificatev_003"
:
{
"title"
:
"证书
表格
"
,
"caption"
:
"证书
信息
"
,
"title"
:
"证书"
,
"caption"
:
"证书"
,
"viewtype"
:
"DEGRIDVIEW"
,
"viewmodule"
:
"HumanResource"
,
"viewname"
:
"HRCertificateV_003"
,
...
...
@@ -456,8 +456,8 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewtag"
:
"6395cba44e6d6151f19e543b55d88845"
},
"hrcertificategridview"
:
{
"title"
:
"证书
表格
"
,
"caption"
:
"证书
信息
"
,
"title"
:
"证书"
,
"caption"
:
"证书"
,
"viewtype"
:
"DEGRIDVIEW"
,
"viewmodule"
:
"HumanResource"
,
"viewname"
:
"HRCertificateGridView"
,
...
...
@@ -504,8 +504,8 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewtag"
:
"6d4cab857af2830b37515c2015a40e5f"
},
"hrcertificatev_006"
:
{
"title"
:
"证书
表格
"
,
"caption"
:
"证书
信息
"
,
"title"
:
"证书"
,
"caption"
:
"证书"
,
"viewtype"
:
"DEGRIDVIEW"
,
"viewmodule"
:
"HumanResource"
,
"viewname"
:
"HRCertificateV_006"
,
...
...
@@ -1000,7 +1000,7 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewtag"
:
"d5b65e4ae9fc38e66c7faf5698dc6776"
},
"hrtechnicaltitlegridview"
:
{
"title"
:
"职称
信息表格视图
"
,
"title"
:
"职称"
,
"caption"
:
"职称信息"
,
"viewtype"
:
"DEGRIDVIEW"
,
"viewmodule"
:
"HumanResource"
,
...
...
@@ -1144,8 +1144,8 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewtag"
:
"fe6049b3cb31f7fee28824ad83f6221f"
},
"hrcertificatev_004"
:
{
"title"
:
"证书
表格
"
,
"caption"
:
"证书
信息
"
,
"title"
:
"证书"
,
"caption"
:
"证书"
,
"viewtype"
:
"DEGRIDVIEW"
,
"viewmodule"
:
"HumanResource"
,
"viewname"
:
"HRCertificateV_004"
,
...
...
app_PIM/src/pages/human-resource/hrcertificate-grid-view/hrcertificate-grid-view-base.tsx
浏览文件 @
e9534484
...
...
@@ -9,7 +9,7 @@ import CodeListService from "@service/app/codelist-service";
/**
* 证书
表格
视图基类
* 证书视图基类
*
* @export
* @class HRCertificateGridViewBase
...
...
app_PIM/src/pages/human-resource/hrcertificate-grid-view/hrcertificate-grid-view.html
浏览文件 @
e9534484
<studio-view-style2
viewName=
"hrcertificategridview"
viewTitle=
"证书
表格
"
class=
'degridview hrcertificate-grid-view'
>
<studio-view-style2
viewName=
"hrcertificategridview"
viewTitle=
"证书"
class=
'degridview hrcertificate-grid-view'
>
<i-input
slot=
"quickSearch"
v-show=
"!isExpandSearchForm"
v-model=
"query"
placeholder=
"证书名称"
search
@
on-search=
"onSearch($event)"
/>
<template
slot=
"toolbar"
>
<view-toolbar
mode=
"STYLE2"
:model=
"toolBarModels"
@
item-click=
"toolbar_click.apply(_self, arguments)"
/>
</template>
...
...
app_PIM/src/pages/human-resource/hrcertificate-grid-view/hrcertificate-grid-view.vue
浏览文件 @
e9534484
...
...
@@ -7,7 +7,7 @@ import view_grid from '@widgets/hrcertificate/main-grid/main-grid.vue';
import view_searchform from '@widgets/hrcertificate/default-searchform/default-searchform.vue';
/**
* 证书
表格
视图
* 证书视图
*
* @export
* @class HRCertificateGridView
...
...
app_PIM/src/pages/human-resource/hrcertificate-tab-exp-view/hrcertificate-tab-exp-view-base.tsx
0 → 100644
浏览文件 @
e9534484
import
{
Subject
}
from
'rxjs'
;
import
{
TabExpViewBase
}
from
'@/studio-core'
;
import
HRCertificateService
from
'@/service/hrcertificate/hrcertificate-service'
;
import
HRCertificateAuthService
from
'@/authservice/hrcertificate/hrcertificate-auth-service'
;
import
TabExpViewEngine
from
'@engine/view/tab-exp-view-engine'
;
import
HRCertificateUIService
from
'@/uiservice/hrcertificate/hrcertificate-ui-service'
;
/**
* 证书视图基类
*
* @export
* @class HRCertificateTabExpViewBase
* @extends {TabExpViewBase}
*/
export
class
HRCertificateTabExpViewBase
extends
TabExpViewBase
{
/**
* 视图对应应用实体名称
*
* @protected
* @type {string}
* @memberof HRCertificateTabExpViewBase
*/
protected
appDeName
:
string
=
'hrcertificate'
;
/**
* 应用实体主键
*
* @protected
* @type {string}
* @memberof HRCertificateTabExpViewBase
*/
protected
appDeKey
:
string
=
'hrcertificateid'
;
/**
* 应用实体主信息
*
* @protected
* @type {string}
* @memberof HRCertificateTabExpViewBase
*/
protected
appDeMajor
:
string
=
'hrcertificatename'
;
/**
* 实体服务对象
*
* @type {HRCertificateService}
* @memberof HRCertificateTabExpViewBase
*/
protected
appEntityService
:
HRCertificateService
=
new
HRCertificateService
;
/**
* 实体权限服务对象
*
* @type HRCertificateUIService
* @memberof HRCertificateTabExpViewBase
*/
public
appUIService
:
HRCertificateUIService
=
new
HRCertificateUIService
(
this
.
$store
);
/**
* 计数器服务对象集合
*
* @protected
* @type {Array<*>}
* @memberof HRCertificateTabExpViewBase
*/
protected
counterServiceArray
:
Array
<
any
>
=
[];
/**
* 视图模型数据
*
* @protected
* @type {*}
* @memberof HRCertificateTabExpViewBase
*/
protected
model
:
any
=
{
srfCaption
:
'entities.hrcertificate.views.tabexpview.caption'
,
srfTitle
:
'entities.hrcertificate.views.tabexpview.title'
,
srfSubTitle
:
'entities.hrcertificate.views.tabexpview.subtitle'
,
dataInfo
:
''
}
/**
* 容器模型
*
* @protected
* @type {*}
* @memberof HRCertificateTabExpViewBase
*/
protected
containerModel
:
any
=
{
view_tabexppanel
:
{
name
:
'tabexppanel'
,
type
:
'TABEXPPANEL'
},
};
/**
* 视图唯一标识
*
* @protected
* @type {string}
* @memberof ViewBase
*/
protected
viewtag
:
string
=
'1556b6299248ca949822a15645afc066'
;
/**
* 视图引擎
*
* @public
* @type {Engine}
* @memberof HRCertificateTabExpViewBase
*/
public
engine
:
TabExpViewEngine
=
new
TabExpViewEngine
();
/**
* 引擎初始化
*
* @public
* @memberof HRCertificateTabExpViewBase
*/
public
engineInit
():
void
{
this
.
engine
.
init
({
view
:
this
,
keyPSDEField
:
'hrcertificate'
,
majorPSDEField
:
'hrcertificatename'
,
isLoadDefault
:
true
,
});
}
}
\ No newline at end of file
app_PIM/src/pages/human-resource/hrcertificate-tab-exp-view/hrcertificate-tab-exp-view.html
0 → 100644
浏览文件 @
e9534484
<studio-view-style2
viewName=
"hrcertificatetabexpview"
viewTitle=
"证书"
class=
'detabexpview hrcertificate-tab-exp-view'
>
<view
_tabexppanel
:viewState=
"viewState"
:viewparams=
"viewparams"
:context=
"context"
name=
"tabexppanel"
ref=
'tabexppanel'
@
closeview=
"closeView($event)"
>
</view
_tabexppanel
>
</studio-view-style2>
\ No newline at end of file
app_PIM/src/pages/human-resource/hrcertificate-tab-exp-view/hrcertificate-tab-exp-view.vue
0 → 100644
浏览文件 @
e9534484
<
template
src=
"./hrcertificate-tab-exp-view.html"
/>
<script
lang=
'tsx'
>
import
{ Component } from 'vue-property-decorator';
import { VueLifeCycleProcessing } from '@/studio-core';
import { HRCertificateTabExpViewBase } from './hrcertificate-tab-exp-view-base';
import view_tabexppanel from '@widgets/hrcertificate/tab-exp-viewtabexppanel-tabexppanel/tab-exp-viewtabexppanel-tabexppanel.vue';
/**
* 证书视图
*
* @export
* @class HRCertificateTabExpView
* @extends {HRCertificateTabExpViewBase}
*/
@Component({
components: {
view_tabexppanel,
}
})
@VueLifeCycleProcessing()
export default class HRCertificateTabExpView extends HRCertificateTabExpViewBase { }
</script>
app_PIM/src/pages/human-resource/hrcertificate-v-001/hrcertificate-v-001-base.tsx
浏览文件 @
e9534484
...
...
@@ -9,7 +9,7 @@ import CodeListService from "@service/app/codelist-service";
/**
* 证书
信息表格视图
视图基类
* 证书视图基类
*
* @export
* @class HRCertificateV_001Base
...
...
app_PIM/src/pages/human-resource/hrcertificate-v-001/hrcertificate-v-001.html
浏览文件 @
e9534484
<studio-view-style2
viewName=
"hrcertificatev_001"
viewTitle=
"证书
信息表格视图
"
class=
'degridview hrcertificate-v-001'
>
<studio-view-style2
viewName=
"hrcertificatev_001"
viewTitle=
"证书"
class=
'degridview hrcertificate-v-001'
>
<i-input
slot=
"quickSearch"
v-show=
"!isExpandSearchForm"
v-model=
"query"
placeholder=
"证书名称"
search
@
on-search=
"onSearch($event)"
/>
<template
slot=
"toolbar"
>
<view-toolbar
mode=
"STYLE2"
:model=
"toolBarModels"
@
item-click=
"toolbar_click.apply(_self, arguments)"
/>
</template>
...
...
app_PIM/src/pages/human-resource/hrcertificate-v-001/hrcertificate-v-001.vue
浏览文件 @
e9534484
...
...
@@ -7,7 +7,7 @@ import view_grid from '@widgets/hrcertificate/grid-001-grid/grid-001-grid.vue';
import view_searchform from '@widgets/hrcertificate/default-searchform/default-searchform.vue';
/**
* 证书
信息表格视图
视图
* 证书视图
*
* @export
* @class HRCertificateV_001
...
...
app_PIM/src/pages/human-resource/hrcertificate-v-003/hrcertificate-v-003-base.tsx
0 → 100644
浏览文件 @
e9534484
import
{
Subject
}
from
'rxjs'
;
import
{
GridViewBase
}
from
'@/studio-core'
;
import
HRCertificateService
from
'@/service/hrcertificate/hrcertificate-service'
;
import
HRCertificateAuthService
from
'@/authservice/hrcertificate/hrcertificate-auth-service'
;
import
GridViewEngine
from
'@engine/view/grid-view-engine'
;
import
HRCertificateUIService
from
'@/uiservice/hrcertificate/hrcertificate-ui-service'
;
import
CodeListService
from
"@service/app/codelist-service"
;
/**
* 证书视图基类
*
* @export
* @class HRCertificateV_003Base
* @extends {GridViewBase}
*/
export
class
HRCertificateV_003Base
extends
GridViewBase
{
/**
* 视图对应应用实体名称
*
* @protected
* @type {string}
* @memberof HRCertificateV_003Base
*/
protected
appDeName
:
string
=
'hrcertificate'
;
/**
* 应用实体主键
*
* @protected
* @type {string}
* @memberof HRCertificateV_003Base
*/
protected
appDeKey
:
string
=
'hrcertificateid'
;
/**
* 应用实体主信息
*
* @protected
* @type {string}
* @memberof HRCertificateV_003Base
*/
protected
appDeMajor
:
string
=
'hrcertificatename'
;
/**
* 实体服务对象
*
* @type {HRCertificateService}
* @memberof HRCertificateV_003Base
*/
protected
appEntityService
:
HRCertificateService
=
new
HRCertificateService
;
/**
* 实体权限服务对象
*
* @type HRCertificateUIService
* @memberof HRCertificateV_003Base
*/
public
appUIService
:
HRCertificateUIService
=
new
HRCertificateUIService
(
this
.
$store
);
/**
* 计数器服务对象集合
*
* @protected
* @type {Array<*>}
* @memberof HRCertificateV_003Base
*/
protected
counterServiceArray
:
Array
<
any
>
=
[];
/**
* 视图模型数据
*
* @protected
* @type {*}
* @memberof HRCertificateV_003Base
*/
protected
model
:
any
=
{
srfCaption
:
'entities.hrcertificate.views.v_003.caption'
,
srfTitle
:
'entities.hrcertificate.views.v_003.title'
,
srfSubTitle
:
'entities.hrcertificate.views.v_003.subtitle'
,
dataInfo
:
''
}
/**
* 容器模型
*
* @protected
* @type {*}
* @memberof HRCertificateV_003Base
*/
protected
containerModel
:
any
=
{
view_toolbar
:
{
name
:
'toolbar'
,
type
:
'TOOLBAR'
},
view_grid
:
{
name
:
'grid'
,
type
:
'GRID'
},
view_searchform
:
{
name
:
'searchform'
,
type
:
'SEARCHFORM'
},
};
/**
* 工具栏模型
*
* @type {*}
* @memberof HRCertificateV_003
*/
public
toolBarModels
:
any
=
{
tbitem3
:
{
name
:
'tbitem3'
,
caption
:
'新建'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'新建'
,
iconcls
:
'fa fa-file-text-o'
,
icon
:
''
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
noprivdisplaymode
:
2
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'New'
,
target
:
''
,
class
:
''
}
},
tbitem4
:
{
name
:
'tbitem4'
,
caption
:
'编辑'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'编辑'
,
iconcls
:
'fa fa-edit'
,
icon
:
''
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
noprivdisplaymode
:
2
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'Edit'
,
target
:
'SINGLEKEY'
,
class
:
''
}
},
tbitem7
:
{
name
:
'tbitem7'
,
type
:
'SEPERATOR'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
}
},
tbitem8
:
{
name
:
'tbitem8'
,
caption
:
'删除'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'删除'
,
iconcls
:
'fa fa-remove'
,
icon
:
''
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
noprivdisplaymode
:
2
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'Remove'
,
target
:
'MULTIKEY'
,
class
:
''
}
},
tbitem9
:
{
name
:
'tbitem9'
,
type
:
'SEPERATOR'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
}
},
tbitem13
:
{
name
:
'tbitem13'
,
caption
:
'导出'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'导出'
,
iconcls
:
'fa fa-file-excel-o'
,
icon
:
''
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
noprivdisplaymode
:
2
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'ExportExcel'
,
target
:
''
},
MaxRowCount
:
1000
,
class
:
''
},
tbitem10
:
{
name
:
'tbitem10'
,
type
:
'SEPERATOR'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
}
},
tbitem19
:
{
name
:
'tbitem19'
,
caption
:
'过滤'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'过滤'
,
iconcls
:
'fa fa-filter'
,
icon
:
''
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
noprivdisplaymode
:
2
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'ToggleFilter'
,
target
:
''
,
class
:
''
}
},
};
/**
* 视图唯一标识
*
* @protected
* @type {string}
* @memberof ViewBase
*/
protected
viewtag
:
string
=
'632257149a8a208534a693b9cb46ab05'
;
/**
* 视图引擎
*
* @public
* @type {Engine}
* @memberof HRCertificateV_003Base
*/
public
engine
:
GridViewEngine
=
new
GridViewEngine
();
/**
* 引擎初始化
*
* @public
* @memberof HRCertificateV_003Base
*/
public
engineInit
():
void
{
this
.
engine
.
init
({
view
:
this
,
opendata
:
(
args
:
any
[],
fullargs
?:
any
[],
params
?:
any
,
$event
?:
any
,
xData
?:
any
)
=>
{
this
.
opendata
(
args
,
fullargs
,
params
,
$event
,
xData
);
},
newdata
:
(
args
:
any
[],
fullargs
?:
any
[],
params
?:
any
,
$event
?:
any
,
xData
?:
any
)
=>
{
this
.
newdata
(
args
,
fullargs
,
params
,
$event
,
xData
);
},
grid
:
this
.
$refs
.
grid
,
searchform
:
this
.
$refs
.
searchform
,
keyPSDEField
:
'hrcertificate'
,
majorPSDEField
:
'hrcertificatename'
,
isLoadDefault
:
true
,
});
}
/**
* toolbar 部件 click 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof HRCertificateV_003Base
*/
public
toolbar_click
(
$event
:
any
,
$event2
?:
any
):
void
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem3'
))
{
this
.
toolbar_tbitem3_click
(
null
,
''
,
$event2
);
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem4'
))
{
this
.
toolbar_tbitem4_click
(
null
,
''
,
$event2
);
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem24'
))
{
this
.
toolbar_tbitem24_click
(
null
,
''
,
$event2
);
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem25'
))
{
this
.
toolbar_tbitem25_click
(
null
,
''
,
$event2
);
}
if
(
Object
.
is
(
$event
.
tag
,
'deuiaction1'
))
{
this
.
toolbar_deuiaction1_click
(
null
,
''
,
$event2
);
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem8'
))
{
this
.
toolbar_tbitem8_click
(
null
,
''
,
$event2
);
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem13'
))
{
this
.
toolbar_tbitem13_click
(
null
,
''
,
$event2
);
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem11'
))
{
this
.
toolbar_tbitem11_click
(
null
,
''
,
$event2
);
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem19'
))
{
this
.
toolbar_tbitem19_click
(
null
,
''
,
$event2
);
}
}
/**
* grid 部件 selectionchange 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof HRCertificateV_003Base
*/
public
grid_selectionchange
(
$event
:
any
,
$event2
?:
any
):
void
{
this
.
engine
.
onCtrlEvent
(
'grid'
,
'selectionchange'
,
$event
);
}
/**
* grid 部件 beforeload 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof HRCertificateV_003Base
*/
public
grid_beforeload
(
$event
:
any
,
$event2
?:
any
):
void
{
this
.
engine
.
onCtrlEvent
(
'grid'
,
'beforeload'
,
$event
);
}
/**
* grid 部件 rowdblclick 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof HRCertificateV_003Base
*/
public
grid_rowdblclick
(
$event
:
any
,
$event2
?:
any
):
void
{
this
.
engine
.
onCtrlEvent
(
'grid'
,
'rowdblclick'
,
$event
);
}
/**
* grid 部件 remove 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof HRCertificateV_003Base
*/
public
grid_remove
(
$event
:
any
,
$event2
?:
any
):
void
{
this
.
engine
.
onCtrlEvent
(
'grid'
,
'remove'
,
$event
);
}
/**
* grid 部件 load 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof HRCertificateV_003Base
*/
public
grid_load
(
$event
:
any
,
$event2
?:
any
):
void
{
this
.
engine
.
onCtrlEvent
(
'grid'
,
'load'
,
$event
);
}
/**
* searchform 部件 save 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof HRCertificateV_003Base
*/
public
searchform_save
(
$event
:
any
,
$event2
?:
any
):
void
{
this
.
engine
.
onCtrlEvent
(
'searchform'
,
'save'
,
$event
);
}
/**
* searchform 部件 search 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof HRCertificateV_003Base
*/
public
searchform_search
(
$event
:
any
,
$event2
?:
any
):
void
{
this
.
engine
.
onCtrlEvent
(
'searchform'
,
'search'
,
$event
);
}
/**
* searchform 部件 load 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof HRCertificateV_003Base
*/
public
searchform_load
(
$event
:
any
,
$event2
?:
any
):
void
{
this
.
engine
.
onCtrlEvent
(
'searchform'
,
'load'
,
$event
);
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public
toolbar_tbitem3_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
// 参数
// 取数
let
datas
:
any
[]
=
[];
let
xData
:
any
=
null
;
// _this 指向容器对象
const
_this
:
any
=
this
;
let
paramJO
:
any
=
{};
let
contextJO
:
any
=
{};
xData
=
this
.
$refs
.
grid
;
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
this
.
New
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"HRCertificate"
);
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public
toolbar_tbitem4_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
// 参数
// 取数
let
datas
:
any
[]
=
[];
let
xData
:
any
=
null
;
// _this 指向容器对象
const
_this
:
any
=
this
;
let
paramJO
:
any
=
{};
let
contextJO
:
any
=
{};
xData
=
this
.
$refs
.
grid
;
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
this
.
Edit
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"HRCertificate"
);
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public
toolbar_tbitem24_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
// 参数
// 取数
let
datas
:
any
[]
=
[];
let
xData
:
any
=
null
;
// _this 指向容器对象
const
_this
:
any
=
this
;
let
paramJO
:
any
=
{};
let
contextJO
:
any
=
{};
xData
=
this
.
$refs
.
grid
;
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
this
.
ToggleRowEdit
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"HRCertificate"
);
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public
toolbar_tbitem25_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
// 参数
// 取数
let
datas
:
any
[]
=
[];
let
xData
:
any
=
null
;
// _this 指向容器对象
const
_this
:
any
=
this
;
let
paramJO
:
any
=
{};
let
contextJO
:
any
=
{};
xData
=
this
.
$refs
.
grid
;
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
this
.
NewRow
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"HRCertificate"
);
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public
toolbar_deuiaction1_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
// 参数
// 取数
let
datas
:
any
[]
=
[];
let
xData
:
any
=
null
;
// _this 指向容器对象
const
_this
:
any
=
this
;
let
paramJO
:
any
=
{};
let
contextJO
:
any
=
{};
xData
=
this
.
$refs
.
grid
;
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
this
.
SaveRow
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"HRCertificate"
);
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public
toolbar_tbitem8_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
// 参数
// 取数
let
datas
:
any
[]
=
[];
let
xData
:
any
=
null
;
// _this 指向容器对象
const
_this
:
any
=
this
;
let
paramJO
:
any
=
{};
let
contextJO
:
any
=
{};
xData
=
this
.
$refs
.
grid
;
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
this
.
Remove
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"HRCertificate"
);
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public
toolbar_tbitem13_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
// 参数
// 取数
let
datas
:
any
[]
=
[];
let
xData
:
any
=
null
;
// _this 指向容器对象
const
_this
:
any
=
this
;
let
paramJO
:
any
=
{};
let
contextJO
:
any
=
{};
xData
=
this
.
$refs
.
grid
;
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
this
.
ExportExcel
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"HRCertificate"
);
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public
toolbar_tbitem11_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
// 参数
// 取数
let
datas
:
any
[]
=
[];
let
xData
:
any
=
null
;
// _this 指向容器对象
const
_this
:
any
=
this
;
let
paramJO
:
any
=
{};
let
contextJO
:
any
=
{};
xData
=
this
.
$refs
.
grid
;
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
this
.
Print
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"HRCertificate"
);
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public
toolbar_tbitem19_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
// 参数
// 取数
let
datas
:
any
[]
=
[];
let
xData
:
any
=
null
;
// _this 指向容器对象
const
_this
:
any
=
this
;
let
paramJO
:
any
=
{};
let
contextJO
:
any
=
{};
xData
=
this
.
$refs
.
grid
;
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
this
.
ToggleFilter
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"HRCertificate"
);
}
/**
* 打开新建数据视图
*
* @param {any[]} args
* @param {*} [params]
* @param {*} [fullargs]
* @param {*} [$event]
* @param {*} [xData]
* @memberof HRCertificateV_003
*/
public
newdata
(
args
:
any
[],
fullargs
?:
any
[],
params
?:
any
,
$event
?:
any
,
xData
?:
any
)
{
let
localContext
:
any
=
null
;
let
localViewParam
:
any
=
null
;
const
data
:
any
=
{};
if
(
args
[
0
].
srfsourcekey
){
data
.
srfsourcekey
=
args
[
0
].
srfsourcekey
;
}
let
tempContext
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
context
));
delete
tempContext
.
hrcertificate
;
if
(
args
.
length
>
0
){
Object
.
assign
(
tempContext
,
args
[
0
]);
}
let
deResParameters
:
any
[]
=
[];
if
(
tempContext
.
hremployee
&&
true
){
deResParameters
=
[
{
pathName
:
'hremployees'
,
parameterName
:
'hremployee'
},
]
}
const
parameters
:
any
[]
=
[
{
pathName
:
'hrcertificates'
,
parameterName
:
'hrcertificate'
},
];
const
_this
:
any
=
this
;
const
openDrawer
=
(
view
:
any
,
data
:
any
)
=>
{
let
container
:
Subject
<
any
>
=
this
.
$appdrawer
.
openDrawer
(
view
,
tempContext
,
data
);
container
.
subscribe
((
result
:
any
)
=>
{
if
(
!
result
||
!
Object
.
is
(
result
.
ret
,
'OK'
))
{
return
;
}
if
(
!
xData
||
!
(
xData
.
refresh
instanceof
Function
))
{
return
;
}
xData
.
refresh
(
result
.
datas
);
});
}
const
view
:
any
=
{
viewname
:
'hrcertificate-v-002'
,
height
:
0
,
width
:
800
,
title
:
this
.
$t
(
'entities.hrcertificate.views.v_002.title'
),
placement
:
'DRAWER_RIGHT'
,
};
openDrawer
(
view
,
data
);
}
/**
* 打开编辑数据视图
*
* @param {any[]} args
* @param {*} [params]
* @param {*} [fullargs]
* @param {*} [$event]
* @param {*} [xData]
* @memberof HRCertificateV_003
*/
public
opendata
(
args
:
any
[],
fullargs
?:
any
[],
params
?:
any
,
$event
?:
any
,
xData
?:
any
)
{
const
localContext
:
any
=
null
;
const
localViewParam
:
any
=
null
;
const
data
:
any
=
{};
let
tempContext
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
context
));
if
(
args
.
length
>
0
){
Object
.
assign
(
tempContext
,
args
[
0
]);
}
let
deResParameters
:
any
[]
=
[];
if
(
tempContext
.
hremployee
&&
true
){
deResParameters
=
[
{
pathName
:
'hremployees'
,
parameterName
:
'hremployee'
},
]
}
const
parameters
:
any
[]
=
[
{
pathName
:
'hrcertificates'
,
parameterName
:
'hrcertificate'
},
];
const
_this
:
any
=
this
;
const
openDrawer
=
(
view
:
any
,
data
:
any
)
=>
{
let
container
:
Subject
<
any
>
=
this
.
$appdrawer
.
openDrawer
(
view
,
tempContext
,
data
);
container
.
subscribe
((
result
:
any
)
=>
{
if
(
!
result
||
!
Object
.
is
(
result
.
ret
,
'OK'
))
{
return
;
}
if
(
!
xData
||
!
(
xData
.
refresh
instanceof
Function
))
{
return
;
}
xData
.
refresh
(
result
.
datas
);
});
}
const
view
:
any
=
{
viewname
:
'hrcertificate-v-002'
,
height
:
0
,
width
:
800
,
title
:
this
.
$t
(
'entities.hrcertificate.views.v_002.title'
),
placement
:
'DRAWER_RIGHT'
,
};
openDrawer
(
view
,
data
);
}
/**
* 新建
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof HRCertificateV_003Base
*/
public
New
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
const
_this
:
any
=
this
;
if
(
_this
.
newdata
&&
_this
.
newdata
instanceof
Function
)
{
const
data
:
any
=
{};
_this
.
newdata
([{
...
data
}],[{
...
data
}],
params
,
$event
,
xData
);
}
else
{
_this
.
$Notice
.
error
({
title
:
'错误'
,
desc
:
'newdata 视图处理逻辑不存在,请添加!'
});
}
}
/**
* 编辑
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof HRCertificateV_003Base
*/
public
Edit
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
if
(
args
.
length
===
0
)
{
return
;
}
const
_this
:
any
=
this
;
if
(
_this
.
opendata
&&
_this
.
opendata
instanceof
Function
)
{
const
data
:
any
=
{
};
if
(
args
.
length
>
0
)
{
Object
.
assign
(
data
,
{
hrcertificate
:
args
[
0
].
hrcertificate
})
}
_this
.
opendata
([{
...
data
}],
params
,
$event
,
xData
);
}
else
{
_this
.
$Notice
.
error
({
title
:
'错误'
,
desc
:
'opendata 视图处理逻辑不存在,请添加!'
});
}
}
/**
* 行编辑
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof HRCertificateV_003Base
*/
public
ToggleRowEdit
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
xData
.
actualIsOpenEdit
=
!
xData
.
actualIsOpenEdit
;
}
/**
* 新建行
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof HRCertificateV_003Base
*/
public
NewRow
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
const
_this
:
any
=
this
;
const
data
:
any
=
{};
if
(
_this
.
hasOwnProperty
(
'newRow'
)
&&
_this
.
newRow
instanceof
Function
)
{
_this
.
newRow
([{
...
data
}],
params
,
$event
,
xData
);
}
else
if
(
xData
.
newRow
&&
xData
.
newRow
instanceof
Function
)
{
xData
.
newRow
([{
...
data
}],
params
,
$event
,
xData
);
}
else
{
_this
.
$Notice
.
error
({
title
:
'错误'
,
desc
:
'newRow 视图处理逻辑不存在,请添加!'
});
}
}
/**
* 保存行
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof HRCertificateV_003Base
*/
public
SaveRow
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
// 界面行为容器对象 _this
const
_this
:
any
=
this
;
if
(
xData
&&
xData
.
save
instanceof
Function
)
{
xData
.
save
();
}
else
if
(
_this
.
save
&&
_this
.
save
instanceof
Function
)
{
_this
.
save
();
}
}
/**
* 删除
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof HRCertificateV_003Base
*/
public
Remove
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
const
_this
:
any
=
this
;
if
(
!
xData
||
!
(
xData
.
remove
instanceof
Function
))
{
return
;
}
xData
.
remove
(
args
);
}
/**
* 导出
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof HRCertificateV_003Base
*/
public
ExportExcel
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
const
_this
:
any
=
this
;
if
(
!
xData
||
!
(
xData
.
exportExcel
instanceof
Function
)
||
!
$event
)
{
return
;
}
xData
.
exportExcel
(
$event
.
exportparms
);
}
/**
* 打印
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof HRCertificateV_003Base
*/
public
Print
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
let
_this
:
any
=
this
;
if
(
!
xData
||
!
(
xData
.
print
instanceof
Function
)
||
!
$event
)
{
return
;
}
xData
.
print
();
}
/**
* 过滤
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof HRCertificateV_003Base
*/
public
ToggleFilter
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
const
_this
:
any
=
this
;
if
(
_this
.
hasOwnProperty
(
'isExpandSearchForm'
))
{
_this
.
isExpandSearchForm
=
!
_this
.
isExpandSearchForm
;
}
}
}
\ No newline at end of file
app_PIM/src/pages/human-resource/hrcertificate-v-003/hrcertificate-v-003.html
0 → 100644
浏览文件 @
e9534484
<studio-view-style2
viewName=
"hrcertificatev_003"
viewTitle=
"证书"
class=
'degridview hrcertificate-v-003'
>
<i-input
slot=
"quickSearch"
v-show=
"!isExpandSearchForm"
v-model=
"query"
placeholder=
"证书名称"
search
@
on-search=
"onSearch($event)"
/>
<template
slot=
"toolbar"
>
<view-toolbar
mode=
"STYLE2"
:model=
"toolBarModels"
@
item-click=
"toolbar_click.apply(_self, arguments)"
/>
</template>
<template
slot=
"searchForm"
>
<view
_searchform
:viewState=
"viewState"
:viewparams=
"viewparams"
:context=
"context"
:showBusyIndicator=
"true"
v-show=
"isExpandSearchForm"
loaddraftAction=
"FilterGetDraft"
loadAction=
"FilterGet"
name=
"searchform"
ref=
'searchform'
@
save=
"searchform_save($event)"
@
search=
"searchform_search($event)"
@
load=
"searchform_load($event)"
@
closeview=
"closeView($event)"
>
</view
_searchform
>
</template>
<view
_grid
:viewState=
"viewState"
:viewparams=
"viewparams"
:context=
"context"
:isSingleSelect=
"isGridSingleSelect"
:showBusyIndicator=
"true"
:isOpenEdit=
"false"
:gridRowActiveMode=
"gridRowActiveMode"
@
save=
"onSave.apply(_self, arguments)"
updateAction=
""
removeAction=
"Remove"
loaddraftAction=
""
loadAction=
""
createAction=
""
fetchAction=
"FetchInActive"
:newdata=
"newdata.bind(_self)"
:opendata=
"opendata.bind(_self)"
name=
"grid"
ref=
'grid'
@
selectionchange=
"grid_selectionchange($event)"
@
beforeload=
"grid_beforeload($event)"
@
rowdblclick=
"grid_rowdblclick($event)"
@
remove=
"grid_remove($event)"
@
load=
"grid_load($event)"
@
closeview=
"closeView($event)"
>
</view
_grid
>
</studio-view-style2>
\ No newline at end of file
app_PIM/src/pages/human-resource/hrcertificate-v-003/hrcertificate-v-003.vue
0 → 100644
浏览文件 @
e9534484
<
template
src=
"./hrcertificate-v-003.html"
/>
<script
lang=
'tsx'
>
import
{ Component } from 'vue-property-decorator';
import { VueLifeCycleProcessing } from '@/studio-core';
import { HRCertificateV_003Base } from './hrcertificate-v-003-base';
import view_grid from '@widgets/hrcertificate/main-grid/main-grid.vue';
import view_searchform from '@widgets/hrcertificate/default-searchform/default-searchform.vue';
/**
* 证书视图
*
* @export
* @class HRCertificateV_003
* @extends {HRCertificateV_003Base}
*/
@Component({
components: {
view_grid,
view_searchform,
}
})
@VueLifeCycleProcessing()
export default class HRCertificateV_003 extends HRCertificateV_003Base { }
</script>
app_PIM/src/pages/human-resource/hrcertificate-v-004/hrcertificate-v-004-base.tsx
0 → 100644
浏览文件 @
e9534484
import
{
Subject
}
from
'rxjs'
;
import
{
GridViewBase
}
from
'@/studio-core'
;
import
HRCertificateService
from
'@/service/hrcertificate/hrcertificate-service'
;
import
HRCertificateAuthService
from
'@/authservice/hrcertificate/hrcertificate-auth-service'
;
import
GridViewEngine
from
'@engine/view/grid-view-engine'
;
import
HRCertificateUIService
from
'@/uiservice/hrcertificate/hrcertificate-ui-service'
;
import
CodeListService
from
"@service/app/codelist-service"
;
/**
* 证书视图基类
*
* @export
* @class HRCertificateV_004Base
* @extends {GridViewBase}
*/
export
class
HRCertificateV_004Base
extends
GridViewBase
{
/**
* 视图对应应用实体名称
*
* @protected
* @type {string}
* @memberof HRCertificateV_004Base
*/
protected
appDeName
:
string
=
'hrcertificate'
;
/**
* 应用实体主键
*
* @protected
* @type {string}
* @memberof HRCertificateV_004Base
*/
protected
appDeKey
:
string
=
'hrcertificateid'
;
/**
* 应用实体主信息
*
* @protected
* @type {string}
* @memberof HRCertificateV_004Base
*/
protected
appDeMajor
:
string
=
'hrcertificatename'
;
/**
* 实体服务对象
*
* @type {HRCertificateService}
* @memberof HRCertificateV_004Base
*/
protected
appEntityService
:
HRCertificateService
=
new
HRCertificateService
;
/**
* 实体权限服务对象
*
* @type HRCertificateUIService
* @memberof HRCertificateV_004Base
*/
public
appUIService
:
HRCertificateUIService
=
new
HRCertificateUIService
(
this
.
$store
);
/**
* 计数器服务对象集合
*
* @protected
* @type {Array<*>}
* @memberof HRCertificateV_004Base
*/
protected
counterServiceArray
:
Array
<
any
>
=
[];
/**
* 视图模型数据
*
* @protected
* @type {*}
* @memberof HRCertificateV_004Base
*/
protected
model
:
any
=
{
srfCaption
:
'entities.hrcertificate.views.v_004.caption'
,
srfTitle
:
'entities.hrcertificate.views.v_004.title'
,
srfSubTitle
:
'entities.hrcertificate.views.v_004.subtitle'
,
dataInfo
:
''
}
/**
* 容器模型
*
* @protected
* @type {*}
* @memberof HRCertificateV_004Base
*/
protected
containerModel
:
any
=
{
view_toolbar
:
{
name
:
'toolbar'
,
type
:
'TOOLBAR'
},
view_grid
:
{
name
:
'grid'
,
type
:
'GRID'
},
view_searchform
:
{
name
:
'searchform'
,
type
:
'SEARCHFORM'
},
};
/**
* 工具栏模型
*
* @type {*}
* @memberof HRCertificateV_004
*/
public
toolBarModels
:
any
=
{
tbitem3
:
{
name
:
'tbitem3'
,
caption
:
'新建'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'新建'
,
iconcls
:
'fa fa-file-text-o'
,
icon
:
''
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
noprivdisplaymode
:
2
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'New'
,
target
:
''
,
class
:
''
}
},
tbitem4
:
{
name
:
'tbitem4'
,
caption
:
'编辑'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'编辑'
,
iconcls
:
'fa fa-edit'
,
icon
:
''
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
noprivdisplaymode
:
2
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'Edit'
,
target
:
'SINGLEKEY'
,
class
:
''
}
},
tbitem7
:
{
name
:
'tbitem7'
,
type
:
'SEPERATOR'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
}
},
tbitem8
:
{
name
:
'tbitem8'
,
caption
:
'删除'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'删除'
,
iconcls
:
'fa fa-remove'
,
icon
:
''
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
noprivdisplaymode
:
2
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'Remove'
,
target
:
'MULTIKEY'
,
class
:
''
}
},
tbitem9
:
{
name
:
'tbitem9'
,
type
:
'SEPERATOR'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
}
},
tbitem13
:
{
name
:
'tbitem13'
,
caption
:
'导出'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'导出'
,
iconcls
:
'fa fa-file-excel-o'
,
icon
:
''
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
noprivdisplaymode
:
2
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'ExportExcel'
,
target
:
''
},
MaxRowCount
:
1000
,
class
:
''
},
tbitem10
:
{
name
:
'tbitem10'
,
type
:
'SEPERATOR'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
}
},
tbitem19
:
{
name
:
'tbitem19'
,
caption
:
'过滤'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'过滤'
,
iconcls
:
'fa fa-filter'
,
icon
:
''
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
noprivdisplaymode
:
2
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'ToggleFilter'
,
target
:
''
,
class
:
''
}
},
};
/**
* 视图唯一标识
*
* @protected
* @type {string}
* @memberof ViewBase
*/
protected
viewtag
:
string
=
'feb5aefc4a68523cdcd6dfcb3d658e3e'
;
/**
* 视图引擎
*
* @public
* @type {Engine}
* @memberof HRCertificateV_004Base
*/
public
engine
:
GridViewEngine
=
new
GridViewEngine
();
/**
* 引擎初始化
*
* @public
* @memberof HRCertificateV_004Base
*/
public
engineInit
():
void
{
this
.
engine
.
init
({
view
:
this
,
opendata
:
(
args
:
any
[],
fullargs
?:
any
[],
params
?:
any
,
$event
?:
any
,
xData
?:
any
)
=>
{
this
.
opendata
(
args
,
fullargs
,
params
,
$event
,
xData
);
},
newdata
:
(
args
:
any
[],
fullargs
?:
any
[],
params
?:
any
,
$event
?:
any
,
xData
?:
any
)
=>
{
this
.
newdata
(
args
,
fullargs
,
params
,
$event
,
xData
);
},
grid
:
this
.
$refs
.
grid
,
searchform
:
this
.
$refs
.
searchform
,
keyPSDEField
:
'hrcertificate'
,
majorPSDEField
:
'hrcertificatename'
,
isLoadDefault
:
true
,
});
}
/**
* toolbar 部件 click 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof HRCertificateV_004Base
*/
public
toolbar_click
(
$event
:
any
,
$event2
?:
any
):
void
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem3'
))
{
this
.
toolbar_tbitem3_click
(
null
,
''
,
$event2
);
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem4'
))
{
this
.
toolbar_tbitem4_click
(
null
,
''
,
$event2
);
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem24'
))
{
this
.
toolbar_tbitem24_click
(
null
,
''
,
$event2
);
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem25'
))
{
this
.
toolbar_tbitem25_click
(
null
,
''
,
$event2
);
}
if
(
Object
.
is
(
$event
.
tag
,
'deuiaction1'
))
{
this
.
toolbar_deuiaction1_click
(
null
,
''
,
$event2
);
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem8'
))
{
this
.
toolbar_tbitem8_click
(
null
,
''
,
$event2
);
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem13'
))
{
this
.
toolbar_tbitem13_click
(
null
,
''
,
$event2
);
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem11'
))
{
this
.
toolbar_tbitem11_click
(
null
,
''
,
$event2
);
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem19'
))
{
this
.
toolbar_tbitem19_click
(
null
,
''
,
$event2
);
}
}
/**
* grid 部件 selectionchange 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof HRCertificateV_004Base
*/
public
grid_selectionchange
(
$event
:
any
,
$event2
?:
any
):
void
{
this
.
engine
.
onCtrlEvent
(
'grid'
,
'selectionchange'
,
$event
);
}
/**
* grid 部件 beforeload 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof HRCertificateV_004Base
*/
public
grid_beforeload
(
$event
:
any
,
$event2
?:
any
):
void
{
this
.
engine
.
onCtrlEvent
(
'grid'
,
'beforeload'
,
$event
);
}
/**
* grid 部件 rowdblclick 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof HRCertificateV_004Base
*/
public
grid_rowdblclick
(
$event
:
any
,
$event2
?:
any
):
void
{
this
.
engine
.
onCtrlEvent
(
'grid'
,
'rowdblclick'
,
$event
);
}
/**
* grid 部件 remove 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof HRCertificateV_004Base
*/
public
grid_remove
(
$event
:
any
,
$event2
?:
any
):
void
{
this
.
engine
.
onCtrlEvent
(
'grid'
,
'remove'
,
$event
);
}
/**
* grid 部件 load 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof HRCertificateV_004Base
*/
public
grid_load
(
$event
:
any
,
$event2
?:
any
):
void
{
this
.
engine
.
onCtrlEvent
(
'grid'
,
'load'
,
$event
);
}
/**
* searchform 部件 save 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof HRCertificateV_004Base
*/
public
searchform_save
(
$event
:
any
,
$event2
?:
any
):
void
{
this
.
engine
.
onCtrlEvent
(
'searchform'
,
'save'
,
$event
);
}
/**
* searchform 部件 search 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof HRCertificateV_004Base
*/
public
searchform_search
(
$event
:
any
,
$event2
?:
any
):
void
{
this
.
engine
.
onCtrlEvent
(
'searchform'
,
'search'
,
$event
);
}
/**
* searchform 部件 load 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof HRCertificateV_004Base
*/
public
searchform_load
(
$event
:
any
,
$event2
?:
any
):
void
{
this
.
engine
.
onCtrlEvent
(
'searchform'
,
'load'
,
$event
);
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public
toolbar_tbitem3_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
// 参数
// 取数
let
datas
:
any
[]
=
[];
let
xData
:
any
=
null
;
// _this 指向容器对象
const
_this
:
any
=
this
;
let
paramJO
:
any
=
{};
let
contextJO
:
any
=
{};
xData
=
this
.
$refs
.
grid
;
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
this
.
New
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"HRCertificate"
);
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public
toolbar_tbitem4_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
// 参数
// 取数
let
datas
:
any
[]
=
[];
let
xData
:
any
=
null
;
// _this 指向容器对象
const
_this
:
any
=
this
;
let
paramJO
:
any
=
{};
let
contextJO
:
any
=
{};
xData
=
this
.
$refs
.
grid
;
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
this
.
Edit
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"HRCertificate"
);
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public
toolbar_tbitem24_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
// 参数
// 取数
let
datas
:
any
[]
=
[];
let
xData
:
any
=
null
;
// _this 指向容器对象
const
_this
:
any
=
this
;
let
paramJO
:
any
=
{};
let
contextJO
:
any
=
{};
xData
=
this
.
$refs
.
grid
;
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
this
.
ToggleRowEdit
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"HRCertificate"
);
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public
toolbar_tbitem25_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
// 参数
// 取数
let
datas
:
any
[]
=
[];
let
xData
:
any
=
null
;
// _this 指向容器对象
const
_this
:
any
=
this
;
let
paramJO
:
any
=
{};
let
contextJO
:
any
=
{};
xData
=
this
.
$refs
.
grid
;
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
this
.
NewRow
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"HRCertificate"
);
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public
toolbar_deuiaction1_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
// 参数
// 取数
let
datas
:
any
[]
=
[];
let
xData
:
any
=
null
;
// _this 指向容器对象
const
_this
:
any
=
this
;
let
paramJO
:
any
=
{};
let
contextJO
:
any
=
{};
xData
=
this
.
$refs
.
grid
;
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
this
.
SaveRow
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"HRCertificate"
);
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public
toolbar_tbitem8_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
// 参数
// 取数
let
datas
:
any
[]
=
[];
let
xData
:
any
=
null
;
// _this 指向容器对象
const
_this
:
any
=
this
;
let
paramJO
:
any
=
{};
let
contextJO
:
any
=
{};
xData
=
this
.
$refs
.
grid
;
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
this
.
Remove
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"HRCertificate"
);
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public
toolbar_tbitem13_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
// 参数
// 取数
let
datas
:
any
[]
=
[];
let
xData
:
any
=
null
;
// _this 指向容器对象
const
_this
:
any
=
this
;
let
paramJO
:
any
=
{};
let
contextJO
:
any
=
{};
xData
=
this
.
$refs
.
grid
;
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
this
.
ExportExcel
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"HRCertificate"
);
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public
toolbar_tbitem11_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
// 参数
// 取数
let
datas
:
any
[]
=
[];
let
xData
:
any
=
null
;
// _this 指向容器对象
const
_this
:
any
=
this
;
let
paramJO
:
any
=
{};
let
contextJO
:
any
=
{};
xData
=
this
.
$refs
.
grid
;
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
this
.
Print
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"HRCertificate"
);
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public
toolbar_tbitem19_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
// 参数
// 取数
let
datas
:
any
[]
=
[];
let
xData
:
any
=
null
;
// _this 指向容器对象
const
_this
:
any
=
this
;
let
paramJO
:
any
=
{};
let
contextJO
:
any
=
{};
xData
=
this
.
$refs
.
grid
;
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
this
.
ToggleFilter
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"HRCertificate"
);
}
/**
* 打开新建数据视图
*
* @param {any[]} args
* @param {*} [params]
* @param {*} [fullargs]
* @param {*} [$event]
* @param {*} [xData]
* @memberof HRCertificateV_004
*/
public
newdata
(
args
:
any
[],
fullargs
?:
any
[],
params
?:
any
,
$event
?:
any
,
xData
?:
any
)
{
let
localContext
:
any
=
null
;
let
localViewParam
:
any
=
null
;
const
data
:
any
=
{};
if
(
args
[
0
].
srfsourcekey
){
data
.
srfsourcekey
=
args
[
0
].
srfsourcekey
;
}
let
tempContext
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
context
));
delete
tempContext
.
hrcertificate
;
if
(
args
.
length
>
0
){
Object
.
assign
(
tempContext
,
args
[
0
]);
}
let
deResParameters
:
any
[]
=
[];
if
(
tempContext
.
hremployee
&&
true
){
deResParameters
=
[
{
pathName
:
'hremployees'
,
parameterName
:
'hremployee'
},
]
}
const
parameters
:
any
[]
=
[
{
pathName
:
'hrcertificates'
,
parameterName
:
'hrcertificate'
},
];
const
_this
:
any
=
this
;
const
openDrawer
=
(
view
:
any
,
data
:
any
)
=>
{
let
container
:
Subject
<
any
>
=
this
.
$appdrawer
.
openDrawer
(
view
,
tempContext
,
data
);
container
.
subscribe
((
result
:
any
)
=>
{
if
(
!
result
||
!
Object
.
is
(
result
.
ret
,
'OK'
))
{
return
;
}
if
(
!
xData
||
!
(
xData
.
refresh
instanceof
Function
))
{
return
;
}
xData
.
refresh
(
result
.
datas
);
});
}
const
view
:
any
=
{
viewname
:
'hrcertificate-v-002'
,
height
:
0
,
width
:
800
,
title
:
this
.
$t
(
'entities.hrcertificate.views.v_002.title'
),
placement
:
'DRAWER_RIGHT'
,
};
openDrawer
(
view
,
data
);
}
/**
* 打开编辑数据视图
*
* @param {any[]} args
* @param {*} [params]
* @param {*} [fullargs]
* @param {*} [$event]
* @param {*} [xData]
* @memberof HRCertificateV_004
*/
public
opendata
(
args
:
any
[],
fullargs
?:
any
[],
params
?:
any
,
$event
?:
any
,
xData
?:
any
)
{
const
localContext
:
any
=
null
;
const
localViewParam
:
any
=
null
;
const
data
:
any
=
{};
let
tempContext
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
context
));
if
(
args
.
length
>
0
){
Object
.
assign
(
tempContext
,
args
[
0
]);
}
let
deResParameters
:
any
[]
=
[];
if
(
tempContext
.
hremployee
&&
true
){
deResParameters
=
[
{
pathName
:
'hremployees'
,
parameterName
:
'hremployee'
},
]
}
const
parameters
:
any
[]
=
[
{
pathName
:
'hrcertificates'
,
parameterName
:
'hrcertificate'
},
];
const
_this
:
any
=
this
;
const
openDrawer
=
(
view
:
any
,
data
:
any
)
=>
{
let
container
:
Subject
<
any
>
=
this
.
$appdrawer
.
openDrawer
(
view
,
tempContext
,
data
);
container
.
subscribe
((
result
:
any
)
=>
{
if
(
!
result
||
!
Object
.
is
(
result
.
ret
,
'OK'
))
{
return
;
}
if
(
!
xData
||
!
(
xData
.
refresh
instanceof
Function
))
{
return
;
}
xData
.
refresh
(
result
.
datas
);
});
}
const
view
:
any
=
{
viewname
:
'hrcertificate-v-002'
,
height
:
0
,
width
:
800
,
title
:
this
.
$t
(
'entities.hrcertificate.views.v_002.title'
),
placement
:
'DRAWER_RIGHT'
,
};
openDrawer
(
view
,
data
);
}
/**
* 新建
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof HRCertificateV_004Base
*/
public
New
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
const
_this
:
any
=
this
;
if
(
_this
.
newdata
&&
_this
.
newdata
instanceof
Function
)
{
const
data
:
any
=
{};
_this
.
newdata
([{
...
data
}],[{
...
data
}],
params
,
$event
,
xData
);
}
else
{
_this
.
$Notice
.
error
({
title
:
'错误'
,
desc
:
'newdata 视图处理逻辑不存在,请添加!'
});
}
}
/**
* 编辑
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof HRCertificateV_004Base
*/
public
Edit
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
if
(
args
.
length
===
0
)
{
return
;
}
const
_this
:
any
=
this
;
if
(
_this
.
opendata
&&
_this
.
opendata
instanceof
Function
)
{
const
data
:
any
=
{
};
if
(
args
.
length
>
0
)
{
Object
.
assign
(
data
,
{
hrcertificate
:
args
[
0
].
hrcertificate
})
}
_this
.
opendata
([{
...
data
}],
params
,
$event
,
xData
);
}
else
{
_this
.
$Notice
.
error
({
title
:
'错误'
,
desc
:
'opendata 视图处理逻辑不存在,请添加!'
});
}
}
/**
* 行编辑
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof HRCertificateV_004Base
*/
public
ToggleRowEdit
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
xData
.
actualIsOpenEdit
=
!
xData
.
actualIsOpenEdit
;
}
/**
* 新建行
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof HRCertificateV_004Base
*/
public
NewRow
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
const
_this
:
any
=
this
;
const
data
:
any
=
{};
if
(
_this
.
hasOwnProperty
(
'newRow'
)
&&
_this
.
newRow
instanceof
Function
)
{
_this
.
newRow
([{
...
data
}],
params
,
$event
,
xData
);
}
else
if
(
xData
.
newRow
&&
xData
.
newRow
instanceof
Function
)
{
xData
.
newRow
([{
...
data
}],
params
,
$event
,
xData
);
}
else
{
_this
.
$Notice
.
error
({
title
:
'错误'
,
desc
:
'newRow 视图处理逻辑不存在,请添加!'
});
}
}
/**
* 保存行
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof HRCertificateV_004Base
*/
public
SaveRow
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
// 界面行为容器对象 _this
const
_this
:
any
=
this
;
if
(
xData
&&
xData
.
save
instanceof
Function
)
{
xData
.
save
();
}
else
if
(
_this
.
save
&&
_this
.
save
instanceof
Function
)
{
_this
.
save
();
}
}
/**
* 删除
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof HRCertificateV_004Base
*/
public
Remove
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
const
_this
:
any
=
this
;
if
(
!
xData
||
!
(
xData
.
remove
instanceof
Function
))
{
return
;
}
xData
.
remove
(
args
);
}
/**
* 导出
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof HRCertificateV_004Base
*/
public
ExportExcel
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
const
_this
:
any
=
this
;
if
(
!
xData
||
!
(
xData
.
exportExcel
instanceof
Function
)
||
!
$event
)
{
return
;
}
xData
.
exportExcel
(
$event
.
exportparms
);
}
/**
* 打印
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof HRCertificateV_004Base
*/
public
Print
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
let
_this
:
any
=
this
;
if
(
!
xData
||
!
(
xData
.
print
instanceof
Function
)
||
!
$event
)
{
return
;
}
xData
.
print
();
}
/**
* 过滤
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof HRCertificateV_004Base
*/
public
ToggleFilter
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
const
_this
:
any
=
this
;
if
(
_this
.
hasOwnProperty
(
'isExpandSearchForm'
))
{
_this
.
isExpandSearchForm
=
!
_this
.
isExpandSearchForm
;
}
}
}
\ No newline at end of file
app_PIM/src/pages/human-resource/hrcertificate-v-004/hrcertificate-v-004.html
0 → 100644
浏览文件 @
e9534484
<studio-view-style2
viewName=
"hrcertificatev_004"
viewTitle=
"证书"
class=
'degridview hrcertificate-v-004'
>
<i-input
slot=
"quickSearch"
v-show=
"!isExpandSearchForm"
v-model=
"query"
placeholder=
"证书名称"
search
@
on-search=
"onSearch($event)"
/>
<template
slot=
"toolbar"
>
<view-toolbar
mode=
"STYLE2"
:model=
"toolBarModels"
@
item-click=
"toolbar_click.apply(_self, arguments)"
/>
</template>
<template
slot=
"searchForm"
>
<view
_searchform
:viewState=
"viewState"
:viewparams=
"viewparams"
:context=
"context"
:showBusyIndicator=
"true"
v-show=
"isExpandSearchForm"
loaddraftAction=
"FilterGetDraft"
loadAction=
"FilterGet"
name=
"searchform"
ref=
'searchform'
@
save=
"searchform_save($event)"
@
search=
"searchform_search($event)"
@
load=
"searchform_load($event)"
@
closeview=
"closeView($event)"
>
</view
_searchform
>
</template>
<view
_grid
:viewState=
"viewState"
:viewparams=
"viewparams"
:context=
"context"
:isSingleSelect=
"isGridSingleSelect"
:showBusyIndicator=
"true"
:isOpenEdit=
"false"
:gridRowActiveMode=
"gridRowActiveMode"
@
save=
"onSave.apply(_self, arguments)"
updateAction=
""
removeAction=
"Remove"
loaddraftAction=
""
loadAction=
""
createAction=
""
fetchAction=
"FetchActive"
:newdata=
"newdata.bind(_self)"
:opendata=
"opendata.bind(_self)"
name=
"grid"
ref=
'grid'
@
selectionchange=
"grid_selectionchange($event)"
@
beforeload=
"grid_beforeload($event)"
@
rowdblclick=
"grid_rowdblclick($event)"
@
remove=
"grid_remove($event)"
@
load=
"grid_load($event)"
@
closeview=
"closeView($event)"
>
</view
_grid
>
</studio-view-style2>
\ No newline at end of file
app_PIM/src/pages/human-resource/hrcertificate-v-004/hrcertificate-v-004.vue
0 → 100644
浏览文件 @
e9534484
<
template
src=
"./hrcertificate-v-004.html"
/>
<script
lang=
'tsx'
>
import
{ Component } from 'vue-property-decorator';
import { VueLifeCycleProcessing } from '@/studio-core';
import { HRCertificateV_004Base } from './hrcertificate-v-004-base';
import view_grid from '@widgets/hrcertificate/main-grid/main-grid.vue';
import view_searchform from '@widgets/hrcertificate/default-searchform/default-searchform.vue';
/**
* 证书视图
*
* @export
* @class HRCertificateV_004
* @extends {HRCertificateV_004Base}
*/
@Component({
components: {
view_grid,
view_searchform,
}
})
@VueLifeCycleProcessing()
export default class HRCertificateV_004 extends HRCertificateV_004Base { }
</script>
app_PIM/src/pages/human-resource/hrcertificate-v-006/hrcertificate-v-006-base.tsx
0 → 100644
浏览文件 @
e9534484
import
{
Subject
}
from
'rxjs'
;
import
{
GridViewBase
}
from
'@/studio-core'
;
import
HRCertificateService
from
'@/service/hrcertificate/hrcertificate-service'
;
import
HRCertificateAuthService
from
'@/authservice/hrcertificate/hrcertificate-auth-service'
;
import
GridViewEngine
from
'@engine/view/grid-view-engine'
;
import
HRCertificateUIService
from
'@/uiservice/hrcertificate/hrcertificate-ui-service'
;
import
CodeListService
from
"@service/app/codelist-service"
;
/**
* 证书视图基类
*
* @export
* @class HRCertificateV_006Base
* @extends {GridViewBase}
*/
export
class
HRCertificateV_006Base
extends
GridViewBase
{
/**
* 视图对应应用实体名称
*
* @protected
* @type {string}
* @memberof HRCertificateV_006Base
*/
protected
appDeName
:
string
=
'hrcertificate'
;
/**
* 应用实体主键
*
* @protected
* @type {string}
* @memberof HRCertificateV_006Base
*/
protected
appDeKey
:
string
=
'hrcertificateid'
;
/**
* 应用实体主信息
*
* @protected
* @type {string}
* @memberof HRCertificateV_006Base
*/
protected
appDeMajor
:
string
=
'hrcertificatename'
;
/**
* 实体服务对象
*
* @type {HRCertificateService}
* @memberof HRCertificateV_006Base
*/
protected
appEntityService
:
HRCertificateService
=
new
HRCertificateService
;
/**
* 实体权限服务对象
*
* @type HRCertificateUIService
* @memberof HRCertificateV_006Base
*/
public
appUIService
:
HRCertificateUIService
=
new
HRCertificateUIService
(
this
.
$store
);
/**
* 计数器服务对象集合
*
* @protected
* @type {Array<*>}
* @memberof HRCertificateV_006Base
*/
protected
counterServiceArray
:
Array
<
any
>
=
[];
/**
* 视图模型数据
*
* @protected
* @type {*}
* @memberof HRCertificateV_006Base
*/
protected
model
:
any
=
{
srfCaption
:
'entities.hrcertificate.views.v_006.caption'
,
srfTitle
:
'entities.hrcertificate.views.v_006.title'
,
srfSubTitle
:
'entities.hrcertificate.views.v_006.subtitle'
,
dataInfo
:
''
}
/**
* 容器模型
*
* @protected
* @type {*}
* @memberof HRCertificateV_006Base
*/
protected
containerModel
:
any
=
{
view_toolbar
:
{
name
:
'toolbar'
,
type
:
'TOOLBAR'
},
view_grid
:
{
name
:
'grid'
,
type
:
'GRID'
},
view_searchform
:
{
name
:
'searchform'
,
type
:
'SEARCHFORM'
},
};
/**
* 工具栏模型
*
* @type {*}
* @memberof HRCertificateV_006
*/
public
toolBarModels
:
any
=
{
tbitem3
:
{
name
:
'tbitem3'
,
caption
:
'新建'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'新建'
,
iconcls
:
'fa fa-file-text-o'
,
icon
:
''
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
noprivdisplaymode
:
2
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'New'
,
target
:
''
,
class
:
''
}
},
tbitem4
:
{
name
:
'tbitem4'
,
caption
:
'编辑'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'编辑'
,
iconcls
:
'fa fa-edit'
,
icon
:
''
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
noprivdisplaymode
:
2
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'Edit'
,
target
:
'SINGLEKEY'
,
class
:
''
}
},
tbitem7
:
{
name
:
'tbitem7'
,
type
:
'SEPERATOR'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
}
},
tbitem8
:
{
name
:
'tbitem8'
,
caption
:
'删除'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'删除'
,
iconcls
:
'fa fa-remove'
,
icon
:
''
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
noprivdisplaymode
:
2
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'Remove'
,
target
:
'MULTIKEY'
,
class
:
''
}
},
tbitem9
:
{
name
:
'tbitem9'
,
type
:
'SEPERATOR'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
}
},
tbitem13
:
{
name
:
'tbitem13'
,
caption
:
'导出'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'导出'
,
iconcls
:
'fa fa-file-excel-o'
,
icon
:
''
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
noprivdisplaymode
:
2
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'ExportExcel'
,
target
:
''
},
MaxRowCount
:
1000
,
class
:
''
},
tbitem10
:
{
name
:
'tbitem10'
,
type
:
'SEPERATOR'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
}
},
tbitem19
:
{
name
:
'tbitem19'
,
caption
:
'过滤'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'过滤'
,
iconcls
:
'fa fa-filter'
,
icon
:
''
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
noprivdisplaymode
:
2
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'ToggleFilter'
,
target
:
''
,
class
:
''
}
},
};
/**
* 视图唯一标识
*
* @protected
* @type {string}
* @memberof ViewBase
*/
protected
viewtag
:
string
=
'6d7c584d45600193af8a7e54080767c8'
;
/**
* 视图引擎
*
* @public
* @type {Engine}
* @memberof HRCertificateV_006Base
*/
public
engine
:
GridViewEngine
=
new
GridViewEngine
();
/**
* 引擎初始化
*
* @public
* @memberof HRCertificateV_006Base
*/
public
engineInit
():
void
{
this
.
engine
.
init
({
view
:
this
,
opendata
:
(
args
:
any
[],
fullargs
?:
any
[],
params
?:
any
,
$event
?:
any
,
xData
?:
any
)
=>
{
this
.
opendata
(
args
,
fullargs
,
params
,
$event
,
xData
);
},
newdata
:
(
args
:
any
[],
fullargs
?:
any
[],
params
?:
any
,
$event
?:
any
,
xData
?:
any
)
=>
{
this
.
newdata
(
args
,
fullargs
,
params
,
$event
,
xData
);
},
grid
:
this
.
$refs
.
grid
,
searchform
:
this
.
$refs
.
searchform
,
keyPSDEField
:
'hrcertificate'
,
majorPSDEField
:
'hrcertificatename'
,
isLoadDefault
:
true
,
});
}
/**
* toolbar 部件 click 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof HRCertificateV_006Base
*/
public
toolbar_click
(
$event
:
any
,
$event2
?:
any
):
void
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem3'
))
{
this
.
toolbar_tbitem3_click
(
null
,
''
,
$event2
);
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem4'
))
{
this
.
toolbar_tbitem4_click
(
null
,
''
,
$event2
);
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem24'
))
{
this
.
toolbar_tbitem24_click
(
null
,
''
,
$event2
);
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem25'
))
{
this
.
toolbar_tbitem25_click
(
null
,
''
,
$event2
);
}
if
(
Object
.
is
(
$event
.
tag
,
'deuiaction1'
))
{
this
.
toolbar_deuiaction1_click
(
null
,
''
,
$event2
);
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem8'
))
{
this
.
toolbar_tbitem8_click
(
null
,
''
,
$event2
);
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem13'
))
{
this
.
toolbar_tbitem13_click
(
null
,
''
,
$event2
);
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem11'
))
{
this
.
toolbar_tbitem11_click
(
null
,
''
,
$event2
);
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem19'
))
{
this
.
toolbar_tbitem19_click
(
null
,
''
,
$event2
);
}
}
/**
* grid 部件 selectionchange 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof HRCertificateV_006Base
*/
public
grid_selectionchange
(
$event
:
any
,
$event2
?:
any
):
void
{
this
.
engine
.
onCtrlEvent
(
'grid'
,
'selectionchange'
,
$event
);
}
/**
* grid 部件 beforeload 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof HRCertificateV_006Base
*/
public
grid_beforeload
(
$event
:
any
,
$event2
?:
any
):
void
{
this
.
engine
.
onCtrlEvent
(
'grid'
,
'beforeload'
,
$event
);
}
/**
* grid 部件 rowdblclick 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof HRCertificateV_006Base
*/
public
grid_rowdblclick
(
$event
:
any
,
$event2
?:
any
):
void
{
this
.
engine
.
onCtrlEvent
(
'grid'
,
'rowdblclick'
,
$event
);
}
/**
* grid 部件 remove 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof HRCertificateV_006Base
*/
public
grid_remove
(
$event
:
any
,
$event2
?:
any
):
void
{
this
.
engine
.
onCtrlEvent
(
'grid'
,
'remove'
,
$event
);
}
/**
* grid 部件 load 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof HRCertificateV_006Base
*/
public
grid_load
(
$event
:
any
,
$event2
?:
any
):
void
{
this
.
engine
.
onCtrlEvent
(
'grid'
,
'load'
,
$event
);
}
/**
* searchform 部件 save 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof HRCertificateV_006Base
*/
public
searchform_save
(
$event
:
any
,
$event2
?:
any
):
void
{
this
.
engine
.
onCtrlEvent
(
'searchform'
,
'save'
,
$event
);
}
/**
* searchform 部件 search 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof HRCertificateV_006Base
*/
public
searchform_search
(
$event
:
any
,
$event2
?:
any
):
void
{
this
.
engine
.
onCtrlEvent
(
'searchform'
,
'search'
,
$event
);
}
/**
* searchform 部件 load 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof HRCertificateV_006Base
*/
public
searchform_load
(
$event
:
any
,
$event2
?:
any
):
void
{
this
.
engine
.
onCtrlEvent
(
'searchform'
,
'load'
,
$event
);
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public
toolbar_tbitem3_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
// 参数
// 取数
let
datas
:
any
[]
=
[];
let
xData
:
any
=
null
;
// _this 指向容器对象
const
_this
:
any
=
this
;
let
paramJO
:
any
=
{};
let
contextJO
:
any
=
{};
xData
=
this
.
$refs
.
grid
;
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
this
.
New
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"HRCertificate"
);
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public
toolbar_tbitem4_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
// 参数
// 取数
let
datas
:
any
[]
=
[];
let
xData
:
any
=
null
;
// _this 指向容器对象
const
_this
:
any
=
this
;
let
paramJO
:
any
=
{};
let
contextJO
:
any
=
{};
xData
=
this
.
$refs
.
grid
;
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
this
.
Edit
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"HRCertificate"
);
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public
toolbar_tbitem24_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
// 参数
// 取数
let
datas
:
any
[]
=
[];
let
xData
:
any
=
null
;
// _this 指向容器对象
const
_this
:
any
=
this
;
let
paramJO
:
any
=
{};
let
contextJO
:
any
=
{};
xData
=
this
.
$refs
.
grid
;
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
this
.
ToggleRowEdit
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"HRCertificate"
);
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public
toolbar_tbitem25_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
// 参数
// 取数
let
datas
:
any
[]
=
[];
let
xData
:
any
=
null
;
// _this 指向容器对象
const
_this
:
any
=
this
;
let
paramJO
:
any
=
{};
let
contextJO
:
any
=
{};
xData
=
this
.
$refs
.
grid
;
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
this
.
NewRow
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"HRCertificate"
);
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public
toolbar_deuiaction1_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
// 参数
// 取数
let
datas
:
any
[]
=
[];
let
xData
:
any
=
null
;
// _this 指向容器对象
const
_this
:
any
=
this
;
let
paramJO
:
any
=
{};
let
contextJO
:
any
=
{};
xData
=
this
.
$refs
.
grid
;
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
this
.
SaveRow
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"HRCertificate"
);
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public
toolbar_tbitem8_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
// 参数
// 取数
let
datas
:
any
[]
=
[];
let
xData
:
any
=
null
;
// _this 指向容器对象
const
_this
:
any
=
this
;
let
paramJO
:
any
=
{};
let
contextJO
:
any
=
{};
xData
=
this
.
$refs
.
grid
;
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
this
.
Remove
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"HRCertificate"
);
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public
toolbar_tbitem13_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
// 参数
// 取数
let
datas
:
any
[]
=
[];
let
xData
:
any
=
null
;
// _this 指向容器对象
const
_this
:
any
=
this
;
let
paramJO
:
any
=
{};
let
contextJO
:
any
=
{};
xData
=
this
.
$refs
.
grid
;
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
this
.
ExportExcel
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"HRCertificate"
);
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public
toolbar_tbitem11_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
// 参数
// 取数
let
datas
:
any
[]
=
[];
let
xData
:
any
=
null
;
// _this 指向容器对象
const
_this
:
any
=
this
;
let
paramJO
:
any
=
{};
let
contextJO
:
any
=
{};
xData
=
this
.
$refs
.
grid
;
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
this
.
Print
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"HRCertificate"
);
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public
toolbar_tbitem19_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
// 参数
// 取数
let
datas
:
any
[]
=
[];
let
xData
:
any
=
null
;
// _this 指向容器对象
const
_this
:
any
=
this
;
let
paramJO
:
any
=
{};
let
contextJO
:
any
=
{};
xData
=
this
.
$refs
.
grid
;
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
this
.
ToggleFilter
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"HRCertificate"
);
}
/**
* 打开新建数据视图
*
* @param {any[]} args
* @param {*} [params]
* @param {*} [fullargs]
* @param {*} [$event]
* @param {*} [xData]
* @memberof HRCertificateV_006
*/
public
newdata
(
args
:
any
[],
fullargs
?:
any
[],
params
?:
any
,
$event
?:
any
,
xData
?:
any
)
{
let
localContext
:
any
=
null
;
let
localViewParam
:
any
=
null
;
const
data
:
any
=
{};
if
(
args
[
0
].
srfsourcekey
){
data
.
srfsourcekey
=
args
[
0
].
srfsourcekey
;
}
let
tempContext
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
context
));
delete
tempContext
.
hrcertificate
;
if
(
args
.
length
>
0
){
Object
.
assign
(
tempContext
,
args
[
0
]);
}
let
deResParameters
:
any
[]
=
[];
if
(
tempContext
.
hremployee
&&
true
){
deResParameters
=
[
{
pathName
:
'hremployees'
,
parameterName
:
'hremployee'
},
]
}
const
parameters
:
any
[]
=
[
{
pathName
:
'hrcertificates'
,
parameterName
:
'hrcertificate'
},
];
const
_this
:
any
=
this
;
const
openDrawer
=
(
view
:
any
,
data
:
any
)
=>
{
let
container
:
Subject
<
any
>
=
this
.
$appdrawer
.
openDrawer
(
view
,
tempContext
,
data
);
container
.
subscribe
((
result
:
any
)
=>
{
if
(
!
result
||
!
Object
.
is
(
result
.
ret
,
'OK'
))
{
return
;
}
if
(
!
xData
||
!
(
xData
.
refresh
instanceof
Function
))
{
return
;
}
xData
.
refresh
(
result
.
datas
);
});
}
const
view
:
any
=
{
viewname
:
'hrcertificate-v-002'
,
height
:
0
,
width
:
800
,
title
:
this
.
$t
(
'entities.hrcertificate.views.v_002.title'
),
placement
:
'DRAWER_RIGHT'
,
};
openDrawer
(
view
,
data
);
}
/**
* 打开编辑数据视图
*
* @param {any[]} args
* @param {*} [params]
* @param {*} [fullargs]
* @param {*} [$event]
* @param {*} [xData]
* @memberof HRCertificateV_006
*/
public
opendata
(
args
:
any
[],
fullargs
?:
any
[],
params
?:
any
,
$event
?:
any
,
xData
?:
any
)
{
const
localContext
:
any
=
null
;
const
localViewParam
:
any
=
null
;
const
data
:
any
=
{};
let
tempContext
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
context
));
if
(
args
.
length
>
0
){
Object
.
assign
(
tempContext
,
args
[
0
]);
}
let
deResParameters
:
any
[]
=
[];
if
(
tempContext
.
hremployee
&&
true
){
deResParameters
=
[
{
pathName
:
'hremployees'
,
parameterName
:
'hremployee'
},
]
}
const
parameters
:
any
[]
=
[
{
pathName
:
'hrcertificates'
,
parameterName
:
'hrcertificate'
},
];
const
_this
:
any
=
this
;
const
openDrawer
=
(
view
:
any
,
data
:
any
)
=>
{
let
container
:
Subject
<
any
>
=
this
.
$appdrawer
.
openDrawer
(
view
,
tempContext
,
data
);
container
.
subscribe
((
result
:
any
)
=>
{
if
(
!
result
||
!
Object
.
is
(
result
.
ret
,
'OK'
))
{
return
;
}
if
(
!
xData
||
!
(
xData
.
refresh
instanceof
Function
))
{
return
;
}
xData
.
refresh
(
result
.
datas
);
});
}
const
view
:
any
=
{
viewname
:
'hrcertificate-v-002'
,
height
:
0
,
width
:
800
,
title
:
this
.
$t
(
'entities.hrcertificate.views.v_002.title'
),
placement
:
'DRAWER_RIGHT'
,
};
openDrawer
(
view
,
data
);
}
/**
* 新建
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof HRCertificateV_006Base
*/
public
New
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
const
_this
:
any
=
this
;
if
(
_this
.
newdata
&&
_this
.
newdata
instanceof
Function
)
{
const
data
:
any
=
{};
_this
.
newdata
([{
...
data
}],[{
...
data
}],
params
,
$event
,
xData
);
}
else
{
_this
.
$Notice
.
error
({
title
:
'错误'
,
desc
:
'newdata 视图处理逻辑不存在,请添加!'
});
}
}
/**
* 编辑
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof HRCertificateV_006Base
*/
public
Edit
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
if
(
args
.
length
===
0
)
{
return
;
}
const
_this
:
any
=
this
;
if
(
_this
.
opendata
&&
_this
.
opendata
instanceof
Function
)
{
const
data
:
any
=
{
};
if
(
args
.
length
>
0
)
{
Object
.
assign
(
data
,
{
hrcertificate
:
args
[
0
].
hrcertificate
})
}
_this
.
opendata
([{
...
data
}],
params
,
$event
,
xData
);
}
else
{
_this
.
$Notice
.
error
({
title
:
'错误'
,
desc
:
'opendata 视图处理逻辑不存在,请添加!'
});
}
}
/**
* 行编辑
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof HRCertificateV_006Base
*/
public
ToggleRowEdit
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
xData
.
actualIsOpenEdit
=
!
xData
.
actualIsOpenEdit
;
}
/**
* 新建行
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof HRCertificateV_006Base
*/
public
NewRow
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
const
_this
:
any
=
this
;
const
data
:
any
=
{};
if
(
_this
.
hasOwnProperty
(
'newRow'
)
&&
_this
.
newRow
instanceof
Function
)
{
_this
.
newRow
([{
...
data
}],
params
,
$event
,
xData
);
}
else
if
(
xData
.
newRow
&&
xData
.
newRow
instanceof
Function
)
{
xData
.
newRow
([{
...
data
}],
params
,
$event
,
xData
);
}
else
{
_this
.
$Notice
.
error
({
title
:
'错误'
,
desc
:
'newRow 视图处理逻辑不存在,请添加!'
});
}
}
/**
* 保存行
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof HRCertificateV_006Base
*/
public
SaveRow
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
// 界面行为容器对象 _this
const
_this
:
any
=
this
;
if
(
xData
&&
xData
.
save
instanceof
Function
)
{
xData
.
save
();
}
else
if
(
_this
.
save
&&
_this
.
save
instanceof
Function
)
{
_this
.
save
();
}
}
/**
* 删除
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof HRCertificateV_006Base
*/
public
Remove
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
const
_this
:
any
=
this
;
if
(
!
xData
||
!
(
xData
.
remove
instanceof
Function
))
{
return
;
}
xData
.
remove
(
args
);
}
/**
* 导出
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof HRCertificateV_006Base
*/
public
ExportExcel
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
const
_this
:
any
=
this
;
if
(
!
xData
||
!
(
xData
.
exportExcel
instanceof
Function
)
||
!
$event
)
{
return
;
}
xData
.
exportExcel
(
$event
.
exportparms
);
}
/**
* 打印
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof HRCertificateV_006Base
*/
public
Print
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
let
_this
:
any
=
this
;
if
(
!
xData
||
!
(
xData
.
print
instanceof
Function
)
||
!
$event
)
{
return
;
}
xData
.
print
();
}
/**
* 过滤
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof HRCertificateV_006Base
*/
public
ToggleFilter
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
const
_this
:
any
=
this
;
if
(
_this
.
hasOwnProperty
(
'isExpandSearchForm'
))
{
_this
.
isExpandSearchForm
=
!
_this
.
isExpandSearchForm
;
}
}
}
\ No newline at end of file
app_PIM/src/pages/human-resource/hrcertificate-v-006/hrcertificate-v-006.html
0 → 100644
浏览文件 @
e9534484
<studio-view-style2
viewName=
"hrcertificatev_006"
viewTitle=
"证书"
class=
'degridview hrcertificate-v-006'
>
<i-input
slot=
"quickSearch"
v-show=
"!isExpandSearchForm"
v-model=
"query"
placeholder=
"证书名称"
search
@
on-search=
"onSearch($event)"
/>
<template
slot=
"toolbar"
>
<view-toolbar
mode=
"STYLE2"
:model=
"toolBarModels"
@
item-click=
"toolbar_click.apply(_self, arguments)"
/>
</template>
<template
slot=
"searchForm"
>
<view
_searchform
:viewState=
"viewState"
:viewparams=
"viewparams"
:context=
"context"
:showBusyIndicator=
"true"
v-show=
"isExpandSearchForm"
loaddraftAction=
"FilterGetDraft"
loadAction=
"FilterGet"
name=
"searchform"
ref=
'searchform'
@
save=
"searchform_save($event)"
@
search=
"searchform_search($event)"
@
load=
"searchform_load($event)"
@
closeview=
"closeView($event)"
>
</view
_searchform
>
</template>
<view
_grid
:viewState=
"viewState"
:viewparams=
"viewparams"
:context=
"context"
:isSingleSelect=
"isGridSingleSelect"
:showBusyIndicator=
"true"
:isOpenEdit=
"false"
:gridRowActiveMode=
"gridRowActiveMode"
@
save=
"onSave.apply(_self, arguments)"
updateAction=
""
removeAction=
"Remove"
loaddraftAction=
""
loadAction=
""
createAction=
""
fetchAction=
"FetchSoonExpired"
:newdata=
"newdata.bind(_self)"
:opendata=
"opendata.bind(_self)"
name=
"grid"
ref=
'grid'
@
selectionchange=
"grid_selectionchange($event)"
@
beforeload=
"grid_beforeload($event)"
@
rowdblclick=
"grid_rowdblclick($event)"
@
remove=
"grid_remove($event)"
@
load=
"grid_load($event)"
@
closeview=
"closeView($event)"
>
</view
_grid
>
</studio-view-style2>
\ No newline at end of file
app_PIM/src/pages/human-resource/hrcertificate-v-006/hrcertificate-v-006.vue
0 → 100644
浏览文件 @
e9534484
<
template
src=
"./hrcertificate-v-006.html"
/>
<script
lang=
'tsx'
>
import
{ Component } from 'vue-property-decorator';
import { VueLifeCycleProcessing } from '@/studio-core';
import { HRCertificateV_006Base } from './hrcertificate-v-006-base';
import view_grid from '@widgets/hrcertificate/main-grid/main-grid.vue';
import view_searchform from '@widgets/hrcertificate/default-searchform/default-searchform.vue';
/**
* 证书视图
*
* @export
* @class HRCertificateV_006
* @extends {HRCertificateV_006Base}
*/
@Component({
components: {
view_grid,
view_searchform,
}
})
@VueLifeCycleProcessing()
export default class HRCertificateV_006 extends HRCertificateV_006Base { }
</script>
app_PIM/src/pages/human-resource/hrtechnical-title-grid-view/hrtechnical-title-grid-view-base.tsx
浏览文件 @
e9534484
...
...
@@ -9,7 +9,7 @@ import CodeListService from "@service/app/codelist-service";
/**
* 职称
信息表格视图
视图基类
* 职称视图基类
*
* @export
* @class HRTechnicalTitleGridViewBase
...
...
app_PIM/src/pages/human-resource/hrtechnical-title-grid-view/hrtechnical-title-grid-view.html
浏览文件 @
e9534484
<studio-view-style2
viewName=
"hrtechnicaltitlegridview"
viewTitle=
"职称
信息表格视图
"
class=
'degridview hrtechnical-title-grid-view'
>
<studio-view-style2
viewName=
"hrtechnicaltitlegridview"
viewTitle=
"职称"
class=
'degridview hrtechnical-title-grid-view'
>
<i-input
slot=
"quickSearch"
v-show=
"!isExpandSearchForm"
v-model=
"query"
placeholder=
"职称名称"
search
@
on-search=
"onSearch($event)"
/>
<template
slot=
"toolbar"
>
<view-toolbar
mode=
"STYLE2"
:model=
"toolBarModels"
@
item-click=
"toolbar_click.apply(_self, arguments)"
/>
</template>
...
...
app_PIM/src/pages/human-resource/hrtechnical-title-grid-view/hrtechnical-title-grid-view.vue
浏览文件 @
e9534484
...
...
@@ -7,7 +7,7 @@ import view_grid from '@widgets/hrtechnical-title/main-grid/main-grid.vue';
import view_searchform from '@widgets/hrtechnical-title/default-searchform/default-searchform.vue';
/**
* 职称
信息表格视图
视图
* 职称视图
*
* @export
* @class HRTechnicalTitleGridView
...
...
app_PIM/src/pages/ungroup/pim/page-register.ts
浏览文件 @
e9534484
...
...
@@ -21,6 +21,7 @@ export const PageComponents = {
Vue
.
component
(
'hrlegal-grid-view'
,
()
=>
import
(
'@pages/base/hrlegal-grid-view/hrlegal-grid-view.vue'
));
Vue
.
component
(
'hrpost-v-006'
,
()
=>
import
(
'@pages/human-resource/hrpost-v-006/hrpost-v-006.vue'
));
Vue
.
component
(
'hrlegal-v-002'
,
()
=>
import
(
'@pages/base/hrlegal-v-002/hrlegal-v-002.vue'
));
Vue
.
component
(
'hrcertificate-v-006'
,
()
=>
import
(
'@pages/human-resource/hrcertificate-v-006/hrcertificate-v-006.vue'
));
Vue
.
component
(
'hrcontract-tab-exp-view'
,
()
=>
import
(
'@pages/human-resource/hrcontract-tab-exp-view/hrcontract-tab-exp-view.vue'
));
Vue
.
component
(
'hremployee-v-003'
,
()
=>
import
(
'@pages/human-resource/hremployee-v-003/hremployee-v-003.vue'
));
Vue
.
component
(
'hrduty-tab-exp-view'
,
()
=>
import
(
'@pages/human-resource/hrduty-tab-exp-view/hrduty-tab-exp-view.vue'
));
...
...
@@ -30,20 +31,20 @@ export const PageComponents = {
Vue
.
component
(
'hrcontract-v-002'
,
()
=>
import
(
'@pages/human-resource/hrcontract-v-002/hrcontract-v-002.vue'
));
Vue
.
component
(
'hrduty-edu-v-001'
,
()
=>
import
(
'@pages/human-resource/hrduty-edu-v-001/hrduty-edu-v-001.vue'
));
Vue
.
component
(
'hrarchives-grid-view'
,
()
=>
import
(
'@pages/human-resource/hrarchives-grid-view/hrarchives-grid-view.vue'
));
Vue
.
component
(
'hremployee-v-001'
,
()
=>
import
(
'@pages/human-resource/hremployee-v-001/hremployee-v-001.vue'
));
Vue
.
component
(
'hrorganization-edit-view'
,
()
=>
import
(
'@pages/base/hrorganization-edit-view/hrorganization-edit-view.vue'
));
Vue
.
component
(
'hromhierarchy-cat-grid-view'
,
()
=>
import
(
'@pages/base/hromhierarchy-cat-grid-view/hromhierarchy-cat-grid-view.vue'
));
Vue
.
component
(
'hremployee-v-001'
,
()
=>
import
(
'@pages/human-resource/hremployee-v-001/hremployee-v-001.vue'
));
Vue
.
component
(
'hrpost-rel-v-001'
,
()
=>
import
(
'@pages/human-resource/hrpost-rel-v-001/hrpost-rel-v-001.vue'
));
Vue
.
component
(
'hrtransfer-apply-wfdyna-edit-view'
,
()
=>
import
(
'@pages/pcm/hrtransfer-apply-wfdyna-edit-view/hrtransfer-apply-wfdyna-edit-view.vue'
));
Vue
.
component
(
'hrtransfer-apply-v-002'
,
()
=>
import
(
'@pages/pcm/hrtransfer-apply-v-002/hrtransfer-apply-v-002.vue'
));
Vue
.
component
(
'hrtransfer-apply-wfdyna-edit-view'
,
()
=>
import
(
'@pages/pcm/hrtransfer-apply-wfdyna-edit-view/hrtransfer-apply-wfdyna-edit-view.vue'
));
Vue
.
component
(
'hrresearch-grid-view'
,
()
=>
import
(
'@pages/human-resource/hrresearch-grid-view/hrresearch-grid-view.vue'
));
Vue
.
component
(
'hrtransfer-apply-grid-view'
,
()
=>
import
(
'@pages/pcm/hrtransfer-apply-grid-view/hrtransfer-apply-grid-view.vue'
));
Vue
.
component
(
'hrpost-v-003'
,
()
=>
import
(
'@pages/human-resource/hrpost-v-003/hrpost-v-003.vue'
));
Vue
.
component
(
'hremployee-grid-view'
,
()
=>
import
(
'@pages/human-resource/hremployee-grid-view/hremployee-grid-view.vue'
));
Vue
.
component
(
'hrtransfer-apply-grid-view'
,
()
=>
import
(
'@pages/pcm/hrtransfer-apply-grid-view/hrtransfer-apply-grid-view.vue'
));
Vue
.
component
(
'hrduty-v-002'
,
()
=>
import
(
'@pages/human-resource/hrduty-v-002/hrduty-v-002.vue'
));
Vue
.
component
(
'hromhierarchy-cat-pickup-grid-view'
,
()
=>
import
(
'@pages/base/hromhierarchy-cat-pickup-grid-view/hromhierarchy-cat-pickup-grid-view.vue'
));
Vue
.
component
(
'hrcontract-v-004'
,
()
=>
import
(
'@pages/human-resource/hrcontract-v-004/hrcontract-v-004.vue'
));
Vue
.
component
(
'hrtransfer-apply-dashboard-view'
,
()
=>
import
(
'@pages/pcm/hrtransfer-apply-dashboard-view/hrtransfer-apply-dashboard-view.vue'
));
Vue
.
component
(
'hrcontract-v-004'
,
()
=>
import
(
'@pages/human-resource/hrcontract-v-004/hrcontract-v-004.vue'
));
Vue
.
component
(
'hromhierarchy-cat-pickup-view'
,
()
=>
import
(
'@pages/base/hromhierarchy-cat-pickup-view/hromhierarchy-cat-pickup-view.vue'
));
Vue
.
component
(
'hremployee-v-007'
,
()
=>
import
(
'@pages/human-resource/hremployee-v-007/hremployee-v-007.vue'
));
Vue
.
component
(
'hrpost-v-005'
,
()
=>
import
(
'@pages/human-resource/hrpost-v-005/hrpost-v-005.vue'
));
...
...
@@ -84,14 +85,15 @@ export const PageComponents = {
Vue
.
component
(
'hremployee-tree-exp-view'
,
()
=>
import
(
'@pages/human-resource/hremployee-tree-exp-view/hremployee-tree-exp-view.vue'
));
Vue
.
component
(
'hremployee-tab-exp-view'
,
()
=>
import
(
'@pages/human-resource/hremployee-tab-exp-view/hremployee-tab-exp-view.vue'
));
Vue
.
component
(
'hrcontract-edit-view'
,
()
=>
import
(
'@pages/human-resource/hrcontract-edit-view/hrcontract-edit-view.vue'
));
Vue
.
component
(
'hrorganization-pickup-view'
,
()
=>
import
(
'@pages/base/hrorganization-pickup-view/hrorganization-pickup-view.vue'
));
Vue
.
component
(
'hromhierarchy-cat-dashboard-view'
,
()
=>
import
(
'@pages/base/hromhierarchy-cat-dashboard-view/hromhierarchy-cat-dashboard-view.vue'
));
Vue
.
component
(
'hrduty-edu-grid-view'
,
()
=>
import
(
'@pages/human-resource/hrduty-edu-grid-view/hrduty-edu-grid-view.vue'
));
Vue
.
component
(
'hrorganization-pickup-view'
,
()
=>
import
(
'@pages/base/hrorganization-pickup-view/hrorganization-pickup-view.vue'
));
Vue
.
component
(
'hroperation-unit-tab-exp-view'
,
()
=>
import
(
'@pages/base/hroperation-unit-tab-exp-view/hroperation-unit-tab-exp-view.vue'
));
Vue
.
component
(
'hrlanguage-ability-grid-view'
,
()
=>
import
(
'@pages/human-resource/hrlanguage-ability-grid-view/hrlanguage-ability-grid-view.vue'
));
Vue
.
component
(
'hrorg-address-grid-view'
,
()
=>
import
(
'@pages/base/hrorg-address-grid-view/hrorg-address-grid-view.vue'
));
Vue
.
component
(
'hrreward-edit-view'
,
()
=>
import
(
'@pages/human-resource/hrreward-edit-view/hrreward-edit-view.vue'
));
Vue
.
component
(
'hrduty-cert-v-001'
,
()
=>
import
(
'@pages/human-resource/hrduty-cert-v-001/hrduty-cert-v-001.vue'
));
Vue
.
component
(
'hrcertificate-v-004'
,
()
=>
import
(
'@pages/human-resource/hrcertificate-v-004/hrcertificate-v-004.vue'
));
Vue
.
component
(
'hrlegal-dashboard-view'
,
()
=>
import
(
'@pages/base/hrlegal-dashboard-view/hrlegal-dashboard-view.vue'
));
Vue
.
component
(
'hrlegal-v-001'
,
()
=>
import
(
'@pages/base/hrlegal-v-001/hrlegal-v-001.vue'
));
Vue
.
component
(
'hrwork-record-grid-view'
,
()
=>
import
(
'@pages/human-resource/hrwork-record-grid-view/hrwork-record-grid-view.vue'
));
...
...
@@ -124,8 +126,10 @@ export const PageComponents = {
Vue
.
component
(
'hrdistribution-grid-view'
,
()
=>
import
(
'@pages/human-resource/hrdistribution-grid-view/hrdistribution-grid-view.vue'
));
Vue
.
component
(
'hrarchives-edit-view'
,
()
=>
import
(
'@pages/human-resource/hrarchives-edit-view/hrarchives-edit-view.vue'
));
Vue
.
component
(
'hromhierarchy-pickup-grid-view'
,
()
=>
import
(
'@pages/base/hromhierarchy-pickup-grid-view/hromhierarchy-pickup-grid-view.vue'
));
Vue
.
component
(
'hrcertificate-tab-exp-view'
,
()
=>
import
(
'@pages/human-resource/hrcertificate-tab-exp-view/hrcertificate-tab-exp-view.vue'
));
Vue
.
component
(
'hrdistribution-v-001'
,
()
=>
import
(
'@pages/human-resource/hrdistribution-v-001/hrdistribution-v-001.vue'
));
Vue
.
component
(
'hrtransfer-apply-v-004'
,
()
=>
import
(
'@pages/pcm/hrtransfer-apply-v-004/hrtransfer-apply-v-004.vue'
));
Vue
.
component
(
'hrcertificate-v-003'
,
()
=>
import
(
'@pages/human-resource/hrcertificate-v-003/hrcertificate-v-003.vue'
));
Vue
.
component
(
'hrtechnical-title-edit-view'
,
()
=>
import
(
'@pages/human-resource/hrtechnical-title-edit-view/hrtechnical-title-edit-view.vue'
));
}
};
\ No newline at end of file
app_PIM/src/pages/ungroup/pim/router.ts
浏览文件 @
e9534484
...
...
@@ -502,6 +502,35 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/base/hrlegal-v-002/hrlegal-v-002.vue'
),
},
{
path
:
'hremployees/:hremployee?/hrcertificates/:hrcertificate?/v_006/:v_006?'
,
meta
:
{
caption
:
'entities.hrcertificate.views.v_006.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'pim'
,
parameterName
:
'pim'
},
{
pathName
:
'hremployees'
,
parameterName
:
'hremployee'
},
{
pathName
:
'hrcertificates'
,
parameterName
:
'hrcertificate'
},
{
pathName
:
'v_006'
,
parameterName
:
'v_006'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/human-resource/hrcertificate-v-006/hrcertificate-v-006.vue'
),
},
{
path
:
'hrcertificates/:hrcertificate?/v_006/:v_006?'
,
meta
:
{
caption
:
'entities.hrcertificate.views.v_006.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'pim'
,
parameterName
:
'pim'
},
{
pathName
:
'hrcertificates'
,
parameterName
:
'hrcertificate'
},
{
pathName
:
'v_006'
,
parameterName
:
'v_006'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/human-resource/hrcertificate-v-006/hrcertificate-v-006.vue'
),
},
{
path
:
'hremployees/:hremployee?/hrcontracts/:hrcontract?/tabexpview/:tabexpview?'
,
meta
:
{
...
...
@@ -688,20 +717,6 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/human-resource/hrarchives-grid-view/hrarchives-grid-view.vue'
),
},
{
path
:
'hremployees/:hremployee?/v_001/:v_001?'
,
meta
:
{
caption
:
'entities.hremployee.views.v_001.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'pim'
,
parameterName
:
'pim'
},
{
pathName
:
'hremployees'
,
parameterName
:
'hremployee'
},
{
pathName
:
'v_001'
,
parameterName
:
'v_001'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/human-resource/hremployee-v-001/hremployee-v-001.vue'
),
},
{
path
:
'hrorganizations/:hrorganization?/editview/:editview?'
,
meta
:
{
...
...
@@ -730,6 +745,20 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/base/hromhierarchy-cat-grid-view/hromhierarchy-cat-grid-view.vue'
),
},
{
path
:
'hremployees/:hremployee?/v_001/:v_001?'
,
meta
:
{
caption
:
'entities.hremployee.views.v_001.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'pim'
,
parameterName
:
'pim'
},
{
pathName
:
'hremployees'
,
parameterName
:
'hremployee'
},
{
pathName
:
'v_001'
,
parameterName
:
'v_001'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/human-resource/hremployee-v-001/hremployee-v-001.vue'
),
},
{
path
:
'hrposts/:hrpost?/hrpostrels/:hrpostrel?/v_001/:v_001?'
,
meta
:
{
...
...
@@ -760,122 +789,122 @@ const router = new Router({
component
:
()
=>
import
(
'@pages/human-resource/hrpost-rel-v-001/hrpost-rel-v-001.vue'
),
},
{
path
:
'hrposts/:hrpost?/hrtransferapplies/:hrtransferapply?/
wfdynaeditview/:wfdynaeditview
?'
,
path
:
'hrposts/:hrpost?/hrtransferapplies/:hrtransferapply?/
v_002/:v_002
?'
,
meta
:
{
caption
:
'entities.hrtransferapply.views.
wfdynaeditview
.title'
,
caption
:
'entities.hrtransferapply.views.
v_002
.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'pim'
,
parameterName
:
'pim'
},
{
pathName
:
'hrposts'
,
parameterName
:
'hrpost'
},
{
pathName
:
'hrtransferapplies'
,
parameterName
:
'hrtransferapply'
},
{
pathName
:
'
wfdynaeditview'
,
parameterName
:
'wfdynaeditview
'
},
{
pathName
:
'
v_002'
,
parameterName
:
'v_002
'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/pcm/hrtransfer-apply-
wfdyna-edit-view/hrtransfer-apply-wfdyna-edit-view
.vue'
),
component
:
()
=>
import
(
'@pages/pcm/hrtransfer-apply-
v-002/hrtransfer-apply-v-002
.vue'
),
},
{
path
:
'hremployees/:hremployee?/hrtransferapplies/:hrtransferapply?/
wfdynaeditview/:wfdynaeditview
?'
,
path
:
'hremployees/:hremployee?/hrtransferapplies/:hrtransferapply?/
v_002/:v_002
?'
,
meta
:
{
caption
:
'entities.hrtransferapply.views.
wfdynaeditview
.title'
,
caption
:
'entities.hrtransferapply.views.
v_002
.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'pim'
,
parameterName
:
'pim'
},
{
pathName
:
'hremployees'
,
parameterName
:
'hremployee'
},
{
pathName
:
'hrtransferapplies'
,
parameterName
:
'hrtransferapply'
},
{
pathName
:
'
wfdynaeditview'
,
parameterName
:
'wfdynaeditview
'
},
{
pathName
:
'
v_002'
,
parameterName
:
'v_002
'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/pcm/hrtransfer-apply-
wfdyna-edit-view/hrtransfer-apply-wfdyna-edit-view
.vue'
),
component
:
()
=>
import
(
'@pages/pcm/hrtransfer-apply-
v-002/hrtransfer-apply-v-002
.vue'
),
},
{
path
:
'hrorganizations/:hrorganization?/hrtransferapplies/:hrtransferapply?/
wfdynaeditview/:wfdynaeditview
?'
,
path
:
'hrorganizations/:hrorganization?/hrtransferapplies/:hrtransferapply?/
v_002/:v_002
?'
,
meta
:
{
caption
:
'entities.hrtransferapply.views.
wfdynaeditview
.title'
,
caption
:
'entities.hrtransferapply.views.
v_002
.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'pim'
,
parameterName
:
'pim'
},
{
pathName
:
'hrorganizations'
,
parameterName
:
'hrorganization'
},
{
pathName
:
'hrtransferapplies'
,
parameterName
:
'hrtransferapply'
},
{
pathName
:
'
wfdynaeditview'
,
parameterName
:
'wfdynaeditview
'
},
{
pathName
:
'
v_002'
,
parameterName
:
'v_002
'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/pcm/hrtransfer-apply-
wfdyna-edit-view/hrtransfer-apply-wfdyna-edit-view
.vue'
),
component
:
()
=>
import
(
'@pages/pcm/hrtransfer-apply-
v-002/hrtransfer-apply-v-002
.vue'
),
},
{
path
:
'hrtransferapplies/:hrtransferapply?/
wfdynaeditview/:wfdynaeditview
?'
,
path
:
'hrtransferapplies/:hrtransferapply?/
v_002/:v_002
?'
,
meta
:
{
caption
:
'entities.hrtransferapply.views.
wfdynaeditview
.title'
,
caption
:
'entities.hrtransferapply.views.
v_002
.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'pim'
,
parameterName
:
'pim'
},
{
pathName
:
'hrtransferapplies'
,
parameterName
:
'hrtransferapply'
},
{
pathName
:
'
wfdynaeditview'
,
parameterName
:
'wfdynaeditview
'
},
{
pathName
:
'
v_002'
,
parameterName
:
'v_002
'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/pcm/hrtransfer-apply-
wfdyna-edit-view/hrtransfer-apply-wfdyna-edit-view
.vue'
),
component
:
()
=>
import
(
'@pages/pcm/hrtransfer-apply-
v-002/hrtransfer-apply-v-002
.vue'
),
},
{
path
:
'hrposts/:hrpost?/hrtransferapplies/:hrtransferapply?/
v_002/:v_002
?'
,
path
:
'hrposts/:hrpost?/hrtransferapplies/:hrtransferapply?/
wfdynaeditview/:wfdynaeditview
?'
,
meta
:
{
caption
:
'entities.hrtransferapply.views.
v_002
.title'
,
caption
:
'entities.hrtransferapply.views.
wfdynaeditview
.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'pim'
,
parameterName
:
'pim'
},
{
pathName
:
'hrposts'
,
parameterName
:
'hrpost'
},
{
pathName
:
'hrtransferapplies'
,
parameterName
:
'hrtransferapply'
},
{
pathName
:
'
v_002'
,
parameterName
:
'v_002
'
},
{
pathName
:
'
wfdynaeditview'
,
parameterName
:
'wfdynaeditview
'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/pcm/hrtransfer-apply-
v-002/hrtransfer-apply-v-002
.vue'
),
component
:
()
=>
import
(
'@pages/pcm/hrtransfer-apply-
wfdyna-edit-view/hrtransfer-apply-wfdyna-edit-view
.vue'
),
},
{
path
:
'hremployees/:hremployee?/hrtransferapplies/:hrtransferapply?/
v_002/:v_002
?'
,
path
:
'hremployees/:hremployee?/hrtransferapplies/:hrtransferapply?/
wfdynaeditview/:wfdynaeditview
?'
,
meta
:
{
caption
:
'entities.hrtransferapply.views.
v_002
.title'
,
caption
:
'entities.hrtransferapply.views.
wfdynaeditview
.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'pim'
,
parameterName
:
'pim'
},
{
pathName
:
'hremployees'
,
parameterName
:
'hremployee'
},
{
pathName
:
'hrtransferapplies'
,
parameterName
:
'hrtransferapply'
},
{
pathName
:
'
v_002'
,
parameterName
:
'v_002
'
},
{
pathName
:
'
wfdynaeditview'
,
parameterName
:
'wfdynaeditview
'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/pcm/hrtransfer-apply-
v-002/hrtransfer-apply-v-002
.vue'
),
component
:
()
=>
import
(
'@pages/pcm/hrtransfer-apply-
wfdyna-edit-view/hrtransfer-apply-wfdyna-edit-view
.vue'
),
},
{
path
:
'hrorganizations/:hrorganization?/hrtransferapplies/:hrtransferapply?/
v_002/:v_002
?'
,
path
:
'hrorganizations/:hrorganization?/hrtransferapplies/:hrtransferapply?/
wfdynaeditview/:wfdynaeditview
?'
,
meta
:
{
caption
:
'entities.hrtransferapply.views.
v_002
.title'
,
caption
:
'entities.hrtransferapply.views.
wfdynaeditview
.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'pim'
,
parameterName
:
'pim'
},
{
pathName
:
'hrorganizations'
,
parameterName
:
'hrorganization'
},
{
pathName
:
'hrtransferapplies'
,
parameterName
:
'hrtransferapply'
},
{
pathName
:
'
v_002'
,
parameterName
:
'v_002
'
},
{
pathName
:
'
wfdynaeditview'
,
parameterName
:
'wfdynaeditview
'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/pcm/hrtransfer-apply-
v-002/hrtransfer-apply-v-002
.vue'
),
component
:
()
=>
import
(
'@pages/pcm/hrtransfer-apply-
wfdyna-edit-view/hrtransfer-apply-wfdyna-edit-view
.vue'
),
},
{
path
:
'hrtransferapplies/:hrtransferapply?/
v_002/:v_002
?'
,
path
:
'hrtransferapplies/:hrtransferapply?/
wfdynaeditview/:wfdynaeditview
?'
,
meta
:
{
caption
:
'entities.hrtransferapply.views.
v_002
.title'
,
caption
:
'entities.hrtransferapply.views.
wfdynaeditview
.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'pim'
,
parameterName
:
'pim'
},
{
pathName
:
'hrtransferapplies'
,
parameterName
:
'hrtransferapply'
},
{
pathName
:
'
v_002'
,
parameterName
:
'v_002
'
},
{
pathName
:
'
wfdynaeditview'
,
parameterName
:
'wfdynaeditview
'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/pcm/hrtransfer-apply-
v-002/hrtransfer-apply-v-002
.vue'
),
component
:
()
=>
import
(
'@pages/pcm/hrtransfer-apply-
wfdyna-edit-view/hrtransfer-apply-wfdyna-edit-view
.vue'
),
},
{
path
:
'hremployees/:hremployee?/hrresearches/:hrresearch?/gridview/:gridview?'
,
...
...
@@ -907,41 +936,43 @@ const router = new Router({
component
:
()
=>
import
(
'@pages/human-resource/hrresearch-grid-view/hrresearch-grid-view.vue'
),
},
{
path
:
'hrposts/:hrpost?/
v_003/:v_003
?'
,
path
:
'hrposts/:hrpost?/
hrtransferapplies/:hrtransferapply?/gridview/:gridview
?'
,
meta
:
{
caption
:
'entities.hr
post.views.v_003
.title'
,
caption
:
'entities.hr
transferapply.views.gridview
.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'pim'
,
parameterName
:
'pim'
},
{
pathName
:
'hrposts'
,
parameterName
:
'hrpost'
},
{
pathName
:
'v_003'
,
parameterName
:
'v_003'
},
{
pathName
:
'hrtransferapplies'
,
parameterName
:
'hrtransferapply'
},
{
pathName
:
'gridview'
,
parameterName
:
'gridview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/
human-resource/hrpost-v-003/hrpost-v-003
.vue'
),
component
:
()
=>
import
(
'@pages/
pcm/hrtransfer-apply-grid-view/hrtransfer-apply-grid-view
.vue'
),
},
{
path
:
'hremployees/:hremployee?/gridview/:gridview?'
,
path
:
'hremployees/:hremployee?/
hrtransferapplies/:hrtransferapply?/
gridview/:gridview?'
,
meta
:
{
caption
:
'entities.hr
employee
.views.gridview.title'
,
caption
:
'entities.hr
transferapply
.views.gridview.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'pim'
,
parameterName
:
'pim'
},
{
pathName
:
'hremployees'
,
parameterName
:
'hremployee'
},
{
pathName
:
'hrtransferapplies'
,
parameterName
:
'hrtransferapply'
},
{
pathName
:
'gridview'
,
parameterName
:
'gridview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/
human-resource/hremployee-grid-view/hremployee
-grid-view.vue'
),
component
:
()
=>
import
(
'@pages/
pcm/hrtransfer-apply-grid-view/hrtransfer-apply
-grid-view.vue'
),
},
{
path
:
'hr
posts/:hrpost
?/hrtransferapplies/:hrtransferapply?/gridview/:gridview?'
,
path
:
'hr
organizations/:hrorganization
?/hrtransferapplies/:hrtransferapply?/gridview/:gridview?'
,
meta
:
{
caption
:
'entities.hrtransferapply.views.gridview.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'pim'
,
parameterName
:
'pim'
},
{
pathName
:
'hr
posts'
,
parameterName
:
'hrpost
'
},
{
pathName
:
'hr
organizations'
,
parameterName
:
'hrorganization
'
},
{
pathName
:
'hrtransferapplies'
,
parameterName
:
'hrtransferapply'
},
{
pathName
:
'gridview'
,
parameterName
:
'gridview'
},
],
...
...
@@ -950,13 +981,12 @@ const router = new Router({
component
:
()
=>
import
(
'@pages/pcm/hrtransfer-apply-grid-view/hrtransfer-apply-grid-view.vue'
),
},
{
path
:
'hr
employees/:hremployee?/hr
transferapplies/:hrtransferapply?/gridview/:gridview?'
,
path
:
'hrtransferapplies/:hrtransferapply?/gridview/:gridview?'
,
meta
:
{
caption
:
'entities.hrtransferapply.views.gridview.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'pim'
,
parameterName
:
'pim'
},
{
pathName
:
'hremployees'
,
parameterName
:
'hremployee'
},
{
pathName
:
'hrtransferapplies'
,
parameterName
:
'hrtransferapply'
},
{
pathName
:
'gridview'
,
parameterName
:
'gridview'
},
],
...
...
@@ -965,33 +995,32 @@ const router = new Router({
component
:
()
=>
import
(
'@pages/pcm/hrtransfer-apply-grid-view/hrtransfer-apply-grid-view.vue'
),
},
{
path
:
'hr
organizations/:hrorganization?/hrtransferapplies/:hrtransferapply?/gridview/:gridview
?'
,
path
:
'hr
posts/:hrpost?/v_003/:v_003
?'
,
meta
:
{
caption
:
'entities.hr
transferapply.views.gridview
.title'
,
caption
:
'entities.hr
post.views.v_003
.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'pim'
,
parameterName
:
'pim'
},
{
pathName
:
'hrorganizations'
,
parameterName
:
'hrorganization'
},
{
pathName
:
'hrtransferapplies'
,
parameterName
:
'hrtransferapply'
},
{
pathName
:
'gridview'
,
parameterName
:
'gridview'
},
{
pathName
:
'hrposts'
,
parameterName
:
'hrpost'
},
{
pathName
:
'v_003'
,
parameterName
:
'v_003'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/
pcm/hrtransfer-apply-grid-view/hrtransfer-apply-grid-view
.vue'
),
component
:
()
=>
import
(
'@pages/
human-resource/hrpost-v-003/hrpost-v-003
.vue'
),
},
{
path
:
'hr
transferapplies/:hrtransferapply
?/gridview/:gridview?'
,
path
:
'hr
employees/:hremployee
?/gridview/:gridview?'
,
meta
:
{
caption
:
'entities.hr
transferapply
.views.gridview.title'
,
caption
:
'entities.hr
employee
.views.gridview.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'pim'
,
parameterName
:
'pim'
},
{
pathName
:
'hr
transferapplies'
,
parameterName
:
'hrtransferapply
'
},
{
pathName
:
'hr
employees'
,
parameterName
:
'hremployee
'
},
{
pathName
:
'gridview'
,
parameterName
:
'gridview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/
pcm/hrtransfer-apply-grid-view/hrtransfer-apply
-grid-view.vue'
),
component
:
()
=>
import
(
'@pages/
human-resource/hremployee-grid-view/hremployee
-grid-view.vue'
),
},
{
path
:
'hrduties/:hrduty?/v_002/:v_002?'
,
...
...
@@ -1022,42 +1051,43 @@ const router = new Router({
component
:
()
=>
import
(
'@pages/base/hromhierarchy-cat-pickup-grid-view/hromhierarchy-cat-pickup-grid-view.vue'
),
},
{
path
:
'hr
employees/:hremployee?/hrcontracts/:hrcontract?/v_004/:v_004
?'
,
path
:
'hr
posts/:hrpost?/hrtransferapplies/:hrtransferapply?/dashboardview/:dashboardview
?'
,
meta
:
{
caption
:
'entities.hr
contract.views.v_004
.title'
,
caption
:
'entities.hr
transferapply.views.dashboardview
.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'pim'
,
parameterName
:
'pim'
},
{
pathName
:
'hr
employees'
,
parameterName
:
'hremployee
'
},
{
pathName
:
'hr
contracts'
,
parameterName
:
'hrcontract
'
},
{
pathName
:
'
v_004'
,
parameterName
:
'v_004
'
},
{
pathName
:
'hr
posts'
,
parameterName
:
'hrpost
'
},
{
pathName
:
'hr
transferapplies'
,
parameterName
:
'hrtransferapply
'
},
{
pathName
:
'
dashboardview'
,
parameterName
:
'dashboardview
'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/
human-resource/hrcontract-v-004/hrcontract-v-004
.vue'
),
component
:
()
=>
import
(
'@pages/
pcm/hrtransfer-apply-dashboard-view/hrtransfer-apply-dashboard-view
.vue'
),
},
{
path
:
'hr
contracts/:hrcontract?/v_004/:v_004
?'
,
path
:
'hr
employees/:hremployee?/hrtransferapplies/:hrtransferapply?/dashboardview/:dashboardview
?'
,
meta
:
{
caption
:
'entities.hr
contract.views.v_004
.title'
,
caption
:
'entities.hr
transferapply.views.dashboardview
.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'pim'
,
parameterName
:
'pim'
},
{
pathName
:
'hrcontracts'
,
parameterName
:
'hrcontract'
},
{
pathName
:
'v_004'
,
parameterName
:
'v_004'
},
{
pathName
:
'hremployees'
,
parameterName
:
'hremployee'
},
{
pathName
:
'hrtransferapplies'
,
parameterName
:
'hrtransferapply'
},
{
pathName
:
'dashboardview'
,
parameterName
:
'dashboardview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/
human-resource/hrcontract-v-004/hrcontract-v-004
.vue'
),
component
:
()
=>
import
(
'@pages/
pcm/hrtransfer-apply-dashboard-view/hrtransfer-apply-dashboard-view
.vue'
),
},
{
path
:
'hr
posts/:hrpost
?/hrtransferapplies/:hrtransferapply?/dashboardview/:dashboardview?'
,
path
:
'hr
organizations/:hrorganization
?/hrtransferapplies/:hrtransferapply?/dashboardview/:dashboardview?'
,
meta
:
{
caption
:
'entities.hrtransferapply.views.dashboardview.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'pim'
,
parameterName
:
'pim'
},
{
pathName
:
'hr
posts'
,
parameterName
:
'hrpost
'
},
{
pathName
:
'hr
organizations'
,
parameterName
:
'hrorganization
'
},
{
pathName
:
'hrtransferapplies'
,
parameterName
:
'hrtransferapply'
},
{
pathName
:
'dashboardview'
,
parameterName
:
'dashboardview'
},
],
...
...
@@ -1066,13 +1096,12 @@ const router = new Router({
component
:
()
=>
import
(
'@pages/pcm/hrtransfer-apply-dashboard-view/hrtransfer-apply-dashboard-view.vue'
),
},
{
path
:
'hr
employees/:hremployee?/hr
transferapplies/:hrtransferapply?/dashboardview/:dashboardview?'
,
path
:
'hrtransferapplies/:hrtransferapply?/dashboardview/:dashboardview?'
,
meta
:
{
caption
:
'entities.hrtransferapply.views.dashboardview.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'pim'
,
parameterName
:
'pim'
},
{
pathName
:
'hremployees'
,
parameterName
:
'hremployee'
},
{
pathName
:
'hrtransferapplies'
,
parameterName
:
'hrtransferapply'
},
{
pathName
:
'dashboardview'
,
parameterName
:
'dashboardview'
},
],
...
...
@@ -1081,33 +1110,33 @@ const router = new Router({
component
:
()
=>
import
(
'@pages/pcm/hrtransfer-apply-dashboard-view/hrtransfer-apply-dashboard-view.vue'
),
},
{
path
:
'hr
organizations/:hrorganization?/hrtransferapplies/:hrtransferapply?/dashboardview/:dashboardview
?'
,
path
:
'hr
employees/:hremployee?/hrcontracts/:hrcontract?/v_004/:v_004
?'
,
meta
:
{
caption
:
'entities.hr
transferapply.views.dashboardview
.title'
,
caption
:
'entities.hr
contract.views.v_004
.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'pim'
,
parameterName
:
'pim'
},
{
pathName
:
'hr
organizations'
,
parameterName
:
'hrorganization
'
},
{
pathName
:
'hr
transferapplies'
,
parameterName
:
'hrtransferapply
'
},
{
pathName
:
'
dashboardview'
,
parameterName
:
'dashboardview
'
},
{
pathName
:
'hr
employees'
,
parameterName
:
'hremployee
'
},
{
pathName
:
'hr
contracts'
,
parameterName
:
'hrcontract
'
},
{
pathName
:
'
v_004'
,
parameterName
:
'v_004
'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/
pcm/hrtransfer-apply-dashboard-view/hrtransfer-apply-dashboard-view
.vue'
),
component
:
()
=>
import
(
'@pages/
human-resource/hrcontract-v-004/hrcontract-v-004
.vue'
),
},
{
path
:
'hr
transferapplies/:hrtransferapply?/dashboardview/:dashboardview
?'
,
path
:
'hr
contracts/:hrcontract?/v_004/:v_004
?'
,
meta
:
{
caption
:
'entities.hr
transferapply.views.dashboardview
.title'
,
caption
:
'entities.hr
contract.views.v_004
.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'pim'
,
parameterName
:
'pim'
},
{
pathName
:
'hr
transferapplies'
,
parameterName
:
'hrtransferapply
'
},
{
pathName
:
'
dashboardview'
,
parameterName
:
'dashboardview
'
},
{
pathName
:
'hr
contracts'
,
parameterName
:
'hrcontract
'
},
{
pathName
:
'
v_004'
,
parameterName
:
'v_004
'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/
pcm/hrtransfer-apply-dashboard-view/hrtransfer-apply-dashboard-view
.vue'
),
component
:
()
=>
import
(
'@pages/
human-resource/hrcontract-v-004/hrcontract-v-004
.vue'
),
},
{
path
:
'hromhierarchycats/:hromhierarchycat?/pickupview/:pickupview?'
,
...
...
@@ -2104,20 +2133,6 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/human-resource/hrcontract-edit-view/hrcontract-edit-view.vue'
),
},
{
path
:
'hrorganizations/:hrorganization?/pickupview/:pickupview?'
,
meta
:
{
caption
:
'entities.hrorganization.views.pickupview.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'pim'
,
parameterName
:
'pim'
},
{
pathName
:
'hrorganizations'
,
parameterName
:
'hrorganization'
},
{
pathName
:
'pickupview'
,
parameterName
:
'pickupview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/base/hrorganization-pickup-view/hrorganization-pickup-view.vue'
),
},
{
path
:
'hromhierarchycats/:hromhierarchycat?/dashboardview/:dashboardview?'
,
meta
:
{
...
...
@@ -2161,6 +2176,20 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/human-resource/hrduty-edu-grid-view/hrduty-edu-grid-view.vue'
),
},
{
path
:
'hrorganizations/:hrorganization?/pickupview/:pickupview?'
,
meta
:
{
caption
:
'entities.hrorganization.views.pickupview.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'pim'
,
parameterName
:
'pim'
},
{
pathName
:
'hrorganizations'
,
parameterName
:
'hrorganization'
},
{
pathName
:
'pickupview'
,
parameterName
:
'pickupview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/base/hrorganization-pickup-view/hrorganization-pickup-view.vue'
),
},
{
path
:
'hroperationunits/:hroperationunit?/tabexpview/:tabexpview?'
,
meta
:
{
...
...
@@ -2306,6 +2335,35 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/human-resource/hrduty-cert-v-001/hrduty-cert-v-001.vue'
),
},
{
path
:
'hremployees/:hremployee?/hrcertificates/:hrcertificate?/v_004/:v_004?'
,
meta
:
{
caption
:
'entities.hrcertificate.views.v_004.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'pim'
,
parameterName
:
'pim'
},
{
pathName
:
'hremployees'
,
parameterName
:
'hremployee'
},
{
pathName
:
'hrcertificates'
,
parameterName
:
'hrcertificate'
},
{
pathName
:
'v_004'
,
parameterName
:
'v_004'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/human-resource/hrcertificate-v-004/hrcertificate-v-004.vue'
),
},
{
path
:
'hrcertificates/:hrcertificate?/v_004/:v_004?'
,
meta
:
{
caption
:
'entities.hrcertificate.views.v_004.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'pim'
,
parameterName
:
'pim'
},
{
pathName
:
'hrcertificates'
,
parameterName
:
'hrcertificate'
},
{
pathName
:
'v_004'
,
parameterName
:
'v_004'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/human-resource/hrcertificate-v-004/hrcertificate-v-004.vue'
),
},
{
path
:
'hrlegals/:hrlegal?/dashboardview/:dashboardview?'
,
meta
:
{
...
...
@@ -3279,6 +3337,35 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/base/hromhierarchy-pickup-grid-view/hromhierarchy-pickup-grid-view.vue'
),
},
{
path
:
'hremployees/:hremployee?/hrcertificates/:hrcertificate?/tabexpview/:tabexpview?'
,
meta
:
{
caption
:
'entities.hrcertificate.views.tabexpview.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'pim'
,
parameterName
:
'pim'
},
{
pathName
:
'hremployees'
,
parameterName
:
'hremployee'
},
{
pathName
:
'hrcertificates'
,
parameterName
:
'hrcertificate'
},
{
pathName
:
'tabexpview'
,
parameterName
:
'tabexpview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/human-resource/hrcertificate-tab-exp-view/hrcertificate-tab-exp-view.vue'
),
},
{
path
:
'hrcertificates/:hrcertificate?/tabexpview/:tabexpview?'
,
meta
:
{
caption
:
'entities.hrcertificate.views.tabexpview.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'pim'
,
parameterName
:
'pim'
},
{
pathName
:
'hrcertificates'
,
parameterName
:
'hrcertificate'
},
{
pathName
:
'tabexpview'
,
parameterName
:
'tabexpview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/human-resource/hrcertificate-tab-exp-view/hrcertificate-tab-exp-view.vue'
),
},
{
path
:
'hrposts/:hrpost?/hrdistributions/:hrdistribution?/v_001/:v_001?'
,
meta
:
{
...
...
@@ -3382,6 +3469,35 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/pcm/hrtransfer-apply-v-004/hrtransfer-apply-v-004.vue'
),
},
{
path
:
'hremployees/:hremployee?/hrcertificates/:hrcertificate?/v_003/:v_003?'
,
meta
:
{
caption
:
'entities.hrcertificate.views.v_003.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'pim'
,
parameterName
:
'pim'
},
{
pathName
:
'hremployees'
,
parameterName
:
'hremployee'
},
{
pathName
:
'hrcertificates'
,
parameterName
:
'hrcertificate'
},
{
pathName
:
'v_003'
,
parameterName
:
'v_003'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/human-resource/hrcertificate-v-003/hrcertificate-v-003.vue'
),
},
{
path
:
'hrcertificates/:hrcertificate?/v_003/:v_003?'
,
meta
:
{
caption
:
'entities.hrcertificate.views.v_003.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'pim'
,
parameterName
:
'pim'
},
{
pathName
:
'hrcertificates'
,
parameterName
:
'hrcertificate'
},
{
pathName
:
'v_003'
,
parameterName
:
'v_003'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/human-resource/hrcertificate-v-003/hrcertificate-v-003.vue'
),
},
{
path
:
'hremployees/:hremployee?/hrtechnicaltitles/:hrtechnicaltitle?/editview/:editview?'
,
meta
:
{
...
...
app_PIM/src/store/modules/view-action/state.ts
浏览文件 @
e9534484
...
...
@@ -197,6 +197,19 @@ export const viewstate: any = {
'ea230b5b872ed3d5cba7daa284278299'
,
],
},
{
viewtag
:
'1556b6299248ca949822a15645afc066'
,
viewmodule
:
'HumanResource'
,
viewname
:
'HRCertificateTabExpView'
,
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
'feb5aefc4a68523cdcd6dfcb3d658e3e'
,
'685cd7da1331d604d0382b8d64d90664'
,
'632257149a8a208534a693b9cb46ab05'
,
'6d7c584d45600193af8a7e54080767c8'
,
],
},
{
viewtag
:
'1780a9ed77fb97f2cc3852cfdc55c32c'
,
viewmodule
:
'Base'
,
...
...
@@ -391,7 +404,7 @@ export const viewstate: any = {
'71c5da4234a5c4d3e46c572556dd52d9'
,
'114f056047eddd92374e982356e59852'
,
'286e8ac9eca7b6eb8058fde93995db10'
,
'
685cd7da1331d604d0382b8d64d90664
'
,
'
1556b6299248ca949822a15645afc066
'
,
'bae1de77dc5bd2584e2dcf7201a06495'
,
'b9130f18de0b66cd31ecaddb5a841aae'
,
],
...
...
@@ -529,6 +542,16 @@ export const viewstate: any = {
refviews
:
[
],
},
{
viewtag
:
'632257149a8a208534a693b9cb46ab05'
,
viewmodule
:
'HumanResource'
,
viewname
:
'HRCertificateV_003'
,
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
'57dbe1035c2366090a02ceb7c8269ebb'
,
],
},
{
viewtag
:
'6395cba44e6d6151f19e543b55d88845'
,
viewmodule
:
'HumanResource'
,
...
...
@@ -599,6 +622,16 @@ export const viewstate: any = {
'd2411142d3398651fb50d214bcfc3e3d'
,
],
},
{
viewtag
:
'6d7c584d45600193af8a7e54080767c8'
,
viewmodule
:
'HumanResource'
,
viewname
:
'HRCertificateV_006'
,
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
'57dbe1035c2366090a02ceb7c8269ebb'
,
],
},
{
viewtag
:
'6fed66b17754f0251f020b82b375c009'
,
viewmodule
:
'HumanResource'
,
...
...
@@ -1353,6 +1386,16 @@ export const viewstate: any = {
'9a109700b8b076cc83d40cdfc6ce4f96'
,
],
},
{
viewtag
:
'feb5aefc4a68523cdcd6dfcb3d658e3e'
,
viewmodule
:
'HumanResource'
,
viewname
:
'HRCertificateV_004'
,
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
'57dbe1035c2366090a02ceb7c8269ebb'
,
],
},
],
createdviews
:
[],
}
\ No newline at end of file
app_PIM/src/widgets/app/pim-appmenu/pim-appmenu-base.tsx
浏览文件 @
e9534484
...
...
@@ -279,7 +279,7 @@ export class PIMBase extends Vue {
const
deResParameters
:
any
[]
=
[];
const
parameters
:
any
[]
=
[
{
pathName
:
'hrcertificates'
,
parameterName
:
'hrcertificate'
},
{
pathName
:
'
gridview'
,
parameterName
:
'grid
view'
},
{
pathName
:
'
tabexpview'
,
parameterName
:
'tabexp
view'
},
];
const
path
:
string
=
this
.
$viewTool
.
buildUpRoutePath
(
this
.
$route
,
{},
deResParameters
,
parameters
,
[],
viewparam
);
if
(
Object
.
is
(
this
.
$route
.
fullPath
,
path
)){
...
...
app_PIM/src/widgets/app/pim-appmenu/pim-appmenu-model.ts
浏览文件 @
e9534484
...
...
@@ -252,7 +252,7 @@ export default class PIMModel {
textcls
:
''
,
appfunctag
:
'_9'
,
appfuncyype
:
'APPVIEW'
,
viewname
:
'hrcertificate-
grid
-view'
,
viewname
:
'hrcertificate-
tab-exp
-view'
,
resourcetag
:
''
,
}
,
...
...
@@ -691,12 +691,12 @@ export default class PIMModel {
appfunctag
:
'_9'
,
appfuncyype
:
'APPVIEW'
,
openmode
:
''
,
codename
:
'hrcertificate
grid
view'
,
codename
:
'hrcertificate
tabexp
view'
,
deResParameters
:
[],
routepath
:
'/pim/:pim?/hrcertificates/:hrcertificate?/
gridview/:grid
view?'
,
routepath
:
'/pim/:pim?/hrcertificates/:hrcertificate?/
tabexpview/:tabexp
view?'
,
parameters
:
[
{
pathName
:
'hrcertificates'
,
parameterName
:
'hrcertificate'
},
{
pathName
:
'
gridview'
,
parameterName
:
'grid
view'
},
{
pathName
:
'
tabexpview'
,
parameterName
:
'tabexp
view'
},
],
},
{
...
...
app_PIM/src/widgets/hrcertificate/tab-exp-viewtabexppanel-tabexppanel/tab-exp-viewtabexppanel-tabexppanel-base.tsx
0 → 100644
浏览文件 @
e9534484
import
{
Prop
,
Provide
,
Emit
,
Model
}
from
'vue-property-decorator'
;
import
{
Subject
,
Subscription
}
from
'rxjs'
;
import
{
Watch
,
TabExpPanelControlBase
}
from
'@/studio-core'
;
import
HRCertificateService
from
'@/service/hrcertificate/hrcertificate-service'
;
import
TabExpViewtabexppanelService
from
'./tab-exp-viewtabexppanel-tabexppanel-service'
;
import
HRCertificateUIService
from
'@/uiservice/hrcertificate/hrcertificate-ui-service'
;
/**
* tabexppanel部件基类
*
* @export
* @class TabExpPanelControlBase
* @extends {TabExpViewtabexppanelTabexppanelBase}
*/
export
class
TabExpViewtabexppanelTabexppanelBase
extends
TabExpPanelControlBase
{
/**
* 获取部件类型
*
* @protected
* @type {string}
* @memberof TabExpViewtabexppanelTabexppanelBase
*/
protected
controlType
:
string
=
'TABEXPPANEL'
;
/**
* 建构部件服务对象
*
* @type {TabExpViewtabexppanelService}
* @memberof TabExpViewtabexppanelTabexppanelBase
*/
public
service
:
TabExpViewtabexppanelService
=
new
TabExpViewtabexppanelService
({
$store
:
this
.
$store
});
/**
* 实体服务对象
*
* @type {HRCertificateService}
* @memberof TabExpViewtabexppanelTabexppanelBase
*/
public
appEntityService
:
HRCertificateService
=
new
HRCertificateService
({
$store
:
this
.
$store
});
/**
* 应用实体名称
*
* @protected
* @type {string}
* @memberof TabExpViewtabexppanelTabexppanelBase
*/
protected
appDeName
:
string
=
'hrcertificate'
;
/**
* 应用实体中文名称
*
* @protected
* @type {string}
* @memberof TabExpViewtabexppanelTabexppanelBase
*/
protected
appDeLogicName
:
string
=
'证书信息'
;
/**
* 是否初始化
*
* @protected
* @returns {any}
* @memberof TabExpViewtabexppanel
*/
protected
isInit
:
any
=
{
tabviewpanel
:
true
,
tabviewpanel4
:
false
,
tabviewpanel3
:
false
,
tabviewpanel2
:
false
,
}
/**
* 被激活的分页面板
*
* @protected
* @type {string}
* @memberof TabExpViewtabexppanel
*/
protected
activatedTabViewPanel
:
string
=
'tabviewpanel'
;
/**
* 组件创建完毕
*
* @protected
* @memberof TabExpViewtabexppanel
*/
protected
ctrlCreated
():
void
{
//设置分页导航srfparentdename和srfparentkey
if
(
this
.
context
.
hrcertificate
)
{
Object
.
assign
(
this
.
context
,
{
srfparentdename
:
'HRCertificate'
,
srfparentkey
:
this
.
context
.
hrcertificate
});
}
super
.
ctrlCreated
();
}
}
\ No newline at end of file
app_PIM/src/widgets/hrcertificate/tab-exp-viewtabexppanel-tabexppanel/tab-exp-viewtabexppanel-tabexppanel-model.ts
0 → 100644
浏览文件 @
e9534484
/**
* TabExpViewtabexppanel 部件模型
*
* @export
* @class TabExpViewtabexppanelModel
*/
export
default
class
TabExpViewtabexppanelModel
{
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof TabExpViewtabexppanelModel
*/
public
getDataItems
():
any
[]
{
return
[
{
name
:
'hrcertificate'
,
prop
:
'hrcertificateid'
,
},
{
name
:
'hrcertificatename'
,
},
{
name
:
'createdate'
,
},
{
name
:
'updateman'
,
},
{
name
:
'createman'
,
},
{
name
:
'updatedate'
,
},
{
name
:
'hremployeeid'
,
},
{
name
:
'hremployeename'
,
},
{
name
:
'attachment'
,
},
{
name
:
'certificatecode'
,
},
{
name
:
'authorganization'
,
},
{
name
:
'authdate'
,
},
{
name
:
'expiredate'
,
},
{
name
:
'registercode'
,
},
{
name
:
'registertime'
,
},
{
name
:
'memo'
,
},
{
name
:
'registerorganizationid'
,
},
{
name
:
'registerorganizationname'
,
},
{
name
:
'employeecode'
,
},
{
name
:
'organizationname'
,
},
{
name
:
'organizationid'
,
},
{
name
:
'empstate'
,
},
{
name
:
'activeflag'
,
},
]
}
}
\ No newline at end of file
app_PIM/src/widgets/hrcertificate/tab-exp-viewtabexppanel-tabexppanel/tab-exp-viewtabexppanel-tabexppanel-service.ts
0 → 100644
浏览文件 @
e9534484
import
{
Http
,
Util
,
Errorlog
}
from
'@/utils'
;
import
ControlService
from
'@/widgets/control-service'
;
import
HRCertificateService
from
'@/service/hrcertificate/hrcertificate-service'
;
import
TabExpViewtabexppanelModel
from
'./tab-exp-viewtabexppanel-tabexppanel-model'
;
/**
* TabExpViewtabexppanel 部件服务对象
*
* @export
* @class TabExpViewtabexppanelService
*/
export
default
class
TabExpViewtabexppanelService
extends
ControlService
{
/**
* 证书信息服务对象
*
* @type {HRCertificateService}
* @memberof TabExpViewtabexppanelService
*/
public
appEntityService
:
HRCertificateService
=
new
HRCertificateService
({
$store
:
this
.
getStore
()
});
/**
* 设置从数据模式
*
* @type {boolean}
* @memberof TabExpViewtabexppanelService
*/
public
setTempMode
(){
this
.
isTempMode
=
false
;
}
/**
* Creates an instance of TabExpViewtabexppanelService.
*
* @param {*} [opts={}]
* @memberof TabExpViewtabexppanelService
*/
constructor
(
opts
:
any
=
{})
{
super
(
opts
);
this
.
model
=
new
TabExpViewtabexppanelModel
();
}
}
\ No newline at end of file
app_PIM/src/widgets/hrcertificate/tab-exp-viewtabexppanel-tabexppanel/tab-exp-viewtabexppanel-tabexppanel.html
0 → 100644
浏览文件 @
e9534484
<div
class=
'tabviewpanel'
>
<tabs
:value=
"activatedTabViewPanel"
:animated=
"false"
class=
'tabexppanel'
name=
'tabexpviewtabexppanel'
@
on-click=
"tabPanelClick($event)"
>
<tab-pane
:index=
"0"
name=
'tabviewpanel'
tab=
'tabexpviewtabexppanel'
class=
''
:label=
"(h) =>{
return h('div', [
h('i',{
class:'fa fa-certificate',
style:{
'margin-right' : '2px'
}
}),
h('span', '有效证书'),
h('Badge', {
props: {
count: undefined,
type: 'primary'
}
})
])
}"
>
<view
_tabviewpanel
:viewState=
"viewState"
:viewparams=
"JSON.parse(JSON.stringify(viewparams))"
:context=
"JSON.parse(JSON.stringify(context))"
v-if=
"isInit.tabviewpanel"
name=
"tabviewpanel"
ref=
'tabviewpanel'
:expActive=
"activatedTabViewPanel === 'tabviewpanel'"
@
viewpanelDatasChange =
"tabViewPanelDatasChange"
@
closeview=
"closeView($event)"
>
</view
_tabviewpanel
>
</tab-pane>
<tab-pane
:index=
"1"
name=
'tabviewpanel4'
tab=
'tabexpviewtabexppanel'
class=
''
:label=
"(h) =>{
return h('div', [
h('i',{
class:'fa fa-book',
style:{
'margin-right' : '2px'
}
}),
h('span', '全部证书'),
h('Badge', {
props: {
count: undefined,
type: 'primary'
}
})
])
}"
>
<view
_tabviewpanel4
:viewState=
"viewState"
:viewparams=
"JSON.parse(JSON.stringify(viewparams))"
:context=
"JSON.parse(JSON.stringify(context))"
v-if=
"isInit.tabviewpanel4"
name=
"tabviewpanel4"
ref=
'tabviewpanel4'
:expActive=
"activatedTabViewPanel === 'tabviewpanel4'"
@
viewpanelDatasChange =
"tabViewPanelDatasChange"
@
closeview=
"closeView($event)"
>
</view
_tabviewpanel4
>
</tab-pane>
<tab-pane
:index=
"2"
name=
'tabviewpanel3'
tab=
'tabexpviewtabexppanel'
class=
''
:label=
"(h) =>{
return h('div', [
h('i',{
class:'fa fa-circle-thin',
style:{
'margin-right' : '2px'
}
}),
h('span', '失效证书'),
h('Badge', {
props: {
count: undefined,
type: 'primary'
}
})
])
}"
>
<view
_tabviewpanel3
:viewState=
"viewState"
:viewparams=
"JSON.parse(JSON.stringify(viewparams))"
:context=
"JSON.parse(JSON.stringify(context))"
v-if=
"isInit.tabviewpanel3"
name=
"tabviewpanel3"
ref=
'tabviewpanel3'
:expActive=
"activatedTabViewPanel === 'tabviewpanel3'"
@
viewpanelDatasChange =
"tabViewPanelDatasChange"
@
closeview=
"closeView($event)"
>
</view
_tabviewpanel3
>
</tab-pane>
<tab-pane
:index=
"3"
name=
'tabviewpanel2'
tab=
'tabexpviewtabexppanel'
class=
''
:label=
"(h) =>{
return h('div', [
h('i',{
class:'fa fa-warning',
style:{
'margin-right' : '2px'
}
}),
h('span', '即将过期证书'),
h('Badge', {
props: {
count: undefined,
type: 'primary'
}
})
])
}"
>
<view
_tabviewpanel2
:viewState=
"viewState"
:viewparams=
"JSON.parse(JSON.stringify(viewparams))"
:context=
"JSON.parse(JSON.stringify(context))"
v-if=
"isInit.tabviewpanel2"
name=
"tabviewpanel2"
ref=
'tabviewpanel2'
:expActive=
"activatedTabViewPanel === 'tabviewpanel2'"
@
viewpanelDatasChange =
"tabViewPanelDatasChange"
@
closeview=
"closeView($event)"
>
</view
_tabviewpanel2
>
</tab-pane>
</tabs>
</div>
\ No newline at end of file
app_PIM/src/widgets/hrcertificate/tab-exp-viewtabexppanel-tabexppanel/tab-exp-viewtabexppanel-tabexppanel.vue
0 → 100644
浏览文件 @
e9534484
<
template
src=
"./tab-exp-viewtabexppanel-tabexppanel.html"
/>
<script
lang=
'tsx'
>
import
{ Component } from 'vue-property-decorator';
import { VueLifeCycleProcessing } from '@/studio-core';
import { TabExpViewtabexppanelTabexppanelBase } from './tab-exp-viewtabexppanel-tabexppanel-base';
import view_tabviewpanel from '@widgets/hrcertificate/tab-exp-viewtabviewpanel-tabviewpanel/tab-exp-viewtabviewpanel-tabviewpanel.vue';
import view_tabviewpanel4 from '@widgets/hrcertificate/tab-exp-viewtabviewpanel4-tabviewpanel/tab-exp-viewtabviewpanel4-tabviewpanel.vue';
import view_tabviewpanel3 from '@widgets/hrcertificate/tab-exp-viewtabviewpanel3-tabviewpanel/tab-exp-viewtabviewpanel3-tabviewpanel.vue';
import view_tabviewpanel2 from '@widgets/hrcertificate/tab-exp-viewtabviewpanel2-tabviewpanel/tab-exp-viewtabviewpanel2-tabviewpanel.vue';
/**
* tabexppanel部件
*
* @export
* @class TabExpViewtabexppanelTabexppanel
* @extends {TabExpViewtabexppanelTabexppanelBase}
*/
@Component({
components: {
view_tabviewpanel,
view_tabviewpanel4,
view_tabviewpanel3,
view_tabviewpanel2,
}
})
@VueLifeCycleProcessing()
export default class TabExpViewtabexppanelTabexppanel extends TabExpViewtabexppanelTabexppanelBase { }
</script>
app_PIM/src/widgets/hrcertificate/tab-exp-viewtabviewpanel-tabviewpanel/tab-exp-viewtabviewpanel-tabviewpanel-base.tsx
0 → 100644
浏览文件 @
e9534484
import
{
Prop
,
Provide
,
Emit
,
Model
}
from
'vue-property-decorator'
;
import
{
Subject
,
Subscription
}
from
'rxjs'
;
import
{
Watch
,
MainControlBase
}
from
'@/studio-core'
;
import
HRCertificateService
from
'@/service/hrcertificate/hrcertificate-service'
;
import
TabExpViewtabviewpanelService
from
'./tab-exp-viewtabviewpanel-tabviewpanel-service'
;
import
HRCertificateUIService
from
'@/uiservice/hrcertificate/hrcertificate-ui-service'
;
/**
* tabviewpanel部件基类
*
* @export
* @class MainControlBase
* @extends {TabExpViewtabviewpanelTabviewpanelBase}
*/
export
class
TabExpViewtabviewpanelTabviewpanelBase
extends
MainControlBase
{
/**
* 获取部件类型
*
* @protected
* @type {string}
* @memberof TabExpViewtabviewpanelTabviewpanelBase
*/
protected
controlType
:
string
=
'TABVIEWPANEL'
;
/**
* 建构部件服务对象
*
* @type {TabExpViewtabviewpanelService}
* @memberof TabExpViewtabviewpanelTabviewpanelBase
*/
public
service
:
TabExpViewtabviewpanelService
=
new
TabExpViewtabviewpanelService
({
$store
:
this
.
$store
});
/**
* 实体服务对象
*
* @type {HRCertificateService}
* @memberof TabExpViewtabviewpanelTabviewpanelBase
*/
public
appEntityService
:
HRCertificateService
=
new
HRCertificateService
({
$store
:
this
.
$store
});
/**
* 应用实体名称
*
* @protected
* @type {string}
* @memberof TabExpViewtabviewpanelTabviewpanelBase
*/
protected
appDeName
:
string
=
'hrcertificate'
;
/**
* 应用实体中文名称
*
* @protected
* @type {string}
* @memberof TabExpViewtabviewpanelTabviewpanelBase
*/
protected
appDeLogicName
:
string
=
'证书信息'
;
/**
* 导航模式下项是否激活
*
* @type {*}
* @memberof TabExpViewtabviewpanel
*/
@
Prop
()
public
expActive
!
:
any
;
/**
* 获取多项数据
*
* @returns {any[]}
* @memberof TabExpViewtabviewpanel
*/
public
getDatas
():
any
[]
{
return
[];
}
/**
* 获取单项树
*
* @returns {*}
* @memberof TabExpViewtabviewpanel
*/
public
getData
():
any
{
return
null
;
}
/**
* 是否被激活
*
* @type {boolean}
* @memberof TabExpViewtabviewpanel
*/
public
isActivied
:
boolean
=
true
;
/**
* 局部上下文
*
* @type {*}
* @memberof TabExpViewtabviewpanel
*/
public
localContext
:
any
=
null
;
/**
* 局部视图参数
*
* @type {*}
* @memberof TabExpViewtabviewpanel
*/
public
localViewParam
:
any
=
null
;
/**
* 传入上下文
*
* @type {string}
* @memberof TabExpViewtabviewpanel
*/
public
viewdata
:
string
=
JSON
.
stringify
(
this
.
context
);
/**
* 传入视图参数
*
* @type {string}
* @memberof PickupViewpickupviewpanel
*/
public
viewparam
:
string
=
JSON
.
stringify
(
this
.
viewparams
);
/**
* 视图面板过滤项
*
* @type {string}
* @memberof TabExpViewtabviewpanel
*/
public
navfilter
:
string
=
""
;
/**
* vue 生命周期
*
* @returns
* @memberof TabExpViewtabviewpanel
*/
public
created
()
{
this
.
afterCreated
();
}
/**
* 执行created后的逻辑
*
* @memberof TabExpViewtabviewpanel
*/
public
afterCreated
(){
this
.
initNavParam
();
if
(
this
.
viewState
)
{
this
.
viewStateEvent
=
this
.
viewState
.
subscribe
(({
tag
,
action
,
data
})
=>
{
if
(
!
Object
.
is
(
tag
,
this
.
name
))
{
return
;
}
this
.
$forceUpdate
();
this
.
initNavParam
();
});
}
}
/**
* 初始化导航参数
*
* @memberof TabExpViewtabviewpanel
*/
public
initNavParam
(){
if
(
!
Object
.
is
(
this
.
navfilter
,
""
)){
Object
.
assign
(
this
.
viewparams
,{[
this
.
navfilter
]:
this
.
context
[
'majorentity'
]})
}
if
(
this
.
localContext
&&
Object
.
keys
(
this
.
localContext
).
length
>
0
){
let
_context
:
any
=
this
.
$util
.
computedNavData
({},
this
.
context
,
this
.
viewparams
,
this
.
localContext
);
Object
.
assign
(
this
.
context
,
_context
);
}
if
(
this
.
localViewParam
&&
Object
.
keys
(
this
.
localViewParam
).
length
>
0
){
let
_param
:
any
=
this
.
$util
.
computedNavData
({},
this
.
context
,
this
.
viewparams
,
this
.
localViewParam
);
Object
.
assign
(
this
.
viewparams
,
_param
);
}
this
.
viewdata
=
JSON
.
stringify
(
this
.
context
);
this
.
viewparam
=
JSON
.
stringify
(
this
.
viewparams
);
}
/**
* 视图数据变化
*
* @memberof TabExpViewtabviewpanel
*/
public
viewDatasChange
(
$event
:
any
){
this
.
$emit
(
'viewpanelDatasChange'
,
$event
);
}
/**
* vue 生命周期
*
* @memberof TabExpViewtabviewpanel
*/
public
destroyed
()
{
this
.
afterDestroy
();
}
/**
* 执行destroyed后的逻辑
*
* @memberof TabExpViewtabviewpanel
*/
public
afterDestroy
()
{
if
(
this
.
viewStateEvent
)
{
this
.
viewStateEvent
.
unsubscribe
();
}
}
}
\ No newline at end of file
app_PIM/src/widgets/hrcertificate/tab-exp-viewtabviewpanel-tabviewpanel/tab-exp-viewtabviewpanel-tabviewpanel-model.ts
0 → 100644
浏览文件 @
e9534484
/**
* TabExpViewtabviewpanel 部件模型
*
* @export
* @class TabExpViewtabviewpanelModel
*/
export
default
class
TabExpViewtabviewpanelModel
{
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof TabExpViewtabviewpanelModel
*/
public
getDataItems
():
any
[]
{
return
[
{
name
:
'hrcertificate'
,
prop
:
'hrcertificateid'
,
},
{
name
:
'hrcertificatename'
,
},
{
name
:
'createdate'
,
},
{
name
:
'updateman'
,
},
{
name
:
'createman'
,
},
{
name
:
'updatedate'
,
},
{
name
:
'hremployeeid'
,
},
{
name
:
'hremployeename'
,
},
{
name
:
'attachment'
,
},
{
name
:
'certificatecode'
,
},
{
name
:
'authorganization'
,
},
{
name
:
'authdate'
,
},
{
name
:
'expiredate'
,
},
{
name
:
'registercode'
,
},
{
name
:
'registertime'
,
},
{
name
:
'memo'
,
},
{
name
:
'registerorganizationid'
,
},
{
name
:
'registerorganizationname'
,
},
{
name
:
'employeecode'
,
},
{
name
:
'organizationname'
,
},
{
name
:
'organizationid'
,
},
{
name
:
'empstate'
,
},
{
name
:
'activeflag'
,
},
]
}
}
\ No newline at end of file
app_PIM/src/widgets/hrcertificate/tab-exp-viewtabviewpanel-tabviewpanel/tab-exp-viewtabviewpanel-tabviewpanel-service.ts
0 → 100644
浏览文件 @
e9534484
import
{
Http
}
from
'@/utils'
;
import
ControlService
from
'@/widgets/control-service'
;
/**
* TabExpViewtabviewpanel 部件服务对象
*
* @export
* @class TabExpViewtabviewpanelService
*/
export
default
class
TabExpViewtabviewpanelService
extends
ControlService
{
}
\ No newline at end of file
app_PIM/src/widgets/hrcertificate/tab-exp-viewtabviewpanel-tabviewpanel/tab-exp-viewtabviewpanel-tabviewpanel.html
0 → 100644
浏览文件 @
e9534484
<div
class=
'tabviewpanel'
v-if=
'isActivied'
>
<hrcertificate-v-004
class=
'viewcontainer2'
:viewdata=
"viewdata"
:viewparam=
"viewparam"
@
viewload=
"viewDatasChange($event)"
:viewDefaultUsage=
"false"
:viewUsage=
"7"
:expActive=
"expActive"
@
closeview=
"closeView($event)"
/>
</div>
\ No newline at end of file
app_PIM/src/widgets/hrcertificate/tab-exp-viewtabviewpanel-tabviewpanel/tab-exp-viewtabviewpanel-tabviewpanel.vue
0 → 100644
浏览文件 @
e9534484
<
template
src=
"./tab-exp-viewtabviewpanel-tabviewpanel.html"
/>
<script
lang=
'tsx'
>
import
{ Component } from 'vue-property-decorator';
import { VueLifeCycleProcessing } from '@/studio-core';
import { TabExpViewtabviewpanelTabviewpanelBase } from './tab-exp-viewtabviewpanel-tabviewpanel-base';
/**
* tabviewpanel部件
*
* @export
* @class TabExpViewtabviewpanelTabviewpanel
* @extends {TabExpViewtabviewpanelTabviewpanelBase}
*/
@Component({
components: {
}
})
@VueLifeCycleProcessing()
export default class TabExpViewtabviewpanelTabviewpanel extends TabExpViewtabviewpanelTabviewpanelBase { }
</script>
app_PIM/src/widgets/hrcertificate/tab-exp-viewtabviewpanel2-tabviewpanel/tab-exp-viewtabviewpanel2-tabviewpanel-base.tsx
0 → 100644
浏览文件 @
e9534484
import
{
Prop
,
Provide
,
Emit
,
Model
}
from
'vue-property-decorator'
;
import
{
Subject
,
Subscription
}
from
'rxjs'
;
import
{
Watch
,
MainControlBase
}
from
'@/studio-core'
;
import
HRCertificateService
from
'@/service/hrcertificate/hrcertificate-service'
;
import
TabExpViewtabviewpanel2Service
from
'./tab-exp-viewtabviewpanel2-tabviewpanel-service'
;
import
HRCertificateUIService
from
'@/uiservice/hrcertificate/hrcertificate-ui-service'
;
/**
* tabviewpanel2部件基类
*
* @export
* @class MainControlBase
* @extends {TabExpViewtabviewpanel2TabviewpanelBase}
*/
export
class
TabExpViewtabviewpanel2TabviewpanelBase
extends
MainControlBase
{
/**
* 获取部件类型
*
* @protected
* @type {string}
* @memberof TabExpViewtabviewpanel2TabviewpanelBase
*/
protected
controlType
:
string
=
'TABVIEWPANEL'
;
/**
* 建构部件服务对象
*
* @type {TabExpViewtabviewpanel2Service}
* @memberof TabExpViewtabviewpanel2TabviewpanelBase
*/
public
service
:
TabExpViewtabviewpanel2Service
=
new
TabExpViewtabviewpanel2Service
({
$store
:
this
.
$store
});
/**
* 实体服务对象
*
* @type {HRCertificateService}
* @memberof TabExpViewtabviewpanel2TabviewpanelBase
*/
public
appEntityService
:
HRCertificateService
=
new
HRCertificateService
({
$store
:
this
.
$store
});
/**
* 应用实体名称
*
* @protected
* @type {string}
* @memberof TabExpViewtabviewpanel2TabviewpanelBase
*/
protected
appDeName
:
string
=
'hrcertificate'
;
/**
* 应用实体中文名称
*
* @protected
* @type {string}
* @memberof TabExpViewtabviewpanel2TabviewpanelBase
*/
protected
appDeLogicName
:
string
=
'证书信息'
;
/**
* 导航模式下项是否激活
*
* @type {*}
* @memberof TabExpViewtabviewpanel2
*/
@
Prop
()
public
expActive
!
:
any
;
/**
* 获取多项数据
*
* @returns {any[]}
* @memberof TabExpViewtabviewpanel2
*/
public
getDatas
():
any
[]
{
return
[];
}
/**
* 获取单项树
*
* @returns {*}
* @memberof TabExpViewtabviewpanel2
*/
public
getData
():
any
{
return
null
;
}
/**
* 是否被激活
*
* @type {boolean}
* @memberof TabExpViewtabviewpanel2
*/
public
isActivied
:
boolean
=
true
;
/**
* 局部上下文
*
* @type {*}
* @memberof TabExpViewtabviewpanel2
*/
public
localContext
:
any
=
null
;
/**
* 局部视图参数
*
* @type {*}
* @memberof TabExpViewtabviewpanel2
*/
public
localViewParam
:
any
=
null
;
/**
* 传入上下文
*
* @type {string}
* @memberof TabExpViewtabviewpanel
*/
public
viewdata
:
string
=
JSON
.
stringify
(
this
.
context
);
/**
* 传入视图参数
*
* @type {string}
* @memberof PickupViewpickupviewpanel
*/
public
viewparam
:
string
=
JSON
.
stringify
(
this
.
viewparams
);
/**
* 视图面板过滤项
*
* @type {string}
* @memberof TabExpViewtabviewpanel2
*/
public
navfilter
:
string
=
""
;
/**
* vue 生命周期
*
* @returns
* @memberof TabExpViewtabviewpanel2
*/
public
created
()
{
this
.
afterCreated
();
}
/**
* 执行created后的逻辑
*
* @memberof TabExpViewtabviewpanel2
*/
public
afterCreated
(){
this
.
initNavParam
();
if
(
this
.
viewState
)
{
this
.
viewStateEvent
=
this
.
viewState
.
subscribe
(({
tag
,
action
,
data
})
=>
{
if
(
!
Object
.
is
(
tag
,
this
.
name
))
{
return
;
}
this
.
$forceUpdate
();
this
.
initNavParam
();
});
}
}
/**
* 初始化导航参数
*
* @memberof TabExpViewtabviewpanel2
*/
public
initNavParam
(){
if
(
!
Object
.
is
(
this
.
navfilter
,
""
)){
Object
.
assign
(
this
.
viewparams
,{[
this
.
navfilter
]:
this
.
context
[
'majorentity'
]})
}
if
(
this
.
localContext
&&
Object
.
keys
(
this
.
localContext
).
length
>
0
){
let
_context
:
any
=
this
.
$util
.
computedNavData
({},
this
.
context
,
this
.
viewparams
,
this
.
localContext
);
Object
.
assign
(
this
.
context
,
_context
);
}
if
(
this
.
localViewParam
&&
Object
.
keys
(
this
.
localViewParam
).
length
>
0
){
let
_param
:
any
=
this
.
$util
.
computedNavData
({},
this
.
context
,
this
.
viewparams
,
this
.
localViewParam
);
Object
.
assign
(
this
.
viewparams
,
_param
);
}
this
.
viewdata
=
JSON
.
stringify
(
this
.
context
);
this
.
viewparam
=
JSON
.
stringify
(
this
.
viewparams
);
}
/**
* 视图数据变化
*
* @memberof TabExpViewtabviewpanel2
*/
public
viewDatasChange
(
$event
:
any
){
this
.
$emit
(
'viewpanelDatasChange'
,
$event
);
}
/**
* vue 生命周期
*
* @memberof TabExpViewtabviewpanel2
*/
public
destroyed
()
{
this
.
afterDestroy
();
}
/**
* 执行destroyed后的逻辑
*
* @memberof TabExpViewtabviewpanel2
*/
public
afterDestroy
()
{
if
(
this
.
viewStateEvent
)
{
this
.
viewStateEvent
.
unsubscribe
();
}
}
}
\ No newline at end of file
app_PIM/src/widgets/hrcertificate/tab-exp-viewtabviewpanel2-tabviewpanel/tab-exp-viewtabviewpanel2-tabviewpanel-model.ts
0 → 100644
浏览文件 @
e9534484
/**
* TabExpViewtabviewpanel2 部件模型
*
* @export
* @class TabExpViewtabviewpanel2Model
*/
export
default
class
TabExpViewtabviewpanel2Model
{
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof TabExpViewtabviewpanel2Model
*/
public
getDataItems
():
any
[]
{
return
[
{
name
:
'hrcertificate'
,
prop
:
'hrcertificateid'
,
},
{
name
:
'hrcertificatename'
,
},
{
name
:
'createdate'
,
},
{
name
:
'updateman'
,
},
{
name
:
'createman'
,
},
{
name
:
'updatedate'
,
},
{
name
:
'hremployeeid'
,
},
{
name
:
'hremployeename'
,
},
{
name
:
'attachment'
,
},
{
name
:
'certificatecode'
,
},
{
name
:
'authorganization'
,
},
{
name
:
'authdate'
,
},
{
name
:
'expiredate'
,
},
{
name
:
'registercode'
,
},
{
name
:
'registertime'
,
},
{
name
:
'memo'
,
},
{
name
:
'registerorganizationid'
,
},
{
name
:
'registerorganizationname'
,
},
{
name
:
'employeecode'
,
},
{
name
:
'organizationname'
,
},
{
name
:
'organizationid'
,
},
{
name
:
'empstate'
,
},
{
name
:
'activeflag'
,
},
]
}
}
\ No newline at end of file
app_PIM/src/widgets/hrcertificate/tab-exp-viewtabviewpanel2-tabviewpanel/tab-exp-viewtabviewpanel2-tabviewpanel-service.ts
0 → 100644
浏览文件 @
e9534484
import
{
Http
}
from
'@/utils'
;
import
ControlService
from
'@/widgets/control-service'
;
/**
* TabExpViewtabviewpanel2 部件服务对象
*
* @export
* @class TabExpViewtabviewpanel2Service
*/
export
default
class
TabExpViewtabviewpanel2Service
extends
ControlService
{
}
\ No newline at end of file
app_PIM/src/widgets/hrcertificate/tab-exp-viewtabviewpanel2-tabviewpanel/tab-exp-viewtabviewpanel2-tabviewpanel.html
0 → 100644
浏览文件 @
e9534484
<div
class=
'tabviewpanel'
v-if=
'isActivied'
>
<hrcertificate-v-003
class=
'viewcontainer2'
:viewdata=
"viewdata"
:viewparam=
"viewparam"
@
viewload=
"viewDatasChange($event)"
:viewDefaultUsage=
"false"
:viewUsage=
"7"
:expActive=
"expActive"
@
closeview=
"closeView($event)"
/>
</div>
\ No newline at end of file
app_PIM/src/widgets/hrcertificate/tab-exp-viewtabviewpanel2-tabviewpanel/tab-exp-viewtabviewpanel2-tabviewpanel.vue
0 → 100644
浏览文件 @
e9534484
<
template
src=
"./tab-exp-viewtabviewpanel2-tabviewpanel.html"
/>
<script
lang=
'tsx'
>
import
{ Component } from 'vue-property-decorator';
import { VueLifeCycleProcessing } from '@/studio-core';
import { TabExpViewtabviewpanel2TabviewpanelBase } from './tab-exp-viewtabviewpanel2-tabviewpanel-base';
/**
* tabviewpanel2部件
*
* @export
* @class TabExpViewtabviewpanel2Tabviewpanel
* @extends {TabExpViewtabviewpanel2TabviewpanelBase}
*/
@Component({
components: {
}
})
@VueLifeCycleProcessing()
export default class TabExpViewtabviewpanel2Tabviewpanel extends TabExpViewtabviewpanel2TabviewpanelBase { }
</script>
app_PIM/src/widgets/hrcertificate/tab-exp-viewtabviewpanel3-tabviewpanel/tab-exp-viewtabviewpanel3-tabviewpanel-base.tsx
0 → 100644
浏览文件 @
e9534484
import
{
Prop
,
Provide
,
Emit
,
Model
}
from
'vue-property-decorator'
;
import
{
Subject
,
Subscription
}
from
'rxjs'
;
import
{
Watch
,
MainControlBase
}
from
'@/studio-core'
;
import
HRCertificateService
from
'@/service/hrcertificate/hrcertificate-service'
;
import
TabExpViewtabviewpanel3Service
from
'./tab-exp-viewtabviewpanel3-tabviewpanel-service'
;
import
HRCertificateUIService
from
'@/uiservice/hrcertificate/hrcertificate-ui-service'
;
/**
* tabviewpanel3部件基类
*
* @export
* @class MainControlBase
* @extends {TabExpViewtabviewpanel3TabviewpanelBase}
*/
export
class
TabExpViewtabviewpanel3TabviewpanelBase
extends
MainControlBase
{
/**
* 获取部件类型
*
* @protected
* @type {string}
* @memberof TabExpViewtabviewpanel3TabviewpanelBase
*/
protected
controlType
:
string
=
'TABVIEWPANEL'
;
/**
* 建构部件服务对象
*
* @type {TabExpViewtabviewpanel3Service}
* @memberof TabExpViewtabviewpanel3TabviewpanelBase
*/
public
service
:
TabExpViewtabviewpanel3Service
=
new
TabExpViewtabviewpanel3Service
({
$store
:
this
.
$store
});
/**
* 实体服务对象
*
* @type {HRCertificateService}
* @memberof TabExpViewtabviewpanel3TabviewpanelBase
*/
public
appEntityService
:
HRCertificateService
=
new
HRCertificateService
({
$store
:
this
.
$store
});
/**
* 应用实体名称
*
* @protected
* @type {string}
* @memberof TabExpViewtabviewpanel3TabviewpanelBase
*/
protected
appDeName
:
string
=
'hrcertificate'
;
/**
* 应用实体中文名称
*
* @protected
* @type {string}
* @memberof TabExpViewtabviewpanel3TabviewpanelBase
*/
protected
appDeLogicName
:
string
=
'证书信息'
;
/**
* 导航模式下项是否激活
*
* @type {*}
* @memberof TabExpViewtabviewpanel3
*/
@
Prop
()
public
expActive
!
:
any
;
/**
* 获取多项数据
*
* @returns {any[]}
* @memberof TabExpViewtabviewpanel3
*/
public
getDatas
():
any
[]
{
return
[];
}
/**
* 获取单项树
*
* @returns {*}
* @memberof TabExpViewtabviewpanel3
*/
public
getData
():
any
{
return
null
;
}
/**
* 是否被激活
*
* @type {boolean}
* @memberof TabExpViewtabviewpanel3
*/
public
isActivied
:
boolean
=
true
;
/**
* 局部上下文
*
* @type {*}
* @memberof TabExpViewtabviewpanel3
*/
public
localContext
:
any
=
null
;
/**
* 局部视图参数
*
* @type {*}
* @memberof TabExpViewtabviewpanel3
*/
public
localViewParam
:
any
=
null
;
/**
* 传入上下文
*
* @type {string}
* @memberof TabExpViewtabviewpanel
*/
public
viewdata
:
string
=
JSON
.
stringify
(
this
.
context
);
/**
* 传入视图参数
*
* @type {string}
* @memberof PickupViewpickupviewpanel
*/
public
viewparam
:
string
=
JSON
.
stringify
(
this
.
viewparams
);
/**
* 视图面板过滤项
*
* @type {string}
* @memberof TabExpViewtabviewpanel3
*/
public
navfilter
:
string
=
""
;
/**
* vue 生命周期
*
* @returns
* @memberof TabExpViewtabviewpanel3
*/
public
created
()
{
this
.
afterCreated
();
}
/**
* 执行created后的逻辑
*
* @memberof TabExpViewtabviewpanel3
*/
public
afterCreated
(){
this
.
initNavParam
();
if
(
this
.
viewState
)
{
this
.
viewStateEvent
=
this
.
viewState
.
subscribe
(({
tag
,
action
,
data
})
=>
{
if
(
!
Object
.
is
(
tag
,
this
.
name
))
{
return
;
}
this
.
$forceUpdate
();
this
.
initNavParam
();
});
}
}
/**
* 初始化导航参数
*
* @memberof TabExpViewtabviewpanel3
*/
public
initNavParam
(){
if
(
!
Object
.
is
(
this
.
navfilter
,
""
)){
Object
.
assign
(
this
.
viewparams
,{[
this
.
navfilter
]:
this
.
context
[
'majorentity'
]})
}
if
(
this
.
localContext
&&
Object
.
keys
(
this
.
localContext
).
length
>
0
){
let
_context
:
any
=
this
.
$util
.
computedNavData
({},
this
.
context
,
this
.
viewparams
,
this
.
localContext
);
Object
.
assign
(
this
.
context
,
_context
);
}
if
(
this
.
localViewParam
&&
Object
.
keys
(
this
.
localViewParam
).
length
>
0
){
let
_param
:
any
=
this
.
$util
.
computedNavData
({},
this
.
context
,
this
.
viewparams
,
this
.
localViewParam
);
Object
.
assign
(
this
.
viewparams
,
_param
);
}
this
.
viewdata
=
JSON
.
stringify
(
this
.
context
);
this
.
viewparam
=
JSON
.
stringify
(
this
.
viewparams
);
}
/**
* 视图数据变化
*
* @memberof TabExpViewtabviewpanel3
*/
public
viewDatasChange
(
$event
:
any
){
this
.
$emit
(
'viewpanelDatasChange'
,
$event
);
}
/**
* vue 生命周期
*
* @memberof TabExpViewtabviewpanel3
*/
public
destroyed
()
{
this
.
afterDestroy
();
}
/**
* 执行destroyed后的逻辑
*
* @memberof TabExpViewtabviewpanel3
*/
public
afterDestroy
()
{
if
(
this
.
viewStateEvent
)
{
this
.
viewStateEvent
.
unsubscribe
();
}
}
}
\ No newline at end of file
app_PIM/src/widgets/hrcertificate/tab-exp-viewtabviewpanel3-tabviewpanel/tab-exp-viewtabviewpanel3-tabviewpanel-model.ts
0 → 100644
浏览文件 @
e9534484
/**
* TabExpViewtabviewpanel3 部件模型
*
* @export
* @class TabExpViewtabviewpanel3Model
*/
export
default
class
TabExpViewtabviewpanel3Model
{
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof TabExpViewtabviewpanel3Model
*/
public
getDataItems
():
any
[]
{
return
[
{
name
:
'hrcertificate'
,
prop
:
'hrcertificateid'
,
},
{
name
:
'hrcertificatename'
,
},
{
name
:
'createdate'
,
},
{
name
:
'updateman'
,
},
{
name
:
'createman'
,
},
{
name
:
'updatedate'
,
},
{
name
:
'hremployeeid'
,
},
{
name
:
'hremployeename'
,
},
{
name
:
'attachment'
,
},
{
name
:
'certificatecode'
,
},
{
name
:
'authorganization'
,
},
{
name
:
'authdate'
,
},
{
name
:
'expiredate'
,
},
{
name
:
'registercode'
,
},
{
name
:
'registertime'
,
},
{
name
:
'memo'
,
},
{
name
:
'registerorganizationid'
,
},
{
name
:
'registerorganizationname'
,
},
{
name
:
'employeecode'
,
},
{
name
:
'organizationname'
,
},
{
name
:
'organizationid'
,
},
{
name
:
'empstate'
,
},
{
name
:
'activeflag'
,
},
]
}
}
\ No newline at end of file
app_PIM/src/widgets/hrcertificate/tab-exp-viewtabviewpanel3-tabviewpanel/tab-exp-viewtabviewpanel3-tabviewpanel-service.ts
0 → 100644
浏览文件 @
e9534484
import
{
Http
}
from
'@/utils'
;
import
ControlService
from
'@/widgets/control-service'
;
/**
* TabExpViewtabviewpanel3 部件服务对象
*
* @export
* @class TabExpViewtabviewpanel3Service
*/
export
default
class
TabExpViewtabviewpanel3Service
extends
ControlService
{
}
\ No newline at end of file
app_PIM/src/widgets/hrcertificate/tab-exp-viewtabviewpanel3-tabviewpanel/tab-exp-viewtabviewpanel3-tabviewpanel.html
0 → 100644
浏览文件 @
e9534484
<div
class=
'tabviewpanel'
v-if=
'isActivied'
>
<hrcertificate-v-006
class=
'viewcontainer2'
:viewdata=
"viewdata"
:viewparam=
"viewparam"
@
viewload=
"viewDatasChange($event)"
:viewDefaultUsage=
"false"
:viewUsage=
"7"
:expActive=
"expActive"
@
closeview=
"closeView($event)"
/>
</div>
\ No newline at end of file
app_PIM/src/widgets/hrcertificate/tab-exp-viewtabviewpanel3-tabviewpanel/tab-exp-viewtabviewpanel3-tabviewpanel.vue
0 → 100644
浏览文件 @
e9534484
<
template
src=
"./tab-exp-viewtabviewpanel3-tabviewpanel.html"
/>
<script
lang=
'tsx'
>
import
{ Component } from 'vue-property-decorator';
import { VueLifeCycleProcessing } from '@/studio-core';
import { TabExpViewtabviewpanel3TabviewpanelBase } from './tab-exp-viewtabviewpanel3-tabviewpanel-base';
/**
* tabviewpanel3部件
*
* @export
* @class TabExpViewtabviewpanel3Tabviewpanel
* @extends {TabExpViewtabviewpanel3TabviewpanelBase}
*/
@Component({
components: {
}
})
@VueLifeCycleProcessing()
export default class TabExpViewtabviewpanel3Tabviewpanel extends TabExpViewtabviewpanel3TabviewpanelBase { }
</script>
app_PIM/src/widgets/hrcertificate/tab-exp-viewtabviewpanel4-tabviewpanel/tab-exp-viewtabviewpanel4-tabviewpanel-base.tsx
0 → 100644
浏览文件 @
e9534484
import
{
Prop
,
Provide
,
Emit
,
Model
}
from
'vue-property-decorator'
;
import
{
Subject
,
Subscription
}
from
'rxjs'
;
import
{
Watch
,
MainControlBase
}
from
'@/studio-core'
;
import
HRCertificateService
from
'@/service/hrcertificate/hrcertificate-service'
;
import
TabExpViewtabviewpanel4Service
from
'./tab-exp-viewtabviewpanel4-tabviewpanel-service'
;
import
HRCertificateUIService
from
'@/uiservice/hrcertificate/hrcertificate-ui-service'
;
/**
* tabviewpanel4部件基类
*
* @export
* @class MainControlBase
* @extends {TabExpViewtabviewpanel4TabviewpanelBase}
*/
export
class
TabExpViewtabviewpanel4TabviewpanelBase
extends
MainControlBase
{
/**
* 获取部件类型
*
* @protected
* @type {string}
* @memberof TabExpViewtabviewpanel4TabviewpanelBase
*/
protected
controlType
:
string
=
'TABVIEWPANEL'
;
/**
* 建构部件服务对象
*
* @type {TabExpViewtabviewpanel4Service}
* @memberof TabExpViewtabviewpanel4TabviewpanelBase
*/
public
service
:
TabExpViewtabviewpanel4Service
=
new
TabExpViewtabviewpanel4Service
({
$store
:
this
.
$store
});
/**
* 实体服务对象
*
* @type {HRCertificateService}
* @memberof TabExpViewtabviewpanel4TabviewpanelBase
*/
public
appEntityService
:
HRCertificateService
=
new
HRCertificateService
({
$store
:
this
.
$store
});
/**
* 应用实体名称
*
* @protected
* @type {string}
* @memberof TabExpViewtabviewpanel4TabviewpanelBase
*/
protected
appDeName
:
string
=
'hrcertificate'
;
/**
* 应用实体中文名称
*
* @protected
* @type {string}
* @memberof TabExpViewtabviewpanel4TabviewpanelBase
*/
protected
appDeLogicName
:
string
=
'证书信息'
;
/**
* 导航模式下项是否激活
*
* @type {*}
* @memberof TabExpViewtabviewpanel4
*/
@
Prop
()
public
expActive
!
:
any
;
/**
* 获取多项数据
*
* @returns {any[]}
* @memberof TabExpViewtabviewpanel4
*/
public
getDatas
():
any
[]
{
return
[];
}
/**
* 获取单项树
*
* @returns {*}
* @memberof TabExpViewtabviewpanel4
*/
public
getData
():
any
{
return
null
;
}
/**
* 是否被激活
*
* @type {boolean}
* @memberof TabExpViewtabviewpanel4
*/
public
isActivied
:
boolean
=
true
;
/**
* 局部上下文
*
* @type {*}
* @memberof TabExpViewtabviewpanel4
*/
public
localContext
:
any
=
null
;
/**
* 局部视图参数
*
* @type {*}
* @memberof TabExpViewtabviewpanel4
*/
public
localViewParam
:
any
=
null
;
/**
* 传入上下文
*
* @type {string}
* @memberof TabExpViewtabviewpanel
*/
public
viewdata
:
string
=
JSON
.
stringify
(
this
.
context
);
/**
* 传入视图参数
*
* @type {string}
* @memberof PickupViewpickupviewpanel
*/
public
viewparam
:
string
=
JSON
.
stringify
(
this
.
viewparams
);
/**
* 视图面板过滤项
*
* @type {string}
* @memberof TabExpViewtabviewpanel4
*/
public
navfilter
:
string
=
""
;
/**
* vue 生命周期
*
* @returns
* @memberof TabExpViewtabviewpanel4
*/
public
created
()
{
this
.
afterCreated
();
}
/**
* 执行created后的逻辑
*
* @memberof TabExpViewtabviewpanel4
*/
public
afterCreated
(){
this
.
initNavParam
();
if
(
this
.
viewState
)
{
this
.
viewStateEvent
=
this
.
viewState
.
subscribe
(({
tag
,
action
,
data
})
=>
{
if
(
!
Object
.
is
(
tag
,
this
.
name
))
{
return
;
}
this
.
$forceUpdate
();
this
.
initNavParam
();
});
}
}
/**
* 初始化导航参数
*
* @memberof TabExpViewtabviewpanel4
*/
public
initNavParam
(){
if
(
!
Object
.
is
(
this
.
navfilter
,
""
)){
Object
.
assign
(
this
.
viewparams
,{[
this
.
navfilter
]:
this
.
context
[
'majorentity'
]})
}
if
(
this
.
localContext
&&
Object
.
keys
(
this
.
localContext
).
length
>
0
){
let
_context
:
any
=
this
.
$util
.
computedNavData
({},
this
.
context
,
this
.
viewparams
,
this
.
localContext
);
Object
.
assign
(
this
.
context
,
_context
);
}
if
(
this
.
localViewParam
&&
Object
.
keys
(
this
.
localViewParam
).
length
>
0
){
let
_param
:
any
=
this
.
$util
.
computedNavData
({},
this
.
context
,
this
.
viewparams
,
this
.
localViewParam
);
Object
.
assign
(
this
.
viewparams
,
_param
);
}
this
.
viewdata
=
JSON
.
stringify
(
this
.
context
);
this
.
viewparam
=
JSON
.
stringify
(
this
.
viewparams
);
}
/**
* 视图数据变化
*
* @memberof TabExpViewtabviewpanel4
*/
public
viewDatasChange
(
$event
:
any
){
this
.
$emit
(
'viewpanelDatasChange'
,
$event
);
}
/**
* vue 生命周期
*
* @memberof TabExpViewtabviewpanel4
*/
public
destroyed
()
{
this
.
afterDestroy
();
}
/**
* 执行destroyed后的逻辑
*
* @memberof TabExpViewtabviewpanel4
*/
public
afterDestroy
()
{
if
(
this
.
viewStateEvent
)
{
this
.
viewStateEvent
.
unsubscribe
();
}
}
}
\ No newline at end of file
app_PIM/src/widgets/hrcertificate/tab-exp-viewtabviewpanel4-tabviewpanel/tab-exp-viewtabviewpanel4-tabviewpanel-model.ts
0 → 100644
浏览文件 @
e9534484
/**
* TabExpViewtabviewpanel4 部件模型
*
* @export
* @class TabExpViewtabviewpanel4Model
*/
export
default
class
TabExpViewtabviewpanel4Model
{
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof TabExpViewtabviewpanel4Model
*/
public
getDataItems
():
any
[]
{
return
[
{
name
:
'hrcertificate'
,
prop
:
'hrcertificateid'
,
},
{
name
:
'hrcertificatename'
,
},
{
name
:
'createdate'
,
},
{
name
:
'updateman'
,
},
{
name
:
'createman'
,
},
{
name
:
'updatedate'
,
},
{
name
:
'hremployeeid'
,
},
{
name
:
'hremployeename'
,
},
{
name
:
'attachment'
,
},
{
name
:
'certificatecode'
,
},
{
name
:
'authorganization'
,
},
{
name
:
'authdate'
,
},
{
name
:
'expiredate'
,
},
{
name
:
'registercode'
,
},
{
name
:
'registertime'
,
},
{
name
:
'memo'
,
},
{
name
:
'registerorganizationid'
,
},
{
name
:
'registerorganizationname'
,
},
{
name
:
'employeecode'
,
},
{
name
:
'organizationname'
,
},
{
name
:
'organizationid'
,
},
{
name
:
'empstate'
,
},
{
name
:
'activeflag'
,
},
]
}
}
\ No newline at end of file
app_PIM/src/widgets/hrcertificate/tab-exp-viewtabviewpanel4-tabviewpanel/tab-exp-viewtabviewpanel4-tabviewpanel-service.ts
0 → 100644
浏览文件 @
e9534484
import
{
Http
}
from
'@/utils'
;
import
ControlService
from
'@/widgets/control-service'
;
/**
* TabExpViewtabviewpanel4 部件服务对象
*
* @export
* @class TabExpViewtabviewpanel4Service
*/
export
default
class
TabExpViewtabviewpanel4Service
extends
ControlService
{
}
\ No newline at end of file
app_PIM/src/widgets/hrcertificate/tab-exp-viewtabviewpanel4-tabviewpanel/tab-exp-viewtabviewpanel4-tabviewpanel.html
0 → 100644
浏览文件 @
e9534484
<div
class=
'tabviewpanel'
v-if=
'isActivied'
>
<hrcertificate-grid-view
class=
'viewcontainer2'
:viewdata=
"viewdata"
:viewparam=
"viewparam"
@
viewload=
"viewDatasChange($event)"
:viewDefaultUsage=
"false"
:viewUsage=
"7"
:expActive=
"expActive"
@
closeview=
"closeView($event)"
/>
</div>
\ No newline at end of file
app_PIM/src/widgets/hrcertificate/tab-exp-viewtabviewpanel4-tabviewpanel/tab-exp-viewtabviewpanel4-tabviewpanel.vue
0 → 100644
浏览文件 @
e9534484
<
template
src=
"./tab-exp-viewtabviewpanel4-tabviewpanel.html"
/>
<script
lang=
'tsx'
>
import
{ Component } from 'vue-property-decorator';
import { VueLifeCycleProcessing } from '@/studio-core';
import { TabExpViewtabviewpanel4TabviewpanelBase } from './tab-exp-viewtabviewpanel4-tabviewpanel-base';
/**
* tabviewpanel4部件
*
* @export
* @class TabExpViewtabviewpanel4Tabviewpanel
* @extends {TabExpViewtabviewpanel4TabviewpanelBase}
*/
@Component({
components: {
}
})
@VueLifeCycleProcessing()
export default class TabExpViewtabviewpanel4Tabviewpanel extends TabExpViewtabviewpanel4TabviewpanelBase { }
</script>
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录