Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
iBiz人力资源
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
iBiz企业套件
iBiz人力资源
提交
4285b736
提交
4285b736
编写于
8月 04, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
jackwang 部署微服务应用
上级
f83a312e
变更
29
隐藏空白字符变更
内嵌
并排
正在显示
29 个修改的文件
包含
945 行增加
和
300 行删除
+945
-300
data-dictionary.json
app_PIM/public/assets/json/data-dictionary.json
+263
-0
codelist_en_US.ts
app_PIM/src/locale/lanres/codelist/codelist_en_US.ts
+31
-0
codelist_zh_CN.ts
app_PIM/src/locale/lanres/codelist/codelist_zh_CN.ts
+31
-0
hrlegal_en_US.ts
app_PIM/src/locale/lanres/entities/hrlegal/hrlegal_en_US.ts
+8
-4
hrlegal_zh_CN.ts
app_PIM/src/locale/lanres/entities/hrlegal/hrlegal_zh_CN.ts
+8
-4
hrorg-address_en_US.ts
...cale/lanres/entities/hrorg-address/hrorg-address_en_US.ts
+7
-8
hrorg-address_zh_CN.ts
...cale/lanres/entities/hrorg-address/hrorg-address_zh_CN.ts
+7
-8
hrorg-contact_en_US.ts
...cale/lanres/entities/hrorg-contact/hrorg-contact_en_US.ts
+6
-8
hrorg-contact_zh_CN.ts
...cale/lanres/entities/hrorg-contact/hrorg-contact_zh_CN.ts
+6
-8
codelist.ts
app_PIM/src/mock/codelist/codelist.ts
+241
-0
hrlegal-edit-view-base.tsx
...c/pages/base/hrlegal-edit-view/hrlegal-edit-view-base.tsx
+1
-0
hrlegal-tab-exp-view-base.tsx
...s/base/hrlegal-tab-exp-view/hrlegal-tab-exp-view-base.tsx
+1
-1
hrorg-address-grid-view-base.tsx
.../hrorg-address-grid-view/hrorg-address-grid-view-base.tsx
+38
-12
hrorg-address-grid-view.html
...base/hrorg-address-grid-view/hrorg-address-grid-view.html
+0
-3
hrorg-contact-grid-view-base.tsx
.../hrorg-contact-grid-view/hrorg-contact-grid-view-base.tsx
+38
-12
hrorg-contact-grid-view.html
...base/hrorg-contact-grid-view/hrorg-contact-grid-view.html
+0
-3
main-form-base.tsx
...IM/src/widgets/hrorg-address/main-form/main-form-base.tsx
+9
-14
main-form-model.ts
...IM/src/widgets/hrorg-address/main-form/main-form-model.ts
+11
-11
main-form.html
app_PIM/src/widgets/hrorg-address/main-form/main-form.html
+54
-59
main-grid-base.tsx
...IM/src/widgets/hrorg-address/main-grid/main-grid-base.tsx
+28
-11
main-grid-model.ts
...IM/src/widgets/hrorg-address/main-grid/main-grid-model.ts
+11
-6
main-grid.html
app_PIM/src/widgets/hrorg-address/main-grid/main-grid.html
+22
-8
main-form-base.tsx
...IM/src/widgets/hrorg-contact/main-form/main-form-base.tsx
+7
-15
main-form-model.ts
...IM/src/widgets/hrorg-contact/main-form/main-form-model.ts
+8
-13
main-form.html
app_PIM/src/widgets/hrorg-contact/main-form/main-form.html
+43
-62
main-grid-base.tsx
...IM/src/widgets/hrorg-contact/main-grid/main-grid-base.tsx
+28
-11
main-grid-model.ts
...IM/src/widgets/hrorg-contact/main-grid/main-grid-model.ts
+13
-8
main-grid.html
app_PIM/src/widgets/hrorg-contact/main-grid/main-grid.html
+22
-8
h2_table.xml
humanresource-core/src/main/resources/liquibase/h2_table.xml
+3
-3
未找到文件。
app_PIM/public/assets/json/data-dictionary.json
浏览文件 @
4285b736
...
...
@@ -7,6 +7,35 @@
"appdedataset"
:
""
,
"items"
:
[]
},
{
"srfkey"
:
"YesNo"
,
"emptytext"
:
"未定义"
,
"codelisttype"
:
"static"
,
"items"
:
[
{
"id"
:
"1"
,
"label"
:
"是"
,
"text"
:
"是"
,
"data"
:
""
,
"codename"
:
"Item_1"
,
"value"
:
"1"
,
"disabled"
:
false
,
"default"
:
false
}
,
{
"id"
:
"0"
,
"label"
:
"否"
,
"text"
:
"否"
,
"data"
:
""
,
"codename"
:
"Item_0"
,
"value"
:
"0"
,
"disabled"
:
false
,
"default"
:
false
}
]
},
{
"srfkey"
:
"CL_HR_0001"
,
"emptytext"
:
"未定义"
,
...
...
@@ -58,6 +87,240 @@
}
]
},
{
"srfkey"
:
"CL_HR_0002"
,
"emptytext"
:
"未定义"
,
"codelisttype"
:
"static"
,
"items"
:
[
{
"id"
:
"BUSINESS"
,
"label"
:
"业务"
,
"text"
:
"业务"
,
"data"
:
""
,
"codename"
:
"Business"
,
"value"
:
"BUSINESS"
,
"disabled"
:
false
,
"default"
:
false
}
,
{
"id"
:
"HOME"
,
"label"
:
"家庭住址"
,
"text"
:
"家庭住址"
,
"data"
:
""
,
"codename"
:
"Home"
,
"value"
:
"HOME"
,
"disabled"
:
false
,
"default"
:
false
}
,
{
"id"
:
"REALLOCATION"
,
"label"
:
"实际位置"
,
"text"
:
"实际位置"
,
"data"
:
""
,
"codename"
:
"Reallocation"
,
"value"
:
"REALLOCATION"
,
"disabled"
:
false
,
"default"
:
false
}
,
{
"id"
:
"RECRUIT"
,
"label"
:
"招聘"
,
"text"
:
"招聘"
,
"data"
:
""
,
"codename"
:
"Recruit"
,
"value"
:
"RECRUIT"
,
"disabled"
:
false
,
"default"
:
false
}
,
{
"id"
:
"SERVICE"
,
"label"
:
"服务"
,
"text"
:
"服务"
,
"data"
:
""
,
"codename"
:
"Service"
,
"value"
:
"SERVICE"
,
"disabled"
:
false
,
"default"
:
false
}
,
{
"id"
:
"HEADCOMPANY"
,
"label"
:
"总公司"
,
"text"
:
"总公司"
,
"data"
:
""
,
"codename"
:
"Headcompany"
,
"value"
:
"HEADCOMPANY"
,
"disabled"
:
false
,
"default"
:
false
}
,
{
"id"
:
"INVOICE"
,
"label"
:
"发票"
,
"text"
:
"发票"
,
"data"
:
""
,
"codename"
:
"Invoice"
,
"value"
:
"INVOICE"
,
"disabled"
:
false
,
"default"
:
false
}
,
{
"id"
:
"PAYMENT"
,
"label"
:
"付款"
,
"text"
:
"付款"
,
"data"
:
""
,
"codename"
:
"Payment"
,
"value"
:
"PAYMENT"
,
"disabled"
:
false
,
"default"
:
false
}
,
{
"id"
:
"REMIT"
,
"label"
:
"汇款至"
,
"text"
:
"汇款至"
,
"data"
:
""
,
"codename"
:
"Remit"
,
"value"
:
"REMIT"
,
"disabled"
:
false
,
"default"
:
false
}
,
{
"id"
:
"STATEMENT"
,
"label"
:
"对帐单"
,
"text"
:
"对帐单"
,
"data"
:
""
,
"codename"
:
"Statement"
,
"value"
:
"STATEMENT"
,
"disabled"
:
false
,
"default"
:
false
}
,
{
"id"
:
"CONSIGNMENT"
,
"label"
:
"托运"
,
"text"
:
"托运"
,
"data"
:
""
,
"codename"
:
"Consignment"
,
"value"
:
"CONSIGNMENT"
,
"disabled"
:
false
,
"default"
:
false
}
,
{
"id"
:
"DELIVERY"
,
"label"
:
"交货"
,
"text"
:
"交货"
,
"data"
:
""
,
"codename"
:
"Delivery"
,
"value"
:
"DELIVERY"
,
"disabled"
:
false
,
"default"
:
false
}
,
{
"id"
:
"LADING"
,
"label"
:
"装货"
,
"text"
:
"装货"
,
"data"
:
""
,
"codename"
:
"Lading"
,
"value"
:
"LADING"
,
"disabled"
:
false
,
"default"
:
false
}
,
{
"id"
:
"UNLADING"
,
"label"
:
"卸货"
,
"text"
:
"卸货"
,
"data"
:
""
,
"codename"
:
"Unlading"
,
"value"
:
"UNLADING"
,
"disabled"
:
false
,
"default"
:
false
}
,
{
"id"
:
"OTHER"
,
"label"
:
"其他"
,
"text"
:
"其他"
,
"data"
:
""
,
"codename"
:
"Other"
,
"value"
:
"OTHER"
,
"disabled"
:
false
,
"default"
:
false
}
]
},
{
"srfkey"
:
"CL_HR_0003"
,
"emptytext"
:
"未定义"
,
"codelisttype"
:
"static"
,
"items"
:
[
{
"id"
:
"TEL"
,
"label"
:
"电话"
,
"text"
:
"电话"
,
"data"
:
""
,
"codename"
:
"Tel"
,
"value"
:
"TEL"
,
"disabled"
:
false
,
"default"
:
false
}
,
{
"id"
:
"EMAIL"
,
"label"
:
"电子邮件地址"
,
"text"
:
"电子邮件地址"
,
"data"
:
""
,
"codename"
:
"Email"
,
"value"
:
"EMAIL"
,
"disabled"
:
false
,
"default"
:
false
}
,
{
"id"
:
"WECHAT"
,
"label"
:
"微信"
,
"text"
:
"微信"
,
"data"
:
""
,
"codename"
:
"Wechat"
,
"value"
:
"WECHAT"
,
"disabled"
:
false
,
"default"
:
false
}
,
{
"id"
:
"QQ"
,
"label"
:
"QQ"
,
"text"
:
"QQ"
,
"data"
:
""
,
"codename"
:
"Qq"
,
"value"
:
"QQ"
,
"disabled"
:
false
,
"default"
:
false
}
,
{
"id"
:
"FAX"
,
"label"
:
"传真"
,
"text"
:
"传真"
,
"data"
:
""
,
"codename"
:
"Fax"
,
"value"
:
"FAX"
,
"disabled"
:
false
,
"default"
:
false
}
]
},
{
"srfkey"
:
"OrganizationType"
,
"emptytext"
:
"未定义"
,
...
...
app_PIM/src/locale/lanres/codelist/codelist_en_US.ts
浏览文件 @
4285b736
...
...
@@ -2,6 +2,11 @@ export default {
SysOperator
:
{
"empty"
:
""
,
},
YesNo
:
{
"1"
:
"是"
,
"0"
:
"否"
,
"empty"
:
""
},
CL_HR_0001
:
{
"COSTCENTER"
:
"成本中心"
,
"BUSINESSUNIT"
:
"业务单位"
,
...
...
@@ -9,6 +14,32 @@ export default {
"COMMERCIAL"
:
"商业渠道"
,
"empty"
:
""
},
CL_HR_0002
:
{
"BUSINESS"
:
"业务"
,
"HOME"
:
"家庭住址"
,
"REALLOCATION"
:
"实际位置"
,
"RECRUIT"
:
"招聘"
,
"SERVICE"
:
"服务"
,
"HEADCOMPANY"
:
"总公司"
,
"INVOICE"
:
"发票"
,
"PAYMENT"
:
"付款"
,
"REMIT"
:
"汇款至"
,
"STATEMENT"
:
"对帐单"
,
"CONSIGNMENT"
:
"托运"
,
"DELIVERY"
:
"交货"
,
"LADING"
:
"装货"
,
"UNLADING"
:
"卸货"
,
"OTHER"
:
"其他"
,
"empty"
:
""
},
CL_HR_0003
:
{
"TEL"
:
"电话"
,
"EMAIL"
:
"电子邮件地址"
,
"WECHAT"
:
"微信"
,
"QQ"
:
"QQ"
,
"FAX"
:
"传真"
,
"empty"
:
""
},
OrganizationType
:
{
"LEGAL"
:
"法人"
,
"OPERATIONUNIT"
:
"运营单位"
,
...
...
app_PIM/src/locale/lanres/codelist/codelist_zh_CN.ts
浏览文件 @
4285b736
...
...
@@ -2,6 +2,11 @@ export default {
SysOperator
:
{
"empty"
:
""
,
},
YesNo
:
{
"1"
:
"是"
,
"0"
:
"否"
,
"empty"
:
""
,
},
CL_HR_0001
:
{
"COSTCENTER"
:
"成本中心"
,
"BUSINESSUNIT"
:
"业务单位"
,
...
...
@@ -9,6 +14,32 @@ export default {
"COMMERCIAL"
:
"商业渠道"
,
"empty"
:
""
,
},
CL_HR_0002
:
{
"BUSINESS"
:
"业务"
,
"HOME"
:
"家庭住址"
,
"REALLOCATION"
:
"实际位置"
,
"RECRUIT"
:
"招聘"
,
"SERVICE"
:
"服务"
,
"HEADCOMPANY"
:
"总公司"
,
"INVOICE"
:
"发票"
,
"PAYMENT"
:
"付款"
,
"REMIT"
:
"汇款至"
,
"STATEMENT"
:
"对帐单"
,
"CONSIGNMENT"
:
"托运"
,
"DELIVERY"
:
"交货"
,
"LADING"
:
"装货"
,
"UNLADING"
:
"卸货"
,
"OTHER"
:
"其他"
,
"empty"
:
""
,
},
CL_HR_0003
:
{
"TEL"
:
"电话"
,
"EMAIL"
:
"电子邮件地址"
,
"WECHAT"
:
"微信"
,
"QQ"
:
"QQ"
,
"FAX"
:
"传真"
,
"empty"
:
""
,
},
OrganizationType
:
{
"LEGAL"
:
"法人"
,
"OPERATIONUNIT"
:
"运营单位"
,
...
...
app_PIM/src/locale/lanres/entities/hrlegal/hrlegal_en_US.ts
浏览文件 @
4285b736
...
...
@@ -141,20 +141,24 @@ export default {
caption
:
"Save And Close"
,
tip
:
"Save And Close Window"
,
},
seperator1
:
{
caption
:
""
,
tip
:
""
,
},
tbitem2
:
{
caption
:
"关闭"
,
tip
:
"关闭"
,
},
},
tabexpviewtoolbar_toolbar
:
{
tbitem1_ff_003_sep
:
{
caption
:
""
,
tip
:
""
,
},
tbitem1_ff_003
:
{
caption
:
"编辑"
,
tip
:
"编辑"
,
},
tbitem1_remove_sep
:
{
caption
:
""
,
tip
:
""
,
},
tbitem1_remove
:
{
caption
:
"删除并关闭"
,
tip
:
"删除并关闭"
,
...
...
app_PIM/src/locale/lanres/entities/hrlegal/hrlegal_zh_CN.ts
浏览文件 @
4285b736
...
...
@@ -140,20 +140,24 @@ export default {
caption
:
"保存并关闭"
,
tip
:
"保存并关闭"
,
},
seperator1
:
{
caption
:
""
,
tip
:
""
,
},
tbitem2
:
{
caption
:
"关闭"
,
tip
:
"关闭"
,
},
},
tabexpviewtoolbar_toolbar
:
{
tbitem1_ff_003_sep
:
{
caption
:
""
,
tip
:
""
,
},
tbitem1_ff_003
:
{
caption
:
"编辑"
,
tip
:
"编辑"
,
},
tbitem1_remove_sep
:
{
caption
:
""
,
tip
:
""
,
},
tbitem1_remove
:
{
caption
:
"删除并关闭"
,
tip
:
"删除并关闭"
,
...
...
app_PIM/src/locale/lanres/entities/hrorg-address/hrorg-address_en_US.ts
浏览文件 @
4285b736
...
...
@@ -26,8 +26,6 @@ export default {
details
:
{
group1
:
"组织地址基本信息"
,
formpage1
:
"基本信息"
,
group2
:
"操作信息"
,
formpage2
:
"其它"
,
srfupdatedate
:
"更新时间"
,
srforikey
:
""
,
srfkey
:
"组织地址标识"
,
...
...
@@ -37,10 +35,10 @@ export default {
srfdeid
:
""
,
srfsourcekey
:
""
,
hrorgaddressname
:
"名称或描述"
,
createman
:
"建立人
"
,
createdate
:
"建立时间
"
,
u
pdateman
:
"更新人
"
,
updatedate
:
"更新时间
"
,
address
:
"地址
"
,
postcode
:
"邮政编码
"
,
u
ses
:
"用途
"
,
mainaddress
:
"主要
"
,
hrorgaddressid
:
"组织地址标识"
,
},
uiactions
:
{
...
...
@@ -49,8 +47,9 @@ export default {
main_grid
:
{
columns
:
{
hrorgaddressname
:
"名称或描述"
,
updateman
:
"更新人"
,
updatedate
:
"更新时间"
,
address
:
"地址"
,
uses
:
"用途"
,
mainaddress
:
"主要"
,
},
uiactions
:
{
},
...
...
app_PIM/src/locale/lanres/entities/hrorg-address/hrorg-address_zh_CN.ts
浏览文件 @
4285b736
...
...
@@ -25,8 +25,6 @@ export default {
details
:
{
group1
:
"组织地址基本信息"
,
formpage1
:
"基本信息"
,
group2
:
"操作信息"
,
formpage2
:
"其它"
,
srfupdatedate
:
"更新时间"
,
srforikey
:
""
,
srfkey
:
"组织地址标识"
,
...
...
@@ -36,10 +34,10 @@ export default {
srfdeid
:
""
,
srfsourcekey
:
""
,
hrorgaddressname
:
"名称或描述"
,
createman
:
"建立人
"
,
createdate
:
"建立时间
"
,
u
pdateman
:
"更新人
"
,
updatedate
:
"更新时间
"
,
address
:
"地址
"
,
postcode
:
"邮政编码
"
,
u
ses
:
"用途
"
,
mainaddress
:
"主要
"
,
hrorgaddressid
:
"组织地址标识"
,
},
uiactions
:
{
...
...
@@ -48,8 +46,9 @@ export default {
main_grid
:
{
columns
:
{
hrorgaddressname
:
"名称或描述"
,
updateman
:
"更新人"
,
updatedate
:
"更新时间"
,
address
:
"地址"
,
uses
:
"用途"
,
mainaddress
:
"主要"
,
},
uiactions
:
{
},
...
...
app_PIM/src/locale/lanres/entities/hrorg-contact/hrorg-contact_en_US.ts
浏览文件 @
4285b736
...
...
@@ -25,8 +25,6 @@ export default {
details
:
{
group1
:
"组织联系信息基本信息"
,
formpage1
:
"基本信息"
,
group2
:
"操作信息"
,
formpage2
:
"其它"
,
srfupdatedate
:
"更新时间"
,
srforikey
:
""
,
srfkey
:
"组织联系信息标识"
,
...
...
@@ -36,10 +34,9 @@ export default {
srfdeid
:
""
,
srfsourcekey
:
""
,
hrorgcontactname
:
"联系人"
,
createman
:
"建立人"
,
createdate
:
"建立时间"
,
updateman
:
"更新人"
,
updatedate
:
"更新时间"
,
contacttype
:
"类型"
,
contactinfo
:
"联系信息"
,
maincontact
:
"主要"
,
hrorgcontactid
:
"组织联系信息标识"
,
},
uiactions
:
{
...
...
@@ -48,8 +45,9 @@ export default {
main_grid
:
{
columns
:
{
hrorgcontactname
:
"联系人"
,
updateman
:
"更新人"
,
updatedate
:
"更新时间"
,
contacttype
:
"类型"
,
contactinfo
:
"联系信息"
,
maincontact
:
"主要"
,
},
uiactions
:
{
},
...
...
app_PIM/src/locale/lanres/entities/hrorg-contact/hrorg-contact_zh_CN.ts
浏览文件 @
4285b736
...
...
@@ -24,8 +24,6 @@ export default {
details
:
{
group1
:
"组织联系信息基本信息"
,
formpage1
:
"基本信息"
,
group2
:
"操作信息"
,
formpage2
:
"其它"
,
srfupdatedate
:
"更新时间"
,
srforikey
:
""
,
srfkey
:
"组织联系信息标识"
,
...
...
@@ -35,10 +33,9 @@ export default {
srfdeid
:
""
,
srfsourcekey
:
""
,
hrorgcontactname
:
"联系人"
,
createman
:
"建立人"
,
createdate
:
"建立时间"
,
updateman
:
"更新人"
,
updatedate
:
"更新时间"
,
contacttype
:
"类型"
,
contactinfo
:
"联系信息"
,
maincontact
:
"主要"
,
hrorgcontactid
:
"组织联系信息标识"
,
},
uiactions
:
{
...
...
@@ -47,8 +44,9 @@ export default {
main_grid
:
{
columns
:
{
hrorgcontactname
:
"联系人"
,
updateman
:
"更新人"
,
updatedate
:
"更新时间"
,
contacttype
:
"类型"
,
contactinfo
:
"联系信息"
,
maincontact
:
"主要"
,
},
uiactions
:
{
},
...
...
app_PIM/src/mock/codelist/codelist.ts
浏览文件 @
4285b736
...
...
@@ -15,6 +15,33 @@ mock.onGet('./assets/json/data-dictionary.json').reply((config: any) => {
"appdedataset"
:
""
,
"items"
:
[]
},
{
srfkey
:
"YesNo"
,
emptytext
:
"未定义"
,
"codelisttype"
:
"static"
,
items
:
[
{
id
:
"1"
,
label
:
"是"
,
text
:
"是"
,
"data"
:
""
,
"codename"
:
"Item_1"
,
value
:
"1"
,
disabled
:
false
,
},
{
id
:
"0"
,
label
:
"否"
,
text
:
"否"
,
"data"
:
""
,
"codename"
:
"Item_0"
,
value
:
"0"
,
disabled
:
false
,
},
]
},
{
srfkey
:
"CL_HR_0001"
,
emptytext
:
"未定义"
,
...
...
@@ -62,6 +89,220 @@ mock.onGet('./assets/json/data-dictionary.json').reply((config: any) => {
},
]
},
{
srfkey
:
"CL_HR_0002"
,
emptytext
:
"未定义"
,
"codelisttype"
:
"static"
,
items
:
[
{
id
:
"BUSINESS"
,
label
:
"业务"
,
text
:
"业务"
,
"data"
:
""
,
"codename"
:
"Business"
,
value
:
"BUSINESS"
,
disabled
:
false
,
},
{
id
:
"HOME"
,
label
:
"家庭住址"
,
text
:
"家庭住址"
,
"data"
:
""
,
"codename"
:
"Home"
,
value
:
"HOME"
,
disabled
:
false
,
},
{
id
:
"REALLOCATION"
,
label
:
"实际位置"
,
text
:
"实际位置"
,
"data"
:
""
,
"codename"
:
"Reallocation"
,
value
:
"REALLOCATION"
,
disabled
:
false
,
},
{
id
:
"RECRUIT"
,
label
:
"招聘"
,
text
:
"招聘"
,
"data"
:
""
,
"codename"
:
"Recruit"
,
value
:
"RECRUIT"
,
disabled
:
false
,
},
{
id
:
"SERVICE"
,
label
:
"服务"
,
text
:
"服务"
,
"data"
:
""
,
"codename"
:
"Service"
,
value
:
"SERVICE"
,
disabled
:
false
,
},
{
id
:
"HEADCOMPANY"
,
label
:
"总公司"
,
text
:
"总公司"
,
"data"
:
""
,
"codename"
:
"Headcompany"
,
value
:
"HEADCOMPANY"
,
disabled
:
false
,
},
{
id
:
"INVOICE"
,
label
:
"发票"
,
text
:
"发票"
,
"data"
:
""
,
"codename"
:
"Invoice"
,
value
:
"INVOICE"
,
disabled
:
false
,
},
{
id
:
"PAYMENT"
,
label
:
"付款"
,
text
:
"付款"
,
"data"
:
""
,
"codename"
:
"Payment"
,
value
:
"PAYMENT"
,
disabled
:
false
,
},
{
id
:
"REMIT"
,
label
:
"汇款至"
,
text
:
"汇款至"
,
"data"
:
""
,
"codename"
:
"Remit"
,
value
:
"REMIT"
,
disabled
:
false
,
},
{
id
:
"STATEMENT"
,
label
:
"对帐单"
,
text
:
"对帐单"
,
"data"
:
""
,
"codename"
:
"Statement"
,
value
:
"STATEMENT"
,
disabled
:
false
,
},
{
id
:
"CONSIGNMENT"
,
label
:
"托运"
,
text
:
"托运"
,
"data"
:
""
,
"codename"
:
"Consignment"
,
value
:
"CONSIGNMENT"
,
disabled
:
false
,
},
{
id
:
"DELIVERY"
,
label
:
"交货"
,
text
:
"交货"
,
"data"
:
""
,
"codename"
:
"Delivery"
,
value
:
"DELIVERY"
,
disabled
:
false
,
},
{
id
:
"LADING"
,
label
:
"装货"
,
text
:
"装货"
,
"data"
:
""
,
"codename"
:
"Lading"
,
value
:
"LADING"
,
disabled
:
false
,
},
{
id
:
"UNLADING"
,
label
:
"卸货"
,
text
:
"卸货"
,
"data"
:
""
,
"codename"
:
"Unlading"
,
value
:
"UNLADING"
,
disabled
:
false
,
},
{
id
:
"OTHER"
,
label
:
"其他"
,
text
:
"其他"
,
"data"
:
""
,
"codename"
:
"Other"
,
value
:
"OTHER"
,
disabled
:
false
,
},
]
},
{
srfkey
:
"CL_HR_0003"
,
emptytext
:
"未定义"
,
"codelisttype"
:
"static"
,
items
:
[
{
id
:
"TEL"
,
label
:
"电话"
,
text
:
"电话"
,
"data"
:
""
,
"codename"
:
"Tel"
,
value
:
"TEL"
,
disabled
:
false
,
},
{
id
:
"EMAIL"
,
label
:
"电子邮件地址"
,
text
:
"电子邮件地址"
,
"data"
:
""
,
"codename"
:
"Email"
,
value
:
"EMAIL"
,
disabled
:
false
,
},
{
id
:
"WECHAT"
,
label
:
"微信"
,
text
:
"微信"
,
"data"
:
""
,
"codename"
:
"Wechat"
,
value
:
"WECHAT"
,
disabled
:
false
,
},
{
id
:
"QQ"
,
label
:
"QQ"
,
text
:
"QQ"
,
"data"
:
""
,
"codename"
:
"Qq"
,
value
:
"QQ"
,
disabled
:
false
,
},
{
id
:
"FAX"
,
label
:
"传真"
,
text
:
"传真"
,
"data"
:
""
,
"codename"
:
"Fax"
,
value
:
"FAX"
,
disabled
:
false
,
},
]
},
{
srfkey
:
"OrganizationType"
,
emptytext
:
"未定义"
,
...
...
app_PIM/src/pages/base/hrlegal-edit-view/hrlegal-edit-view-base.tsx
浏览文件 @
4285b736
...
...
@@ -101,6 +101,7 @@ export class HRLegalEditViewBase extends EditViewBase {
public
toolBarModels
:
any
=
{
tbitem1
:
{
name
:
'tbitem1'
,
caption
:
'保存并关闭'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'保存并关闭'
,
iconcls
:
'fa fa-power-off'
,
icon
:
''
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
noprivdisplaymode
:
2
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'SaveAndExit'
,
target
:
''
,
class
:
''
}
},
seperator1
:
{
name
:
'seperator1'
,
type
:
'SEPERATOR'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
}
},
tbitem2
:
{
name
:
'tbitem2'
,
caption
:
'关闭'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'关闭'
,
iconcls
:
'fa fa-sign-out'
,
icon
:
''
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
noprivdisplaymode
:
2
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'Exit'
,
target
:
''
,
class
:
''
}
},
};
...
...
app_PIM/src/pages/base/hrlegal-tab-exp-view/hrlegal-tab-exp-view-base.tsx
浏览文件 @
4285b736
...
...
@@ -99,9 +99,9 @@ export class HRLegalTabExpViewBase extends TabExpViewBase {
* @memberof HRLegalTabExpView
*/
public
toolBarModels
:
any
=
{
tbitem1_ff_003_sep
:
{
name
:
'tbitem1_ff_003_sep'
,
type
:
'SEPERATOR'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
}
},
tbitem1_ff_003
:
{
name
:
'tbitem1_ff_003'
,
caption
:
'编辑'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'编辑'
,
iconcls
:
'fa fa-edit'
,
icon
:
''
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
noprivdisplaymode
:
2
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'FF_003'
,
target
:
'SINGLEKEY'
,
class
:
''
}
},
tbitem1_remove_sep
:
{
name
:
'tbitem1_remove_sep'
,
type
:
'SEPERATOR'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
}
},
tbitem1_remove
:
{
name
:
'tbitem1_remove'
,
caption
:
'删除并关闭'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'删除并关闭'
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
noprivdisplaymode
:
2
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'Remove'
,
target
:
'SINGLEKEY'
,
class
:
''
}
},
tbitem2
:
{
name
:
'tbitem2'
,
type
:
'SEPERATOR'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
}
},
...
...
app_PIM/src/pages/base/hrorg-address-grid-view/hrorg-address-grid-view-base.tsx
浏览文件 @
4285b736
...
...
@@ -701,16 +701,28 @@ export class HROrgAddressGridViewBase extends GridViewBase {
const
deResParameters
:
any
[]
=
[];
const
parameters
:
any
[]
=
[
{
pathName
:
'hrorgaddresses'
,
parameterName
:
'hrorgaddress'
},
{
pathName
:
'editview'
,
parameterName
:
'editview'
},
];
const
_this
:
any
=
this
;
const
openIndexViewTab
=
(
data
:
any
)
=>
{
const
_data
:
any
=
{
w
:
(
new
Date
().
getTime
())
};
Object
.
assign
(
_data
,
data
);
const
routePath
=
this
.
$viewTool
.
buildUpRoutePath
(
this
.
$route
,
tempContext
,
deResParameters
,
parameters
,
args
,
_data
);
this
.
$router
.
push
(
routePath
);
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
);
});
}
openIndexViewTab
(
data
);
const
view
:
any
=
{
viewname
:
'hrorg-address-edit-view'
,
height
:
0
,
width
:
800
,
title
:
this
.
$t
(
'entities.hrorgaddress.views.editview.title'
),
placement
:
'DRAWER_RIGHT'
,
};
openDrawer
(
view
,
data
);
}
...
...
@@ -735,14 +747,28 @@ export class HROrgAddressGridViewBase extends GridViewBase {
const
deResParameters
:
any
[]
=
[];
const
parameters
:
any
[]
=
[
{
pathName
:
'hrorgaddresses'
,
parameterName
:
'hrorgaddress'
},
{
pathName
:
'editview'
,
parameterName
:
'editview'
},
];
const
_this
:
any
=
this
;
const
openIndexViewTab
=
(
data
:
any
)
=>
{
const
routePath
=
this
.
$viewTool
.
buildUpRoutePath
(
this
.
$route
,
tempContext
,
deResParameters
,
parameters
,
args
,
data
);
this
.
$router
.
push
(
routePath
);
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
);
});
}
openIndexViewTab
(
data
);
const
view
:
any
=
{
viewname
:
'hrorg-address-edit-view'
,
height
:
0
,
width
:
800
,
title
:
this
.
$t
(
'entities.hrorgaddress.views.editview.title'
),
placement
:
'DRAWER_RIGHT'
,
};
openDrawer
(
view
,
data
);
}
...
...
app_PIM/src/pages/base/hrorg-address-grid-view/hrorg-address-grid-view.html
浏览文件 @
4285b736
<studio-view-style2
viewName=
"hrorgaddressgridview"
viewTitle=
"组织地址表格视图"
class=
'degridview hrorg-address-grid-view'
>
<template
slot=
'title'
>
<span
class=
'caption-info'
>
{{$t(model.srfTitle)}}
</span>
</template>
<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($event)"
/>
</template>
...
...
app_PIM/src/pages/base/hrorg-contact-grid-view/hrorg-contact-grid-view-base.tsx
浏览文件 @
4285b736
...
...
@@ -701,16 +701,28 @@ export class HROrgContactGridViewBase extends GridViewBase {
const
deResParameters
:
any
[]
=
[];
const
parameters
:
any
[]
=
[
{
pathName
:
'hrorgcontacts'
,
parameterName
:
'hrorgcontact'
},
{
pathName
:
'editview'
,
parameterName
:
'editview'
},
];
const
_this
:
any
=
this
;
const
openIndexViewTab
=
(
data
:
any
)
=>
{
const
_data
:
any
=
{
w
:
(
new
Date
().
getTime
())
};
Object
.
assign
(
_data
,
data
);
const
routePath
=
this
.
$viewTool
.
buildUpRoutePath
(
this
.
$route
,
tempContext
,
deResParameters
,
parameters
,
args
,
_data
);
this
.
$router
.
push
(
routePath
);
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
);
});
}
openIndexViewTab
(
data
);
const
view
:
any
=
{
viewname
:
'hrorg-contact-edit-view'
,
height
:
0
,
width
:
800
,
title
:
this
.
$t
(
'entities.hrorgcontact.views.editview.title'
),
placement
:
'DRAWER_RIGHT'
,
};
openDrawer
(
view
,
data
);
}
...
...
@@ -735,14 +747,28 @@ export class HROrgContactGridViewBase extends GridViewBase {
const
deResParameters
:
any
[]
=
[];
const
parameters
:
any
[]
=
[
{
pathName
:
'hrorgcontacts'
,
parameterName
:
'hrorgcontact'
},
{
pathName
:
'editview'
,
parameterName
:
'editview'
},
];
const
_this
:
any
=
this
;
const
openIndexViewTab
=
(
data
:
any
)
=>
{
const
routePath
=
this
.
$viewTool
.
buildUpRoutePath
(
this
.
$route
,
tempContext
,
deResParameters
,
parameters
,
args
,
data
);
this
.
$router
.
push
(
routePath
);
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
);
});
}
openIndexViewTab
(
data
);
const
view
:
any
=
{
viewname
:
'hrorg-contact-edit-view'
,
height
:
0
,
width
:
800
,
title
:
this
.
$t
(
'entities.hrorgcontact.views.editview.title'
),
placement
:
'DRAWER_RIGHT'
,
};
openDrawer
(
view
,
data
);
}
...
...
app_PIM/src/pages/base/hrorg-contact-grid-view/hrorg-contact-grid-view.html
浏览文件 @
4285b736
<studio-view-style2
viewName=
"hrorgcontactgridview"
viewTitle=
"组织联系信息表格视图"
class=
'degridview hrorg-contact-grid-view'
>
<template
slot=
'title'
>
<span
class=
'caption-info'
>
{{$t(model.srfTitle)}}
</span>
</template>
<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($event)"
/>
</template>
...
...
app_PIM/src/widgets/hrorg-address/main-form/main-form-base.tsx
浏览文件 @
4285b736
...
...
@@ -74,10 +74,10 @@ export class MainEditFormBase extends EditFormControlBase {
srfdeid
:
null
,
srfsourcekey
:
null
,
hrorgaddressname
:
null
,
createman
:
null
,
createdat
e
:
null
,
u
pdateman
:
null
,
updatedate
:
null
,
address
:
null
,
postcod
e
:
null
,
u
ses
:
null
,
mainaddress
:
null
,
hrorgaddressid
:
null
,
hrorgaddress
:
null
,
};
...
...
@@ -107,14 +107,10 @@ export class MainEditFormBase extends EditFormControlBase {
* @memberof MainEditFormBase
*/
public
detailsModel
:
any
=
{
group1
:
new
FormGroupPanelModel
({
caption
:
'组织地址基本信息'
,
detailType
:
'GROUPPANEL'
,
name
:
'group1'
,
visible
:
true
,
isShowCaption
:
tru
e
,
form
:
this
,
showMoreMode
:
0
,
uiActionGroup
:
{
caption
:
''
,
langbase
:
'entities.hrorgaddress.main_form'
,
extractMode
:
'ITEM'
,
details
:
[]
}
}),
group1
:
new
FormGroupPanelModel
({
caption
:
'组织地址基本信息'
,
detailType
:
'GROUPPANEL'
,
name
:
'group1'
,
visible
:
true
,
isShowCaption
:
fals
e
,
form
:
this
,
showMoreMode
:
0
,
uiActionGroup
:
{
caption
:
''
,
langbase
:
'entities.hrorgaddress.main_form'
,
extractMode
:
'ITEM'
,
details
:
[]
}
}),
formpage1
:
new
FormPageModel
({
caption
:
'基本信息'
,
detailType
:
'FORMPAGE'
,
name
:
'formpage1'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
}),
group2
:
new
FormGroupPanelModel
({
caption
:
'操作信息'
,
detailType
:
'GROUPPANEL'
,
name
:
'group2'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
uiActionGroup
:
{
caption
:
''
,
langbase
:
'entities.hrorgaddress.main_form'
,
extractMode
:
'ITEM'
,
details
:
[]
}
}),
formpage2
:
new
FormPageModel
({
caption
:
'其它'
,
detailType
:
'FORMPAGE'
,
name
:
'formpage2'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
}),
srfupdatedate
:
new
FormItemModel
({
caption
:
'更新时间'
,
detailType
:
'FORMITEM'
,
name
:
'srfupdatedate'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
srforikey
:
new
FormItemModel
({
caption
:
''
,
detailType
:
'FORMITEM'
,
name
:
'srforikey'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
...
...
@@ -133,16 +129,15 @@ export class MainEditFormBase extends EditFormControlBase {
hrorgaddressname
:
new
FormItemModel
({
caption
:
'名称或描述'
,
detailType
:
'FORMITEM'
,
name
:
'hrorgaddressname'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
createman
:
new
FormItemModel
({
caption
:
'建立人'
,
detailType
:
'FORMITEM'
,
name
:
'createman
'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
address
:
new
FormItemModel
({
caption
:
'地址'
,
detailType
:
'FORMITEM'
,
name
:
'address
'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
createdate
:
new
FormItemModel
({
caption
:
'建立时间'
,
detailType
:
'FORMITEM'
,
name
:
'createdat
e'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
postcode
:
new
FormItemModel
({
caption
:
'邮政编码'
,
detailType
:
'FORMITEM'
,
name
:
'postcod
e'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
u
pdateman
:
new
FormItemModel
({
caption
:
'更新人'
,
detailType
:
'FORMITEM'
,
name
:
'updateman
'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
u
ses
:
new
FormItemModel
({
caption
:
'用途'
,
detailType
:
'FORMITEM'
,
name
:
'uses
'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
updatedate
:
new
FormItemModel
({
caption
:
'更新时间'
,
detailType
:
'FORMITEM'
,
name
:
'updatedate
'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
mainaddress
:
new
FormItemModel
({
caption
:
'主要'
,
detailType
:
'FORMITEM'
,
name
:
'mainaddress
'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
hrorgaddressid
:
new
FormItemModel
({
caption
:
'组织地址标识'
,
detailType
:
'FORMITEM'
,
name
:
'hrorgaddressid'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
form
:
new
FormTabPanelModel
({
caption
:
'form'
,
detailType
:
'TABPANEL'
,
name
:
'form'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
tabPages
:
[{
name
:
'formpage1'
,
index
:
0
,
visible
:
true
},
{
name
:
'formpage2'
,
index
:
1
,
visible
:
true
}]
}),
};
}
\ No newline at end of file
app_PIM/src/widgets/hrorg-address/main-form/main-form-model.ts
浏览文件 @
4285b736
...
...
@@ -61,24 +61,24 @@ export default class MainModel {
dataType
:
'TEXT'
,
},
{
name
:
'
createman
'
,
prop
:
'
createman
'
,
name
:
'
address
'
,
prop
:
'
address
'
,
dataType
:
'TEXT'
,
},
{
name
:
'
createdat
e'
,
prop
:
'
createdat
e'
,
dataType
:
'
DATETIME
'
,
name
:
'
postcod
e'
,
prop
:
'
postcod
e'
,
dataType
:
'
TEXT
'
,
},
{
name
:
'u
pdateman
'
,
prop
:
'u
pdateman
'
,
dataType
:
'
TEX
T'
,
name
:
'u
ses
'
,
prop
:
'u
ses
'
,
dataType
:
'
SSCODELIS
T'
,
},
{
name
:
'
updatedate
'
,
prop
:
'
updatedate
'
,
dataType
:
'
DATETIME
'
,
name
:
'
mainaddress
'
,
prop
:
'
mainaddress
'
,
dataType
:
'
YESNO
'
,
},
{
name
:
'hrorgaddressid'
,
...
...
app_PIM/src/widgets/hrorg-address/main-form/main-form.html
浏览文件 @
4285b736
<i-form
:model=
"this.data"
class=
'app-form'
ref=
'form'
id=
'hrorgaddress_main'
style=
""
>
<input
style=
"display:none;"
/>
<row
>
<tabs
:animated=
"false"
size=
"small"
name=
'main'
:value=
"detailsModel.form.activiedPage"
@
on-click=
"detailsModel.form.clickPage($event)"
>
<tab-pane
v-show=
"detailsModel.formpage1.visible"
name=
'formpage1'
:index=
"0"
tab=
'main'
class=
''
:label=
"(h) =>{
return h('span',{
class:'caption'
},[
$t('entities.hrorgaddress.main_form.details.formpage1')
])
}"
>
<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.hrorgaddress.main_form.details.group1')"
:isShowCaption=
"
tru
e"
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.hrorgaddress.main_form.details.group1')"
:isShowCaption=
"
fals
e"
uiStyle=
"DEFAULT"
:titleBarCloseMode=
"0"
:isInfoGroupMode=
"false"
>
<app-form-group-data-panel
slot=
"dataInfoPanel"
:model=
"detailsModel.group1"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
/>
<row>
<i-col
class=
"form-layout-container"
v-show=
"detailsModel.hrorgaddressname.visible"
:style=
"{}"
:lg=
"{ span: 24, offset: 0 }"
>
...
...
@@ -30,64 +20,71 @@
</app-form-item>
</i-col>
</row>
</app-form-group>
</i-col>
</tab-pane>
<tab-pane
v-show=
"detailsModel.formpage2.visible"
name=
'formpage2'
:index=
"1"
tab=
'main'
class=
''
:label=
"(h) =>{
return h('span',{
class:'caption'
},[
$t('entities.hrorgaddress.main_form.details.formpage2')
])
}"
>
<i-col
class=
"form-layout-container"
v-show=
"detailsModel.group2.visible"
:style=
"{}"
:lg=
"{ span: 24, offset: 0 }"
>
<app-form-group
:model=
"detailsModel.group2"
layoutType=
"TABLE_24COL"
titleStyle=
""
class=
''
:uiActionGroup=
"detailsModel.group2.uiActionGroup"
@
groupuiactionclick=
"groupUIActionClick($event)"
:caption=
"$t('entities.hrorgaddress.main_form.details.group2')"
:isShowCaption=
"true"
uiStyle=
"DEFAULT"
:titleBarCloseMode=
"0"
:isInfoGroupMode=
"false"
>
<app-form-group-data-panel
slot=
"dataInfoPanel"
:model=
"detailsModel.group2"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
/>
<row>
<i-col
class=
"form-layout-container"
v-show=
"detailsModel.createman.visible"
:style=
"{}"
:lg=
"{ span: 24, offset: 0 }"
>
<app-form-item
name=
'createman'
:itemRules=
"this.rules.createman"
class=
''
:caption=
"$t('entities.hrorgaddress.main_form.details.createman')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.createman.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-span
name=
'createman'
:value=
"data.createman"
dataType=
"TEXT"
:precision=
"0"
tag=
'SysOperator'
codelistType=
'DYNAMIC'
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'{ }'
:localParam =
'{ }'
style=
""
>
</app-span>
<i-col
class=
"form-layout-container"
v-show=
"detailsModel.address.visible"
:style=
"{}"
:lg=
"{ span: 24, offset: 0 }"
>
<app-form-item
name=
'address'
:itemRules=
"this.rules.address"
class=
''
:caption=
"$t('entities.hrorgaddress.main_form.details.address')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.address.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<input-box
v-model=
"data.address"
@
enter=
"onEnter($event)"
unit=
""
:disabled=
"detailsModel.address.disabled"
type=
'text'
style=
""
>
</input-box>
</app-form-item>
</i-col>
<i-col
class=
"form-layout-container"
v-show=
"detailsModel.createdate.visible"
:style=
"{}"
:lg=
"{ span: 24, offset: 0 }"
>
<app-form-item
name=
'createdate'
:itemRules=
"this.rules.createdate"
class=
''
:caption=
"$t('entities.hrorgaddress.main_form.details.createdate')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.createdate.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-span
name=
'createdate'
:value=
"data.createdate"
dataType=
"DATETIME"
valueFormat=
"%1$tY-%1$tm-%1$td %1$tH:%1$tM:%1$tS"
:precision=
"0"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'{ }'
:localParam =
'{ }'
style=
""
>
</app-span>
<i-col
class=
"form-layout-container"
v-show=
"detailsModel.postcode.visible"
:style=
"{}"
:lg=
"{ span: 24, offset: 0 }"
>
<app-form-item
name=
'postcode'
:itemRules=
"this.rules.postcode"
class=
''
:caption=
"$t('entities.hrorgaddress.main_form.details.postcode')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.postcode.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<input-box
v-model=
"data.postcode"
@
enter=
"onEnter($event)"
unit=
""
:disabled=
"detailsModel.postcode.disabled"
type=
'text'
style=
""
>
</input-box>
</app-form-item>
</i-col>
<i-col
class=
"form-layout-container"
v-show=
"detailsModel.u
pdateman
.visible"
:style=
"{}"
:lg=
"{ span: 24, offset: 0 }"
>
<app-form-item
name=
'u
pdateman'
:itemRules=
"this.rules.updateman"
class=
''
:caption=
"$t('entities.hrorgaddress.main_form.details.updateman')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.updateman
.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<i-col
class=
"form-layout-container"
v-show=
"detailsModel.u
ses
.visible"
:style=
"{}"
:lg=
"{ span: 24, offset: 0 }"
>
<app-form-item
name=
'u
ses'
:itemRules=
"this.rules.uses"
class=
''
:caption=
"$t('entities.hrorgaddress.main_form.details.uses')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.uses
.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-span
name=
'updateman'
:value=
"data.updateman"
dataType=
"TEXT"
:precision=
"0"
tag=
'SysOperator'
codelistType=
'DYNAMIC'
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'{ }'
:localParam =
'{ }'
style=
""
>
</app-span>
<dropdown-list
v-model=
"data.uses"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'{ }'
:localParam =
'{ }'
:disabled=
"detailsModel.uses.disabled"
valueType=
"string"
tag=
'CL_HR_0002'
codelistType=
'STATIC'
placeholder=
'请选择...'
/>
</app-form-item>
</i-col>
<i-col
class=
"form-layout-container"
v-show=
"detailsModel.
updatedate
.visible"
:style=
"{}"
:lg=
"{ span: 24, offset: 0 }"
>
<app-form-item
name=
'
updatedate'
:itemRules=
"this.rules.updatedate"
class=
''
:caption=
"$t('entities.hrorgaddress.main_form.details.updatedate')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.updatedate
.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<i-col
class=
"form-layout-container"
v-show=
"detailsModel.
mainaddress
.visible"
:style=
"{}"
:lg=
"{ span: 24, offset: 0 }"
>
<app-form-item
name=
'
mainaddress'
:itemRules=
"this.rules.mainaddress"
class=
''
:caption=
"$t('entities.hrorgaddress.main_form.details.mainaddress')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.mainaddress
.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-span
name=
'updatedate'
:value=
"data.updatedate"
dataType=
"DATETIME"
valueFormat=
"%1$tY-%1$tm-%1$td %1$tH:%1$tM:%1$tS"
:precision=
"0"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'{ }'
:localParam =
'{ }'
style=
""
>
</app-span>
<dropdown-list
v-model=
"data.mainaddress"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'{ }'
:localParam =
'{ }'
:disabled=
"detailsModel.mainaddress.disabled"
style=
"width:100px;width: 100px;"
valueType=
"number"
tag=
'YesNo'
codelistType=
'STATIC'
placeholder=
'请选择...'
/>
</app-form-item>
</i-col>
...
...
@@ -98,7 +95,5 @@ tag='SysOperator' codelistType='DYNAMIC' :data="data" :context="context" :viewpa
</i-col>
</tab-pane>
</tabs>
</row>
</i-form>
\ No newline at end of file
app_PIM/src/widgets/hrorg-address/main-grid/main-grid-base.tsx
浏览文件 @
4285b736
...
...
@@ -92,17 +92,25 @@ export class MainGridBase extends GridControlBase {
isEnableRowEdit
:
false
,
},
{
name
:
'
updateman
'
,
label
:
'
更新人
'
,
langtag
:
'entities.hrorgaddress.main_grid.columns.
updateman
'
,
name
:
'
address
'
,
label
:
'
地址
'
,
langtag
:
'entities.hrorgaddress.main_grid.columns.
address
'
,
show
:
true
,
util
:
'PX'
,
isEnableRowEdit
:
false
,
},
{
name
:
'updatedate'
,
label
:
'更新时间'
,
langtag
:
'entities.hrorgaddress.main_grid.columns.updatedate'
,
name
:
'uses'
,
label
:
'用途'
,
langtag
:
'entities.hrorgaddress.main_grid.columns.uses'
,
show
:
true
,
util
:
'PX'
,
isEnableRowEdit
:
false
,
},
{
name
:
'mainaddress'
,
label
:
'主要'
,
langtag
:
'entities.hrorgaddress.main_grid.columns.mainaddress'
,
show
:
true
,
util
:
'PX'
,
isEnableRowEdit
:
false
,
...
...
@@ -142,8 +150,9 @@ export class MainGridBase extends GridControlBase {
*/
public
hasRowEdit
:
any
=
{
'hrorgaddressname'
:
false
,
'updateman'
:
false
,
'updatedate'
:
false
,
'address'
:
false
,
'uses'
:
false
,
'mainaddress'
:
false
,
};
/**
...
...
@@ -170,9 +179,17 @@ export class MainGridBase extends GridControlBase {
public
async
formatExcelData
(
filterVal
:
any
,
jsonData
:
any
,
codelistColumns
?:
any
[]):
Promise
<
any
>
{
return
super
.
formatExcelData
(
filterVal
,
jsonData
,
[
{
name
:
'updateman'
,
srfkey
:
'SysOperator'
,
codelistType
:
'DYNAMIC'
,
name
:
'uses'
,
srfkey
:
'CL_HR_0002'
,
codelistType
:
'STATIC'
,
renderMode
:
'other'
,
textSeparator
:
'、'
,
valueSeparator
:
','
,
},
{
name
:
'mainaddress'
,
srfkey
:
'YesNo'
,
codelistType
:
'STATIC'
,
renderMode
:
'other'
,
textSeparator
:
'、'
,
valueSeparator
:
','
,
...
...
app_PIM/src/widgets/hrorg-address/main-grid/main-grid-model.ts
浏览文件 @
4285b736
...
...
@@ -26,20 +26,25 @@ export default class MainModel {
]
}
else
{
return
[
{
name
:
'address'
,
prop
:
'address'
,
dataType
:
'TEXT'
,
},
{
name
:
'hrorgaddressname'
,
prop
:
'hrorgaddressname'
,
dataType
:
'TEXT'
,
},
{
name
:
'
updateman
'
,
prop
:
'
updateman
'
,
dataType
:
'
TEXT
'
,
name
:
'
mainaddress
'
,
prop
:
'
mainaddress
'
,
dataType
:
'
YESNO
'
,
},
{
name
:
'u
pdatedate
'
,
prop
:
'u
pdatedate
'
,
dataType
:
'
DATETIME
'
,
name
:
'u
ses
'
,
prop
:
'u
ses
'
,
dataType
:
'
SSCODELIST
'
,
},
{
name
:
'srfmajortext'
,
...
...
app_PIM/src/widgets/hrorg-address/main-grid/main-grid.html
浏览文件 @
4285b736
...
...
@@ -35,29 +35,43 @@
</template>
</el-table-column>
</template>
<template
v-if=
"getColumnState('
updateman
')"
>
<el-table-column
show-overflow-tooltip
:prop=
"'
updateman'"
:label=
"$t('entities.hrorgaddress.main_grid.columns.updateman')"
:width=
"15
0"
:align=
"'left'"
:sortable=
"'custom'"
>
<template
v-if=
"getColumnState('
address
')"
>
<el-table-column
show-overflow-tooltip
:prop=
"'
address'"
:label=
"$t('entities.hrorgaddress.main_grid.columns.address')"
:width=
"30
0"
:align=
"'left'"
:sortable=
"'custom'"
>
<template
v-slot:header=
"{column}"
>
<span
class=
"column-header "
>
{{$t('entities.hrorgaddress.main_grid.columns.updateman')}}
{{$t('entities.hrorgaddress.main_grid.columns.address')}}
</span>
</template>
<template
v-slot=
"{row,column,$index}"
>
<span>
{{row.address}}
</span>
</template>
</el-table-column>
</template>
<template
v-if=
"getColumnState('uses')"
>
<el-table-column
show-overflow-tooltip
:prop=
"'uses'"
:label=
"$t('entities.hrorgaddress.main_grid.columns.uses')"
:width=
"150"
:align=
"'left'"
:sortable=
"'custom'"
>
<template
v-slot:header=
"{column}"
>
<span
class=
"column-header "
>
{{$t('entities.hrorgaddress.main_grid.columns.uses')}}
</span>
</template>
<template
v-slot=
"{row,column,$index}"
>
<template
>
<codelist
:value=
"row.u
pdateman"
tag=
'SysOperator'
codelistType=
'DYNAM
IC'
></codelist>
<codelist
:value=
"row.u
ses"
tag=
'CL_HR_0002'
codelistType=
'STAT
IC'
></codelist>
</template>
</template>
</el-table-column>
</template>
<template
v-if=
"getColumnState('
updatedate
')"
>
<el-table-column
show-overflow-tooltip
:prop=
"'
updatedate'"
:label=
"$t('entities.hrorgaddress.main_grid.columns.updatedate
')"
:width=
"150"
:align=
"'left'"
:sortable=
"'custom'"
>
<template
v-if=
"getColumnState('
mainaddress
')"
>
<el-table-column
show-overflow-tooltip
:prop=
"'
mainaddress'"
:label=
"$t('entities.hrorgaddress.main_grid.columns.mainaddress
')"
:width=
"150"
:align=
"'left'"
:sortable=
"'custom'"
>
<template
v-slot:header=
"{column}"
>
<span
class=
"column-header "
>
{{$t('entities.hrorgaddress.main_grid.columns.
updatedate
')}}
{{$t('entities.hrorgaddress.main_grid.columns.
mainaddress
')}}
</span>
</template>
<template
v-slot=
"{row,column,$index}"
>
<app-format-data
format=
"YYYY-MM-DD HH:mm:ss"
:data=
"row.updatedate"
></app-format-data>
<template
>
<codelist
:value=
"row.mainaddress"
tag=
'YesNo'
codelistType=
'STATIC'
></codelist>
</template>
</template>
</el-table-column>
</template>
...
...
app_PIM/src/widgets/hrorg-contact/main-form/main-form-base.tsx
浏览文件 @
4285b736
...
...
@@ -74,10 +74,9 @@ export class MainEditFormBase extends EditFormControlBase {
srfdeid
:
null
,
srfsourcekey
:
null
,
hrorgcontactname
:
null
,
createman
:
null
,
createdate
:
null
,
updateman
:
null
,
updatedate
:
null
,
contacttype
:
null
,
contactinfo
:
null
,
maincontact
:
null
,
hrorgcontactid
:
null
,
hrorgcontact
:
null
,
};
...
...
@@ -107,14 +106,10 @@ export class MainEditFormBase extends EditFormControlBase {
* @memberof MainEditFormBase
*/
public
detailsModel
:
any
=
{
group1
:
new
FormGroupPanelModel
({
caption
:
'组织联系信息基本信息'
,
detailType
:
'GROUPPANEL'
,
name
:
'group1'
,
visible
:
true
,
isShowCaption
:
tru
e
,
form
:
this
,
showMoreMode
:
0
,
uiActionGroup
:
{
caption
:
''
,
langbase
:
'entities.hrorgcontact.main_form'
,
extractMode
:
'ITEM'
,
details
:
[]
}
}),
group1
:
new
FormGroupPanelModel
({
caption
:
'组织联系信息基本信息'
,
detailType
:
'GROUPPANEL'
,
name
:
'group1'
,
visible
:
true
,
isShowCaption
:
fals
e
,
form
:
this
,
showMoreMode
:
0
,
uiActionGroup
:
{
caption
:
''
,
langbase
:
'entities.hrorgcontact.main_form'
,
extractMode
:
'ITEM'
,
details
:
[]
}
}),
formpage1
:
new
FormPageModel
({
caption
:
'基本信息'
,
detailType
:
'FORMPAGE'
,
name
:
'formpage1'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
}),
group2
:
new
FormGroupPanelModel
({
caption
:
'操作信息'
,
detailType
:
'GROUPPANEL'
,
name
:
'group2'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
uiActionGroup
:
{
caption
:
''
,
langbase
:
'entities.hrorgcontact.main_form'
,
extractMode
:
'ITEM'
,
details
:
[]
}
}),
formpage2
:
new
FormPageModel
({
caption
:
'其它'
,
detailType
:
'FORMPAGE'
,
name
:
'formpage2'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
}),
srfupdatedate
:
new
FormItemModel
({
caption
:
'更新时间'
,
detailType
:
'FORMITEM'
,
name
:
'srfupdatedate'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
srforikey
:
new
FormItemModel
({
caption
:
''
,
detailType
:
'FORMITEM'
,
name
:
'srforikey'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
...
...
@@ -133,16 +128,13 @@ export class MainEditFormBase extends EditFormControlBase {
hrorgcontactname
:
new
FormItemModel
({
caption
:
'联系人'
,
detailType
:
'FORMITEM'
,
name
:
'hrorgcontactname'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
createman
:
new
FormItemModel
({
caption
:
'建立人'
,
detailType
:
'FORMITEM'
,
name
:
'createman'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
createdate
:
new
FormItemModel
({
caption
:
'建立时间'
,
detailType
:
'FORMITEM'
,
name
:
'createdate'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
contacttype
:
new
FormItemModel
({
caption
:
'类型'
,
detailType
:
'FORMITEM'
,
name
:
'contacttype'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
updateman
:
new
FormItemModel
({
caption
:
'更新人'
,
detailType
:
'FORMITEM'
,
name
:
'updateman
'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
contactinfo
:
new
FormItemModel
({
caption
:
'联系信息'
,
detailType
:
'FORMITEM'
,
name
:
'contactinfo
'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
updatedate
:
new
FormItemModel
({
caption
:
'更新时间'
,
detailType
:
'FORMITEM'
,
name
:
'updatedate
'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
maincontact
:
new
FormItemModel
({
caption
:
'主要'
,
detailType
:
'FORMITEM'
,
name
:
'maincontact
'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
hrorgcontactid
:
new
FormItemModel
({
caption
:
'组织联系信息标识'
,
detailType
:
'FORMITEM'
,
name
:
'hrorgcontactid'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
form
:
new
FormTabPanelModel
({
caption
:
'form'
,
detailType
:
'TABPANEL'
,
name
:
'form'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
tabPages
:
[{
name
:
'formpage1'
,
index
:
0
,
visible
:
true
},
{
name
:
'formpage2'
,
index
:
1
,
visible
:
true
}]
}),
};
}
\ No newline at end of file
app_PIM/src/widgets/hrorg-contact/main-form/main-form-model.ts
浏览文件 @
4285b736
...
...
@@ -61,24 +61,19 @@ export default class MainModel {
dataType
:
'TEXT'
,
},
{
name
:
'createman'
,
prop
:
'createman'
,
dataType
:
'TEXT'
,
},
{
name
:
'createdate'
,
prop
:
'createdate'
,
dataType
:
'DATETIME'
,
name
:
'contacttype'
,
prop
:
'contacttype'
,
dataType
:
'SSCODELIST'
,
},
{
name
:
'
updateman
'
,
prop
:
'
updateman
'
,
name
:
'
contactinfo
'
,
prop
:
'
contactinfo
'
,
dataType
:
'TEXT'
,
},
{
name
:
'
updatedate
'
,
prop
:
'
updatedate
'
,
dataType
:
'
DATETIME
'
,
name
:
'
maincontact
'
,
prop
:
'
maincontact
'
,
dataType
:
'
YESNO
'
,
},
{
name
:
'hrorgcontactid'
,
...
...
app_PIM/src/widgets/hrorg-contact/main-form/main-form.html
浏览文件 @
4285b736
<i-form
:model=
"this.data"
class=
'app-form'
ref=
'form'
id=
'hrorgcontact_main'
style=
""
>
<input
style=
"display:none;"
/>
<row
>
<tabs
:animated=
"false"
size=
"small"
name=
'main'
:value=
"detailsModel.form.activiedPage"
@
on-click=
"detailsModel.form.clickPage($event)"
>
<tab-pane
v-show=
"detailsModel.formpage1.visible"
name=
'formpage1'
:index=
"0"
tab=
'main'
class=
''
:label=
"(h) =>{
return h('span',{
class:'caption'
},[
$t('entities.hrorgcontact.main_form.details.formpage1')
])
}"
>
<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.hrorgcontact.main_form.details.group1')"
:isShowCaption=
"
tru
e"
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.hrorgcontact.main_form.details.group1')"
:isShowCaption=
"
fals
e"
uiStyle=
"DEFAULT"
:titleBarCloseMode=
"0"
:isInfoGroupMode=
"false"
>
<app-form-group-data-panel
slot=
"dataInfoPanel"
:model=
"detailsModel.group1"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
/>
<row>
<i-col
class=
"form-layout-container"
v-show=
"detailsModel.hrorgcontactname.visible"
:style=
"{}"
:lg=
"{ span: 24, offset: 0 }"
>
...
...
@@ -30,64 +20,57 @@
</app-form-item>
</i-col>
<i-col
class=
"form-layout-container"
v-show=
"detailsModel.contacttype.visible"
:style=
"{}"
:lg=
"{ span: 24, offset: 0 }"
>
<app-form-item
name=
'contacttype'
:itemRules=
"this.rules.contacttype"
class=
''
:caption=
"$t('entities.hrorgcontact.main_form.details.contacttype')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.contacttype.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
</row>
</app-form-group>
</i-col>
</tab-pane>
<tab-pane
v-show=
"detailsModel.formpage2.visible"
name=
'formpage2'
:index=
"1"
tab=
'main'
class=
''
:label=
"(h) =>{
return h('span',{
class:'caption'
},[
$t('entities.hrorgcontact.main_form.details.formpage2')
])
}"
>
<i-col
class=
"form-layout-container"
v-show=
"detailsModel.group2.visible"
:style=
"{}"
:lg=
"{ span: 24, offset: 0 }"
>
<app-form-group
:model=
"detailsModel.group2"
layoutType=
"TABLE_24COL"
titleStyle=
""
class=
''
:uiActionGroup=
"detailsModel.group2.uiActionGroup"
@
groupuiactionclick=
"groupUIActionClick($event)"
:caption=
"$t('entities.hrorgcontact.main_form.details.group2')"
:isShowCaption=
"true"
uiStyle=
"DEFAULT"
:titleBarCloseMode=
"0"
:isInfoGroupMode=
"false"
>
<app-form-group-data-panel
slot=
"dataInfoPanel"
:model=
"detailsModel.group2"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
/>
<row>
<i-col
class=
"form-layout-container"
v-show=
"detailsModel.createman.visible"
:style=
"{}"
:lg=
"{ span: 24, offset: 0 }"
>
<app-form-item
name=
'createman'
:itemRules=
"this.rules.createman"
class=
''
:caption=
"$t('entities.hrorgcontact.main_form.details.createman')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.createman.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<dropdown-list
v-model=
"data.contacttype"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'{ }'
:localParam =
'{ }'
:disabled=
"detailsModel.contacttype.disabled"
valueType=
"string"
tag=
'CL_HR_0003'
codelistType=
'STATIC'
placeholder=
'请选择...'
<app-span
name=
'createman'
:value=
"data.createman"
dataType=
"TEXT"
:precision=
"0"
tag=
'SysOperator'
codelistType=
'DYNAMIC'
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'{ }'
:localParam =
'{ }'
style=
""
>
</app-span>
/>
</app-form-item>
</i-col>
<i-col
class=
"form-layout-container"
v-show=
"detailsModel.createdate.visible"
:style=
"{}"
:lg=
"{ span: 24, offset: 0 }"
>
<app-form-item
name=
'createdate'
:itemRules=
"this.rules.createdate"
class=
''
:caption=
"$t('entities.hrorgcontact.main_form.details.createdate')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.createdate.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-span
name=
'createdate'
:value=
"data.createdate"
dataType=
"DATETIME"
valueFormat=
"%1$tY-%1$tm-%1$td %1$tH:%1$tM:%1$tS"
:precision=
"0"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'{ }'
:localParam =
'{ }'
style=
""
>
</app-span>
</app-form-item>
</i-col>
<i-col
class=
"form-layout-container"
v-show=
"detailsModel.updateman.visible"
:style=
"{}"
:lg=
"{ span: 24, offset: 0 }"
>
<app-form-item
name=
'updateman'
:itemRules=
"this.rules.updateman"
class=
''
:caption=
"$t('entities.hrorgcontact.main_form.details.updateman')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.updateman.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-span
name=
'updateman'
:value=
"data.updateman"
dataType=
"TEXT"
:precision=
"0"
tag=
'SysOperator'
codelistType=
'DYNAMIC'
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'{ }'
:localParam =
'{ }'
style=
""
>
</app-span>
<i-col
class=
"form-layout-container"
v-show=
"detailsModel.contactinfo.visible"
:style=
"{}"
:lg=
"{ span: 24, offset: 0 }"
>
<app-form-item
name=
'contactinfo'
:itemRules=
"this.rules.contactinfo"
class=
''
:caption=
"$t('entities.hrorgcontact.main_form.details.contactinfo')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.contactinfo.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<input-box
v-model=
"data.contactinfo"
@
enter=
"onEnter($event)"
unit=
""
:disabled=
"detailsModel.contactinfo.disabled"
type=
'text'
style=
""
>
</input-box>
</app-form-item>
</i-col>
<i-col
class=
"form-layout-container"
v-show=
"detailsModel.
updatedate
.visible"
:style=
"{}"
:lg=
"{ span: 24, offset: 0 }"
>
<app-form-item
name=
'
updatedate'
:itemRules=
"this.rules.updatedate"
class=
''
:caption=
"$t('entities.hrorgcontact.main_form.details.updatedate')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.updatedate
.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<i-col
class=
"form-layout-container"
v-show=
"detailsModel.
maincontact
.visible"
:style=
"{}"
:lg=
"{ span: 24, offset: 0 }"
>
<app-form-item
name=
'
maincontact'
:itemRules=
"this.rules.maincontact"
class=
''
:caption=
"$t('entities.hrorgcontact.main_form.details.maincontact')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.maincontact
.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-span
name=
'updatedate'
:value=
"data.updatedate"
dataType=
"DATETIME"
valueFormat=
"%1$tY-%1$tm-%1$td %1$tH:%1$tM:%1$tS"
:precision=
"0"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'{ }'
:localParam =
'{ }'
style=
""
>
</app-span>
<dropdown-list
v-model=
"data.maincontact"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'{ }'
:localParam =
'{ }'
:disabled=
"detailsModel.maincontact.disabled"
style=
"width:100px;width: 100px;"
valueType=
"number"
tag=
'YesNo'
codelistType=
'STATIC'
placeholder=
'请选择...'
/>
</app-form-item>
</i-col>
...
...
@@ -98,7 +81,5 @@ tag='SysOperator' codelistType='DYNAMIC' :data="data" :context="context" :viewpa
</i-col>
</tab-pane>
</tabs>
</row>
</i-form>
\ No newline at end of file
app_PIM/src/widgets/hrorg-contact/main-grid/main-grid-base.tsx
浏览文件 @
4285b736
...
...
@@ -92,17 +92,25 @@ export class MainGridBase extends GridControlBase {
isEnableRowEdit
:
false
,
},
{
name
:
'
updateman
'
,
label
:
'
更新人
'
,
langtag
:
'entities.hrorgcontact.main_grid.columns.
updateman
'
,
name
:
'
contacttype
'
,
label
:
'
类型
'
,
langtag
:
'entities.hrorgcontact.main_grid.columns.
contacttype
'
,
show
:
true
,
util
:
'PX'
,
isEnableRowEdit
:
false
,
},
{
name
:
'updatedate'
,
label
:
'更新时间'
,
langtag
:
'entities.hrorgcontact.main_grid.columns.updatedate'
,
name
:
'contactinfo'
,
label
:
'联系信息'
,
langtag
:
'entities.hrorgcontact.main_grid.columns.contactinfo'
,
show
:
true
,
util
:
'PX'
,
isEnableRowEdit
:
false
,
},
{
name
:
'maincontact'
,
label
:
'主要'
,
langtag
:
'entities.hrorgcontact.main_grid.columns.maincontact'
,
show
:
true
,
util
:
'PX'
,
isEnableRowEdit
:
false
,
...
...
@@ -142,8 +150,9 @@ export class MainGridBase extends GridControlBase {
*/
public
hasRowEdit
:
any
=
{
'hrorgcontactname'
:
false
,
'updateman'
:
false
,
'updatedate'
:
false
,
'contacttype'
:
false
,
'contactinfo'
:
false
,
'maincontact'
:
false
,
};
/**
...
...
@@ -170,9 +179,17 @@ export class MainGridBase extends GridControlBase {
public
async
formatExcelData
(
filterVal
:
any
,
jsonData
:
any
,
codelistColumns
?:
any
[]):
Promise
<
any
>
{
return
super
.
formatExcelData
(
filterVal
,
jsonData
,
[
{
name
:
'updateman'
,
srfkey
:
'SysOperator'
,
codelistType
:
'DYNAMIC'
,
name
:
'contacttype'
,
srfkey
:
'CL_HR_0003'
,
codelistType
:
'STATIC'
,
renderMode
:
'other'
,
textSeparator
:
'、'
,
valueSeparator
:
','
,
},
{
name
:
'maincontact'
,
srfkey
:
'YesNo'
,
codelistType
:
'STATIC'
,
renderMode
:
'other'
,
textSeparator
:
'、'
,
valueSeparator
:
','
,
...
...
app_PIM/src/widgets/hrorg-contact/main-grid/main-grid-model.ts
浏览文件 @
4285b736
...
...
@@ -27,19 +27,24 @@ export default class MainModel {
}
else
{
return
[
{
name
:
'
hrorgcontactname
'
,
prop
:
'
hrorgcontactname
'
,
dataType
:
'
TEXT
'
,
name
:
'
maincontact
'
,
prop
:
'
maincontact
'
,
dataType
:
'
YESNO
'
,
},
{
name
:
'
updateman
'
,
prop
:
'
updateman
'
,
name
:
'
contactinfo
'
,
prop
:
'
contactinfo
'
,
dataType
:
'TEXT'
,
},
{
name
:
'updatedate'
,
prop
:
'updatedate'
,
dataType
:
'DATETIME'
,
name
:
'contacttype'
,
prop
:
'contacttype'
,
dataType
:
'SSCODELIST'
,
},
{
name
:
'hrorgcontactname'
,
prop
:
'hrorgcontactname'
,
dataType
:
'TEXT'
,
},
{
name
:
'srfmajortext'
,
...
...
app_PIM/src/widgets/hrorg-contact/main-grid/main-grid.html
浏览文件 @
4285b736
...
...
@@ -35,29 +35,43 @@
</template>
</el-table-column>
</template>
<template
v-if=
"getColumnState('
updateman
')"
>
<el-table-column
show-overflow-tooltip
:prop=
"'
updateman'"
:label=
"$t('entities.hrorgcontact.main_grid.columns.updateman
')"
:width=
"150"
:align=
"'left'"
:sortable=
"'custom'"
>
<template
v-if=
"getColumnState('
contacttype
')"
>
<el-table-column
show-overflow-tooltip
:prop=
"'
contacttype'"
:label=
"$t('entities.hrorgcontact.main_grid.columns.contacttype
')"
:width=
"150"
:align=
"'left'"
:sortable=
"'custom'"
>
<template
v-slot:header=
"{column}"
>
<span
class=
"column-header "
>
{{$t('entities.hrorgcontact.main_grid.columns.
updateman
')}}
{{$t('entities.hrorgcontact.main_grid.columns.
contacttype
')}}
</span>
</template>
<template
v-slot=
"{row,column,$index}"
>
<template
>
<codelist
:value=
"row.
updateman"
tag=
'SysOperator'
codelistType=
'DYNAM
IC'
></codelist>
<codelist
:value=
"row.
contacttype"
tag=
'CL_HR_0003'
codelistType=
'STAT
IC'
></codelist>
</template>
</template>
</el-table-column>
</template>
<template
v-if=
"getColumnState('
updatedate
')"
>
<el-table-column
show-overflow-tooltip
:prop=
"'
updatedate'"
:label=
"$t('entities.hrorgcontact.main_grid.columns.updatedate')"
:width=
"15
0"
:align=
"'left'"
:sortable=
"'custom'"
>
<template
v-if=
"getColumnState('
contactinfo
')"
>
<el-table-column
show-overflow-tooltip
:prop=
"'
contactinfo'"
:label=
"$t('entities.hrorgcontact.main_grid.columns.contactinfo')"
:width=
"30
0"
:align=
"'left'"
:sortable=
"'custom'"
>
<template
v-slot:header=
"{column}"
>
<span
class=
"column-header "
>
{{$t('entities.hrorgcontact.main_grid.columns.
updatedate
')}}
{{$t('entities.hrorgcontact.main_grid.columns.
contactinfo
')}}
</span>
</template>
<template
v-slot=
"{row,column,$index}"
>
<app-format-data
format=
"YYYY-MM-DD HH:mm:ss"
:data=
"row.updatedate"
></app-format-data>
<span>
{{row.contactinfo}}
</span>
</template>
</el-table-column>
</template>
<template
v-if=
"getColumnState('maincontact')"
>
<el-table-column
show-overflow-tooltip
:prop=
"'maincontact'"
:label=
"$t('entities.hrorgcontact.main_grid.columns.maincontact')"
:width=
"150"
:align=
"'left'"
:sortable=
"'custom'"
>
<template
v-slot:header=
"{column}"
>
<span
class=
"column-header "
>
{{$t('entities.hrorgcontact.main_grid.columns.maincontact')}}
</span>
</template>
<template
v-slot=
"{row,column,$index}"
>
<template
>
<codelist
:value=
"row.maincontact"
tag=
'YesNo'
codelistType=
'STATIC'
></codelist>
</template>
</template>
</el-table-column>
</template>
...
...
humanresource-core/src/main/resources/liquibase/h2_table.xml
浏览文件 @
4285b736
...
...
@@ -66,7 +66,7 @@
<!--输出实体[HRLEGAL]数据结构 -->
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"tab-hrlegal-
5
1-4"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"tab-hrlegal-
6
1-4"
>
<createTable
tableName=
"LEGAL"
>
<column
name=
"LEGALNAME"
remarks=
""
type=
"VARCHAR(200)"
>
</column>
...
...
@@ -202,7 +202,7 @@
<!--输出实体[HRORGADDRESS]数据结构 -->
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"tab-hrorgaddress-
16
-10"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"tab-hrorgaddress-
21
-10"
>
<createTable
tableName=
"T_HRORGADDRESS"
>
<column
name=
"HRORGADDRESSNAME"
remarks=
""
type=
"VARCHAR(200)"
>
</column>
...
...
@@ -230,7 +230,7 @@
<!--输出实体[HRORGCONTACT]数据结构 -->
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"tab-hrorgcontact-1
1
-11"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"tab-hrorgcontact-1
6
-11"
>
<createTable
tableName=
"T_HRORGCONTACT"
>
<column
name=
"CREATEMAN"
remarks=
""
type=
"VARCHAR(60)"
>
</column>
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录