Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
iBiz人力资源
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
iBiz企业套件
iBiz人力资源
提交
947ca0db
提交
947ca0db
编写于
8月 05, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
jackwang 部署微服务应用
上级
0a9c09cf
变更
13
展开全部
隐藏空白字符变更
内嵌
并排
正在显示
13 个修改的文件
包含
69 行增加
和
580 行删除
+69
-580
view-config.json
app_PIM/public/assets/json/view-config.json
+1
-1
hroperation-unit_en_US.ts
...anres/entities/hroperation-unit/hroperation-unit_en_US.ts
+8
-39
hroperation-unit_zh_CN.ts
...anres/entities/hroperation-unit/hroperation-unit_zh_CN.ts
+8
-39
viewconfig.ts
app_PIM/src/mock/viewconfig/viewconfig.ts
+1
-1
hrlegal-edit-view.html
...M/src/pages/base/hrlegal-edit-view/hrlegal-edit-view.html
+0
-3
hroperation-unit-edit-view-base.tsx
...ration-unit-edit-view/hroperation-unit-edit-view-base.tsx
+16
-487
hroperation-unit-edit-view.html
...roperation-unit-edit-view/hroperation-unit-edit-view.html
+1
-4
hroperation-unit-edit-view.vue
...hroperation-unit-edit-view/hroperation-unit-edit-view.vue
+1
-1
main-form-base.tsx
...src/widgets/hroperation-unit/main-form/main-form-base.tsx
+23
-0
main-form-model.ts
...src/widgets/hroperation-unit/main-form/main-form-model.ts
+5
-0
main-form.html
...PIM/src/widgets/hroperation-unit/main-form/main-form.html
+2
-2
main-grid.html
...PIM/src/widgets/hroperation-unit/main-grid/main-grid.html
+1
-1
h2_table.xml
humanresource-core/src/main/resources/liquibase/h2_table.xml
+2
-2
未找到文件。
app_PIM/public/assets/json/view-config.json
浏览文件 @
947ca0db
...
@@ -40,7 +40,7 @@
...
@@ -40,7 +40,7 @@
"memo"
:
""
"memo"
:
""
},
},
"hroperationuniteditview"
:
{
"hroperationuniteditview"
:
{
"title"
:
"运营单位
编辑视图
"
,
"title"
:
"运营单位
信息编辑
"
,
"caption"
:
"运营单位"
,
"caption"
:
"运营单位"
,
"viewtype"
:
"DEEDITVIEW"
,
"viewtype"
:
"DEEDITVIEW"
,
"viewmodule"
:
"Base"
,
"viewmodule"
:
"Base"
,
...
...
app_PIM/src/locale/lanres/entities/hroperation-unit/hroperation-unit_en_US.ts
浏览文件 @
947ca0db
...
@@ -22,7 +22,7 @@ export default {
...
@@ -22,7 +22,7 @@ export default {
},
},
editview
:
{
editview
:
{
caption
:
"运营单位"
,
caption
:
"运营单位"
,
title
:
"运营单位
编辑视图
"
,
title
:
"运营单位
信息编辑
"
,
},
},
},
},
main_form
:
{
main_form
:
{
...
@@ -43,6 +43,7 @@ export default {
...
@@ -43,6 +43,7 @@ export default {
orgcode
:
"组织编码"
,
orgcode
:
"组织编码"
,
shortname
:
"组织简称"
,
shortname
:
"组织简称"
,
showorder
:
"排序号"
,
showorder
:
"排序号"
,
organizationtype
:
"组织类型"
,
memo
:
"备注"
,
memo
:
"备注"
,
operationunitid
:
"运营单位标识"
,
operationunitid
:
"运营单位标识"
,
},
},
...
@@ -68,49 +69,17 @@ export default {
...
@@ -68,49 +69,17 @@ export default {
},
},
},
},
editviewtoolbar_toolbar
:
{
editviewtoolbar_toolbar
:
{
tbitem3
:
{
tbitem1
:
{
caption
:
"Save"
,
tip
:
"Save"
,
},
tbitem4
:
{
caption
:
"Save And New"
,
tip
:
"Save And New"
,
},
tbitem5
:
{
caption
:
"Save And Close"
,
caption
:
"Save And Close"
,
tip
:
"Save And Close Window"
,
tip
:
"Save And Close Window"
,
},
},
tbitem6
:
{
seperator1
:
{
caption
:
"-"
,
caption
:
""
,
tip
:
""
,
},
tbitem7
:
{
caption
:
"Remove And Close"
,
tip
:
"Remove And Close Window"
,
},
tbitem8
:
{
caption
:
"-"
,
tip
:
""
,
},
tbitem12
:
{
caption
:
"New"
,
tip
:
"New"
,
},
tbitem13
:
{
caption
:
"-"
,
tip
:
""
,
},
tbitem14
:
{
caption
:
"Copy"
,
tip
:
"Copy {0}"
,
},
tbitem16
:
{
caption
:
"-"
,
tip
:
""
,
tip
:
""
,
},
},
tbitem2
2
:
{
tbitem2
:
{
caption
:
"
Help
"
,
caption
:
"
关闭
"
,
tip
:
"
Help
"
,
tip
:
"
关闭
"
,
},
},
},
},
gridviewtoolbar_toolbar
:
{
gridviewtoolbar_toolbar
:
{
...
...
app_PIM/src/locale/lanres/entities/hroperation-unit/hroperation-unit_zh_CN.ts
浏览文件 @
947ca0db
...
@@ -21,7 +21,7 @@ export default {
...
@@ -21,7 +21,7 @@ export default {
},
},
editview
:
{
editview
:
{
caption
:
"运营单位"
,
caption
:
"运营单位"
,
title
:
"运营单位
编辑视图
"
,
title
:
"运营单位
信息编辑
"
,
},
},
},
},
main_form
:
{
main_form
:
{
...
@@ -42,6 +42,7 @@ export default {
...
@@ -42,6 +42,7 @@ export default {
orgcode
:
"组织编码"
,
orgcode
:
"组织编码"
,
shortname
:
"组织简称"
,
shortname
:
"组织简称"
,
showorder
:
"排序号"
,
showorder
:
"排序号"
,
organizationtype
:
"组织类型"
,
memo
:
"备注"
,
memo
:
"备注"
,
operationunitid
:
"运营单位标识"
,
operationunitid
:
"运营单位标识"
,
},
},
...
@@ -67,49 +68,17 @@ export default {
...
@@ -67,49 +68,17 @@ export default {
},
},
},
},
editviewtoolbar_toolbar
:
{
editviewtoolbar_toolbar
:
{
tbitem3
:
{
tbitem1
:
{
caption
:
"保存"
,
tip
:
"保存"
,
},
tbitem4
:
{
caption
:
"保存并新建"
,
tip
:
"保存并新建"
,
},
tbitem5
:
{
caption
:
"保存并关闭"
,
caption
:
"保存并关闭"
,
tip
:
"保存并关闭"
,
tip
:
"保存并关闭"
,
},
},
tbitem6
:
{
seperator1
:
{
caption
:
"-"
,
caption
:
""
,
tip
:
""
,
},
tbitem7
:
{
caption
:
"删除并关闭"
,
tip
:
"删除并关闭"
,
},
tbitem8
:
{
caption
:
"-"
,
tip
:
""
,
},
tbitem12
:
{
caption
:
"新建"
,
tip
:
"新建"
,
},
tbitem13
:
{
caption
:
"-"
,
tip
:
""
,
},
tbitem14
:
{
caption
:
"拷贝"
,
tip
:
"拷贝"
,
},
tbitem16
:
{
caption
:
"-"
,
tip
:
""
,
tip
:
""
,
},
},
tbitem2
2
:
{
tbitem2
:
{
caption
:
"
帮助
"
,
caption
:
"
关闭
"
,
tip
:
"
帮助
"
,
tip
:
"
关闭
"
,
},
},
},
},
gridviewtoolbar_toolbar
:
{
gridviewtoolbar_toolbar
:
{
...
...
app_PIM/src/mock/viewconfig/viewconfig.ts
浏览文件 @
947ca0db
...
@@ -40,7 +40,7 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
...
@@ -40,7 +40,7 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewtag"
:
"286e8ac9eca7b6eb8058fde93995db10"
"viewtag"
:
"286e8ac9eca7b6eb8058fde93995db10"
},
},
"hroperationuniteditview"
:
{
"hroperationuniteditview"
:
{
"title"
:
"运营单位
编辑视图
"
,
"title"
:
"运营单位
信息编辑
"
,
"caption"
:
"运营单位"
,
"caption"
:
"运营单位"
,
"viewtype"
:
"DEEDITVIEW"
,
"viewtype"
:
"DEEDITVIEW"
,
"viewmodule"
:
"Base"
,
"viewmodule"
:
"Base"
,
...
...
app_PIM/src/pages/base/hrlegal-edit-view/hrlegal-edit-view.html
浏览文件 @
947ca0db
<studio-view-style2
viewName=
"hrlegaleditview"
viewTitle=
"法人编辑视图"
class=
'deeditview hrlegal-edit-view'
>
<studio-view-style2
viewName=
"hrlegaleditview"
viewTitle=
"法人编辑视图"
class=
'deeditview hrlegal-edit-view'
>
<template
slot=
'title'
>
<span
class=
'caption-info'
>
{{$t(model.srfTitle)}}
</span>
</template>
<template
slot=
"toolbar"
>
<template
slot=
"toolbar"
>
<view-toolbar
mode=
"STYLE2"
:model=
"toolBarModels"
@
item-click=
"toolbar_click($event)"
/>
</template>
<view-toolbar
mode=
"STYLE2"
:model=
"toolBarModels"
@
item-click=
"toolbar_click($event)"
/>
</template>
<view
_form
<view
_form
...
...
app_PIM/src/pages/base/hroperation-unit-edit-view/hroperation-unit-edit-view-base.tsx
浏览文件 @
947ca0db
此差异已折叠。
点击以展开。
app_PIM/src/pages/base/hroperation-unit-edit-view/hroperation-unit-edit-view.html
浏览文件 @
947ca0db
<studio-view-style2
viewName=
"hroperationuniteditview"
viewTitle=
"运营单位编辑视图"
class=
'deeditview hroperation-unit-edit-view'
>
<studio-view-style2
viewName=
"hroperationuniteditview"
viewTitle=
"运营单位信息编辑"
class=
'deeditview hroperation-unit-edit-view'
>
<template
slot=
'title'
>
<span
class=
'caption-info'
>
{{$t(model.srfTitle)}}
</span>
</template>
<template
slot=
"toolbar"
>
<template
slot=
"toolbar"
>
<view-toolbar
mode=
"STYLE2"
:model=
"toolBarModels"
@
item-click=
"toolbar_click($event)"
/>
</template>
<view-toolbar
mode=
"STYLE2"
:model=
"toolBarModels"
@
item-click=
"toolbar_click($event)"
/>
</template>
<view
_form
<view
_form
...
...
app_PIM/src/pages/base/hroperation-unit-edit-view/hroperation-unit-edit-view.vue
浏览文件 @
947ca0db
...
@@ -6,7 +6,7 @@ import { HROperationUnitEditViewBase } from './hroperation-unit-edit-view-base';
...
@@ -6,7 +6,7 @@ import { HROperationUnitEditViewBase } from './hroperation-unit-edit-view-base';
import view_form from '@widgets/hroperation-unit/main-form/main-form.vue';
import view_form from '@widgets/hroperation-unit/main-form/main-form.vue';
/**
/**
* 运营单位
编辑视图
视图
* 运营单位
信息编辑
视图
*
*
* @export
* @export
* @class HROperationUnitEditView
* @class HROperationUnitEditView
...
...
app_PIM/src/widgets/hroperation-unit/main-form/main-form-base.tsx
浏览文件 @
947ca0db
...
@@ -78,6 +78,7 @@ export class MainEditFormBase extends EditFormControlBase {
...
@@ -78,6 +78,7 @@ export class MainEditFormBase extends EditFormControlBase {
orgcode
:
null
,
orgcode
:
null
,
shortname
:
null
,
shortname
:
null
,
showorder
:
null
,
showorder
:
null
,
organizationtype
:
null
,
memo
:
null
,
memo
:
null
,
operationunitid
:
null
,
operationunitid
:
null
,
hroperationunit
:
null
,
hroperationunit
:
null
,
...
@@ -140,9 +141,31 @@ export class MainEditFormBase extends EditFormControlBase {
...
@@ -140,9 +141,31 @@ export class MainEditFormBase extends EditFormControlBase {
showorder
:
new
FormItemModel
({
caption
:
'排序号'
,
detailType
:
'FORMITEM'
,
name
:
'showorder'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
showorder
:
new
FormItemModel
({
caption
:
'排序号'
,
detailType
:
'FORMITEM'
,
name
:
'showorder'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
organizationtype
:
new
FormItemModel
({
caption
:
'组织类型'
,
detailType
:
'FORMITEM'
,
name
:
'organizationtype'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
memo
:
new
FormItemModel
({
caption
:
'备注'
,
detailType
:
'FORMITEM'
,
name
:
'memo'
,
visible
:
true
,
isShowCaption
:
false
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
memo
:
new
FormItemModel
({
caption
:
'备注'
,
detailType
:
'FORMITEM'
,
name
:
'memo'
,
visible
:
true
,
isShowCaption
:
false
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
operationunitid
:
new
FormItemModel
({
caption
:
'运营单位标识'
,
detailType
:
'FORMITEM'
,
name
:
'operationunitid'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
operationunitid
:
new
FormItemModel
({
caption
:
'运营单位标识'
,
detailType
:
'FORMITEM'
,
name
:
'operationunitid'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
};
};
/**
* 新建默认值
* @memberof MainEditFormBase
*/
public
createDefault
(){
if
(
this
.
data
.
hasOwnProperty
(
'organizationtype'
))
{
this
.
data
[
'organizationtype'
]
=
'OPERATIONUNIT'
;
}
}
/**
* 更新默认值
* @memberof MainEditFormBase
*/
public
updateDefault
(){
if
(
this
.
data
.
hasOwnProperty
(
'organizationtype'
)
&&
!
this
.
data
.
organizationtype
)
{
this
.
data
[
'organizationtype'
]
=
'OPERATIONUNIT'
;
}
}
}
}
\ No newline at end of file
app_PIM/src/widgets/hroperation-unit/main-form/main-form-model.ts
浏览文件 @
947ca0db
...
@@ -80,6 +80,11 @@ export default class MainModel {
...
@@ -80,6 +80,11 @@ export default class MainModel {
prop
:
'showorder'
,
prop
:
'showorder'
,
dataType
:
'INHERIT'
,
dataType
:
'INHERIT'
,
},
},
{
name
:
'organizationtype'
,
prop
:
'organizationtype'
,
dataType
:
'INHERIT'
,
},
{
{
name
:
'memo'
,
name
:
'memo'
,
prop
:
'memo'
,
prop
:
'memo'
,
...
...
app_PIM/src/widgets/hroperation-unit/main-form/main-form.html
浏览文件 @
947ca0db
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
<row
>
<row
>
<i-col
class=
"form-layout-container"
v-show=
"detailsModel.group1.visible"
:style=
"{}"
:lg=
"{ span: 24, offset: 0 }"
>
<i-col
class=
"form-layout-container"
v-show=
"detailsModel.group1.visible"
:style=
"{}"
:lg=
"{ span: 24, offset: 0 }"
>
<app-form-group
:model=
"detailsModel.group1"
layoutType=
"TABLE_24COL"
titleStyle=
""
class=
''
:uiActionGroup=
"detailsModel.group1.uiActionGroup"
@
groupuiactionclick=
"groupUIActionClick($event)"
:caption=
"$t('entities.hroperationunit.main_form.details.group1')"
:isShowCaption=
"true"
uiStyle=
"DEFAULT"
:titleBarCloseMode=
"
0
"
:isInfoGroupMode=
"false"
>
<app-form-group
:model=
"detailsModel.group1"
layoutType=
"TABLE_24COL"
titleStyle=
""
class=
''
:uiActionGroup=
"detailsModel.group1.uiActionGroup"
@
groupuiactionclick=
"groupUIActionClick($event)"
:caption=
"$t('entities.hroperationunit.main_form.details.group1')"
:isShowCaption=
"true"
uiStyle=
"DEFAULT"
:titleBarCloseMode=
"
1
"
:isInfoGroupMode=
"false"
>
<app-form-group-data-panel
slot=
"dataInfoPanel"
:model=
"detailsModel.group1"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
/>
<app-form-group-data-panel
slot=
"dataInfoPanel"
:model=
"detailsModel.group1"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
/>
<row>
<row>
<i-col
class=
"form-layout-container"
v-show=
"detailsModel.operationunitname.visible"
:style=
"{}"
:sm=
"{ span: 24, offset: 0 }"
:md=
"{ span: 12, offset: 0 }"
:lg=
"{ span: 6, offset: 0 }"
:xl=
"{ span: 6, offset: 0 }"
>
<i-col
class=
"form-layout-container"
v-show=
"detailsModel.operationunitname.visible"
:style=
"{}"
:sm=
"{ span: 24, offset: 0 }"
:md=
"{ span: 12, offset: 0 }"
:lg=
"{ span: 6, offset: 0 }"
:xl=
"{ span: 6, offset: 0 }"
>
...
@@ -88,7 +88,7 @@
...
@@ -88,7 +88,7 @@
</i-col>
</i-col>
<i-col
class=
"form-layout-container"
v-show=
"detailsModel.grouppanel1.visible"
:style=
"{}"
:lg=
"{ span: 24, offset: 0 }"
>
<i-col
class=
"form-layout-container"
v-show=
"detailsModel.grouppanel1.visible"
:style=
"{}"
:lg=
"{ span: 24, offset: 0 }"
>
<app-form-group
:model=
"detailsModel.grouppanel1"
layoutType=
"TABLE_24COL"
titleStyle=
""
class=
''
:uiActionGroup=
"detailsModel.grouppanel1.uiActionGroup"
@
groupuiactionclick=
"groupUIActionClick($event)"
:caption=
"$t('entities.hroperationunit.main_form.details.grouppanel1')"
:isShowCaption=
"true"
uiStyle=
"DEFAULT"
:titleBarCloseMode=
"
0
"
:isInfoGroupMode=
"false"
>
<app-form-group
:model=
"detailsModel.grouppanel1"
layoutType=
"TABLE_24COL"
titleStyle=
""
class=
''
:uiActionGroup=
"detailsModel.grouppanel1.uiActionGroup"
@
groupuiactionclick=
"groupUIActionClick($event)"
:caption=
"$t('entities.hroperationunit.main_form.details.grouppanel1')"
:isShowCaption=
"true"
uiStyle=
"DEFAULT"
:titleBarCloseMode=
"
1
"
:isInfoGroupMode=
"false"
>
<app-form-group-data-panel
slot=
"dataInfoPanel"
:model=
"detailsModel.grouppanel1"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
/>
<app-form-group-data-panel
slot=
"dataInfoPanel"
:model=
"detailsModel.grouppanel1"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
/>
<row>
<row>
<i-col
class=
"form-layout-container"
v-show=
"detailsModel.memo.visible"
:style=
"{}"
:lg=
"{ span: 24, offset: 0 }"
>
<i-col
class=
"form-layout-container"
v-show=
"detailsModel.memo.visible"
:style=
"{}"
:lg=
"{ span: 24, offset: 0 }"
>
...
...
app_PIM/src/widgets/hroperation-unit/main-grid/main-grid.html
浏览文件 @
947ca0db
...
@@ -24,7 +24,7 @@
...
@@ -24,7 +24,7 @@
<el-table-column
align=
"center"
type=
'selection'
:width=
"checkboxColWidth"
></el-table-column>
<el-table-column
align=
"center"
type=
'selection'
:width=
"checkboxColWidth"
></el-table-column>
</template>
</template>
<template
v-if=
"getColumnState('operationunitname')"
>
<template
v-if=
"getColumnState('operationunitname')"
>
<el-table-column
show-overflow-tooltip
:prop=
"'operationunitname'"
:label=
"$t('entities.hroperationunit.main_grid.columns.operationunitname')"
:width=
"
2
00"
:align=
"'left'"
:sortable=
"'custom'"
>
<el-table-column
show-overflow-tooltip
:prop=
"'operationunitname'"
:label=
"$t('entities.hroperationunit.main_grid.columns.operationunitname')"
:width=
"
3
00"
:align=
"'left'"
:sortable=
"'custom'"
>
<template
v-slot:header=
"{column}"
>
<template
v-slot:header=
"{column}"
>
<span
class=
"column-header "
>
<span
class=
"column-header "
>
{{$t('entities.hroperationunit.main_grid.columns.operationunitname')}}
{{$t('entities.hroperationunit.main_grid.columns.operationunitname')}}
...
...
humanresource-core/src/main/resources/liquibase/h2_table.xml
浏览文件 @
947ca0db
...
@@ -66,7 +66,7 @@
...
@@ -66,7 +66,7 @@
<!--输出实体[HRLEGAL]数据结构 -->
<!--输出实体[HRLEGAL]数据结构 -->
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"tab-hrlegal-7
1
-4"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"tab-hrlegal-7
2
-4"
>
<createTable
tableName=
"LEGAL"
>
<createTable
tableName=
"LEGAL"
>
<column
name=
"LEGALNAME"
remarks=
""
type=
"VARCHAR(200)"
>
<column
name=
"LEGALNAME"
remarks=
""
type=
"VARCHAR(200)"
>
</column>
</column>
...
@@ -182,7 +182,7 @@
...
@@ -182,7 +182,7 @@
<!--输出实体[HROPERATIONUNIT]数据结构 -->
<!--输出实体[HROPERATIONUNIT]数据结构 -->
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"tab-hroperationunit-
9
-9"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"tab-hroperationunit-
20
-9"
>
<createTable
tableName=
"OPERATIONUNIT"
>
<createTable
tableName=
"OPERATIONUNIT"
>
<column
name=
"UPDATEDATE"
remarks=
""
type=
"DATETIME"
>
<column
name=
"UPDATEDATE"
remarks=
""
type=
"DATETIME"
>
</column>
</column>
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录