Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
iBiz企业中心
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
iBiz企业套件
iBiz企业中心
提交
39ccc70d
提交
39ccc70d
编写于
7月 02, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
lab_gzf 发布系统代码
上级
85afcae4
变更
29
展开全部
隐藏空白字符变更
内嵌
并排
正在显示
29 个修改的文件
包含
1136 行增加
和
674 行删除
+1136
-674
view-config.json
app_CRM/public/assets/json/view-config.json
+13
-3
account_en_US.ts
app_CRM/src/locale/lanres/entities/account/account_en_US.ts
+1
-0
account_zh_CN.ts
app_CRM/src/locale/lanres/entities/account/account_zh_CN.ts
+1
-0
contact_en_US.ts
app_CRM/src/locale/lanres/entities/contact/contact_en_US.ts
+28
-5
contact_zh_CN.ts
app_CRM/src/locale/lanres/entities/contact/contact_zh_CN.ts
+28
-5
incident_en_US.ts
...CRM/src/locale/lanres/entities/incident/incident_en_US.ts
+4
-0
incident_zh_CN.ts
...CRM/src/locale/lanres/entities/incident/incident_zh_CN.ts
+4
-0
viewconfig.ts
app_CRM/src/mock/viewconfig/viewconfig.ts
+10
-2
contact-summary-view-base.tsx
...s/base/contact-summary-view/contact-summary-view-base.tsx
+118
-0
contact-summary-view.html
...pages/base/contact-summary-view/contact-summary-view.html
+12
-0
contact-summary-view.vue
.../pages/base/contact-summary-view/contact-summary-view.vue
+27
-0
page-register.ts
app_CRM/src/pages/ungroup/central/page-register.ts
+1
-2
router.ts
app_CRM/src/pages/ungroup/central/router.ts
+8
-37
campaign-service-base.ts
app_CRM/src/service/campaign/campaign-service-base.ts
+50
-50
contact-service-base.ts
app_CRM/src/service/contact/contact-service-base.ts
+124
-124
opportunity-service-base.ts
app_CRM/src/service/opportunity/opportunity-service-base.ts
+231
-231
product-service-base.ts
app_CRM/src/service/product/product-service-base.ts
+52
-52
sales-literature-service-base.ts
...service/sales-literature/sales-literature-service-base.ts
+50
-50
state.ts
app_CRM/src/store/modules/view-action/state.ts
+2
-12
contact-ui-service-base.ts
app_CRM/src/uiservice/contact/contact-ui-service-base.ts
+32
-40
incident-ui-service-base.ts
app_CRM/src/uiservice/incident/incident-ui-service-base.ts
+1
-0
abstract-info-form-base.tsx
...ts/contact/abstract-info-form/abstract-info-form-base.tsx
+66
-1
abstract-info-form-model.ts
...ts/contact/abstract-info-form/abstract-info-form-model.ts
+95
-0
abstract-info-form.html
...idgets/contact/abstract-info-form/abstract-info-form.html
+166
-1
con-abs-dashboard.html
.../widgets/contact/con-abs-dashboard/con-abs-dashboard.html
+2
-2
infotabviewpanel-tabviewpanel.html
...viewpanel-tabviewpanel/infotabviewpanel-tabviewpanel.html
+2
-2
view-con-abs-portlet-base.tsx
...ontact/view-con-abs-portlet/view-con-abs-portlet-base.tsx
+0
-39
view-con-abs-portlet.html
...ts/contact/view-con-abs-portlet/view-con-abs-portlet.html
+0
-8
h2_table.xml
...esscentral-core/src/main/resources/liquibase/h2_table.xml
+8
-8
未找到文件。
app_CRM/public/assets/json/view-config.json
浏览文件 @
39ccc70d
...
...
@@ -879,13 +879,13 @@
"viewtag"
:
"615ceb2945e3cfe7404850aeadae188d"
,
"memo"
:
""
},
"contactsummary"
:
{
"contactsummary
view
"
:
{
"title"
:
"联系人数据看板视图"
,
"caption"
:
"联系人"
,
"viewtype"
:
"DEPORTALVIEW"
,
"viewmodule"
:
"Base"
,
"viewname"
:
"ContactSummary"
,
"viewfilename"
:
"contact-summary"
,
"viewname"
:
"ContactSummary
View
"
,
"viewfilename"
:
"contact-summary
-view
"
,
"viewtag"
:
"6168a7e787ead13b1e0f9a55007bc68c"
,
"memo"
:
""
},
...
...
@@ -1119,6 +1119,16 @@
"viewtag"
:
"7bf35293fd1d9db7816755a74c4d575e"
,
"memo"
:
"系统自动添加"
},
"incidentpickupgridview"
:
{
"title"
:
"案例选择表格视图"
,
"caption"
:
"案例"
,
"viewtype"
:
"DEPICKUPGRIDVIEW"
,
"viewmodule"
:
"Service"
,
"viewname"
:
"IncidentPickupGridView"
,
"viewfilename"
:
"incident-pickup-grid-view"
,
"viewtag"
:
"7cd4753a46e288fc3bac3a4d6b08c8d1"
,
"memo"
:
"系统自动添加"
},
"leadpickupgridview"
:
{
"title"
:
"潜在顾客选择表格视图"
,
"caption"
:
"潜在顾客"
,
...
...
app_CRM/src/locale/lanres/entities/account/account_en_US.ts
浏览文件 @
39ccc70d
...
...
@@ -350,6 +350,7 @@ export default {
account_edit_accountinfo
:
"编辑"
,
account_edit_address
:
"编辑"
,
contact_openquickcreateview
:
"新建"
,
contact_openinfoview
:
"打开主信息界面"
,
},
},
info_account_form
:
{
...
...
app_CRM/src/locale/lanres/entities/account/account_zh_CN.ts
浏览文件 @
39ccc70d
...
...
@@ -349,6 +349,7 @@ export default {
account_edit_accountinfo
:
"编辑"
,
account_edit_address
:
"编辑"
,
contact_openquickcreateview
:
"新建"
,
contact_openinfoview
:
"打开主信息界面"
,
},
},
info_account_form
:
{
...
...
app_CRM/src/locale/lanres/entities/contact/contact_en_US.ts
浏览文件 @
39ccc70d
...
...
@@ -233,7 +233,7 @@ export default {
caption
:
"联系人"
,
title
:
"联系人编辑视图"
,
},
summary
:
{
summary
view
:
{
caption
:
"联系人"
,
title
:
"联系人数据看板视图"
,
},
...
...
@@ -331,6 +331,10 @@ export default {
abstractinfo_form
:
{
details
:
{
group1
:
"联系人基本信息"
,
grouppanel1
:
"地址信息"
,
grouppanel2
:
"个人信息"
,
grouppanel3
:
"市场营销信息"
,
grouppanel4
:
"记账信息"
,
formpage1
:
"基本信息"
,
srfupdatedate
:
"更新时间"
,
srforikey
:
""
,
...
...
@@ -347,6 +351,25 @@ export default {
telephone1
:
"商务电话"
,
mobilephone
:
"移动电话"
,
fax
:
"传真"
,
address1_country
:
"国家/地区"
,
address1_stateorprovince
:
"省/市/自治区"
,
address1_city
:
"市/县"
,
address1_line1
:
"街道"
,
address1_postalcode
:
"邮政编码"
,
gendercode
:
"性别"
,
familystatuscode
:
"婚姻状况"
,
spousesname
:
"配偶/伴侣姓名"
,
birthdate
:
"生日"
,
anniversary
:
"纪念日"
,
description
:
"说明"
,
originatingleadname
:
"原始潜在顾客"
,
lastusedincampaign
:
"上次参与市场活动的日期"
,
donotsendmm
:
"发送市场营销资料"
,
shippingmethodcode
:
"送货方式"
,
transactioncurrencyname
:
"货币"
,
creditlimit
:
"信用额度"
,
creditonhold
:
"信用冻结"
,
paymenttermscode
:
"付款方式"
,
contactid
:
"联系人"
,
},
uiactions
:
{
...
...
@@ -552,26 +575,26 @@ export default {
uiactions
:
{
},
},
byaccount
_grid
:
{
main
_grid
:
{
columns
:
{
fullname
:
"全名"
,
emailaddress1
:
"电子邮件"
,
parentcustomerid
:
"公司名称"
,
telephone1
:
"商务电话"
,
uagridcolumn1
:
"设置主联系人"
,
},
uiactions
:
{
contact_setprimary
:
"设置为主要联系人"
,
},
},
main
_grid
:
{
byaccount
_grid
:
{
columns
:
{
fullname
:
"全名"
,
emailaddress1
:
"电子邮件"
,
parentcustomerid
:
"公司名称"
,
telephone1
:
"商务电话"
,
uagridcolumn1
:
"设置主联系人"
,
},
uiactions
:
{
contact_setprimary
:
"设置为主要联系人"
,
},
},
default_searchform
:
{
...
...
app_CRM/src/locale/lanres/entities/contact/contact_zh_CN.ts
浏览文件 @
39ccc70d
...
...
@@ -232,7 +232,7 @@ export default {
caption
:
"联系人"
,
title
:
"联系人编辑视图"
,
},
summary
:
{
summary
view
:
{
caption
:
"联系人"
,
title
:
"联系人数据看板视图"
,
},
...
...
@@ -330,6 +330,10 @@ export default {
abstractinfo_form
:
{
details
:
{
group1
:
"联系人基本信息"
,
grouppanel1
:
"地址信息"
,
grouppanel2
:
"个人信息"
,
grouppanel3
:
"市场营销信息"
,
grouppanel4
:
"记账信息"
,
formpage1
:
"基本信息"
,
srfupdatedate
:
"更新时间"
,
srforikey
:
""
,
...
...
@@ -346,6 +350,25 @@ export default {
telephone1
:
"商务电话"
,
mobilephone
:
"移动电话"
,
fax
:
"传真"
,
address1_country
:
"国家/地区"
,
address1_stateorprovince
:
"省/市/自治区"
,
address1_city
:
"市/县"
,
address1_line1
:
"街道"
,
address1_postalcode
:
"邮政编码"
,
gendercode
:
"性别"
,
familystatuscode
:
"婚姻状况"
,
spousesname
:
"配偶/伴侣姓名"
,
birthdate
:
"生日"
,
anniversary
:
"纪念日"
,
description
:
"说明"
,
originatingleadname
:
"原始潜在顾客"
,
lastusedincampaign
:
"上次参与市场活动的日期"
,
donotsendmm
:
"发送市场营销资料"
,
shippingmethodcode
:
"送货方式"
,
transactioncurrencyname
:
"货币"
,
creditlimit
:
"信用额度"
,
creditonhold
:
"信用冻结"
,
paymenttermscode
:
"付款方式"
,
contactid
:
"联系人"
,
},
uiactions
:
{
...
...
@@ -551,26 +574,26 @@ export default {
uiactions
:
{
},
},
byaccount
_grid
:
{
main
_grid
:
{
columns
:
{
fullname
:
"全名"
,
emailaddress1
:
"电子邮件"
,
parentcustomerid
:
"公司名称"
,
telephone1
:
"商务电话"
,
uagridcolumn1
:
"设置主联系人"
,
},
uiactions
:
{
contact_setprimary
:
"设置为主要联系人"
,
},
},
main
_grid
:
{
byaccount
_grid
:
{
columns
:
{
fullname
:
"全名"
,
emailaddress1
:
"电子邮件"
,
parentcustomerid
:
"公司名称"
,
telephone1
:
"商务电话"
,
uagridcolumn1
:
"设置主联系人"
,
},
uiactions
:
{
contact_setprimary
:
"设置为主要联系人"
,
},
},
default_searchform
:
{
...
...
app_CRM/src/locale/lanres/entities/incident/incident_en_US.ts
浏览文件 @
39ccc70d
...
...
@@ -117,6 +117,10 @@ export default {
caption
:
"案例"
,
title
:
"快速新建"
,
},
pickupgridview
:
{
caption
:
"案例"
,
title
:
"案例选择表格视图"
,
},
pickupview
:
{
caption
:
"案例"
,
title
:
"案例数据选择视图"
,
...
...
app_CRM/src/locale/lanres/entities/incident/incident_zh_CN.ts
浏览文件 @
39ccc70d
...
...
@@ -116,6 +116,10 @@ export default {
caption
:
"案例"
,
title
:
"快速新建"
,
},
pickupgridview
:
{
caption
:
"案例"
,
title
:
"案例选择表格视图"
,
},
pickupview
:
{
caption
:
"案例"
,
title
:
"案例数据选择视图"
,
...
...
app_CRM/src/mock/viewconfig/viewconfig.ts
浏览文件 @
39ccc70d
...
...
@@ -711,12 +711,12 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname"
:
"ContactInfo_Market"
,
"viewtag"
:
"615ceb2945e3cfe7404850aeadae188d"
},
"contactsummary"
:
{
"contactsummary
view
"
:
{
"title"
:
"联系人数据看板视图"
,
"caption"
:
"联系人"
,
"viewtype"
:
"DEPORTALVIEW"
,
"viewmodule"
:
"Base"
,
"viewname"
:
"ContactSummary"
,
"viewname"
:
"ContactSummary
View
"
,
"viewtag"
:
"6168a7e787ead13b1e0f9a55007bc68c"
},
"goalgridview"
:
{
...
...
@@ -903,6 +903,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname"
:
"OpportunityEditView"
,
"viewtag"
:
"7bf35293fd1d9db7816755a74c4d575e"
},
"incidentpickupgridview"
:
{
"title"
:
"案例选择表格视图"
,
"caption"
:
"案例"
,
"viewtype"
:
"DEPICKUPGRIDVIEW"
,
"viewmodule"
:
"Service"
,
"viewname"
:
"IncidentPickupGridView"
,
"viewtag"
:
"7cd4753a46e288fc3bac3a4d6b08c8d1"
},
"leadpickupgridview"
:
{
"title"
:
"潜在顾客选择表格视图"
,
"caption"
:
"潜在顾客"
,
...
...
app_CRM/src/pages/base/contact-summary-view/contact-summary-view-base.tsx
0 → 100644
浏览文件 @
39ccc70d
import
{
Subject
}
from
'rxjs'
;
import
{
DashboardViewBase
}
from
'@/studio-core'
;
import
ContactService
from
'@/service/contact/contact-service'
;
import
PortalViewEngine
from
'@engine/view/portal-view-engine'
;
/**
* 联系人数据看板视图视图基类
*
* @export
* @class ContactSummaryViewBase
* @extends {DashboardViewBase}
*/
export
class
ContactSummaryViewBase
extends
DashboardViewBase
{
/**
* 实体服务对象
*
* @type {ContactService}
* @memberof ContactSummaryViewBase
*/
protected
appEntityService
:
ContactService
=
new
ContactService
;
/**
* 计数器服务对象集合
*
* @protected
* @type {Array<*>}
* @memberof ContactSummaryViewBase
*/
protected
counterServiceArray
:
Array
<
any
>
=
[];
/**
* 自定义视图导航上下文集合
*
* @protected
* @type {*}
* @memberof ContactSummaryViewBase
*/
protected
customViewNavContexts
:
any
=
{
'REGARDINGOBJECTID'
:
{
isRawValue
:
false
,
value
:
'contact'
},
'REGARDINGOBJECTTYPECODE'
:
{
isRawValue
:
true
,
value
:
'CONTACT'
}
};
/**
* 视图模型数据
*
* @protected
* @type {*}
* @memberof ContactSummaryViewBase
*/
protected
model
:
any
=
{
srfCaption
:
'entities.contact.views.summaryview.caption'
,
srfTitle
:
'entities.contact.views.summaryview.title'
,
srfSubTitle
:
'entities.contact.views.summaryview.subtitle'
,
dataInfo
:
''
}
/**
* 容器模型
*
* @protected
* @type {*}
* @memberof ContactSummaryViewBase
*/
protected
containerModel
:
any
=
{
view_dashboard
:
{
name
:
'dashboard'
,
type
:
'DASHBOARD'
},
};
/**
* 视图唯一标识
*
* @protected
* @type {string}
* @memberof ViewBase
*/
protected
viewtag
:
string
=
'6168a7e787ead13b1e0f9a55007bc68c'
;
/**
* 视图引擎
*
* @public
* @type {Engine}
* @memberof ContactSummaryViewBase
*/
public
engine
:
PortalViewEngine
=
new
PortalViewEngine
();
/**
* 引擎初始化
*
* @public
* @memberof ContactSummaryViewBase
*/
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 ContactSummaryViewBase
*/
public
dashboard_load
(
$event
:
any
,
$event2
?:
any
):
void
{
this
.
engine
.
onCtrlEvent
(
'dashboard'
,
'load'
,
$event
);
}
}
\ No newline at end of file
app_CRM/src/pages/base/contact-summary-view/contact-summary-view.html
0 → 100644
浏览文件 @
39ccc70d
<studio-view-style2
viewName=
"contactsummaryview"
viewTitle=
"联系人数据看板视图"
class=
'deportalview contact-summary-view'
>
<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>
\ No newline at end of file
app_CRM/src/pages/base/contact-summary-view/contact-summary-view.vue
0 → 100644
浏览文件 @
39ccc70d
<
template
src=
"./contact-summary-view.html"
/>
<script
lang=
'tsx'
>
import
{ Component } from 'vue-property-decorator';
import { VueLifeCycleProcessing } from '@/studio-core';
import { ContactSummaryViewBase } from './contact-summary-view-base';
import view_dashboard from '@widgets/contact/con-abs-dashboard/con-abs-dashboard.vue';
/**
* 联系人数据看板视图视图
*
* @export
* @class ContactSummaryView
* @extends {ContactSummaryViewBase}
*/
@Component({
components: {
view_dashboard,
},
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$store.commit('addCurPageViewtag', { route: to, viewtag: vm.viewtag });
});
}
})
@VueLifeCycleProcessing()
export default class ContactSummaryView extends ContactSummaryViewBase { }
</script>
app_CRM/src/pages/ungroup/central/page-register.ts
浏览文件 @
39ccc70d
...
...
@@ -156,12 +156,11 @@ export const PageComponents = {
Vue
.
component
(
'incident-info-incident-view'
,
()
=>
import
(
'@pages/service/incident-info-incident-view/incident-info-incident-view.vue'
));
Vue
.
component
(
'competitor-sales-literature-sal-lit-comp-edit-view'
,
()
=>
import
(
'@pages/sales/competitor-sales-literature-sal-lit-comp-edit-view/competitor-sales-literature-sal-lit-comp-edit-view.vue'
));
Vue
.
component
(
'sales-order-info-soview'
,
()
=>
import
(
'@pages/sales/sales-order-info-soview/sales-order-info-soview.vue'
));
Vue
.
component
(
'contact-edit-abstract'
,
()
=>
import
(
'@pages/base/contact-edit-abstract/contact-edit-abstract.vue'
));
Vue
.
component
(
'activity-pointer-by-parent-key'
,
()
=>
import
(
'@pages/base/activity-pointer-by-parent-key/activity-pointer-by-parent-key.vue'
));
Vue
.
component
(
'entitlement-pickup-view'
,
()
=>
import
(
'@pages/service/entitlement-pickup-view/entitlement-pickup-view.vue'
));
Vue
.
component
(
'uom-pickup-view'
,
()
=>
import
(
'@pages/base/uom-pickup-view/uom-pickup-view.vue'
));
Vue
.
component
(
'list-account-inner'
,
()
=>
import
(
'@pages/marketing/list-account-inner/list-account-inner.vue'
));
Vue
.
component
(
'contact-summary
'
,
()
=>
import
(
'@pages/base/contact-summary/contact-summary
.vue'
));
Vue
.
component
(
'contact-summary
-view'
,
()
=>
import
(
'@pages/base/contact-summary-view/contact-summary-view
.vue'
));
Vue
.
component
(
'task-edit-view'
,
()
=>
import
(
'@pages/base/task-edit-view/task-edit-view.vue'
));
Vue
.
component
(
'product-substitute-grid-view'
,
()
=>
import
(
'@pages/product/product-substitute-grid-view/product-substitute-grid-view.vue'
));
Vue
.
component
(
'competitor-pickup-view'
,
()
=>
import
(
'@pages/sales/competitor-pickup-view/competitor-pickup-view.vue'
));
...
...
app_CRM/src/pages/ungroup/central/router.ts
浏览文件 @
39ccc70d
...
...
@@ -4617,35 +4617,6 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/sales/sales-order-info-soview/sales-order-info-soview.vue'
),
},
{
path
:
'accounts/:account?/contacts/:contact?/editabstract/:editabstract?'
,
meta
:
{
caption
:
'entities.contact.views.editabstract.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'central'
,
parameterName
:
'central'
},
{
pathName
:
'accounts'
,
parameterName
:
'account'
},
{
pathName
:
'contacts'
,
parameterName
:
'contact'
},
{
pathName
:
'editabstract'
,
parameterName
:
'editabstract'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/base/contact-edit-abstract/contact-edit-abstract.vue'
),
},
{
path
:
'contacts/:contact?/editabstract/:editabstract?'
,
meta
:
{
caption
:
'entities.contact.views.editabstract.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'central'
,
parameterName
:
'central'
},
{
pathName
:
'contacts'
,
parameterName
:
'contact'
},
{
pathName
:
'editabstract'
,
parameterName
:
'editabstract'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/base/contact-edit-abstract/contact-edit-abstract.vue'
),
},
{
path
:
'activitypointers/:activitypointer?/byparentkey/:byparentkey?'
,
meta
:
{
...
...
@@ -4747,33 +4718,33 @@ const router = new Router({
component
:
()
=>
import
(
'@pages/marketing/list-account-inner/list-account-inner.vue'
),
},
{
path
:
'accounts/:account?/contacts/:contact?/summary
/:summary
?'
,
path
:
'accounts/:account?/contacts/:contact?/summary
view/:summaryview
?'
,
meta
:
{
caption
:
'entities.contact.views.summary.title'
,
caption
:
'entities.contact.views.summary
view
.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'central'
,
parameterName
:
'central'
},
{
pathName
:
'accounts'
,
parameterName
:
'account'
},
{
pathName
:
'contacts'
,
parameterName
:
'contact'
},
{
pathName
:
'summary
'
,
parameterName
:
'summary
'
},
{
pathName
:
'summary
view'
,
parameterName
:
'summaryview
'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/base/contact-summary
/contact-summary
.vue'
),
component
:
()
=>
import
(
'@pages/base/contact-summary
-view/contact-summary-view
.vue'
),
},
{
path
:
'contacts/:contact?/summary
/:summary
?'
,
path
:
'contacts/:contact?/summary
view/:summaryview
?'
,
meta
:
{
caption
:
'entities.contact.views.summary.title'
,
caption
:
'entities.contact.views.summary
view
.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'central'
,
parameterName
:
'central'
},
{
pathName
:
'contacts'
,
parameterName
:
'contact'
},
{
pathName
:
'summary
'
,
parameterName
:
'summary
'
},
{
pathName
:
'summary
view'
,
parameterName
:
'summaryview
'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/base/contact-summary
/contact-summary
.vue'
),
component
:
()
=>
import
(
'@pages/base/contact-summary
-view/contact-summary-view
.vue'
),
},
{
path
:
'tasks/:task?/editview/:editview?'
,
...
...
app_CRM/src/service/campaign/campaign-service-base.ts
浏览文件 @
39ccc70d
此差异已折叠。
点击以展开。
app_CRM/src/service/contact/contact-service-base.ts
浏览文件 @
39ccc70d
此差异已折叠。
点击以展开。
app_CRM/src/service/opportunity/opportunity-service-base.ts
浏览文件 @
39ccc70d
此差异已折叠。
点击以展开。
app_CRM/src/service/product/product-service-base.ts
浏览文件 @
39ccc70d
此差异已折叠。
点击以展开。
app_CRM/src/service/sales-literature/sales-literature-service-base.ts
浏览文件 @
39ccc70d
此差异已折叠。
点击以展开。
app_CRM/src/store/modules/view-action/state.ts
浏览文件 @
39ccc70d
...
...
@@ -23,16 +23,6 @@ export const viewstate: any = {
'a04bb3dac3122438b3b1096f5f370516'
,
],
},
{
viewtag
:
'016506dd3f47a5cf8530f2ca3dbdc7b7'
,
viewmodule
:
'Base'
,
viewname
:
'ContactEditAbstract'
,
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
'29bfcd628ab25e297248ff0524d12908'
,
],
},
{
viewtag
:
'016e75bb460270519a0ee9dda57b2c90'
,
viewmodule
:
'Base'
,
...
...
@@ -490,6 +480,7 @@ export const viewstate: any = {
'e404dc93e70d6284d4e1a083017625ed'
,
'e4335da0a7c14a65376eecaabb771fd7'
,
'688201ee5642d41628dbf4deba002d17'
,
'fcdb236b65d78c4a8ae64e74f9483a63'
,
],
},
{
...
...
@@ -824,14 +815,13 @@ export const viewstate: any = {
{
viewtag
:
'6168a7e787ead13b1e0f9a55007bc68c'
,
viewmodule
:
'Base'
,
viewname
:
'ContactSummary'
,
viewname
:
'ContactSummary
View
'
,
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
'21eb3cee3363f2590cf0cf6af8446300'
,
'0572fab51a094f738d0b1f41c3b78988'
,
'aa79d35850f36fbc1a5085353ecd5af5'
,
'016506dd3f47a5cf8530f2ca3dbdc7b7'
,
'a95d7d9111bc13a8b73a11ee1e4ff92a'
,
'9475c40920701fcc382676d73832de4f'
,
'a5213905238dbc5d8e1a505029105cc9'
,
...
...
app_CRM/src/uiservice/contact/contact-ui-service-base.ts
浏览文件 @
39ccc70d
...
...
@@ -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
:
'summary'
,
srfappde
:
'contacts'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'summary
view
'
,
srfappde
:
'contacts'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'editaddress'
,
srfappde
:
'contacts'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'pickupgridview'
,
srfappde
:
'contacts'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'byaccount'
,
srfappde
:
'contacts'
});
...
...
@@ -108,7 +108,7 @@ export default class ContactUIServiceBase extends UIService {
}
/**
*
编辑
*
新建
*
* @param {any[]} args 当前数据
* @param {any} context 行为附加上下文
...
...
@@ -119,17 +119,14 @@ export default class ContactUIServiceBase extends UIService {
* @param {*} [srfParentDeName] 父实体名称
* @returns {Promise<any>}
*/
public
async
Contact_
Edit_Abstract
(
args
:
any
[],
context
:
any
=
{}
,
params
:
any
=
{},
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
public
async
Contact_
OpenQuickCreateView
(
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%'
});
const
actionTarget
:
string
|
null
=
'NONE'
;
if
(
_this
.
context
){
parentContext
=
_this
.
context
;
}
...
...
@@ -151,6 +148,7 @@ export default class ContactUIServiceBase extends UIService {
const
parameters
:
any
[]
=
[
{
pathName
:
'contacts'
,
parameterName
:
'contact'
},
];
actionContext
.
closeView
(
null
);
const
openDrawer
=
(
view
:
any
,
data
:
any
)
=>
{
let
container
:
Subject
<
any
>
=
actionContext
.
$appdrawer
.
openDrawer
(
view
,
context
,
data
);
container
.
subscribe
((
result
:
any
)
=>
{
...
...
@@ -158,6 +156,12 @@ export default class ContactUIServiceBase extends UIService {
return
;
}
const
_this
:
any
=
actionContext
;
if
(
xData
&&
xData
.
refresh
&&
xData
.
refresh
instanceof
Function
)
{
xData
.
refresh
(
args
);
}
if
(
this
.
Contact_OpenInfoView
&&
this
.
Contact_OpenInfoView
instanceof
Function
)
{
this
.
Contact_OpenInfoView
(
result
.
datas
,
context
,
params
,
$event
,
xData
,
actionContext
);
}
if
(
window
.
opener
){
window
.
opener
.
postMessage
({
status
:
'OK'
,
identification
:
'WF'
},
Environment
.
uniteAddress
);
window
.
close
();
...
...
@@ -166,17 +170,17 @@ export default class ContactUIServiceBase extends UIService {
});
}
const
view
:
any
=
{
viewname
:
'contact-
edit-abstract
'
,
viewname
:
'contact-
quick-create
'
,
height
:
0
,
width
:
45
0
,
title
:
actionContext
.
$t
(
'entities.contact.views.
editabstract
.title'
),
width
:
0
,
title
:
actionContext
.
$t
(
'entities.contact.views.
quickcreate
.title'
),
placement
:
'DRAWER_RIGHT'
,
};
openDrawer
(
view
,
data
);
}
/**
*
新建
*
编辑
*
* @param {any[]} args 当前数据
* @param {any} context 行为附加上下文
...
...
@@ -187,14 +191,17 @@ export default class ContactUIServiceBase extends UIService {
* @param {*} [srfParentDeName] 父实体名称
* @returns {Promise<any>}
*/
public
async
Contact_
OpenQuickCreateView
(
args
:
any
[],
context
:
any
=
{}
,
params
:
any
=
{},
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
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
=
'NONE'
;
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
;
}
...
...
@@ -231,17 +238,17 @@ export default class ContactUIServiceBase extends UIService {
});
}
const
view
:
any
=
{
viewname
:
'contact-
quick-create
'
,
viewname
:
'contact-
edit-person
'
,
height
:
0
,
width
:
0
,
title
:
actionContext
.
$t
(
'entities.contact.views.
quickcreate
.title'
),
width
:
45
0
,
title
:
actionContext
.
$t
(
'entities.contact.views.
editperson
.title'
),
placement
:
'DRAWER_RIGHT'
,
};
openDrawer
(
view
,
data
);
}
/**
*
编辑
*
打开主信息界面
*
* @param {any[]} args 当前数据
* @param {any} context 行为附加上下文
...
...
@@ -252,7 +259,7 @@ export default class ContactUIServiceBase extends UIService {
* @param {*} [srfParentDeName] 父实体名称
* @returns {Promise<any>}
*/
public
async
Contact_
Edit_Person
(
args
:
any
[],
context
:
any
=
{}
,
params
:
any
=
{},
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
public
async
Contact_
OpenInfoView
(
args
:
any
[],
context
:
any
=
{}
,
params
:
any
=
{},
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
let
data
:
any
=
{};
let
parentContext
:
any
=
{};
...
...
@@ -283,29 +290,14 @@ export default class ContactUIServiceBase extends UIService {
}
const
parameters
:
any
[]
=
[
{
pathName
:
'contacts'
,
parameterName
:
'contact'
},
{
pathName
:
'info'
,
parameterName
:
'info'
},
];
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
);
const
openIndexViewTab
=
(
data
:
any
)
=>
{
const
routePath
=
actionContext
.
$viewTool
.
buildUpRoutePath
(
actionContext
.
$route
,
context
,
deResParameters
,
parameters
,
_args
,
data
);
actionContext
.
$router
.
push
(
routePath
);
return
null
;
}
openIndexViewTab
(
data
);
}
/**
...
...
app_CRM/src/uiservice/incident/incident-ui-service-base.ts
浏览文件 @
39ccc70d
...
...
@@ -83,6 +83,7 @@ export default class IncidentUIServiceBase extends UIService {
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'edit_chlidincident'
,
srfappde
:
'incidents'
});
this
.
allViewMap
.
set
(
'MDATAVIEW:'
,{
viewname
:
'gridview'
,
srfappde
:
'incidents'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'quickcreateview'
,
srfappde
:
'incidents'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'pickupgridview'
,
srfappde
:
'incidents'
});
this
.
allViewMap
.
set
(
'PICKUPVIEW:'
,{
viewname
:
'pickupview'
,
srfappde
:
'incidents'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'childincidentgridview'
,
srfappde
:
'incidents'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'info_incidentview'
,
srfappde
:
'incidents'
});
...
...
app_CRM/src/widgets/contact/abstract-info-form/abstract-info-form-base.tsx
浏览文件 @
39ccc70d
...
...
@@ -62,6 +62,25 @@ export class AbstractInfoEditFormBase extends EditFormControlBase {
telephone1
:
null
,
mobilephone
:
null
,
fax
:
null
,
address1_country
:
null
,
address1_stateorprovince
:
null
,
address1_city
:
null
,
address1_line1
:
null
,
address1_postalcode
:
null
,
gendercode
:
null
,
familystatuscode
:
null
,
spousesname
:
null
,
birthdate
:
null
,
anniversary
:
null
,
description
:
null
,
originatingleadname
:
null
,
lastusedincampaign
:
null
,
donotsendmm
:
null
,
shippingmethodcode
:
null
,
transactioncurrencyname
:
null
,
creditlimit
:
null
,
creditonhold
:
null
,
paymenttermscode
:
null
,
contactid
:
null
,
contact
:
null
,
};
...
...
@@ -82,7 +101,15 @@ export class AbstractInfoEditFormBase extends EditFormControlBase {
* @memberof AbstractInfoEditFormBase
*/
public
detailsModel
:
any
=
{
group1
:
new
FormGroupPanelModel
({
caption
:
'联系人基本信息'
,
detailType
:
'GROUPPANEL'
,
name
:
'group1'
,
visible
:
true
,
isShowCaption
:
false
,
form
:
this
,
uiActionGroup
:
{
caption
:
''
,
langbase
:
'entities.contact.abstractinfo_form'
,
extractMode
:
'ITEM'
,
details
:
[]
}
}),
group1
:
new
FormGroupPanelModel
({
caption
:
'联系人基本信息'
,
detailType
:
'GROUPPANEL'
,
name
:
'group1'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
uiActionGroup
:
{
caption
:
''
,
langbase
:
'entities.contact.abstractinfo_form'
,
extractMode
:
'ITEM'
,
details
:
[]
}
}),
grouppanel1
:
new
FormGroupPanelModel
({
caption
:
'地址信息'
,
detailType
:
'GROUPPANEL'
,
name
:
'grouppanel1'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
uiActionGroup
:
{
caption
:
''
,
langbase
:
'entities.contact.abstractinfo_form'
,
extractMode
:
'ITEM'
,
details
:
[]
}
}),
grouppanel2
:
new
FormGroupPanelModel
({
caption
:
'个人信息'
,
detailType
:
'GROUPPANEL'
,
name
:
'grouppanel2'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
uiActionGroup
:
{
caption
:
''
,
langbase
:
'entities.contact.abstractinfo_form'
,
extractMode
:
'ITEM'
,
details
:
[]
}
}),
grouppanel3
:
new
FormGroupPanelModel
({
caption
:
'市场营销信息'
,
detailType
:
'GROUPPANEL'
,
name
:
'grouppanel3'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
uiActionGroup
:
{
caption
:
''
,
langbase
:
'entities.contact.abstractinfo_form'
,
extractMode
:
'ITEM'
,
details
:
[]
}
}),
grouppanel4
:
new
FormGroupPanelModel
({
caption
:
'记账信息'
,
detailType
:
'GROUPPANEL'
,
name
:
'grouppanel4'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
uiActionGroup
:
{
caption
:
''
,
langbase
:
'entities.contact.abstractinfo_form'
,
extractMode
:
'ITEM'
,
details
:
[]
}
}),
formpage1
:
new
FormPageModel
({
caption
:
'基本信息'
,
detailType
:
'FORMPAGE'
,
name
:
'formpage1'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
}),
...
...
@@ -116,6 +143,44 @@ export class AbstractInfoEditFormBase extends EditFormControlBase {
fax
:
new
FormItemModel
({
caption
:
'传真'
,
detailType
:
'FORMITEM'
,
name
:
'fax'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
disabled
:
false
,
enableCond
:
3
}),
address1_country
:
new
FormItemModel
({
caption
:
'国家/地区'
,
detailType
:
'FORMITEM'
,
name
:
'address1_country'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
disabled
:
false
,
enableCond
:
3
}),
address1_stateorprovince
:
new
FormItemModel
({
caption
:
'省/市/自治区'
,
detailType
:
'FORMITEM'
,
name
:
'address1_stateorprovince'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
disabled
:
false
,
enableCond
:
3
}),
address1_city
:
new
FormItemModel
({
caption
:
'市/县'
,
detailType
:
'FORMITEM'
,
name
:
'address1_city'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
disabled
:
false
,
enableCond
:
3
}),
address1_line1
:
new
FormItemModel
({
caption
:
'街道'
,
detailType
:
'FORMITEM'
,
name
:
'address1_line1'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
disabled
:
false
,
enableCond
:
3
}),
address1_postalcode
:
new
FormItemModel
({
caption
:
'邮政编码'
,
detailType
:
'FORMITEM'
,
name
:
'address1_postalcode'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
disabled
:
false
,
enableCond
:
3
}),
gendercode
:
new
FormItemModel
({
caption
:
'性别'
,
detailType
:
'FORMITEM'
,
name
:
'gendercode'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
disabled
:
false
,
enableCond
:
3
}),
familystatuscode
:
new
FormItemModel
({
caption
:
'婚姻状况'
,
detailType
:
'FORMITEM'
,
name
:
'familystatuscode'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
disabled
:
false
,
enableCond
:
3
}),
spousesname
:
new
FormItemModel
({
caption
:
'配偶/伴侣姓名'
,
detailType
:
'FORMITEM'
,
name
:
'spousesname'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
disabled
:
false
,
enableCond
:
3
}),
birthdate
:
new
FormItemModel
({
caption
:
'生日'
,
detailType
:
'FORMITEM'
,
name
:
'birthdate'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
disabled
:
false
,
enableCond
:
3
}),
anniversary
:
new
FormItemModel
({
caption
:
'纪念日'
,
detailType
:
'FORMITEM'
,
name
:
'anniversary'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
disabled
:
false
,
enableCond
:
3
}),
description
:
new
FormItemModel
({
caption
:
'说明'
,
detailType
:
'FORMITEM'
,
name
:
'description'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
disabled
:
false
,
enableCond
:
3
}),
originatingleadname
:
new
FormItemModel
({
caption
:
'原始潜在顾客'
,
detailType
:
'FORMITEM'
,
name
:
'originatingleadname'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
disabled
:
false
,
enableCond
:
3
}),
lastusedincampaign
:
new
FormItemModel
({
caption
:
'上次参与市场活动的日期'
,
detailType
:
'FORMITEM'
,
name
:
'lastusedincampaign'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
disabled
:
false
,
enableCond
:
2
}),
donotsendmm
:
new
FormItemModel
({
caption
:
'发送市场营销资料'
,
detailType
:
'FORMITEM'
,
name
:
'donotsendmm'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
disabled
:
false
,
enableCond
:
3
}),
shippingmethodcode
:
new
FormItemModel
({
caption
:
'送货方式'
,
detailType
:
'FORMITEM'
,
name
:
'shippingmethodcode'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
disabled
:
false
,
enableCond
:
3
}),
transactioncurrencyname
:
new
FormItemModel
({
caption
:
'货币'
,
detailType
:
'FORMITEM'
,
name
:
'transactioncurrencyname'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
disabled
:
false
,
enableCond
:
3
}),
creditlimit
:
new
FormItemModel
({
caption
:
'信用额度'
,
detailType
:
'FORMITEM'
,
name
:
'creditlimit'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
disabled
:
false
,
enableCond
:
3
}),
creditonhold
:
new
FormItemModel
({
caption
:
'信用冻结'
,
detailType
:
'FORMITEM'
,
name
:
'creditonhold'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
disabled
:
false
,
enableCond
:
3
}),
paymenttermscode
:
new
FormItemModel
({
caption
:
'付款方式'
,
detailType
:
'FORMITEM'
,
name
:
'paymenttermscode'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
disabled
:
false
,
enableCond
:
3
}),
contactid
:
new
FormItemModel
({
caption
:
'联系人'
,
detailType
:
'FORMITEM'
,
name
:
'contactid'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
disabled
:
false
,
enableCond
:
1
}),
};
...
...
app_CRM/src/widgets/contact/abstract-info-form/abstract-info-form-model.ts
浏览文件 @
39ccc70d
...
...
@@ -90,6 +90,101 @@ export default class AbstractInfoModel {
prop
:
'fax'
,
dataType
:
'TEXT'
,
},
{
name
:
'address1_country'
,
prop
:
'address1_country'
,
dataType
:
'TEXT'
,
},
{
name
:
'address1_stateorprovince'
,
prop
:
'address1_stateorprovince'
,
dataType
:
'TEXT'
,
},
{
name
:
'address1_city'
,
prop
:
'address1_city'
,
dataType
:
'TEXT'
,
},
{
name
:
'address1_line1'
,
prop
:
'address1_line1'
,
dataType
:
'TEXT'
,
},
{
name
:
'address1_postalcode'
,
prop
:
'address1_postalcode'
,
dataType
:
'TEXT'
,
},
{
name
:
'gendercode'
,
prop
:
'gendercode'
,
dataType
:
'SSCODELIST'
,
},
{
name
:
'familystatuscode'
,
prop
:
'familystatuscode'
,
dataType
:
'SSCODELIST'
,
},
{
name
:
'spousesname'
,
prop
:
'spousesname'
,
dataType
:
'TEXT'
,
},
{
name
:
'birthdate'
,
prop
:
'birthdate'
,
dataType
:
'DATETIME'
,
},
{
name
:
'anniversary'
,
prop
:
'anniversary'
,
dataType
:
'DATETIME'
,
},
{
name
:
'description'
,
prop
:
'description'
,
dataType
:
'TEXT'
,
},
{
name
:
'originatingleadname'
,
prop
:
'originatingleadname'
,
dataType
:
'PICKUPTEXT'
,
},
{
name
:
'lastusedincampaign'
,
prop
:
'lastusedincampaign'
,
dataType
:
'DATETIME'
,
},
{
name
:
'donotsendmm'
,
prop
:
'donotsendmm'
,
dataType
:
'YESNO'
,
},
{
name
:
'shippingmethodcode'
,
prop
:
'shippingmethodcode'
,
dataType
:
'SSCODELIST'
,
},
{
name
:
'transactioncurrencyname'
,
prop
:
'transactioncurrencyname'
,
dataType
:
'PICKUPTEXT'
,
},
{
name
:
'creditlimit'
,
prop
:
'creditlimit'
,
dataType
:
'BIGDECIMAL'
,
},
{
name
:
'creditonhold'
,
prop
:
'creditonhold'
,
dataType
:
'YESNO'
,
},
{
name
:
'paymenttermscode'
,
prop
:
'paymenttermscode'
,
dataType
:
'SSCODELIST'
,
},
{
name
:
'contactid'
,
prop
:
'contactid'
,
...
...
app_CRM/src/widgets/contact/abstract-info-form/abstract-info-form.html
浏览文件 @
39ccc70d
此差异已折叠。
点击以展开。
app_CRM/src/widgets/contact/con-abs-dashboard/con-abs-dashboard.html
浏览文件 @
39ccc70d
...
...
@@ -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 summarydashboard-container1 '
:style=
"{}"
>
<div
class=
'portlet-container summary
-view
dashboard-container1 '
:style=
"{}"
>
<row>
<i-col
:md=
"{ span: 24, offset: 0 }"
>
<div
class=
"portlet-without-title"
>
...
...
@@ -106,7 +106,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 summarydashboard-container2 '
:style=
"{}"
>
<div
class=
'portlet-container summary
-view
dashboard-container2 '
:style=
"{}"
>
<row>
<i-col
:md=
"{ span: 24, offset: 0 }"
>
<div
class=
"portlet-without-title"
>
...
...
app_CRM/src/widgets/contact/infotabviewpanel-tabviewpanel/infotabviewpanel-tabviewpanel.html
浏览文件 @
39ccc70d
<div
class=
'tabviewpanel'
v-if=
'isActivied'
>
<contact-summary
<contact-summary
-view
class=
'viewcontainer2'
:viewdata=
"viewdata"
:viewparam=
"viewparam"
@
viewload=
"viewDatasChange($event)"
:viewDefaultUsage=
"false"
>
</contact-summary>
</contact-summary
-view
>
</div>
\ No newline at end of file
app_CRM/src/widgets/contact/view-con-abs-portlet/view-con-abs-portlet-base.tsx
浏览文件 @
39ccc70d
...
...
@@ -3,7 +3,6 @@ import { Subject, Subscription } from 'rxjs';
import
{
Watch
,
MainControlBase
}
from
'@/studio-core'
;
import
ContactService
from
'@/service/contact/contact-service'
;
import
View_ConAbsService
from
'./view-con-abs-portlet-service'
;
import
ContactUIService
from
'@/uiservice/contact/contact-ui-service'
;
import
{
Environment
}
from
'@/environments/environment'
;
...
...
@@ -41,34 +40,6 @@ export class View_ConAbsPortletBase extends MainControlBase {
*/
protected
appDeName
:
string
=
'contact'
;
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public
dashboard_sysportlet1_udddfae0_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
// 取数
let
datas
:
any
[]
=
[];
let
xData
:
any
=
null
;
// _this 指向容器对象
const
_this
:
any
=
this
;
let
paramJO
:
any
=
{};
let
contextJO
:
any
=
{};
xData
=
this
;
if
(
_this
.
getDatas
&&
_this
.
getDatas
instanceof
Function
)
{
datas
=
[...
_this
.
getDatas
()];
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
const
curUIService
:
ContactUIService
=
new
ContactUIService
();
curUIService
.
Contact_Edit_Abstract
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"Contact"
);
}
/**
* 长度
*
...
...
@@ -181,15 +152,5 @@ export class View_ConAbsPortletBase extends MainControlBase {
}
}
/**
* 执行界面行为
*
* @memberof View_ConAbsBase
*/
public
uiAction
(
tag
:
string
,
event
:
any
){
if
(
Object
.
is
(
tag
,
'udddfae0'
)){
this
.
dashboard_sysportlet1_udddfae0_click
(
null
,
tag
,
event
);
}
}
}
app_CRM/src/widgets/contact/view-con-abs-portlet/view-con-abs-portlet.html
浏览文件 @
39ccc70d
...
...
@@ -4,14 +4,6 @@
摘要信息
</span>
<span
class=
"portlet-action"
>
<tooltip
:transfer=
"true"
:max-width=
"600"
>
<a
@
click=
"uiAction('udddfae0', $event)"
>
<i
class=
"fa fa-pencil"
/>
</a>
<div
slot=
'content'
>
编辑
</div>
</tooltip>
</span>
</p>
<div
class=
"portlet-with-title"
>
<contact-info-abstract
:viewdata=
"JSON.stringify(context)"
:viewDefaultUsage=
"false"
></contact-info-abstract>
...
...
businesscentral-core/src/main/resources/liquibase/h2_table.xml
浏览文件 @
39ccc70d
...
...
@@ -3238,7 +3238,7 @@
<!--输出实体[CONTACT]数据结构 -->
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"tab-contact-2
47
-44"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"tab-contact-2
54
-44"
>
<createTable
tableName=
"CONTACT"
>
<column
name=
"ADDRESS1_FREIGHTTERMSCODE"
remarks=
""
type=
"VARCHAR(30)"
>
</column>
...
...
@@ -11141,25 +11141,25 @@
<addForeignKeyConstraint
baseColumnNames=
"ENTITLEMENTTEMPLATEID"
baseTableName=
"ENTITLEMENTTEMPLATECHANNEL"
constraintName=
"DER1N_ENTITLEMENTTEMPLATECHANN"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"ENTITLEMENTTEMPLATEID"
referencedTableName=
"ENTITLEMENTTEMPLATE"
validate=
"true"
/>
</changeSet>
<!--输出实体[CONTACT]外键关系 -->
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-contact-2
47
-218"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-contact-2
54
-218"
>
<addForeignKeyConstraint
baseColumnNames=
"CUSTOMERID"
baseTableName=
"CONTACT"
constraintName=
"DER1N_CONTACT_ACCOUNT_CUSTOMER"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"ACCOUNTID"
referencedTableName=
"ACCOUNT"
validate=
"true"
/>
</changeSet>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-contact-2
47
-219"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-contact-2
54
-219"
>
<addForeignKeyConstraint
baseColumnNames=
"PREFERREDEQUIPMENTID"
baseTableName=
"CONTACT"
constraintName=
"DER1N_CONTACT__EQUIPMENT__PREF"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"EQUIPMENTID"
referencedTableName=
"EQUIPMENT"
validate=
"true"
/>
</changeSet>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-contact-2
47
-220"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-contact-2
54
-220"
>
<addForeignKeyConstraint
baseColumnNames=
"ORIGINATINGLEADID"
baseTableName=
"CONTACT"
constraintName=
"DER1N_CONTACT__LEAD__ORIGINATI"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"LEADID"
referencedTableName=
"LEAD"
validate=
"true"
/>
</changeSet>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-contact-2
47
-221"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-contact-2
54
-221"
>
<addForeignKeyConstraint
baseColumnNames=
"DEFAULTPRICELEVELID"
baseTableName=
"CONTACT"
constraintName=
"DER1N_CONTACT__PRICELEVEL__DEF"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"PRICELEVELID"
referencedTableName=
"PRICELEVEL"
validate=
"true"
/>
</changeSet>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-contact-2
47
-222"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-contact-2
54
-222"
>
<addForeignKeyConstraint
baseColumnNames=
"PREFERREDSERVICEID"
baseTableName=
"CONTACT"
constraintName=
"DER1N_CONTACT__SERVICE__PREFER"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"SERVICEID"
referencedTableName=
"SERVICE"
validate=
"true"
/>
</changeSet>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-contact-2
47
-223"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-contact-2
54
-223"
>
<addForeignKeyConstraint
baseColumnNames=
"SLAID"
baseTableName=
"CONTACT"
constraintName=
"DER1N_CONTACT__SLA__SLAID"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"SLAID"
referencedTableName=
"SLA"
validate=
"true"
/>
</changeSet>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-contact-2
47
-224"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-contact-2
54
-224"
>
<addForeignKeyConstraint
baseColumnNames=
"TRANSACTIONCURRENCYID"
baseTableName=
"CONTACT"
constraintName=
"DER1N_CONTACT__TRANSACTIONCURR"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"TRANSACTIONCURRENCYID"
referencedTableName=
"TRANSACTIONCURRENCY"
validate=
"true"
/>
</changeSet>
<!--输出实体[TEAM]外键关系 -->
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录