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
此差异已折叠。
点击以展开。
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
此差异已折叠。
点击以展开。
app_CRM/src/widgets/contact/infotabexppanel-tabexppanel/infotabexppanel-tabexppanel-model.ts
0 → 100644
浏览文件 @
a988c15f
此差异已折叠。
点击以展开。
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
此差异已折叠。
点击以展开。
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
此差异已折叠。
点击以展开。
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
此差异已折叠。
点击以展开。
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
此差异已折叠。
点击以展开。
app_CRM/src/widgets/contact/infotabviewpanel4-tabviewpanel/infotabviewpanel4-tabviewpanel-base.vue
0 → 100644
浏览文件 @
a988c15f
此差异已折叠。
点击以展开。
app_CRM/src/widgets/contact/infotabviewpanel4-tabviewpanel/infotabviewpanel4-tabviewpanel-model.ts
0 → 100644
浏览文件 @
a988c15f
此差异已折叠。
点击以展开。
app_CRM/src/widgets/contact/infotabviewpanel4-tabviewpanel/infotabviewpanel4-tabviewpanel-service.ts
0 → 100644
浏览文件 @
a988c15f
此差异已折叠。
点击以展开。
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
此差异已折叠。
点击以展开。
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
此差异已折叠。
点击以展开。
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录