提交 7f8770a6 编写于 作者: ibizdev's avatar ibizdev

lab_gzf 发布系统代码

上级 e4524a07
...@@ -1090,7 +1090,7 @@ ...@@ -1090,7 +1090,7 @@
"memo": "系统自动添加" "memo": "系统自动添加"
}, },
"leadinfo_contact": { "leadinfo_contact": {
"title": "潜在顾客编辑视图", "title": "潜在顾客信息",
"caption": "潜在顾客", "caption": "潜在顾客",
"viewtype": "DEEDITVIEW", "viewtype": "DEEDITVIEW",
"viewmodule": "Sales", "viewmodule": "Sales",
......
...@@ -188,7 +188,7 @@ export default { ...@@ -188,7 +188,7 @@ export default {
}, },
info_contact: { info_contact: {
caption: "潜在顾客", caption: "潜在顾客",
title: "潜在顾客编辑视图", title: "潜在顾客信息",
}, },
pickupgridview: { pickupgridview: {
caption: "潜在顾客", caption: "潜在顾客",
...@@ -236,6 +236,9 @@ export default { ...@@ -236,6 +236,9 @@ export default {
contactinfo_form: { contactinfo_form: {
details: { details: {
group1: "潜在顾客基本信息", group1: "潜在顾客基本信息",
grouppanel1: "公司信息",
grouppanel2: "详细信息",
grouppanel3: "市场营销信息",
formpage1: "基本信息", formpage1: "基本信息",
srfupdatedate: "更新时间", srfupdatedate: "更新时间",
srforikey: "", srforikey: "",
...@@ -251,16 +254,31 @@ export default { ...@@ -251,16 +254,31 @@ export default {
telephone1: "商务电话", telephone1: "商务电话",
mobilephone: "移动电话", mobilephone: "移动电话",
emailaddress1: "电子邮件", emailaddress1: "电子邮件",
companyname: "公司名称",
websiteurl: "网站",
address1_postalcode: "邮政编码",
address1_country: "国家/地区",
address1_stateorprovince: "省/直辖市/自治区",
address1_city: "市/县",
address1_line1: "街道",
industrycode: "行业",
revenue: "年收入",
numberofemployees: "员工数",
transactioncurrencyname: "货币",
campaignname: "源市场活动",
donotsendmm: "市场营销资料",
lastusedincampaign: "上次市场活动日期",
leadid: "潜在顾客", leadid: "潜在顾客",
}, },
uiactions: { uiactions: {
}, },
}, },
companyinfo_form: { main_form: {
details: { details: {
rawitem1: "", group1: "lead基本信息",
group1: "潜在顾客基本信息",
formpage1: "基本信息", formpage1: "基本信息",
group2: "操作信息",
formpage2: "其它",
srfupdatedate: "更新时间", srfupdatedate: "更新时间",
srforikey: "", srforikey: "",
srfkey: "潜在顾客", srfkey: "潜在顾客",
...@@ -269,19 +287,17 @@ export default { ...@@ -269,19 +287,17 @@ export default {
srfuf: "", srfuf: "",
srfdeid: "", srfdeid: "",
srfsourcekey: "", srfsourcekey: "",
companyname: "公司名称", fullname: "姓名",
websiteurl: "网站", createman: "建立人",
address1_postalcode: "邮政编码", createdate: "建立时间",
address1_country: "国家/地区", updateman: "更新人",
address1_stateorprovince: "省/直辖市/自治区", updatedate: "更新时间",
address1_city: "市/县",
address1_line1: "街道",
leadid: "潜在顾客", leadid: "潜在顾客",
}, },
uiactions: { uiactions: {
}, },
}, },
detailinfo_form: { marketinfo_form: {
details: { details: {
group1: "潜在顾客基本信息", group1: "潜在顾客基本信息",
formpage1: "基本信息", formpage1: "基本信息",
...@@ -293,19 +309,17 @@ export default { ...@@ -293,19 +309,17 @@ export default {
srfuf: "", srfuf: "",
srfdeid: "", srfdeid: "",
srfsourcekey: "", srfsourcekey: "",
description: "说明", campaignname: "源市场活动",
industrycode: "行业", donotsendmm: "市场营销资料",
revenue: "年收入", lastusedincampaign: "上次市场活动日期",
numberofemployees: "员工数",
sic: "行业编码",
transactioncurrencyname: "货币",
leadid: "潜在顾客", leadid: "潜在顾客",
}, },
uiactions: { uiactions: {
}, },
}, },
marketinfo_form: { companyinfo_form: {
details: { details: {
rawitem1: "",
group1: "潜在顾客基本信息", group1: "潜在顾客基本信息",
formpage1: "基本信息", formpage1: "基本信息",
srfupdatedate: "更新时间", srfupdatedate: "更新时间",
...@@ -316,20 +330,22 @@ export default { ...@@ -316,20 +330,22 @@ export default {
srfuf: "", srfuf: "",
srfdeid: "", srfdeid: "",
srfsourcekey: "", srfsourcekey: "",
campaignname: "源市场活动", companyname: "公司名称",
donotsendmm: "市场营销资料", websiteurl: "网站",
lastusedincampaign: "上次市场活动日期", address1_postalcode: "邮政编码",
address1_country: "国家/地区",
address1_stateorprovince: "省/直辖市/自治区",
address1_city: "市/县",
address1_line1: "街道",
leadid: "潜在顾客", leadid: "潜在顾客",
}, },
uiactions: { uiactions: {
}, },
}, },
main_form: { detailinfo_form: {
details: { details: {
group1: "lead基本信息", group1: "潜在顾客基本信息",
formpage1: "基本信息", formpage1: "基本信息",
group2: "操作信息",
formpage2: "其它",
srfupdatedate: "更新时间", srfupdatedate: "更新时间",
srforikey: "", srforikey: "",
srfkey: "潜在顾客", srfkey: "潜在顾客",
...@@ -338,11 +354,12 @@ export default { ...@@ -338,11 +354,12 @@ export default {
srfuf: "", srfuf: "",
srfdeid: "", srfdeid: "",
srfsourcekey: "", srfsourcekey: "",
fullname: "姓名", description: "说明",
createman: "建立人", industrycode: "行业",
createdate: "建立时间", revenue: "年收入",
updateman: "更新人", numberofemployees: "员工数",
updatedate: "更新时间", sic: "行业编码",
transactioncurrencyname: "货币",
leadid: "潜在顾客", leadid: "潜在顾客",
}, },
uiactions: { uiactions: {
...@@ -367,48 +384,6 @@ export default { ...@@ -367,48 +384,6 @@ export default {
uiactions: { uiactions: {
}, },
}, },
conleadgridviewtoolbar_toolbar: {
tbitem1_openquickcreateview: {
caption: "新建",
tip: "新建",
},
tbitem2: {
caption: "-",
tip: "",
},
tbitem4: {
caption: "Edit",
tip: "Edit {0}",
},
tbitem6: {
caption: "Copy",
tip: "Copy {0}",
},
tbitem7: {
caption: "-",
tip: "",
},
tbitem8: {
caption: "Remove",
tip: "Remove {0}",
},
tbitem9: {
caption: "-",
tip: "",
},
tbitem13: {
caption: "Export",
tip: "Export {0} Data To Excel",
},
tbitem10: {
caption: "-",
tip: "",
},
tbitem19: {
caption: "Filter",
tip: "Filter",
},
},
infotoolbar_toolbar: { infotoolbar_toolbar: {
deuiaction4: { deuiaction4: {
caption: "Edit", caption: "Edit",
...@@ -455,6 +430,48 @@ export default { ...@@ -455,6 +430,48 @@ export default {
tip: "关闭", tip: "关闭",
}, },
}, },
conleadgridviewtoolbar_toolbar: {
tbitem1_openquickcreateview: {
caption: "新建",
tip: "新建",
},
tbitem2: {
caption: "-",
tip: "",
},
tbitem4: {
caption: "Edit",
tip: "Edit {0}",
},
tbitem6: {
caption: "Copy",
tip: "Copy {0}",
},
tbitem7: {
caption: "-",
tip: "",
},
tbitem8: {
caption: "Remove",
tip: "Remove {0}",
},
tbitem9: {
caption: "-",
tip: "",
},
tbitem13: {
caption: "Export",
tip: "Export {0} Data To Excel",
},
tbitem10: {
caption: "-",
tip: "",
},
tbitem19: {
caption: "Filter",
tip: "Filter",
},
},
gridviewtoolbar_toolbar: { gridviewtoolbar_toolbar: {
tbitem1_openquickcreateview: { tbitem1_openquickcreateview: {
caption: "新建", caption: "新建",
......
...@@ -187,7 +187,7 @@ export default { ...@@ -187,7 +187,7 @@ export default {
}, },
info_contact: { info_contact: {
caption: "潜在顾客", caption: "潜在顾客",
title: "潜在顾客编辑视图", title: "潜在顾客信息",
}, },
pickupgridview: { pickupgridview: {
caption: "潜在顾客", caption: "潜在顾客",
...@@ -235,6 +235,9 @@ export default { ...@@ -235,6 +235,9 @@ export default {
contactinfo_form: { contactinfo_form: {
details: { details: {
group1: "潜在顾客基本信息", group1: "潜在顾客基本信息",
grouppanel1: "公司信息",
grouppanel2: "详细信息",
grouppanel3: "市场营销信息",
formpage1: "基本信息", formpage1: "基本信息",
srfupdatedate: "更新时间", srfupdatedate: "更新时间",
srforikey: "", srforikey: "",
...@@ -250,16 +253,31 @@ export default { ...@@ -250,16 +253,31 @@ export default {
telephone1: "商务电话", telephone1: "商务电话",
mobilephone: "移动电话", mobilephone: "移动电话",
emailaddress1: "电子邮件", emailaddress1: "电子邮件",
companyname: "公司名称",
websiteurl: "网站",
address1_postalcode: "邮政编码",
address1_country: "国家/地区",
address1_stateorprovince: "省/直辖市/自治区",
address1_city: "市/县",
address1_line1: "街道",
industrycode: "行业",
revenue: "年收入",
numberofemployees: "员工数",
transactioncurrencyname: "货币",
campaignname: "源市场活动",
donotsendmm: "市场营销资料",
lastusedincampaign: "上次市场活动日期",
leadid: "潜在顾客", leadid: "潜在顾客",
}, },
uiactions: { uiactions: {
}, },
}, },
companyinfo_form: { main_form: {
details: { details: {
rawitem1: "", group1: "lead基本信息",
group1: "潜在顾客基本信息",
formpage1: "基本信息", formpage1: "基本信息",
group2: "操作信息",
formpage2: "其它",
srfupdatedate: "更新时间", srfupdatedate: "更新时间",
srforikey: "", srforikey: "",
srfkey: "潜在顾客", srfkey: "潜在顾客",
...@@ -268,19 +286,17 @@ export default { ...@@ -268,19 +286,17 @@ export default {
srfuf: "", srfuf: "",
srfdeid: "", srfdeid: "",
srfsourcekey: "", srfsourcekey: "",
companyname: "公司名称", fullname: "姓名",
websiteurl: "网站", createman: "建立人",
address1_postalcode: "邮政编码", createdate: "建立时间",
address1_country: "国家/地区", updateman: "更新人",
address1_stateorprovince: "省/直辖市/自治区", updatedate: "更新时间",
address1_city: "市/县",
address1_line1: "街道",
leadid: "潜在顾客", leadid: "潜在顾客",
}, },
uiactions: { uiactions: {
}, },
}, },
detailinfo_form: { marketinfo_form: {
details: { details: {
group1: "潜在顾客基本信息", group1: "潜在顾客基本信息",
formpage1: "基本信息", formpage1: "基本信息",
...@@ -292,19 +308,17 @@ export default { ...@@ -292,19 +308,17 @@ export default {
srfuf: "", srfuf: "",
srfdeid: "", srfdeid: "",
srfsourcekey: "", srfsourcekey: "",
description: "说明", campaignname: "源市场活动",
industrycode: "行业", donotsendmm: "市场营销资料",
revenue: "年收入", lastusedincampaign: "上次市场活动日期",
numberofemployees: "员工数",
sic: "行业编码",
transactioncurrencyname: "货币",
leadid: "潜在顾客", leadid: "潜在顾客",
}, },
uiactions: { uiactions: {
}, },
}, },
marketinfo_form: { companyinfo_form: {
details: { details: {
rawitem1: "",
group1: "潜在顾客基本信息", group1: "潜在顾客基本信息",
formpage1: "基本信息", formpage1: "基本信息",
srfupdatedate: "更新时间", srfupdatedate: "更新时间",
...@@ -315,20 +329,22 @@ export default { ...@@ -315,20 +329,22 @@ export default {
srfuf: "", srfuf: "",
srfdeid: "", srfdeid: "",
srfsourcekey: "", srfsourcekey: "",
campaignname: "源市场活动", companyname: "公司名称",
donotsendmm: "市场营销资料", websiteurl: "网站",
lastusedincampaign: "上次市场活动日期", address1_postalcode: "邮政编码",
address1_country: "国家/地区",
address1_stateorprovince: "省/直辖市/自治区",
address1_city: "市/县",
address1_line1: "街道",
leadid: "潜在顾客", leadid: "潜在顾客",
}, },
uiactions: { uiactions: {
}, },
}, },
main_form: { detailinfo_form: {
details: { details: {
group1: "lead基本信息", group1: "潜在顾客基本信息",
formpage1: "基本信息", formpage1: "基本信息",
group2: "操作信息",
formpage2: "其它",
srfupdatedate: "更新时间", srfupdatedate: "更新时间",
srforikey: "", srforikey: "",
srfkey: "潜在顾客", srfkey: "潜在顾客",
...@@ -337,11 +353,12 @@ export default { ...@@ -337,11 +353,12 @@ export default {
srfuf: "", srfuf: "",
srfdeid: "", srfdeid: "",
srfsourcekey: "", srfsourcekey: "",
fullname: "姓名", description: "说明",
createman: "建立人", industrycode: "行业",
createdate: "建立时间", revenue: "年收入",
updateman: "更新人", numberofemployees: "员工数",
updatedate: "更新时间", sic: "行业编码",
transactioncurrencyname: "货币",
leadid: "潜在顾客", leadid: "潜在顾客",
}, },
uiactions: { uiactions: {
...@@ -366,48 +383,6 @@ export default { ...@@ -366,48 +383,6 @@ export default {
uiactions: { uiactions: {
}, },
}, },
conleadgridviewtoolbar_toolbar: {
tbitem1_openquickcreateview: {
caption: "新建",
tip: "新建",
},
tbitem2: {
caption: "-",
tip: "",
},
tbitem4: {
caption: "编辑",
tip: "编辑",
},
tbitem6: {
caption: "拷贝",
tip: "拷贝",
},
tbitem7: {
caption: "-",
tip: "",
},
tbitem8: {
caption: "删除",
tip: "删除",
},
tbitem9: {
caption: "-",
tip: "",
},
tbitem13: {
caption: "导出",
tip: "导出",
},
tbitem10: {
caption: "-",
tip: "",
},
tbitem19: {
caption: "过滤",
tip: "过滤",
},
},
infotoolbar_toolbar: { infotoolbar_toolbar: {
deuiaction4: { deuiaction4: {
caption: "编辑", caption: "编辑",
...@@ -454,6 +429,48 @@ export default { ...@@ -454,6 +429,48 @@ export default {
tip: "关闭", tip: "关闭",
}, },
}, },
conleadgridviewtoolbar_toolbar: {
tbitem1_openquickcreateview: {
caption: "新建",
tip: "新建",
},
tbitem2: {
caption: "-",
tip: "",
},
tbitem4: {
caption: "编辑",
tip: "编辑",
},
tbitem6: {
caption: "拷贝",
tip: "拷贝",
},
tbitem7: {
caption: "-",
tip: "",
},
tbitem8: {
caption: "删除",
tip: "删除",
},
tbitem9: {
caption: "-",
tip: "",
},
tbitem13: {
caption: "导出",
tip: "导出",
},
tbitem10: {
caption: "-",
tip: "",
},
tbitem19: {
caption: "过滤",
tip: "过滤",
},
},
gridviewtoolbar_toolbar: { gridviewtoolbar_toolbar: {
tbitem1_openquickcreateview: { tbitem1_openquickcreateview: {
caption: "新建", caption: "新建",
......
...@@ -880,7 +880,7 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => { ...@@ -880,7 +880,7 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewtag": "78862ad65295f145e7520291f1183604" "viewtag": "78862ad65295f145e7520291f1183604"
}, },
"leadinfo_contact": { "leadinfo_contact": {
"title": "潜在顾客编辑视图", "title": "潜在顾客信息",
"caption": "潜在顾客", "caption": "潜在顾客",
"viewtype": "DEEDITVIEW", "viewtype": "DEEDITVIEW",
"viewmodule": "Sales", "viewmodule": "Sales",
......
...@@ -4,7 +4,7 @@ import LeadService from '@/service/lead/lead-service'; ...@@ -4,7 +4,7 @@ import LeadService from '@/service/lead/lead-service';
import EditViewEngine from '@engine/view/edit-view-engine'; import EditViewEngine from '@engine/view/edit-view-engine';
/** /**
* 潜在顾客编辑视图视图基类 * 潜在顾客信息视图基类
* *
* @export * @export
* @class LeadInfo_ContactBase * @class LeadInfo_ContactBase
......
<studio-view-style2 viewName="leadinfo_contact" viewTitle="潜在顾客编辑视图" class='deeditview lead-info-contact'> <studio-view-style2 viewName="leadinfo_contact" viewTitle="潜在顾客信息" class='deeditview lead-info-contact from-dashboard-style'>
<view_form <view_form
:viewState="viewState" :viewState="viewState"
:viewparams="viewparams" :viewparams="viewparams"
......
...@@ -6,7 +6,7 @@ import { LeadInfo_ContactBase } from './lead-info-contact-base'; ...@@ -6,7 +6,7 @@ import { LeadInfo_ContactBase } from './lead-info-contact-base';
import view_form from '@widgets/lead/contact-info-form/contact-info-form.vue'; import view_form from '@widgets/lead/contact-info-form/contact-info-form.vue';
/** /**
* 潜在顾客编辑视图视图 * 潜在顾客信息视图
* *
* @export * @export
* @class LeadInfo_Contact * @class LeadInfo_Contact
......
...@@ -63,12 +63,10 @@ export const PageComponents = { ...@@ -63,12 +63,10 @@ export const PageComponents = {
Vue.component('campaign-grid-view', () => import('@pages/marketing/campaign-grid-view/campaign-grid-view.vue')); Vue.component('campaign-grid-view', () => import('@pages/marketing/campaign-grid-view/campaign-grid-view.vue'));
Vue.component('list-lead-by-list', () => import('@pages/marketing/list-lead-by-list/list-lead-by-list.vue')); Vue.component('list-lead-by-list', () => import('@pages/marketing/list-lead-by-list/list-lead-by-list.vue'));
Vue.component('product-association-edit-view', () => import('@pages/product/product-association-edit-view/product-association-edit-view.vue')); Vue.component('product-association-edit-view', () => import('@pages/product/product-association-edit-view/product-association-edit-view.vue'));
Vue.component('lead-info-company', () => import('@pages/sales/lead-info-company/lead-info-company.vue'));
Vue.component('account-info-major-contact', () => import('@pages/base/account-info-major-contact/account-info-major-contact.vue')); Vue.component('account-info-major-contact', () => import('@pages/base/account-info-major-contact/account-info-major-contact.vue'));
Vue.component('sales-order-grid-view', () => import('@pages/sales/sales-order-grid-view/sales-order-grid-view.vue')); Vue.component('sales-order-grid-view', () => import('@pages/sales/sales-order-grid-view/sales-order-grid-view.vue'));
Vue.component('campaign-activity-edit-view', () => import('@pages/marketing/campaign-activity-edit-view/campaign-activity-edit-view.vue')); Vue.component('campaign-activity-edit-view', () => import('@pages/marketing/campaign-activity-edit-view/campaign-activity-edit-view.vue'));
Vue.component('contact-quick-create', () => import('@pages/base/contact-quick-create/contact-quick-create.vue')); Vue.component('contact-quick-create', () => import('@pages/base/contact-quick-create/contact-quick-create.vue'));
Vue.component('lead-info-market', () => import('@pages/sales/lead-info-market/lead-info-market.vue'));
Vue.component('competitor-info-abstract', () => import('@pages/sales/competitor-info-abstract/competitor-info-abstract.vue')); Vue.component('competitor-info-abstract', () => import('@pages/sales/competitor-info-abstract/competitor-info-abstract.vue'));
Vue.component('metric-pickup-view', () => import('@pages/base/metric-pickup-view/metric-pickup-view.vue')); Vue.component('metric-pickup-view', () => import('@pages/base/metric-pickup-view/metric-pickup-view.vue'));
Vue.component('metric-edit-view', () => import('@pages/base/metric-edit-view/metric-edit-view.vue')); Vue.component('metric-edit-view', () => import('@pages/base/metric-edit-view/metric-edit-view.vue'));
...@@ -146,7 +144,6 @@ export const PageComponents = { ...@@ -146,7 +144,6 @@ export const PageComponents = {
Vue.component('list-lead-quick-create-by-list', () => import('@pages/marketing/list-lead-quick-create-by-list/list-lead-quick-create-by-list.vue')); Vue.component('list-lead-quick-create-by-list', () => import('@pages/marketing/list-lead-quick-create-by-list/list-lead-quick-create-by-list.vue'));
Vue.component('goal-summary-view', () => import('@pages/sales/goal-summary-view/goal-summary-view.vue')); Vue.component('goal-summary-view', () => import('@pages/sales/goal-summary-view/goal-summary-view.vue'));
Vue.component('account-info', () => import('@pages/base/account-info/account-info.vue')); Vue.component('account-info', () => import('@pages/base/account-info/account-info.vue'));
Vue.component('lead-info-detail', () => import('@pages/sales/lead-info-detail/lead-info-detail.vue'));
Vue.component('sales-order-detail-soproduct-grid-view', () => import('@pages/sales/sales-order-detail-soproduct-grid-view/sales-order-detail-soproduct-grid-view.vue')); Vue.component('sales-order-detail-soproduct-grid-view', () => import('@pages/sales/sales-order-detail-soproduct-grid-view/sales-order-detail-soproduct-grid-view.vue'));
Vue.component('account-info-all', () => import('@pages/base/account-info-all/account-info-all.vue')); Vue.component('account-info-all', () => import('@pages/base/account-info-all/account-info-all.vue'));
Vue.component('opportunity-competitor-edit-view', () => import('@pages/sales/opportunity-competitor-edit-view/opportunity-competitor-edit-view.vue')); Vue.component('opportunity-competitor-edit-view', () => import('@pages/sales/opportunity-competitor-edit-view/opportunity-competitor-edit-view.vue'));
......
...@@ -650,15 +650,6 @@ export const viewstate: any = { ...@@ -650,15 +650,6 @@ export const viewstate: any = {
refviews: [ refviews: [
], ],
}, },
{
viewtag: '49e5e89fb51fa9929925b532841b2549',
viewmodule: 'Sales',
viewname: 'LeadInfo_Market',
viewaction: '',
viewdatachange: false,
refviews: [
],
},
{ {
viewtag: '4f45c8798db273fefeef7c02541fab6c', viewtag: '4f45c8798db273fefeef7c02541fab6c',
viewmodule: 'Sales', viewmodule: 'Sales',
...@@ -1391,15 +1382,6 @@ export const viewstate: any = { ...@@ -1391,15 +1382,6 @@ export const viewstate: any = {
refviews: [ refviews: [
], ],
}, },
{
viewtag: 'a53ca3c6c3f107b2d0c1a60e6ab3679e',
viewmodule: 'Sales',
viewname: 'LeadInfo_Company',
viewaction: '',
viewdatachange: false,
refviews: [
],
},
{ {
viewtag: 'a69ba7dd2f8bdac8a3c733dcc79c0ee5', viewtag: 'a69ba7dd2f8bdac8a3c733dcc79c0ee5',
viewmodule: 'Base', viewmodule: 'Base',
...@@ -1588,9 +1570,6 @@ export const viewstate: any = { ...@@ -1588,9 +1570,6 @@ export const viewstate: any = {
viewdatachange: false, viewdatachange: false,
refviews: [ refviews: [
'aa79d35850f36fbc1a5085353ecd5af5', 'aa79d35850f36fbc1a5085353ecd5af5',
'a53ca3c6c3f107b2d0c1a60e6ab3679e',
'c0f2529b17654edda5f85a28635e353c',
'49e5e89fb51fa9929925b532841b2549',
'795099de0273f3172b18315bc3dae5e1', '795099de0273f3172b18315bc3dae5e1',
'a95d7d9111bc13a8b73a11ee1e4ff92a', 'a95d7d9111bc13a8b73a11ee1e4ff92a',
'893e62d6fbdc4580de7e3e802aec9108', '893e62d6fbdc4580de7e3e802aec9108',
...@@ -1668,15 +1647,6 @@ export const viewstate: any = { ...@@ -1668,15 +1647,6 @@ export const viewstate: any = {
'2ac0427fe43e02ce2aade11aad712eb5', '2ac0427fe43e02ce2aade11aad712eb5',
], ],
}, },
{
viewtag: 'c0f2529b17654edda5f85a28635e353c',
viewmodule: 'Sales',
viewname: 'LeadInfo_Detail',
viewaction: '',
viewdatachange: false,
refviews: [
],
},
{ {
viewtag: 'c420212fae385872d6ae89e3d237350a', viewtag: 'c420212fae385872d6ae89e3d237350a',
viewmodule: 'Sales', viewmodule: 'Sales',
......
...@@ -142,6 +142,7 @@ export default class LeadUIServiceBase extends UIService { ...@@ -142,6 +142,7 @@ export default class LeadUIServiceBase extends UIService {
const parameters: any[] = [ const parameters: any[] = [
{ pathName: 'leads', parameterName: 'lead' }, { pathName: 'leads', parameterName: 'lead' },
]; ];
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) => {
...@@ -149,6 +150,12 @@ export default class LeadUIServiceBase extends UIService { ...@@ -149,6 +150,12 @@ export default class LeadUIServiceBase 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.Lead_OpenInfoVIew && this.Lead_OpenInfoVIew instanceof Function) {
this.Lead_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,6 +173,59 @@ export default class LeadUIServiceBase extends UIService { ...@@ -166,6 +173,59 @@ export default class LeadUIServiceBase extends UIService {
openDrawer(view, data); openDrawer(view, data);
} }
/**
* 打开主信息界面
*
* @param {any[]} args 当前数据
* @param {any} context 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @param {*} [srfParentDeName] 父实体名称
* @returns {Promise<any>}
*/
public async Lead_OpenInfoVIew(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, { lead: '%lead%' });
Object.assign(params, { leadid: '%lead%' });
Object.assign(params, { fullname: '%fullname%' });
if(_this.context){
parentContext = _this.context;
}
if(_this.viewparams){
parentViewParam = _this.viewparams;
}
context = UIActionTool.handleContextParam(actionTarget,_args,parentContext,parentViewParam,context);
data = UIActionTool.handleActionParam(actionTarget,_args,parentContext,parentViewParam,params);
context = Object.assign({},actionContext.context,context);
let parentObj:any = {srfparentdename:srfParentDeName?srfParentDeName:null,srfparentkey:srfParentDeName?context[srfParentDeName.toLowerCase()]:null};
Object.assign(data,parentObj);
Object.assign(context,parentObj);
let deResParameters: any[] = [];
if(context.campaign && true){
deResParameters = [
{ pathName: 'campaigns', parameterName: 'campaign' },
]
}
const parameters: any[] = [
{ pathName: 'leads', parameterName: 'lead' },
{ pathName: 'info', parameterName: 'info' },
];
const openIndexViewTab = (data: any) => {
const routePath = actionContext.$viewTool.buildUpRoutePath(actionContext.$route, context, deResParameters, parameters, _args, data);
actionContext.$router.push(routePath);
return null;
}
openIndexViewTab(data);
}
/** /**
* 授予资格 * 授予资格
* *
......
<div class='portlet view-con-abs ' :style="{}"> <div class='portlet view-con-abs ' :style="{}">
<p class='portlet-title'> <div class="portlet-without-title">
<span>
摘要信息
</span>
</p>
<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>
</div> </div>
</div> </div>
...@@ -61,6 +61,20 @@ export class ContactInfoEditFormBase extends EditFormControlBase { ...@@ -61,6 +61,20 @@ export class ContactInfoEditFormBase extends EditFormControlBase {
telephone1: null, telephone1: null,
mobilephone: null, mobilephone: null,
emailaddress1: null, emailaddress1: null,
companyname: null,
websiteurl: null,
address1_postalcode: null,
address1_country: null,
address1_stateorprovince: null,
address1_city: null,
address1_line1: null,
industrycode: null,
revenue: null,
numberofemployees: null,
transactioncurrencyname: null,
campaignname: null,
donotsendmm: null,
lastusedincampaign: null,
leadid: null, leadid: null,
lead:null, lead:null,
}; };
...@@ -81,7 +95,13 @@ export class ContactInfoEditFormBase extends EditFormControlBase { ...@@ -81,7 +95,13 @@ export class ContactInfoEditFormBase extends EditFormControlBase {
* @memberof ContactInfoEditFormBase * @memberof ContactInfoEditFormBase
*/ */
public detailsModel: any = { public detailsModel: any = {
group1: new FormGroupPanelModel({ caption: '潜在顾客基本信息', detailType: 'GROUPPANEL', name: 'group1', visible: true, isShowCaption: false, form: this, uiActionGroup: { caption: '', langbase: 'entities.lead.contactinfo_form', extractMode: 'ITEM', details: [] } }), group1: new FormGroupPanelModel({ caption: '潜在顾客基本信息', detailType: 'GROUPPANEL', name: 'group1', visible: true, isShowCaption: true, form: this, uiActionGroup: { caption: '', langbase: 'entities.lead.contactinfo_form', extractMode: 'ITEM', details: [] } }),
grouppanel1: new FormGroupPanelModel({ caption: '公司信息', detailType: 'GROUPPANEL', name: 'grouppanel1', visible: true, isShowCaption: true, form: this, uiActionGroup: { caption: '', langbase: 'entities.lead.contactinfo_form', extractMode: 'ITEM', details: [] } }),
grouppanel2: new FormGroupPanelModel({ caption: '详细信息', detailType: 'GROUPPANEL', name: 'grouppanel2', visible: true, isShowCaption: true, form: this, uiActionGroup: { caption: '', langbase: 'entities.lead.contactinfo_form', extractMode: 'ITEM', details: [] } }),
grouppanel3: new FormGroupPanelModel({ caption: '市场营销信息', detailType: 'GROUPPANEL', name: 'grouppanel3', visible: true, isShowCaption: true, form: this, uiActionGroup: { caption: '', langbase: 'entities.lead.contactinfo_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 }),
...@@ -113,6 +133,34 @@ export class ContactInfoEditFormBase extends EditFormControlBase { ...@@ -113,6 +133,34 @@ export class ContactInfoEditFormBase extends EditFormControlBase {
emailaddress1: new FormItemModel({ caption: '电子邮件', detailType: 'FORMITEM', name: 'emailaddress1', visible: true, isShowCaption: true, form: this, disabled: false, enableCond: 3 }), emailaddress1: new FormItemModel({ caption: '电子邮件', detailType: 'FORMITEM', name: 'emailaddress1', visible: true, isShowCaption: true, form: this, disabled: false, enableCond: 3 }),
companyname: new FormItemModel({ caption: '公司名称', detailType: 'FORMITEM', name: 'companyname', visible: true, isShowCaption: true, form: this, disabled: false, enableCond: 3 }),
websiteurl: new FormItemModel({ caption: '网站', detailType: 'FORMITEM', name: 'websiteurl', 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 }),
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 }),
industrycode: new FormItemModel({ caption: '行业', detailType: 'FORMITEM', name: 'industrycode', visible: true, isShowCaption: true, form: this, disabled: false, enableCond: 3 }),
revenue: new FormItemModel({ caption: '年收入', detailType: 'FORMITEM', name: 'revenue', visible: true, isShowCaption: true, form: this, disabled: false, enableCond: 3 }),
numberofemployees: new FormItemModel({ caption: '员工数', detailType: 'FORMITEM', name: 'numberofemployees', 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 }),
campaignname: new FormItemModel({ caption: '源市场活动', detailType: 'FORMITEM', name: 'campaignname', visible: true, isShowCaption: true, form: this, disabled: false, enableCond: 3 }),
donotsendmm: new FormItemModel({ caption: '市场营销资料', detailType: 'FORMITEM', name: 'donotsendmm', 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 }),
leadid: new FormItemModel({ caption: '潜在顾客', detailType: 'FORMITEM', name: 'leadid', visible: true, isShowCaption: true, form: this, disabled: false, enableCond: 1 }), leadid: new FormItemModel({ caption: '潜在顾客', detailType: 'FORMITEM', name: 'leadid', visible: true, isShowCaption: true, form: this, disabled: false, enableCond: 1 }),
}; };
......
...@@ -85,6 +85,76 @@ export default class ContactInfoModel { ...@@ -85,6 +85,76 @@ export default class ContactInfoModel {
prop: 'emailaddress1', prop: 'emailaddress1',
dataType: 'TEXT', dataType: 'TEXT',
}, },
{
name: 'companyname',
prop: 'companyname',
dataType: 'TEXT',
},
{
name: 'websiteurl',
prop: 'websiteurl',
dataType: 'TEXT',
},
{
name: 'address1_postalcode',
prop: 'address1_postalcode',
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: 'industrycode',
prop: 'industrycode',
dataType: 'SSCODELIST',
},
{
name: 'revenue',
prop: 'revenue',
dataType: 'BIGDECIMAL',
},
{
name: 'numberofemployees',
prop: 'numberofemployees',
dataType: 'INT',
},
{
name: 'transactioncurrencyname',
prop: 'transactioncurrencyname',
dataType: 'PICKUPTEXT',
},
{
name: 'campaignname',
prop: 'campaignname',
dataType: 'PICKUPTEXT',
},
{
name: 'donotsendmm',
prop: 'donotsendmm',
dataType: 'YESNO',
},
{
name: 'lastusedincampaign',
prop: 'lastusedincampaign',
dataType: 'DATETIME',
},
{ {
name: 'leadid', name: 'leadid',
prop: 'leadid', prop: 'leadid',
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
<i-col :md="{ span: 18, offset: 0 }" :lg="{ span: 18, offset: 0 }"> <i-col :md="{ span: 18, 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 dashboard-viewdashboard-container1 ' :style="{}"> <div class='portlet-container dashboard-viewdashboard-container1 portlet-container-no-border' :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">
...@@ -26,60 +26,6 @@ ...@@ -26,60 +26,6 @@
</card> </card>
</div> </div>
</i-col> </i-col>
<i-col :md="{ span: 24, offset: 0 }">
<div class="portlet-without-title">
<card class="portlet-card" :bordered="false" dis-hover :padding="0">
<span>
<view_dashboard_sysportlet3
:viewState="viewState"
:viewparams="viewparams"
:context="context"
:height="0"
:width="0"
name="dashboard_sysportlet3"
ref='dashboard_sysportlet3'
@closeview="closeView($event)">
</view_dashboard_sysportlet3>
</span>
</card>
</div>
</i-col>
<i-col :md="{ span: 24, offset: 0 }">
<div class="portlet-without-title">
<card class="portlet-card" :bordered="false" dis-hover :padding="0">
<span>
<view_dashboard_sysportlet4
:viewState="viewState"
:viewparams="viewparams"
:context="context"
:height="0"
:width="0"
name="dashboard_sysportlet4"
ref='dashboard_sysportlet4'
@closeview="closeView($event)">
</view_dashboard_sysportlet4>
</span>
</card>
</div>
</i-col>
<i-col :md="{ span: 24, offset: 0 }">
<div class="portlet-without-title">
<card class="portlet-card" :bordered="false" dis-hover :padding="0">
<span>
<view_dashboard_sysportlet5
:viewState="viewState"
:viewparams="viewparams"
:context="context"
:height="0"
:width="0"
name="dashboard_sysportlet5"
ref='dashboard_sysportlet5'
@closeview="closeView($event)">
</view_dashboard_sysportlet5>
</span>
</card>
</div>
</i-col>
</row> </row>
</div> </div>
</span> </span>
......
...@@ -3,10 +3,7 @@ ...@@ -3,10 +3,7 @@
import { Component } from 'vue-property-decorator'; import { Component } from 'vue-property-decorator';
import { VueLifeCycleProcessing } from '@/studio-core'; import { VueLifeCycleProcessing } from '@/studio-core';
import { LeadInfoDashboardBase } from './lead-info-dashboard-base'; import { LeadInfoDashboardBase } from './lead-info-dashboard-base';
import view_dashboard_sysportlet4 from '@widgets/lead/view-lead-detail-portlet/view-lead-detail-portlet.vue';
import view_dashboard_sysportlet5 from '@widgets/lead/view-lead-market-portlet/view-lead-market-portlet.vue';
import view_dashboard_sysportlet2 from '@widgets/activity-pointer/list-by-parent-key-portlet/list-by-parent-key-portlet.vue'; import view_dashboard_sysportlet2 from '@widgets/activity-pointer/list-by-parent-key-portlet/list-by-parent-key-portlet.vue';
import view_dashboard_sysportlet3 from '@widgets/lead/view-lead-com-portlet/view-lead-com-portlet.vue';
import view_dashboard_sysportlet1 from '@widgets/lead/view-lead-con-portlet/view-lead-con-portlet.vue'; import view_dashboard_sysportlet1 from '@widgets/lead/view-lead-con-portlet/view-lead-con-portlet.vue';
...@@ -19,10 +16,7 @@ import view_dashboard_sysportlet1 from '@widgets/lead/view-lead-con-portlet/view ...@@ -19,10 +16,7 @@ import view_dashboard_sysportlet1 from '@widgets/lead/view-lead-con-portlet/view
*/ */
@Component({ @Component({
components: { components: {
view_dashboard_sysportlet4,
view_dashboard_sysportlet5,
view_dashboard_sysportlet2, view_dashboard_sysportlet2,
view_dashboard_sysportlet3,
view_dashboard_sysportlet1, view_dashboard_sysportlet1,
} }
......
...@@ -3238,7 +3238,7 @@ ...@@ -3238,7 +3238,7 @@
<!--输出实体[CONTACT]数据结构 --> <!--输出实体[CONTACT]数据结构 -->
<changeSet author="a_LAB01_e85d8801c" id="tab-contact-254-44"> <changeSet author="a_LAB01_e85d8801c" id="tab-contact-255-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>
...@@ -6495,7 +6495,7 @@ ...@@ -6495,7 +6495,7 @@
<!--输出实体[LEAD]数据结构 --> <!--输出实体[LEAD]数据结构 -->
<changeSet author="a_LAB01_e85d8801c" id="tab-lead-113-75"> <changeSet author="a_LAB01_e85d8801c" id="tab-lead-121-75">
<createTable tableName="LEAD"> <createTable tableName="LEAD">
<column name="ADDRESS1_FAX" remarks="" type="VARCHAR(50)"> <column name="ADDRESS1_FAX" remarks="" type="VARCHAR(50)">
</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-254-218"> <changeSet author="a_LAB01_e85d8801c" id="fk-contact-255-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-254-219"> <changeSet author="a_LAB01_e85d8801c" id="fk-contact-255-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-254-220"> <changeSet author="a_LAB01_e85d8801c" id="fk-contact-255-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-254-221"> <changeSet author="a_LAB01_e85d8801c" id="fk-contact-255-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-254-222"> <changeSet author="a_LAB01_e85d8801c" id="fk-contact-255-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-254-223"> <changeSet author="a_LAB01_e85d8801c" id="fk-contact-255-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-254-224"> <changeSet author="a_LAB01_e85d8801c" id="fk-contact-255-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]外键关系 -->
...@@ -11415,28 +11415,28 @@ ...@@ -11415,28 +11415,28 @@
</changeSet> </changeSet>
<!--输出实体[METRIC]外键关系 --> <!--输出实体[METRIC]外键关系 -->
<!--输出实体[LEAD]外键关系 --> <!--输出实体[LEAD]外键关系 -->
<changeSet author="a_LAB01_e85d8801c" id="fk-lead-113-313"> <changeSet author="a_LAB01_e85d8801c" id="fk-lead-121-313">
<addForeignKeyConstraint baseColumnNames="PARENTACCOUNTID" baseTableName="LEAD" constraintName="DER1N_LEAD__ACCOUNT__PARENTACC" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="ACCOUNTID" referencedTableName="ACCOUNT" validate="true"/> <addForeignKeyConstraint baseColumnNames="PARENTACCOUNTID" baseTableName="LEAD" constraintName="DER1N_LEAD__ACCOUNT__PARENTACC" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="ACCOUNTID" referencedTableName="ACCOUNT" validate="true"/>
</changeSet> </changeSet>
<changeSet author="a_LAB01_e85d8801c" id="fk-lead-113-314"> <changeSet author="a_LAB01_e85d8801c" id="fk-lead-121-314">
<addForeignKeyConstraint baseColumnNames="RELATEDOBJECTID" baseTableName="LEAD" constraintName="DER1N_LEAD__CAMPAIGNRESPONSE__" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="ACTIVITYID" referencedTableName="CAMPAIGNRESPONSE" validate="true"/> <addForeignKeyConstraint baseColumnNames="RELATEDOBJECTID" baseTableName="LEAD" constraintName="DER1N_LEAD__CAMPAIGNRESPONSE__" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="ACTIVITYID" referencedTableName="CAMPAIGNRESPONSE" validate="true"/>
</changeSet> </changeSet>
<changeSet author="a_LAB01_e85d8801c" id="fk-lead-113-315"> <changeSet author="a_LAB01_e85d8801c" id="fk-lead-121-315">
<addForeignKeyConstraint baseColumnNames="CAMPAIGNID" baseTableName="LEAD" constraintName="DER1N_LEAD__CAMPAIGN__CAMPAIGN" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="CAMPAIGNID" referencedTableName="CAMPAIGN" validate="true"/> <addForeignKeyConstraint baseColumnNames="CAMPAIGNID" baseTableName="LEAD" constraintName="DER1N_LEAD__CAMPAIGN__CAMPAIGN" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="CAMPAIGNID" referencedTableName="CAMPAIGN" validate="true"/>
</changeSet> </changeSet>
<changeSet author="a_LAB01_e85d8801c" id="fk-lead-113-316"> <changeSet author="a_LAB01_e85d8801c" id="fk-lead-121-316">
<addForeignKeyConstraint baseColumnNames="PARENTCONTACTID" baseTableName="LEAD" constraintName="DER1N_LEAD__CONTACT__PARENTCON" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="CONTACTID" referencedTableName="CONTACT" validate="true"/> <addForeignKeyConstraint baseColumnNames="PARENTCONTACTID" baseTableName="LEAD" constraintName="DER1N_LEAD__CONTACT__PARENTCON" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="CONTACTID" referencedTableName="CONTACT" validate="true"/>
</changeSet> </changeSet>
<changeSet author="a_LAB01_e85d8801c" id="fk-lead-113-317"> <changeSet author="a_LAB01_e85d8801c" id="fk-lead-121-317">
<addForeignKeyConstraint baseColumnNames="ORIGINATINGCASEID" baseTableName="LEAD" constraintName="DER1N_LEAD__INCIDENT__ORIGINAT" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="INCIDENTID" referencedTableName="INCIDENT" validate="true"/> <addForeignKeyConstraint baseColumnNames="ORIGINATINGCASEID" baseTableName="LEAD" constraintName="DER1N_LEAD__INCIDENT__ORIGINAT" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="INCIDENTID" referencedTableName="INCIDENT" validate="true"/>
</changeSet> </changeSet>
<changeSet author="a_LAB01_e85d8801c" id="fk-lead-113-318"> <changeSet author="a_LAB01_e85d8801c" id="fk-lead-121-318">
<addForeignKeyConstraint baseColumnNames="QUALIFYINGOPPORTUNITYID" baseTableName="LEAD" constraintName="DER1N_LEAD__OPPORTUNITY__QUALI" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="OPPORTUNITYID" referencedTableName="OPPORTUNITY" validate="true"/> <addForeignKeyConstraint baseColumnNames="QUALIFYINGOPPORTUNITYID" baseTableName="LEAD" constraintName="DER1N_LEAD__OPPORTUNITY__QUALI" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="OPPORTUNITYID" referencedTableName="OPPORTUNITY" validate="true"/>
</changeSet> </changeSet>
<changeSet author="a_LAB01_e85d8801c" id="fk-lead-113-319"> <changeSet author="a_LAB01_e85d8801c" id="fk-lead-121-319">
<addForeignKeyConstraint baseColumnNames="SLAID" baseTableName="LEAD" constraintName="DER1N_LEAD__SLA__SLAID" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="SLAID" referencedTableName="SLA" validate="true"/> <addForeignKeyConstraint baseColumnNames="SLAID" baseTableName="LEAD" constraintName="DER1N_LEAD__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-lead-113-320"> <changeSet author="a_LAB01_e85d8801c" id="fk-lead-121-320">
<addForeignKeyConstraint baseColumnNames="TRANSACTIONCURRENCYID" baseTableName="LEAD" constraintName="DER1N_LEAD__TRANSACTIONCURRENC" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="TRANSACTIONCURRENCYID" referencedTableName="TRANSACTIONCURRENCY" validate="true"/> <addForeignKeyConstraint baseColumnNames="TRANSACTIONCURRENCYID" baseTableName="LEAD" constraintName="DER1N_LEAD__TRANSACTIONCURRENC" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="TRANSACTIONCURRENCYID" referencedTableName="TRANSACTIONCURRENCY" validate="true"/>
</changeSet> </changeSet>
<!--输出实体[TERRITORY]外键关系 --> <!--输出实体[TERRITORY]外键关系 -->
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册