Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
iBiz企业中心
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
iBiz企业套件
iBiz企业中心
提交
e4524a07
提交
e4524a07
编写于
7月 02, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
lab_gzf 发布系统代码
上级
39ccc70d
变更
9
隐藏空白字符变更
内嵌
并排
正在显示
9 个修改的文件
包含
110 行增加
和
742 行删除
+110
-742
contact_en_US.ts
app_CRM/src/locale/lanres/entities/contact/contact_en_US.ts
+53
-53
contact_zh_CN.ts
app_CRM/src/locale/lanres/entities/contact/contact_zh_CN.ts
+53
-53
contact-info-abstract.html
...ges/base/contact-info-abstract/contact-info-abstract.html
+1
-1
page-register.ts
app_CRM/src/pages/ungroup/central/page-register.ts
+0
-4
router.ts
app_CRM/src/pages/ungroup/central/router.ts
+0
-232
state.ts
app_CRM/src/store/modules/view-action/state.ts
+2
-46
contact-ui-service-base.ts
app_CRM/src/uiservice/contact/contact-ui-service-base.ts
+0
-272
con-abs-dashboard.html
.../widgets/contact/con-abs-dashboard/con-abs-dashboard.html
+1
-73
con-abs-dashboard.vue
...c/widgets/contact/con-abs-dashboard/con-abs-dashboard.vue
+0
-8
未找到文件。
app_CRM/src/locale/lanres/entities/contact/contact_en_US.ts
浏览文件 @
e4524a07
...
...
@@ -375,7 +375,7 @@ export default {
uiactions
:
{
},
},
addressinfo
_form
:
{
marketedit
_form
:
{
details
:
{
group1
:
"联系人基本信息"
,
formpage1
:
"基本信息"
,
...
...
@@ -387,17 +387,17 @@ export default {
srfuf
:
""
,
srfdeid
:
""
,
srfsourcekey
:
""
,
address1_country
:
"国家/地区
"
,
address1_stateorprovince
:
"省/市/自治区
"
,
address1_city
:
"市/县
"
,
address1_line1
:
"街道
"
,
address1_postalcode
:
"邮政编码
"
,
originatingleadname
:
"原始潜在顾客
"
,
lastusedincampaign
:
"上次参与市场活动的日期
"
,
donotsendmm
:
"发送市场营销资料
"
,
shippingmethodcode
:
"送货方式
"
,
originatingleadid
:
"原始潜在顾客
"
,
contactid
:
"联系人"
,
},
uiactions
:
{
},
},
addressedit
_form
:
{
personinfo
_form
:
{
details
:
{
group1
:
"联系人基本信息"
,
formpage1
:
"基本信息"
,
...
...
@@ -409,19 +409,20 @@ export default {
srfuf
:
""
,
srfdeid
:
""
,
srfsourcekey
:
""
,
address1_country
:
"国家/地区"
,
address1_stateorprovince
:
"省/市/自治区"
,
address1_city
:
"市/县"
,
address1_line1
:
"街道"
,
address1_postalcode
:
"邮政编码"
,
gendercode
:
"性别"
,
familystatuscode
:
"婚姻状况"
,
spousesname
:
"配偶/伴侣姓名"
,
birthdate
:
"生日"
,
anniversary
:
"纪念日"
,
description
:
"说明"
,
contactid
:
"联系人"
,
},
uiactions
:
{
},
},
person
info_form
:
{
book
info_form
:
{
details
:
{
group
1
:
"联系人基本信息
"
,
group
panel2
:
"记账
"
,
formpage1
:
"基本信息"
,
srfupdatedate
:
"更新时间"
,
srforikey
:
""
,
...
...
@@ -431,18 +432,16 @@ export default {
srfuf
:
""
,
srfdeid
:
""
,
srfsourcekey
:
""
,
gendercode
:
"性别"
,
familystatuscode
:
"婚姻状况"
,
spousesname
:
"配偶/伴侣姓名"
,
birthdate
:
"生日"
,
anniversary
:
"纪念日"
,
description
:
"说明"
,
transactioncurrencyname
:
"货币"
,
creditlimit
:
"信用额度"
,
creditonhold
:
"信用冻结"
,
paymenttermscode
:
"付款方式"
,
contactid
:
"联系人"
,
},
uiactions
:
{
},
},
personedit
_form
:
{
marketinfo
_form
:
{
details
:
{
group1
:
"联系人基本信息"
,
formpage1
:
"基本信息"
,
...
...
@@ -454,18 +453,16 @@ export default {
srfuf
:
""
,
srfdeid
:
""
,
srfsourcekey
:
""
,
gendercode
:
"性别"
,
familystatuscode
:
"婚姻状况"
,
spousesname
:
"配偶/伴侣姓名"
,
birthdate
:
"生日"
,
anniversary
:
"纪念日"
,
description
:
"说明"
,
originatingleadname
:
"原始潜在顾客"
,
lastusedincampaign
:
"上次参与市场活动的日期"
,
donotsendmm
:
"发送市场营销资料"
,
shippingmethodcode
:
"送货方式"
,
contactid
:
"联系人"
,
},
uiactions
:
{
},
},
marketinfo
_form
:
{
addressedit
_form
:
{
details
:
{
group1
:
"联系人基本信息"
,
formpage1
:
"基本信息"
,
...
...
@@ -477,16 +474,17 @@ export default {
srfuf
:
""
,
srfdeid
:
""
,
srfsourcekey
:
""
,
originatingleadname
:
"原始潜在顾客"
,
lastusedincampaign
:
"上次参与市场活动的日期"
,
donotsendmm
:
"发送市场营销资料"
,
shippingmethodcode
:
"送货方式"
,
address1_country
:
"国家/地区"
,
address1_stateorprovince
:
"省/市/自治区"
,
address1_city
:
"市/县"
,
address1_line1
:
"街道"
,
address1_postalcode
:
"邮政编码"
,
contactid
:
"联系人"
,
},
uiactions
:
{
},
},
marketedit
_form
:
{
addressinfo
_form
:
{
details
:
{
group1
:
"联系人基本信息"
,
formpage1
:
"基本信息"
,
...
...
@@ -498,20 +496,22 @@ export default {
srfuf
:
""
,
srfdeid
:
""
,
srfsourcekey
:
""
,
originatingleadname
:
"原始潜在顾客
"
,
lastusedincampaign
:
"上次参与市场活动的日期
"
,
donotsendmm
:
"发送市场营销资料
"
,
shippingmethodcode
:
"送货方式
"
,
originatingleadid
:
"原始潜在顾客
"
,
address1_country
:
"国家/地区
"
,
address1_stateorprovince
:
"省/市/自治区
"
,
address1_city
:
"市/县
"
,
address1_line1
:
"街道
"
,
address1_postalcode
:
"邮政编码
"
,
contactid
:
"联系人"
,
},
uiactions
:
{
},
},
bookinfo
_form
:
{
main
_form
:
{
details
:
{
group
panel2
:
"记账
"
,
group
1
:
"contact基本信息
"
,
formpage1
:
"基本信息"
,
group2
:
"操作信息"
,
formpage2
:
"其它"
,
srfupdatedate
:
"更新时间"
,
srforikey
:
""
,
srfkey
:
"联系人"
,
...
...
@@ -520,10 +520,11 @@ export default {
srfuf
:
""
,
srfdeid
:
""
,
srfsourcekey
:
""
,
transactioncurrencyname
:
"货币"
,
creditlimit
:
"信用额度"
,
creditonhold
:
"信用冻结"
,
paymenttermscode
:
"付款方式"
,
fullname
:
"全名"
,
createman
:
"建立人"
,
createdate
:
"建立时间"
,
updateman
:
"更新人"
,
updatedate
:
"更新时间"
,
contactid
:
"联系人"
,
},
uiactions
:
{
...
...
@@ -551,12 +552,10 @@ export default {
uiactions
:
{
},
},
main
_form
:
{
personedit
_form
:
{
details
:
{
group1
:
"
contact
基本信息"
,
group1
:
"
联系人
基本信息"
,
formpage1
:
"基本信息"
,
group2
:
"操作信息"
,
formpage2
:
"其它"
,
srfupdatedate
:
"更新时间"
,
srforikey
:
""
,
srfkey
:
"联系人"
,
...
...
@@ -565,11 +564,12 @@ export default {
srfuf
:
""
,
srfdeid
:
""
,
srfsourcekey
:
""
,
fullname
:
"全名"
,
createman
:
"建立人"
,
createdate
:
"建立时间"
,
updateman
:
"更新人"
,
updatedate
:
"更新时间"
,
gendercode
:
"性别"
,
familystatuscode
:
"婚姻状况"
,
spousesname
:
"配偶/伴侣姓名"
,
birthdate
:
"生日"
,
anniversary
:
"纪念日"
,
description
:
"说明"
,
contactid
:
"联系人"
,
},
uiactions
:
{
...
...
app_CRM/src/locale/lanres/entities/contact/contact_zh_CN.ts
浏览文件 @
e4524a07
...
...
@@ -374,7 +374,7 @@ export default {
uiactions
:
{
},
},
addressinfo
_form
:
{
marketedit
_form
:
{
details
:
{
group1
:
"联系人基本信息"
,
formpage1
:
"基本信息"
,
...
...
@@ -386,17 +386,17 @@ export default {
srfuf
:
""
,
srfdeid
:
""
,
srfsourcekey
:
""
,
address1_country
:
"国家/地区
"
,
address1_stateorprovince
:
"省/市/自治区
"
,
address1_city
:
"市/县
"
,
address1_line1
:
"街道
"
,
address1_postalcode
:
"邮政编码
"
,
originatingleadname
:
"原始潜在顾客
"
,
lastusedincampaign
:
"上次参与市场活动的日期
"
,
donotsendmm
:
"发送市场营销资料
"
,
shippingmethodcode
:
"送货方式
"
,
originatingleadid
:
"原始潜在顾客
"
,
contactid
:
"联系人"
,
},
uiactions
:
{
},
},
addressedit
_form
:
{
personinfo
_form
:
{
details
:
{
group1
:
"联系人基本信息"
,
formpage1
:
"基本信息"
,
...
...
@@ -408,19 +408,20 @@ export default {
srfuf
:
""
,
srfdeid
:
""
,
srfsourcekey
:
""
,
address1_country
:
"国家/地区"
,
address1_stateorprovince
:
"省/市/自治区"
,
address1_city
:
"市/县"
,
address1_line1
:
"街道"
,
address1_postalcode
:
"邮政编码"
,
gendercode
:
"性别"
,
familystatuscode
:
"婚姻状况"
,
spousesname
:
"配偶/伴侣姓名"
,
birthdate
:
"生日"
,
anniversary
:
"纪念日"
,
description
:
"说明"
,
contactid
:
"联系人"
,
},
uiactions
:
{
},
},
person
info_form
:
{
book
info_form
:
{
details
:
{
group
1
:
"联系人基本信息
"
,
group
panel2
:
"记账
"
,
formpage1
:
"基本信息"
,
srfupdatedate
:
"更新时间"
,
srforikey
:
""
,
...
...
@@ -430,18 +431,16 @@ export default {
srfuf
:
""
,
srfdeid
:
""
,
srfsourcekey
:
""
,
gendercode
:
"性别"
,
familystatuscode
:
"婚姻状况"
,
spousesname
:
"配偶/伴侣姓名"
,
birthdate
:
"生日"
,
anniversary
:
"纪念日"
,
description
:
"说明"
,
transactioncurrencyname
:
"货币"
,
creditlimit
:
"信用额度"
,
creditonhold
:
"信用冻结"
,
paymenttermscode
:
"付款方式"
,
contactid
:
"联系人"
,
},
uiactions
:
{
},
},
personedit
_form
:
{
marketinfo
_form
:
{
details
:
{
group1
:
"联系人基本信息"
,
formpage1
:
"基本信息"
,
...
...
@@ -453,18 +452,16 @@ export default {
srfuf
:
""
,
srfdeid
:
""
,
srfsourcekey
:
""
,
gendercode
:
"性别"
,
familystatuscode
:
"婚姻状况"
,
spousesname
:
"配偶/伴侣姓名"
,
birthdate
:
"生日"
,
anniversary
:
"纪念日"
,
description
:
"说明"
,
originatingleadname
:
"原始潜在顾客"
,
lastusedincampaign
:
"上次参与市场活动的日期"
,
donotsendmm
:
"发送市场营销资料"
,
shippingmethodcode
:
"送货方式"
,
contactid
:
"联系人"
,
},
uiactions
:
{
},
},
marketinfo
_form
:
{
addressedit
_form
:
{
details
:
{
group1
:
"联系人基本信息"
,
formpage1
:
"基本信息"
,
...
...
@@ -476,16 +473,17 @@ export default {
srfuf
:
""
,
srfdeid
:
""
,
srfsourcekey
:
""
,
originatingleadname
:
"原始潜在顾客"
,
lastusedincampaign
:
"上次参与市场活动的日期"
,
donotsendmm
:
"发送市场营销资料"
,
shippingmethodcode
:
"送货方式"
,
address1_country
:
"国家/地区"
,
address1_stateorprovince
:
"省/市/自治区"
,
address1_city
:
"市/县"
,
address1_line1
:
"街道"
,
address1_postalcode
:
"邮政编码"
,
contactid
:
"联系人"
,
},
uiactions
:
{
},
},
marketedit
_form
:
{
addressinfo
_form
:
{
details
:
{
group1
:
"联系人基本信息"
,
formpage1
:
"基本信息"
,
...
...
@@ -497,20 +495,22 @@ export default {
srfuf
:
""
,
srfdeid
:
""
,
srfsourcekey
:
""
,
originatingleadname
:
"原始潜在顾客
"
,
lastusedincampaign
:
"上次参与市场活动的日期
"
,
donotsendmm
:
"发送市场营销资料
"
,
shippingmethodcode
:
"送货方式
"
,
originatingleadid
:
"原始潜在顾客
"
,
address1_country
:
"国家/地区
"
,
address1_stateorprovince
:
"省/市/自治区
"
,
address1_city
:
"市/县
"
,
address1_line1
:
"街道
"
,
address1_postalcode
:
"邮政编码
"
,
contactid
:
"联系人"
,
},
uiactions
:
{
},
},
bookinfo
_form
:
{
main
_form
:
{
details
:
{
group
panel2
:
"记账
"
,
group
1
:
"contact基本信息
"
,
formpage1
:
"基本信息"
,
group2
:
"操作信息"
,
formpage2
:
"其它"
,
srfupdatedate
:
"更新时间"
,
srforikey
:
""
,
srfkey
:
"联系人"
,
...
...
@@ -519,10 +519,11 @@ export default {
srfuf
:
""
,
srfdeid
:
""
,
srfsourcekey
:
""
,
transactioncurrencyname
:
"货币"
,
creditlimit
:
"信用额度"
,
creditonhold
:
"信用冻结"
,
paymenttermscode
:
"付款方式"
,
fullname
:
"全名"
,
createman
:
"建立人"
,
createdate
:
"建立时间"
,
updateman
:
"更新人"
,
updatedate
:
"更新时间"
,
contactid
:
"联系人"
,
},
uiactions
:
{
...
...
@@ -550,12 +551,10 @@ export default {
uiactions
:
{
},
},
main
_form
:
{
personedit
_form
:
{
details
:
{
group1
:
"
contact
基本信息"
,
group1
:
"
联系人
基本信息"
,
formpage1
:
"基本信息"
,
group2
:
"操作信息"
,
formpage2
:
"其它"
,
srfupdatedate
:
"更新时间"
,
srforikey
:
""
,
srfkey
:
"联系人"
,
...
...
@@ -564,11 +563,12 @@ export default {
srfuf
:
""
,
srfdeid
:
""
,
srfsourcekey
:
""
,
fullname
:
"全名"
,
createman
:
"建立人"
,
createdate
:
"建立时间"
,
updateman
:
"更新人"
,
updatedate
:
"更新时间"
,
gendercode
:
"性别"
,
familystatuscode
:
"婚姻状况"
,
spousesname
:
"配偶/伴侣姓名"
,
birthdate
:
"生日"
,
anniversary
:
"纪念日"
,
description
:
"说明"
,
contactid
:
"联系人"
,
},
uiactions
:
{
...
...
app_CRM/src/pages/base/contact-info-abstract/contact-info-abstract.html
浏览文件 @
e4524a07
<studio-view-style2
viewName=
"contactinfo_abstract"
viewTitle=
"联系人编辑视图"
class=
'deeditview contact-info-abstract'
>
<studio-view-style2
viewName=
"contactinfo_abstract"
viewTitle=
"联系人编辑视图"
class=
'deeditview contact-info-abstract
from-dashboard-style
'
>
<view
_form
:viewState=
"viewState"
:viewparams=
"viewparams"
...
...
app_CRM/src/pages/ungroup/central/page-register.ts
浏览文件 @
e4524a07
...
...
@@ -17,13 +17,11 @@ export const PageComponents = {
Vue
.
component
(
'incident-child-incident-grid-view'
,
()
=>
import
(
'@pages/service/incident-child-incident-grid-view/incident-child-incident-grid-view.vue'
));
Vue
.
component
(
'quote-info-abstract'
,
()
=>
import
(
'@pages/sales/quote-info-abstract/quote-info-abstract.vue'
));
Vue
.
component
(
'product-pickup-view'
,
()
=>
import
(
'@pages/product/product-pickup-view/product-pickup-view.vue'
));
Vue
.
component
(
'contact-info-book'
,
()
=>
import
(
'@pages/base/contact-info-book/contact-info-book.vue'
));
Vue
.
component
(
'centeral-portal'
,
()
=>
import
(
'@pages/ungroup/centeral-portal/centeral-portal.vue'
));
Vue
.
component
(
'task-quick-create'
,
()
=>
import
(
'@pages/base/task-quick-create/task-quick-create.vue'
));
Vue
.
component
(
'opportunity-quick-create'
,
()
=>
import
(
'@pages/sales/opportunity-quick-create/opportunity-quick-create.vue'
));
Vue
.
component
(
'product-price-level-pro-prilv-edit-view'
,
()
=>
import
(
'@pages/product/product-price-level-pro-prilv-edit-view/product-price-level-pro-prilv-edit-view.vue'
));
Vue
.
component
(
'opportunity-info-product'
,
()
=>
import
(
'@pages/sales/opportunity-info-product/opportunity-info-product.vue'
));
Vue
.
component
(
'contact-info-person'
,
()
=>
import
(
'@pages/base/contact-info-person/contact-info-person.vue'
));
Vue
.
component
(
'invoice-quick-create-view'
,
()
=>
import
(
'@pages/finance/invoice-quick-create-view/invoice-quick-create-view.vue'
));
Vue
.
component
(
'opportunity-competitor-opp-comp-grid-view'
,
()
=>
import
(
'@pages/sales/opportunity-competitor-opp-comp-grid-view/opportunity-competitor-opp-comp-grid-view.vue'
));
Vue
.
component
(
'goal-info-goal-view'
,
()
=>
import
(
'@pages/sales/goal-info-goal-view/goal-info-goal-view.vue'
));
...
...
@@ -75,7 +73,6 @@ export const PageComponents = {
Vue
.
component
(
'metric-pickup-view'
,
()
=>
import
(
'@pages/base/metric-pickup-view/metric-pickup-view.vue'
));
Vue
.
component
(
'metric-edit-view'
,
()
=>
import
(
'@pages/base/metric-edit-view/metric-edit-view.vue'
));
Vue
.
component
(
'phone-call-edit-view'
,
()
=>
import
(
'@pages/base/phone-call-edit-view/phone-call-edit-view.vue'
));
Vue
.
component
(
'contact-info-address'
,
()
=>
import
(
'@pages/base/contact-info-address/contact-info-address.vue'
));
Vue
.
component
(
'sales-order-quick-create-view'
,
()
=>
import
(
'@pages/sales/sales-order-quick-create-view/sales-order-quick-create-view.vue'
));
Vue
.
component
(
'lead-quick-create'
,
()
=>
import
(
'@pages/sales/lead-quick-create/lead-quick-create.vue'
));
Vue
.
component
(
'competitor-pickup-grid-view'
,
()
=>
import
(
'@pages/sales/competitor-pickup-grid-view/competitor-pickup-grid-view.vue'
));
...
...
@@ -166,7 +163,6 @@ export const PageComponents = {
Vue
.
component
(
'competitor-pickup-view'
,
()
=>
import
(
'@pages/sales/competitor-pickup-view/competitor-pickup-view.vue'
));
Vue
.
component
(
'product-sales-literature-sal-lit-pro-edit-view'
,
()
=>
import
(
'@pages/sales/product-sales-literature-sal-lit-pro-edit-view/product-sales-literature-sal-lit-pro-edit-view.vue'
));
Vue
.
component
(
'sales-order-summary-view'
,
()
=>
import
(
'@pages/sales/sales-order-summary-view/sales-order-summary-view.vue'
));
Vue
.
component
(
'contact-info-market'
,
()
=>
import
(
'@pages/base/contact-info-market/contact-info-market.vue'
));
Vue
.
component
(
'quote-detail-edit-view'
,
()
=>
import
(
'@pages/sales/quote-detail-edit-view/quote-detail-edit-view.vue'
));
Vue
.
component
(
'quote-edit-view'
,
()
=>
import
(
'@pages/sales/quote-edit-view/quote-edit-view.vue'
));
Vue
.
component
(
'incident-grid-view'
,
()
=>
import
(
'@pages/service/incident-grid-view/incident-grid-view.vue'
));
...
...
app_CRM/src/pages/ungroup/central/router.ts
浏览文件 @
e4524a07
...
...
@@ -427,35 +427,6 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/product/product-pickup-view/product-pickup-view.vue'
),
},
{
path
:
'accounts/:account?/contacts/:contact?/info_book/:info_book?'
,
meta
:
{
caption
:
'entities.contact.views.info_book.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'central'
,
parameterName
:
'central'
},
{
pathName
:
'accounts'
,
parameterName
:
'account'
},
{
pathName
:
'contacts'
,
parameterName
:
'contact'
},
{
pathName
:
'info_book'
,
parameterName
:
'info_book'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/base/contact-info-book/contact-info-book.vue'
),
},
{
path
:
'contacts/:contact?/info_book/:info_book?'
,
meta
:
{
caption
:
'entities.contact.views.info_book.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'central'
,
parameterName
:
'central'
},
{
pathName
:
'contacts'
,
parameterName
:
'contact'
},
{
pathName
:
'info_book'
,
parameterName
:
'info_book'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/base/contact-info-book/contact-info-book.vue'
),
},
{
path
:
'centeralportal/:centeralportal?'
,
meta
:
{
...
...
@@ -602,35 +573,6 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/sales/opportunity-info-product/opportunity-info-product.vue'
),
},
{
path
:
'accounts/:account?/contacts/:contact?/info_person/:info_person?'
,
meta
:
{
caption
:
'entities.contact.views.info_person.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'central'
,
parameterName
:
'central'
},
{
pathName
:
'accounts'
,
parameterName
:
'account'
},
{
pathName
:
'contacts'
,
parameterName
:
'contact'
},
{
pathName
:
'info_person'
,
parameterName
:
'info_person'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/base/contact-info-person/contact-info-person.vue'
),
},
{
path
:
'contacts/:contact?/info_person/:info_person?'
,
meta
:
{
caption
:
'entities.contact.views.info_person.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'central'
,
parameterName
:
'central'
},
{
pathName
:
'contacts'
,
parameterName
:
'contact'
},
{
pathName
:
'info_person'
,
parameterName
:
'info_person'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/base/contact-info-person/contact-info-person.vue'
),
},
{
path
:
'invoices/:invoice?/quickcreateview/:quickcreateview?'
,
meta
:
{
...
...
@@ -1598,35 +1540,6 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/finance/invoice-detail-edit-view/invoice-detail-edit-view.vue'
),
},
{
path
:
'accounts/:account?/contacts/:contact?/editmarket/:editmarket?'
,
meta
:
{
caption
:
'entities.contact.views.editmarket.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'central'
,
parameterName
:
'central'
},
{
pathName
:
'accounts'
,
parameterName
:
'account'
},
{
pathName
:
'contacts'
,
parameterName
:
'contact'
},
{
pathName
:
'editmarket'
,
parameterName
:
'editmarket'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/base/contact-edit-market/contact-edit-market.vue'
),
},
{
path
:
'contacts/:contact?/editmarket/:editmarket?'
,
meta
:
{
caption
:
'entities.contact.views.editmarket.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'central'
,
parameterName
:
'central'
},
{
pathName
:
'contacts'
,
parameterName
:
'contact'
},
{
pathName
:
'editmarket'
,
parameterName
:
'editmarket'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/base/contact-edit-market/contact-edit-market.vue'
),
},
{
path
:
'campaigns/:campaign?/gridview/:gridview?'
,
meta
:
{
...
...
@@ -2010,35 +1923,6 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/base/phone-call-edit-view/phone-call-edit-view.vue'
),
},
{
path
:
'accounts/:account?/contacts/:contact?/info_address/:info_address?'
,
meta
:
{
caption
:
'entities.contact.views.info_address.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'central'
,
parameterName
:
'central'
},
{
pathName
:
'accounts'
,
parameterName
:
'account'
},
{
pathName
:
'contacts'
,
parameterName
:
'contact'
},
{
pathName
:
'info_address'
,
parameterName
:
'info_address'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/base/contact-info-address/contact-info-address.vue'
),
},
{
path
:
'contacts/:contact?/info_address/:info_address?'
,
meta
:
{
caption
:
'entities.contact.views.info_address.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'central'
,
parameterName
:
'central'
},
{
pathName
:
'contacts'
,
parameterName
:
'contact'
},
{
pathName
:
'info_address'
,
parameterName
:
'info_address'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/base/contact-info-address/contact-info-address.vue'
),
},
{
path
:
'salesorders/:salesorder?/quickcreateview/:quickcreateview?'
,
meta
:
{
...
...
@@ -2820,35 +2704,6 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/sales/sales-literature-grid-view/sales-literature-grid-view.vue'
),
},
{
path
:
'accounts/:account?/contacts/:contact?/editperson/:editperson?'
,
meta
:
{
caption
:
'entities.contact.views.editperson.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'central'
,
parameterName
:
'central'
},
{
pathName
:
'accounts'
,
parameterName
:
'account'
},
{
pathName
:
'contacts'
,
parameterName
:
'contact'
},
{
pathName
:
'editperson'
,
parameterName
:
'editperson'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/base/contact-edit-person/contact-edit-person.vue'
),
},
{
path
:
'contacts/:contact?/editperson/:editperson?'
,
meta
:
{
caption
:
'entities.contact.views.editperson.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'central'
,
parameterName
:
'central'
},
{
pathName
:
'contacts'
,
parameterName
:
'contact'
},
{
pathName
:
'editperson'
,
parameterName
:
'editperson'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/base/contact-edit-person/contact-edit-person.vue'
),
},
{
path
:
'incidents/:incident?/infoview/:infoview?'
,
meta
:
{
...
...
@@ -4846,35 +4701,6 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/sales/sales-order-summary-view/sales-order-summary-view.vue'
),
},
{
path
:
'accounts/:account?/contacts/:contact?/info_market/:info_market?'
,
meta
:
{
caption
:
'entities.contact.views.info_market.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'central'
,
parameterName
:
'central'
},
{
pathName
:
'accounts'
,
parameterName
:
'account'
},
{
pathName
:
'contacts'
,
parameterName
:
'contact'
},
{
pathName
:
'info_market'
,
parameterName
:
'info_market'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/base/contact-info-market/contact-info-market.vue'
),
},
{
path
:
'contacts/:contact?/info_market/:info_market?'
,
meta
:
{
caption
:
'entities.contact.views.info_market.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'central'
,
parameterName
:
'central'
},
{
pathName
:
'contacts'
,
parameterName
:
'contact'
},
{
pathName
:
'info_market'
,
parameterName
:
'info_market'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/base/contact-info-market/contact-info-market.vue'
),
},
{
path
:
'accounts/:account?/contacts/:contact?/opportunities/:opportunity?/quotes/:quote?/quotedetails/:quotedetail?/editview/:editview?'
,
meta
:
{
...
...
@@ -4955,35 +4781,6 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/sales/quote-detail-edit-view/quote-detail-edit-view.vue'
),
},
{
path
:
'accounts/:account?/contacts/:contact?/editbook/:editbook?'
,
meta
:
{
caption
:
'entities.contact.views.editbook.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'central'
,
parameterName
:
'central'
},
{
pathName
:
'accounts'
,
parameterName
:
'account'
},
{
pathName
:
'contacts'
,
parameterName
:
'contact'
},
{
pathName
:
'editbook'
,
parameterName
:
'editbook'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/base/contact-edit-book/contact-edit-book.vue'
),
},
{
path
:
'contacts/:contact?/editbook/:editbook?'
,
meta
:
{
caption
:
'entities.contact.views.editbook.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'central'
,
parameterName
:
'central'
},
{
pathName
:
'contacts'
,
parameterName
:
'contact'
},
{
pathName
:
'editbook'
,
parameterName
:
'editbook'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/base/contact-edit-book/contact-edit-book.vue'
),
},
{
path
:
'accounts/:account?/contacts/:contact?/opportunities/:opportunity?/quotes/:quote?/editview/:editview?'
,
meta
:
{
...
...
@@ -5060,35 +4857,6 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/base/account-edit-account-info/account-edit-account-info.vue'
),
},
{
path
:
'accounts/:account?/contacts/:contact?/editaddress/:editaddress?'
,
meta
:
{
caption
:
'entities.contact.views.editaddress.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'central'
,
parameterName
:
'central'
},
{
pathName
:
'accounts'
,
parameterName
:
'account'
},
{
pathName
:
'contacts'
,
parameterName
:
'contact'
},
{
pathName
:
'editaddress'
,
parameterName
:
'editaddress'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/base/contact-edit-address/contact-edit-address.vue'
),
},
{
path
:
'contacts/:contact?/editaddress/:editaddress?'
,
meta
:
{
caption
:
'entities.contact.views.editaddress.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'central'
,
parameterName
:
'central'
},
{
pathName
:
'contacts'
,
parameterName
:
'contact'
},
{
pathName
:
'editaddress'
,
parameterName
:
'editaddress'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/base/contact-edit-address/contact-edit-address.vue'
),
},
{
path
:
'incidents/:incident?/gridview/:gridview?'
,
meta
:
{
...
...
app_CRM/src/store/modules/view-action/state.ts
浏览文件 @
e4524a07
...
...
@@ -279,15 +279,6 @@ export const viewstate: any = {
'd3692664b9e2e150526e1ce4b969f15b'
,
],
},
{
viewtag
:
'21eb3cee3363f2590cf0cf6af8446300'
,
viewmodule
:
'Base'
,
viewname
:
'ContactInfo_Person'
,
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
],
},
{
viewtag
:
'2419ef8b89f0de40c9daa19acacbd706'
,
viewmodule
:
'Service'
,
...
...
@@ -377,15 +368,6 @@ export const viewstate: any = {
'90289db866d87ff28979dfdfd2ce583d'
,
],
},
{
viewtag
:
'2b787c59ba090b37b9a1ba8f8ba045b4'
,
viewmodule
:
'Base'
,
viewname
:
'ContactInfo_Book'
,
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
],
},
{
viewtag
:
'2bb0e34c7ae753e03404e4d96b17e90c'
,
viewmodule
:
'Finance'
,
...
...
@@ -803,15 +785,6 @@ export const viewstate: any = {
refviews
:
[
],
},
{
viewtag
:
'615ceb2945e3cfe7404850aeadae188d'
,
viewmodule
:
'Base'
,
viewname
:
'ContactInfo_Market'
,
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
],
},
{
viewtag
:
'6168a7e787ead13b1e0f9a55007bc68c'
,
viewmodule
:
'Base'
,
...
...
@@ -819,19 +792,11 @@ export const viewstate: any = {
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
'21eb3cee3363f2590cf0cf6af8446300'
,
'0572fab51a094f738d0b1f41c3b78988'
,
'aa79d35850f36fbc1a5085353ecd5af5'
,
'a95d7d9111bc13a8b73a11ee1e4ff92a'
,
'9475c40920701fcc382676d73832de4f'
,
'a5213905238dbc5d8e1a505029105cc9'
,
'615ceb2945e3cfe7404850aeadae188d'
,
'2b787c59ba090b37b9a1ba8f8ba045b4'
,
'e7ed63c9b06815f5310c4fff23b93c8b'
,
'b0007bebfa6db7831d4c97ad125506a5'
,
'3cf1d1097fdbdea6d7fb32cf7ff09d04'
,
'a95d7d9111bc13a8b73a11ee1e4ff92a'
,
'893e62d6fbdc4580de7e3e802aec9108'
,
'
75b6e6474d2b1adcae64bafd60edb618
'
,
'
a5213905238dbc5d8e1a505029105cc9
'
,
],
},
{
...
...
@@ -1233,15 +1198,6 @@ export const viewstate: any = {
'fcdb236b65d78c4a8ae64e74f9483a63'
,
],
},
{
viewtag
:
'9475c40920701fcc382676d73832de4f'
,
viewmodule
:
'Base'
,
viewname
:
'ContactInfo_Address'
,
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
],
},
{
viewtag
:
'94d961edd298073d53ca3239c092fac4'
,
viewmodule
:
'Base'
,
...
...
app_CRM/src/uiservice/contact/contact-ui-service-base.ts
浏览文件 @
e4524a07
...
...
@@ -179,74 +179,6 @@ export default class ContactUIServiceBase extends UIService {
openDrawer
(
view
,
data
);
}
/**
* 编辑
*
* @param {any[]} args 当前数据
* @param {any} context 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @param {*} [srfParentDeName] 父实体名称
* @returns {Promise<any>}
*/
public
async
Contact_Edit_Person
(
args
:
any
[],
context
:
any
=
{}
,
params
:
any
=
{},
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
let
data
:
any
=
{};
let
parentContext
:
any
=
{};
let
parentViewParam
:
any
=
{};
const
_this
:
any
=
actionContext
;
const
_args
:
any
[]
=
Util
.
deepCopy
(
args
);
const
actionTarget
:
string
|
null
=
'SINGLEKEY'
;
Object
.
assign
(
context
,
{
contact
:
'%contact%'
});
Object
.
assign
(
params
,
{
contactid
:
'%contact%'
});
Object
.
assign
(
params
,
{
fullname
:
'%fullname%'
});
if
(
_this
.
context
){
parentContext
=
_this
.
context
;
}
if
(
_this
.
viewparams
){
parentViewParam
=
_this
.
viewparams
;
}
context
=
UIActionTool
.
handleContextParam
(
actionTarget
,
_args
,
parentContext
,
parentViewParam
,
context
);
data
=
UIActionTool
.
handleActionParam
(
actionTarget
,
_args
,
parentContext
,
parentViewParam
,
params
);
context
=
Object
.
assign
({},
actionContext
.
context
,
context
);
let
parentObj
:
any
=
{
srfparentdename
:
srfParentDeName
?
srfParentDeName
:
null
,
srfparentkey
:
srfParentDeName
?
context
[
srfParentDeName
.
toLowerCase
()]:
null
};
Object
.
assign
(
data
,
parentObj
);
Object
.
assign
(
context
,
parentObj
);
let
deResParameters
:
any
[]
=
[];
if
(
context
.
account
&&
true
){
deResParameters
=
[
{
pathName
:
'accounts'
,
parameterName
:
'account'
},
]
}
const
parameters
:
any
[]
=
[
{
pathName
:
'contacts'
,
parameterName
:
'contact'
},
];
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
:
'contact-edit-person'
,
height
:
0
,
width
:
450
,
title
:
actionContext
.
$t
(
'entities.contact.views.editperson.title'
),
placement
:
'DRAWER_RIGHT'
,
};
openDrawer
(
view
,
data
);
}
/**
* 打开主信息界面
*
...
...
@@ -300,142 +232,6 @@ export default class ContactUIServiceBase extends UIService {
openIndexViewTab
(
data
);
}
/**
* 编辑
*
* @param {any[]} args 当前数据
* @param {any} context 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @param {*} [srfParentDeName] 父实体名称
* @returns {Promise<any>}
*/
public
async
Contact_Edit_Book
(
args
:
any
[],
context
:
any
=
{}
,
params
:
any
=
{},
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
let
data
:
any
=
{};
let
parentContext
:
any
=
{};
let
parentViewParam
:
any
=
{};
const
_this
:
any
=
actionContext
;
const
_args
:
any
[]
=
Util
.
deepCopy
(
args
);
const
actionTarget
:
string
|
null
=
'SINGLEKEY'
;
Object
.
assign
(
context
,
{
contact
:
'%contact%'
});
Object
.
assign
(
params
,
{
contactid
:
'%contact%'
});
Object
.
assign
(
params
,
{
fullname
:
'%fullname%'
});
if
(
_this
.
context
){
parentContext
=
_this
.
context
;
}
if
(
_this
.
viewparams
){
parentViewParam
=
_this
.
viewparams
;
}
context
=
UIActionTool
.
handleContextParam
(
actionTarget
,
_args
,
parentContext
,
parentViewParam
,
context
);
data
=
UIActionTool
.
handleActionParam
(
actionTarget
,
_args
,
parentContext
,
parentViewParam
,
params
);
context
=
Object
.
assign
({},
actionContext
.
context
,
context
);
let
parentObj
:
any
=
{
srfparentdename
:
srfParentDeName
?
srfParentDeName
:
null
,
srfparentkey
:
srfParentDeName
?
context
[
srfParentDeName
.
toLowerCase
()]:
null
};
Object
.
assign
(
data
,
parentObj
);
Object
.
assign
(
context
,
parentObj
);
let
deResParameters
:
any
[]
=
[];
if
(
context
.
account
&&
true
){
deResParameters
=
[
{
pathName
:
'accounts'
,
parameterName
:
'account'
},
]
}
const
parameters
:
any
[]
=
[
{
pathName
:
'contacts'
,
parameterName
:
'contact'
},
];
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
:
'contact-edit-book'
,
height
:
0
,
width
:
450
,
title
:
actionContext
.
$t
(
'entities.contact.views.editbook.title'
),
placement
:
'DRAWER_RIGHT'
,
};
openDrawer
(
view
,
data
);
}
/**
* 编辑
*
* @param {any[]} args 当前数据
* @param {any} context 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @param {*} [srfParentDeName] 父实体名称
* @returns {Promise<any>}
*/
public
async
Contact_Edit_Market
(
args
:
any
[],
context
:
any
=
{}
,
params
:
any
=
{},
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
let
data
:
any
=
{};
let
parentContext
:
any
=
{};
let
parentViewParam
:
any
=
{};
const
_this
:
any
=
actionContext
;
const
_args
:
any
[]
=
Util
.
deepCopy
(
args
);
const
actionTarget
:
string
|
null
=
'SINGLEKEY'
;
Object
.
assign
(
context
,
{
contact
:
'%contact%'
});
Object
.
assign
(
params
,
{
contactid
:
'%contact%'
});
Object
.
assign
(
params
,
{
fullname
:
'%fullname%'
});
if
(
_this
.
context
){
parentContext
=
_this
.
context
;
}
if
(
_this
.
viewparams
){
parentViewParam
=
_this
.
viewparams
;
}
context
=
UIActionTool
.
handleContextParam
(
actionTarget
,
_args
,
parentContext
,
parentViewParam
,
context
);
data
=
UIActionTool
.
handleActionParam
(
actionTarget
,
_args
,
parentContext
,
parentViewParam
,
params
);
context
=
Object
.
assign
({},
actionContext
.
context
,
context
);
let
parentObj
:
any
=
{
srfparentdename
:
srfParentDeName
?
srfParentDeName
:
null
,
srfparentkey
:
srfParentDeName
?
context
[
srfParentDeName
.
toLowerCase
()]:
null
};
Object
.
assign
(
data
,
parentObj
);
Object
.
assign
(
context
,
parentObj
);
let
deResParameters
:
any
[]
=
[];
if
(
context
.
account
&&
true
){
deResParameters
=
[
{
pathName
:
'accounts'
,
parameterName
:
'account'
},
]
}
const
parameters
:
any
[]
=
[
{
pathName
:
'contacts'
,
parameterName
:
'contact'
},
];
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
:
'contact-edit-market'
,
height
:
0
,
width
:
450
,
title
:
actionContext
.
$t
(
'entities.contact.views.editmarket.title'
),
placement
:
'DRAWER_RIGHT'
,
};
openDrawer
(
view
,
data
);
}
/**
* 设置为主要联系人
*
...
...
@@ -500,74 +296,6 @@ export default class ContactUIServiceBase extends UIService {
backend
();
}
/**
* 编辑
*
* @param {any[]} args 当前数据
* @param {any} context 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @param {*} [srfParentDeName] 父实体名称
* @returns {Promise<any>}
*/
public
async
Contact_Edit_Address
(
args
:
any
[],
context
:
any
=
{}
,
params
:
any
=
{},
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
let
data
:
any
=
{};
let
parentContext
:
any
=
{};
let
parentViewParam
:
any
=
{};
const
_this
:
any
=
actionContext
;
const
_args
:
any
[]
=
Util
.
deepCopy
(
args
);
const
actionTarget
:
string
|
null
=
'SINGLEKEY'
;
Object
.
assign
(
context
,
{
contact
:
'%contact%'
});
Object
.
assign
(
params
,
{
contactid
:
'%contact%'
});
Object
.
assign
(
params
,
{
fullname
:
'%fullname%'
});
if
(
_this
.
context
){
parentContext
=
_this
.
context
;
}
if
(
_this
.
viewparams
){
parentViewParam
=
_this
.
viewparams
;
}
context
=
UIActionTool
.
handleContextParam
(
actionTarget
,
_args
,
parentContext
,
parentViewParam
,
context
);
data
=
UIActionTool
.
handleActionParam
(
actionTarget
,
_args
,
parentContext
,
parentViewParam
,
params
);
context
=
Object
.
assign
({},
actionContext
.
context
,
context
);
let
parentObj
:
any
=
{
srfparentdename
:
srfParentDeName
?
srfParentDeName
:
null
,
srfparentkey
:
srfParentDeName
?
context
[
srfParentDeName
.
toLowerCase
()]:
null
};
Object
.
assign
(
data
,
parentObj
);
Object
.
assign
(
context
,
parentObj
);
let
deResParameters
:
any
[]
=
[];
if
(
context
.
account
&&
true
){
deResParameters
=
[
{
pathName
:
'accounts'
,
parameterName
:
'account'
},
]
}
const
parameters
:
any
[]
=
[
{
pathName
:
'contacts'
,
parameterName
:
'contact'
},
];
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
:
'contact-edit-address'
,
height
:
0
,
width
:
450
,
title
:
actionContext
.
$t
(
'entities.contact.views.editaddress.title'
),
placement
:
'DRAWER_RIGHT'
,
};
openDrawer
(
view
,
data
);
}
/**
* 获取指定数据的重定向页面
...
...
app_CRM/src/widgets/contact/con-abs-dashboard/con-abs-dashboard.html
浏览文件 @
e4524a07
...
...
@@ -6,7 +6,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 summary-viewdashboard-container1 '
:style=
"{}"
>
<div
class=
'portlet-container summary-viewdashboard-container1
portlet-container-no-border
'
:style=
"{}"
>
<row>
<i-col
:md=
"{ span: 24, offset: 0 }"
>
<div
class=
"portlet-without-title"
>
...
...
@@ -26,78 +26,6 @@
</card>
</div>
</i-col>
<i-col
:md=
"{ span: 24, offset: 0 }"
>
<div
class=
"portlet-without-title"
>
<card
class=
"portlet-card"
:bordered=
"false"
dis-hover
:padding=
"0"
>
<span>
<view
_dashboard_sysportlet2
:viewState=
"viewState"
:viewparams=
"viewparams"
:context=
"context"
:height=
"0"
:width=
"0"
name=
"dashboard_sysportlet2"
ref=
'dashboard_sysportlet2'
@
closeview=
"closeView($event)"
>
</view
_dashboard_sysportlet2
>
</span>
</card>
</div>
</i-col>
<i-col
:md=
"{ span: 24, offset: 0 }"
>
<div
class=
"portlet-without-title"
>
<card
class=
"portlet-card"
:bordered=
"false"
dis-hover
:padding=
"0"
>
<span>
<view
_dashboard_sysportlet3
:viewState=
"viewState"
:viewparams=
"viewparams"
:context=
"context"
:height=
"0"
:width=
"0"
name=
"dashboard_sysportlet3"
ref=
'dashboard_sysportlet3'
@
closeview=
"closeView($event)"
>
</view
_dashboard_sysportlet3
>
</span>
</card>
</div>
</i-col>
<i-col
:md=
"{ span: 24, offset: 0 }"
>
<div
class=
"portlet-without-title"
>
<card
class=
"portlet-card"
:bordered=
"false"
dis-hover
:padding=
"0"
>
<span>
<view
_dashboard_sysportlet4
:viewState=
"viewState"
:viewparams=
"viewparams"
:context=
"context"
:height=
"0"
:width=
"0"
name=
"dashboard_sysportlet4"
ref=
'dashboard_sysportlet4'
@
closeview=
"closeView($event)"
>
</view
_dashboard_sysportlet4
>
</span>
</card>
</div>
</i-col>
<i-col
:md=
"{ span: 24, offset: 0 }"
>
<div
class=
"portlet-without-title"
>
<card
class=
"portlet-card"
:bordered=
"false"
dis-hover
:padding=
"0"
>
<span>
<view
_dashboard_sysportlet5
:viewState=
"viewState"
:viewparams=
"viewparams"
:context=
"context"
:height=
"0"
:width=
"0"
name=
"dashboard_sysportlet5"
ref=
'dashboard_sysportlet5'
@
closeview=
"closeView($event)"
>
</view
_dashboard_sysportlet5
>
</span>
</card>
</div>
</i-col>
</row>
</div>
</span>
...
...
app_CRM/src/widgets/contact/con-abs-dashboard/con-abs-dashboard.vue
浏览文件 @
e4524a07
...
...
@@ -4,10 +4,6 @@ import { Component } from 'vue-property-decorator';
import { VueLifeCycleProcessing } from '@/studio-core';
import { ConAbsDashboardBase } from './con-abs-dashboard-base';
import view_dashboard_sysportlet6 from '@widgets/activity-pointer/list-by-parent-key-portlet/list-by-parent-key-portlet.vue';
import view_dashboard_sysportlet4 from '@widgets/contact/view-con-mar-portlet/view-con-mar-portlet.vue';
import view_dashboard_sysportlet5 from '@widgets/contact/view-con-book-portlet/view-con-book-portlet.vue';
import view_dashboard_sysportlet2 from '@widgets/contact/view-con-add-portlet/view-con-add-portlet.vue';
import view_dashboard_sysportlet3 from '@widgets/contact/view-con-per-portlet/view-con-per-portlet.vue';
import view_dashboard_sysportlet1 from '@widgets/contact/view-con-abs-portlet/view-con-abs-portlet.vue';
...
...
@@ -21,10 +17,6 @@ import view_dashboard_sysportlet1 from '@widgets/contact/view-con-abs-portlet/vi
@Component({
components: {
view_dashboard_sysportlet6,
view_dashboard_sysportlet4,
view_dashboard_sysportlet5,
view_dashboard_sysportlet2,
view_dashboard_sysportlet3,
view_dashboard_sysportlet1,
}
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录