提交 39ccc70d 编写于 作者: ibizdev's avatar ibizdev

lab_gzf 发布系统代码

上级 85afcae4
...@@ -879,13 +879,13 @@ ...@@ -879,13 +879,13 @@
"viewtag": "615ceb2945e3cfe7404850aeadae188d", "viewtag": "615ceb2945e3cfe7404850aeadae188d",
"memo": "" "memo": ""
}, },
"contactsummary": { "contactsummaryview": {
"title": "联系人数据看板视图", "title": "联系人数据看板视图",
"caption": "联系人", "caption": "联系人",
"viewtype": "DEPORTALVIEW", "viewtype": "DEPORTALVIEW",
"viewmodule": "Base", "viewmodule": "Base",
"viewname": "ContactSummary", "viewname": "ContactSummaryView",
"viewfilename": "contact-summary", "viewfilename": "contact-summary-view",
"viewtag": "6168a7e787ead13b1e0f9a55007bc68c", "viewtag": "6168a7e787ead13b1e0f9a55007bc68c",
"memo": "" "memo": ""
}, },
...@@ -1119,6 +1119,16 @@ ...@@ -1119,6 +1119,16 @@
"viewtag": "7bf35293fd1d9db7816755a74c4d575e", "viewtag": "7bf35293fd1d9db7816755a74c4d575e",
"memo": "系统自动添加" "memo": "系统自动添加"
}, },
"incidentpickupgridview": {
"title": "案例选择表格视图",
"caption": "案例",
"viewtype": "DEPICKUPGRIDVIEW",
"viewmodule": "Service",
"viewname": "IncidentPickupGridView",
"viewfilename": "incident-pickup-grid-view",
"viewtag": "7cd4753a46e288fc3bac3a4d6b08c8d1",
"memo": "系统自动添加"
},
"leadpickupgridview": { "leadpickupgridview": {
"title": "潜在顾客选择表格视图", "title": "潜在顾客选择表格视图",
"caption": "潜在顾客", "caption": "潜在顾客",
......
...@@ -350,6 +350,7 @@ export default { ...@@ -350,6 +350,7 @@ export default {
account_edit_accountinfo: "编辑", account_edit_accountinfo: "编辑",
account_edit_address: "编辑", account_edit_address: "编辑",
contact_openquickcreateview: "新建", contact_openquickcreateview: "新建",
contact_openinfoview: "打开主信息界面",
}, },
}, },
info_account_form: { info_account_form: {
......
...@@ -349,6 +349,7 @@ export default { ...@@ -349,6 +349,7 @@ export default {
account_edit_accountinfo: "编辑", account_edit_accountinfo: "编辑",
account_edit_address: "编辑", account_edit_address: "编辑",
contact_openquickcreateview: "新建", contact_openquickcreateview: "新建",
contact_openinfoview: "打开主信息界面",
}, },
}, },
info_account_form: { info_account_form: {
......
...@@ -233,7 +233,7 @@ export default { ...@@ -233,7 +233,7 @@ export default {
caption: "联系人", caption: "联系人",
title: "联系人编辑视图", title: "联系人编辑视图",
}, },
summary: { summaryview: {
caption: "联系人", caption: "联系人",
title: "联系人数据看板视图", title: "联系人数据看板视图",
}, },
...@@ -331,6 +331,10 @@ export default { ...@@ -331,6 +331,10 @@ export default {
abstractinfo_form: { abstractinfo_form: {
details: { details: {
group1: "联系人基本信息", group1: "联系人基本信息",
grouppanel1: "地址信息",
grouppanel2: "个人信息",
grouppanel3: "市场营销信息",
grouppanel4: "记账信息",
formpage1: "基本信息", formpage1: "基本信息",
srfupdatedate: "更新时间", srfupdatedate: "更新时间",
srforikey: "", srforikey: "",
...@@ -347,6 +351,25 @@ export default { ...@@ -347,6 +351,25 @@ export default {
telephone1: "商务电话", telephone1: "商务电话",
mobilephone: "移动电话", mobilephone: "移动电话",
fax: "传真", 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: "联系人", contactid: "联系人",
}, },
uiactions: { uiactions: {
...@@ -552,26 +575,26 @@ export default { ...@@ -552,26 +575,26 @@ export default {
uiactions: { uiactions: {
}, },
}, },
byaccount_grid: { main_grid: {
columns: { columns: {
fullname: "全名", fullname: "全名",
emailaddress1: "电子邮件", emailaddress1: "电子邮件",
parentcustomerid: "公司名称", parentcustomerid: "公司名称",
telephone1: "商务电话", telephone1: "商务电话",
uagridcolumn1: "设置主联系人",
}, },
uiactions: { uiactions: {
contact_setprimary: "设置为主要联系人",
}, },
}, },
main_grid: { byaccount_grid: {
columns: { columns: {
fullname: "全名", fullname: "全名",
emailaddress1: "电子邮件", emailaddress1: "电子邮件",
parentcustomerid: "公司名称", parentcustomerid: "公司名称",
telephone1: "商务电话", telephone1: "商务电话",
uagridcolumn1: "设置主联系人",
}, },
uiactions: { uiactions: {
contact_setprimary: "设置为主要联系人",
}, },
}, },
default_searchform: { default_searchform: {
......
...@@ -232,7 +232,7 @@ export default { ...@@ -232,7 +232,7 @@ export default {
caption: "联系人", caption: "联系人",
title: "联系人编辑视图", title: "联系人编辑视图",
}, },
summary: { summaryview: {
caption: "联系人", caption: "联系人",
title: "联系人数据看板视图", title: "联系人数据看板视图",
}, },
...@@ -330,6 +330,10 @@ export default { ...@@ -330,6 +330,10 @@ export default {
abstractinfo_form: { abstractinfo_form: {
details: { details: {
group1: "联系人基本信息", group1: "联系人基本信息",
grouppanel1: "地址信息",
grouppanel2: "个人信息",
grouppanel3: "市场营销信息",
grouppanel4: "记账信息",
formpage1: "基本信息", formpage1: "基本信息",
srfupdatedate: "更新时间", srfupdatedate: "更新时间",
srforikey: "", srforikey: "",
...@@ -346,6 +350,25 @@ export default { ...@@ -346,6 +350,25 @@ export default {
telephone1: "商务电话", telephone1: "商务电话",
mobilephone: "移动电话", mobilephone: "移动电话",
fax: "传真", 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: "联系人", contactid: "联系人",
}, },
uiactions: { uiactions: {
...@@ -551,26 +574,26 @@ export default { ...@@ -551,26 +574,26 @@ export default {
uiactions: { uiactions: {
}, },
}, },
byaccount_grid: { main_grid: {
columns: { columns: {
fullname: "全名", fullname: "全名",
emailaddress1: "电子邮件", emailaddress1: "电子邮件",
parentcustomerid: "公司名称", parentcustomerid: "公司名称",
telephone1: "商务电话", telephone1: "商务电话",
uagridcolumn1: "设置主联系人",
}, },
uiactions: { uiactions: {
contact_setprimary: "设置为主要联系人",
}, },
}, },
main_grid: { byaccount_grid: {
columns: { columns: {
fullname: "全名", fullname: "全名",
emailaddress1: "电子邮件", emailaddress1: "电子邮件",
parentcustomerid: "公司名称", parentcustomerid: "公司名称",
telephone1: "商务电话", telephone1: "商务电话",
uagridcolumn1: "设置主联系人",
}, },
uiactions: { uiactions: {
contact_setprimary: "设置为主要联系人",
}, },
}, },
default_searchform: { default_searchform: {
......
...@@ -117,6 +117,10 @@ export default { ...@@ -117,6 +117,10 @@ export default {
caption: "案例", caption: "案例",
title: "快速新建", title: "快速新建",
}, },
pickupgridview: {
caption: "案例",
title: "案例选择表格视图",
},
pickupview: { pickupview: {
caption: "案例", caption: "案例",
title: "案例数据选择视图", title: "案例数据选择视图",
......
...@@ -116,6 +116,10 @@ export default { ...@@ -116,6 +116,10 @@ export default {
caption: "案例", caption: "案例",
title: "快速新建", title: "快速新建",
}, },
pickupgridview: {
caption: "案例",
title: "案例选择表格视图",
},
pickupview: { pickupview: {
caption: "案例", caption: "案例",
title: "案例数据选择视图", title: "案例数据选择视图",
......
...@@ -711,12 +711,12 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => { ...@@ -711,12 +711,12 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname": "ContactInfo_Market", "viewname": "ContactInfo_Market",
"viewtag": "615ceb2945e3cfe7404850aeadae188d" "viewtag": "615ceb2945e3cfe7404850aeadae188d"
}, },
"contactsummary": { "contactsummaryview": {
"title": "联系人数据看板视图", "title": "联系人数据看板视图",
"caption": "联系人", "caption": "联系人",
"viewtype": "DEPORTALVIEW", "viewtype": "DEPORTALVIEW",
"viewmodule": "Base", "viewmodule": "Base",
"viewname": "ContactSummary", "viewname": "ContactSummaryView",
"viewtag": "6168a7e787ead13b1e0f9a55007bc68c" "viewtag": "6168a7e787ead13b1e0f9a55007bc68c"
}, },
"goalgridview": { "goalgridview": {
...@@ -903,6 +903,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => { ...@@ -903,6 +903,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname": "OpportunityEditView", "viewname": "OpportunityEditView",
"viewtag": "7bf35293fd1d9db7816755a74c4d575e" "viewtag": "7bf35293fd1d9db7816755a74c4d575e"
}, },
"incidentpickupgridview": {
"title": "案例选择表格视图",
"caption": "案例",
"viewtype": "DEPICKUPGRIDVIEW",
"viewmodule": "Service",
"viewname": "IncidentPickupGridView",
"viewtag": "7cd4753a46e288fc3bac3a4d6b08c8d1"
},
"leadpickupgridview": { "leadpickupgridview": {
"title": "潜在顾客选择表格视图", "title": "潜在顾客选择表格视图",
"caption": "潜在顾客", "caption": "潜在顾客",
......
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
<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
<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>
...@@ -156,12 +156,11 @@ export const PageComponents = { ...@@ -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('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('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('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('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('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('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('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('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('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')); Vue.component('competitor-pickup-view', () => import('@pages/sales/competitor-pickup-view/competitor-pickup-view.vue'));
......
...@@ -4617,35 +4617,6 @@ const router = new Router({ ...@@ -4617,35 +4617,6 @@ const router = new Router({
}, },
component: () => import('@pages/sales/sales-order-info-soview/sales-order-info-soview.vue'), 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?', path: 'activitypointers/:activitypointer?/byparentkey/:byparentkey?',
meta: { meta: {
...@@ -4747,33 +4718,33 @@ const router = new Router({ ...@@ -4747,33 +4718,33 @@ const router = new Router({
component: () => import('@pages/marketing/list-account-inner/list-account-inner.vue'), component: () => import('@pages/marketing/list-account-inner/list-account-inner.vue'),
}, },
{ {
path: 'accounts/:account?/contacts/:contact?/summary/:summary?', path: 'accounts/:account?/contacts/:contact?/summaryview/:summaryview?',
meta: { meta: {
caption: 'entities.contact.views.summary.title', caption: 'entities.contact.views.summaryview.title',
info:'', info:'',
parameters: [ parameters: [
{ pathName: 'central', parameterName: 'central' }, { pathName: 'central', parameterName: 'central' },
{ pathName: 'accounts', parameterName: 'account' }, { pathName: 'accounts', parameterName: 'account' },
{ pathName: 'contacts', parameterName: 'contact' }, { pathName: 'contacts', parameterName: 'contact' },
{ pathName: 'summary', parameterName: 'summary' }, { pathName: 'summaryview', parameterName: 'summaryview' },
], ],
requireAuth: true, 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?/summaryview/:summaryview?',
meta: { meta: {
caption: 'entities.contact.views.summary.title', caption: 'entities.contact.views.summaryview.title',
info:'', info:'',
parameters: [ parameters: [
{ pathName: 'central', parameterName: 'central' }, { pathName: 'central', parameterName: 'central' },
{ pathName: 'contacts', parameterName: 'contact' }, { pathName: 'contacts', parameterName: 'contact' },
{ pathName: 'summary', parameterName: 'summary' }, { pathName: 'summaryview', parameterName: 'summaryview' },
], ],
requireAuth: true, 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?', path: 'tasks/:task?/editview/:editview?',
......
...@@ -23,16 +23,6 @@ export const viewstate: any = { ...@@ -23,16 +23,6 @@ export const viewstate: any = {
'a04bb3dac3122438b3b1096f5f370516', 'a04bb3dac3122438b3b1096f5f370516',
], ],
}, },
{
viewtag: '016506dd3f47a5cf8530f2ca3dbdc7b7',
viewmodule: 'Base',
viewname: 'ContactEditAbstract',
viewaction: '',
viewdatachange: false,
refviews: [
'29bfcd628ab25e297248ff0524d12908',
],
},
{ {
viewtag: '016e75bb460270519a0ee9dda57b2c90', viewtag: '016e75bb460270519a0ee9dda57b2c90',
viewmodule: 'Base', viewmodule: 'Base',
...@@ -490,6 +480,7 @@ export const viewstate: any = { ...@@ -490,6 +480,7 @@ export const viewstate: any = {
'e404dc93e70d6284d4e1a083017625ed', 'e404dc93e70d6284d4e1a083017625ed',
'e4335da0a7c14a65376eecaabb771fd7', 'e4335da0a7c14a65376eecaabb771fd7',
'688201ee5642d41628dbf4deba002d17', '688201ee5642d41628dbf4deba002d17',
'fcdb236b65d78c4a8ae64e74f9483a63',
], ],
}, },
{ {
...@@ -824,14 +815,13 @@ export const viewstate: any = { ...@@ -824,14 +815,13 @@ export const viewstate: any = {
{ {
viewtag: '6168a7e787ead13b1e0f9a55007bc68c', viewtag: '6168a7e787ead13b1e0f9a55007bc68c',
viewmodule: 'Base', viewmodule: 'Base',
viewname: 'ContactSummary', viewname: 'ContactSummaryView',
viewaction: '', viewaction: '',
viewdatachange: false, viewdatachange: false,
refviews: [ refviews: [
'21eb3cee3363f2590cf0cf6af8446300', '21eb3cee3363f2590cf0cf6af8446300',
'0572fab51a094f738d0b1f41c3b78988', '0572fab51a094f738d0b1f41c3b78988',
'aa79d35850f36fbc1a5085353ecd5af5', 'aa79d35850f36fbc1a5085353ecd5af5',
'016506dd3f47a5cf8530f2ca3dbdc7b7',
'a95d7d9111bc13a8b73a11ee1e4ff92a', 'a95d7d9111bc13a8b73a11ee1e4ff92a',
'9475c40920701fcc382676d73832de4f', '9475c40920701fcc382676d73832de4f',
'a5213905238dbc5d8e1a505029105cc9', 'a5213905238dbc5d8e1a505029105cc9',
......
...@@ -86,7 +86,7 @@ export default class ContactUIServiceBase extends UIService { ...@@ -86,7 +86,7 @@ export default class ContactUIServiceBase extends UIService {
this.allViewMap.set(':',{viewname:'info_book',srfappde:'contacts'}); this.allViewMap.set(':',{viewname:'info_book',srfappde:'contacts'});
this.allViewMap.set(':',{viewname:'info_abstract',srfappde:'contacts'}); this.allViewMap.set(':',{viewname:'info_abstract',srfappde:'contacts'});
this.allViewMap.set(':',{viewname:'info_market',srfappde:'contacts'}); this.allViewMap.set(':',{viewname:'info_market',srfappde:'contacts'});
this.allViewMap.set(':',{viewname:'summary',srfappde:'contacts'}); this.allViewMap.set(':',{viewname:'summaryview',srfappde:'contacts'});
this.allViewMap.set(':',{viewname:'editaddress',srfappde:'contacts'}); this.allViewMap.set(':',{viewname:'editaddress',srfappde:'contacts'});
this.allViewMap.set(':',{viewname:'pickupgridview',srfappde:'contacts'}); this.allViewMap.set(':',{viewname:'pickupgridview',srfappde:'contacts'});
this.allViewMap.set(':',{viewname:'byaccount',srfappde:'contacts'}); this.allViewMap.set(':',{viewname:'byaccount',srfappde:'contacts'});
...@@ -108,7 +108,7 @@ export default class ContactUIServiceBase extends UIService { ...@@ -108,7 +108,7 @@ export default class ContactUIServiceBase extends UIService {
} }
/** /**
* 编辑 * 新建
* *
* @param {any[]} args 当前数据 * @param {any[]} args 当前数据
* @param {any} context 行为附加上下文 * @param {any} context 行为附加上下文
...@@ -119,17 +119,14 @@ export default class ContactUIServiceBase extends UIService { ...@@ -119,17 +119,14 @@ export default class ContactUIServiceBase extends UIService {
* @param {*} [srfParentDeName] 父实体名称 * @param {*} [srfParentDeName] 父实体名称
* @returns {Promise<any>} * @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 data: any = {};
let parentContext:any = {}; let parentContext:any = {};
let parentViewParam:any = {}; let parentViewParam:any = {};
const _this: any = actionContext; const _this: any = actionContext;
const _args: any[] = Util.deepCopy(args); const _args: any[] = Util.deepCopy(args);
const actionTarget: string | null = 'SINGLEKEY'; const actionTarget: string | null = 'NONE';
Object.assign(context, { contact: '%contact%' });
Object.assign(params, { contactid: '%contact%' });
Object.assign(params, { fullname: '%fullname%' });
if(_this.context){ if(_this.context){
parentContext = _this.context; parentContext = _this.context;
} }
...@@ -151,6 +148,7 @@ export default class ContactUIServiceBase extends UIService { ...@@ -151,6 +148,7 @@ export default class ContactUIServiceBase extends UIService {
const parameters: any[] = [ const parameters: any[] = [
{ pathName: 'contacts', parameterName: 'contact' }, { pathName: 'contacts', parameterName: 'contact' },
]; ];
actionContext.closeView(null);
const openDrawer = (view: any, data: any) => { const openDrawer = (view: any, data: any) => {
let container: Subject<any> = actionContext.$appdrawer.openDrawer(view, context,data); let container: Subject<any> = actionContext.$appdrawer.openDrawer(view, context,data);
container.subscribe((result: any) => { container.subscribe((result: any) => {
...@@ -158,6 +156,12 @@ export default class ContactUIServiceBase extends UIService { ...@@ -158,6 +156,12 @@ export default class ContactUIServiceBase extends UIService {
return; return;
} }
const _this: any = actionContext; 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){ if(window.opener){
window.opener.postMessage({status:'OK',identification:'WF'},Environment.uniteAddress); window.opener.postMessage({status:'OK',identification:'WF'},Environment.uniteAddress);
window.close(); window.close();
...@@ -166,17 +170,17 @@ export default class ContactUIServiceBase extends UIService { ...@@ -166,17 +170,17 @@ export default class ContactUIServiceBase extends UIService {
}); });
} }
const view: any = { const view: any = {
viewname: 'contact-edit-abstract', viewname: 'contact-quick-create',
height: 0, height: 0,
width: 450, width: 0,
title: actionContext.$t('entities.contact.views.editabstract.title'), title: actionContext.$t('entities.contact.views.quickcreate.title'),
placement: 'DRAWER_RIGHT', placement: 'DRAWER_RIGHT',
}; };
openDrawer(view, data); openDrawer(view, data);
} }
/** /**
* 新建 * 编辑
* *
* @param {any[]} args 当前数据 * @param {any[]} args 当前数据
* @param {any} context 行为附加上下文 * @param {any} context 行为附加上下文
...@@ -187,14 +191,17 @@ export default class ContactUIServiceBase extends UIService { ...@@ -187,14 +191,17 @@ export default class ContactUIServiceBase extends UIService {
* @param {*} [srfParentDeName] 父实体名称 * @param {*} [srfParentDeName] 父实体名称
* @returns {Promise<any>} * @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 data: any = {};
let parentContext:any = {}; let parentContext:any = {};
let parentViewParam:any = {}; let parentViewParam:any = {};
const _this: any = actionContext; const _this: any = actionContext;
const _args: any[] = Util.deepCopy(args); 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){ if(_this.context){
parentContext = _this.context; parentContext = _this.context;
} }
...@@ -231,17 +238,17 @@ export default class ContactUIServiceBase extends UIService { ...@@ -231,17 +238,17 @@ export default class ContactUIServiceBase extends UIService {
}); });
} }
const view: any = { const view: any = {
viewname: 'contact-quick-create', viewname: 'contact-edit-person',
height: 0, height: 0,
width: 0, width: 450,
title: actionContext.$t('entities.contact.views.quickcreate.title'), title: actionContext.$t('entities.contact.views.editperson.title'),
placement: 'DRAWER_RIGHT', placement: 'DRAWER_RIGHT',
}; };
openDrawer(view, data); openDrawer(view, data);
} }
/** /**
* 编辑 * 打开主信息界面
* *
* @param {any[]} args 当前数据 * @param {any[]} args 当前数据
* @param {any} context 行为附加上下文 * @param {any} context 行为附加上下文
...@@ -252,7 +259,7 @@ export default class ContactUIServiceBase extends UIService { ...@@ -252,7 +259,7 @@ export default class ContactUIServiceBase extends UIService {
* @param {*} [srfParentDeName] 父实体名称 * @param {*} [srfParentDeName] 父实体名称
* @returns {Promise<any>} * @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 data: any = {};
let parentContext:any = {}; let parentContext:any = {};
...@@ -283,29 +290,14 @@ export default class ContactUIServiceBase extends UIService { ...@@ -283,29 +290,14 @@ export default class ContactUIServiceBase extends UIService {
} }
const parameters: any[] = [ const parameters: any[] = [
{ pathName: 'contacts', parameterName: 'contact' }, { pathName: 'contacts', parameterName: 'contact' },
{ pathName: 'info', parameterName: 'info' },
]; ];
const openDrawer = (view: any, data: any) => { const openIndexViewTab = (data: any) => {
let container: Subject<any> = actionContext.$appdrawer.openDrawer(view, context,data); const routePath = actionContext.$viewTool.buildUpRoutePath(actionContext.$route, context, deResParameters, parameters, _args, data);
container.subscribe((result: any) => { actionContext.$router.push(routePath);
if (!result || !Object.is(result.ret, 'OK')) { return null;
return; }
} openIndexViewTab(data);
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);
} }
/** /**
......
...@@ -83,6 +83,7 @@ export default class IncidentUIServiceBase extends UIService { ...@@ -83,6 +83,7 @@ export default class IncidentUIServiceBase extends UIService {
this.allViewMap.set(':',{viewname:'edit_chlidincident',srfappde:'incidents'}); this.allViewMap.set(':',{viewname:'edit_chlidincident',srfappde:'incidents'});
this.allViewMap.set('MDATAVIEW:',{viewname:'gridview',srfappde:'incidents'}); this.allViewMap.set('MDATAVIEW:',{viewname:'gridview',srfappde:'incidents'});
this.allViewMap.set(':',{viewname:'quickcreateview',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('PICKUPVIEW:',{viewname:'pickupview',srfappde:'incidents'});
this.allViewMap.set(':',{viewname:'childincidentgridview',srfappde:'incidents'}); this.allViewMap.set(':',{viewname:'childincidentgridview',srfappde:'incidents'});
this.allViewMap.set(':',{viewname:'info_incidentview',srfappde:'incidents'}); this.allViewMap.set(':',{viewname:'info_incidentview',srfappde:'incidents'});
......
...@@ -62,6 +62,25 @@ export class AbstractInfoEditFormBase extends EditFormControlBase { ...@@ -62,6 +62,25 @@ export class AbstractInfoEditFormBase extends EditFormControlBase {
telephone1: null, telephone1: null,
mobilephone: null, mobilephone: null,
fax: 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, contactid: null,
contact:null, contact:null,
}; };
...@@ -82,7 +101,15 @@ export class AbstractInfoEditFormBase extends EditFormControlBase { ...@@ -82,7 +101,15 @@ export class AbstractInfoEditFormBase extends EditFormControlBase {
* @memberof AbstractInfoEditFormBase * @memberof AbstractInfoEditFormBase
*/ */
public detailsModel: any = { 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 }), formpage1: new FormPageModel({ caption: '基本信息', detailType: 'FORMPAGE', name: 'formpage1', visible: true, isShowCaption: true, form: this }),
...@@ -116,6 +143,44 @@ export class AbstractInfoEditFormBase extends EditFormControlBase { ...@@ -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 }), 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 }), contactid: new FormItemModel({ caption: '联系人', detailType: 'FORMITEM', name: 'contactid', visible: true, isShowCaption: true, form: this, disabled: false, enableCond: 1 }),
}; };
......
...@@ -90,6 +90,101 @@ export default class AbstractInfoModel { ...@@ -90,6 +90,101 @@ export default class AbstractInfoModel {
prop: 'fax', prop: 'fax',
dataType: 'TEXT', 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', name: 'contactid',
prop: 'contactid', prop: 'contactid',
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
<i-col :md="{ span: 24, offset: 0 }" :lg="{ span: 18, offset: 0 }"> <i-col :md="{ span: 24, offset: 0 }" :lg="{ span: 18, offset: 0 }">
<card class="portlet-card" :bordered="false" dis-hover :padding="0"> <card class="portlet-card" :bordered="false" dis-hover :padding="0">
<span> <span>
<div class='portlet-container summarydashboard-container1 ' :style="{}"> <div class='portlet-container summary-viewdashboard-container1 ' :style="{}">
<row> <row>
<i-col :md="{ span: 24, offset: 0 }"> <i-col :md="{ span: 24, offset: 0 }">
<div class="portlet-without-title"> <div class="portlet-without-title">
...@@ -106,7 +106,7 @@ ...@@ -106,7 +106,7 @@
<i-col :md="{ span: 24, offset: 0 }" :lg="{ span: 6, offset: 0 }"> <i-col :md="{ span: 24, offset: 0 }" :lg="{ span: 6, offset: 0 }">
<card class="portlet-card" :bordered="false" dis-hover :padding="0"> <card class="portlet-card" :bordered="false" dis-hover :padding="0">
<span> <span>
<div class='portlet-container summarydashboard-container2 ' :style="{}"> <div class='portlet-container summary-viewdashboard-container2 ' :style="{}">
<row> <row>
<i-col :md="{ span: 24, offset: 0 }"> <i-col :md="{ span: 24, offset: 0 }">
<div class="portlet-without-title"> <div class="portlet-without-title">
......
<div class='tabviewpanel' v-if='isActivied'> <div class='tabviewpanel' v-if='isActivied'>
<contact-summary <contact-summary-view
class='viewcontainer2' class='viewcontainer2'
:viewdata="viewdata" :viewdata="viewdata"
:viewparam="viewparam" :viewparam="viewparam"
@viewload="viewDatasChange($event)" @viewload="viewDatasChange($event)"
:viewDefaultUsage="false" > :viewDefaultUsage="false" >
</contact-summary> </contact-summary-view>
</div> </div>
\ No newline at end of file
...@@ -3,7 +3,6 @@ import { Subject, Subscription } from 'rxjs'; ...@@ -3,7 +3,6 @@ import { Subject, Subscription } from 'rxjs';
import { Watch, MainControlBase } from '@/studio-core'; import { Watch, MainControlBase } from '@/studio-core';
import ContactService from '@/service/contact/contact-service'; import ContactService from '@/service/contact/contact-service';
import View_ConAbsService from './view-con-abs-portlet-service'; import View_ConAbsService from './view-con-abs-portlet-service';
import ContactUIService from '@/uiservice/contact/contact-ui-service';
import { Environment } from '@/environments/environment'; import { Environment } from '@/environments/environment';
...@@ -41,34 +40,6 @@ export class View_ConAbsPortletBase extends MainControlBase { ...@@ -41,34 +40,6 @@ export class View_ConAbsPortletBase extends MainControlBase {
*/ */
protected appDeName: string = 'contact'; 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 { ...@@ -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);
}
}
} }
...@@ -4,14 +4,6 @@ ...@@ -4,14 +4,6 @@
摘要信息 摘要信息
</span> </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> </p>
<div class="portlet-with-title"> <div class="portlet-with-title">
<contact-info-abstract :viewdata="JSON.stringify(context)" :viewDefaultUsage="false" ></contact-info-abstract> <contact-info-abstract :viewdata="JSON.stringify(context)" :viewDefaultUsage="false" ></contact-info-abstract>
......
...@@ -3238,7 +3238,7 @@ ...@@ -3238,7 +3238,7 @@
<!--输出实体[CONTACT]数据结构 --> <!--输出实体[CONTACT]数据结构 -->
<changeSet author="a_LAB01_e85d8801c" id="tab-contact-247-44"> <changeSet author="a_LAB01_e85d8801c" id="tab-contact-254-44">
<createTable tableName="CONTACT"> <createTable tableName="CONTACT">
<column name="ADDRESS1_FREIGHTTERMSCODE" remarks="" type="VARCHAR(30)"> <column name="ADDRESS1_FREIGHTTERMSCODE" remarks="" type="VARCHAR(30)">
</column> </column>
...@@ -11141,25 +11141,25 @@ ...@@ -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"/> <addForeignKeyConstraint baseColumnNames="ENTITLEMENTTEMPLATEID" baseTableName="ENTITLEMENTTEMPLATECHANNEL" constraintName="DER1N_ENTITLEMENTTEMPLATECHANN" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="ENTITLEMENTTEMPLATEID" referencedTableName="ENTITLEMENTTEMPLATE" validate="true"/>
</changeSet> </changeSet>
<!--输出实体[CONTACT]外键关系 --> <!--输出实体[CONTACT]外键关系 -->
<changeSet author="a_LAB01_e85d8801c" id="fk-contact-247-218"> <changeSet author="a_LAB01_e85d8801c" id="fk-contact-254-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"/> <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>
<changeSet author="a_LAB01_e85d8801c" id="fk-contact-247-219"> <changeSet author="a_LAB01_e85d8801c" id="fk-contact-254-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"/> <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>
<changeSet author="a_LAB01_e85d8801c" id="fk-contact-247-220"> <changeSet author="a_LAB01_e85d8801c" id="fk-contact-254-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"/> <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>
<changeSet author="a_LAB01_e85d8801c" id="fk-contact-247-221"> <changeSet author="a_LAB01_e85d8801c" id="fk-contact-254-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"/> <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>
<changeSet author="a_LAB01_e85d8801c" id="fk-contact-247-222"> <changeSet author="a_LAB01_e85d8801c" id="fk-contact-254-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"/> <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>
<changeSet author="a_LAB01_e85d8801c" id="fk-contact-247-223"> <changeSet author="a_LAB01_e85d8801c" id="fk-contact-254-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"/> <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>
<changeSet author="a_LAB01_e85d8801c" id="fk-contact-247-224"> <changeSet author="a_LAB01_e85d8801c" id="fk-contact-254-224">
<addForeignKeyConstraint baseColumnNames="TRANSACTIONCURRENCYID" baseTableName="CONTACT" constraintName="DER1N_CONTACT__TRANSACTIONCURR" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="TRANSACTIONCURRENCYID" referencedTableName="TRANSACTIONCURRENCY" validate="true"/> <addForeignKeyConstraint baseColumnNames="TRANSACTIONCURRENCYID" baseTableName="CONTACT" constraintName="DER1N_CONTACT__TRANSACTIONCURR" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="TRANSACTIONCURRENCYID" referencedTableName="TRANSACTIONCURRENCY" validate="true"/>
</changeSet> </changeSet>
<!--输出实体[TEAM]外键关系 --> <!--输出实体[TEAM]外键关系 -->
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册