Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
iBiz企业中心
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
iBiz企业套件
iBiz企业中心
提交
d9eeebc5
提交
d9eeebc5
编写于
7月 08, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
lab_gzf 发布系统代码
上级
fd26d041
变更
14
隐藏空白字符变更
内嵌
并排
正在显示
14 个修改的文件
包含
784 行增加
和
31 行删除
+784
-31
data-dictionary.json
app_CRM/public/assets/json/data-dictionary.json
+188
-0
codelist_en_US.ts
app_CRM/src/locale/lanres/codelist/codelist_en_US.ts
+28
-0
codelist_zh_CN.ts
app_CRM/src/locale/lanres/codelist/codelist_zh_CN.ts
+28
-0
connection-role_en_US.ts
.../lanres/entities/connection-role/connection-role_en_US.ts
+12
-2
connection-role_zh_CN.ts
.../lanres/entities/connection-role/connection-role_zh_CN.ts
+12
-2
codelist.ts
app_CRM/src/mock/codelist/codelist.ts
+188
-0
data-panel-form.html
.../src/widgets/account/data-panel-form/data-panel-form.html
+2
-2
data-panel-form.less
.../src/widgets/account/data-panel-form/data-panel-form.less
+4
-0
main-form-base.tsx
.../src/widgets/connection-role/main-form/main-form-base.tsx
+30
-0
main-form-model.ts
.../src/widgets/connection-role/main-form/main-form-model.ts
+30
-0
main-form.html
app_CRM/src/widgets/connection-role/main-form/main-form.html
+98
-1
main-grid-base.tsx
.../src/widgets/connection-role/main-grid/main-grid-base.tsx
+75
-11
main-grid-model.ts
.../src/widgets/connection-role/main-grid/main-grid-model.ts
+25
-5
main-grid.html
app_CRM/src/widgets/connection-role/main-grid/main-grid.html
+64
-8
未找到文件。
app_CRM/public/assets/json/data-dictionary.json
浏览文件 @
d9eeebc5
...
...
@@ -1170,6 +1170,53 @@
}
]
},
{
"srfkey"
:
"Connectionrole__ComponentState"
,
"emptytext"
:
"未定义"
,
"codelisttype"
:
"static"
,
"items"
:
[
{
"id"
:
"2"
,
"label"
:
"已删除"
,
"text"
:
"已删除"
,
"data"
:
""
,
"codename"
:
"Item_2"
,
"value"
:
"2"
,
"disabled"
:
false
}
,
{
"id"
:
"3"
,
"label"
:
"已删除未发布内容"
,
"text"
:
"已删除未发布内容"
,
"data"
:
""
,
"codename"
:
"Item_3"
,
"value"
:
"3"
,
"disabled"
:
false
}
,
{
"id"
:
"0"
,
"label"
:
"已发布"
,
"text"
:
"已发布"
,
"data"
:
""
,
"codename"
:
"Item_0"
,
"value"
:
"0"
,
"disabled"
:
false
}
,
{
"id"
:
"1"
,
"label"
:
"未发布"
,
"text"
:
"未发布"
,
"data"
:
""
,
"codename"
:
"Item_1"
,
"value"
:
"1"
,
"disabled"
:
false
}
]
},
{
"srfkey"
:
"YesNo"
,
"emptytext"
:
"未定义"
,
...
...
@@ -1418,6 +1465,33 @@
}
]
},
{
"srfkey"
:
"Connectionrole__StateCode"
,
"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"
:
"Productsubstitute__Direction"
,
"emptytext"
:
"未定义"
,
...
...
@@ -1975,6 +2049,33 @@
}
]
},
{
"srfkey"
:
"Connectionrole__StatusCode"
,
"emptytext"
:
"未定义"
,
"codelisttype"
:
"static"
,
"items"
:
[
{
"id"
:
"2"
,
"label"
:
"停用"
,
"text"
:
"停用"
,
"data"
:
""
,
"codename"
:
"Item_2"
,
"value"
:
"2"
,
"disabled"
:
false
}
,
{
"id"
:
"1"
,
"label"
:
"可用"
,
"text"
:
"可用"
,
"data"
:
""
,
"codename"
:
"Item_1"
,
"value"
:
"1"
,
"disabled"
:
false
}
]
},
{
"srfkey"
:
"Salesorder__StatusCode"
,
"emptytext"
:
"未定义"
,
...
...
@@ -2826,6 +2927,93 @@
}
]
},
{
"srfkey"
:
"Connectionrole__Category"
,
"emptytext"
:
"未定义"
,
"codelisttype"
:
"static"
,
"items"
:
[
{
"id"
:
"1"
,
"label"
:
"业务"
,
"text"
:
"业务"
,
"data"
:
""
,
"codename"
:
"Item_1"
,
"value"
:
"1"
,
"disabled"
:
false
}
,
{
"id"
:
"5"
,
"label"
:
"其他"
,
"text"
:
"其他"
,
"data"
:
""
,
"codename"
:
"Item_5"
,
"value"
:
"5"
,
"disabled"
:
false
}
,
{
"id"
:
"1000"
,
"label"
:
"利益干系人"
,
"text"
:
"利益干系人"
,
"data"
:
""
,
"codename"
:
"Item_1000"
,
"value"
:
"1000"
,
"disabled"
:
false
}
,
{
"id"
:
"2"
,
"label"
:
"家庭"
,
"text"
:
"家庭"
,
"data"
:
""
,
"codename"
:
"Item_2"
,
"value"
:
"2"
,
"disabled"
:
false
}
,
{
"id"
:
"1002"
,
"label"
:
"服务"
,
"text"
:
"服务"
,
"data"
:
""
,
"codename"
:
"Item_1002"
,
"value"
:
"1002"
,
"disabled"
:
false
}
,
{
"id"
:
"3"
,
"label"
:
"社团组织"
,
"text"
:
"社团组织"
,
"data"
:
""
,
"codename"
:
"Item_3"
,
"value"
:
"3"
,
"disabled"
:
false
}
,
{
"id"
:
"4"
,
"label"
:
"销售"
,
"text"
:
"销售"
,
"data"
:
""
,
"codename"
:
"Item_4"
,
"value"
:
"4"
,
"disabled"
:
false
}
,
{
"id"
:
"1001"
,
"label"
:
"销售团队"
,
"text"
:
"销售团队"
,
"data"
:
""
,
"codename"
:
"Item_1001"
,
"value"
:
"1001"
,
"disabled"
:
false
}
]
},
{
"srfkey"
:
"Lead__IndustryCode"
,
"emptytext"
:
"未定义"
,
...
...
app_CRM/src/locale/lanres/codelist/codelist_en_US.ts
浏览文件 @
d9eeebc5
...
...
@@ -162,6 +162,13 @@ export default {
"8"
:
"需要审阅"
,
"empty"
:
""
},
Connectionrole__ComponentState
:
{
"2"
:
"已删除"
,
"3"
:
"已删除未发布内容"
,
"0"
:
"已发布"
,
"1"
:
"未发布"
,
"empty"
:
""
},
YesNo
:
{
"1"
:
"是"
,
"0"
:
"否"
,
...
...
@@ -196,6 +203,11 @@ export default {
"5"
:
"邮递"
,
"empty"
:
""
},
Connectionrole__StateCode
:
{
"1"
:
"停用"
,
"0"
:
"可用"
,
"empty"
:
""
},
Productsubstitute__Direction
:
{
"0"
:
"单向"
,
"1"
:
"双向"
,
...
...
@@ -277,6 +289,11 @@ export default {
"2"
:
"未知"
,
"empty"
:
""
},
Connectionrole__StatusCode
:
{
"2"
:
"停用"
,
"1"
:
"可用"
,
"empty"
:
""
},
Salesorder__StatusCode
:
{
"100001"
:
"完成"
,
"100003"
:
"已开发票"
,
...
...
@@ -369,6 +386,17 @@ export default {
"2038"
:
"2038 财年"
,
"empty"
:
""
},
Connectionrole__Category
:
{
"1"
:
"业务"
,
"5"
:
"其他"
,
"1000"
:
"利益干系人"
,
"2"
:
"家庭"
,
"1002"
:
"服务"
,
"3"
:
"社团组织"
,
"4"
:
"销售"
,
"1001"
:
"销售团队"
,
"empty"
:
""
},
Lead__IndustryCode
:
{
"1"
:
"Accounting"
,
"2"
:
"Agriculture and Non-petrol Natural Resource Extraction"
,
...
...
app_CRM/src/locale/lanres/codelist/codelist_zh_CN.ts
浏览文件 @
d9eeebc5
...
...
@@ -162,6 +162,13 @@ export default {
"8"
:
"需要审阅"
,
"empty"
:
""
,
},
Connectionrole__ComponentState
:
{
"2"
:
"已删除"
,
"3"
:
"已删除未发布内容"
,
"0"
:
"已发布"
,
"1"
:
"未发布"
,
"empty"
:
""
,
},
YesNo
:
{
"1"
:
"是"
,
"0"
:
"否"
,
...
...
@@ -196,6 +203,11 @@ export default {
"5"
:
"邮递"
,
"empty"
:
""
,
},
Connectionrole__StateCode
:
{
"1"
:
"停用"
,
"0"
:
"可用"
,
"empty"
:
""
,
},
Productsubstitute__Direction
:
{
"0"
:
"单向"
,
"1"
:
"双向"
,
...
...
@@ -277,6 +289,11 @@ export default {
"2"
:
"未知"
,
"empty"
:
""
,
},
Connectionrole__StatusCode
:
{
"2"
:
"停用"
,
"1"
:
"可用"
,
"empty"
:
""
,
},
Salesorder__StatusCode
:
{
"100001"
:
"完成"
,
"100003"
:
"已开发票"
,
...
...
@@ -369,6 +386,17 @@ export default {
"2038"
:
"2038 财年"
,
"empty"
:
""
,
},
Connectionrole__Category
:
{
"1"
:
"业务"
,
"5"
:
"其他"
,
"1000"
:
"利益干系人"
,
"2"
:
"家庭"
,
"1002"
:
"服务"
,
"3"
:
"社团组织"
,
"4"
:
"销售"
,
"1001"
:
"销售团队"
,
"empty"
:
""
,
},
Lead__IndustryCode
:
{
"1"
:
"Accounting"
,
"2"
:
"Agriculture and Non-petrol Natural Resource Extraction"
,
...
...
app_CRM/src/locale/lanres/entities/connection-role/connection-role_en_US.ts
浏览文件 @
d9eeebc5
...
...
@@ -47,6 +47,12 @@ export default {
srfdeid
:
""
,
srfsourcekey
:
""
,
connectionrolename
:
"关联角色名称"
,
category
:
"连接角色类别"
,
componentstate
:
"组件状态"
,
managed
:
"状态"
,
statuscode
:
"状态描述"
,
statecode
:
"状态"
,
description
:
"说明"
,
createman
:
"建立人"
,
createdate
:
"建立时间"
,
updateman
:
"更新人"
,
...
...
@@ -59,8 +65,12 @@ export default {
main_grid
:
{
columns
:
{
connectionrolename
:
"关联角色名称"
,
updateman
:
"更新人"
,
updatedate
:
"更新时间"
,
category
:
"连接角色类别"
,
componentstate
:
"组件状态"
,
managed
:
"状态"
,
statecode
:
"状态"
,
statuscode
:
"状态描述"
,
description
:
"说明"
,
},
uiactions
:
{
},
...
...
app_CRM/src/locale/lanres/entities/connection-role/connection-role_zh_CN.ts
浏览文件 @
d9eeebc5
...
...
@@ -46,6 +46,12 @@ export default {
srfdeid
:
""
,
srfsourcekey
:
""
,
connectionrolename
:
"关联角色名称"
,
category
:
"连接角色类别"
,
componentstate
:
"组件状态"
,
managed
:
"状态"
,
statuscode
:
"状态描述"
,
statecode
:
"状态"
,
description
:
"说明"
,
createman
:
"建立人"
,
createdate
:
"建立时间"
,
updateman
:
"更新人"
,
...
...
@@ -58,8 +64,12 @@ export default {
main_grid
:
{
columns
:
{
connectionrolename
:
"关联角色名称"
,
updateman
:
"更新人"
,
updatedate
:
"更新时间"
,
category
:
"连接角色类别"
,
componentstate
:
"组件状态"
,
managed
:
"状态"
,
statecode
:
"状态"
,
statuscode
:
"状态描述"
,
description
:
"说明"
,
},
uiactions
:
{
},
...
...
app_CRM/src/mock/codelist/codelist.ts
浏览文件 @
d9eeebc5
...
...
@@ -1178,6 +1178,53 @@ mock.onGet('./assets/json/data-dictionary.json').reply((config: any) => {
},
]
},
{
srfkey
:
"Connectionrole__ComponentState"
,
emptytext
:
"未定义"
,
"codelisttype"
:
"static"
,
items
:
[
{
id
:
"2"
,
label
:
"已删除"
,
text
:
"已删除"
,
"data"
:
""
,
"codename"
:
"Item_2"
,
value
:
"2"
,
disabled
:
false
,
},
{
id
:
"3"
,
label
:
"已删除未发布内容"
,
text
:
"已删除未发布内容"
,
"data"
:
""
,
"codename"
:
"Item_3"
,
value
:
"3"
,
disabled
:
false
,
},
{
id
:
"0"
,
label
:
"已发布"
,
text
:
"已发布"
,
"data"
:
""
,
"codename"
:
"Item_0"
,
value
:
"0"
,
disabled
:
false
,
},
{
id
:
"1"
,
label
:
"未发布"
,
text
:
"未发布"
,
"data"
:
""
,
"codename"
:
"Item_1"
,
value
:
"1"
,
disabled
:
false
,
},
]
},
{
srfkey
:
"YesNo"
,
emptytext
:
"未定义"
,
...
...
@@ -1426,6 +1473,33 @@ mock.onGet('./assets/json/data-dictionary.json').reply((config: any) => {
},
]
},
{
srfkey
:
"Connectionrole__StateCode"
,
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
:
"Productsubstitute__Direction"
,
emptytext
:
"未定义"
,
...
...
@@ -1983,6 +2057,33 @@ mock.onGet('./assets/json/data-dictionary.json').reply((config: any) => {
},
]
},
{
srfkey
:
"Connectionrole__StatusCode"
,
emptytext
:
"未定义"
,
"codelisttype"
:
"static"
,
items
:
[
{
id
:
"2"
,
label
:
"停用"
,
text
:
"停用"
,
"data"
:
""
,
"codename"
:
"Item_2"
,
value
:
"2"
,
disabled
:
false
,
},
{
id
:
"1"
,
label
:
"可用"
,
text
:
"可用"
,
"data"
:
""
,
"codename"
:
"Item_1"
,
value
:
"1"
,
disabled
:
false
,
},
]
},
{
srfkey
:
"Salesorder__StatusCode"
,
emptytext
:
"未定义"
,
...
...
@@ -2834,6 +2935,93 @@ mock.onGet('./assets/json/data-dictionary.json').reply((config: any) => {
},
]
},
{
srfkey
:
"Connectionrole__Category"
,
emptytext
:
"未定义"
,
"codelisttype"
:
"static"
,
items
:
[
{
id
:
"1"
,
label
:
"业务"
,
text
:
"业务"
,
"data"
:
""
,
"codename"
:
"Item_1"
,
value
:
"1"
,
disabled
:
false
,
},
{
id
:
"5"
,
label
:
"其他"
,
text
:
"其他"
,
"data"
:
""
,
"codename"
:
"Item_5"
,
value
:
"5"
,
disabled
:
false
,
},
{
id
:
"1000"
,
label
:
"利益干系人"
,
text
:
"利益干系人"
,
"data"
:
""
,
"codename"
:
"Item_1000"
,
value
:
"1000"
,
disabled
:
false
,
},
{
id
:
"2"
,
label
:
"家庭"
,
text
:
"家庭"
,
"data"
:
""
,
"codename"
:
"Item_2"
,
value
:
"2"
,
disabled
:
false
,
},
{
id
:
"1002"
,
label
:
"服务"
,
text
:
"服务"
,
"data"
:
""
,
"codename"
:
"Item_1002"
,
value
:
"1002"
,
disabled
:
false
,
},
{
id
:
"3"
,
label
:
"社团组织"
,
text
:
"社团组织"
,
"data"
:
""
,
"codename"
:
"Item_3"
,
value
:
"3"
,
disabled
:
false
,
},
{
id
:
"4"
,
label
:
"销售"
,
text
:
"销售"
,
"data"
:
""
,
"codename"
:
"Item_4"
,
value
:
"4"
,
disabled
:
false
,
},
{
id
:
"1001"
,
label
:
"销售团队"
,
text
:
"销售团队"
,
"data"
:
""
,
"codename"
:
"Item_1001"
,
value
:
"1001"
,
disabled
:
false
,
},
]
},
{
srfkey
:
"Lead__IndustryCode"
,
emptytext
:
"未定义"
,
...
...
app_CRM/src/widgets/account/data-panel-form/data-panel-form.html
浏览文件 @
d9eeebc5
...
...
@@ -6,14 +6,14 @@
<app-form-group
layoutType=
"FLEX"
titleStyle=
""
class=
' text-center'
:uiActionGroup=
"detailsModel.group1.uiActionGroup"
@
groupuiactionclick=
"groupUIActionClick($event)"
:caption=
"$t('entities.account.datapanel_form.details.group1')"
:isShowCaption=
"false"
uiStyle=
"DEFAULT"
:titleBarCloseMode=
"0"
:isInfoGroupMode=
"true"
>
<div
style=
"height: 100%;display: flex;justify-content: space-between;"
>
<div
v-show=
"detailsModel.industrycode.visible"
:style=
"{}"
>
<app-form-item
name=
'industrycode'
:itemRules=
"this.rules.industrycode"
class=
'datapanel-style'
:caption=
"$t('entities.account.datapanel_form.details.industrycode')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.industrycode.error"
:isEmptyCaption=
"false"
labelPos=
"BOTTOM"
>
<app-form-item
name=
'industrycode'
:itemRules=
"this.rules.industrycode"
class=
'datapanel-style'
labelStyle=
"datapanel-label-style"
:caption=
"$t('entities.account.datapanel_form.details.industrycode')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.industrycode.error"
:isEmptyCaption=
"false"
labelPos=
"BOTTOM"
>
<app-span
name=
'industrycode'
:value=
"data.industrycode"
tag=
'Account__IndustryCode'
codelistType=
'STATIC'
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'{ }'
:localParam =
'{ }'
style=
""
></app-span>
</app-form-item>
</div>
<div
v-show=
"detailsModel.telephone1.visible"
:style=
"{}"
>
<app-form-item
name=
'telephone1'
:itemRules=
"this.rules.telephone1"
class=
'datapanel-style'
:caption=
"$t('entities.account.datapanel_form.details.telephone1')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.telephone1.error"
:isEmptyCaption=
"false"
labelPos=
"BOTTOM"
>
<app-form-item
name=
'telephone1'
:itemRules=
"this.rules.telephone1"
class=
'datapanel-style'
labelStyle=
"datapanel-label-style"
:caption=
"$t('entities.account.datapanel_form.details.telephone1')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.telephone1.error"
:isEmptyCaption=
"false"
labelPos=
"BOTTOM"
>
<app-span
name=
'telephone1'
:value=
"data.telephone1"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'{ }'
:localParam =
'{ }'
style=
""
></app-span>
</app-form-item>
...
...
app_CRM/src/widgets/account/data-panel-form/data-panel-form.less
浏览文件 @
d9eeebc5
...
...
@@ -6,3 +6,7 @@
color:rgba(209, 196, 233, 1);font-size:16px;font-weight:bold
}
.datapanel-label-style {
color:rgba(4, 4, 4, 1);font-size:12px
}
app_CRM/src/widgets/connection-role/main-form/main-form-base.tsx
浏览文件 @
d9eeebc5
...
...
@@ -65,6 +65,12 @@ export class MainEditFormBase extends EditFormControlBase {
srfdeid
:
null
,
srfsourcekey
:
null
,
connectionrolename
:
null
,
category
:
null
,
componentstate
:
null
,
managed
:
null
,
statuscode
:
null
,
statecode
:
null
,
description
:
null
,
createman
:
null
,
createdate
:
null
,
updateman
:
null
,
...
...
@@ -84,6 +90,18 @@ export class MainEditFormBase extends EditFormControlBase {
{
required
:
true
,
type
:
'string'
,
message
:
'关联角色名称 值不能为空'
,
trigger
:
'change'
},
{
required
:
true
,
type
:
'string'
,
message
:
'关联角色名称 值不能为空'
,
trigger
:
'blur'
},
],
componentstate
:
[
{
required
:
true
,
type
:
'string'
,
message
:
'组件状态 值不能为空'
,
trigger
:
'change'
},
{
required
:
true
,
type
:
'string'
,
message
:
'组件状态 值不能为空'
,
trigger
:
'blur'
},
],
managed
:
[
{
required
:
true
,
type
:
'number'
,
message
:
'状态 值不能为空'
,
trigger
:
'change'
},
{
required
:
true
,
type
:
'number'
,
message
:
'状态 值不能为空'
,
trigger
:
'blur'
},
],
statecode
:
[
{
required
:
true
,
type
:
'number'
,
message
:
'状态 值不能为空'
,
trigger
:
'change'
},
{
required
:
true
,
type
:
'number'
,
message
:
'状态 值不能为空'
,
trigger
:
'blur'
},
],
}
/**
...
...
@@ -119,6 +137,18 @@ export class MainEditFormBase extends EditFormControlBase {
connectionrolename
:
new
FormItemModel
({
caption
:
'关联角色名称'
,
detailType
:
'FORMITEM'
,
name
:
'connectionrolename'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
disabled
:
false
,
enableCond
:
3
}),
category
:
new
FormItemModel
({
caption
:
'连接角色类别'
,
detailType
:
'FORMITEM'
,
name
:
'category'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
disabled
:
false
,
enableCond
:
3
}),
componentstate
:
new
FormItemModel
({
caption
:
'组件状态'
,
detailType
:
'FORMITEM'
,
name
:
'componentstate'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
disabled
:
false
,
enableCond
:
0
}),
managed
:
new
FormItemModel
({
caption
:
'状态'
,
detailType
:
'FORMITEM'
,
name
:
'managed'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
disabled
:
false
,
enableCond
:
0
}),
statuscode
:
new
FormItemModel
({
caption
:
'状态描述'
,
detailType
:
'FORMITEM'
,
name
:
'statuscode'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
disabled
:
false
,
enableCond
:
3
}),
statecode
:
new
FormItemModel
({
caption
:
'状态'
,
detailType
:
'FORMITEM'
,
name
:
'statecode'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
disabled
:
false
,
enableCond
:
2
}),
description
:
new
FormItemModel
({
caption
:
'说明'
,
detailType
:
'FORMITEM'
,
name
:
'description'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
disabled
:
false
,
enableCond
:
3
}),
createman
:
new
FormItemModel
({
caption
:
'建立人'
,
detailType
:
'FORMITEM'
,
name
:
'createman'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
disabled
:
false
,
enableCond
:
0
}),
createdate
:
new
FormItemModel
({
caption
:
'建立时间'
,
detailType
:
'FORMITEM'
,
name
:
'createdate'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
disabled
:
false
,
enableCond
:
0
}),
...
...
app_CRM/src/widgets/connection-role/main-form/main-form-model.ts
浏览文件 @
d9eeebc5
...
...
@@ -60,6 +60,36 @@ export default class MainModel {
prop
:
'connectionrolename'
,
dataType
:
'TEXT'
,
},
{
name
:
'category'
,
prop
:
'category'
,
dataType
:
'SSCODELIST'
,
},
{
name
:
'componentstate'
,
prop
:
'componentstate'
,
dataType
:
'SSCODELIST'
,
},
{
name
:
'managed'
,
prop
:
'managed'
,
dataType
:
'YESNO'
,
},
{
name
:
'statuscode'
,
prop
:
'statuscode'
,
dataType
:
'NSCODELIST'
,
},
{
name
:
'statecode'
,
prop
:
'statecode'
,
dataType
:
'NSCODELIST'
,
},
{
name
:
'description'
,
prop
:
'description'
,
dataType
:
'TEXT'
,
},
{
name
:
'createman'
,
prop
:
'createman'
,
...
...
app_CRM/src/widgets/connection-role/main-form/main-form.html
浏览文件 @
d9eeebc5
...
...
@@ -15,11 +15,108 @@
<i-col
v-show=
"detailsModel.group1.visible"
:style=
"{}"
:lg=
"{ span: 24, offset: 0 }"
>
<app-form-group
layoutType=
"TABLE_24COL"
titleStyle=
""
class=
''
:uiActionGroup=
"detailsModel.group1.uiActionGroup"
@
groupuiactionclick=
"groupUIActionClick($event)"
:caption=
"$t('entities.connectionrole.main_form.details.group1')"
:isShowCaption=
"true"
uiStyle=
"DEFAULT"
:titleBarCloseMode=
"0"
:isInfoGroupMode=
"false"
>
<row>
<i-col
v-show=
"detailsModel.connectionrolename.visible"
:style=
"{}"
:
lg=
"{ span: 24
, offset: 0 }"
>
<i-col
v-show=
"detailsModel.connectionrolename.visible"
:style=
"{}"
:
md=
"{ span: 13, offset: 0 }"
:lg=
"{ span: 8, offset: 0 }"
:xl=
"{ span: 6
, offset: 0 }"
>
<app-form-item
name=
'connectionrolename'
:itemRules=
"this.rules.connectionrolename"
class=
''
:caption=
"$t('entities.connectionrole.main_form.details.connectionrolename')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.connectionrolename.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<input-box
v-model=
"data.connectionrolename"
@
enter=
"onEnter($event)"
unit=
""
:disabled=
"detailsModel.connectionrolename.disabled"
type=
'text'
style=
""
></input-box>
</app-form-item>
</i-col>
<i-col
v-show=
"detailsModel.category.visible"
:style=
"{}"
:md=
"{ span: 13, offset: 0 }"
:lg=
"{ span: 8, offset: 0 }"
:xl=
"{ span: 6, offset: 0 }"
>
<app-form-item
name=
'category'
:itemRules=
"this.rules.category"
class=
''
:caption=
"$t('entities.connectionrole.main_form.details.category')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.category.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<dropdown-list
v-model=
"data.category"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'{ }'
:localParam =
'{ }'
:disabled=
"detailsModel.category.disabled"
tag=
'Connectionrole__Category'
codelistType=
'STATIC'
placeholder=
'请选择...'
style=
""
>
</dropdown-list>
</app-form-item>
</i-col>
<i-col
v-show=
"detailsModel.componentstate.visible"
:style=
"{}"
:md=
"{ span: 13, offset: 0 }"
:lg=
"{ span: 8, offset: 0 }"
:xl=
"{ span: 6, offset: 0 }"
>
<app-form-item
name=
'componentstate'
:itemRules=
"this.rules.componentstate"
class=
''
:caption=
"$t('entities.connectionrole.main_form.details.componentstate')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.componentstate.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<dropdown-list
v-model=
"data.componentstate"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'{ }'
:localParam =
'{ }'
:disabled=
"detailsModel.componentstate.disabled"
tag=
'Connectionrole__ComponentState'
codelistType=
'STATIC'
placeholder=
'请选择...'
style=
""
>
</dropdown-list>
</app-form-item>
</i-col>
<i-col
v-show=
"detailsModel.managed.visible"
:style=
"{}"
:md=
"{ span: 13, offset: 0 }"
:lg=
"{ span: 8, offset: 0 }"
:xl=
"{ span: 6, offset: 0 }"
>
<app-form-item
name=
'managed'
:itemRules=
"this.rules.managed"
class=
''
:caption=
"$t('entities.connectionrole.main_form.details.managed')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.managed.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<dropdown-list
v-model=
"data.managed"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'{ }'
:localParam =
'{ }'
:disabled=
"detailsModel.managed.disabled"
style=
"width:100px;width: 100px;"
tag=
'YesNo'
codelistType=
'STATIC'
placeholder=
'请选择...'
>
</dropdown-list>
</app-form-item>
</i-col>
<i-col
v-show=
"detailsModel.statuscode.visible"
:style=
"{}"
:md=
"{ span: 13, offset: 0 }"
:lg=
"{ span: 8, offset: 0 }"
:xl=
"{ span: 6, offset: 0 }"
>
<app-form-item
name=
'statuscode'
:itemRules=
"this.rules.statuscode"
class=
''
:caption=
"$t('entities.connectionrole.main_form.details.statuscode')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.statuscode.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<dropdown-list
v-model=
"data.statuscode"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'{ }'
:localParam =
'{ }'
:disabled=
"detailsModel.statuscode.disabled"
tag=
'Connectionrole__StatusCode'
codelistType=
'STATIC'
placeholder=
'请选择...'
style=
""
>
</dropdown-list>
</app-form-item>
</i-col>
<i-col
v-show=
"detailsModel.statecode.visible"
:style=
"{}"
:md=
"{ span: 13, offset: 0 }"
:lg=
"{ span: 8, offset: 0 }"
:xl=
"{ span: 6, offset: 0 }"
>
<app-form-item
name=
'statecode'
:itemRules=
"this.rules.statecode"
class=
''
:caption=
"$t('entities.connectionrole.main_form.details.statecode')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.statecode.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<dropdown-list
v-model=
"data.statecode"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'{ }'
:localParam =
'{ }'
:disabled=
"detailsModel.statecode.disabled"
tag=
'Connectionrole__StateCode'
codelistType=
'STATIC'
placeholder=
'请选择...'
style=
""
>
</dropdown-list>
</app-form-item>
</i-col>
<i-col
v-show=
"detailsModel.description.visible"
:style=
"{}"
:md=
"{ span: 24, offset: 0 }"
:lg=
"{ span: 24, offset: 0 }"
:xl=
"{ span: 24, offset: 0 }"
>
<app-form-item
name=
'description'
:itemRules=
"this.rules.description"
class=
''
:caption=
"$t('entities.connectionrole.main_form.details.description')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.description.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<input-box
v-model=
"data.description"
@
enter=
"onEnter($event)"
unit=
""
:disabled=
"detailsModel.description.disabled"
type=
'text'
style=
"height:80px;"
></input-box>
</app-form-item>
</i-col>
</row>
...
...
app_CRM/src/widgets/connection-role/main-grid/main-grid-base.tsx
浏览文件 @
d9eeebc5
...
...
@@ -73,19 +73,47 @@ export class MainGridBase extends GridControllerBase {
util
:
'PX'
},
{
name
:
'
updateman
'
,
label
:
'
更新人
'
,
langtag
:
'entities.connectionrole.main_grid.columns.
updateman
'
,
name
:
'
category
'
,
label
:
'
连接角色类别
'
,
langtag
:
'entities.connectionrole.main_grid.columns.
category
'
,
show
:
true
,
util
:
'PX'
},
{
name
:
'
updated
ate'
,
label
:
'
更新时间
'
,
langtag
:
'entities.connectionrole.main_grid.columns.
updated
ate'
,
name
:
'
componentst
ate'
,
label
:
'
组件状态
'
,
langtag
:
'entities.connectionrole.main_grid.columns.
componentst
ate'
,
show
:
true
,
util
:
'PX'
},
{
name
:
'managed'
,
label
:
'状态'
,
langtag
:
'entities.connectionrole.main_grid.columns.managed'
,
show
:
true
,
util
:
'PX'
},
{
name
:
'statecode'
,
label
:
'状态'
,
langtag
:
'entities.connectionrole.main_grid.columns.statecode'
,
show
:
true
,
util
:
'PX'
},
{
name
:
'statuscode'
,
label
:
'状态描述'
,
langtag
:
'entities.connectionrole.main_grid.columns.statuscode'
,
show
:
true
,
util
:
'PX'
},
{
name
:
'description'
,
label
:
'说明'
,
langtag
:
'entities.connectionrole.main_grid.columns.description'
,
show
:
true
,
util
:
'STAR'
},
]
/**
...
...
@@ -121,8 +149,12 @@ export class MainGridBase extends GridControllerBase {
*/
public
hasRowEdit
:
any
=
{
'connectionrolename'
:
false
,
'updateman'
:
false
,
'updatedate'
:
false
,
'category'
:
false
,
'componentstate'
:
false
,
'managed'
:
false
,
'statecode'
:
false
,
'statuscode'
:
false
,
'description'
:
false
,
};
/**
...
...
@@ -149,9 +181,41 @@ export class MainGridBase extends GridControllerBase {
public
async
formatExcelData
(
filterVal
:
any
,
jsonData
:
any
,
codelistColumns
?:
any
[]):
Promise
<
any
>
{
return
super
.
formatExcelData
(
filterVal
,
jsonData
,
[
{
name
:
'updateman'
,
srfkey
:
'SysOperator'
,
codelistType
:
'DYNAMIC'
,
name
:
'category'
,
srfkey
:
'Connectionrole__Category'
,
codelistType
:
'STATIC'
,
renderMode
:
'other'
,
textSeparator
:
'、'
,
valueSeparator
:
','
,
},
{
name
:
'componentstate'
,
srfkey
:
'Connectionrole__ComponentState'
,
codelistType
:
'STATIC'
,
renderMode
:
'other'
,
textSeparator
:
'、'
,
valueSeparator
:
','
,
},
{
name
:
'managed'
,
srfkey
:
'YesNo'
,
codelistType
:
'STATIC'
,
renderMode
:
'other'
,
textSeparator
:
'、'
,
valueSeparator
:
','
,
},
{
name
:
'statecode'
,
srfkey
:
'Connectionrole__StateCode'
,
codelistType
:
'STATIC'
,
renderMode
:
'other'
,
textSeparator
:
'、'
,
valueSeparator
:
','
,
},
{
name
:
'statuscode'
,
srfkey
:
'Connectionrole__StatusCode'
,
codelistType
:
'STATIC'
,
renderMode
:
'other'
,
textSeparator
:
'、'
,
valueSeparator
:
','
,
...
...
app_CRM/src/widgets/connection-role/main-grid/main-grid-model.ts
浏览文件 @
d9eeebc5
...
...
@@ -27,14 +27,34 @@ export default class MainModel {
}
else
{
return
[
{
name
:
'updateman'
,
prop
:
'updateman'
,
name
:
'statecode'
,
prop
:
'statecode'
,
dataType
:
'NSCODELIST'
,
},
{
name
:
'managed'
,
prop
:
'managed'
,
dataType
:
'YESNO'
,
},
{
name
:
'category'
,
prop
:
'category'
,
dataType
:
'SSCODELIST'
,
},
{
name
:
'description'
,
prop
:
'description'
,
dataType
:
'TEXT'
,
},
{
name
:
'updatedate'
,
prop
:
'updatedate'
,
dataType
:
'DATETIME'
,
name
:
'componentstate'
,
prop
:
'componentstate'
,
dataType
:
'SSCODELIST'
,
},
{
name
:
'statuscode'
,
prop
:
'statuscode'
,
dataType
:
'NSCODELIST'
,
},
{
name
:
'srfmajortext'
,
...
...
app_CRM/src/widgets/connection-role/main-grid/main-grid.html
浏览文件 @
d9eeebc5
...
...
@@ -35,29 +35,85 @@
</template>
</el-table-column>
</template>
<template
v-if=
"getColumnState('
updateman
')"
>
<el-table-column
show-overflow-tooltip
:prop=
"'
updateman'"
:label=
"$t('entities.connectionrole.main_grid.columns.updateman')"
:width=
"15
0"
:align=
"'left'"
:sortable=
"'custom'"
>
<template
v-if=
"getColumnState('
category
')"
>
<el-table-column
show-overflow-tooltip
:prop=
"'
category'"
:label=
"$t('entities.connectionrole.main_grid.columns.category')"
:width=
"10
0"
:align=
"'left'"
:sortable=
"'custom'"
>
<template
v-slot:header=
"{column}"
>
<span
class=
"column-header "
>
{{$t('entities.connectionrole.main_grid.columns.
updateman
')}}
{{$t('entities.connectionrole.main_grid.columns.
category
')}}
</span>
</template>
<template
v-slot=
"{row,column,$index}"
>
<template
>
<codelist
:value=
"row.
updateman"
tag=
'SysOperator'
codelistType=
'DYNAM
IC'
></codelist>
<codelist
:value=
"row.
category"
tag=
'Connectionrole__Category'
codelistType=
'STAT
IC'
></codelist>
</template>
</template>
</el-table-column>
</template>
<template
v-if=
"getColumnState('
updated
ate')"
>
<el-table-column
show-overflow-tooltip
:prop=
"'
updatedate'"
:label=
"$t('entities.connectionrole.main_grid.columns.updatedate')"
:width=
"15
0"
:align=
"'left'"
:sortable=
"'custom'"
>
<template
v-if=
"getColumnState('
componentst
ate')"
>
<el-table-column
show-overflow-tooltip
:prop=
"'
componentstate'"
:label=
"$t('entities.connectionrole.main_grid.columns.componentstate')"
:width=
"10
0"
:align=
"'left'"
:sortable=
"'custom'"
>
<template
v-slot:header=
"{column}"
>
<span
class=
"column-header "
>
{{$t('entities.connectionrole.main_grid.columns.
updated
ate')}}
{{$t('entities.connectionrole.main_grid.columns.
componentst
ate')}}
</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.componentstate"
tag=
'Connectionrole__ComponentState'
codelistType=
'STATIC'
></codelist>
</template>
</template>
</el-table-column>
</template>
<template
v-if=
"getColumnState('managed')"
>
<el-table-column
show-overflow-tooltip
:prop=
"'managed'"
:label=
"$t('entities.connectionrole.main_grid.columns.managed')"
:width=
"100"
:align=
"'left'"
:sortable=
"'custom'"
>
<template
v-slot:header=
"{column}"
>
<span
class=
"column-header "
>
{{$t('entities.connectionrole.main_grid.columns.managed')}}
</span>
</template>
<template
v-slot=
"{row,column,$index}"
>
<template
>
<codelist
:value=
"row.managed"
tag=
'YesNo'
codelistType=
'STATIC'
></codelist>
</template>
</template>
</el-table-column>
</template>
<template
v-if=
"getColumnState('statecode')"
>
<el-table-column
show-overflow-tooltip
:prop=
"'statecode'"
:label=
"$t('entities.connectionrole.main_grid.columns.statecode')"
:width=
"100"
:align=
"'left'"
:sortable=
"'custom'"
>
<template
v-slot:header=
"{column}"
>
<span
class=
"column-header "
>
{{$t('entities.connectionrole.main_grid.columns.statecode')}}
</span>
</template>
<template
v-slot=
"{row,column,$index}"
>
<template
>
<codelist
:value=
"row.statecode"
tag=
'Connectionrole__StateCode'
codelistType=
'STATIC'
></codelist>
</template>
</template>
</el-table-column>
</template>
<template
v-if=
"getColumnState('statuscode')"
>
<el-table-column
show-overflow-tooltip
:prop=
"'statuscode'"
:label=
"$t('entities.connectionrole.main_grid.columns.statuscode')"
:width=
"100"
:align=
"'left'"
:sortable=
"'custom'"
>
<template
v-slot:header=
"{column}"
>
<span
class=
"column-header "
>
{{$t('entities.connectionrole.main_grid.columns.statuscode')}}
</span>
</template>
<template
v-slot=
"{row,column,$index}"
>
<template
>
<codelist
:value=
"row.statuscode"
tag=
'Connectionrole__StatusCode'
codelistType=
'STATIC'
></codelist>
</template>
</template>
</el-table-column>
</template>
<template
v-if=
"getColumnState('description')"
>
<el-table-column
show-overflow-tooltip
:prop=
"'description'"
:label=
"$t('entities.connectionrole.main_grid.columns.description')"
:min-width=
"100"
:align=
"'left'"
:sortable=
"'custom'"
>
<template
v-slot:header=
"{column}"
>
<span
class=
"column-header "
>
{{$t('entities.connectionrole.main_grid.columns.description')}}
</span>
</template>
<template
v-slot=
"{row,column,$index}"
>
<span>
{{row.description}}
</span>
</template>
</el-table-column>
</template>
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录