Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
iBiz企业中心
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
iBiz企业套件
iBiz企业中心
提交
a988c15f
提交
a988c15f
编写于
6月 22, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
xignzi006 发布系统代码
上级
deba2fe6
变更
55
隐藏空白字符变更
内嵌
并排
正在显示
55 个修改的文件
包含
6178 行增加
和
107 行删除
+6178
-107
data-dictionary.json
app_CRM/public/assets/json/data-dictionary.json
+151
-0
view-config.json
app_CRM/public/assets/json/view-config.json
+16
-6
codelist_en_US.ts
app_CRM/src/locale/lanres/codelist/codelist_en_US.ts
+22
-0
codelist_zh_CN.ts
app_CRM/src/locale/lanres/codelist/codelist_zh_CN.ts
+22
-0
contact_en_US.ts
app_CRM/src/locale/lanres/entities/contact/contact_en_US.ts
+32
-2
contact_zh_CN.ts
app_CRM/src/locale/lanres/entities/contact/contact_zh_CN.ts
+32
-2
quote_en_US.ts
app_CRM/src/locale/lanres/entities/quote/quote_en_US.ts
+45
-0
quote_zh_CN.ts
app_CRM/src/locale/lanres/entities/quote/quote_zh_CN.ts
+45
-0
codelist.ts
app_CRM/src/mock/codelist/codelist.ts
+151
-0
viewconfig.ts
app_CRM/src/mock/viewconfig/viewconfig.ts
+12
-4
contact-by-account-base.vue
...pages/base/contact-by-account/contact-by-account-base.vue
+1
-1
contact-grid-view-base.vue
...c/pages/base/contact-grid-view/contact-grid-view-base.vue
+1
-1
contact-info-base.vue
app_CRM/src/pages/base/contact-info/contact-info-base.vue
+475
-0
contact-info.less
app_CRM/src/pages/base/contact-info/contact-info.less
+8
-0
contact-info.vue
app_CRM/src/pages/base/contact-info/contact-info.vue
+19
-0
contact-summary-base.vue
...M/src/pages/base/contact-summary/contact-summary-base.vue
+145
-0
contact-summary.less
app_CRM/src/pages/base/contact-summary/contact-summary.less
+6
-0
contact-summary.vue
app_CRM/src/pages/base/contact-summary/contact-summary.vue
+19
-0
competitor-grid-view-base.vue
.../sales/competitor-grid-view/competitor-grid-view-base.vue
+19
-7
opportunity-opp-pro-dashboard-view-base.vue
...ashboard-view/opportunity-opp-pro-dashboard-view-base.vue
+0
-3
page-register.ts
app_CRM/src/pages/ungroup/central/page-register.ts
+2
-2
router.ts
app_CRM/src/pages/ungroup/central/router.ts
+32
-32
state.ts
app_CRM/src/store/modules/view-action/state.ts
+2
-2
competitor-ui-service-base.ts
...RM/src/uiservice/competitor/competitor-ui-service-base.ts
+22
-7
contact-ui-service-base.ts
app_CRM/src/uiservice/contact/contact-ui-service-base.ts
+2
-2
quote-ui-service-base.ts
app_CRM/src/uiservice/quote/quote-ui-service-base.ts
+1
-0
con-abs-dashboard-base.vue
...gets/contact/con-abs-dashboard/con-abs-dashboard-base.vue
+2
-2
infotabexppanel-tabexppanel-base.vue
...exppanel-tabexppanel/infotabexppanel-tabexppanel-base.vue
+405
-0
infotabexppanel-tabexppanel-model.ts
...exppanel-tabexppanel/infotabexppanel-tabexppanel-model.ts
+628
-0
infotabexppanel-tabexppanel-service.ts
...ppanel-tabexppanel/infotabexppanel-tabexppanel-service.ts
+45
-0
infotabexppanel-tabexppanel.less
...otabexppanel-tabexppanel/infotabexppanel-tabexppanel.less
+4
-0
infotabexppanel-tabexppanel.vue
...fotabexppanel-tabexppanel/infotabexppanel-tabexppanel.vue
+22
-0
infotabviewpanel-tabviewpanel-base.vue
...panel-tabviewpanel/infotabviewpanel-tabviewpanel-base.vue
+283
-0
infotabviewpanel-tabviewpanel-model.ts
...panel-tabviewpanel/infotabviewpanel-tabviewpanel-model.ts
+628
-0
infotabviewpanel-tabviewpanel-service.ts
...nel-tabviewpanel/infotabviewpanel-tabviewpanel-service.ts
+11
-0
infotabviewpanel-tabviewpanel.less
...viewpanel-tabviewpanel/infotabviewpanel-tabviewpanel.less
+1
-0
infotabviewpanel-tabviewpanel.vue
...bviewpanel-tabviewpanel/infotabviewpanel-tabviewpanel.vue
+14
-0
infotabviewpanel2-tabviewpanel-base.vue
...nel2-tabviewpanel/infotabviewpanel2-tabviewpanel-base.vue
+283
-0
infotabviewpanel2-tabviewpanel-model.ts
...nel2-tabviewpanel/infotabviewpanel2-tabviewpanel-model.ts
+628
-0
infotabviewpanel2-tabviewpanel-service.ts
...l2-tabviewpanel/infotabviewpanel2-tabviewpanel-service.ts
+11
-0
infotabviewpanel2-tabviewpanel.less
...ewpanel2-tabviewpanel/infotabviewpanel2-tabviewpanel.less
+1
-0
infotabviewpanel2-tabviewpanel.vue
...iewpanel2-tabviewpanel/infotabviewpanel2-tabviewpanel.vue
+14
-0
infotabviewpanel3-tabviewpanel-base.vue
...nel3-tabviewpanel/infotabviewpanel3-tabviewpanel-base.vue
+283
-0
infotabviewpanel3-tabviewpanel-model.ts
...nel3-tabviewpanel/infotabviewpanel3-tabviewpanel-model.ts
+628
-0
infotabviewpanel3-tabviewpanel-service.ts
...l3-tabviewpanel/infotabviewpanel3-tabviewpanel-service.ts
+11
-0
infotabviewpanel3-tabviewpanel.less
...ewpanel3-tabviewpanel/infotabviewpanel3-tabviewpanel.less
+1
-0
infotabviewpanel3-tabviewpanel.vue
...iewpanel3-tabviewpanel/infotabviewpanel3-tabviewpanel.vue
+14
-0
infotabviewpanel4-tabviewpanel-base.vue
...nel4-tabviewpanel/infotabviewpanel4-tabviewpanel-base.vue
+283
-0
infotabviewpanel4-tabviewpanel-model.ts
...nel4-tabviewpanel/infotabviewpanel4-tabviewpanel-model.ts
+628
-0
infotabviewpanel4-tabviewpanel-service.ts
...l4-tabviewpanel/infotabviewpanel4-tabviewpanel-service.ts
+11
-0
infotabviewpanel4-tabviewpanel.less
...ewpanel4-tabviewpanel/infotabviewpanel4-tabviewpanel.less
+1
-0
infotabviewpanel4-tabviewpanel.vue
...iewpanel4-tabviewpanel/infotabviewpanel4-tabviewpanel.vue
+14
-0
summarydashboard-container1-portlet.less
...ntainer1-portlet/summarydashboard-container1-portlet.less
+4
-0
summarydashboard-container2-portlet.less
...ntainer2-portlet/summarydashboard-container2-portlet.less
+4
-0
h2_table.xml
...esscentral-core/src/main/resources/liquibase/h2_table.xml
+34
-34
未找到文件。
app_CRM/public/assets/json/data-dictionary.json
浏览文件 @
a988c15f
...
...
@@ -1668,6 +1668,130 @@
}
]
},
{
"srfkey"
:
"Quote__ShippingMethodCode"
,
"emptytext"
:
"未定义"
,
"codelisttype"
:
"static"
,
"items"
:
[
{
"id"
:
"1"
,
"label"
:
"Airborne"
,
"text"
:
"Airborne"
,
"data"
:
""
,
"codename"
:
"Item_1"
,
"value"
:
"1"
,
"disabled"
:
false
}
,
{
"id"
:
"2"
,
"label"
:
"DHL"
,
"text"
:
"DHL"
,
"data"
:
""
,
"codename"
:
"Item_2"
,
"value"
:
"2"
,
"disabled"
:
false
}
,
{
"id"
:
"3"
,
"label"
:
"FedEx"
,
"text"
:
"FedEx"
,
"data"
:
""
,
"codename"
:
"Item_3"
,
"value"
:
"3"
,
"disabled"
:
false
}
,
{
"id"
:
"6"
,
"label"
:
"Full Load"
,
"text"
:
"Full Load"
,
"data"
:
""
,
"codename"
:
"Item_6"
,
"value"
:
"6"
,
"disabled"
:
false
}
,
{
"id"
:
"5"
,
"label"
:
"Postal Mail"
,
"text"
:
"Postal Mail"
,
"data"
:
""
,
"codename"
:
"Item_5"
,
"value"
:
"5"
,
"disabled"
:
false
}
,
{
"id"
:
"4"
,
"label"
:
"UPS"
,
"text"
:
"UPS"
,
"data"
:
""
,
"codename"
:
"Item_4"
,
"value"
:
"4"
,
"disabled"
:
false
}
,
{
"id"
:
"7"
,
"label"
:
"Will Call"
,
"text"
:
"Will Call"
,
"data"
:
""
,
"codename"
:
"Item_7"
,
"value"
:
"7"
,
"disabled"
:
false
}
]
},
{
"srfkey"
:
"Quote__PaymentTermsCode"
,
"emptytext"
:
"未定义"
,
"codelisttype"
:
"static"
,
"items"
:
[
{
"id"
:
"2"
,
"label"
:
"2% 10, Net 30"
,
"text"
:
"2% 10, Net 30"
,
"data"
:
""
,
"codename"
:
"Item_2"
,
"value"
:
"2"
,
"disabled"
:
false
}
,
{
"id"
:
"1"
,
"label"
:
"Net 30"
,
"text"
:
"Net 30"
,
"data"
:
""
,
"codename"
:
"Item_1"
,
"value"
:
"1"
,
"disabled"
:
false
}
,
{
"id"
:
"3"
,
"label"
:
"Net 45"
,
"text"
:
"Net 45"
,
"data"
:
""
,
"codename"
:
"Item_3"
,
"value"
:
"3"
,
"disabled"
:
false
}
,
{
"id"
:
"4"
,
"label"
:
"Net 60"
,
"text"
:
"Net 60"
,
"data"
:
""
,
"codename"
:
"Item_4"
,
"value"
:
"4"
,
"disabled"
:
false
}
]
},
{
"srfkey"
:
"Account__CustomerTypeCode"
,
"emptytext"
:
"未定义"
,
...
...
@@ -2151,6 +2275,33 @@
}
]
},
{
"srfkey"
:
"Quote__FreightTermsCode"
,
"emptytext"
:
"未定义"
,
"codelisttype"
:
"static"
,
"items"
:
[
{
"id"
:
"1"
,
"label"
:
"FOB"
,
"text"
:
"FOB"
,
"data"
:
""
,
"codename"
:
"Item_1"
,
"value"
:
"1"
,
"disabled"
:
false
}
,
{
"id"
:
"2"
,
"label"
:
"No Charge"
,
"text"
:
"No Charge"
,
"data"
:
""
,
"codename"
:
"Item_2"
,
"value"
:
"2"
,
"disabled"
:
false
}
]
},
{
"srfkey"
:
"Opportunity__PurchaseTimeframe"
,
"emptytext"
:
"未定义"
,
...
...
app_CRM/public/assets/json/view-config.json
浏览文件 @
a988c15f
...
...
@@ -399,6 +399,16 @@
"viewtag"
:
"3f78dcc732a7a8ba6d959dcf6007b225"
,
"memo"
:
"系统自动添加"
},
"quoteinfoabstract"
:
{
"title"
:
"报价单编辑视图"
,
"caption"
:
"报价单"
,
"viewtype"
:
"DEEDITVIEW"
,
"viewmodule"
:
"Sales"
,
"viewname"
:
"QuoteInfoAbstract"
,
"viewfilename"
:
"quote-info-abstract"
,
"viewtag"
:
"4024b6fdff9a452e0ff55401498fbb51"
,
"memo"
:
""
},
"campaigneditview"
:
{
"title"
:
"市场活动编辑视图"
,
"caption"
:
"市场活动"
,
...
...
@@ -569,13 +579,13 @@
"viewtag"
:
"615ceb2945e3cfe7404850aeadae188d"
,
"memo"
:
""
},
"contact
dashboardview
"
:
{
"contact
summary
"
:
{
"title"
:
"联系人数据看板视图"
,
"caption"
:
"联系人"
,
"viewtype"
:
"DEPORTALVIEW"
,
"viewmodule"
:
"Base"
,
"viewname"
:
"Contact
DashboardView
"
,
"viewfilename"
:
"contact-
dashboard-view
"
,
"viewname"
:
"Contact
Summary
"
,
"viewfilename"
:
"contact-
summary
"
,
"viewtag"
:
"6168a7e787ead13b1e0f9a55007bc68c"
,
"memo"
:
""
},
...
...
@@ -1399,13 +1409,13 @@
"viewtag"
:
"fc2117de593df9cc982bd802cbdb2154"
,
"memo"
:
"系统自动添加"
},
"contact
tabexpview
"
:
{
"contact
info
"
:
{
"title"
:
"联系人信息"
,
"caption"
:
"联系人"
,
"viewtype"
:
"DETABEXPVIEW"
,
"viewmodule"
:
"Base"
,
"viewname"
:
"Contact
TabExpView
"
,
"viewfilename"
:
"contact-
tab-exp-view
"
,
"viewname"
:
"Contact
Info
"
,
"viewfilename"
:
"contact-
info
"
,
"viewtag"
:
"fcdb236b65d78c4a8ae64e74f9483a63"
,
"memo"
:
""
}
...
...
app_CRM/src/locale/lanres/codelist/codelist_en_US.ts
浏览文件 @
a988c15f
...
...
@@ -221,6 +221,23 @@ export default {
'4'
:
"Widowed"
,
empty
:
""
,
},
Quote__ShippingMethodCode
:
{
'1'
:
"Airborne"
,
'2'
:
"DHL"
,
'3'
:
"FedEx"
,
'6'
:
"Full Load"
,
'5'
:
"Postal Mail"
,
'4'
:
"UPS"
,
'7'
:
"Will Call"
,
empty
:
""
,
},
Quote__PaymentTermsCode
:
{
'2'
:
"2% 10, Net 30"
,
'1'
:
"Net 30"
,
'3'
:
"Net 45"
,
'4'
:
"Net 60"
,
empty
:
""
,
},
Account__CustomerTypeCode
:
{
'1'
:
"Competitor"
,
'2'
:
"Consultant"
,
...
...
@@ -290,6 +307,11 @@ export default {
'3'
:
"Phone"
,
empty
:
""
,
},
Quote__FreightTermsCode
:
{
'1'
:
"FOB"
,
'2'
:
"No Charge"
,
empty
:
""
,
},
Opportunity__PurchaseTimeframe
:
{
'0'
:
"Immediate"
,
'2'
:
"Next Quarter"
,
...
...
app_CRM/src/locale/lanres/codelist/codelist_zh_CN.ts
浏览文件 @
a988c15f
...
...
@@ -221,6 +221,23 @@ export default {
'4'
:
"Widowed"
,
empty
:
""
,
},
Quote__ShippingMethodCode
:
{
'1'
:
"Airborne"
,
'2'
:
"DHL"
,
'3'
:
"FedEx"
,
'6'
:
"Full Load"
,
'5'
:
"Postal Mail"
,
'4'
:
"UPS"
,
'7'
:
"Will Call"
,
empty
:
""
,
},
Quote__PaymentTermsCode
:
{
'2'
:
"2% 10, Net 30"
,
'1'
:
"Net 30"
,
'3'
:
"Net 45"
,
'4'
:
"Net 60"
,
empty
:
""
,
},
Account__CustomerTypeCode
:
{
'1'
:
"Competitor"
,
'2'
:
"Consultant"
,
...
...
@@ -290,6 +307,11 @@ export default {
'3'
:
"Phone"
,
empty
:
""
,
},
Quote__FreightTermsCode
:
{
'1'
:
"FOB"
,
'2'
:
"No Charge"
,
empty
:
""
,
},
Opportunity__PurchaseTimeframe
:
{
'0'
:
"Immediate"
,
'2'
:
"Next Quarter"
,
...
...
app_CRM/src/locale/lanres/entities/contact/contact_en_US.ts
浏览文件 @
a988c15f
...
...
@@ -233,7 +233,7 @@ export default {
caption
:
"联系人"
,
title
:
'联系人编辑视图'
,
},
dashboardview
:
{
summary
:
{
caption
:
"联系人"
,
title
:
'联系人数据看板视图'
,
},
...
...
@@ -273,7 +273,7 @@ export default {
caption
:
"个人信息"
,
title
:
'联系人选项操作视图'
,
},
tabexpview
:
{
info
:
{
caption
:
"联系人"
,
title
:
'联系人信息'
,
},
...
...
@@ -585,6 +585,36 @@ export default {
uiactions
:
{
},
},
infotoolbar_toolbar
:
{
tbitem3
:
{
caption
:
"Save"
,
tip
:
"Save"
,
},
tbitem5
:
{
caption
:
"Save And Close"
,
tip
:
"Save And Close Window"
,
},
tbitem6
:
{
caption
:
"-"
,
tip
:
""
,
},
deuiaction1
:
{
caption
:
"Remove And Close"
,
tip
:
"Remove And Close Window"
,
},
deuiaction2
:
{
caption
:
"刷新"
,
tip
:
"刷新"
,
},
seperator1
:
{
caption
:
""
,
tip
:
""
,
},
tbitem12
:
{
caption
:
"关闭"
,
tip
:
"关闭"
,
},
},
gridviewtoolbar_toolbar
:
{
tbitem1_openquickcreateview
:
{
caption
:
"新建"
,
...
...
app_CRM/src/locale/lanres/entities/contact/contact_zh_CN.ts
浏览文件 @
a988c15f
...
...
@@ -232,7 +232,7 @@ export default {
caption
:
'联系人'
,
title
:
'联系人编辑视图'
,
},
dashboardview
:
{
summary
:
{
caption
:
'联系人'
,
title
:
'联系人数据看板视图'
,
},
...
...
@@ -272,7 +272,7 @@ export default {
caption
:
'个人信息'
,
title
:
'联系人选项操作视图'
,
},
tabexpview
:
{
info
:
{
caption
:
'联系人'
,
title
:
'联系人信息'
,
},
...
...
@@ -584,6 +584,36 @@ export default {
uiactions
:
{
},
},
infotoolbar_toolbar
:
{
tbitem3
:
{
caption
:
'保存'
,
tip
:
'保存'
,
},
tbitem5
:
{
caption
:
'保存并关闭'
,
tip
:
'保存并关闭'
,
},
tbitem6
:
{
caption
:
'-'
,
tip
:
''
,
},
deuiaction1
:
{
caption
:
'删除并关闭'
,
tip
:
'删除并关闭'
,
},
deuiaction2
:
{
caption
:
'刷新'
,
tip
:
'刷新'
,
},
seperator1
:
{
caption
:
''
,
tip
:
''
,
},
tbitem12
:
{
caption
:
'关闭'
,
tip
:
'关闭'
,
},
},
gridviewtoolbar_toolbar
:
{
tbitem1_openquickcreateview
:
{
caption
:
'新建'
,
...
...
app_CRM/src/locale/lanres/entities/quote/quote_en_US.ts
浏览文件 @
a988c15f
...
...
@@ -101,6 +101,10 @@ export default {
gridview
:
{
caption
:
"报价单"
,
title
:
'报价单表格视图'
,
},
infoabstract
:
{
caption
:
"报价单"
,
title
:
'报价单编辑视图'
,
},
oppquagridview
:
{
caption
:
"报价单"
,
...
...
@@ -166,6 +170,47 @@ export default {
uiactions
:
{
},
},
abstractinfo_form
:
{
details
:
{
group1
:
"概要信息"
,
grouppanel1
:
"详细信息"
,
formpage1
:
"基本信息"
,
srfupdatedate
:
"更新时间"
,
srforikey
:
""
,
srfkey
:
"报价单"
,
srfmajortext
:
"报价名称"
,
srftempmode
:
""
,
srfuf
:
""
,
srfdeid
:
""
,
srfsourcekey
:
""
,
quotenumber
:
"报价单 ID"
,
revisionnumber
:
"修订 ID"
,
quotename
:
"报价名称"
,
transactioncurrencyname
:
"货币"
,
opportunityname
:
"商机"
,
customerid
:
"潜在客户"
,
pricelevelname
:
"价目表"
,
statecode
:
"状态"
,
description
:
"说明"
,
paymenttermscode
:
"付款条件"
,
freighttermscode
:
"货运条款"
,
billto_postalcode
:
"帐单寄往地邮政编码"
,
formitem
:
""
,
billto_country
:
"帐单寄往国家/地区"
,
billto_stateorprovince
:
"帐单寄往省/市/自治区"
,
billto_city
:
"帐单寄往市/县"
,
billto_line1
:
"帐单寄往街道"
,
shippingmethodcode
:
"送货方式"
,
shipto_postalcode
:
"送货地的邮政编码"
,
willcall
:
"送货地址"
,
transactioncurrencyid
:
"货币"
,
opportunityid
:
"商机"
,
pricelevelid
:
"价目表"
,
quoteid
:
"报价单"
,
},
uiactions
:
{
},
},
main_grid
:
{
columns
:
{
quotename
:
"报价名称"
,
...
...
app_CRM/src/locale/lanres/entities/quote/quote_zh_CN.ts
浏览文件 @
a988c15f
...
...
@@ -100,6 +100,10 @@ export default {
gridview
:
{
caption
:
'报价单'
,
title
:
'报价单表格视图'
,
},
infoabstract
:
{
caption
:
'报价单'
,
title
:
'报价单编辑视图'
,
},
oppquagridview
:
{
caption
:
'报价单'
,
...
...
@@ -165,6 +169,47 @@ export default {
uiactions
:
{
},
},
abstractinfo_form
:
{
details
:
{
group1
:
'概要信息'
,
grouppanel1
:
'详细信息'
,
formpage1
:
'基本信息'
,
srfupdatedate
:
'更新时间'
,
srforikey
:
''
,
srfkey
:
'报价单'
,
srfmajortext
:
'报价名称'
,
srftempmode
:
''
,
srfuf
:
''
,
srfdeid
:
''
,
srfsourcekey
:
''
,
quotenumber
:
'报价单 ID'
,
revisionnumber
:
'修订 ID'
,
quotename
:
'报价名称'
,
transactioncurrencyname
:
'货币'
,
opportunityname
:
'商机'
,
customerid
:
'潜在客户'
,
pricelevelname
:
'价目表'
,
statecode
:
'状态'
,
description
:
'说明'
,
paymenttermscode
:
'付款条件'
,
freighttermscode
:
'货运条款'
,
billto_postalcode
:
'帐单寄往地邮政编码'
,
formitem
:
''
,
billto_country
:
'帐单寄往国家/地区'
,
billto_stateorprovince
:
'帐单寄往省/市/自治区'
,
billto_city
:
'帐单寄往市/县'
,
billto_line1
:
'帐单寄往街道'
,
shippingmethodcode
:
'送货方式'
,
shipto_postalcode
:
'送货地的邮政编码'
,
willcall
:
'送货地址'
,
transactioncurrencyid
:
'货币'
,
opportunityid
:
'商机'
,
pricelevelid
:
'价目表'
,
quoteid
:
'报价单'
,
},
uiactions
:
{
},
},
main_grid
:
{
columns
:
{
quotename
:
'报价名称'
,
...
...
app_CRM/src/mock/codelist/codelist.ts
浏览文件 @
a988c15f
...
...
@@ -1676,6 +1676,130 @@ mock.onGet('./assets/json/data-dictionary.json').reply((config: any) => {
},
]
},
{
srfkey
:
'Quote__ShippingMethodCode'
,
emptytext
:
'未定义'
,
"codelisttype"
:
"static"
,
items
:
[
{
id
:
'1'
,
label
:
"Airborne"
,
text
:
"Airborne"
,
"data"
:
""
,
"codename"
:
"Item_1"
,
value
:
'1'
,
disabled
:
false
,
},
{
id
:
'2'
,
label
:
"DHL"
,
text
:
"DHL"
,
"data"
:
""
,
"codename"
:
"Item_2"
,
value
:
'2'
,
disabled
:
false
,
},
{
id
:
'3'
,
label
:
"FedEx"
,
text
:
"FedEx"
,
"data"
:
""
,
"codename"
:
"Item_3"
,
value
:
'3'
,
disabled
:
false
,
},
{
id
:
'6'
,
label
:
"Full Load"
,
text
:
"Full Load"
,
"data"
:
""
,
"codename"
:
"Item_6"
,
value
:
'6'
,
disabled
:
false
,
},
{
id
:
'5'
,
label
:
"Postal Mail"
,
text
:
"Postal Mail"
,
"data"
:
""
,
"codename"
:
"Item_5"
,
value
:
'5'
,
disabled
:
false
,
},
{
id
:
'4'
,
label
:
"UPS"
,
text
:
"UPS"
,
"data"
:
""
,
"codename"
:
"Item_4"
,
value
:
'4'
,
disabled
:
false
,
},
{
id
:
'7'
,
label
:
"Will Call"
,
text
:
"Will Call"
,
"data"
:
""
,
"codename"
:
"Item_7"
,
value
:
'7'
,
disabled
:
false
,
},
]
},
{
srfkey
:
'Quote__PaymentTermsCode'
,
emptytext
:
'未定义'
,
"codelisttype"
:
"static"
,
items
:
[
{
id
:
'2'
,
label
:
"2% 10, Net 30"
,
text
:
"2% 10, Net 30"
,
"data"
:
""
,
"codename"
:
"Item_2"
,
value
:
'2'
,
disabled
:
false
,
},
{
id
:
'1'
,
label
:
"Net 30"
,
text
:
"Net 30"
,
"data"
:
""
,
"codename"
:
"Item_1"
,
value
:
'1'
,
disabled
:
false
,
},
{
id
:
'3'
,
label
:
"Net 45"
,
text
:
"Net 45"
,
"data"
:
""
,
"codename"
:
"Item_3"
,
value
:
'3'
,
disabled
:
false
,
},
{
id
:
'4'
,
label
:
"Net 60"
,
text
:
"Net 60"
,
"data"
:
""
,
"codename"
:
"Item_4"
,
value
:
'4'
,
disabled
:
false
,
},
]
},
{
srfkey
:
'Account__CustomerTypeCode'
,
emptytext
:
'未定义'
,
...
...
@@ -2159,6 +2283,33 @@ mock.onGet('./assets/json/data-dictionary.json').reply((config: any) => {
},
]
},
{
srfkey
:
'Quote__FreightTermsCode'
,
emptytext
:
'未定义'
,
"codelisttype"
:
"static"
,
items
:
[
{
id
:
'1'
,
label
:
"FOB"
,
text
:
"FOB"
,
"data"
:
""
,
"codename"
:
"Item_1"
,
value
:
'1'
,
disabled
:
false
,
},
{
id
:
'2'
,
label
:
"No Charge"
,
text
:
"No Charge"
,
"data"
:
""
,
"codename"
:
"Item_2"
,
value
:
'2'
,
disabled
:
false
,
},
]
},
{
srfkey
:
'Opportunity__PurchaseTimeframe'
,
emptytext
:
'未定义'
,
...
...
app_CRM/src/mock/viewconfig/viewconfig.ts
浏览文件 @
a988c15f
...
...
@@ -327,6 +327,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname"
:
"FaxEditView"
,
"viewtag"
:
"3f78dcc732a7a8ba6d959dcf6007b225"
},
"quoteinfoabstract"
:
{
"title"
:
"报价单编辑视图"
,
"caption"
:
"报价单"
,
"viewtype"
:
"DEEDITVIEW"
,
"viewmodule"
:
"Sales"
,
"viewname"
:
"QuoteInfoAbstract"
,
"viewtag"
:
"4024b6fdff9a452e0ff55401498fbb51"
},
"campaigneditview"
:
{
"title"
:
"市场活动编辑视图"
,
"caption"
:
"市场活动"
,
...
...
@@ -463,12 +471,12 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname"
:
"ContactInfo_Market"
,
"viewtag"
:
"615ceb2945e3cfe7404850aeadae188d"
},
"contact
dashboardview
"
:
{
"contact
summary
"
:
{
"title"
:
"联系人数据看板视图"
,
"caption"
:
"联系人"
,
"viewtype"
:
"DEPORTALVIEW"
,
"viewmodule"
:
"Base"
,
"viewname"
:
"Contact
DashboardView
"
,
"viewname"
:
"Contact
Summary
"
,
"viewtag"
:
"6168a7e787ead13b1e0f9a55007bc68c"
},
"goalgridview"
:
{
...
...
@@ -1127,12 +1135,12 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname"
:
"CompetitorEditView"
,
"viewtag"
:
"fc2117de593df9cc982bd802cbdb2154"
},
"contact
tabexpview
"
:
{
"contact
info
"
:
{
"title"
:
"联系人信息"
,
"caption"
:
"联系人"
,
"viewtype"
:
"DETABEXPVIEW"
,
"viewmodule"
:
"Base"
,
"viewname"
:
"Contact
TabExpView
"
,
"viewname"
:
"Contact
Info
"
,
"viewtag"
:
"fcdb236b65d78c4a8ae64e74f9483a63"
}
}];
...
...
app_CRM/src/pages/base/contact-by-account/contact-by-account-base.vue
浏览文件 @
a988c15f
...
...
@@ -284,7 +284,7 @@ export default class ContactByAccountBase extends GridViewBase {
}
const
parameters
:
any
[]
=
[
{
pathName
:
'contacts'
,
parameterName
:
'contact'
},
{
pathName
:
'
tabexpview'
,
parameterName
:
'tabexpview
'
},
{
pathName
:
'
info'
,
parameterName
:
'info
'
},
];
const
_this
:
any
=
this
;
const
openIndexViewTab
=
(
data
:
any
)
=>
{
...
...
app_CRM/src/pages/base/contact-grid-view/contact-grid-view-base.vue
浏览文件 @
a988c15f
...
...
@@ -599,7 +599,7 @@ export default class ContactGridViewBase extends GridViewBase {
}
const
parameters
:
any
[]
=
[
{
pathName
:
'contacts'
,
parameterName
:
'contact'
},
{
pathName
:
'
tabexpview'
,
parameterName
:
'tabexpview
'
},
{
pathName
:
'
info'
,
parameterName
:
'info
'
},
];
const
_this
:
any
=
this
;
const
openIndexViewTab
=
(
data
:
any
)
=>
{
...
...
app_CRM/src/pages/base/contact-info/contact-info-base.vue
0 → 100644
浏览文件 @
a988c15f
<
template
>
<studio-view-style2
viewName=
"contactinfo"
viewTitle=
"联系人信息"
class=
'detabexpview contact-info'
>
<template
slot=
'title'
>
<span
class=
'caption-info'
>
{{
$t
(
model
.
srfTitle
)
}}
</span>
</
template
>
<
template
slot=
"toolbar"
>
<view-toolbar
mode=
"STYLE2"
:model=
"toolBarModels"
@
item-click=
"toolbar_click"
/>
</
template
>
<view
_tabexppanel
:viewState=
"viewState"
:viewparams=
"viewparams"
:context=
"context"
name=
"tabexppanel"
ref=
'tabexppanel'
@
closeview=
"closeView($event)"
>
</view
_tabexppanel
>
</studio-view-style2>
</template>
<
script
lang=
'tsx'
>
import
{
Component
,
Prop
,
Provide
,
Emit
,
Watch
}
from
'vue-property-decorator'
;
import
{
Subject
}
from
'rxjs'
;
import
{
UIActionTool
,
Util
}
from
'@/utils'
;
import
{
VueLifeCycleProcessing
,
TabExpViewBase
}
from
'@/studio-core'
;
import
ContactService
from
'@/service/contact/contact-service'
;
import
TabExpViewEngine
from
'@engine/view/tab-exp-view-engine'
;
/**
* 联系人信息视图基类
*
* @export
* @class ContactInfoBase
* @extends {TabExpViewBase}
*/
@
Component
({})
@
VueLifeCycleProcessing
()
export
default
class
ContactInfoBase
extends
TabExpViewBase
{
/**
* 实体服务对象
*
* @type {ContactService}
* @memberof ContactInfoBase
*/
protected
appEntityService
:
ContactService
=
new
ContactService
;
/**
* 计数器服务对象集合
*
* @protected
* @type {Array<*>}
* @memberof ContactInfoBase
*/
protected
counterServiceArray
:
Array
<
any
>
=
[];
/**
* 自定义视图导航上下文集合
*
* @protected
* @type {*}
* @memberof ContactInfoBase
*/
protected
customViewNavContexts
:
any
=
{
};
/**
* 自定义视图导航参数集合
*
* @protected
* @type {*}
* @memberof ContactInfoBase
*/
protected
customViewParams
:
any
=
{
};
/**
* 视图模型数据
*
* @protected
* @type {*}
* @memberof ContactInfoBase
*/
protected
model
:
any
=
{
srfCaption
:
'entities.contact.views.info.caption'
,
srfTitle
:
'entities.contact.views.info.title'
,
srfSubTitle
:
'entities.contact.views.info.subtitle'
,
dataInfo
:
''
}
/**
* 容器模型
*
* @protected
* @type {*}
* @memberof ContactInfoBase
*/
protected
containerModel
:
any
=
{
view_toolbar
:
{
name
:
'toolbar'
,
type
:
'TOOLBAR'
},
view_tabexppanel
:
{
name
:
'tabexppanel'
,
type
:
'TABEXPPANEL'
},
};
/**
* 工具栏模型
*
* @type {*}
* @memberof ContactInfo
*/
public
toolBarModels
:
any
=
{
tbitem3
:
{
name
:
'tbitem3'
,
caption
:
'保存'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'保存'
,
iconcls
:
'fa fa-save'
,
icon
:
''
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'Save'
,
target
:
''
},
class
:
''
},
tbitem5
:
{
name
:
'tbitem5'
,
caption
:
'保存并关闭'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'保存并关闭'
,
iconcls
:
'fa fa-power-off'
,
icon
:
''
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'SaveAndExit'
,
target
:
''
},
class
:
''
},
tbitem6
:
{
name
:
'tbitem6'
,
type
:
'SEPERATOR'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
}
},
deuiaction1
:
{
name
:
'deuiaction1'
,
caption
:
'删除并关闭'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'删除并关闭'
,
iconcls
:
'fa fa-remove'
,
icon
:
''
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'RemoveAndExit'
,
target
:
'SINGLEKEY'
},
class
:
''
},
deuiaction2
:
{
name
:
'deuiaction2'
,
caption
:
'刷新'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'刷新'
,
iconcls
:
'fa fa-refresh'
,
icon
:
''
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'Refresh'
,
target
:
'SINGLEKEY'
},
class
:
''
},
seperator1
:
{
name
:
'seperator1'
,
type
:
'SEPERATOR'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
}
},
tbitem12
:
{
name
:
'tbitem12'
,
caption
:
'关闭'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'关闭'
,
iconcls
:
'fa fa-sign-out'
,
icon
:
''
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'Exit'
,
target
:
''
},
class
:
''
},
};
/**
* 视图引擎
*
* @public
* @type {Engine}
* @memberof ContactInfoBase
*/
public
engine
:
TabExpViewEngine
=
new
TabExpViewEngine
();
/**
* 引擎初始化
*
* @public
* @memberof ContactInfoBase
*/
public
engineInit
():
void
{
this
.
engine
.
init
({
view
:
this
,
keyPSDEField
:
'contact'
,
majorPSDEField
:
'fullname'
,
isLoadDefault
:
true
,
});
}
/**
* toolbar 部件 click 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof ContactInfoBase
*/
public
toolbar_click
(
$event
:
any
,
$event2
?:
any
):
void
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem3'
))
{
this
.
toolbar_tbitem3_click
(
null
,
''
,
$event2
);
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem5'
))
{
this
.
toolbar_tbitem5_click
(
null
,
''
,
$event2
);
}
if
(
Object
.
is
(
$event
.
tag
,
'deuiaction1'
))
{
this
.
toolbar_deuiaction1_click
(
null
,
''
,
$event2
);
}
if
(
Object
.
is
(
$event
.
tag
,
'deuiaction2'
))
{
this
.
toolbar_deuiaction2_click
(
null
,
''
,
$event2
);
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem12'
))
{
this
.
toolbar_tbitem12_click
(
null
,
''
,
$event2
);
}
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public
toolbar_tbitem3_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
// 参数
// 取数
let
datas
:
any
[]
=
[];
let
xData
:
any
=
null
;
// _this 指向容器对象
const
_this
:
any
=
this
;
let
paramJO
:
any
=
{};
let
contextJO
:
any
=
{};
if
(
_this
.
getDatas
&&
_this
.
getDatas
instanceof
Function
)
{
datas
=
[...
_this
.
getDatas
()];
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
this
.
Save
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"Contact"
);
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public
toolbar_tbitem5_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
// 参数
// 取数
let
datas
:
any
[]
=
[];
let
xData
:
any
=
null
;
// _this 指向容器对象
const
_this
:
any
=
this
;
let
paramJO
:
any
=
{};
let
contextJO
:
any
=
{};
if
(
_this
.
getDatas
&&
_this
.
getDatas
instanceof
Function
)
{
datas
=
[...
_this
.
getDatas
()];
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
this
.
SaveAndExit
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"Contact"
);
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public
toolbar_deuiaction1_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
// 参数
// 取数
let
datas
:
any
[]
=
[];
let
xData
:
any
=
null
;
// _this 指向容器对象
const
_this
:
any
=
this
;
let
paramJO
:
any
=
{};
let
contextJO
:
any
=
{};
if
(
_this
.
getDatas
&&
_this
.
getDatas
instanceof
Function
)
{
datas
=
[...
_this
.
getDatas
()];
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
this
.
RemoveAndExit
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"Contact"
);
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public
toolbar_deuiaction2_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
// 参数
// 取数
let
datas
:
any
[]
=
[];
let
xData
:
any
=
null
;
// _this 指向容器对象
const
_this
:
any
=
this
;
let
paramJO
:
any
=
{};
let
contextJO
:
any
=
{};
if
(
_this
.
getDatas
&&
_this
.
getDatas
instanceof
Function
)
{
datas
=
[...
_this
.
getDatas
()];
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
this
.
Refresh
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"Contact"
);
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public
toolbar_tbitem12_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
// 参数
// 取数
let
datas
:
any
[]
=
[];
let
xData
:
any
=
null
;
// _this 指向容器对象
const
_this
:
any
=
this
;
let
paramJO
:
any
=
{};
let
contextJO
:
any
=
{};
if
(
_this
.
getDatas
&&
_this
.
getDatas
instanceof
Function
)
{
datas
=
[...
_this
.
getDatas
()];
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
this
.
Exit
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"Contact"
);
}
/**
* 保存
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof ContactInfoBase
*/
public
Save
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
// 界面行为容器对象 _this
const
_this
:
any
=
this
;
if
(
xData
&&
xData
.
save
instanceof
Function
)
{
xData
.
save
().
then
((
response
:
any
)
=>
{
if
(
!
response
||
response
.
status
!==
200
)
{
return
;
}
_this
.
$emit
(
'viewdataschange'
,
[{
...
response
.
data
}]);
});
}
else
if
(
_this
.
save
&&
_this
.
save
instanceof
Function
)
{
_this
.
save
();
}
}
/**
* 保存并关闭
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof ContactInfoBase
*/
public
SaveAndExit
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
const
_this
:
any
=
this
;
if
(
xData
&&
xData
.
saveAndExit
instanceof
Function
)
{
xData
.
saveAndExit
().
then
((
response
:
any
)
=>
{
if
(
!
response
||
response
.
status
!==
200
)
{
return
;
}
if
(
window
.
parent
){
window
.
parent
.
postMessage
([{
...
response
.
data
}],
'*'
);
}
});
}
else
if
(
_this
.
saveAndExit
&&
_this
.
saveAndExit
instanceof
Function
)
{
_this
.
saveAndExit
().
then
((
response
:
any
)
=>
{
if
(
!
response
||
response
.
status
!==
200
)
{
return
;
}
if
(
window
.
parent
){
window
.
parent
.
postMessage
([{
...
response
.
data
}],
'*'
);
}
});
}
}
/**
* 删除并关闭
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof ContactInfoBase
*/
public
RemoveAndExit
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
const
_this
:
any
=
this
;
if
(
xData
&&
xData
.
removeAndExit
instanceof
Function
)
{
xData
.
removeAndExit
().
then
((
response
:
any
)
=>
{
if
(
!
response
||
response
.
status
!==
200
)
{
return
;
}
if
(
window
.
parent
){
window
.
parent
.
postMessage
([{
...
response
.
data
}],
'*'
);
}
});
}
else
if
(
_this
.
removeAndExit
&&
_this
.
removeAndExit
instanceof
Function
)
{
_this
.
removeAndExit
().
then
((
response
:
any
)
=>
{
if
(
!
response
||
response
.
status
!==
200
)
{
return
;
}
if
(
window
.
parent
){
window
.
parent
.
postMessage
([{
...
response
.
data
}],
'*'
);
}
});
}
}
/**
* 刷新
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof ContactInfoBase
*/
public
Refresh
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
const
_this
:
any
=
this
;
if
(
xData
&&
xData
.
refresh
&&
xData
.
refresh
instanceof
Function
)
{
xData
.
refresh
(
args
);
}
else
if
(
_this
.
refresh
&&
_this
.
refresh
instanceof
Function
)
{
_this
.
refresh
(
args
);
}
}
/**
* 关闭
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof ContactInfoBase
*/
public
Exit
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
this
.
closeView
(
args
);
if
(
window
.
parent
){
window
.
parent
.
postMessage
([{
...
args
}],
'*'
);
}
}
/**
* 加载模型
*
* @protected
* @memberof ContactInfoBase
*/
protected
async
loadModel
():
Promise
<
any
>
{
if
(
this
.
context
.
contact
){
this
.
appEntityService
.
getDataInfo
(
JSON
.
parse
(
JSON
.
stringify
(
this
.
context
)),{},
false
).
then
((
response
:
any
)
=>
{
if
(
!
response
||
response
.
status
!==
200
)
{
return
;
}
const
{
data
:
_data
}
=
response
;
if
(
_data
.
fullname
)
{
Object
.
assign
(
this
.
model
,
{
dataInfo
:
_data
.
fullname
});
if
(
this
.
$tabPageExp
)
{
this
.
$tabPageExp
.
setCurPageCaption
(
this
.
model
.
srfTitle
,
this
.
model
.
srfTitle
,
this
.
model
.
dataInfo
);
}
if
(
this
.
$route
){
this
.
$route
.
meta
.
info
=
this
.
model
.
dataInfo
;
}
Object
.
assign
(
this
.
model
,
{
srfTitle
:
`
${
this
.
$t
(
this
.
model
.
srfTitle
)}
-
${
this
.
model
.
dataInfo
}
`
});
}
})
}
}
}
</
script
>
<
style
lang=
'less'
>
@import './contact-info.less';
</
style
>
\ No newline at end of file
app_CRM/src/pages/base/contact-info/contact-info.less
0 → 100644
浏览文件 @
a988c15f
// 避免空文件,后台不让空文件过
.contact-info {
--contact-info: 0;
}
// 视图样式
// this is less
app_CRM/src/pages/base/contact-info/contact-info.vue
0 → 100644
浏览文件 @
a988c15f
<
script
lang=
'tsx'
>
import
{
Component
}
from
'vue-property-decorator'
;
import
ContactInfoBase
from
'./contact-info-base.vue'
;
import
view_tabexppanel
from
'@widgets/contact/infotabexppanel-tabexppanel/infotabexppanel-tabexppanel.vue'
;
@
Component
({
components
:
{
view_tabexppanel
,
},
beforeRouteEnter
:
(
to
:
any
,
from
:
any
,
next
:
any
)
=>
{
next
((
vm
:
any
)
=>
{
vm
.
$store
.
commit
(
'addCurPageViewtag'
,
{
route
:
to
,
viewtag
:
vm
.
viewtag
});
});
},
})
export
default
class
ContactInfo
extends
ContactInfoBase
{
}
</
script
>
\ No newline at end of file
app_CRM/src/pages/base/contact-summary/contact-summary-base.vue
0 → 100644
浏览文件 @
a988c15f
<
template
>
<studio-view-style2
viewName=
"contactsummary"
viewTitle=
"联系人数据看板视图"
class=
'deportalview contact-summary'
>
<view
_dashboard
:viewState=
"viewState"
:viewparams=
"viewparams"
:context=
"JSON.parse(JSON.stringify(context))"
:isEnableCustomized =
"false"
name=
"dashboard"
ref=
'dashboard'
@
load=
"dashboard_load($event)"
@
closeview=
"closeView($event)"
>
</view
_dashboard
>
</studio-view-style2>
</
template
>
<
script
lang=
'tsx'
>
import
{
Component
,
Prop
,
Provide
,
Emit
,
Watch
}
from
'vue-property-decorator'
;
import
{
Subject
}
from
'rxjs'
;
import
{
UIActionTool
,
Util
}
from
'@/utils'
;
import
{
VueLifeCycleProcessing
,
DashboardViewBase
}
from
'@/studio-core'
;
import
ContactService
from
'@/service/contact/contact-service'
;
import
PortalViewEngine
from
'@engine/view/portal-view-engine'
;
/**
* 联系人数据看板视图视图基类
*
* @export
* @class ContactSummaryBase
* @extends {DashboardViewBase}
*/
@
Component
({})
@
VueLifeCycleProcessing
()
export
default
class
ContactSummaryBase
extends
DashboardViewBase
{
/**
* 实体服务对象
*
* @type {ContactService}
* @memberof ContactSummaryBase
*/
protected
appEntityService
:
ContactService
=
new
ContactService
;
/**
* 计数器服务对象集合
*
* @protected
* @type {Array<*>}
* @memberof ContactSummaryBase
*/
protected
counterServiceArray
:
Array
<
any
>
=
[];
/**
* 自定义视图导航上下文集合
*
* @protected
* @type {*}
* @memberof ContactSummaryBase
*/
protected
customViewNavContexts
:
any
=
{
'REGARDINGOBJECTID'
:
{
isRawValue
:
false
,
value
:
'contact'
},
'REGARDINGOBJECTTYPECODE'
:
{
isRawValue
:
true
,
value
:
'CONTACT'
}
};
/**
* 自定义视图导航参数集合
*
* @protected
* @type {*}
* @memberof ContactSummaryBase
*/
protected
customViewParams
:
any
=
{
};
/**
* 视图模型数据
*
* @protected
* @type {*}
* @memberof ContactSummaryBase
*/
protected
model
:
any
=
{
srfCaption
:
'entities.contact.views.summary.caption'
,
srfTitle
:
'entities.contact.views.summary.title'
,
srfSubTitle
:
'entities.contact.views.summary.subtitle'
,
dataInfo
:
''
}
/**
* 容器模型
*
* @protected
* @type {*}
* @memberof ContactSummaryBase
*/
protected
containerModel
:
any
=
{
view_dashboard
:
{
name
:
'dashboard'
,
type
:
'DASHBOARD'
},
};
/**
* 视图引擎
*
* @public
* @type {Engine}
* @memberof ContactSummaryBase
*/
public
engine
:
PortalViewEngine
=
new
PortalViewEngine
();
/**
* 引擎初始化
*
* @public
* @memberof ContactSummaryBase
*/
public
engineInit
():
void
{
this
.
engine
.
init
({
view
:
this
,
dashboard
:
this
.
$refs
.
dashboard
,
keyPSDEField
:
'contact'
,
majorPSDEField
:
'fullname'
,
isLoadDefault
:
true
,
});
}
/**
* dashboard 部件 load 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof ContactSummaryBase
*/
public
dashboard_load
(
$event
:
any
,
$event2
?:
any
):
void
{
this
.
engine
.
onCtrlEvent
(
'dashboard'
,
'load'
,
$event
);
}
}
</
script
>
<
style
lang=
'less'
>
@import './contact-summary.less';
</
style
>
\ No newline at end of file
app_CRM/src/pages/base/contact-summary/contact-summary.less
0 → 100644
浏览文件 @
a988c15f
// 避免空文件,后台不让空文件过
.contact-summary {
--contact-summary: 0;
}
app_CRM/src/pages/base/contact-summary/contact-summary.vue
0 → 100644
浏览文件 @
a988c15f
<
script
lang=
'tsx'
>
import
{
Component
}
from
'vue-property-decorator'
;
import
ContactSummaryBase
from
'./contact-summary-base.vue'
;
import
view_dashboard
from
'@widgets/contact/con-abs-dashboard/con-abs-dashboard.vue'
;
@
Component
({
components
:
{
view_dashboard
,
},
beforeRouteEnter
:
(
to
:
any
,
from
:
any
,
next
:
any
)
=>
{
next
((
vm
:
any
)
=>
{
vm
.
$store
.
commit
(
'addCurPageViewtag'
,
{
route
:
to
,
viewtag
:
vm
.
viewtag
});
});
},
})
export
default
class
ContactSummary
extends
ContactSummaryBase
{
}
</
script
>
\ No newline at end of file
app_CRM/src/pages/sales/competitor-grid-view/competitor-grid-view-base.vue
浏览文件 @
a988c15f
...
...
@@ -543,16 +543,28 @@ export default class CompetitorGridViewBase extends GridViewBase {
const
deResParameters
:
any
[]
=
[];
const
parameters
:
any
[]
=
[
{
pathName
:
'competitors'
,
parameterName
:
'competitor'
},
{
pathName
:
'optionview'
,
parameterName
:
'optionview'
},
];
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
:
'competitor-option-view'
,
height
:
0
,
width
:
0
,
title
:
this
.
$t
(
'entities.competitor.views.optionview.title'
),
placement
:
'DRAWER_RIGHT'
,
};
openDrawer
(
view
,
data
);
}
...
...
app_CRM/src/pages/sales/opportunity-opp-pro-dashboard-view/opportunity-opp-pro-dashboard-view-base.vue
浏览文件 @
a988c15f
<
template
>
<studio-view-style2
viewName=
"opportunityoppprodashboardview"
viewTitle=
"商机数据看板视图"
class=
'deportalview opportunity-opp-pro-dashboard-view'
>
<template
slot=
'title'
>
<span
class=
'caption-info'
>
{{
$t
(
model
.
srfTitle
)
}}
</span>
</
template
>
<view
_dashboard
:viewState=
"viewState"
:viewparams=
"viewparams"
...
...
app_CRM/src/pages/ungroup/central/page-register.ts
浏览文件 @
a988c15f
...
...
@@ -74,7 +74,7 @@ export const PageComponents = {
Vue
.
component
(
'list-contact-inner'
,
()
=>
import
(
'@pages/marketing/list-contact-inner/list-contact-inner.vue'
));
Vue
.
component
(
'campaign-info-campagin'
,
()
=>
import
(
'@pages/marketing/campaign-info-campagin/campaign-info-campagin.vue'
));
Vue
.
component
(
'appointment-edit-view'
,
()
=>
import
(
'@pages/base/appointment-edit-view/appointment-edit-view.vue'
));
Vue
.
component
(
'contact-
tab-exp-view'
,
()
=>
import
(
'@pages/base/contact-tab-exp-view/contact-tab-exp-view
.vue'
));
Vue
.
component
(
'contact-
info'
,
()
=>
import
(
'@pages/base/contact-info/contact-info
.vue'
));
Vue
.
component
(
'contact-pickup-grid-view'
,
()
=>
import
(
'@pages/base/contact-pickup-grid-view/contact-pickup-grid-view.vue'
));
Vue
.
component
(
'list-account-edit-view'
,
()
=>
import
(
'@pages/marketing/list-account-edit-view/list-account-edit-view.vue'
));
Vue
.
component
(
'opportunity-info'
,
()
=>
import
(
'@pages/sales/opportunity-info/opportunity-info.vue'
));
...
...
@@ -104,7 +104,7 @@ export const PageComponents = {
Vue
.
component
(
'activity-pointer-by-parent-key'
,
()
=>
import
(
'@pages/base/activity-pointer-by-parent-key/activity-pointer-by-parent-key.vue'
));
Vue
.
component
(
'contact-edit-abstract'
,
()
=>
import
(
'@pages/base/contact-edit-abstract/contact-edit-abstract.vue'
));
Vue
.
component
(
'list-account-inner'
,
()
=>
import
(
'@pages/marketing/list-account-inner/list-account-inner.vue'
));
Vue
.
component
(
'contact-
dashboard-view'
,
()
=>
import
(
'@pages/base/contact-dashboard-view/contact-dashboard-view
.vue'
));
Vue
.
component
(
'contact-
summary'
,
()
=>
import
(
'@pages/base/contact-summary/contact-summary
.vue'
));
Vue
.
component
(
'task-edit-view'
,
()
=>
import
(
'@pages/base/task-edit-view/task-edit-view.vue'
));
Vue
.
component
(
'contact-info-market'
,
()
=>
import
(
'@pages/base/contact-info-market/contact-info-market.vue'
));
Vue
.
component
(
'quote-edit-view'
,
()
=>
import
(
'@pages/sales/quote-edit-view/quote-edit-view.vue'
));
...
...
app_CRM/src/pages/ungroup/central/router.ts
浏览文件 @
a988c15f
...
...
@@ -2256,33 +2256,33 @@ const router = new Router({
component
:
()
=>
import
(
'@pages/base/appointment-edit-view/appointment-edit-view.vue'
),
},
{
path
:
'accounts/:account?/contacts/:contact?/
tabexpview/:tabexpview
?'
,
path
:
'accounts/:account?/contacts/:contact?/
info/:info
?'
,
meta
:
{
caption
:
'entities.contact.views.
tabexpview
.title'
,
caption
:
'entities.contact.views.
info
.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'central'
,
parameterName
:
'central'
},
{
pathName
:
'accounts'
,
parameterName
:
'account'
},
{
pathName
:
'contacts'
,
parameterName
:
'contact'
},
{
pathName
:
'
tabexpview'
,
parameterName
:
'tabexpview
'
},
{
pathName
:
'
info'
,
parameterName
:
'info
'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/base/contact-
tab-exp-view/contact-tab-exp-view
.vue'
),
component
:
()
=>
import
(
'@pages/base/contact-
info/contact-info
.vue'
),
},
{
path
:
'contacts/:contact?/
tabexpview/:tabexpview
?'
,
path
:
'contacts/:contact?/
info/:info
?'
,
meta
:
{
caption
:
'entities.contact.views.
tabexpview
.title'
,
caption
:
'entities.contact.views.
info
.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'central'
,
parameterName
:
'central'
},
{
pathName
:
'contacts'
,
parameterName
:
'contact'
},
{
pathName
:
'
tabexpview'
,
parameterName
:
'tabexpview
'
},
{
pathName
:
'
info'
,
parameterName
:
'info
'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/base/contact-
tab-exp-view/contact-tab-exp-view
.vue'
),
component
:
()
=>
import
(
'@pages/base/contact-
info/contact-info
.vue'
),
},
{
path
:
'accounts/:account?/contacts/:contact?/pickupgridview/:pickupgridview?'
,
...
...
@@ -3362,33 +3362,33 @@ const router = new Router({
component
:
()
=>
import
(
'@pages/base/account-edit-introduction/account-edit-introduction.vue'
),
},
{
path
:
'accounts/:account?/contacts/:contact?/
dashboardview/:dashboardview
?'
,
path
:
'accounts/:account?/contacts/:contact?/
summary/:summary
?'
,
meta
:
{
caption
:
'entities.contact.views.
dashboardview
.title'
,
caption
:
'entities.contact.views.
summary
.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'central'
,
parameterName
:
'central'
},
{
pathName
:
'accounts'
,
parameterName
:
'account'
},
{
pathName
:
'contacts'
,
parameterName
:
'contact'
},
{
pathName
:
'
dashboardview'
,
parameterName
:
'dashboardview
'
},
{
pathName
:
'
summary'
,
parameterName
:
'summary
'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/base/contact-
dashboard-view/contact-dashboard-view
.vue'
),
component
:
()
=>
import
(
'@pages/base/contact-
summary/contact-summary
.vue'
),
},
{
path
:
'contacts/:contact?/
dashboardview/:dashboardview
?'
,
path
:
'contacts/:contact?/
summary/:summary
?'
,
meta
:
{
caption
:
'entities.contact.views.
dashboardview
.title'
,
caption
:
'entities.contact.views.
summary
.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'central'
,
parameterName
:
'central'
},
{
pathName
:
'contacts'
,
parameterName
:
'contact'
},
{
pathName
:
'
dashboardview'
,
parameterName
:
'dashboardview
'
},
{
pathName
:
'
summary'
,
parameterName
:
'summary
'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/base/contact-
dashboard-view/contact-dashboard-view
.vue'
),
component
:
()
=>
import
(
'@pages/base/contact-
summary/contact-summary
.vue'
),
},
{
path
:
'tasks/:task?/editview/:editview?'
,
...
...
@@ -5009,31 +5009,31 @@ const router = new Router({
component
:
()
=>
import
(
'@pages/base/contact-info-market/contact-info-market.vue'
),
},
{
path
:
'/accounts/:account?/contacts/:contact?/
dashboardview/:dashboardview
?'
,
path
:
'/accounts/:account?/contacts/:contact?/
summary/:summary
?'
,
meta
:
{
caption
:
'entities.contact.views.
dashboardview
.title'
,
caption
:
'entities.contact.views.
summary
.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'accounts'
,
parameterName
:
'account'
},
{
pathName
:
'contacts'
,
parameterName
:
'contact'
},
{
pathName
:
'
dashboardview'
,
parameterName
:
'dashboardview
'
},
{
pathName
:
'
summary'
,
parameterName
:
'summary
'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/base/contact-
dashboard-view/contact-dashboard-view
.vue'
),
component
:
()
=>
import
(
'@pages/base/contact-
summary/contact-summary
.vue'
),
},
{
path
:
'/contacts/:contact?/
dashboardview/:dashboardview
?'
,
path
:
'/contacts/:contact?/
summary/:summary
?'
,
meta
:
{
caption
:
'entities.contact.views.
dashboardview
.title'
,
caption
:
'entities.contact.views.
summary
.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'contacts'
,
parameterName
:
'contact'
},
{
pathName
:
'
dashboardview'
,
parameterName
:
'dashboardview
'
},
{
pathName
:
'
summary'
,
parameterName
:
'summary
'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/base/contact-
dashboard-view/contact-dashboard-view
.vue'
),
component
:
()
=>
import
(
'@pages/base/contact-
summary/contact-summary
.vue'
),
},
{
path
:
'/goals/:goal?/gridview/:gridview?'
,
...
...
@@ -6929,31 +6929,31 @@ const router = new Router({
component
:
()
=>
import
(
'@pages/base/account-info-major-contact/account-info-major-contact.vue'
),
},
{
path
:
'/accounts/:account?/contacts/:contact?/
tabexpview/:tabexpview
?'
,
path
:
'/accounts/:account?/contacts/:contact?/
info/:info
?'
,
meta
:
{
caption
:
'entities.contact.views.
tabexpview
.title'
,
caption
:
'entities.contact.views.
info
.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'accounts'
,
parameterName
:
'account'
},
{
pathName
:
'contacts'
,
parameterName
:
'contact'
},
{
pathName
:
'
tabexpview'
,
parameterName
:
'tabexpview
'
},
{
pathName
:
'
info'
,
parameterName
:
'info
'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/base/contact-
tab-exp-view/contact-tab-exp-view
.vue'
),
component
:
()
=>
import
(
'@pages/base/contact-
info/contact-info
.vue'
),
},
{
path
:
'/contacts/:contact?/
tabexpview/:tabexpview
?'
,
path
:
'/contacts/:contact?/
info/:info
?'
,
meta
:
{
caption
:
'entities.contact.views.
tabexpview
.title'
,
caption
:
'entities.contact.views.
info
.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'contacts'
,
parameterName
:
'contact'
},
{
pathName
:
'
tabexpview'
,
parameterName
:
'tabexpview
'
},
{
pathName
:
'
info'
,
parameterName
:
'info
'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/base/contact-
tab-exp-view/contact-tab-exp-view
.vue'
),
component
:
()
=>
import
(
'@pages/base/contact-
info/contact-info
.vue'
),
},
...
globalRoutes
,
{
...
...
app_CRM/src/store/modules/view-action/state.ts
浏览文件 @
a988c15f
...
...
@@ -545,7 +545,7 @@ export const viewstate: any = {
{
viewtag
:
'6168a7e787ead13b1e0f9a55007bc68c'
,
viewmodule
:
'Base'
,
viewname
:
'Contact
DashboardView
'
,
viewname
:
'Contact
Summary
'
,
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
...
...
@@ -1313,7 +1313,7 @@ export const viewstate: any = {
{
viewtag
:
'fcdb236b65d78c4a8ae64e74f9483a63'
,
viewmodule
:
'Base'
,
viewname
:
'Contact
TabExpView
'
,
viewname
:
'Contact
Info
'
,
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
...
...
app_CRM/src/uiservice/competitor/competitor-ui-service-base.ts
浏览文件 @
a988c15f
...
...
@@ -130,14 +130,29 @@ export default class CompetitorUIServiceBase extends UIService {
let
deResParameters
:
any
[]
=
[];
const
parameters
:
any
[]
=
[
{
pathName
:
'competitors'
,
parameterName
:
'competitor'
},
{
pathName
:
'optionview'
,
parameterName
:
'optionview'
},
];
const
openIndexViewTab
=
(
data
:
any
)
=>
{
const
routePath
=
actionContext
.
$viewTool
.
buildUpRoutePath
(
actionContext
.
$route
,
context
,
deResParameters
,
parameters
,
_args
,
data
);
actionContext
.
$router
.
push
(
routePath
);
return
null
;
}
openIndexViewTab
(
data
);
const
openDrawer
=
(
view
:
any
,
data
:
any
)
=>
{
let
container
:
Subject
<
any
>
=
actionContext
.
$appdrawer
.
openDrawer
(
view
,
context
,
data
);
container
.
subscribe
((
result
:
any
)
=>
{
if
(
!
result
||
!
Object
.
is
(
result
.
ret
,
'OK'
))
{
return
;
}
const
_this
:
any
=
actionContext
;
if
(
window
.
opener
){
window
.
opener
.
postMessage
({
status
:
'OK'
,
identification
:
'WF'
},
Environment
.
uniteAddress
);
window
.
close
();
}
return
result
.
datas
;
});
}
const
view
:
any
=
{
viewname
:
'competitor-option-view'
,
height
:
0
,
width
:
0
,
title
:
actionContext
.
$t
(
'entities.competitor.views.optionview.title'
),
placement
:
'DRAWER_RIGHT'
,
};
openDrawer
(
view
,
data
);
}
...
...
app_CRM/src/uiservice/contact/contact-ui-service-base.ts
浏览文件 @
a988c15f
...
...
@@ -86,7 +86,7 @@ export default class ContactUIServiceBase extends UIService {
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'info_book'
,
srfappde
:
'contacts'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'info_abstract'
,
srfappde
:
'contacts'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'info_market'
,
srfappde
:
'contacts'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'
dashboardview
'
,
srfappde
:
'contacts'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'
summary
'
,
srfappde
:
'contacts'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'editaddress'
,
srfappde
:
'contacts'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'pickupgridview'
,
srfappde
:
'contacts'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'byaccount'
,
srfappde
:
'contacts'
});
...
...
@@ -96,7 +96,7 @@ export default class ContactUIServiceBase extends UIService {
this
.
allViewMap
.
set
(
'PICKUPVIEW:'
,{
viewname
:
'pickupview'
,
srfappde
:
'contacts'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'quickcreate'
,
srfappde
:
'contacts'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'editperson'
,
srfappde
:
'contacts'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'
tabexpview
'
,
srfappde
:
'contacts'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'
info
'
,
srfappde
:
'contacts'
});
}
/**
...
...
app_CRM/src/uiservice/quote/quote-ui-service-base.ts
浏览文件 @
a988c15f
...
...
@@ -80,6 +80,7 @@ export default class QuoteUIServiceBase extends UIService {
*/
public
initViewMap
(){
this
.
allViewMap
.
set
(
'MDATAVIEW:'
,{
viewname
:
'gridview'
,
srfappde
:
'quotes'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'infoabstract'
,
srfappde
:
'quotes'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'oppquagridview'
,
srfappde
:
'quotes'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'optionview'
,
srfappde
:
'quotes'
});
this
.
allViewMap
.
set
(
'EDITVIEW:'
,{
viewname
:
'editview'
,
srfappde
:
'quotes'
});
...
...
app_CRM/src/widgets/contact/con-abs-dashboard/con-abs-dashboard-base.vue
浏览文件 @
a988c15f
...
...
@@ -7,7 +7,7 @@
<i-col
:md=
"
{ span: 24, offset: 0 }" :lg="{ span: 18, offset: 0 }">
<card
class=
"portlet-card"
:bordered=
"false"
dis-hover
:padding=
"0"
>
<span>
<div
class=
'portlet-container
dashboard-view
dashboard-container1 '
:style=
"
{}">
<div
class=
'portlet-container
summary
dashboard-container1 '
:style=
"
{}">
<row>
<i-col
:md=
"
{ span: 24, offset: 0 }">
<div
class=
"portlet-without-title"
>
...
...
@@ -97,7 +97,7 @@
<i-col
:md=
"
{ span: 24, offset: 0 }" :lg="{ span: 6, offset: 0 }">
<card
class=
"portlet-card"
:bordered=
"false"
dis-hover
:padding=
"0"
>
<span>
<div
class=
'portlet-container
dashboard-view
dashboard-container2 '
:style=
"
{}">
<div
class=
'portlet-container
summary
dashboard-container2 '
:style=
"
{}">
<row>
<i-col
:md=
"
{ span: 24, offset: 0 }">
<div
class=
"portlet-without-title"
>
...
...
app_CRM/src/widgets/contact/infotabexppanel-tabexppanel/infotabexppanel-tabexppanel-base.vue
0 → 100644
浏览文件 @
a988c15f
<
template
>
<div
class=
'tabviewpanel'
>
<tabs
:value=
"activiedTabViewPanel"
:animated=
"false"
class=
'tabexppanel'
name=
'infotabexppanel'
@
on-click=
"tabPanelClick"
>
<tab-pane
:index=
"0"
name=
'tabviewpanel'
tab=
'infotabexppanel'
class=
''
:label=
"(h) =>
{
return h('div', [
h('i',{
class:'fa fa-info-circle',
style:{
'margin-right' : '2px'
}
}),
h('span', '摘要'),
h('Badge', {
props: {
count: undefined,
type: 'primary'
}
})
])
}" >
<view
_tabviewpanel
:viewState=
"viewState"
:viewparams=
"JSON.parse(JSON.stringify(viewparams))"
:context=
"JSON.parse(JSON.stringify(context))"
v-if=
"isInit.tabviewpanel"
name=
"tabviewpanel"
ref=
'tabviewpanel'
@
viewpanelDatasChange =
"tabViewPanelDatasChange"
@
closeview=
"closeView($event)"
>
</view
_tabviewpanel
>
</tab-pane>
<tab-pane
:index=
"1"
name=
'tabviewpanel4'
tab=
'infotabexppanel'
class=
''
:label=
"(h) =>
{
return h('div', [
h('i',{
class:'fa fa-paper-plane',
style:{
'margin-right' : '2px'
}
}),
h('span', '活动'),
h('Badge', {
props: {
count: undefined,
type: 'primary'
}
})
])
}" >
<view
_tabviewpanel4
:viewState=
"viewState"
:viewparams=
"JSON.parse(JSON.stringify(viewparams))"
:context=
"JSON.parse(JSON.stringify(context))"
v-if=
"isInit.tabviewpanel4"
name=
"tabviewpanel4"
ref=
'tabviewpanel4'
@
viewpanelDatasChange =
"tabViewPanelDatasChange"
@
closeview=
"closeView($event)"
>
</view
_tabviewpanel4
>
</tab-pane>
<tab-pane
:index=
"2"
name=
'tabviewpanel2'
tab=
'infotabexppanel'
class=
''
:label=
"(h) =>
{
return h('div', [
h('i',{
class:'fa fa-sort-amount-asc',
style:{
'margin-right' : '2px'
}
}),
h('span', '潜在顾客'),
h('Badge', {
props: {
count: undefined,
type: 'primary'
}
})
])
}" >
<view
_tabviewpanel2
:viewState=
"viewState"
:viewparams=
"JSON.parse(JSON.stringify(viewparams))"
:context=
"JSON.parse(JSON.stringify(context))"
v-if=
"isInit.tabviewpanel2"
name=
"tabviewpanel2"
ref=
'tabviewpanel2'
@
viewpanelDatasChange =
"tabViewPanelDatasChange"
@
closeview=
"closeView($event)"
>
</view
_tabviewpanel2
>
</tab-pane>
<tab-pane
:index=
"3"
name=
'tabviewpanel3'
tab=
'infotabexppanel'
class=
''
:label=
"(h) =>
{
return h('div', [
h('i',{
class:'fa fa-question',
style:{
'margin-right' : '2px'
}
}),
h('span', '商机'),
h('Badge', {
props: {
count: undefined,
type: 'primary'
}
})
])
}" >
<view
_tabviewpanel3
:viewState=
"viewState"
:viewparams=
"JSON.parse(JSON.stringify(viewparams))"
:context=
"JSON.parse(JSON.stringify(context))"
v-if=
"isInit.tabviewpanel3"
name=
"tabviewpanel3"
ref=
'tabviewpanel3'
@
viewpanelDatasChange =
"tabViewPanelDatasChange"
@
closeview=
"closeView($event)"
>
</view
_tabviewpanel3
>
</tab-pane>
</tabs>
</div>
</
template
>
<
script
lang=
'tsx'
>
import
{
Vue
,
Component
,
Prop
,
Provide
,
Emit
,
Watch
,
Model
}
from
'vue-property-decorator'
;
import
{
CreateElement
}
from
'vue'
;
import
{
Subject
,
Subscription
}
from
'rxjs'
;
import
{
ControlInterface
}
from
'@/interface/control'
;
import
{
UIActionTool
,
Util
}
from
'@/utils'
;
import
ContactService
from
'@/service/contact/contact-service'
;
import
InfotabexppanelService
from
'./infotabexppanel-tabexppanel-service'
;
@
Component
({
components
:
{
}
})
export
default
class
InfotabexppanelBase
extends
Vue
implements
ControlInterface
{
/**
* 名称
*
* @type {string}
* @memberof Infotabexppanel
*/
@
Prop
()
public
name
?:
string
;
/**
* 视图通讯对象
*
* @type {Subject<ViewState>}
* @memberof Infotabexppanel
*/
@
Prop
()
public
viewState
!
:
Subject
<
ViewState
>
;
/**
* 应用上下文
*
* @type {*}
* @memberof Infotabexppanel
*/
@
Prop
()
public
context
:
any
;
/**
* 视图参数
*
* @type {*}
* @memberof Infotabexppanel
*/
@
Prop
()
public
viewparams
:
any
;
/**
* 视图状态事件
*
* @public
* @type {(Subscription | undefined)}
* @memberof Infotabexppanel
*/
public
viewStateEvent
:
Subscription
|
undefined
;
/**
* 获取部件类型
*
* @returns {string}
* @memberof Infotabexppanel
*/
public
getControlType
():
string
{
return
'TABEXPPANEL'
}
/**
* 计数器服务对象集合
*
* @type {Array<*>}
* @memberof Infotabexppanel
*/
public
counterServiceArray
:
Array
<
any
>
=
[];
/**
* 建构部件服务对象
*
* @type {InfotabexppanelService}
* @memberof Infotabexppanel
*/
public
service
:
InfotabexppanelService
=
new
InfotabexppanelService
({
$store
:
this
.
$store
});
/**
* 实体服务对象
*
* @type {ContactService}
* @memberof Infotabexppanel
*/
public
appEntityService
:
ContactService
=
new
ContactService
({
$store
:
this
.
$store
});
/**
* 关闭视图
*
* @param {any} args
* @memberof Infotabexppanel
*/
public
closeView
(
args
:
any
):
void
{
let
_this
:
any
=
this
;
_this
.
$emit
(
'closeview'
,
[
args
]);
}
/**
* 计数器刷新
*
* @memberof Infotabexppanel
*/
public
counterRefresh
(){
const
_this
:
any
=
this
;
if
(
_this
.
counterServiceArray
&&
_this
.
counterServiceArray
.
length
>
0
){
_this
.
counterServiceArray
.
forEach
((
item
:
any
)
=>
{
if
(
item
.
refreshData
&&
item
.
refreshData
instanceof
Function
){
item
.
refreshData
();
}
})
}
}
/**
* 是否初始化
*
* @returns {any}
* @memberof Infotabexppanel
*/
public
isInit
:
any
=
{
tabviewpanel
:
true
,
tabviewpanel4
:
false
,
tabviewpanel2
:
false
,
tabviewpanel3
:
false
,
}
/**
* 获取多项数据
*
* @returns {any[]}
* @memberof Infotabexppanel
*/
public
getDatas
():
any
[]
{
return
[];
}
/**
* 获取单项树
*
* @returns {*}
* @memberof Infotabexppanel
*/
public
getData
():
any
{
return
null
;
}
/**
* 行为参数
*
* @public
* @type {*}
* @memberof Infotabexppanel
*/
public
action
:
any
=
''
;
/**
* 被激活的分页面板
*
* @type {string}
* @memberof Infotabexppanel
*/
public
activiedTabViewPanel
:
string
=
'tabviewpanel'
;
/**
* 分页视图面板数据变更
*
* @memberof Infotabexppanel
*/
public
tabViewPanelDatasChange
(){
this
.
counterRefresh
();
}
/**
* vue 生命周期
*
* @returns
* @memberof Infotabexppanel
*/
public
created
()
{
this
.
afterCreated
();
}
/**
* 执行created后的逻辑
*
* @memberof Infotabexppanel
*/
public
afterCreated
(){
//设置分页导航srfparentdename和srfparentkey
if
(
this
.
context
.
contact
)
{
Object
.
assign
(
this
.
context
,
{
srfparentdename
:
'Contact'
,
srfparentkey
:
this
.
context
.
contact
});
}
if
(
this
.
viewState
)
{
this
.
viewStateEvent
=
this
.
viewState
.
subscribe
(({
tag
,
action
,
data
})
=>
{
if
(
!
Object
.
is
(
tag
,
this
.
name
))
{
return
;
}
this
.
action
=
action
;
this
.
viewState
.
next
({
tag
:
this
.
activiedTabViewPanel
,
action
:
action
,
data
:
data
});
this
.
$forceUpdate
();
});
}
}
/**
* 组件加载完毕
*
* @memberof Infotabexppanel
*/
public
mounted
():
void
{
if
(
this
.
viewparams
)
{
const
activate
=
this
.
viewparams
.
srftabactivate
;
if
(
activate
&&
this
.
isInit
[
activate
]
!==
undefined
)
{
for
(
const
key
in
this
.
isInit
)
{
if
(
this
.
isInit
.
hasOwnProperty
(
key
))
{
this
.
isInit
[
key
]
=
false
;
}
}
this
.
$nextTick
(()
=>
{
this
.
tabPanelClick
(
activate
);
});
}
}
}
/**
* vue 生命周期
*
* @memberof Infotabexppanel
*/
public
destroyed
()
{
this
.
afterDestroy
();
}
/**
* 执行destroyed后的逻辑
*
* @memberof Infotabexppanel
*/
public
afterDestroy
()
{
if
(
this
.
viewStateEvent
)
{
this
.
viewStateEvent
.
unsubscribe
();
}
}
/**
* 分页面板选中
*
* @param {*} $event
* @returns
* @memberof Infotabexppanel
*/
public
tabPanelClick
(
$event
:
any
)
{
if
(
!
$event
)
{
return
;
}
this
.
isInit
[
$event
]
=
true
;
if
(
!
this
.
viewState
)
{
return
;
}
this
.
activiedTabViewPanel
=
$event
;
this
.
viewState
.
next
({
tag
:
this
.
activiedTabViewPanel
,
action
:
this
.
action
,
data
:
{}});
}
}
</
script
>
<
style
lang=
'less'
>
@import './infotabexppanel-tabexppanel.less';
</
style
>
\ No newline at end of file
app_CRM/src/widgets/contact/infotabexppanel-tabexppanel/infotabexppanel-tabexppanel-model.ts
0 → 100644
浏览文件 @
a988c15f
/**
* Infotabexppanel 部件模型
*
* @export
* @class InfotabexppanelModel
*/
export
default
class
InfotabexppanelModel
{
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof InfotabexppanelModel
*/
public
getDataItems
():
any
[]
{
return
[
{
name
:
'address1_freighttermscode'
,
},
{
name
:
'address3_city'
,
},
{
name
:
'department'
,
},
{
name
:
'parentcustomeridtype'
,
},
{
name
:
'address1_stateorprovince'
,
},
{
name
:
'aging90_base'
,
},
{
name
:
'accountidyominame'
,
},
{
name
:
'donotbulkpostalmail'
,
},
{
name
:
'managername'
,
},
{
name
:
'donotpostalmail'
,
},
{
name
:
'spousesname'
,
},
{
name
:
'familystatuscode'
,
},
{
name
:
'owneridtype'
,
},
{
name
:
'address3_composite'
,
},
{
name
:
'address3_shippingmethodcode'
,
},
{
name
:
'lastname'
,
},
{
name
:
'lastonholdtime'
,
},
{
name
:
'educationcode'
,
},
{
name
:
'address2_line1'
,
},
{
name
:
'birthdate'
,
},
{
name
:
'owneridyominame'
,
},
{
name
:
'haschildrencode'
,
},
{
name
:
'company'
,
},
{
name
:
'address2_fax'
,
},
{
name
:
'assistantphone'
,
},
{
name
:
'callback'
,
},
{
name
:
'paymenttermscode'
,
},
{
name
:
'address2_telephone1'
,
},
{
name
:
'marketingonly'
,
},
{
name
:
'address2_utcoffset'
,
},
{
name
:
'address2_shippingmethodcode'
,
},
{
name
:
'traversedpath'
,
},
{
name
:
'employeeid'
,
},
{
name
:
'creditlimit_base'
,
},
{
name
:
'followemail'
,
},
{
name
:
'address3_postalcode'
,
},
{
name
:
'merged'
,
},
{
name
:
'jobtitle'
,
},
{
name
:
'address1_telephone1'
,
},
{
name
:
'customersizecode'
,
},
{
name
:
'address3_addresstypecode'
,
},
{
name
:
'pager'
,
},
{
name
:
'assistantname'
,
},
{
name
:
'address1_composite'
,
},
{
name
:
'address1_line1'
,
},
{
name
:
'yomimiddlename'
,
},
{
name
:
'address1_telephone3'
,
},
{
name
:
'telephone2'
,
},
{
name
:
'address2_addressid'
,
},
{
name
:
'parentcontactidyominame'
,
},
{
name
:
'leadsourcecode'
,
},
{
name
:
'statecode'
,
},
{
name
:
'address2_freighttermscode'
,
},
{
name
:
'emailaddress1'
,
},
{
name
:
'entityimage_timestamp'
,
},
{
name
:
'address3_line1'
,
},
{
name
:
'salutation'
,
},
{
name
:
'address1_line3'
,
},
{
name
:
'address3_primarycontactname'
,
},
{
name
:
'ibizprivate'
,
},
{
name
:
'donotfax'
,
},
{
name
:
'createdate'
,
},
{
name
:
'preferredsystemuseridyominame'
,
},
{
name
:
'updatedate'
,
},
{
name
:
'address3_stateorprovince'
,
},
{
name
:
'address3_line3'
,
},
{
name
:
'creditlimit'
,
},
{
name
:
'timezoneruleversionnumber'
,
},
{
name
:
'parentcustomerid'
,
},
{
name
:
'childrensnames'
,
},
{
name
:
'address1_addresstypecode'
,
},
{
name
:
'accountrolecode'
,
},
{
name
:
'donotphone'
,
},
{
name
:
'managerphone'
,
},
{
name
:
'creditonhold'
,
},
{
name
:
'updateman'
,
},
{
name
:
'address2_postalcode'
,
},
{
name
:
'address1_line2'
,
},
{
name
:
'nickname'
,
},
{
name
:
'versionnumber'
,
},
{
name
:
'yomifullname'
,
},
{
name
:
'entityimage'
,
},
{
name
:
'shippingmethodcode'
,
},
{
name
:
'customertypecode'
,
},
{
name
:
'address2_county'
,
},
{
name
:
'aging90'
,
},
{
name
:
'address2_stateorprovince'
,
},
{
name
:
'address3_utcoffset'
,
},
{
name
:
'fullname'
,
},
{
name
:
'participatesinworkflow'
,
},
{
name
:
'websiteurl'
,
},
{
name
:
'description'
,
},
{
name
:
'address3_telephone1'
,
},
{
name
:
'address2_upszone'
,
},
{
name
:
'address3_county'
,
},
{
name
:
'entityimage_url'
,
},
{
name
:
'address3_upszone'
,
},
{
name
:
'address1_name'
,
},
{
name
:
'mastercontactidyominame'
,
},
{
name
:
'autocreate'
,
},
{
name
:
'backofficecustomer'
,
},
{
name
:
'address2_longitude'
,
},
{
name
:
'address1_fax'
,
},
{
name
:
'exchangerate'
,
},
{
name
:
'address1_city'
,
},
{
name
:
'entityimageid'
,
},
{
name
:
'address1_telephone2'
,
},
{
name
:
'address2_composite'
,
},
{
name
:
'importsequencenumber'
,
},
{
name
:
'gendercode'
,
},
{
name
:
'annualincome'
,
},
{
name
:
'subscriptionid'
,
},
{
name
:
'territorycode'
,
},
{
name
:
'firstname'
,
},
{
name
:
'overriddencreatedon'
,
},
{
name
:
'address3_country'
,
},
{
name
:
'yomilastname'
,
},
{
name
:
'donotbulkemail'
,
},
{
name
:
'address3_telephone2'
,
},
{
name
:
'ownerid'
,
},
{
name
:
'externaluseridentifier'
,
},
{
name
:
'teamsfollowed'
,
},
{
name
:
'donotemail'
,
},
{
name
:
'anniversary'
,
},
{
name
:
'preferredappointmentdaycode'
,
},
{
name
:
'middlename'
,
},
{
name
:
'emailaddress3'
,
},
{
name
:
'address2_telephone2'
,
},
{
name
:
'fax'
,
},
{
name
:
'mobilephone'
,
},
{
name
:
'home2'
,
},
{
name
:
'createman'
,
},
{
name
:
'onholdtime'
,
},
{
name
:
'preferredappointmenttimecode'
,
},
{
name
:
'statuscode'
,
},
{
name
:
'governmentid'
,
},
{
name
:
'address3_telephone3'
,
},
{
name
:
'business2'
,
},
{
name
:
'preferredsystemuserid'
,
},
{
name
:
'address1_upszone'
,
},
{
name
:
'aging60'
,
},
{
name
:
'yomifirstname'
,
},
{
name
:
'address3_postofficebox'
,
},
{
name
:
'address2_city'
,
},
{
name
:
'processid'
,
},
{
name
:
'annualincome_base'
,
},
{
name
:
'address3_addressid'
,
},
{
name
:
'parentcustomeridyominame'
,
},
{
name
:
'contact'
,
prop
:
'contactid'
,
},
{
name
:
'aging60_base'
,
},
{
name
:
'address3_latitude'
,
},
{
name
:
'telephone3'
,
},
{
name
:
'address1_primarycontactname'
,
},
{
name
:
'address3_fax'
,
},
{
name
:
'preferredcontactmethodcode'
,
},
{
name
:
'address1_utcoffset'
,
},
{
name
:
'donotsendmm'
,
},
{
name
:
'address2_telephone3'
,
},
{
name
:
'address2_country'
,
},
{
name
:
'aging30'
,
},
{
name
:
'address2_postofficebox'
,
},
{
name
:
'telephone1'
,
},
{
name
:
'address3_longitude'
,
},
{
name
:
'lastusedincampaign'
,
},
{
name
:
'ftpsiteurl'
,
},
{
name
:
'aging30_base'
,
},
{
name
:
'address2_name'
,
},
{
name
:
'suffix'
,
},
{
name
:
'address1_county'
,
},
{
name
:
'address2_addresstypecode'
,
},
{
name
:
'address1_longitude'
,
},
{
name
:
'address3_line2'
,
},
{
name
:
'address1_addressid'
,
},
{
name
:
'address2_line3'
,
},
{
name
:
'address2_latitude'
,
},
{
name
:
'address2_line2'
,
},
{
name
:
'address1_shippingmethodcode'
,
},
{
name
:
'address3_freighttermscode'
,
},
{
name
:
'address1_postofficebox'
,
},
{
name
:
'utcconversiontimezonecode'
,
},
{
name
:
'address3_name'
,
},
{
name
:
'address1_latitude'
,
},
{
name
:
'numberofchildren'
,
},
{
name
:
'address2_primarycontactname'
,
},
{
name
:
'address1_postalcode'
,
},
{
name
:
'stageid'
,
},
{
name
:
'address1_country'
,
},
{
name
:
'emailaddress2'
,
},
{
name
:
'slaname'
,
},
{
name
:
'defaultpricelevelid'
,
},
{
name
:
'preferredequipmentid'
,
},
{
name
:
'transactioncurrencyid'
,
},
{
name
:
'slaid'
,
},
{
name
:
'originatingleadid'
,
},
{
name
:
'preferredserviceid'
,
},
{
name
:
'defaultpricelevelname'
,
},
{
name
:
'originatingleadname'
,
},
{
name
:
'transactioncurrencyname'
,
},
{
name
:
'preferredservicename'
,
},
{
name
:
'preferredequipmentname'
,
},
{
name
:
'customerid'
,
},
{
name
:
'cusomername'
,
},
]
}
}
\ No newline at end of file
app_CRM/src/widgets/contact/infotabexppanel-tabexppanel/infotabexppanel-tabexppanel-service.ts
0 → 100644
浏览文件 @
a988c15f
import
{
Http
,
Util
,
Errorlog
}
from
'@/utils'
;
import
ControlService
from
'@/widgets/control-service'
;
import
ContactService
from
'@/service/contact/contact-service'
;
import
InfotabexppanelModel
from
'./infotabexppanel-tabexppanel-model'
;
/**
* Infotabexppanel 部件服务对象
*
* @export
* @class InfotabexppanelService
*/
export
default
class
InfotabexppanelService
extends
ControlService
{
/**
* 联系人服务对象
*
* @type {ContactService}
* @memberof InfotabexppanelService
*/
public
appEntityService
:
ContactService
=
new
ContactService
({
$store
:
this
.
getStore
()
});
/**
* 设置从数据模式
*
* @type {boolean}
* @memberof InfotabexppanelService
*/
public
setTempMode
(){
this
.
isTempMode
=
false
;
}
/**
* Creates an instance of InfotabexppanelService.
*
* @param {*} [opts={}]
* @memberof InfotabexppanelService
*/
constructor
(
opts
:
any
=
{})
{
super
(
opts
);
this
.
model
=
new
InfotabexppanelModel
();
}
}
\ No newline at end of file
app_CRM/src/widgets/contact/infotabexppanel-tabexppanel/infotabexppanel-tabexppanel.less
0 → 100644
浏览文件 @
a988c15f
.tabexppanel {
--tabexppanel: 0;
}
// this is less
app_CRM/src/widgets/contact/infotabexppanel-tabexppanel/infotabexppanel-tabexppanel.vue
0 → 100644
浏览文件 @
a988c15f
<
script
lang=
'tsx'
>
import
{
Component
}
from
'vue-property-decorator'
;
import
InfotabexppanelBase
from
'./infotabexppanel-tabexppanel-base.vue'
;
import
view_tabviewpanel
from
'@widgets/contact/infotabviewpanel-tabviewpanel/infotabviewpanel-tabviewpanel.vue'
;
import
view_tabviewpanel4
from
'@widgets/contact/infotabviewpanel4-tabviewpanel/infotabviewpanel4-tabviewpanel.vue'
;
import
view_tabviewpanel2
from
'@widgets/contact/infotabviewpanel2-tabviewpanel/infotabviewpanel2-tabviewpanel.vue'
;
import
view_tabviewpanel3
from
'@widgets/contact/infotabviewpanel3-tabviewpanel/infotabviewpanel3-tabviewpanel.vue'
;
@
Component
({
components
:
{
view_tabviewpanel
,
view_tabviewpanel4
,
view_tabviewpanel2
,
view_tabviewpanel3
,
}
})
export
default
class
Infotabexppanel
extends
InfotabexppanelBase
{
}
</
script
>
\ No newline at end of file
app_CRM/src/widgets/contact/infotabviewpanel-tabviewpanel/infotabviewpanel-tabviewpanel-base.vue
0 → 100644
浏览文件 @
a988c15f
<
template
>
<div
class=
'tabviewpanel'
style=
"height:100%;"
v-if =
'isActivied'
>
<contact-summary
class=
'viewcontainer2'
:viewdata=
"viewdata"
:viewparam=
"viewparam"
@
viewload=
"viewDatasChange($event)"
:viewDefaultUsage=
"false"
>
</contact-summary>
</div>
</
template
>
<
script
lang=
'tsx'
>
import
{
Vue
,
Component
,
Prop
,
Provide
,
Emit
,
Watch
,
Model
}
from
'vue-property-decorator'
;
import
{
CreateElement
}
from
'vue'
;
import
{
Subject
,
Subscription
}
from
'rxjs'
;
import
{
ControlInterface
}
from
'@/interface/control'
;
import
{
UIActionTool
,
Util
}
from
'@/utils'
;
import
ContactService
from
'@/service/contact/contact-service'
;
import
InfotabviewpanelService
from
'./infotabviewpanel-tabviewpanel-service'
;
@
Component
({
components
:
{
}
})
export
default
class
InfotabviewpanelBase
extends
Vue
implements
ControlInterface
{
/**
* 名称
*
* @type {string}
* @memberof Infotabviewpanel
*/
@
Prop
()
public
name
?:
string
;
/**
* 视图通讯对象
*
* @type {Subject<ViewState>}
* @memberof Infotabviewpanel
*/
@
Prop
()
public
viewState
!
:
Subject
<
ViewState
>
;
/**
* 应用上下文
*
* @type {*}
* @memberof Infotabviewpanel
*/
@
Prop
()
public
context
:
any
;
/**
* 视图参数
*
* @type {*}
* @memberof Infotabviewpanel
*/
@
Prop
()
public
viewparams
:
any
;
/**
* 视图状态事件
*
* @public
* @type {(Subscription | undefined)}
* @memberof Infotabviewpanel
*/
public
viewStateEvent
:
Subscription
|
undefined
;
/**
* 获取部件类型
*
* @returns {string}
* @memberof Infotabviewpanel
*/
public
getControlType
():
string
{
return
'TABVIEWPANEL'
}
/**
* 建构部件服务对象
*
* @type {InfotabviewpanelService}
* @memberof Infotabviewpanel
*/
public
service
:
InfotabviewpanelService
=
new
InfotabviewpanelService
({
$store
:
this
.
$store
});
/**
* 实体服务对象
*
* @type {ContactService}
* @memberof Infotabviewpanel
*/
public
appEntityService
:
ContactService
=
new
ContactService
({
$store
:
this
.
$store
});
/**
* 关闭视图
*
* @param {any} args
* @memberof Infotabviewpanel
*/
public
closeView
(
args
:
any
):
void
{
let
_this
:
any
=
this
;
_this
.
$emit
(
'closeview'
,
[
args
]);
}
/**
* 计数器刷新
*
* @memberof Infotabviewpanel
*/
public
counterRefresh
(){
const
_this
:
any
=
this
;
if
(
_this
.
counterServiceArray
&&
_this
.
counterServiceArray
.
length
>
0
){
_this
.
counterServiceArray
.
forEach
((
item
:
any
)
=>
{
if
(
item
.
refreshData
&&
item
.
refreshData
instanceof
Function
){
item
.
refreshData
();
}
})
}
}
/**
* 获取多项数据
*
* @returns {any[]}
* @memberof Infotabviewpanel
*/
public
getDatas
():
any
[]
{
return
[];
}
/**
* 获取单项树
*
* @returns {*}
* @memberof Infotabviewpanel
*/
public
getData
():
any
{
return
null
;
}
/**
* 是否被激活
*
* @type {boolean}
* @memberof Infotabviewpanel
*/
public
isActivied
:
boolean
=
true
;
/**
* 局部上下文
*
* @type {*}
* @memberof Infotabviewpanel
*/
public
localContext
:
any
=
null
;
/**
* 局部视图参数
*
* @type {*}
* @memberof Infotabviewpanel
*/
public
localViewParam
:
any
=
null
;
/**
* 传入上下文
*
* @type {string}
* @memberof TabExpViewtabviewpanel
*/
public
viewdata
:
string
=
JSON
.
stringify
(
this
.
context
);
/**
* 传入视图参数
*
* @type {string}
* @memberof PickupViewpickupviewpanel
*/
public
viewparam
:
string
=
JSON
.
stringify
(
this
.
viewparams
);
/**
* 视图面板过滤项
*
* @type {string}
* @memberof Infotabviewpanel
*/
public
navfilter
:
string
=
""
;
/**
* vue 生命周期
*
* @returns
* @memberof Infotabviewpanel
*/
public
created
()
{
this
.
afterCreated
();
}
/**
* 执行created后的逻辑
*
* @memberof Infotabviewpanel
*/
public
afterCreated
(){
this
.
initNavParam
();
if
(
this
.
viewState
)
{
this
.
viewStateEvent
=
this
.
viewState
.
subscribe
(({
tag
,
action
,
data
})
=>
{
if
(
!
Object
.
is
(
tag
,
this
.
name
))
{
return
;
}
this
.
$forceUpdate
();
this
.
initNavParam
();
});
}
}
/**
* 初始化导航参数
*
* @memberof Infotabviewpanel
*/
public
initNavParam
(){
if
(
!
Object
.
is
(
this
.
navfilter
,
""
)){
Object
.
assign
(
this
.
viewparams
,{[
this
.
navfilter
]:
this
.
context
[
'majorentity'
]})
}
if
(
this
.
localContext
&&
Object
.
keys
(
this
.
localContext
).
length
>
0
){
let
_context
:
any
=
this
.
$util
.
computedNavData
({},
this
.
context
,
this
.
viewparams
,
this
.
localContext
);
Object
.
assign
(
this
.
context
,
_context
);
}
if
(
this
.
localViewParam
&&
Object
.
keys
(
this
.
localViewParam
).
length
>
0
){
let
_param
:
any
=
this
.
$util
.
computedNavData
({},
this
.
context
,
this
.
viewparams
,
this
.
localViewParam
);
Object
.
assign
(
this
.
viewparams
,
_param
);
}
this
.
viewdata
=
JSON
.
stringify
(
this
.
context
);
this
.
viewparam
=
JSON
.
stringify
(
this
.
viewparams
);
}
/**
* 视图数据变化
*
* @memberof Infotabviewpanel
*/
public
viewDatasChange
(
$event
:
any
){
this
.
$emit
(
'viewpanelDatasChange'
,
$event
);
}
/**
* vue 生命周期
*
* @memberof Infotabviewpanel
*/
public
destroyed
()
{
this
.
afterDestroy
();
}
/**
* 执行destroyed后的逻辑
*
* @memberof Infotabviewpanel
*/
public
afterDestroy
()
{
if
(
this
.
viewStateEvent
)
{
this
.
viewStateEvent
.
unsubscribe
();
}
}
}
</
script
>
<
style
lang=
'less'
>
@import './infotabviewpanel-tabviewpanel.less';
</
style
>
\ No newline at end of file
app_CRM/src/widgets/contact/infotabviewpanel-tabviewpanel/infotabviewpanel-tabviewpanel-model.ts
0 → 100644
浏览文件 @
a988c15f
/**
* Infotabviewpanel 部件模型
*
* @export
* @class InfotabviewpanelModel
*/
export
default
class
InfotabviewpanelModel
{
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof InfotabviewpanelModel
*/
public
getDataItems
():
any
[]
{
return
[
{
name
:
'address1_freighttermscode'
,
},
{
name
:
'address3_city'
,
},
{
name
:
'department'
,
},
{
name
:
'parentcustomeridtype'
,
},
{
name
:
'address1_stateorprovince'
,
},
{
name
:
'aging90_base'
,
},
{
name
:
'accountidyominame'
,
},
{
name
:
'donotbulkpostalmail'
,
},
{
name
:
'managername'
,
},
{
name
:
'donotpostalmail'
,
},
{
name
:
'spousesname'
,
},
{
name
:
'familystatuscode'
,
},
{
name
:
'owneridtype'
,
},
{
name
:
'address3_composite'
,
},
{
name
:
'address3_shippingmethodcode'
,
},
{
name
:
'lastname'
,
},
{
name
:
'lastonholdtime'
,
},
{
name
:
'educationcode'
,
},
{
name
:
'address2_line1'
,
},
{
name
:
'birthdate'
,
},
{
name
:
'owneridyominame'
,
},
{
name
:
'haschildrencode'
,
},
{
name
:
'company'
,
},
{
name
:
'address2_fax'
,
},
{
name
:
'assistantphone'
,
},
{
name
:
'callback'
,
},
{
name
:
'paymenttermscode'
,
},
{
name
:
'address2_telephone1'
,
},
{
name
:
'marketingonly'
,
},
{
name
:
'address2_utcoffset'
,
},
{
name
:
'address2_shippingmethodcode'
,
},
{
name
:
'traversedpath'
,
},
{
name
:
'employeeid'
,
},
{
name
:
'creditlimit_base'
,
},
{
name
:
'followemail'
,
},
{
name
:
'address3_postalcode'
,
},
{
name
:
'merged'
,
},
{
name
:
'jobtitle'
,
},
{
name
:
'address1_telephone1'
,
},
{
name
:
'customersizecode'
,
},
{
name
:
'address3_addresstypecode'
,
},
{
name
:
'pager'
,
},
{
name
:
'assistantname'
,
},
{
name
:
'address1_composite'
,
},
{
name
:
'address1_line1'
,
},
{
name
:
'yomimiddlename'
,
},
{
name
:
'address1_telephone3'
,
},
{
name
:
'telephone2'
,
},
{
name
:
'address2_addressid'
,
},
{
name
:
'parentcontactidyominame'
,
},
{
name
:
'leadsourcecode'
,
},
{
name
:
'statecode'
,
},
{
name
:
'address2_freighttermscode'
,
},
{
name
:
'emailaddress1'
,
},
{
name
:
'entityimage_timestamp'
,
},
{
name
:
'address3_line1'
,
},
{
name
:
'salutation'
,
},
{
name
:
'address1_line3'
,
},
{
name
:
'address3_primarycontactname'
,
},
{
name
:
'ibizprivate'
,
},
{
name
:
'donotfax'
,
},
{
name
:
'createdate'
,
},
{
name
:
'preferredsystemuseridyominame'
,
},
{
name
:
'updatedate'
,
},
{
name
:
'address3_stateorprovince'
,
},
{
name
:
'address3_line3'
,
},
{
name
:
'creditlimit'
,
},
{
name
:
'timezoneruleversionnumber'
,
},
{
name
:
'parentcustomerid'
,
},
{
name
:
'childrensnames'
,
},
{
name
:
'address1_addresstypecode'
,
},
{
name
:
'accountrolecode'
,
},
{
name
:
'donotphone'
,
},
{
name
:
'managerphone'
,
},
{
name
:
'creditonhold'
,
},
{
name
:
'updateman'
,
},
{
name
:
'address2_postalcode'
,
},
{
name
:
'address1_line2'
,
},
{
name
:
'nickname'
,
},
{
name
:
'versionnumber'
,
},
{
name
:
'yomifullname'
,
},
{
name
:
'entityimage'
,
},
{
name
:
'shippingmethodcode'
,
},
{
name
:
'customertypecode'
,
},
{
name
:
'address2_county'
,
},
{
name
:
'aging90'
,
},
{
name
:
'address2_stateorprovince'
,
},
{
name
:
'address3_utcoffset'
,
},
{
name
:
'fullname'
,
},
{
name
:
'participatesinworkflow'
,
},
{
name
:
'websiteurl'
,
},
{
name
:
'description'
,
},
{
name
:
'address3_telephone1'
,
},
{
name
:
'address2_upszone'
,
},
{
name
:
'address3_county'
,
},
{
name
:
'entityimage_url'
,
},
{
name
:
'address3_upszone'
,
},
{
name
:
'address1_name'
,
},
{
name
:
'mastercontactidyominame'
,
},
{
name
:
'autocreate'
,
},
{
name
:
'backofficecustomer'
,
},
{
name
:
'address2_longitude'
,
},
{
name
:
'address1_fax'
,
},
{
name
:
'exchangerate'
,
},
{
name
:
'address1_city'
,
},
{
name
:
'entityimageid'
,
},
{
name
:
'address1_telephone2'
,
},
{
name
:
'address2_composite'
,
},
{
name
:
'importsequencenumber'
,
},
{
name
:
'gendercode'
,
},
{
name
:
'annualincome'
,
},
{
name
:
'subscriptionid'
,
},
{
name
:
'territorycode'
,
},
{
name
:
'firstname'
,
},
{
name
:
'overriddencreatedon'
,
},
{
name
:
'address3_country'
,
},
{
name
:
'yomilastname'
,
},
{
name
:
'donotbulkemail'
,
},
{
name
:
'address3_telephone2'
,
},
{
name
:
'ownerid'
,
},
{
name
:
'externaluseridentifier'
,
},
{
name
:
'teamsfollowed'
,
},
{
name
:
'donotemail'
,
},
{
name
:
'anniversary'
,
},
{
name
:
'preferredappointmentdaycode'
,
},
{
name
:
'middlename'
,
},
{
name
:
'emailaddress3'
,
},
{
name
:
'address2_telephone2'
,
},
{
name
:
'fax'
,
},
{
name
:
'mobilephone'
,
},
{
name
:
'home2'
,
},
{
name
:
'createman'
,
},
{
name
:
'onholdtime'
,
},
{
name
:
'preferredappointmenttimecode'
,
},
{
name
:
'statuscode'
,
},
{
name
:
'governmentid'
,
},
{
name
:
'address3_telephone3'
,
},
{
name
:
'business2'
,
},
{
name
:
'preferredsystemuserid'
,
},
{
name
:
'address1_upszone'
,
},
{
name
:
'aging60'
,
},
{
name
:
'yomifirstname'
,
},
{
name
:
'address3_postofficebox'
,
},
{
name
:
'address2_city'
,
},
{
name
:
'processid'
,
},
{
name
:
'annualincome_base'
,
},
{
name
:
'address3_addressid'
,
},
{
name
:
'parentcustomeridyominame'
,
},
{
name
:
'contact'
,
prop
:
'contactid'
,
},
{
name
:
'aging60_base'
,
},
{
name
:
'address3_latitude'
,
},
{
name
:
'telephone3'
,
},
{
name
:
'address1_primarycontactname'
,
},
{
name
:
'address3_fax'
,
},
{
name
:
'preferredcontactmethodcode'
,
},
{
name
:
'address1_utcoffset'
,
},
{
name
:
'donotsendmm'
,
},
{
name
:
'address2_telephone3'
,
},
{
name
:
'address2_country'
,
},
{
name
:
'aging30'
,
},
{
name
:
'address2_postofficebox'
,
},
{
name
:
'telephone1'
,
},
{
name
:
'address3_longitude'
,
},
{
name
:
'lastusedincampaign'
,
},
{
name
:
'ftpsiteurl'
,
},
{
name
:
'aging30_base'
,
},
{
name
:
'address2_name'
,
},
{
name
:
'suffix'
,
},
{
name
:
'address1_county'
,
},
{
name
:
'address2_addresstypecode'
,
},
{
name
:
'address1_longitude'
,
},
{
name
:
'address3_line2'
,
},
{
name
:
'address1_addressid'
,
},
{
name
:
'address2_line3'
,
},
{
name
:
'address2_latitude'
,
},
{
name
:
'address2_line2'
,
},
{
name
:
'address1_shippingmethodcode'
,
},
{
name
:
'address3_freighttermscode'
,
},
{
name
:
'address1_postofficebox'
,
},
{
name
:
'utcconversiontimezonecode'
,
},
{
name
:
'address3_name'
,
},
{
name
:
'address1_latitude'
,
},
{
name
:
'numberofchildren'
,
},
{
name
:
'address2_primarycontactname'
,
},
{
name
:
'address1_postalcode'
,
},
{
name
:
'stageid'
,
},
{
name
:
'address1_country'
,
},
{
name
:
'emailaddress2'
,
},
{
name
:
'slaname'
,
},
{
name
:
'defaultpricelevelid'
,
},
{
name
:
'preferredequipmentid'
,
},
{
name
:
'transactioncurrencyid'
,
},
{
name
:
'slaid'
,
},
{
name
:
'originatingleadid'
,
},
{
name
:
'preferredserviceid'
,
},
{
name
:
'defaultpricelevelname'
,
},
{
name
:
'originatingleadname'
,
},
{
name
:
'transactioncurrencyname'
,
},
{
name
:
'preferredservicename'
,
},
{
name
:
'preferredequipmentname'
,
},
{
name
:
'customerid'
,
},
{
name
:
'cusomername'
,
},
]
}
}
\ No newline at end of file
app_CRM/src/widgets/contact/infotabviewpanel-tabviewpanel/infotabviewpanel-tabviewpanel-service.ts
0 → 100644
浏览文件 @
a988c15f
import
{
Http
}
from
'@/utils'
;
import
ControlService
from
'@/widgets/control-service'
;
/**
* Infotabviewpanel 部件服务对象
*
* @export
* @class InfotabviewpanelService
*/
export
default
class
InfotabviewpanelService
extends
ControlService
{
}
\ No newline at end of file
app_CRM/src/widgets/contact/infotabviewpanel-tabviewpanel/infotabviewpanel-tabviewpanel.less
0 → 100644
浏览文件 @
a988c15f
// this is less
app_CRM/src/widgets/contact/infotabviewpanel-tabviewpanel/infotabviewpanel-tabviewpanel.vue
0 → 100644
浏览文件 @
a988c15f
<
script
lang=
'tsx'
>
import
{
Component
}
from
'vue-property-decorator'
;
import
InfotabviewpanelBase
from
'./infotabviewpanel-tabviewpanel-base.vue'
;
@
Component
({
components
:
{
}
})
export
default
class
Infotabviewpanel
extends
InfotabviewpanelBase
{
}
</
script
>
\ No newline at end of file
app_CRM/src/widgets/contact/infotabviewpanel2-tabviewpanel/infotabviewpanel2-tabviewpanel-base.vue
0 → 100644
浏览文件 @
a988c15f
<
template
>
<div
class=
'tabviewpanel'
style=
"height:100%;"
v-if =
'isActivied'
>
<lead-grid-view
class=
'viewcontainer2'
:viewdata=
"viewdata"
:viewparam=
"viewparam"
@
viewload=
"viewDatasChange($event)"
:viewDefaultUsage=
"false"
>
</lead-grid-view>
</div>
</
template
>
<
script
lang=
'tsx'
>
import
{
Vue
,
Component
,
Prop
,
Provide
,
Emit
,
Watch
,
Model
}
from
'vue-property-decorator'
;
import
{
CreateElement
}
from
'vue'
;
import
{
Subject
,
Subscription
}
from
'rxjs'
;
import
{
ControlInterface
}
from
'@/interface/control'
;
import
{
UIActionTool
,
Util
}
from
'@/utils'
;
import
ContactService
from
'@/service/contact/contact-service'
;
import
Infotabviewpanel2Service
from
'./infotabviewpanel2-tabviewpanel-service'
;
@
Component
({
components
:
{
}
})
export
default
class
Infotabviewpanel2Base
extends
Vue
implements
ControlInterface
{
/**
* 名称
*
* @type {string}
* @memberof Infotabviewpanel2
*/
@
Prop
()
public
name
?:
string
;
/**
* 视图通讯对象
*
* @type {Subject<ViewState>}
* @memberof Infotabviewpanel2
*/
@
Prop
()
public
viewState
!
:
Subject
<
ViewState
>
;
/**
* 应用上下文
*
* @type {*}
* @memberof Infotabviewpanel2
*/
@
Prop
()
public
context
:
any
;
/**
* 视图参数
*
* @type {*}
* @memberof Infotabviewpanel2
*/
@
Prop
()
public
viewparams
:
any
;
/**
* 视图状态事件
*
* @public
* @type {(Subscription | undefined)}
* @memberof Infotabviewpanel2
*/
public
viewStateEvent
:
Subscription
|
undefined
;
/**
* 获取部件类型
*
* @returns {string}
* @memberof Infotabviewpanel2
*/
public
getControlType
():
string
{
return
'TABVIEWPANEL'
}
/**
* 建构部件服务对象
*
* @type {Infotabviewpanel2Service}
* @memberof Infotabviewpanel2
*/
public
service
:
Infotabviewpanel2Service
=
new
Infotabviewpanel2Service
({
$store
:
this
.
$store
});
/**
* 实体服务对象
*
* @type {ContactService}
* @memberof Infotabviewpanel2
*/
public
appEntityService
:
ContactService
=
new
ContactService
({
$store
:
this
.
$store
});
/**
* 关闭视图
*
* @param {any} args
* @memberof Infotabviewpanel2
*/
public
closeView
(
args
:
any
):
void
{
let
_this
:
any
=
this
;
_this
.
$emit
(
'closeview'
,
[
args
]);
}
/**
* 计数器刷新
*
* @memberof Infotabviewpanel2
*/
public
counterRefresh
(){
const
_this
:
any
=
this
;
if
(
_this
.
counterServiceArray
&&
_this
.
counterServiceArray
.
length
>
0
){
_this
.
counterServiceArray
.
forEach
((
item
:
any
)
=>
{
if
(
item
.
refreshData
&&
item
.
refreshData
instanceof
Function
){
item
.
refreshData
();
}
})
}
}
/**
* 获取多项数据
*
* @returns {any[]}
* @memberof Infotabviewpanel2
*/
public
getDatas
():
any
[]
{
return
[];
}
/**
* 获取单项树
*
* @returns {*}
* @memberof Infotabviewpanel2
*/
public
getData
():
any
{
return
null
;
}
/**
* 是否被激活
*
* @type {boolean}
* @memberof Infotabviewpanel2
*/
public
isActivied
:
boolean
=
true
;
/**
* 局部上下文
*
* @type {*}
* @memberof Infotabviewpanel2
*/
public
localContext
:
any
=
null
;
/**
* 局部视图参数
*
* @type {*}
* @memberof Infotabviewpanel2
*/
public
localViewParam
:
any
=
null
;
/**
* 传入上下文
*
* @type {string}
* @memberof TabExpViewtabviewpanel
*/
public
viewdata
:
string
=
JSON
.
stringify
(
this
.
context
);
/**
* 传入视图参数
*
* @type {string}
* @memberof PickupViewpickupviewpanel
*/
public
viewparam
:
string
=
JSON
.
stringify
(
this
.
viewparams
);
/**
* 视图面板过滤项
*
* @type {string}
* @memberof Infotabviewpanel2
*/
public
navfilter
:
string
=
""
;
/**
* vue 生命周期
*
* @returns
* @memberof Infotabviewpanel2
*/
public
created
()
{
this
.
afterCreated
();
}
/**
* 执行created后的逻辑
*
* @memberof Infotabviewpanel2
*/
public
afterCreated
(){
this
.
initNavParam
();
if
(
this
.
viewState
)
{
this
.
viewStateEvent
=
this
.
viewState
.
subscribe
(({
tag
,
action
,
data
})
=>
{
if
(
!
Object
.
is
(
tag
,
this
.
name
))
{
return
;
}
this
.
$forceUpdate
();
this
.
initNavParam
();
});
}
}
/**
* 初始化导航参数
*
* @memberof Infotabviewpanel2
*/
public
initNavParam
(){
if
(
!
Object
.
is
(
this
.
navfilter
,
""
)){
Object
.
assign
(
this
.
viewparams
,{[
this
.
navfilter
]:
this
.
context
[
'majorentity'
]})
}
if
(
this
.
localContext
&&
Object
.
keys
(
this
.
localContext
).
length
>
0
){
let
_context
:
any
=
this
.
$util
.
computedNavData
({},
this
.
context
,
this
.
viewparams
,
this
.
localContext
);
Object
.
assign
(
this
.
context
,
_context
);
}
if
(
this
.
localViewParam
&&
Object
.
keys
(
this
.
localViewParam
).
length
>
0
){
let
_param
:
any
=
this
.
$util
.
computedNavData
({},
this
.
context
,
this
.
viewparams
,
this
.
localViewParam
);
Object
.
assign
(
this
.
viewparams
,
_param
);
}
this
.
viewdata
=
JSON
.
stringify
(
this
.
context
);
this
.
viewparam
=
JSON
.
stringify
(
this
.
viewparams
);
}
/**
* 视图数据变化
*
* @memberof Infotabviewpanel2
*/
public
viewDatasChange
(
$event
:
any
){
this
.
$emit
(
'viewpanelDatasChange'
,
$event
);
}
/**
* vue 生命周期
*
* @memberof Infotabviewpanel2
*/
public
destroyed
()
{
this
.
afterDestroy
();
}
/**
* 执行destroyed后的逻辑
*
* @memberof Infotabviewpanel2
*/
public
afterDestroy
()
{
if
(
this
.
viewStateEvent
)
{
this
.
viewStateEvent
.
unsubscribe
();
}
}
}
</
script
>
<
style
lang=
'less'
>
@import './infotabviewpanel2-tabviewpanel.less';
</
style
>
\ No newline at end of file
app_CRM/src/widgets/contact/infotabviewpanel2-tabviewpanel/infotabviewpanel2-tabviewpanel-model.ts
0 → 100644
浏览文件 @
a988c15f
/**
* Infotabviewpanel2 部件模型
*
* @export
* @class Infotabviewpanel2Model
*/
export
default
class
Infotabviewpanel2Model
{
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof Infotabviewpanel2Model
*/
public
getDataItems
():
any
[]
{
return
[
{
name
:
'address1_freighttermscode'
,
},
{
name
:
'address3_city'
,
},
{
name
:
'department'
,
},
{
name
:
'parentcustomeridtype'
,
},
{
name
:
'address1_stateorprovince'
,
},
{
name
:
'aging90_base'
,
},
{
name
:
'accountidyominame'
,
},
{
name
:
'donotbulkpostalmail'
,
},
{
name
:
'managername'
,
},
{
name
:
'donotpostalmail'
,
},
{
name
:
'spousesname'
,
},
{
name
:
'familystatuscode'
,
},
{
name
:
'owneridtype'
,
},
{
name
:
'address3_composite'
,
},
{
name
:
'address3_shippingmethodcode'
,
},
{
name
:
'lastname'
,
},
{
name
:
'lastonholdtime'
,
},
{
name
:
'educationcode'
,
},
{
name
:
'address2_line1'
,
},
{
name
:
'birthdate'
,
},
{
name
:
'owneridyominame'
,
},
{
name
:
'haschildrencode'
,
},
{
name
:
'company'
,
},
{
name
:
'address2_fax'
,
},
{
name
:
'assistantphone'
,
},
{
name
:
'callback'
,
},
{
name
:
'paymenttermscode'
,
},
{
name
:
'address2_telephone1'
,
},
{
name
:
'marketingonly'
,
},
{
name
:
'address2_utcoffset'
,
},
{
name
:
'address2_shippingmethodcode'
,
},
{
name
:
'traversedpath'
,
},
{
name
:
'employeeid'
,
},
{
name
:
'creditlimit_base'
,
},
{
name
:
'followemail'
,
},
{
name
:
'address3_postalcode'
,
},
{
name
:
'merged'
,
},
{
name
:
'jobtitle'
,
},
{
name
:
'address1_telephone1'
,
},
{
name
:
'customersizecode'
,
},
{
name
:
'address3_addresstypecode'
,
},
{
name
:
'pager'
,
},
{
name
:
'assistantname'
,
},
{
name
:
'address1_composite'
,
},
{
name
:
'address1_line1'
,
},
{
name
:
'yomimiddlename'
,
},
{
name
:
'address1_telephone3'
,
},
{
name
:
'telephone2'
,
},
{
name
:
'address2_addressid'
,
},
{
name
:
'parentcontactidyominame'
,
},
{
name
:
'leadsourcecode'
,
},
{
name
:
'statecode'
,
},
{
name
:
'address2_freighttermscode'
,
},
{
name
:
'emailaddress1'
,
},
{
name
:
'entityimage_timestamp'
,
},
{
name
:
'address3_line1'
,
},
{
name
:
'salutation'
,
},
{
name
:
'address1_line3'
,
},
{
name
:
'address3_primarycontactname'
,
},
{
name
:
'ibizprivate'
,
},
{
name
:
'donotfax'
,
},
{
name
:
'createdate'
,
},
{
name
:
'preferredsystemuseridyominame'
,
},
{
name
:
'updatedate'
,
},
{
name
:
'address3_stateorprovince'
,
},
{
name
:
'address3_line3'
,
},
{
name
:
'creditlimit'
,
},
{
name
:
'timezoneruleversionnumber'
,
},
{
name
:
'parentcustomerid'
,
},
{
name
:
'childrensnames'
,
},
{
name
:
'address1_addresstypecode'
,
},
{
name
:
'accountrolecode'
,
},
{
name
:
'donotphone'
,
},
{
name
:
'managerphone'
,
},
{
name
:
'creditonhold'
,
},
{
name
:
'updateman'
,
},
{
name
:
'address2_postalcode'
,
},
{
name
:
'address1_line2'
,
},
{
name
:
'nickname'
,
},
{
name
:
'versionnumber'
,
},
{
name
:
'yomifullname'
,
},
{
name
:
'entityimage'
,
},
{
name
:
'shippingmethodcode'
,
},
{
name
:
'customertypecode'
,
},
{
name
:
'address2_county'
,
},
{
name
:
'aging90'
,
},
{
name
:
'address2_stateorprovince'
,
},
{
name
:
'address3_utcoffset'
,
},
{
name
:
'fullname'
,
},
{
name
:
'participatesinworkflow'
,
},
{
name
:
'websiteurl'
,
},
{
name
:
'description'
,
},
{
name
:
'address3_telephone1'
,
},
{
name
:
'address2_upszone'
,
},
{
name
:
'address3_county'
,
},
{
name
:
'entityimage_url'
,
},
{
name
:
'address3_upszone'
,
},
{
name
:
'address1_name'
,
},
{
name
:
'mastercontactidyominame'
,
},
{
name
:
'autocreate'
,
},
{
name
:
'backofficecustomer'
,
},
{
name
:
'address2_longitude'
,
},
{
name
:
'address1_fax'
,
},
{
name
:
'exchangerate'
,
},
{
name
:
'address1_city'
,
},
{
name
:
'entityimageid'
,
},
{
name
:
'address1_telephone2'
,
},
{
name
:
'address2_composite'
,
},
{
name
:
'importsequencenumber'
,
},
{
name
:
'gendercode'
,
},
{
name
:
'annualincome'
,
},
{
name
:
'subscriptionid'
,
},
{
name
:
'territorycode'
,
},
{
name
:
'firstname'
,
},
{
name
:
'overriddencreatedon'
,
},
{
name
:
'address3_country'
,
},
{
name
:
'yomilastname'
,
},
{
name
:
'donotbulkemail'
,
},
{
name
:
'address3_telephone2'
,
},
{
name
:
'ownerid'
,
},
{
name
:
'externaluseridentifier'
,
},
{
name
:
'teamsfollowed'
,
},
{
name
:
'donotemail'
,
},
{
name
:
'anniversary'
,
},
{
name
:
'preferredappointmentdaycode'
,
},
{
name
:
'middlename'
,
},
{
name
:
'emailaddress3'
,
},
{
name
:
'address2_telephone2'
,
},
{
name
:
'fax'
,
},
{
name
:
'mobilephone'
,
},
{
name
:
'home2'
,
},
{
name
:
'createman'
,
},
{
name
:
'onholdtime'
,
},
{
name
:
'preferredappointmenttimecode'
,
},
{
name
:
'statuscode'
,
},
{
name
:
'governmentid'
,
},
{
name
:
'address3_telephone3'
,
},
{
name
:
'business2'
,
},
{
name
:
'preferredsystemuserid'
,
},
{
name
:
'address1_upszone'
,
},
{
name
:
'aging60'
,
},
{
name
:
'yomifirstname'
,
},
{
name
:
'address3_postofficebox'
,
},
{
name
:
'address2_city'
,
},
{
name
:
'processid'
,
},
{
name
:
'annualincome_base'
,
},
{
name
:
'address3_addressid'
,
},
{
name
:
'parentcustomeridyominame'
,
},
{
name
:
'contact'
,
prop
:
'contactid'
,
},
{
name
:
'aging60_base'
,
},
{
name
:
'address3_latitude'
,
},
{
name
:
'telephone3'
,
},
{
name
:
'address1_primarycontactname'
,
},
{
name
:
'address3_fax'
,
},
{
name
:
'preferredcontactmethodcode'
,
},
{
name
:
'address1_utcoffset'
,
},
{
name
:
'donotsendmm'
,
},
{
name
:
'address2_telephone3'
,
},
{
name
:
'address2_country'
,
},
{
name
:
'aging30'
,
},
{
name
:
'address2_postofficebox'
,
},
{
name
:
'telephone1'
,
},
{
name
:
'address3_longitude'
,
},
{
name
:
'lastusedincampaign'
,
},
{
name
:
'ftpsiteurl'
,
},
{
name
:
'aging30_base'
,
},
{
name
:
'address2_name'
,
},
{
name
:
'suffix'
,
},
{
name
:
'address1_county'
,
},
{
name
:
'address2_addresstypecode'
,
},
{
name
:
'address1_longitude'
,
},
{
name
:
'address3_line2'
,
},
{
name
:
'address1_addressid'
,
},
{
name
:
'address2_line3'
,
},
{
name
:
'address2_latitude'
,
},
{
name
:
'address2_line2'
,
},
{
name
:
'address1_shippingmethodcode'
,
},
{
name
:
'address3_freighttermscode'
,
},
{
name
:
'address1_postofficebox'
,
},
{
name
:
'utcconversiontimezonecode'
,
},
{
name
:
'address3_name'
,
},
{
name
:
'address1_latitude'
,
},
{
name
:
'numberofchildren'
,
},
{
name
:
'address2_primarycontactname'
,
},
{
name
:
'address1_postalcode'
,
},
{
name
:
'stageid'
,
},
{
name
:
'address1_country'
,
},
{
name
:
'emailaddress2'
,
},
{
name
:
'slaname'
,
},
{
name
:
'defaultpricelevelid'
,
},
{
name
:
'preferredequipmentid'
,
},
{
name
:
'transactioncurrencyid'
,
},
{
name
:
'slaid'
,
},
{
name
:
'originatingleadid'
,
},
{
name
:
'preferredserviceid'
,
},
{
name
:
'defaultpricelevelname'
,
},
{
name
:
'originatingleadname'
,
},
{
name
:
'transactioncurrencyname'
,
},
{
name
:
'preferredservicename'
,
},
{
name
:
'preferredequipmentname'
,
},
{
name
:
'customerid'
,
},
{
name
:
'cusomername'
,
},
]
}
}
\ No newline at end of file
app_CRM/src/widgets/contact/infotabviewpanel2-tabviewpanel/infotabviewpanel2-tabviewpanel-service.ts
0 → 100644
浏览文件 @
a988c15f
import
{
Http
}
from
'@/utils'
;
import
ControlService
from
'@/widgets/control-service'
;
/**
* Infotabviewpanel2 部件服务对象
*
* @export
* @class Infotabviewpanel2Service
*/
export
default
class
Infotabviewpanel2Service
extends
ControlService
{
}
\ No newline at end of file
app_CRM/src/widgets/contact/infotabviewpanel2-tabviewpanel/infotabviewpanel2-tabviewpanel.less
0 → 100644
浏览文件 @
a988c15f
// this is less
app_CRM/src/widgets/contact/infotabviewpanel2-tabviewpanel/infotabviewpanel2-tabviewpanel.vue
0 → 100644
浏览文件 @
a988c15f
<
script
lang=
'tsx'
>
import
{
Component
}
from
'vue-property-decorator'
;
import
Infotabviewpanel2Base
from
'./infotabviewpanel2-tabviewpanel-base.vue'
;
@
Component
({
components
:
{
}
})
export
default
class
Infotabviewpanel2
extends
Infotabviewpanel2Base
{
}
</
script
>
\ No newline at end of file
app_CRM/src/widgets/contact/infotabviewpanel3-tabviewpanel/infotabviewpanel3-tabviewpanel-base.vue
0 → 100644
浏览文件 @
a988c15f
<
template
>
<div
class=
'tabviewpanel'
style=
"height:100%;"
v-if =
'isActivied'
>
<opportunity-grid-view
class=
'viewcontainer2'
:viewdata=
"viewdata"
:viewparam=
"viewparam"
@
viewload=
"viewDatasChange($event)"
:viewDefaultUsage=
"false"
>
</opportunity-grid-view>
</div>
</
template
>
<
script
lang=
'tsx'
>
import
{
Vue
,
Component
,
Prop
,
Provide
,
Emit
,
Watch
,
Model
}
from
'vue-property-decorator'
;
import
{
CreateElement
}
from
'vue'
;
import
{
Subject
,
Subscription
}
from
'rxjs'
;
import
{
ControlInterface
}
from
'@/interface/control'
;
import
{
UIActionTool
,
Util
}
from
'@/utils'
;
import
ContactService
from
'@/service/contact/contact-service'
;
import
Infotabviewpanel3Service
from
'./infotabviewpanel3-tabviewpanel-service'
;
@
Component
({
components
:
{
}
})
export
default
class
Infotabviewpanel3Base
extends
Vue
implements
ControlInterface
{
/**
* 名称
*
* @type {string}
* @memberof Infotabviewpanel3
*/
@
Prop
()
public
name
?:
string
;
/**
* 视图通讯对象
*
* @type {Subject<ViewState>}
* @memberof Infotabviewpanel3
*/
@
Prop
()
public
viewState
!
:
Subject
<
ViewState
>
;
/**
* 应用上下文
*
* @type {*}
* @memberof Infotabviewpanel3
*/
@
Prop
()
public
context
:
any
;
/**
* 视图参数
*
* @type {*}
* @memberof Infotabviewpanel3
*/
@
Prop
()
public
viewparams
:
any
;
/**
* 视图状态事件
*
* @public
* @type {(Subscription | undefined)}
* @memberof Infotabviewpanel3
*/
public
viewStateEvent
:
Subscription
|
undefined
;
/**
* 获取部件类型
*
* @returns {string}
* @memberof Infotabviewpanel3
*/
public
getControlType
():
string
{
return
'TABVIEWPANEL'
}
/**
* 建构部件服务对象
*
* @type {Infotabviewpanel3Service}
* @memberof Infotabviewpanel3
*/
public
service
:
Infotabviewpanel3Service
=
new
Infotabviewpanel3Service
({
$store
:
this
.
$store
});
/**
* 实体服务对象
*
* @type {ContactService}
* @memberof Infotabviewpanel3
*/
public
appEntityService
:
ContactService
=
new
ContactService
({
$store
:
this
.
$store
});
/**
* 关闭视图
*
* @param {any} args
* @memberof Infotabviewpanel3
*/
public
closeView
(
args
:
any
):
void
{
let
_this
:
any
=
this
;
_this
.
$emit
(
'closeview'
,
[
args
]);
}
/**
* 计数器刷新
*
* @memberof Infotabviewpanel3
*/
public
counterRefresh
(){
const
_this
:
any
=
this
;
if
(
_this
.
counterServiceArray
&&
_this
.
counterServiceArray
.
length
>
0
){
_this
.
counterServiceArray
.
forEach
((
item
:
any
)
=>
{
if
(
item
.
refreshData
&&
item
.
refreshData
instanceof
Function
){
item
.
refreshData
();
}
})
}
}
/**
* 获取多项数据
*
* @returns {any[]}
* @memberof Infotabviewpanel3
*/
public
getDatas
():
any
[]
{
return
[];
}
/**
* 获取单项树
*
* @returns {*}
* @memberof Infotabviewpanel3
*/
public
getData
():
any
{
return
null
;
}
/**
* 是否被激活
*
* @type {boolean}
* @memberof Infotabviewpanel3
*/
public
isActivied
:
boolean
=
true
;
/**
* 局部上下文
*
* @type {*}
* @memberof Infotabviewpanel3
*/
public
localContext
:
any
=
null
;
/**
* 局部视图参数
*
* @type {*}
* @memberof Infotabviewpanel3
*/
public
localViewParam
:
any
=
null
;
/**
* 传入上下文
*
* @type {string}
* @memberof TabExpViewtabviewpanel
*/
public
viewdata
:
string
=
JSON
.
stringify
(
this
.
context
);
/**
* 传入视图参数
*
* @type {string}
* @memberof PickupViewpickupviewpanel
*/
public
viewparam
:
string
=
JSON
.
stringify
(
this
.
viewparams
);
/**
* 视图面板过滤项
*
* @type {string}
* @memberof Infotabviewpanel3
*/
public
navfilter
:
string
=
""
;
/**
* vue 生命周期
*
* @returns
* @memberof Infotabviewpanel3
*/
public
created
()
{
this
.
afterCreated
();
}
/**
* 执行created后的逻辑
*
* @memberof Infotabviewpanel3
*/
public
afterCreated
(){
this
.
initNavParam
();
if
(
this
.
viewState
)
{
this
.
viewStateEvent
=
this
.
viewState
.
subscribe
(({
tag
,
action
,
data
})
=>
{
if
(
!
Object
.
is
(
tag
,
this
.
name
))
{
return
;
}
this
.
$forceUpdate
();
this
.
initNavParam
();
});
}
}
/**
* 初始化导航参数
*
* @memberof Infotabviewpanel3
*/
public
initNavParam
(){
if
(
!
Object
.
is
(
this
.
navfilter
,
""
)){
Object
.
assign
(
this
.
viewparams
,{[
this
.
navfilter
]:
this
.
context
[
'majorentity'
]})
}
if
(
this
.
localContext
&&
Object
.
keys
(
this
.
localContext
).
length
>
0
){
let
_context
:
any
=
this
.
$util
.
computedNavData
({},
this
.
context
,
this
.
viewparams
,
this
.
localContext
);
Object
.
assign
(
this
.
context
,
_context
);
}
if
(
this
.
localViewParam
&&
Object
.
keys
(
this
.
localViewParam
).
length
>
0
){
let
_param
:
any
=
this
.
$util
.
computedNavData
({},
this
.
context
,
this
.
viewparams
,
this
.
localViewParam
);
Object
.
assign
(
this
.
viewparams
,
_param
);
}
this
.
viewdata
=
JSON
.
stringify
(
this
.
context
);
this
.
viewparam
=
JSON
.
stringify
(
this
.
viewparams
);
}
/**
* 视图数据变化
*
* @memberof Infotabviewpanel3
*/
public
viewDatasChange
(
$event
:
any
){
this
.
$emit
(
'viewpanelDatasChange'
,
$event
);
}
/**
* vue 生命周期
*
* @memberof Infotabviewpanel3
*/
public
destroyed
()
{
this
.
afterDestroy
();
}
/**
* 执行destroyed后的逻辑
*
* @memberof Infotabviewpanel3
*/
public
afterDestroy
()
{
if
(
this
.
viewStateEvent
)
{
this
.
viewStateEvent
.
unsubscribe
();
}
}
}
</
script
>
<
style
lang=
'less'
>
@import './infotabviewpanel3-tabviewpanel.less';
</
style
>
\ No newline at end of file
app_CRM/src/widgets/contact/infotabviewpanel3-tabviewpanel/infotabviewpanel3-tabviewpanel-model.ts
0 → 100644
浏览文件 @
a988c15f
/**
* Infotabviewpanel3 部件模型
*
* @export
* @class Infotabviewpanel3Model
*/
export
default
class
Infotabviewpanel3Model
{
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof Infotabviewpanel3Model
*/
public
getDataItems
():
any
[]
{
return
[
{
name
:
'address1_freighttermscode'
,
},
{
name
:
'address3_city'
,
},
{
name
:
'department'
,
},
{
name
:
'parentcustomeridtype'
,
},
{
name
:
'address1_stateorprovince'
,
},
{
name
:
'aging90_base'
,
},
{
name
:
'accountidyominame'
,
},
{
name
:
'donotbulkpostalmail'
,
},
{
name
:
'managername'
,
},
{
name
:
'donotpostalmail'
,
},
{
name
:
'spousesname'
,
},
{
name
:
'familystatuscode'
,
},
{
name
:
'owneridtype'
,
},
{
name
:
'address3_composite'
,
},
{
name
:
'address3_shippingmethodcode'
,
},
{
name
:
'lastname'
,
},
{
name
:
'lastonholdtime'
,
},
{
name
:
'educationcode'
,
},
{
name
:
'address2_line1'
,
},
{
name
:
'birthdate'
,
},
{
name
:
'owneridyominame'
,
},
{
name
:
'haschildrencode'
,
},
{
name
:
'company'
,
},
{
name
:
'address2_fax'
,
},
{
name
:
'assistantphone'
,
},
{
name
:
'callback'
,
},
{
name
:
'paymenttermscode'
,
},
{
name
:
'address2_telephone1'
,
},
{
name
:
'marketingonly'
,
},
{
name
:
'address2_utcoffset'
,
},
{
name
:
'address2_shippingmethodcode'
,
},
{
name
:
'traversedpath'
,
},
{
name
:
'employeeid'
,
},
{
name
:
'creditlimit_base'
,
},
{
name
:
'followemail'
,
},
{
name
:
'address3_postalcode'
,
},
{
name
:
'merged'
,
},
{
name
:
'jobtitle'
,
},
{
name
:
'address1_telephone1'
,
},
{
name
:
'customersizecode'
,
},
{
name
:
'address3_addresstypecode'
,
},
{
name
:
'pager'
,
},
{
name
:
'assistantname'
,
},
{
name
:
'address1_composite'
,
},
{
name
:
'address1_line1'
,
},
{
name
:
'yomimiddlename'
,
},
{
name
:
'address1_telephone3'
,
},
{
name
:
'telephone2'
,
},
{
name
:
'address2_addressid'
,
},
{
name
:
'parentcontactidyominame'
,
},
{
name
:
'leadsourcecode'
,
},
{
name
:
'statecode'
,
},
{
name
:
'address2_freighttermscode'
,
},
{
name
:
'emailaddress1'
,
},
{
name
:
'entityimage_timestamp'
,
},
{
name
:
'address3_line1'
,
},
{
name
:
'salutation'
,
},
{
name
:
'address1_line3'
,
},
{
name
:
'address3_primarycontactname'
,
},
{
name
:
'ibizprivate'
,
},
{
name
:
'donotfax'
,
},
{
name
:
'createdate'
,
},
{
name
:
'preferredsystemuseridyominame'
,
},
{
name
:
'updatedate'
,
},
{
name
:
'address3_stateorprovince'
,
},
{
name
:
'address3_line3'
,
},
{
name
:
'creditlimit'
,
},
{
name
:
'timezoneruleversionnumber'
,
},
{
name
:
'parentcustomerid'
,
},
{
name
:
'childrensnames'
,
},
{
name
:
'address1_addresstypecode'
,
},
{
name
:
'accountrolecode'
,
},
{
name
:
'donotphone'
,
},
{
name
:
'managerphone'
,
},
{
name
:
'creditonhold'
,
},
{
name
:
'updateman'
,
},
{
name
:
'address2_postalcode'
,
},
{
name
:
'address1_line2'
,
},
{
name
:
'nickname'
,
},
{
name
:
'versionnumber'
,
},
{
name
:
'yomifullname'
,
},
{
name
:
'entityimage'
,
},
{
name
:
'shippingmethodcode'
,
},
{
name
:
'customertypecode'
,
},
{
name
:
'address2_county'
,
},
{
name
:
'aging90'
,
},
{
name
:
'address2_stateorprovince'
,
},
{
name
:
'address3_utcoffset'
,
},
{
name
:
'fullname'
,
},
{
name
:
'participatesinworkflow'
,
},
{
name
:
'websiteurl'
,
},
{
name
:
'description'
,
},
{
name
:
'address3_telephone1'
,
},
{
name
:
'address2_upszone'
,
},
{
name
:
'address3_county'
,
},
{
name
:
'entityimage_url'
,
},
{
name
:
'address3_upszone'
,
},
{
name
:
'address1_name'
,
},
{
name
:
'mastercontactidyominame'
,
},
{
name
:
'autocreate'
,
},
{
name
:
'backofficecustomer'
,
},
{
name
:
'address2_longitude'
,
},
{
name
:
'address1_fax'
,
},
{
name
:
'exchangerate'
,
},
{
name
:
'address1_city'
,
},
{
name
:
'entityimageid'
,
},
{
name
:
'address1_telephone2'
,
},
{
name
:
'address2_composite'
,
},
{
name
:
'importsequencenumber'
,
},
{
name
:
'gendercode'
,
},
{
name
:
'annualincome'
,
},
{
name
:
'subscriptionid'
,
},
{
name
:
'territorycode'
,
},
{
name
:
'firstname'
,
},
{
name
:
'overriddencreatedon'
,
},
{
name
:
'address3_country'
,
},
{
name
:
'yomilastname'
,
},
{
name
:
'donotbulkemail'
,
},
{
name
:
'address3_telephone2'
,
},
{
name
:
'ownerid'
,
},
{
name
:
'externaluseridentifier'
,
},
{
name
:
'teamsfollowed'
,
},
{
name
:
'donotemail'
,
},
{
name
:
'anniversary'
,
},
{
name
:
'preferredappointmentdaycode'
,
},
{
name
:
'middlename'
,
},
{
name
:
'emailaddress3'
,
},
{
name
:
'address2_telephone2'
,
},
{
name
:
'fax'
,
},
{
name
:
'mobilephone'
,
},
{
name
:
'home2'
,
},
{
name
:
'createman'
,
},
{
name
:
'onholdtime'
,
},
{
name
:
'preferredappointmenttimecode'
,
},
{
name
:
'statuscode'
,
},
{
name
:
'governmentid'
,
},
{
name
:
'address3_telephone3'
,
},
{
name
:
'business2'
,
},
{
name
:
'preferredsystemuserid'
,
},
{
name
:
'address1_upszone'
,
},
{
name
:
'aging60'
,
},
{
name
:
'yomifirstname'
,
},
{
name
:
'address3_postofficebox'
,
},
{
name
:
'address2_city'
,
},
{
name
:
'processid'
,
},
{
name
:
'annualincome_base'
,
},
{
name
:
'address3_addressid'
,
},
{
name
:
'parentcustomeridyominame'
,
},
{
name
:
'contact'
,
prop
:
'contactid'
,
},
{
name
:
'aging60_base'
,
},
{
name
:
'address3_latitude'
,
},
{
name
:
'telephone3'
,
},
{
name
:
'address1_primarycontactname'
,
},
{
name
:
'address3_fax'
,
},
{
name
:
'preferredcontactmethodcode'
,
},
{
name
:
'address1_utcoffset'
,
},
{
name
:
'donotsendmm'
,
},
{
name
:
'address2_telephone3'
,
},
{
name
:
'address2_country'
,
},
{
name
:
'aging30'
,
},
{
name
:
'address2_postofficebox'
,
},
{
name
:
'telephone1'
,
},
{
name
:
'address3_longitude'
,
},
{
name
:
'lastusedincampaign'
,
},
{
name
:
'ftpsiteurl'
,
},
{
name
:
'aging30_base'
,
},
{
name
:
'address2_name'
,
},
{
name
:
'suffix'
,
},
{
name
:
'address1_county'
,
},
{
name
:
'address2_addresstypecode'
,
},
{
name
:
'address1_longitude'
,
},
{
name
:
'address3_line2'
,
},
{
name
:
'address1_addressid'
,
},
{
name
:
'address2_line3'
,
},
{
name
:
'address2_latitude'
,
},
{
name
:
'address2_line2'
,
},
{
name
:
'address1_shippingmethodcode'
,
},
{
name
:
'address3_freighttermscode'
,
},
{
name
:
'address1_postofficebox'
,
},
{
name
:
'utcconversiontimezonecode'
,
},
{
name
:
'address3_name'
,
},
{
name
:
'address1_latitude'
,
},
{
name
:
'numberofchildren'
,
},
{
name
:
'address2_primarycontactname'
,
},
{
name
:
'address1_postalcode'
,
},
{
name
:
'stageid'
,
},
{
name
:
'address1_country'
,
},
{
name
:
'emailaddress2'
,
},
{
name
:
'slaname'
,
},
{
name
:
'defaultpricelevelid'
,
},
{
name
:
'preferredequipmentid'
,
},
{
name
:
'transactioncurrencyid'
,
},
{
name
:
'slaid'
,
},
{
name
:
'originatingleadid'
,
},
{
name
:
'preferredserviceid'
,
},
{
name
:
'defaultpricelevelname'
,
},
{
name
:
'originatingleadname'
,
},
{
name
:
'transactioncurrencyname'
,
},
{
name
:
'preferredservicename'
,
},
{
name
:
'preferredequipmentname'
,
},
{
name
:
'customerid'
,
},
{
name
:
'cusomername'
,
},
]
}
}
\ No newline at end of file
app_CRM/src/widgets/contact/infotabviewpanel3-tabviewpanel/infotabviewpanel3-tabviewpanel-service.ts
0 → 100644
浏览文件 @
a988c15f
import
{
Http
}
from
'@/utils'
;
import
ControlService
from
'@/widgets/control-service'
;
/**
* Infotabviewpanel3 部件服务对象
*
* @export
* @class Infotabviewpanel3Service
*/
export
default
class
Infotabviewpanel3Service
extends
ControlService
{
}
\ No newline at end of file
app_CRM/src/widgets/contact/infotabviewpanel3-tabviewpanel/infotabviewpanel3-tabviewpanel.less
0 → 100644
浏览文件 @
a988c15f
// this is less
app_CRM/src/widgets/contact/infotabviewpanel3-tabviewpanel/infotabviewpanel3-tabviewpanel.vue
0 → 100644
浏览文件 @
a988c15f
<
script
lang=
'tsx'
>
import
{
Component
}
from
'vue-property-decorator'
;
import
Infotabviewpanel3Base
from
'./infotabviewpanel3-tabviewpanel-base.vue'
;
@
Component
({
components
:
{
}
})
export
default
class
Infotabviewpanel3
extends
Infotabviewpanel3Base
{
}
</
script
>
\ No newline at end of file
app_CRM/src/widgets/contact/infotabviewpanel4-tabviewpanel/infotabviewpanel4-tabviewpanel-base.vue
0 → 100644
浏览文件 @
a988c15f
<
template
>
<div
class=
'tabviewpanel'
style=
"height:100%;"
v-if =
'isActivied'
>
<activity-pointer-by-parent-key
class=
'viewcontainer2'
:viewdata=
"viewdata"
:viewparam=
"viewparam"
@
viewload=
"viewDatasChange($event)"
:viewDefaultUsage=
"false"
>
</activity-pointer-by-parent-key>
</div>
</
template
>
<
script
lang=
'tsx'
>
import
{
Vue
,
Component
,
Prop
,
Provide
,
Emit
,
Watch
,
Model
}
from
'vue-property-decorator'
;
import
{
CreateElement
}
from
'vue'
;
import
{
Subject
,
Subscription
}
from
'rxjs'
;
import
{
ControlInterface
}
from
'@/interface/control'
;
import
{
UIActionTool
,
Util
}
from
'@/utils'
;
import
ContactService
from
'@/service/contact/contact-service'
;
import
Infotabviewpanel4Service
from
'./infotabviewpanel4-tabviewpanel-service'
;
@
Component
({
components
:
{
}
})
export
default
class
Infotabviewpanel4Base
extends
Vue
implements
ControlInterface
{
/**
* 名称
*
* @type {string}
* @memberof Infotabviewpanel4
*/
@
Prop
()
public
name
?:
string
;
/**
* 视图通讯对象
*
* @type {Subject<ViewState>}
* @memberof Infotabviewpanel4
*/
@
Prop
()
public
viewState
!
:
Subject
<
ViewState
>
;
/**
* 应用上下文
*
* @type {*}
* @memberof Infotabviewpanel4
*/
@
Prop
()
public
context
:
any
;
/**
* 视图参数
*
* @type {*}
* @memberof Infotabviewpanel4
*/
@
Prop
()
public
viewparams
:
any
;
/**
* 视图状态事件
*
* @public
* @type {(Subscription | undefined)}
* @memberof Infotabviewpanel4
*/
public
viewStateEvent
:
Subscription
|
undefined
;
/**
* 获取部件类型
*
* @returns {string}
* @memberof Infotabviewpanel4
*/
public
getControlType
():
string
{
return
'TABVIEWPANEL'
}
/**
* 建构部件服务对象
*
* @type {Infotabviewpanel4Service}
* @memberof Infotabviewpanel4
*/
public
service
:
Infotabviewpanel4Service
=
new
Infotabviewpanel4Service
({
$store
:
this
.
$store
});
/**
* 实体服务对象
*
* @type {ContactService}
* @memberof Infotabviewpanel4
*/
public
appEntityService
:
ContactService
=
new
ContactService
({
$store
:
this
.
$store
});
/**
* 关闭视图
*
* @param {any} args
* @memberof Infotabviewpanel4
*/
public
closeView
(
args
:
any
):
void
{
let
_this
:
any
=
this
;
_this
.
$emit
(
'closeview'
,
[
args
]);
}
/**
* 计数器刷新
*
* @memberof Infotabviewpanel4
*/
public
counterRefresh
(){
const
_this
:
any
=
this
;
if
(
_this
.
counterServiceArray
&&
_this
.
counterServiceArray
.
length
>
0
){
_this
.
counterServiceArray
.
forEach
((
item
:
any
)
=>
{
if
(
item
.
refreshData
&&
item
.
refreshData
instanceof
Function
){
item
.
refreshData
();
}
})
}
}
/**
* 获取多项数据
*
* @returns {any[]}
* @memberof Infotabviewpanel4
*/
public
getDatas
():
any
[]
{
return
[];
}
/**
* 获取单项树
*
* @returns {*}
* @memberof Infotabviewpanel4
*/
public
getData
():
any
{
return
null
;
}
/**
* 是否被激活
*
* @type {boolean}
* @memberof Infotabviewpanel4
*/
public
isActivied
:
boolean
=
true
;
/**
* 局部上下文
*
* @type {*}
* @memberof Infotabviewpanel4
*/
public
localContext
:
any
=
null
;
/**
* 局部视图参数
*
* @type {*}
* @memberof Infotabviewpanel4
*/
public
localViewParam
:
any
=
null
;
/**
* 传入上下文
*
* @type {string}
* @memberof TabExpViewtabviewpanel
*/
public
viewdata
:
string
=
JSON
.
stringify
(
this
.
context
);
/**
* 传入视图参数
*
* @type {string}
* @memberof PickupViewpickupviewpanel
*/
public
viewparam
:
string
=
JSON
.
stringify
(
this
.
viewparams
);
/**
* 视图面板过滤项
*
* @type {string}
* @memberof Infotabviewpanel4
*/
public
navfilter
:
string
=
""
;
/**
* vue 生命周期
*
* @returns
* @memberof Infotabviewpanel4
*/
public
created
()
{
this
.
afterCreated
();
}
/**
* 执行created后的逻辑
*
* @memberof Infotabviewpanel4
*/
public
afterCreated
(){
this
.
initNavParam
();
if
(
this
.
viewState
)
{
this
.
viewStateEvent
=
this
.
viewState
.
subscribe
(({
tag
,
action
,
data
})
=>
{
if
(
!
Object
.
is
(
tag
,
this
.
name
))
{
return
;
}
this
.
$forceUpdate
();
this
.
initNavParam
();
});
}
}
/**
* 初始化导航参数
*
* @memberof Infotabviewpanel4
*/
public
initNavParam
(){
if
(
!
Object
.
is
(
this
.
navfilter
,
""
)){
Object
.
assign
(
this
.
viewparams
,{[
this
.
navfilter
]:
this
.
context
[
'majorentity'
]})
}
if
(
this
.
localContext
&&
Object
.
keys
(
this
.
localContext
).
length
>
0
){
let
_context
:
any
=
this
.
$util
.
computedNavData
({},
this
.
context
,
this
.
viewparams
,
this
.
localContext
);
Object
.
assign
(
this
.
context
,
_context
);
}
if
(
this
.
localViewParam
&&
Object
.
keys
(
this
.
localViewParam
).
length
>
0
){
let
_param
:
any
=
this
.
$util
.
computedNavData
({},
this
.
context
,
this
.
viewparams
,
this
.
localViewParam
);
Object
.
assign
(
this
.
viewparams
,
_param
);
}
this
.
viewdata
=
JSON
.
stringify
(
this
.
context
);
this
.
viewparam
=
JSON
.
stringify
(
this
.
viewparams
);
}
/**
* 视图数据变化
*
* @memberof Infotabviewpanel4
*/
public
viewDatasChange
(
$event
:
any
){
this
.
$emit
(
'viewpanelDatasChange'
,
$event
);
}
/**
* vue 生命周期
*
* @memberof Infotabviewpanel4
*/
public
destroyed
()
{
this
.
afterDestroy
();
}
/**
* 执行destroyed后的逻辑
*
* @memberof Infotabviewpanel4
*/
public
afterDestroy
()
{
if
(
this
.
viewStateEvent
)
{
this
.
viewStateEvent
.
unsubscribe
();
}
}
}
</
script
>
<
style
lang=
'less'
>
@import './infotabviewpanel4-tabviewpanel.less';
</
style
>
\ No newline at end of file
app_CRM/src/widgets/contact/infotabviewpanel4-tabviewpanel/infotabviewpanel4-tabviewpanel-model.ts
0 → 100644
浏览文件 @
a988c15f
/**
* Infotabviewpanel4 部件模型
*
* @export
* @class Infotabviewpanel4Model
*/
export
default
class
Infotabviewpanel4Model
{
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof Infotabviewpanel4Model
*/
public
getDataItems
():
any
[]
{
return
[
{
name
:
'address1_freighttermscode'
,
},
{
name
:
'address3_city'
,
},
{
name
:
'department'
,
},
{
name
:
'parentcustomeridtype'
,
},
{
name
:
'address1_stateorprovince'
,
},
{
name
:
'aging90_base'
,
},
{
name
:
'accountidyominame'
,
},
{
name
:
'donotbulkpostalmail'
,
},
{
name
:
'managername'
,
},
{
name
:
'donotpostalmail'
,
},
{
name
:
'spousesname'
,
},
{
name
:
'familystatuscode'
,
},
{
name
:
'owneridtype'
,
},
{
name
:
'address3_composite'
,
},
{
name
:
'address3_shippingmethodcode'
,
},
{
name
:
'lastname'
,
},
{
name
:
'lastonholdtime'
,
},
{
name
:
'educationcode'
,
},
{
name
:
'address2_line1'
,
},
{
name
:
'birthdate'
,
},
{
name
:
'owneridyominame'
,
},
{
name
:
'haschildrencode'
,
},
{
name
:
'company'
,
},
{
name
:
'address2_fax'
,
},
{
name
:
'assistantphone'
,
},
{
name
:
'callback'
,
},
{
name
:
'paymenttermscode'
,
},
{
name
:
'address2_telephone1'
,
},
{
name
:
'marketingonly'
,
},
{
name
:
'address2_utcoffset'
,
},
{
name
:
'address2_shippingmethodcode'
,
},
{
name
:
'traversedpath'
,
},
{
name
:
'employeeid'
,
},
{
name
:
'creditlimit_base'
,
},
{
name
:
'followemail'
,
},
{
name
:
'address3_postalcode'
,
},
{
name
:
'merged'
,
},
{
name
:
'jobtitle'
,
},
{
name
:
'address1_telephone1'
,
},
{
name
:
'customersizecode'
,
},
{
name
:
'address3_addresstypecode'
,
},
{
name
:
'pager'
,
},
{
name
:
'assistantname'
,
},
{
name
:
'address1_composite'
,
},
{
name
:
'address1_line1'
,
},
{
name
:
'yomimiddlename'
,
},
{
name
:
'address1_telephone3'
,
},
{
name
:
'telephone2'
,
},
{
name
:
'address2_addressid'
,
},
{
name
:
'parentcontactidyominame'
,
},
{
name
:
'leadsourcecode'
,
},
{
name
:
'statecode'
,
},
{
name
:
'address2_freighttermscode'
,
},
{
name
:
'emailaddress1'
,
},
{
name
:
'entityimage_timestamp'
,
},
{
name
:
'address3_line1'
,
},
{
name
:
'salutation'
,
},
{
name
:
'address1_line3'
,
},
{
name
:
'address3_primarycontactname'
,
},
{
name
:
'ibizprivate'
,
},
{
name
:
'donotfax'
,
},
{
name
:
'createdate'
,
},
{
name
:
'preferredsystemuseridyominame'
,
},
{
name
:
'updatedate'
,
},
{
name
:
'address3_stateorprovince'
,
},
{
name
:
'address3_line3'
,
},
{
name
:
'creditlimit'
,
},
{
name
:
'timezoneruleversionnumber'
,
},
{
name
:
'parentcustomerid'
,
},
{
name
:
'childrensnames'
,
},
{
name
:
'address1_addresstypecode'
,
},
{
name
:
'accountrolecode'
,
},
{
name
:
'donotphone'
,
},
{
name
:
'managerphone'
,
},
{
name
:
'creditonhold'
,
},
{
name
:
'updateman'
,
},
{
name
:
'address2_postalcode'
,
},
{
name
:
'address1_line2'
,
},
{
name
:
'nickname'
,
},
{
name
:
'versionnumber'
,
},
{
name
:
'yomifullname'
,
},
{
name
:
'entityimage'
,
},
{
name
:
'shippingmethodcode'
,
},
{
name
:
'customertypecode'
,
},
{
name
:
'address2_county'
,
},
{
name
:
'aging90'
,
},
{
name
:
'address2_stateorprovince'
,
},
{
name
:
'address3_utcoffset'
,
},
{
name
:
'fullname'
,
},
{
name
:
'participatesinworkflow'
,
},
{
name
:
'websiteurl'
,
},
{
name
:
'description'
,
},
{
name
:
'address3_telephone1'
,
},
{
name
:
'address2_upszone'
,
},
{
name
:
'address3_county'
,
},
{
name
:
'entityimage_url'
,
},
{
name
:
'address3_upszone'
,
},
{
name
:
'address1_name'
,
},
{
name
:
'mastercontactidyominame'
,
},
{
name
:
'autocreate'
,
},
{
name
:
'backofficecustomer'
,
},
{
name
:
'address2_longitude'
,
},
{
name
:
'address1_fax'
,
},
{
name
:
'exchangerate'
,
},
{
name
:
'address1_city'
,
},
{
name
:
'entityimageid'
,
},
{
name
:
'address1_telephone2'
,
},
{
name
:
'address2_composite'
,
},
{
name
:
'importsequencenumber'
,
},
{
name
:
'gendercode'
,
},
{
name
:
'annualincome'
,
},
{
name
:
'subscriptionid'
,
},
{
name
:
'territorycode'
,
},
{
name
:
'firstname'
,
},
{
name
:
'overriddencreatedon'
,
},
{
name
:
'address3_country'
,
},
{
name
:
'yomilastname'
,
},
{
name
:
'donotbulkemail'
,
},
{
name
:
'address3_telephone2'
,
},
{
name
:
'ownerid'
,
},
{
name
:
'externaluseridentifier'
,
},
{
name
:
'teamsfollowed'
,
},
{
name
:
'donotemail'
,
},
{
name
:
'anniversary'
,
},
{
name
:
'preferredappointmentdaycode'
,
},
{
name
:
'middlename'
,
},
{
name
:
'emailaddress3'
,
},
{
name
:
'address2_telephone2'
,
},
{
name
:
'fax'
,
},
{
name
:
'mobilephone'
,
},
{
name
:
'home2'
,
},
{
name
:
'createman'
,
},
{
name
:
'onholdtime'
,
},
{
name
:
'preferredappointmenttimecode'
,
},
{
name
:
'statuscode'
,
},
{
name
:
'governmentid'
,
},
{
name
:
'address3_telephone3'
,
},
{
name
:
'business2'
,
},
{
name
:
'preferredsystemuserid'
,
},
{
name
:
'address1_upszone'
,
},
{
name
:
'aging60'
,
},
{
name
:
'yomifirstname'
,
},
{
name
:
'address3_postofficebox'
,
},
{
name
:
'address2_city'
,
},
{
name
:
'processid'
,
},
{
name
:
'annualincome_base'
,
},
{
name
:
'address3_addressid'
,
},
{
name
:
'parentcustomeridyominame'
,
},
{
name
:
'contact'
,
prop
:
'contactid'
,
},
{
name
:
'aging60_base'
,
},
{
name
:
'address3_latitude'
,
},
{
name
:
'telephone3'
,
},
{
name
:
'address1_primarycontactname'
,
},
{
name
:
'address3_fax'
,
},
{
name
:
'preferredcontactmethodcode'
,
},
{
name
:
'address1_utcoffset'
,
},
{
name
:
'donotsendmm'
,
},
{
name
:
'address2_telephone3'
,
},
{
name
:
'address2_country'
,
},
{
name
:
'aging30'
,
},
{
name
:
'address2_postofficebox'
,
},
{
name
:
'telephone1'
,
},
{
name
:
'address3_longitude'
,
},
{
name
:
'lastusedincampaign'
,
},
{
name
:
'ftpsiteurl'
,
},
{
name
:
'aging30_base'
,
},
{
name
:
'address2_name'
,
},
{
name
:
'suffix'
,
},
{
name
:
'address1_county'
,
},
{
name
:
'address2_addresstypecode'
,
},
{
name
:
'address1_longitude'
,
},
{
name
:
'address3_line2'
,
},
{
name
:
'address1_addressid'
,
},
{
name
:
'address2_line3'
,
},
{
name
:
'address2_latitude'
,
},
{
name
:
'address2_line2'
,
},
{
name
:
'address1_shippingmethodcode'
,
},
{
name
:
'address3_freighttermscode'
,
},
{
name
:
'address1_postofficebox'
,
},
{
name
:
'utcconversiontimezonecode'
,
},
{
name
:
'address3_name'
,
},
{
name
:
'address1_latitude'
,
},
{
name
:
'numberofchildren'
,
},
{
name
:
'address2_primarycontactname'
,
},
{
name
:
'address1_postalcode'
,
},
{
name
:
'stageid'
,
},
{
name
:
'address1_country'
,
},
{
name
:
'emailaddress2'
,
},
{
name
:
'slaname'
,
},
{
name
:
'defaultpricelevelid'
,
},
{
name
:
'preferredequipmentid'
,
},
{
name
:
'transactioncurrencyid'
,
},
{
name
:
'slaid'
,
},
{
name
:
'originatingleadid'
,
},
{
name
:
'preferredserviceid'
,
},
{
name
:
'defaultpricelevelname'
,
},
{
name
:
'originatingleadname'
,
},
{
name
:
'transactioncurrencyname'
,
},
{
name
:
'preferredservicename'
,
},
{
name
:
'preferredequipmentname'
,
},
{
name
:
'customerid'
,
},
{
name
:
'cusomername'
,
},
]
}
}
\ No newline at end of file
app_CRM/src/widgets/contact/infotabviewpanel4-tabviewpanel/infotabviewpanel4-tabviewpanel-service.ts
0 → 100644
浏览文件 @
a988c15f
import
{
Http
}
from
'@/utils'
;
import
ControlService
from
'@/widgets/control-service'
;
/**
* Infotabviewpanel4 部件服务对象
*
* @export
* @class Infotabviewpanel4Service
*/
export
default
class
Infotabviewpanel4Service
extends
ControlService
{
}
\ No newline at end of file
app_CRM/src/widgets/contact/infotabviewpanel4-tabviewpanel/infotabviewpanel4-tabviewpanel.less
0 → 100644
浏览文件 @
a988c15f
// this is less
app_CRM/src/widgets/contact/infotabviewpanel4-tabviewpanel/infotabviewpanel4-tabviewpanel.vue
0 → 100644
浏览文件 @
a988c15f
<
script
lang=
'tsx'
>
import
{
Component
}
from
'vue-property-decorator'
;
import
Infotabviewpanel4Base
from
'./infotabviewpanel4-tabviewpanel-base.vue'
;
@
Component
({
components
:
{
}
})
export
default
class
Infotabviewpanel4
extends
Infotabviewpanel4Base
{
}
</
script
>
\ No newline at end of file
app_CRM/src/widgets/contact/summarydashboard-container1-portlet/summarydashboard-container1-portlet.less
0 → 100644
浏览文件 @
a988c15f
.portlet {
--portlet: 0px;
}
// this is less
app_CRM/src/widgets/contact/summarydashboard-container2-portlet/summarydashboard-container2-portlet.less
0 → 100644
浏览文件 @
a988c15f
.portlet {
--portlet: 0px;
}
// this is less
businesscentral-core/src/main/resources/liquibase/h2_table.xml
浏览文件 @
a988c15f
...
...
@@ -3182,7 +3182,7 @@
<!--输出实体[CONTACT]数据结构 -->
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"tab-contact-23
0
-43"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"tab-contact-23
3
-43"
>
<createTable
tableName=
"CONTACT"
>
<column
name=
"ADDRESS1_FREIGHTTERMSCODE"
remarks=
""
type=
"VARCHAR(30)"
>
</column>
...
...
@@ -3708,7 +3708,7 @@
<!--输出实体[QUOTE]数据结构 -->
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"tab-quote-2
3
-46"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"tab-quote-2
7
-46"
>
<createTable
tableName=
"QUOTE"
>
<column
name=
"BILLTO_COUNTRY"
remarks=
""
type=
"VARCHAR(80)"
>
</column>
...
...
@@ -4514,7 +4514,7 @@
<!--输出实体[ACCOUNT]数据结构 -->
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"tab-account-3
08
-54"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"tab-account-3
11
-54"
>
<createTable
tableName=
"ACCOUNT"
>
<column
name=
"ADDRESS1_PRIMARYCONTACTNAME"
remarks=
""
type=
"VARCHAR(100)"
>
</column>
...
...
@@ -8085,7 +8085,7 @@
<!--输出实体[COMPETITOR]数据结构 -->
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"tab-competitor-3
2
-89"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"tab-competitor-3
3
-89"
>
<createTable
tableName=
"COMPETITOR"
>
<column
name=
"ENTITYIMAGE"
remarks=
""
type=
"VARCHAR(100)"
>
</column>
...
...
@@ -10400,7 +10400,7 @@
<!--输出实体[OPPORTUNITY]数据结构 -->
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"tab-opportunity-
69
-121"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"tab-opportunity-
70
-121"
>
<createTable
tableName=
"OPPORTUNITY"
>
<column
name=
"DECISIONMAKER"
remarks=
""
type=
"INT"
>
</column>
...
...
@@ -11031,25 +11031,25 @@
<addForeignKeyConstraint
baseColumnNames=
"TRANSACTIONCURRENCYID"
baseTableName=
"MONTHLYFISCALCALENDAR"
constraintName=
"DER1N_MONTHLYFISCALCALENDAR__T"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"TRANSACTIONCURRENCYID"
referencedTableName=
"TRANSACTIONCURRENCY"
validate=
"true"
/>
</changeSet>
<!--输出实体[CONTACT]外键关系 -->
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-contact-23
0
-214"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-contact-23
3
-214"
>
<addForeignKeyConstraint
baseColumnNames=
"CUSTOMERID"
baseTableName=
"CONTACT"
constraintName=
"DER1N_CONTACT_ACCOUNT_CUSTOMER"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"ACCOUNTID"
referencedTableName=
"ACCOUNT"
validate=
"true"
/>
</changeSet>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-contact-23
0
-215"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-contact-23
3
-215"
>
<addForeignKeyConstraint
baseColumnNames=
"PREFERREDEQUIPMENTID"
baseTableName=
"CONTACT"
constraintName=
"DER1N_CONTACT__EQUIPMENT__PREF"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"EQUIPMENTID"
referencedTableName=
"EQUIPMENT"
validate=
"true"
/>
</changeSet>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-contact-23
0
-216"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-contact-23
3
-216"
>
<addForeignKeyConstraint
baseColumnNames=
"ORIGINATINGLEADID"
baseTableName=
"CONTACT"
constraintName=
"DER1N_CONTACT__LEAD__ORIGINATI"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"LEADID"
referencedTableName=
"LEAD"
validate=
"true"
/>
</changeSet>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-contact-23
0
-217"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-contact-23
3
-217"
>
<addForeignKeyConstraint
baseColumnNames=
"DEFAULTPRICELEVELID"
baseTableName=
"CONTACT"
constraintName=
"DER1N_CONTACT__PRICELEVEL__DEF"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"PRICELEVELID"
referencedTableName=
"PRICELEVEL"
validate=
"true"
/>
</changeSet>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-contact-23
0
-218"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-contact-23
3
-218"
>
<addForeignKeyConstraint
baseColumnNames=
"PREFERREDSERVICEID"
baseTableName=
"CONTACT"
constraintName=
"DER1N_CONTACT__SERVICE__PREFER"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"SERVICEID"
referencedTableName=
"SERVICE"
validate=
"true"
/>
</changeSet>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-contact-23
0
-219"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-contact-23
3
-219"
>
<addForeignKeyConstraint
baseColumnNames=
"SLAID"
baseTableName=
"CONTACT"
constraintName=
"DER1N_CONTACT__SLA__SLAID"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"SLAID"
referencedTableName=
"SLA"
validate=
"true"
/>
</changeSet>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-contact-23
0
-220"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-contact-23
3
-220"
>
<addForeignKeyConstraint
baseColumnNames=
"TRANSACTIONCURRENCYID"
baseTableName=
"CONTACT"
constraintName=
"DER1N_CONTACT__TRANSACTIONCURR"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"TRANSACTIONCURRENCYID"
referencedTableName=
"TRANSACTIONCURRENCY"
validate=
"true"
/>
</changeSet>
<!--输出实体[TEAM]外键关系 -->
...
...
@@ -11070,19 +11070,19 @@
<addForeignKeyConstraint
baseColumnNames=
"TRANSACTIONCURRENCYID"
baseTableName=
"PRICELEVEL"
constraintName=
"DER1N_PRICELEVEL__TRANSACTIONC"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"TRANSACTIONCURRENCYID"
referencedTableName=
"TRANSACTIONCURRENCY"
validate=
"true"
/>
</changeSet>
<!--输出实体[QUOTE]外键关系 -->
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-quote-2
3
-226"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-quote-2
7
-226"
>
<addForeignKeyConstraint
baseColumnNames=
"CAMPAIGNID"
baseTableName=
"QUOTE"
constraintName=
"DER1N_QUOTE__CAMPAIGN__CAMPAIG"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"CAMPAIGNID"
referencedTableName=
"CAMPAIGN"
validate=
"true"
/>
</changeSet>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-quote-2
3
-227"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-quote-2
7
-227"
>
<addForeignKeyConstraint
baseColumnNames=
"OPPORTUNITYID"
baseTableName=
"QUOTE"
constraintName=
"DER1N_QUOTE__OPPORTUNITY__OPPO"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"OPPORTUNITYID"
referencedTableName=
"OPPORTUNITY"
validate=
"true"
/>
</changeSet>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-quote-2
3
-228"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-quote-2
7
-228"
>
<addForeignKeyConstraint
baseColumnNames=
"PRICELEVELID"
baseTableName=
"QUOTE"
constraintName=
"DER1N_QUOTE__PRICELEVEL__PRICE"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"PRICELEVELID"
referencedTableName=
"PRICELEVEL"
validate=
"true"
/>
</changeSet>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-quote-2
3
-229"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-quote-2
7
-229"
>
<addForeignKeyConstraint
baseColumnNames=
"SLAID"
baseTableName=
"QUOTE"
constraintName=
"DER1N_QUOTE__SLA__SLAID"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"SLAID"
referencedTableName=
"SLA"
validate=
"true"
/>
</changeSet>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-quote-2
3
-230"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-quote-2
7
-230"
>
<addForeignKeyConstraint
baseColumnNames=
"TRANSACTIONCURRENCYID"
baseTableName=
"QUOTE"
constraintName=
"DER1N_QUOTE__TRANSACTIONCURREN"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"TRANSACTIONCURRENCYID"
referencedTableName=
"TRANSACTIONCURRENCY"
validate=
"true"
/>
</changeSet>
<!--输出实体[BULKDELETEOPERATION]外键关系 -->
...
...
@@ -11135,31 +11135,31 @@
<addForeignKeyConstraint
baseColumnNames=
"METRICID"
baseTableName=
"GOAL"
constraintName=
"DER1N_GOAL__METRIC__METRICID"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"METRICID"
referencedTableName=
"METRIC"
validate=
"true"
/>
</changeSet>
<!--输出实体[ACCOUNT]外键关系 -->
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-account-3
08
-255"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-account-3
11
-255"
>
<addForeignKeyConstraint
baseColumnNames=
"PARENTACCOUNTID"
baseTableName=
"ACCOUNT"
constraintName=
"DER1N_ACCOUNT__ACCOUNT__PARENT"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"ACCOUNTID"
referencedTableName=
"ACCOUNT"
validate=
"true"
/>
</changeSet>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-account-3
08
-256"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-account-3
11
-256"
>
<addForeignKeyConstraint
baseColumnNames=
"PRIMARYCONTACTID"
baseTableName=
"ACCOUNT"
constraintName=
"DER1N_ACCOUNT__CONTACT__PRIMAR"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"CONTACTID"
referencedTableName=
"CONTACT"
validate=
"true"
/>
</changeSet>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-account-3
08
-257"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-account-3
11
-257"
>
<addForeignKeyConstraint
baseColumnNames=
"PREFERREDEQUIPMENTID"
baseTableName=
"ACCOUNT"
constraintName=
"DER1N_ACCOUNT__EQUIPMENT__PREF"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"EQUIPMENTID"
referencedTableName=
"EQUIPMENT"
validate=
"true"
/>
</changeSet>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-account-3
08
-258"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-account-3
11
-258"
>
<addForeignKeyConstraint
baseColumnNames=
"ORIGINATINGLEADID"
baseTableName=
"ACCOUNT"
constraintName=
"DER1N_ACCOUNT__LEAD__ORIGINATI"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"LEADID"
referencedTableName=
"LEAD"
validate=
"true"
/>
</changeSet>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-account-3
08
-259"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-account-3
11
-259"
>
<addForeignKeyConstraint
baseColumnNames=
"DEFAULTPRICELEVELID"
baseTableName=
"ACCOUNT"
constraintName=
"DER1N_ACCOUNT__PRICELEVEL__DEF"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"PRICELEVELID"
referencedTableName=
"PRICELEVEL"
validate=
"true"
/>
</changeSet>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-account-3
08
-260"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-account-3
11
-260"
>
<addForeignKeyConstraint
baseColumnNames=
"PREFERREDSERVICEID"
baseTableName=
"ACCOUNT"
constraintName=
"DER1N_ACCOUNT__SERVICE__PREFER"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"SERVICEID"
referencedTableName=
"SERVICE"
validate=
"true"
/>
</changeSet>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-account-3
08
-261"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-account-3
11
-261"
>
<addForeignKeyConstraint
baseColumnNames=
"SLAID"
baseTableName=
"ACCOUNT"
constraintName=
"DER1N_ACCOUNT__SLA__SLAID"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"SLAID"
referencedTableName=
"SLA"
validate=
"true"
/>
</changeSet>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-account-3
08
-262"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-account-3
11
-262"
>
<addForeignKeyConstraint
baseColumnNames=
"TERRITORYID"
baseTableName=
"ACCOUNT"
constraintName=
"DER1N_ACCOUNT__TERRITORY__TERR"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"TERRITORYID"
referencedTableName=
"TERRITORY"
validate=
"true"
/>
</changeSet>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-account-3
08
-263"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-account-3
11
-263"
>
<addForeignKeyConstraint
baseColumnNames=
"TRANSACTIONCURRENCYID"
baseTableName=
"ACCOUNT"
constraintName=
"DER1N_ACCOUNT__TRANSACTIONCURR"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"TRANSACTIONCURRENCYID"
referencedTableName=
"TRANSACTIONCURRENCY"
validate=
"true"
/>
</changeSet>
<!--输出实体[KNOWLEDGEARTICLEVIEWS]外键关系 -->
...
...
@@ -11419,7 +11419,7 @@
<!--输出实体[CAMPAIGNLIST]外键关系 -->
<!--输出实体[LISTCONTACT]外键关系 -->
<!--输出实体[COMPETITOR]外键关系 -->
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-competitor-3
2
-346"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-competitor-3
3
-346"
>
<addForeignKeyConstraint
baseColumnNames=
"TRANSACTIONCURRENCYID"
baseTableName=
"COMPETITOR"
constraintName=
"DER1N_COMPETITOR__TRANSACTIONC"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"TRANSACTIONCURRENCYID"
referencedTableName=
"TRANSACTIONCURRENCY"
validate=
"true"
/>
</changeSet>
<!--输出实体[PRODUCT]外键关系 -->
...
...
@@ -11619,25 +11619,25 @@
<!--输出实体[RELATIONSHIPS]外键关系 -->
<!--输出实体[CONNECTIONROLE]外键关系 -->
<!--输出实体[OPPORTUNITY]外键关系 -->
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-opportunity-
69
-406"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-opportunity-
70
-406"
>
<addForeignKeyConstraint
baseColumnNames=
"PARENTACCOUNTID"
baseTableName=
"OPPORTUNITY"
constraintName=
"DER1N_OPPORTUNITY__ACCOUNT__PA"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"ACCOUNTID"
referencedTableName=
"ACCOUNT"
validate=
"true"
/>
</changeSet>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-opportunity-
69
-407"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-opportunity-
70
-407"
>
<addForeignKeyConstraint
baseColumnNames=
"CAMPAIGNID"
baseTableName=
"OPPORTUNITY"
constraintName=
"DER1N_OPPORTUNITY__CAMPAIGN__C"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"CAMPAIGNID"
referencedTableName=
"CAMPAIGN"
validate=
"true"
/>
</changeSet>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-opportunity-
69
-408"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-opportunity-
70
-408"
>
<addForeignKeyConstraint
baseColumnNames=
"PARENTCONTACTID"
baseTableName=
"OPPORTUNITY"
constraintName=
"DER1N_OPPORTUNITY__CONTACT__PA"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"CONTACTID"
referencedTableName=
"CONTACT"
validate=
"true"
/>
</changeSet>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-opportunity-
69
-409"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-opportunity-
70
-409"
>
<addForeignKeyConstraint
baseColumnNames=
"ORIGINATINGLEADID"
baseTableName=
"OPPORTUNITY"
constraintName=
"DER1N_OPPORTUNITY__LEAD__ORIGI"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"LEADID"
referencedTableName=
"LEAD"
validate=
"true"
/>
</changeSet>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-opportunity-
69
-410"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-opportunity-
70
-410"
>
<addForeignKeyConstraint
baseColumnNames=
"PRICELEVELID"
baseTableName=
"OPPORTUNITY"
constraintName=
"DER1N_OPPORTUNITY__PRICELEVEL_"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"PRICELEVELID"
referencedTableName=
"PRICELEVEL"
validate=
"true"
/>
</changeSet>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-opportunity-
69
-411"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-opportunity-
70
-411"
>
<addForeignKeyConstraint
baseColumnNames=
"SLAID"
baseTableName=
"OPPORTUNITY"
constraintName=
"DER1N_OPPORTUNITY__SLA__SLAID"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"SLAID"
referencedTableName=
"SLA"
validate=
"true"
/>
</changeSet>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-opportunity-
69
-412"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-opportunity-
70
-412"
>
<addForeignKeyConstraint
baseColumnNames=
"TRANSACTIONCURRENCYID"
baseTableName=
"OPPORTUNITY"
constraintName=
"DER1N_OPPORTUNITY__TRANSACTION"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"TRANSACTIONCURRENCYID"
referencedTableName=
"TRANSACTIONCURRENCY"
validate=
"true"
/>
</changeSet>
<!--输出实体[OPPORTUNITYCOMPETITOR]外键关系 -->
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录