Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
iBiz人力资源
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
iBiz企业套件
iBiz人力资源
提交
4f5981c1
提交
4f5981c1
编写于
4年前
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Miracle 部署微服务应用
上级
74f9a336
变更
27
隐藏空白字符变更
内嵌
并排
正在显示
27 个修改的文件
包含
1033 行增加
和
15 行删除
+1033
-15
view-config.json
app_PIM/public/assets/json/view-config.json
+2
-2
hrarchives_en_US.ts
...src/locale/lanres/entities/hrarchives/hrarchives_en_US.ts
+2
-2
hrarchives_zh_CN.ts
...src/locale/lanres/entities/hrarchives/hrarchives_zh_CN.ts
+2
-2
viewconfig.ts
app_PIM/src/mock/viewconfig/viewconfig.ts
+2
-2
hrarchives-v-004-base.tsx
...human-resource/hrarchives-v-004/hrarchives-v-004-base.tsx
+142
-0
hrarchives-v-004.html
...ges/human-resource/hrarchives-v-004/hrarchives-v-004.html
+12
-0
hrarchives-v-004.vue
...ages/human-resource/hrarchives-v-004/hrarchives-v-004.vue
+22
-0
hrarchives-v-005-base.tsx
...human-resource/hrarchives-v-005/hrarchives-v-005-base.tsx
+1
-1
hrarchives-v-005.html
...ges/human-resource/hrarchives-v-005/hrarchives-v-005.html
+4
-1
hrarchives-v-005.vue
...ages/human-resource/hrarchives-v-005/hrarchives-v-005.vue
+1
-1
page-register.ts
app_PIM/src/pages/ungroup/pim/page-register.ts
+1
-0
router.ts
app_PIM/src/pages/ungroup/pim/router.ts
+29
-0
state.ts
app_PIM/src/store/modules/view-action/state.ts
+11
-1
board-001-dashboard-base.tsx
...archives/board-001-dashboard/board-001-dashboard-base.tsx
+286
-0
board-001-dashboard-model.ts
...archives/board-001-dashboard/board-001-dashboard-model.ts
+100
-0
board-001-dashboard-service.ts
...chives/board-001-dashboard/board-001-dashboard-service.ts
+11
-0
board-001-dashboard.html
...s/hrarchives/board-001-dashboard/board-001-dashboard.html
+44
-0
board-001-dashboard.vue
...ts/hrarchives/board-001-dashboard/board-001-dashboard.vue
+24
-0
part-001-portlet-base.tsx
...ets/hrarchives/part-001-portlet/part-001-portlet-base.tsx
+175
-0
part-001-portlet-model.ts
...ets/hrarchives/part-001-portlet/part-001-portlet-model.ts
+100
-0
part-001-portlet-service.ts
...s/hrarchives/part-001-portlet/part-001-portlet-service.ts
+11
-0
part-001-portlet.html
...widgets/hrarchives/part-001-portlet/part-001-portlet.html
+5
-0
part-001-portlet.vue
.../widgets/hrarchives/part-001-portlet/part-001-portlet.vue
+22
-0
v-005tabviewpanel-tabviewpanel.html
...iewpanel-tabviewpanel/v-005tabviewpanel-tabviewpanel.html
+1
-1
config.xml
config.xml
+5
-0
Dockerfile
...urce-app/humanresource-app-pim/src/main/docker/Dockerfile
+1
-1
humanresource-app-pim.yaml
...source-app-pim/src/main/docker/humanresource-app-pim.yaml
+17
-1
未找到文件。
app_PIM/public/assets/json/view-config.json
浏览文件 @
4f5981c1
...
@@ -500,8 +500,8 @@
...
@@ -500,8 +500,8 @@
"memo"
:
"系统自动添加"
"memo"
:
"系统自动添加"
},
},
"hrarchivesv_005"
:
{
"hrarchivesv_005"
:
{
"title"
:
"档案"
,
"title"
:
"档案
信息
"
,
"caption"
:
"档案"
,
"caption"
:
"档案
信息
"
,
"viewtype"
:
"DETABEXPVIEW"
,
"viewtype"
:
"DETABEXPVIEW"
,
"viewmodule"
:
"HumanResource"
,
"viewmodule"
:
"HumanResource"
,
"viewname"
:
"HRArchivesV_005"
,
"viewname"
:
"HRArchivesV_005"
,
...
...
This diff is collapsed.
Click to expand it.
app_PIM/src/locale/lanres/entities/hrarchives/hrarchives_en_US.ts
浏览文件 @
4f5981c1
...
@@ -42,8 +42,8 @@ export default {
...
@@ -42,8 +42,8 @@ export default {
title
:
"档案编辑"
,
title
:
"档案编辑"
,
},
},
v_005
:
{
v_005
:
{
caption
:
"档案"
,
caption
:
"档案
信息
"
,
title
:
"档案"
,
title
:
"档案
信息
"
,
},
},
v_002
:
{
v_002
:
{
caption
:
"档案信息"
,
caption
:
"档案信息"
,
...
...
This diff is collapsed.
Click to expand it.
app_PIM/src/locale/lanres/entities/hrarchives/hrarchives_zh_CN.ts
浏览文件 @
4f5981c1
...
@@ -41,8 +41,8 @@ export default {
...
@@ -41,8 +41,8 @@ export default {
title
:
"档案编辑"
,
title
:
"档案编辑"
,
},
},
v_005
:
{
v_005
:
{
caption
:
"档案"
,
caption
:
"档案
信息
"
,
title
:
"档案"
,
title
:
"档案
信息
"
,
},
},
v_002
:
{
v_002
:
{
caption
:
"档案信息"
,
caption
:
"档案信息"
,
...
...
This diff is collapsed.
Click to expand it.
app_PIM/src/mock/viewconfig/viewconfig.ts
浏览文件 @
4f5981c1
...
@@ -408,8 +408,8 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
...
@@ -408,8 +408,8 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewtag"
:
"54e70bcf034bf3715d121537bc8d1d77"
"viewtag"
:
"54e70bcf034bf3715d121537bc8d1d77"
},
},
"hrarchivesv_005"
:
{
"hrarchivesv_005"
:
{
"title"
:
"档案"
,
"title"
:
"档案
信息
"
,
"caption"
:
"档案"
,
"caption"
:
"档案
信息
"
,
"viewtype"
:
"DETABEXPVIEW"
,
"viewtype"
:
"DETABEXPVIEW"
,
"viewmodule"
:
"HumanResource"
,
"viewmodule"
:
"HumanResource"
,
"viewname"
:
"HRArchivesV_005"
,
"viewname"
:
"HRArchivesV_005"
,
...
...
This diff is collapsed.
Click to expand it.
app_PIM/src/pages/human-resource/hrarchives-v-004/hrarchives-v-004-base.tsx
0 → 100644
浏览文件 @
4f5981c1
import
{
Subject
}
from
'rxjs'
;
import
{
DashboardViewBase
}
from
'@/studio-core'
;
import
HRArchivesService
from
'@/service/hrarchives/hrarchives-service'
;
import
HRArchivesAuthService
from
'@/authservice/hrarchives/hrarchives-auth-service'
;
import
PortalViewEngine
from
'@engine/view/portal-view-engine'
;
import
HRArchivesUIService
from
'@/uiservice/hrarchives/hrarchives-ui-service'
;
/**
* 档案看板视图基类
*
* @export
* @class HRArchivesV_004Base
* @extends {DashboardViewBase}
*/
export
class
HRArchivesV_004Base
extends
DashboardViewBase
{
/**
* 视图对应应用实体名称
*
* @protected
* @type {string}
* @memberof HRArchivesV_004Base
*/
protected
appDeName
:
string
=
'hrarchives'
;
/**
* 应用实体主键
*
* @protected
* @type {string}
* @memberof HRArchivesV_004Base
*/
protected
appDeKey
:
string
=
'hrarchivesid'
;
/**
* 应用实体主信息
*
* @protected
* @type {string}
* @memberof HRArchivesV_004Base
*/
protected
appDeMajor
:
string
=
'hrarchivesname'
;
/**
* 实体服务对象
*
* @type {HRArchivesService}
* @memberof HRArchivesV_004Base
*/
protected
appEntityService
:
HRArchivesService
=
new
HRArchivesService
;
/**
* 实体权限服务对象
*
* @type HRArchivesUIService
* @memberof HRArchivesV_004Base
*/
public
appUIService
:
HRArchivesUIService
=
new
HRArchivesUIService
(
this
.
$store
);
/**
* 计数器服务对象集合
*
* @protected
* @type {Array<*>}
* @memberof HRArchivesV_004Base
*/
protected
counterServiceArray
:
Array
<
any
>
=
[];
/**
* 视图模型数据
*
* @protected
* @type {*}
* @memberof HRArchivesV_004Base
*/
protected
model
:
any
=
{
srfCaption
:
'entities.hrarchives.views.v_004.caption'
,
srfTitle
:
'entities.hrarchives.views.v_004.title'
,
srfSubTitle
:
'entities.hrarchives.views.v_004.subtitle'
,
dataInfo
:
''
}
/**
* 容器模型
*
* @protected
* @type {*}
* @memberof HRArchivesV_004Base
*/
protected
containerModel
:
any
=
{
view_dashboard
:
{
name
:
'dashboard'
,
type
:
'DASHBOARD'
},
};
/**
* 视图唯一标识
*
* @protected
* @type {string}
* @memberof ViewBase
*/
protected
viewtag
:
string
=
'd33bb4278ea65f691909636c691a0666'
;
/**
* 视图引擎
*
* @public
* @type {Engine}
* @memberof HRArchivesV_004Base
*/
public
engine
:
PortalViewEngine
=
new
PortalViewEngine
();
/**
* 引擎初始化
*
* @public
* @memberof HRArchivesV_004Base
*/
public
engineInit
():
void
{
this
.
engine
.
init
({
view
:
this
,
dashboard
:
this
.
$refs
.
dashboard
,
keyPSDEField
:
'hrarchives'
,
majorPSDEField
:
'hrarchivesname'
,
isLoadDefault
:
true
,
});
}
/**
* dashboard 部件 load 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof HRArchivesV_004Base
*/
public
dashboard_load
(
$event
:
any
,
$event2
?:
any
):
void
{
this
.
engine
.
onCtrlEvent
(
'dashboard'
,
'load'
,
$event
);
}
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
app_PIM/src/pages/human-resource/hrarchives-v-004/hrarchives-v-004.html
0 → 100644
浏览文件 @
4f5981c1
<studio-view-style2
viewName=
"hrarchivesv_004"
viewTitle=
"档案看板"
class=
'deportalview hrarchives-v-004'
>
<view
_dashboard
:viewState=
"viewState"
:viewparams=
"viewparams"
:context=
"JSON.parse(JSON.stringify(context))"
:isEnableCustomized =
"false"
name=
"dashboard"
ref=
'dashboard'
@
load=
"dashboard_load($event)"
@
closeview=
"closeView($event)"
>
</view
_dashboard
>
</studio-view-style2>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
app_PIM/src/pages/human-resource/hrarchives-v-004/hrarchives-v-004.vue
0 → 100644
浏览文件 @
4f5981c1
<
template
src=
"./hrarchives-v-004.html"
/>
<script
lang=
'tsx'
>
import
{ Component } from 'vue-property-decorator';
import { VueLifeCycleProcessing } from '@/studio-core';
import { HRArchivesV_004Base } from './hrarchives-v-004-base';
import view_dashboard from '@widgets/hrarchives/board-001-dashboard/board-001-dashboard.vue';
/**
* 档案看板视图
*
* @export
* @class HRArchivesV_004
* @extends {HRArchivesV_004Base}
*/
@Component({
components: {
view_dashboard,
}
})
@VueLifeCycleProcessing()
export default class HRArchivesV_004 extends HRArchivesV_004Base { }
</script>
This diff is collapsed.
Click to expand it.
app_PIM/src/pages/human-resource/hrarchives-v-005/hrarchives-v-005-base.tsx
浏览文件 @
4f5981c1
...
@@ -6,7 +6,7 @@ import TabExpViewEngine from '@engine/view/tab-exp-view-engine';
...
@@ -6,7 +6,7 @@ import TabExpViewEngine from '@engine/view/tab-exp-view-engine';
import
HRArchivesUIService
from
'@/uiservice/hrarchives/hrarchives-ui-service'
;
import
HRArchivesUIService
from
'@/uiservice/hrarchives/hrarchives-ui-service'
;
/**
/**
* 档案视图基类
* 档案
信息
视图基类
*
*
* @export
* @export
* @class HRArchivesV_005Base
* @class HRArchivesV_005Base
...
...
This diff is collapsed.
Click to expand it.
app_PIM/src/pages/human-resource/hrarchives-v-005/hrarchives-v-005.html
浏览文件 @
4f5981c1
<studio-view-style2
viewName=
"hrarchivesv_005"
viewTitle=
"档案"
class=
'detabexpview hrarchives-v-005'
>
<studio-view-style2
viewName=
"hrarchivesv_005"
viewTitle=
"档案信息"
class=
'detabexpview hrarchives-v-005'
>
<template
slot=
'title'
>
<span
class=
'caption-info'
>
{{viewCaption}}
</span>
</template>
<template
slot=
"toolbar"
>
<template
slot=
"toolbar"
>
<view-toolbar
mode=
"STYLE2"
:model=
"toolBarModels"
@
item-click=
"toolbar_click.apply(_self, arguments)"
/>
</template>
<view-toolbar
mode=
"STYLE2"
:model=
"toolBarModels"
@
item-click=
"toolbar_click.apply(_self, arguments)"
/>
</template>
<view
_tabexppanel
<view
_tabexppanel
...
...
This diff is collapsed.
Click to expand it.
app_PIM/src/pages/human-resource/hrarchives-v-005/hrarchives-v-005.vue
浏览文件 @
4f5981c1
...
@@ -6,7 +6,7 @@ import { HRArchivesV_005Base } from './hrarchives-v-005-base';
...
@@ -6,7 +6,7 @@ import { HRArchivesV_005Base } from './hrarchives-v-005-base';
import view_tabexppanel from '@widgets/hrarchives/v-005tabexppanel-tabexppanel/v-005tabexppanel-tabexppanel.vue';
import view_tabexppanel from '@widgets/hrarchives/v-005tabexppanel-tabexppanel/v-005tabexppanel-tabexppanel.vue';
/**
/**
* 档案视图
* 档案
信息
视图
*
*
* @export
* @export
* @class HRArchivesV_005
* @class HRArchivesV_005
...
...
This diff is collapsed.
Click to expand it.
app_PIM/src/pages/ungroup/pim/page-register.ts
浏览文件 @
4f5981c1
...
@@ -81,6 +81,7 @@ export const PageComponents = {
...
@@ -81,6 +81,7 @@ export const PageComponents = {
Vue
.
component
(
'hrorg-contact-grid-view'
,
()
=>
import
(
'@pages/base/hrorg-contact-grid-view/hrorg-contact-grid-view.vue'
));
Vue
.
component
(
'hrorg-contact-grid-view'
,
()
=>
import
(
'@pages/base/hrorg-contact-grid-view/hrorg-contact-grid-view.vue'
));
Vue
.
component
(
'hroperation-unit-grid-view'
,
()
=>
import
(
'@pages/base/hroperation-unit-grid-view/hroperation-unit-grid-view.vue'
));
Vue
.
component
(
'hroperation-unit-grid-view'
,
()
=>
import
(
'@pages/base/hroperation-unit-grid-view/hroperation-unit-grid-view.vue'
));
Vue
.
component
(
'hrtraining-record-edit-view'
,
()
=>
import
(
'@pages/human-resource/hrtraining-record-edit-view/hrtraining-record-edit-view.vue'
));
Vue
.
component
(
'hrtraining-record-edit-view'
,
()
=>
import
(
'@pages/human-resource/hrtraining-record-edit-view/hrtraining-record-edit-view.vue'
));
Vue
.
component
(
'hrarchives-v-004'
,
()
=>
import
(
'@pages/human-resource/hrarchives-v-004/hrarchives-v-004.vue'
));
Vue
.
component
(
'hrorg-contact-v-001'
,
()
=>
import
(
'@pages/base/hrorg-contact-v-001/hrorg-contact-v-001.vue'
));
Vue
.
component
(
'hrorg-contact-v-001'
,
()
=>
import
(
'@pages/base/hrorg-contact-v-001/hrorg-contact-v-001.vue'
));
Vue
.
component
(
'hrorg-address-v-001'
,
()
=>
import
(
'@pages/base/hrorg-address-v-001/hrorg-address-v-001.vue'
));
Vue
.
component
(
'hrorg-address-v-001'
,
()
=>
import
(
'@pages/base/hrorg-address-v-001/hrorg-address-v-001.vue'
));
Vue
.
component
(
'hrpost-v-001'
,
()
=>
import
(
'@pages/human-resource/hrpost-v-001/hrpost-v-001.vue'
));
Vue
.
component
(
'hrpost-v-001'
,
()
=>
import
(
'@pages/human-resource/hrpost-v-001/hrpost-v-001.vue'
));
...
...
This diff is collapsed.
Click to expand it.
app_PIM/src/pages/ungroup/pim/router.ts
浏览文件 @
4f5981c1
...
@@ -2032,6 +2032,35 @@ const router = new Router({
...
@@ -2032,6 +2032,35 @@ const router = new Router({
},
},
component
:
()
=>
import
(
'@pages/human-resource/hrtraining-record-edit-view/hrtraining-record-edit-view.vue'
),
component
:
()
=>
import
(
'@pages/human-resource/hrtraining-record-edit-view/hrtraining-record-edit-view.vue'
),
},
},
{
path
:
'hremployees/:hremployee?/hrarchives/:hrarchives?/v_004/:v_004?'
,
meta
:
{
caption
:
'entities.hrarchives.views.v_004.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'pim'
,
parameterName
:
'pim'
},
{
pathName
:
'hremployees'
,
parameterName
:
'hremployee'
},
{
pathName
:
'hrarchives'
,
parameterName
:
'hrarchives'
},
{
pathName
:
'v_004'
,
parameterName
:
'v_004'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/human-resource/hrarchives-v-004/hrarchives-v-004.vue'
),
},
{
path
:
'hrarchives/:hrarchives?/v_004/:v_004?'
,
meta
:
{
caption
:
'entities.hrarchives.views.v_004.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'pim'
,
parameterName
:
'pim'
},
{
pathName
:
'hrarchives'
,
parameterName
:
'hrarchives'
},
{
pathName
:
'v_004'
,
parameterName
:
'v_004'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/human-resource/hrarchives-v-004/hrarchives-v-004.vue'
),
},
{
{
path
:
'hroperationunits/:hroperationunit?/hrorgcontacts/:hrorgcontact?/v_001/:v_001?'
,
path
:
'hroperationunits/:hroperationunit?/hrorgcontacts/:hrorgcontact?/v_001/:v_001?'
,
meta
:
{
meta
:
{
...
...
This diff is collapsed.
Click to expand it.
app_PIM/src/store/modules/view-action/state.ts
浏览文件 @
4f5981c1
...
@@ -520,7 +520,7 @@ export const viewstate: any = {
...
@@ -520,7 +520,7 @@ export const viewstate: any = {
viewdatachange
:
false
,
viewdatachange
:
false
,
refviews
:
[
refviews
:
[
'4726bc4ee402aed771ecabe7a6ecdaae'
,
'4726bc4ee402aed771ecabe7a6ecdaae'
,
'
4577fe920c1f8dc9da44a0cab28ca33b
'
,
'
d33bb4278ea65f691909636c691a0666
'
,
'c01c4604589a2c171c4f41f2ac11f4e2'
,
'c01c4604589a2c171c4f41f2ac11f4e2'
,
],
],
},
},
...
@@ -1272,6 +1272,16 @@ export const viewstate: any = {
...
@@ -1272,6 +1272,16 @@ export const viewstate: any = {
refviews
:
[
refviews
:
[
],
],
},
},
{
viewtag
:
'd33bb4278ea65f691909636c691a0666'
,
viewmodule
:
'HumanResource'
,
viewname
:
'HRArchivesV_004'
,
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
'4577fe920c1f8dc9da44a0cab28ca33b'
,
],
},
{
{
viewtag
:
'd4d0e128d8c7e5c141f99540b62fd9bf'
,
viewtag
:
'd4d0e128d8c7e5c141f99540b62fd9bf'
,
viewmodule
:
'HumanResource'
,
viewmodule
:
'HumanResource'
,
...
...
This diff is collapsed.
Click to expand it.
app_PIM/src/widgets/hrarchives/board-001-dashboard/board-001-dashboard-base.tsx
0 → 100644
浏览文件 @
4f5981c1
import
{
Prop
,
Provide
,
Emit
,
Model
}
from
'vue-property-decorator'
;
import
{
Subject
,
Subscription
}
from
'rxjs'
;
import
{
Watch
,
MainControlBase
}
from
'@/studio-core'
;
import
HRArchivesService
from
'@/service/hrarchives/hrarchives-service'
;
import
BOARD_001Service
from
'./board-001-dashboard-service'
;
import
HRArchivesUIService
from
'@/uiservice/hrarchives/hrarchives-ui-service'
;
import
UtilService
from
'@/utilservice/util-service'
;
/**
* dashboard部件基类
*
* @export
* @class MainControlBase
* @extends {BOARD_001DashboardBase}
*/
export
class
BOARD_001DashboardBase
extends
MainControlBase
{
/**
* 获取部件类型
*
* @protected
* @type {string}
* @memberof BOARD_001DashboardBase
*/
protected
controlType
:
string
=
'DASHBOARD'
;
/**
* 建构部件服务对象
*
* @type {BOARD_001Service}
* @memberof BOARD_001DashboardBase
*/
public
service
:
BOARD_001Service
=
new
BOARD_001Service
({
$store
:
this
.
$store
});
/**
* 实体服务对象
*
* @type {HRArchivesService}
* @memberof BOARD_001DashboardBase
*/
public
appEntityService
:
HRArchivesService
=
new
HRArchivesService
({
$store
:
this
.
$store
});
/**
* 应用实体名称
*
* @protected
* @type {string}
* @memberof BOARD_001DashboardBase
*/
protected
appDeName
:
string
=
'hrarchives'
;
/**
* 应用实体中文名称
*
* @protected
* @type {string}
* @memberof BOARD_001DashboardBase
*/
protected
appDeLogicName
:
string
=
'档案信息'
;
/**
* 是否支持看板定制
*
* @public
* @type {(boolean)}
* @memberof BOARD_001
*/
@
Prop
()
public
isEnableCustomized
!
:
boolean
;
/**
* 是否已有看板定制
*
* @public
* @type {(boolean)}
* @memberof BOARD_001
*/
public
isHasCustomized
:
boolean
=
false
;
/**
* 模型数据
*
* @public
* @type {(*)}
* @memberof BOARD_001
*/
public
modelDta
:
any
;
/**
* modleId
*
* @type {string}
* @memberof BOARD_001
*/
public
modelId
:
string
=
"dashboard_hrarchives_board_001"
;
/**
* 建构功能服务对象
*
* @type {UtilService}
* @memberof BOARD_001
*/
public
utilService
:
UtilService
=
new
UtilService
();
/**
* 功能服务名称
*
* @type {string}
* @memberof BOARD_001
*/
public
utilServiceName
:
string
=
""
;
/**
* 获取多项数据
*
* @returns {any[]}
* @memberof BOARD_001
*/
public
getDatas
():
any
[]
{
return
[];
}
/**
* 获取单项树
*
* @returns {*}
* @memberof BOARD_001
*/
public
getData
():
any
{
return
{};
}
/**
* vue 生命周期
*
* @memberof BOARD_001
*/
public
created
()
{
this
.
afterCreated
();
}
/**
* 执行created后的逻辑
*
* @memberof BOARD_001
*/
public
afterCreated
(){
if
(
this
.
viewState
)
{
this
.
viewStateEvent
=
this
.
viewState
.
subscribe
(({
tag
,
action
,
data
})
=>
{
if
(
!
Object
.
is
(
tag
,
this
.
name
))
{
return
;
}
if
(
Object
.
is
(
'load'
,
action
))
{
this
.
loadModel
();
}
});
}
}
/**
* 动态设计水平列数
*
* @memberof BOARD_001
*/
public
layoutColNum
:
number
=
12
;
/**
* 动态设计单元格高度,80px
*
* @memberof BOARD_001
*/
public
layoutRowH
:
number
=
80
;
/**
* 通知状态
*
* @memberof BOARD_001
*/
public
notifyState
(){
this
.
$nextTick
(()
=>
{
if
(
this
.
isHasCustomized
)
{
if
(
this
.
modelDta
&&
this
.
modelDta
.
length
>
0
)
{
this
.
modelDta
.
forEach
((
item
:
any
)
=>
{
this
.
viewState
.
next
({
tag
:
item
.
portletCodeName
,
action
:
"load"
,
data
:
JSON
.
parse
(
JSON
.
stringify
(
this
.
viewparams
))
});
});
}
}
else
{
if
(
this
.
viewState
)
{
const
refs
:
any
=
this
.
$refs
;
Object
.
keys
(
refs
).
forEach
((
name
:
string
)
=>
{
this
.
viewState
.
next
({
tag
:
name
,
action
:
"load"
,
data
:
JSON
.
parse
(
JSON
.
stringify
(
this
.
viewparams
))
});
});
}
}
})
}
/**
* 加载布局与数据模型
*
* @memberof BOARD_001
*/
public
loadModel
(){
if
(
this
.
isEnableCustomized
){
this
.
utilService
.
getService
(
this
.
utilServiceName
).
then
((
service
:
any
)
=>
{
service
.
loadModelData
(
JSON
.
parse
(
JSON
.
stringify
(
this
.
context
)),{
modelid
:
this
.
modelId
,
utilServiceName
:
this
.
utilServiceName
}).
then
((
res
:
any
)
=>
{
if
(
res
&&
res
.
status
==
200
){
const
data
:
any
=
res
.
data
;
if
(
data
&&
data
.
length
>
0
){
this
.
isHasCustomized
=
true
;
this
.
modelDta
=
data
;
this
.
$forceUpdate
();
}
else
{
this
.
isHasCustomized
=
false
;
}
this
.
notifyState
();
}
else
{
console
.
error
(
"加载面板模型异常"
);
this
.
isHasCustomized
=
false
;
this
.
notifyState
();
}
}).
catch
((
error
:
any
)
=>
{
console
.
error
(
"加载面板模型异常"
);
console
.
error
(
error
);
this
.
isHasCustomized
=
false
;
this
.
notifyState
();
});
})
}
else
{
this
.
notifyState
();
}
}
/**
* 处理私人定制按钮
*
* @memberof BOARD_001
*/
public
handleClick
(){
const
view
:
any
=
{
viewname
:
'app-portal-design'
,
title
:
(
this
.
$t
(
'app.dashBoard.handleClick.title'
)),
width
:
1600
,
placement
:
'DRAWER_RIGHT'
}
const
viewparam
:
any
=
{
modelid
:
this
.
modelId
,
utilServiceName
:
this
.
utilServiceName
,
appdeName
:
'HRArchives'
}
const
appdrawer
=
this
.
$appdrawer
.
openDrawer
(
view
,
JSON
.
parse
(
JSON
.
stringify
(
this
.
context
)),
viewparam
);
appdrawer
.
subscribe
((
result
:
any
)
=>
{
if
(
Object
.
is
(
result
.
ret
,
'OK'
)){
this
.
loadModel
();
}
});
}
/**
* vue 生命周期
*
* @memberof BOARD_001
*/
public
destroyed
()
{
this
.
afterDestroy
();
}
/**
* 执行destroyed后的逻辑
*
* @memberof BOARD_001
*/
public
afterDestroy
()
{
if
(
this
.
viewStateEvent
)
{
this
.
viewStateEvent
.
unsubscribe
();
}
}
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
app_PIM/src/widgets/hrarchives/board-001-dashboard/board-001-dashboard-model.ts
0 → 100644
浏览文件 @
4f5981c1
/**
* BOARD_001 部件模型
*
* @export
* @class BOARD_001Model
*/
export
default
class
BOARD_001Model
{
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof BOARD_001Model
*/
public
getDataItems
():
any
[]
{
return
[
{
name
:
'hrarchives'
,
prop
:
'hrarchivesid'
,
},
{
name
:
'hrarchivesname'
,
},
{
name
:
'createman'
,
},
{
name
:
'createdate'
,
},
{
name
:
'updateman'
,
},
{
name
:
'updatedate'
,
},
{
name
:
'hremployeeid'
,
},
{
name
:
'hremployeename'
,
},
{
name
:
'employeecode'
,
},
{
name
:
'organizationname'
,
},
{
name
:
'organizationid'
,
},
{
name
:
'empstate'
,
},
{
name
:
'archivescode'
,
},
{
name
:
'archivesroom'
,
},
{
name
:
'archivesplacetype'
,
},
{
name
:
'archivesplace'
,
},
{
name
:
'degree'
,
},
{
name
:
'birthday'
,
},
{
name
:
'politicaltime'
,
},
{
name
:
'startworktime'
,
},
{
name
:
'activeflag'
,
},
{
name
:
'attachment'
,
},
{
name
:
'memo'
,
},
{
name
:
'borrowstate'
,
},
{
name
:
'hrorganizationid'
,
},
{
name
:
'hrorganizationname'
,
},
]
}
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
app_PIM/src/widgets/hrarchives/board-001-dashboard/board-001-dashboard-service.ts
0 → 100644
浏览文件 @
4f5981c1
import
{
Http
}
from
'@/utils'
;
import
ControlService
from
'@/widgets/control-service'
;
/**
* BOARD_001 部件服务对象
*
* @export
* @class BOARD_001Service
*/
export
default
class
BOARD_001Service
extends
ControlService
{
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
app_PIM/src/widgets/hrarchives/board-001-dashboard/board-001-dashboard.html
0 → 100644
浏览文件 @
4f5981c1
<div
class=
'dashboard'
>
<row
v-if=
"isEnableCustomized"
>
<app-build
@
handleClick=
"handleClick.apply(_self, arguments)"
></app-build>
</row>
<row
v-if=
"!isHasCustomized"
>
<i-col
:md=
"{ span: 24, offset: 0 }"
>
<card
class=
"portlet-card"
:bordered=
"false"
dis-hover
:padding=
"0"
>
<span>
<div
class=
'portlet-container v-004dashboard-container1 portlet-container-no-border'
:style=
"{}"
>
<row>
<i-col
:md=
"{ span: 24, offset: 0 }"
>
<div
class=
"portlet-without-title"
>
<card
class=
"portlet-card"
:bordered=
"false"
dis-hover
:padding=
"0"
>
<span>
<view
_dashboard_sysportlet1
:viewState=
"viewState"
:viewparams=
"viewparams"
:context=
"context"
:height=
"300"
:width=
"0"
name=
"dashboard_sysportlet1"
ref=
'dashboard_sysportlet1'
@
closeview=
"closeView($event)"
>
</view
_dashboard_sysportlet1
>
</span>
</card>
</div>
</i-col>
</row>
</div>
</span>
</card>
</i-col>
</row>
<row
v-if=
"isHasCustomized"
style=
"width: 100%;min-height: calc(100% - 40px);"
>
<div
class=
"portlet-container"
style=
"position: relative;width:100%;"
>
<template
v-for=
"(item, index) of modelDta"
>
<div
:key=
"index"
:style=
"{zIndex: 10, position: 'absolute', height: item.h*layoutRowH + 'px', width: `calc(100% / ${layoutColNum} * ${item.w})`,top: item.y*layoutRowH + 'px', left: `calc(100% / ${layoutColNum} * ${item.x})`}"
>
<component
:key=
"$util.createUUID()"
:is=
"item.componentName"
:name=
"item.portletCodeName"
:context=
"JSON.parse(JSON.stringify(context))"
:viewDefaultUsage=
"false"
:isAdaptiveSize=
"true"
:viewState=
"viewState"
></component>
</div>
</template>
</div>
</row>
</div>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
app_PIM/src/widgets/hrarchives/board-001-dashboard/board-001-dashboard.vue
0 → 100644
浏览文件 @
4f5981c1
<
template
src=
"./board-001-dashboard.html"
/>
<script
lang=
'tsx'
>
import
{ Component } from 'vue-property-decorator';
import { VueLifeCycleProcessing } from '@/studio-core';
import { BOARD_001DashboardBase } from './board-001-dashboard-base';
import view_dashboard_sysportlet1 from '@widgets/hrarchives/part-001-portlet/part-001-portlet.vue';
/**
* dashboard部件
*
* @export
* @class BOARD_001Dashboard
* @extends {BOARD_001DashboardBase}
*/
@Component({
components: {
view_dashboard_sysportlet1,
}
})
@VueLifeCycleProcessing()
export default class BOARD_001Dashboard extends BOARD_001DashboardBase { }
</script>
This diff is collapsed.
Click to expand it.
app_PIM/src/widgets/hrarchives/part-001-portlet/part-001-portlet-base.tsx
0 → 100644
浏览文件 @
4f5981c1
import
{
Prop
,
Provide
,
Emit
,
Model
}
from
'vue-property-decorator'
;
import
{
Subject
,
Subscription
}
from
'rxjs'
;
import
{
Watch
,
MainControlBase
}
from
'@/studio-core'
;
import
HRArchivesService
from
'@/service/hrarchives/hrarchives-service'
;
import
PART_001Service
from
'./part-001-portlet-service'
;
import
HRArchivesUIService
from
'@/uiservice/hrarchives/hrarchives-ui-service'
;
import
{
Environment
}
from
'@/environments/environment'
;
/**
* dashboard_sysportlet1部件基类
*
* @export
* @class MainControlBase
* @extends {PART_001PortletBase}
*/
export
class
PART_001PortletBase
extends
MainControlBase
{
/**
* 获取部件类型
*
* @protected
* @type {string}
* @memberof PART_001PortletBase
*/
protected
controlType
:
string
=
'PORTLET'
;
/**
* 建构部件服务对象
*
* @type {PART_001Service}
* @memberof PART_001PortletBase
*/
public
service
:
PART_001Service
=
new
PART_001Service
({
$store
:
this
.
$store
});
/**
* 实体服务对象
*
* @type {HRArchivesService}
* @memberof PART_001PortletBase
*/
public
appEntityService
:
HRArchivesService
=
new
HRArchivesService
({
$store
:
this
.
$store
});
/**
* 应用实体名称
*
* @protected
* @type {string}
* @memberof PART_001PortletBase
*/
protected
appDeName
:
string
=
'hrarchives'
;
/**
* 应用实体中文名称
*
* @protected
* @type {string}
* @memberof PART_001PortletBase
*/
protected
appDeLogicName
:
string
=
'档案信息'
;
/**
* 长度
*
* @type {number}
* @memberof PART_001
*/
@
Prop
()
public
height
?:
number
;
/**
* 宽度
*
* @type {number}
* @memberof PART_001
*/
@
Prop
()
public
width
?:
number
;
/**
* 是否自适应大小
*
* @returns {boolean}
* @memberof PART_001Base
*/
@
Prop
({
default
:
false
})
public
isAdaptiveSize
!
:
boolean
;
/**
* 获取多项数据
*
* @returns {any[]}
* @memberof PART_001Base
*/
public
getDatas
():
any
[]
{
return
[];
}
/**
* 获取单项树
*
* @returns {*}
* @memberof PART_001Base
*/
public
getData
():
any
{
return
{};
}
/**
* 获取高度
*
* @returns {any[]}
* @memberof PART_001Base
*/
get
getHeight
():
any
{
if
(
!
this
.
$util
.
isEmpty
(
this
.
height
)
&&
!
this
.
$util
.
isNumberNaN
(
this
.
height
)){
if
(
this
.
height
==
0
){
return
'auto'
;
}
else
{
return
this
.
height
+
'px'
;
}
}
else
{
return
'300px'
;
}
}
/**
* vue 生命周期
*
* @memberof PART_001Base
*/
public
created
()
{
this
.
afterCreated
();
}
/**
* 执行created后的逻辑
*
* @memberof PART_001Base
*/
public
afterCreated
(){
if
(
this
.
viewState
)
{
this
.
viewStateEvent
=
this
.
viewState
.
subscribe
(({
tag
,
action
,
data
})
=>
{
if
(
!
Object
.
is
(
tag
,
this
.
name
))
{
return
;
}
const
refs
:
any
=
this
.
$refs
;
Object
.
keys
(
refs
).
forEach
((
_name
:
string
)
=>
{
this
.
viewState
.
next
({
tag
:
_name
,
action
:
action
,
data
:
data
});
});
});
}
}
/**
* vue 生命周期
*
* @memberof PART_001Base
*/
public
destroyed
()
{
this
.
afterDestroy
();
}
/**
* 执行destroyed后的逻辑
*
* @memberof PART_001Base
*/
public
afterDestroy
()
{
if
(
this
.
viewStateEvent
)
{
this
.
viewStateEvent
.
unsubscribe
();
}
}
}
This diff is collapsed.
Click to expand it.
app_PIM/src/widgets/hrarchives/part-001-portlet/part-001-portlet-model.ts
0 → 100644
浏览文件 @
4f5981c1
/**
* PART_001 部件模型
*
* @export
* @class PART_001Model
*/
export
default
class
PART_001Model
{
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof PART_001Model
*/
public
getDataItems
():
any
[]
{
return
[
{
name
:
'hrarchives'
,
prop
:
'hrarchivesid'
,
},
{
name
:
'hrarchivesname'
,
},
{
name
:
'createman'
,
},
{
name
:
'createdate'
,
},
{
name
:
'updateman'
,
},
{
name
:
'updatedate'
,
},
{
name
:
'hremployeeid'
,
},
{
name
:
'hremployeename'
,
},
{
name
:
'employeecode'
,
},
{
name
:
'organizationname'
,
},
{
name
:
'organizationid'
,
},
{
name
:
'empstate'
,
},
{
name
:
'archivescode'
,
},
{
name
:
'archivesroom'
,
},
{
name
:
'archivesplacetype'
,
},
{
name
:
'archivesplace'
,
},
{
name
:
'degree'
,
},
{
name
:
'birthday'
,
},
{
name
:
'politicaltime'
,
},
{
name
:
'startworktime'
,
},
{
name
:
'activeflag'
,
},
{
name
:
'attachment'
,
},
{
name
:
'memo'
,
},
{
name
:
'borrowstate'
,
},
{
name
:
'hrorganizationid'
,
},
{
name
:
'hrorganizationname'
,
},
]
}
}
This diff is collapsed.
Click to expand it.
app_PIM/src/widgets/hrarchives/part-001-portlet/part-001-portlet-service.ts
0 → 100644
浏览文件 @
4f5981c1
import
{
Http
}
from
'@/utils'
;
import
ControlService
from
'@/widgets/control-service'
;
/**
* PART_001 部件服务对象
*
* @export
* @class PART_001Service
*/
export
default
class
PART_001Service
extends
ControlService
{
}
This diff is collapsed.
Click to expand it.
app_PIM/src/widgets/hrarchives/part-001-portlet/part-001-portlet.html
0 → 100644
浏览文件 @
4f5981c1
<div
class=
'portlet part-001 '
:style=
"{'height': isAdaptiveSize ? 'calc(100% - 16px)' : getHeight,}"
>
<div
class=
"portlet-without-title"
>
<hrarchives-v-003
:viewUsage=
"4"
:viewdata=
"JSON.stringify(context)"
:viewDefaultUsage=
"false"
></hrarchives-v-003>
</div>
</div>
This diff is collapsed.
Click to expand it.
app_PIM/src/widgets/hrarchives/part-001-portlet/part-001-portlet.vue
0 → 100644
浏览文件 @
4f5981c1
<
template
src=
"./part-001-portlet.html"
/>
<script
lang=
'tsx'
>
import
{ Component } from 'vue-property-decorator';
import { VueLifeCycleProcessing } from '@/studio-core';
import { PART_001PortletBase } from './part-001-portlet-base';
/**
* dashboard_sysportlet1部件
*
* @export
* @class PART_001Portlet
* @extends {PART_001PortletBase}
*/
@Component({
components: {
}
})
@VueLifeCycleProcessing()
export default class PART_001Portlet extends PART_001PortletBase { }
</script>
This diff is collapsed.
Click to expand it.
app_PIM/src/widgets/hrarchives/v-005tabviewpanel-tabviewpanel/v-005tabviewpanel-tabviewpanel.html
浏览文件 @
4f5981c1
<div
class=
'tabviewpanel'
v-if=
'isActivied'
>
<div
class=
'tabviewpanel'
v-if=
'isActivied'
>
<hrarchives-v-00
3
<hrarchives-v-00
4
class=
'viewcontainer2'
class=
'viewcontainer2'
:viewdata=
"viewdata"
:viewdata=
"viewdata"
:viewparam=
"viewparam"
:viewparam=
"viewparam"
...
...
This diff is collapsed.
Click to expand it.
config.xml
浏览文件 @
4f5981c1
...
@@ -37,6 +37,11 @@
...
@@ -37,6 +37,11 @@
git clone -b master $para2 ibizhumanresources/
git clone -b master $para2 ibizhumanresources/
export NODE_OPTIONS=--max-old-space-size=4096
export NODE_OPTIONS=--max-old-space-size=4096
cd ibizhumanresources/
cd ibizhumanresources/
mvn clean package -Ppim
cd humanresource-app/humanresource-app-pim
mvn -Ppim docker:build
mvn -Ppim docker:push
docker -H $para1 stack deploy --compose-file=src/main/docker/humanresource-app-pim.yaml iBizEE --with-registry-auth
</command>
</command>
</hudson.tasks.Shell>
</hudson.tasks.Shell>
</builders>
</builders>
...
...
This diff is collapsed.
Click to expand it.
humanresource-app/humanresource-app-pim/src/main/docker/Dockerfile
浏览文件 @
4f5981c1
...
@@ -12,6 +12,6 @@ CMD echo "The application will start in ${IBIZ_SLEEP}s..." && \
...
@@ -12,6 +12,6 @@ CMD echo "The application will start in ${IBIZ_SLEEP}s..." && \
sleep ${IBIZ_SLEEP} && \
sleep ${IBIZ_SLEEP} && \
java ${JAVA_OPTS} -Djava.security.egd=file:/dev/./urandom -jar /humanresource-app-pim.jar
java ${JAVA_OPTS} -Djava.security.egd=file:/dev/./urandom -jar /humanresource-app-pim.jar
EXPOSE
8080
EXPOSE
10327
ADD
humanresource-app-pim.jar /humanresource-app-pim.jar
ADD
humanresource-app-pim.jar /humanresource-app-pim.jar
This diff is collapsed.
Click to expand it.
humanresource-app/humanresource-app-pim/src/main/docker/humanresource-app-pim.yaml
浏览文件 @
4f5981c1
...
@@ -3,9 +3,25 @@ services:
...
@@ -3,9 +3,25 @@ services:
humanresource-app-pim
:
humanresource-app-pim
:
image
:
registry.cn-shanghai.aliyuncs.com/ibizsys/humanresource-app-pim:latest
image
:
registry.cn-shanghai.aliyuncs.com/ibizsys/humanresource-app-pim:latest
ports
:
ports
:
-
"
8080:8080
"
-
"
10327:10327
"
networks
:
networks
:
-
agent_network
-
agent_network
environment
:
-
SPRING_CLOUD_NACOS_DISCOVERY_IP=172.16.240.110
-
SERVER_PORT=10327
-
SPRING_CLOUD_NACOS_DISCOVERY_SERVER-ADDR=172.16.240.110:8848
-
SPRING_REDIS_HOST=172.16.240.110
-
SPRING_REDIS_PORT=6379
-
SPRING_REDIS_DATABASE=0
-
SPRING_DATASOURCE_USERNAME=a_LAB01_e85d8801c
-
SPRING_DATASOURCE_PASSWORD=b1@@@772
-
SPRING_DATASOURCE_URL=jdbc:mysql://172.16.186.185:3306/a_LAB01_e85d8801c?autoReconnect=true&useUnicode=true&characterEncoding=UTF-8&useOldAliasMetadataBehavior=true&allowMultiQueries=true
-
SPRING_DATASOURCE_DRIVER-CLASS-NAME=com.mysql.jdbc.Driver
-
SPRING_DATASOURCE_DEFAULTSCHEMA=a_LAB01_e85d8801c
-
CAS=https://passport.ibizlab.cn
-
NACOS=172.16.240.110:8848
-
SEATA_REGISTRY_NACOS_SERVER-ADDR=172.16.240.110:8848
-
SEATA_ENABLED=true
deploy
:
deploy
:
resources
:
resources
:
limits
:
limits
:
...
...
This diff is collapsed.
Click to expand it.
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录