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

xignzi006 发布系统代码

上级 2e6fcc7d
...@@ -364,9 +364,12 @@ export default { ...@@ -364,9 +364,12 @@ export default {
uiactions: { uiactions: {
}, },
}, },
quickcreate_form: { main_form: {
details: { details: {
group1: "客户基本信息", group1: "账户信息",
grouppanel3: "简介",
grouppanel1: "地址信息",
grouppanel2: "联系人首选项",
formpage1: "基本信息", formpage1: "基本信息",
srfupdatedate: "更新时间", srfupdatedate: "更新时间",
srforikey: "", srforikey: "",
...@@ -384,6 +387,27 @@ export default { ...@@ -384,6 +387,27 @@ export default {
tickersymbol: "股票代号", tickersymbol: "股票代号",
customertypecode: "关系类型", customertypecode: "关系类型",
defaultpricelevelname: "价目表", defaultpricelevelname: "价目表",
industrycode: "行业",
sic: "行业编码",
ownershipcode: "所有权",
description: "说明",
address1_addressid: "地址 1: ID",
address1_name: "地址 1: 名称",
address1_addresstypecode: "地址 1: 地址类型",
address1_country: "地址 1: 国家/地区",
address1_stateorprovince: "地址 1: 省/市/自治区",
address1_city: "地址 1: 市/县",
address1_county: "地址 1: 县",
address1_line1: "地址 1: 街道 1",
address1_fax: "地址 1: 传真",
address1_freighttermscode: "地址 1: 货运条款",
address1_postalcode: "地址 1: 邮政编码",
preferredcontactmethodcode: "首选联系方式",
donotemail: "不允许使用电子邮件",
donotbulkemail: "不允许使用批量电子邮件",
donotphone: "不允许电话联络",
donotfax: "不允许使用传真",
donotpostalmail: "不允许使用邮件",
defaultpricelevelid: "价目表", defaultpricelevelid: "价目表",
parentaccountid: "上级单位", parentaccountid: "上级单位",
accountid: "客户", accountid: "客户",
...@@ -391,12 +415,10 @@ export default { ...@@ -391,12 +415,10 @@ export default {
uiactions: { uiactions: {
}, },
}, },
main_form: { quickcreate_form: {
details: { details: {
group1: "account基本信息", group1: "客户基本信息",
formpage1: "基本信息", formpage1: "基本信息",
group2: "操作信息",
formpage2: "其它",
srfupdatedate: "更新时间", srfupdatedate: "更新时间",
srforikey: "", srforikey: "",
srfkey: "客户", srfkey: "客户",
...@@ -406,10 +428,15 @@ export default { ...@@ -406,10 +428,15 @@ export default {
srfdeid: "", srfdeid: "",
srfsourcekey: "", srfsourcekey: "",
accountname: "客户名称", accountname: "客户名称",
createman: "建立人", telephone1: "主要电话",
createdate: "建立时间", fax: "传真",
updateman: "更新人", websiteurl: "网站",
updatedate: "更新时间", parentaccountname: "上级单位",
tickersymbol: "股票代号",
customertypecode: "关系类型",
defaultpricelevelname: "价目表",
defaultpricelevelid: "价目表",
parentaccountid: "上级单位",
accountid: "客户", accountid: "客户",
}, },
uiactions: { uiactions: {
...@@ -433,6 +460,44 @@ export default { ...@@ -433,6 +460,44 @@ export default {
uiactions: { uiactions: {
}, },
}, },
editviewtoolbar_toolbar: {
tbitem3: {
caption: "Save",
tip: "Save",
},
tbitem4: {
caption: "Save And New",
tip: "Save And New",
},
tbitem5: {
caption: "Save And Close",
tip: "Save And Close Window",
},
tbitem6: {
caption: "-",
tip: "",
},
tbitem7: {
caption: "Remove And Close",
tip: "Remove And Close Window",
},
tbitem8: {
caption: "-",
tip: "",
},
tbitem12: {
caption: "New",
tip: "New",
},
tbitem13: {
caption: "-",
tip: "",
},
tbitem14: {
caption: "Copy",
tip: "Copy {0}",
},
},
gridviewtoolbar_toolbar: { gridviewtoolbar_toolbar: {
tbitem1_openquickcreateview: { tbitem1_openquickcreateview: {
caption: "新建", caption: "新建",
...@@ -475,42 +540,4 @@ export default { ...@@ -475,42 +540,4 @@ export default {
tip: "Filter", tip: "Filter",
}, },
}, },
editviewtoolbar_toolbar: {
tbitem3: {
caption: "Save",
tip: "Save",
},
tbitem4: {
caption: "Save And New",
tip: "Save And New",
},
tbitem5: {
caption: "Save And Close",
tip: "Save And Close Window",
},
tbitem6: {
caption: "-",
tip: "",
},
tbitem7: {
caption: "Remove And Close",
tip: "Remove And Close Window",
},
tbitem8: {
caption: "-",
tip: "",
},
tbitem12: {
caption: "New",
tip: "New",
},
tbitem13: {
caption: "-",
tip: "",
},
tbitem14: {
caption: "Copy",
tip: "Copy {0}",
},
},
}; };
\ No newline at end of file
...@@ -363,9 +363,12 @@ export default { ...@@ -363,9 +363,12 @@ export default {
uiactions: { uiactions: {
}, },
}, },
quickcreate_form: { main_form: {
details: { details: {
group1: '客户基本信息', group1: '账户信息',
grouppanel3: '简介',
grouppanel1: '地址信息',
grouppanel2: '联系人首选项',
formpage1: '基本信息', formpage1: '基本信息',
srfupdatedate: '更新时间', srfupdatedate: '更新时间',
srforikey: '', srforikey: '',
...@@ -383,6 +386,27 @@ export default { ...@@ -383,6 +386,27 @@ export default {
tickersymbol: '股票代号', tickersymbol: '股票代号',
customertypecode: '关系类型', customertypecode: '关系类型',
defaultpricelevelname: '价目表', defaultpricelevelname: '价目表',
industrycode: '行业',
sic: '行业编码',
ownershipcode: '所有权',
description: '说明',
address1_addressid: '地址 1: ID',
address1_name: '地址 1: 名称',
address1_addresstypecode: '地址 1: 地址类型',
address1_country: '地址 1: 国家/地区',
address1_stateorprovince: '地址 1: 省/市/自治区',
address1_city: '地址 1: 市/县',
address1_county: '地址 1: 县',
address1_line1: '地址 1: 街道 1',
address1_fax: '地址 1: 传真',
address1_freighttermscode: '地址 1: 货运条款',
address1_postalcode: '地址 1: 邮政编码',
preferredcontactmethodcode: '首选联系方式',
donotemail: '不允许使用电子邮件',
donotbulkemail: '不允许使用批量电子邮件',
donotphone: '不允许电话联络',
donotfax: '不允许使用传真',
donotpostalmail: '不允许使用邮件',
defaultpricelevelid: '价目表', defaultpricelevelid: '价目表',
parentaccountid: '上级单位', parentaccountid: '上级单位',
accountid: '客户', accountid: '客户',
...@@ -390,12 +414,10 @@ export default { ...@@ -390,12 +414,10 @@ export default {
uiactions: { uiactions: {
}, },
}, },
main_form: { quickcreate_form: {
details: { details: {
group1: 'account基本信息', group1: '客户基本信息',
formpage1: '基本信息', formpage1: '基本信息',
group2: '操作信息',
formpage2: '其它',
srfupdatedate: '更新时间', srfupdatedate: '更新时间',
srforikey: '', srforikey: '',
srfkey: '客户', srfkey: '客户',
...@@ -405,10 +427,15 @@ export default { ...@@ -405,10 +427,15 @@ export default {
srfdeid: '', srfdeid: '',
srfsourcekey: '', srfsourcekey: '',
accountname: '客户名称', accountname: '客户名称',
createman: '建立人', telephone1: '主要电话',
createdate: '建立时间', fax: '传真',
updateman: '更新人', websiteurl: '网站',
updatedate: '更新时间', parentaccountname: '上级单位',
tickersymbol: '股票代号',
customertypecode: '关系类型',
defaultpricelevelname: '价目表',
defaultpricelevelid: '价目表',
parentaccountid: '上级单位',
accountid: '客户', accountid: '客户',
}, },
uiactions: { uiactions: {
...@@ -432,6 +459,44 @@ export default { ...@@ -432,6 +459,44 @@ export default {
uiactions: { uiactions: {
}, },
}, },
editviewtoolbar_toolbar: {
tbitem3: {
caption: '保存',
tip: '保存',
},
tbitem4: {
caption: '保存并新建',
tip: '保存并新建',
},
tbitem5: {
caption: '保存并关闭',
tip: '保存并关闭',
},
tbitem6: {
caption: '-',
tip: '',
},
tbitem7: {
caption: '删除并关闭',
tip: '删除并关闭',
},
tbitem8: {
caption: '-',
tip: '',
},
tbitem12: {
caption: '新建',
tip: '新建',
},
tbitem13: {
caption: '-',
tip: '',
},
tbitem14: {
caption: '拷贝',
tip: '拷贝',
},
},
gridviewtoolbar_toolbar: { gridviewtoolbar_toolbar: {
tbitem1_openquickcreateview: { tbitem1_openquickcreateview: {
caption: '新建', caption: '新建',
...@@ -474,42 +539,4 @@ export default { ...@@ -474,42 +539,4 @@ export default {
tip: '过滤', tip: '过滤',
}, },
}, },
editviewtoolbar_toolbar: {
tbitem3: {
caption: '保存',
tip: '保存',
},
tbitem4: {
caption: '保存并新建',
tip: '保存并新建',
},
tbitem5: {
caption: '保存并关闭',
tip: '保存并关闭',
},
tbitem6: {
caption: '-',
tip: '',
},
tbitem7: {
caption: '删除并关闭',
tip: '删除并关闭',
},
tbitem8: {
caption: '-',
tip: '',
},
tbitem12: {
caption: '新建',
tip: '新建',
},
tbitem13: {
caption: '-',
tip: '',
},
tbitem14: {
caption: '拷贝',
tip: '拷贝',
},
},
}; };
\ No newline at end of file
export const PageComponents = { export const PageComponents = {
install(Vue: any, opt: any) { install(Vue: any, opt: any) {
Vue.component('account-option-view', () => import('@pages/base/account-option-view/account-option-view.vue')); Vue.component('account-option-view', () => import('@pages/base/account-option-view/account-option-view.vue'));
Vue.component('ibiz-list-grid-view', () => import('@pages/marketing/ibiz-list-grid-view/ibiz-list-grid-view.vue'));
Vue.component('appointment-quick-create', () => import('@pages/base/appointment-quick-create/appointment-quick-create.vue')); Vue.component('appointment-quick-create', () => import('@pages/base/appointment-quick-create/appointment-quick-create.vue'));
Vue.component('account-introduction', () => import('@pages/base/account-introduction/account-introduction.vue')); Vue.component('sales-literature-edit-view', () => import('@pages/sales/sales-literature-edit-view/sales-literature-edit-view.vue'));
Vue.component('campaign-response-edit-view', () => import('@pages/marketing/campaign-response-edit-view/campaign-response-edit-view.vue')); Vue.component('product-grid-view', () => import('@pages/product/product-grid-view/product-grid-view.vue'));
Vue.component('sales-order-edit-view', () => import('@pages/sales/sales-order-edit-view/sales-order-edit-view.vue')); Vue.component('sales-order-edit-view', () => import('@pages/sales/sales-order-edit-view/sales-order-edit-view.vue'));
Vue.component('campaign-response-edit-view', () => import('@pages/marketing/campaign-response-edit-view/campaign-response-edit-view.vue'));
Vue.component('account-edit-view', () => import('@pages/base/account-edit-view/account-edit-view.vue')); Vue.component('account-edit-view', () => import('@pages/base/account-edit-view/account-edit-view.vue'));
Vue.component('fax-edit-view', () => import('@pages/base/fax-edit-view/fax-edit-view.vue')); Vue.component('fax-edit-view', () => import('@pages/base/fax-edit-view/fax-edit-view.vue'));
Vue.component('incident-edit-view', () => import('@pages/service/incident-edit-view/incident-edit-view.vue')); Vue.component('incident-edit-view', () => import('@pages/service/incident-edit-view/incident-edit-view.vue'));
Vue.component('activity-pointer-edit-view', () => import('@pages/base/activity-pointer-edit-view/activity-pointer-edit-view.vue')); Vue.component('account-pickup-grid-view', () => import('@pages/base/account-pickup-grid-view/account-pickup-grid-view.vue'));
Vue.component('lead-grid-view', () => import('@pages/sales/lead-grid-view/lead-grid-view.vue')); Vue.component('lead-grid-view', () => import('@pages/sales/lead-grid-view/lead-grid-view.vue'));
Vue.component('activity-pointer-edit-view', () => import('@pages/base/activity-pointer-edit-view/activity-pointer-edit-view.vue'));
Vue.component('account-info', () => import('@pages/base/account-info/account-info.vue'));
Vue.component('sales-literature-grid-view', () => import('@pages/sales/sales-literature-grid-view/sales-literature-grid-view.vue')); Vue.component('sales-literature-grid-view', () => import('@pages/sales/sales-literature-grid-view/sales-literature-grid-view.vue'));
Vue.component('competitor-edit-view', () => import('@pages/sales/competitor-edit-view/competitor-edit-view.vue')); Vue.component('competitor-edit-view', () => import('@pages/sales/competitor-edit-view/competitor-edit-view.vue'));
Vue.component('centeral-portal', () => import('@pages/ungroup/centeral-portal/centeral-portal.vue')); Vue.component('centeral-portal', () => import('@pages/ungroup/centeral-portal/centeral-portal.vue'));
Vue.component('product-edit-view', () => import('@pages/product/product-edit-view/product-edit-view.vue')); Vue.component('product-edit-view', () => import('@pages/product/product-edit-view/product-edit-view.vue'));
Vue.component('quote-grid-view', () => import('@pages/sales/quote-grid-view/quote-grid-view.vue'));
Vue.component('task-quick-create', () => import('@pages/base/task-quick-create/task-quick-create.vue')); Vue.component('task-quick-create', () => import('@pages/base/task-quick-create/task-quick-create.vue'));
Vue.component('account-account-info', () => import('@pages/base/account-account-info/account-account-info.vue')); Vue.component('quote-grid-view', () => import('@pages/sales/quote-grid-view/quote-grid-view.vue'));
Vue.component('invoice-edit-view', () => import('@pages/finance/invoice-edit-view/invoice-edit-view.vue')); Vue.component('invoice-edit-view', () => import('@pages/finance/invoice-edit-view/invoice-edit-view.vue'));
Vue.component('account-summary', () => import('@pages/base/account-summary/account-summary.vue')); Vue.component('sales-order-grid-view', () => import('@pages/sales/sales-order-grid-view/sales-order-grid-view.vue'));
Vue.component('account-contact-setting', () => import('@pages/base/account-contact-setting/account-contact-setting.vue'));
Vue.component('opportunity-grid-view', () => import('@pages/sales/opportunity-grid-view/opportunity-grid-view.vue')); Vue.component('opportunity-grid-view', () => import('@pages/sales/opportunity-grid-view/opportunity-grid-view.vue'));
Vue.component('letter-edit-view', () => import('@pages/base/letter-edit-view/letter-edit-view.vue'));
Vue.component('goal-edit-view', () => import('@pages/sales/goal-edit-view/goal-edit-view.vue')); Vue.component('goal-edit-view', () => import('@pages/sales/goal-edit-view/goal-edit-view.vue'));
Vue.component('contact-option-view', () => import('@pages/base/contact-option-view/contact-option-view.vue'));
Vue.component('letter-edit-view', () => import('@pages/base/letter-edit-view/letter-edit-view.vue'));
Vue.component('activity-pointer-by-parent-key', () => import('@pages/base/activity-pointer-by-parent-key/activity-pointer-by-parent-key.vue'));
Vue.component('contact-edit-view', () => import('@pages/base/contact-edit-view/contact-edit-view.vue')); Vue.component('contact-edit-view', () => import('@pages/base/contact-edit-view/contact-edit-view.vue'));
Vue.component('account-address', () => import('@pages/base/account-address/account-address.vue')); Vue.component('lead-edit-view', () => import('@pages/sales/lead-edit-view/lead-edit-view.vue'));
Vue.component('phone-call-edit-view', () => import('@pages/base/phone-call-edit-view/phone-call-edit-view.vue'));
Vue.component('appointment-edit-view', () => import('@pages/base/appointment-edit-view/appointment-edit-view.vue')); Vue.component('appointment-edit-view', () => import('@pages/base/appointment-edit-view/appointment-edit-view.vue'));
Vue.component('task-edit-view', () => import('@pages/base/task-edit-view/task-edit-view.vue'));
Vue.component('email-edit-view', () => import('@pages/base/email-edit-view/email-edit-view.vue')); Vue.component('email-edit-view', () => import('@pages/base/email-edit-view/email-edit-view.vue'));
Vue.component('price-level-pickup-view', () => import('@pages/product/price-level-pickup-view/price-level-pickup-view.vue'));
Vue.component('goal-grid-view', () => import('@pages/sales/goal-grid-view/goal-grid-view.vue')); Vue.component('goal-grid-view', () => import('@pages/sales/goal-grid-view/goal-grid-view.vue'));
Vue.component('contact-grid-view', () => import('@pages/base/contact-grid-view/contact-grid-view.vue')); Vue.component('opportunity-edit-view', () => import('@pages/sales/opportunity-edit-view/opportunity-edit-view.vue'));
Vue.component('service-appointment-edit-view', () => import('@pages/service/service-appointment-edit-view/service-appointment-edit-view.vue')); Vue.component('service-appointment-edit-view', () => import('@pages/service/service-appointment-edit-view/service-appointment-edit-view.vue'));
Vue.component('contact-grid-view', () => import('@pages/base/contact-grid-view/contact-grid-view.vue'));
Vue.component('account-grid-view', () => import('@pages/base/account-grid-view/account-grid-view.vue')); Vue.component('account-grid-view', () => import('@pages/base/account-grid-view/account-grid-view.vue'));
Vue.component('activity-pointer-grid-view', () => import('@pages/base/activity-pointer-grid-view/activity-pointer-grid-view.vue')); Vue.component('activity-pointer-grid-view', () => import('@pages/base/activity-pointer-grid-view/activity-pointer-grid-view.vue'));
Vue.component('ibiz-list-edit-view', () => import('@pages/marketing/ibiz-list-edit-view/ibiz-list-edit-view.vue'));
Vue.component('invoice-grid-view', () => import('@pages/finance/invoice-grid-view/invoice-grid-view.vue')); Vue.component('invoice-grid-view', () => import('@pages/finance/invoice-grid-view/invoice-grid-view.vue'));
Vue.component('account-distribution', () => import('@pages/base/account-distribution/account-distribution.vue')); Vue.component('competitor-grid-view', () => import('@pages/sales/competitor-grid-view/competitor-grid-view.vue'));
Vue.component('account-pickup-view', () => import('@pages/base/account-pickup-view/account-pickup-view.vue')); Vue.component('account-pickup-view', () => import('@pages/base/account-pickup-view/account-pickup-view.vue'));
Vue.component('price-level-pickup-grid-view', () => import('@pages/product/price-level-pickup-grid-view/price-level-pickup-grid-view.vue')); Vue.component('price-level-pickup-grid-view', () => import('@pages/product/price-level-pickup-grid-view/price-level-pickup-grid-view.vue'));
Vue.component('ibiz-list-grid-view', () => import('@pages/marketing/ibiz-list-grid-view/ibiz-list-grid-view.vue'));
Vue.component('product-grid-view', () => import('@pages/product/product-grid-view/product-grid-view.vue'));
Vue.component('sales-literature-edit-view', () => import('@pages/sales/sales-literature-edit-view/sales-literature-edit-view.vue'));
Vue.component('account-pickup-grid-view', () => import('@pages/base/account-pickup-grid-view/account-pickup-grid-view.vue'));
Vue.component('account-info', () => import('@pages/base/account-info/account-info.vue'));
Vue.component('account-major-contact', () => import('@pages/base/account-major-contact/account-major-contact.vue'));
Vue.component('sales-order-grid-view', () => import('@pages/sales/sales-order-grid-view/sales-order-grid-view.vue'));
Vue.component('contact-option-view', () => import('@pages/base/contact-option-view/contact-option-view.vue'));
Vue.component('activity-pointer-by-parent-key', () => import('@pages/base/activity-pointer-by-parent-key/activity-pointer-by-parent-key.vue'));
Vue.component('lead-edit-view', () => import('@pages/sales/lead-edit-view/lead-edit-view.vue'));
Vue.component('phone-call-edit-view', () => import('@pages/base/phone-call-edit-view/phone-call-edit-view.vue'));
Vue.component('task-edit-view', () => import('@pages/base/task-edit-view/task-edit-view.vue'));
Vue.component('price-level-pickup-view', () => import('@pages/product/price-level-pickup-view/price-level-pickup-view.vue'));
Vue.component('opportunity-edit-view', () => import('@pages/sales/opportunity-edit-view/opportunity-edit-view.vue'));
Vue.component('competitor-grid-view', () => import('@pages/sales/competitor-grid-view/competitor-grid-view.vue'));
Vue.component('ibiz-list-edit-view', () => import('@pages/marketing/ibiz-list-edit-view/ibiz-list-edit-view.vue'));
Vue.component('quote-edit-view', () => import('@pages/sales/quote-edit-view/quote-edit-view.vue')); Vue.component('quote-edit-view', () => import('@pages/sales/quote-edit-view/quote-edit-view.vue'));
Vue.component('incident-grid-view', () => import('@pages/service/incident-grid-view/incident-grid-view.vue')); Vue.component('incident-grid-view', () => import('@pages/service/incident-grid-view/incident-grid-view.vue'));
} }
......
...@@ -49,6 +49,20 @@ const router = new Router({ ...@@ -49,6 +49,20 @@ const router = new Router({
}, },
component: () => import('@pages/base/account-option-view/account-option-view.vue'), component: () => import('@pages/base/account-option-view/account-option-view.vue'),
}, },
{
path: 'ibizlists/:ibizlist?/gridview/:gridview?',
meta: {
caption: 'entities.ibizlist.views.gridview.title',
info:'',
parameters: [
{ pathName: 'central', parameterName: 'central' },
{ pathName: 'ibizlists', parameterName: 'ibizlist' },
{ pathName: 'gridview', parameterName: 'gridview' },
],
requireAuth: true,
},
component: () => import('@pages/marketing/ibiz-list-grid-view/ibiz-list-grid-view.vue'),
},
{ {
path: 'appointments/:appointment?/quickcreate/:quickcreate?', path: 'appointments/:appointment?/quickcreate/:quickcreate?',
meta: { meta: {
...@@ -64,32 +78,32 @@ const router = new Router({ ...@@ -64,32 +78,32 @@ const router = new Router({
component: () => import('@pages/base/appointment-quick-create/appointment-quick-create.vue'), component: () => import('@pages/base/appointment-quick-create/appointment-quick-create.vue'),
}, },
{ {
path: 'accounts/:account?/introduction/:introduction?', path: 'salesliteratures/:salesliterature?/editview/:editview?',
meta: { meta: {
caption: 'entities.account.views.introduction.title', caption: 'entities.salesliterature.views.editview.title',
info:'', info:'',
parameters: [ parameters: [
{ pathName: 'central', parameterName: 'central' }, { pathName: 'central', parameterName: 'central' },
{ pathName: 'accounts', parameterName: 'account' }, { pathName: 'salesliteratures', parameterName: 'salesliterature' },
{ pathName: 'introduction', parameterName: 'introduction' }, { pathName: 'editview', parameterName: 'editview' },
], ],
requireAuth: true, requireAuth: true,
}, },
component: () => import('@pages/base/account-introduction/account-introduction.vue'), component: () => import('@pages/sales/sales-literature-edit-view/sales-literature-edit-view.vue'),
}, },
{ {
path: 'campaignresponses/:campaignresponse?/editview/:editview?', path: 'products/:product?/gridview/:gridview?',
meta: { meta: {
caption: 'entities.campaignresponse.views.editview.title', caption: 'entities.product.views.gridview.title',
info:'', info:'',
parameters: [ parameters: [
{ pathName: 'central', parameterName: 'central' }, { pathName: 'central', parameterName: 'central' },
{ pathName: 'campaignresponses', parameterName: 'campaignresponse' }, { pathName: 'products', parameterName: 'product' },
{ pathName: 'editview', parameterName: 'editview' }, { pathName: 'gridview', parameterName: 'gridview' },
], ],
requireAuth: true, requireAuth: true,
}, },
component: () => import('@pages/marketing/campaign-response-edit-view/campaign-response-edit-view.vue'), component: () => import('@pages/product/product-grid-view/product-grid-view.vue'),
}, },
{ {
path: 'salesorders/:salesorder?/editview/:editview?', path: 'salesorders/:salesorder?/editview/:editview?',
...@@ -105,6 +119,20 @@ const router = new Router({ ...@@ -105,6 +119,20 @@ const router = new Router({
}, },
component: () => import('@pages/sales/sales-order-edit-view/sales-order-edit-view.vue'), component: () => import('@pages/sales/sales-order-edit-view/sales-order-edit-view.vue'),
}, },
{
path: 'campaignresponses/:campaignresponse?/editview/:editview?',
meta: {
caption: 'entities.campaignresponse.views.editview.title',
info:'',
parameters: [
{ pathName: 'central', parameterName: 'central' },
{ pathName: 'campaignresponses', parameterName: 'campaignresponse' },
{ pathName: 'editview', parameterName: 'editview' },
],
requireAuth: true,
},
component: () => import('@pages/marketing/campaign-response-edit-view/campaign-response-edit-view.vue'),
},
{ {
path: 'accounts/:account?/editview/:editview?', path: 'accounts/:account?/editview/:editview?',
meta: { meta: {
...@@ -148,18 +176,18 @@ const router = new Router({ ...@@ -148,18 +176,18 @@ const router = new Router({
component: () => import('@pages/service/incident-edit-view/incident-edit-view.vue'), component: () => import('@pages/service/incident-edit-view/incident-edit-view.vue'),
}, },
{ {
path: 'activitypointers/:activitypointer?/editview/:editview?', path: 'accounts/:account?/pickupgridview/:pickupgridview?',
meta: { meta: {
caption: 'entities.activitypointer.views.editview.title', caption: 'entities.account.views.pickupgridview.title',
info:'', info:'',
parameters: [ parameters: [
{ pathName: 'central', parameterName: 'central' }, { pathName: 'central', parameterName: 'central' },
{ pathName: 'activitypointers', parameterName: 'activitypointer' }, { pathName: 'accounts', parameterName: 'account' },
{ pathName: 'editview', parameterName: 'editview' }, { pathName: 'pickupgridview', parameterName: 'pickupgridview' },
], ],
requireAuth: true, requireAuth: true,
}, },
component: () => import('@pages/base/activity-pointer-edit-view/activity-pointer-edit-view.vue'), component: () => import('@pages/base/account-pickup-grid-view/account-pickup-grid-view.vue'),
}, },
{ {
path: 'leads/:lead?/gridview/:gridview?', path: 'leads/:lead?/gridview/:gridview?',
...@@ -175,6 +203,34 @@ const router = new Router({ ...@@ -175,6 +203,34 @@ const router = new Router({
}, },
component: () => import('@pages/sales/lead-grid-view/lead-grid-view.vue'), component: () => import('@pages/sales/lead-grid-view/lead-grid-view.vue'),
}, },
{
path: 'activitypointers/:activitypointer?/editview/:editview?',
meta: {
caption: 'entities.activitypointer.views.editview.title',
info:'',
parameters: [
{ pathName: 'central', parameterName: 'central' },
{ pathName: 'activitypointers', parameterName: 'activitypointer' },
{ pathName: 'editview', parameterName: 'editview' },
],
requireAuth: true,
},
component: () => import('@pages/base/activity-pointer-edit-view/activity-pointer-edit-view.vue'),
},
{
path: 'accounts/:account?/info/:info?',
meta: {
caption: 'entities.account.views.info.title',
info:'',
parameters: [
{ pathName: 'central', parameterName: 'central' },
{ pathName: 'accounts', parameterName: 'account' },
{ pathName: 'info', parameterName: 'info' },
],
requireAuth: true,
},
component: () => import('@pages/base/account-info/account-info.vue'),
},
{ {
path: 'salesliteratures/:salesliterature?/gridview/:gridview?', path: 'salesliteratures/:salesliterature?/gridview/:gridview?',
meta: { meta: {
...@@ -230,20 +286,6 @@ const router = new Router({ ...@@ -230,20 +286,6 @@ const router = new Router({
}, },
component: () => import('@pages/product/product-edit-view/product-edit-view.vue'), component: () => import('@pages/product/product-edit-view/product-edit-view.vue'),
}, },
{
path: 'quotes/:quote?/gridview/:gridview?',
meta: {
caption: 'entities.quote.views.gridview.title',
info:'',
parameters: [
{ pathName: 'central', parameterName: 'central' },
{ pathName: 'quotes', parameterName: 'quote' },
{ pathName: 'gridview', parameterName: 'gridview' },
],
requireAuth: true,
},
component: () => import('@pages/sales/quote-grid-view/quote-grid-view.vue'),
},
{ {
path: 'tasks/:task?/quickcreate/:quickcreate?', path: 'tasks/:task?/quickcreate/:quickcreate?',
meta: { meta: {
...@@ -259,18 +301,18 @@ const router = new Router({ ...@@ -259,18 +301,18 @@ const router = new Router({
component: () => import('@pages/base/task-quick-create/task-quick-create.vue'), component: () => import('@pages/base/task-quick-create/task-quick-create.vue'),
}, },
{ {
path: 'accounts/:account?/accountinfo/:accountinfo?', path: 'quotes/:quote?/gridview/:gridview?',
meta: { meta: {
caption: 'entities.account.views.accountinfo.title', caption: 'entities.quote.views.gridview.title',
info:'', info:'',
parameters: [ parameters: [
{ pathName: 'central', parameterName: 'central' }, { pathName: 'central', parameterName: 'central' },
{ pathName: 'accounts', parameterName: 'account' }, { pathName: 'quotes', parameterName: 'quote' },
{ pathName: 'accountinfo', parameterName: 'accountinfo' }, { pathName: 'gridview', parameterName: 'gridview' },
], ],
requireAuth: true, requireAuth: true,
}, },
component: () => import('@pages/base/account-account-info/account-account-info.vue'), component: () => import('@pages/sales/quote-grid-view/quote-grid-view.vue'),
}, },
{ {
path: 'invoices/:invoice?/editview/:editview?', path: 'invoices/:invoice?/editview/:editview?',
...@@ -287,32 +329,18 @@ const router = new Router({ ...@@ -287,32 +329,18 @@ const router = new Router({
component: () => import('@pages/finance/invoice-edit-view/invoice-edit-view.vue'), component: () => import('@pages/finance/invoice-edit-view/invoice-edit-view.vue'),
}, },
{ {
path: 'accounts/:account?/summary/:summary?', path: 'salesorders/:salesorder?/gridview/:gridview?',
meta: {
caption: 'entities.account.views.summary.title',
info:'',
parameters: [
{ pathName: 'central', parameterName: 'central' },
{ pathName: 'accounts', parameterName: 'account' },
{ pathName: 'summary', parameterName: 'summary' },
],
requireAuth: true,
},
component: () => import('@pages/base/account-summary/account-summary.vue'),
},
{
path: 'accounts/:account?/contactsetting/:contactsetting?',
meta: { meta: {
caption: 'entities.account.views.contactsetting.title', caption: 'entities.salesorder.views.gridview.title',
info:'', info:'',
parameters: [ parameters: [
{ pathName: 'central', parameterName: 'central' }, { pathName: 'central', parameterName: 'central' },
{ pathName: 'accounts', parameterName: 'account' }, { pathName: 'salesorders', parameterName: 'salesorder' },
{ pathName: 'contactsetting', parameterName: 'contactsetting' }, { pathName: 'gridview', parameterName: 'gridview' },
], ],
requireAuth: true, requireAuth: true,
}, },
component: () => import('@pages/base/account-contact-setting/account-contact-setting.vue'), component: () => import('@pages/sales/sales-order-grid-view/sales-order-grid-view.vue'),
}, },
{ {
path: 'opportunities/:opportunity?/gridview/:gridview?', path: 'opportunities/:opportunity?/gridview/:gridview?',
...@@ -328,20 +356,6 @@ const router = new Router({ ...@@ -328,20 +356,6 @@ const router = new Router({
}, },
component: () => import('@pages/sales/opportunity-grid-view/opportunity-grid-view.vue'), component: () => import('@pages/sales/opportunity-grid-view/opportunity-grid-view.vue'),
}, },
{
path: 'letters/:letter?/editview/:editview?',
meta: {
caption: 'entities.letter.views.editview.title',
info:'',
parameters: [
{ pathName: 'central', parameterName: 'central' },
{ pathName: 'letters', parameterName: 'letter' },
{ pathName: 'editview', parameterName: 'editview' },
],
requireAuth: true,
},
component: () => import('@pages/base/letter-edit-view/letter-edit-view.vue'),
},
{ {
path: 'goals/:goal?/editview/:editview?', path: 'goals/:goal?/editview/:editview?',
meta: { meta: {
...@@ -357,410 +371,298 @@ const router = new Router({ ...@@ -357,410 +371,298 @@ const router = new Router({
component: () => import('@pages/sales/goal-edit-view/goal-edit-view.vue'), component: () => import('@pages/sales/goal-edit-view/goal-edit-view.vue'),
}, },
{ {
path: 'contacts/:contact?/editview/:editview?', path: 'contacts/:contact?/optionview/:optionview?',
meta: { meta: {
caption: 'entities.contact.views.editview.title', caption: 'entities.contact.views.optionview.title',
info:'', info:'',
parameters: [ parameters: [
{ pathName: 'central', parameterName: 'central' }, { pathName: 'central', parameterName: 'central' },
{ pathName: 'contacts', parameterName: 'contact' }, { pathName: 'contacts', parameterName: 'contact' },
{ pathName: 'editview', parameterName: 'editview' }, { pathName: 'optionview', parameterName: 'optionview' },
],
requireAuth: true,
},
component: () => import('@pages/base/contact-edit-view/contact-edit-view.vue'),
},
{
path: 'accounts/:account?/address/:address?',
meta: {
caption: 'entities.account.views.address.title',
info:'',
parameters: [
{ pathName: 'central', parameterName: 'central' },
{ pathName: 'accounts', parameterName: 'account' },
{ pathName: 'address', parameterName: 'address' },
],
requireAuth: true,
},
component: () => import('@pages/base/account-address/account-address.vue'),
},
{
path: 'appointments/:appointment?/editview/:editview?',
meta: {
caption: 'entities.appointment.views.editview.title',
info:'',
parameters: [
{ pathName: 'central', parameterName: 'central' },
{ pathName: 'appointments', parameterName: 'appointment' },
{ pathName: 'editview', parameterName: 'editview' },
], ],
requireAuth: true, requireAuth: true,
}, },
component: () => import('@pages/base/appointment-edit-view/appointment-edit-view.vue'), component: () => import('@pages/base/contact-option-view/contact-option-view.vue'),
}, },
{ {
path: 'emails/:email?/editview/:editview?', path: 'letters/:letter?/editview/:editview?',
meta: { meta: {
caption: 'entities.email.views.editview.title', caption: 'entities.letter.views.editview.title',
info:'', info:'',
parameters: [ parameters: [
{ pathName: 'central', parameterName: 'central' }, { pathName: 'central', parameterName: 'central' },
{ pathName: 'emails', parameterName: 'email' }, { pathName: 'letters', parameterName: 'letter' },
{ pathName: 'editview', parameterName: 'editview' }, { pathName: 'editview', parameterName: 'editview' },
], ],
requireAuth: true, requireAuth: true,
}, },
component: () => import('@pages/base/email-edit-view/email-edit-view.vue'), component: () => import('@pages/base/letter-edit-view/letter-edit-view.vue'),
}, },
{ {
path: 'goals/:goal?/gridview/:gridview?', path: 'activitypointers/:activitypointer?/byparentkey/:byparentkey?',
meta: { meta: {
caption: 'entities.goal.views.gridview.title', caption: 'entities.activitypointer.views.byparentkey.title',
info:'', info:'',
parameters: [ parameters: [
{ pathName: 'central', parameterName: 'central' }, { pathName: 'central', parameterName: 'central' },
{ pathName: 'goals', parameterName: 'goal' }, { pathName: 'activitypointers', parameterName: 'activitypointer' },
{ pathName: 'gridview', parameterName: 'gridview' }, { pathName: 'byparentkey', parameterName: 'byparentkey' },
], ],
requireAuth: true, requireAuth: true,
}, },
component: () => import('@pages/sales/goal-grid-view/goal-grid-view.vue'), component: () => import('@pages/base/activity-pointer-by-parent-key/activity-pointer-by-parent-key.vue'),
}, },
{ {
path: 'contacts/:contact?/gridview/:gridview?', path: 'contacts/:contact?/editview/:editview?',
meta: { meta: {
caption: 'entities.contact.views.gridview.title', caption: 'entities.contact.views.editview.title',
info:'', info:'',
parameters: [ parameters: [
{ pathName: 'central', parameterName: 'central' }, { pathName: 'central', parameterName: 'central' },
{ pathName: 'contacts', parameterName: 'contact' }, { pathName: 'contacts', parameterName: 'contact' },
{ pathName: 'gridview', parameterName: 'gridview' },
],
requireAuth: true,
},
component: () => import('@pages/base/contact-grid-view/contact-grid-view.vue'),
},
{
path: 'serviceappointments/:serviceappointment?/editview/:editview?',
meta: {
caption: 'entities.serviceappointment.views.editview.title',
info:'',
parameters: [
{ pathName: 'central', parameterName: 'central' },
{ pathName: 'serviceappointments', parameterName: 'serviceappointment' },
{ pathName: 'editview', parameterName: 'editview' }, { pathName: 'editview', parameterName: 'editview' },
], ],
requireAuth: true, requireAuth: true,
}, },
component: () => import('@pages/service/service-appointment-edit-view/service-appointment-edit-view.vue'), component: () => import('@pages/base/contact-edit-view/contact-edit-view.vue'),
}, },
{ {
path: 'accounts/:account?/gridview/:gridview?', path: 'leads/:lead?/editview/:editview?',
meta: { meta: {
caption: 'entities.account.views.gridview.title', caption: 'entities.lead.views.editview.title',
info:'', info:'',
parameters: [ parameters: [
{ pathName: 'central', parameterName: 'central' }, { pathName: 'central', parameterName: 'central' },
{ pathName: 'accounts', parameterName: 'account' }, { pathName: 'leads', parameterName: 'lead' },
{ pathName: 'gridview', parameterName: 'gridview' }, { pathName: 'editview', parameterName: 'editview' },
], ],
requireAuth: true, requireAuth: true,
}, },
component: () => import('@pages/base/account-grid-view/account-grid-view.vue'), component: () => import('@pages/sales/lead-edit-view/lead-edit-view.vue'),
}, },
{ {
path: 'activitypointers/:activitypointer?/gridview/:gridview?', path: 'phonecalls/:phonecall?/editview/:editview?',
meta: { meta: {
caption: 'entities.activitypointer.views.gridview.title', caption: 'entities.phonecall.views.editview.title',
info:'', info:'',
parameters: [ parameters: [
{ pathName: 'central', parameterName: 'central' }, { pathName: 'central', parameterName: 'central' },
{ pathName: 'activitypointers', parameterName: 'activitypointer' }, { pathName: 'phonecalls', parameterName: 'phonecall' },
{ pathName: 'gridview', parameterName: 'gridview' }, { pathName: 'editview', parameterName: 'editview' },
], ],
requireAuth: true, requireAuth: true,
}, },
component: () => import('@pages/base/activity-pointer-grid-view/activity-pointer-grid-view.vue'), component: () => import('@pages/base/phone-call-edit-view/phone-call-edit-view.vue'),
}, },
{ {
path: 'invoices/:invoice?/gridview/:gridview?', path: 'appointments/:appointment?/editview/:editview?',
meta: { meta: {
caption: 'entities.invoice.views.gridview.title', caption: 'entities.appointment.views.editview.title',
info:'', info:'',
parameters: [ parameters: [
{ pathName: 'central', parameterName: 'central' }, { pathName: 'central', parameterName: 'central' },
{ pathName: 'invoices', parameterName: 'invoice' }, { pathName: 'appointments', parameterName: 'appointment' },
{ pathName: 'gridview', parameterName: 'gridview' }, { pathName: 'editview', parameterName: 'editview' },
], ],
requireAuth: true, requireAuth: true,
}, },
component: () => import('@pages/finance/invoice-grid-view/invoice-grid-view.vue'), component: () => import('@pages/base/appointment-edit-view/appointment-edit-view.vue'),
}, },
{ {
path: 'accounts/:account?/distribution/:distribution?', path: 'tasks/:task?/editview/:editview?',
meta: { meta: {
caption: 'entities.account.views.distribution.title', caption: 'entities.task.views.editview.title',
info:'', info:'',
parameters: [ parameters: [
{ pathName: 'central', parameterName: 'central' }, { pathName: 'central', parameterName: 'central' },
{ pathName: 'accounts', parameterName: 'account' }, { pathName: 'tasks', parameterName: 'task' },
{ pathName: 'distribution', parameterName: 'distribution' }, { pathName: 'editview', parameterName: 'editview' },
], ],
requireAuth: true, requireAuth: true,
}, },
component: () => import('@pages/base/account-distribution/account-distribution.vue'), component: () => import('@pages/base/task-edit-view/task-edit-view.vue'),
}, },
{ {
path: 'accounts/:account?/pickupview/:pickupview?', path: 'emails/:email?/editview/:editview?',
meta: { meta: {
caption: 'entities.account.views.pickupview.title', caption: 'entities.email.views.editview.title',
info:'', info:'',
parameters: [ parameters: [
{ pathName: 'central', parameterName: 'central' }, { pathName: 'central', parameterName: 'central' },
{ pathName: 'accounts', parameterName: 'account' }, { pathName: 'emails', parameterName: 'email' },
{ pathName: 'pickupview', parameterName: 'pickupview' }, { pathName: 'editview', parameterName: 'editview' },
], ],
requireAuth: true, requireAuth: true,
}, },
component: () => import('@pages/base/account-pickup-view/account-pickup-view.vue'), component: () => import('@pages/base/email-edit-view/email-edit-view.vue'),
}, },
{ {
path: 'pricelevels/:pricelevel?/pickupgridview/:pickupgridview?', path: 'pricelevels/:pricelevel?/pickupview/:pickupview?',
meta: { meta: {
caption: 'entities.pricelevel.views.pickupgridview.title', caption: 'entities.pricelevel.views.pickupview.title',
info:'', info:'',
parameters: [ parameters: [
{ pathName: 'central', parameterName: 'central' }, { pathName: 'central', parameterName: 'central' },
{ pathName: 'pricelevels', parameterName: 'pricelevel' }, { pathName: 'pricelevels', parameterName: 'pricelevel' },
{ pathName: 'pickupgridview', parameterName: 'pickupgridview' }, { pathName: 'pickupview', parameterName: 'pickupview' },
],
requireAuth: true,
},
component: () => import('@pages/product/price-level-pickup-grid-view/price-level-pickup-grid-view.vue'),
},
{
path: 'ibizlists/:ibizlist?/gridview/:gridview?',
meta: {
caption: 'entities.ibizlist.views.gridview.title',
info:'',
parameters: [
{ pathName: 'central', parameterName: 'central' },
{ pathName: 'ibizlists', parameterName: 'ibizlist' },
{ pathName: 'gridview', parameterName: 'gridview' },
], ],
requireAuth: true, requireAuth: true,
}, },
component: () => import('@pages/marketing/ibiz-list-grid-view/ibiz-list-grid-view.vue'), component: () => import('@pages/product/price-level-pickup-view/price-level-pickup-view.vue'),
}, },
{ {
path: 'products/:product?/gridview/:gridview?', path: 'goals/:goal?/gridview/:gridview?',
meta: { meta: {
caption: 'entities.product.views.gridview.title', caption: 'entities.goal.views.gridview.title',
info:'', info:'',
parameters: [ parameters: [
{ pathName: 'central', parameterName: 'central' }, { pathName: 'central', parameterName: 'central' },
{ pathName: 'products', parameterName: 'product' }, { pathName: 'goals', parameterName: 'goal' },
{ pathName: 'gridview', parameterName: 'gridview' }, { pathName: 'gridview', parameterName: 'gridview' },
], ],
requireAuth: true, requireAuth: true,
}, },
component: () => import('@pages/product/product-grid-view/product-grid-view.vue'), component: () => import('@pages/sales/goal-grid-view/goal-grid-view.vue'),
}, },
{ {
path: 'salesliteratures/:salesliterature?/editview/:editview?', path: 'opportunities/:opportunity?/editview/:editview?',
meta: { meta: {
caption: 'entities.salesliterature.views.editview.title', caption: 'entities.opportunity.views.editview.title',
info:'', info:'',
parameters: [ parameters: [
{ pathName: 'central', parameterName: 'central' }, { pathName: 'central', parameterName: 'central' },
{ pathName: 'salesliteratures', parameterName: 'salesliterature' }, { pathName: 'opportunities', parameterName: 'opportunity' },
{ pathName: 'editview', parameterName: 'editview' }, { pathName: 'editview', parameterName: 'editview' },
], ],
requireAuth: true, requireAuth: true,
}, },
component: () => import('@pages/sales/sales-literature-edit-view/sales-literature-edit-view.vue'), component: () => import('@pages/sales/opportunity-edit-view/opportunity-edit-view.vue'),
}, },
{ {
path: 'accounts/:account?/pickupgridview/:pickupgridview?', path: 'serviceappointments/:serviceappointment?/editview/:editview?',
meta: { meta: {
caption: 'entities.account.views.pickupgridview.title', caption: 'entities.serviceappointment.views.editview.title',
info:'', info:'',
parameters: [ parameters: [
{ pathName: 'central', parameterName: 'central' }, { pathName: 'central', parameterName: 'central' },
{ pathName: 'accounts', parameterName: 'account' }, { pathName: 'serviceappointments', parameterName: 'serviceappointment' },
{ pathName: 'pickupgridview', parameterName: 'pickupgridview' }, { pathName: 'editview', parameterName: 'editview' },
], ],
requireAuth: true, requireAuth: true,
}, },
component: () => import('@pages/base/account-pickup-grid-view/account-pickup-grid-view.vue'), component: () => import('@pages/service/service-appointment-edit-view/service-appointment-edit-view.vue'),
}, },
{ {
path: 'accounts/:account?/info/:info?', path: 'contacts/:contact?/gridview/:gridview?',
meta: { meta: {
caption: 'entities.account.views.info.title', caption: 'entities.contact.views.gridview.title',
info:'', info:'',
parameters: [ parameters: [
{ pathName: 'central', parameterName: 'central' }, { pathName: 'central', parameterName: 'central' },
{ pathName: 'accounts', parameterName: 'account' }, { pathName: 'contacts', parameterName: 'contact' },
{ pathName: 'info', parameterName: 'info' }, { pathName: 'gridview', parameterName: 'gridview' },
], ],
requireAuth: true, requireAuth: true,
}, },
component: () => import('@pages/base/account-info/account-info.vue'), component: () => import('@pages/base/contact-grid-view/contact-grid-view.vue'),
}, },
{ {
path: 'accounts/:account?/majorcontact/:majorcontact?', path: 'accounts/:account?/gridview/:gridview?',
meta: { meta: {
caption: 'entities.account.views.majorcontact.title', caption: 'entities.account.views.gridview.title',
info:'', info:'',
parameters: [ parameters: [
{ pathName: 'central', parameterName: 'central' }, { pathName: 'central', parameterName: 'central' },
{ pathName: 'accounts', parameterName: 'account' }, { pathName: 'accounts', parameterName: 'account' },
{ pathName: 'majorcontact', parameterName: 'majorcontact' },
],
requireAuth: true,
},
component: () => import('@pages/base/account-major-contact/account-major-contact.vue'),
},
{
path: 'salesorders/:salesorder?/gridview/:gridview?',
meta: {
caption: 'entities.salesorder.views.gridview.title',
info:'',
parameters: [
{ pathName: 'central', parameterName: 'central' },
{ pathName: 'salesorders', parameterName: 'salesorder' },
{ pathName: 'gridview', parameterName: 'gridview' }, { pathName: 'gridview', parameterName: 'gridview' },
], ],
requireAuth: true, requireAuth: true,
}, },
component: () => import('@pages/sales/sales-order-grid-view/sales-order-grid-view.vue'), component: () => import('@pages/base/account-grid-view/account-grid-view.vue'),
},
{
path: 'contacts/:contact?/optionview/:optionview?',
meta: {
caption: 'entities.contact.views.optionview.title',
info:'',
parameters: [
{ pathName: 'central', parameterName: 'central' },
{ pathName: 'contacts', parameterName: 'contact' },
{ pathName: 'optionview', parameterName: 'optionview' },
],
requireAuth: true,
},
component: () => import('@pages/base/contact-option-view/contact-option-view.vue'),
}, },
{ {
path: 'activitypointers/:activitypointer?/byparentkey/:byparentkey?', path: 'activitypointers/:activitypointer?/gridview/:gridview?',
meta: { meta: {
caption: 'entities.activitypointer.views.byparentkey.title', caption: 'entities.activitypointer.views.gridview.title',
info:'', info:'',
parameters: [ parameters: [
{ pathName: 'central', parameterName: 'central' }, { pathName: 'central', parameterName: 'central' },
{ pathName: 'activitypointers', parameterName: 'activitypointer' }, { pathName: 'activitypointers', parameterName: 'activitypointer' },
{ pathName: 'byparentkey', parameterName: 'byparentkey' }, { pathName: 'gridview', parameterName: 'gridview' },
], ],
requireAuth: true, requireAuth: true,
}, },
component: () => import('@pages/base/activity-pointer-by-parent-key/activity-pointer-by-parent-key.vue'), component: () => import('@pages/base/activity-pointer-grid-view/activity-pointer-grid-view.vue'),
}, },
{ {
path: 'leads/:lead?/editview/:editview?', path: 'ibizlists/:ibizlist?/editview/:editview?',
meta: { meta: {
caption: 'entities.lead.views.editview.title', caption: 'entities.ibizlist.views.editview.title',
info:'', info:'',
parameters: [ parameters: [
{ pathName: 'central', parameterName: 'central' }, { pathName: 'central', parameterName: 'central' },
{ pathName: 'leads', parameterName: 'lead' }, { pathName: 'ibizlists', parameterName: 'ibizlist' },
{ pathName: 'editview', parameterName: 'editview' }, { pathName: 'editview', parameterName: 'editview' },
], ],
requireAuth: true, requireAuth: true,
}, },
component: () => import('@pages/sales/lead-edit-view/lead-edit-view.vue'), component: () => import('@pages/marketing/ibiz-list-edit-view/ibiz-list-edit-view.vue'),
}, },
{ {
path: 'phonecalls/:phonecall?/editview/:editview?', path: 'invoices/:invoice?/gridview/:gridview?',
meta: { meta: {
caption: 'entities.phonecall.views.editview.title', caption: 'entities.invoice.views.gridview.title',
info:'', info:'',
parameters: [ parameters: [
{ pathName: 'central', parameterName: 'central' }, { pathName: 'central', parameterName: 'central' },
{ pathName: 'phonecalls', parameterName: 'phonecall' }, { pathName: 'invoices', parameterName: 'invoice' },
{ pathName: 'editview', parameterName: 'editview' }, { pathName: 'gridview', parameterName: 'gridview' },
], ],
requireAuth: true, requireAuth: true,
}, },
component: () => import('@pages/base/phone-call-edit-view/phone-call-edit-view.vue'), component: () => import('@pages/finance/invoice-grid-view/invoice-grid-view.vue'),
}, },
{ {
path: 'tasks/:task?/editview/:editview?', path: 'competitors/:competitor?/gridview/:gridview?',
meta: { meta: {
caption: 'entities.task.views.editview.title', caption: 'entities.competitor.views.gridview.title',
info:'', info:'',
parameters: [ parameters: [
{ pathName: 'central', parameterName: 'central' }, { pathName: 'central', parameterName: 'central' },
{ pathName: 'tasks', parameterName: 'task' }, { pathName: 'competitors', parameterName: 'competitor' },
{ pathName: 'editview', parameterName: 'editview' }, { pathName: 'gridview', parameterName: 'gridview' },
], ],
requireAuth: true, requireAuth: true,
}, },
component: () => import('@pages/base/task-edit-view/task-edit-view.vue'), component: () => import('@pages/sales/competitor-grid-view/competitor-grid-view.vue'),
}, },
{ {
path: 'pricelevels/:pricelevel?/pickupview/:pickupview?', path: 'accounts/:account?/pickupview/:pickupview?',
meta: { meta: {
caption: 'entities.pricelevel.views.pickupview.title', caption: 'entities.account.views.pickupview.title',
info:'', info:'',
parameters: [ parameters: [
{ pathName: 'central', parameterName: 'central' }, { pathName: 'central', parameterName: 'central' },
{ pathName: 'pricelevels', parameterName: 'pricelevel' }, { pathName: 'accounts', parameterName: 'account' },
{ pathName: 'pickupview', parameterName: 'pickupview' }, { pathName: 'pickupview', parameterName: 'pickupview' },
], ],
requireAuth: true, requireAuth: true,
}, },
component: () => import('@pages/product/price-level-pickup-view/price-level-pickup-view.vue'), component: () => import('@pages/base/account-pickup-view/account-pickup-view.vue'),
},
{
path: 'opportunities/:opportunity?/editview/:editview?',
meta: {
caption: 'entities.opportunity.views.editview.title',
info:'',
parameters: [
{ pathName: 'central', parameterName: 'central' },
{ pathName: 'opportunities', parameterName: 'opportunity' },
{ pathName: 'editview', parameterName: 'editview' },
],
requireAuth: true,
},
component: () => import('@pages/sales/opportunity-edit-view/opportunity-edit-view.vue'),
},
{
path: 'competitors/:competitor?/gridview/:gridview?',
meta: {
caption: 'entities.competitor.views.gridview.title',
info:'',
parameters: [
{ pathName: 'central', parameterName: 'central' },
{ pathName: 'competitors', parameterName: 'competitor' },
{ pathName: 'gridview', parameterName: 'gridview' },
],
requireAuth: true,
},
component: () => import('@pages/sales/competitor-grid-view/competitor-grid-view.vue'),
}, },
{ {
path: 'ibizlists/:ibizlist?/editview/:editview?', path: 'pricelevels/:pricelevel?/pickupgridview/:pickupgridview?',
meta: { meta: {
caption: 'entities.ibizlist.views.editview.title', caption: 'entities.pricelevel.views.pickupgridview.title',
info:'', info:'',
parameters: [ parameters: [
{ pathName: 'central', parameterName: 'central' }, { pathName: 'central', parameterName: 'central' },
{ pathName: 'ibizlists', parameterName: 'ibizlist' }, { pathName: 'pricelevels', parameterName: 'pricelevel' },
{ pathName: 'editview', parameterName: 'editview' }, { pathName: 'pickupgridview', parameterName: 'pickupgridview' },
], ],
requireAuth: true, requireAuth: true,
}, },
component: () => import('@pages/marketing/ibiz-list-edit-view/ibiz-list-edit-view.vue'), component: () => import('@pages/product/price-level-pickup-grid-view/price-level-pickup-grid-view.vue'),
}, },
{ {
path: 'quotes/:quote?/editview/:editview?', path: 'quotes/:quote?/editview/:editview?',
...@@ -871,19 +773,6 @@ const router = new Router({ ...@@ -871,19 +773,6 @@ const router = new Router({
}, },
component: () => import('@pages/sales/lead-grid-view/lead-grid-view.vue'), component: () => import('@pages/sales/lead-grid-view/lead-grid-view.vue'),
}, },
{
path: '/accounts/:account?/accountinfo/:accountinfo?',
meta: {
caption: 'entities.account.views.accountinfo.title',
info:'',
parameters: [
{ pathName: 'accounts', parameterName: 'account' },
{ pathName: 'accountinfo', parameterName: 'accountinfo' },
],
requireAuth: true,
},
component: () => import('@pages/base/account-account-info/account-account-info.vue'),
},
{ {
path: '/ibizlists/:ibizlist?/gridview/:gridview?', path: '/ibizlists/:ibizlist?/gridview/:gridview?',
meta: { meta: {
...@@ -923,19 +812,6 @@ const router = new Router({ ...@@ -923,19 +812,6 @@ const router = new Router({
}, },
component: () => import('@pages/base/account-pickup-view/account-pickup-view.vue'), component: () => import('@pages/base/account-pickup-view/account-pickup-view.vue'),
}, },
{
path: '/accounts/:account?/summary/:summary?',
meta: {
caption: 'entities.account.views.summary.title',
info:'',
parameters: [
{ pathName: 'accounts', parameterName: 'account' },
{ pathName: 'summary', parameterName: 'summary' },
],
requireAuth: true,
},
component: () => import('@pages/base/account-summary/account-summary.vue'),
},
{ {
path: '/leads/:lead?/editview/:editview?', path: '/leads/:lead?/editview/:editview?',
meta: { meta: {
...@@ -1092,19 +968,6 @@ const router = new Router({ ...@@ -1092,19 +968,6 @@ const router = new Router({
}, },
component: () => import('@pages/base/account-edit-view/account-edit-view.vue'), component: () => import('@pages/base/account-edit-view/account-edit-view.vue'),
}, },
{
path: '/accounts/:account?/introduction/:introduction?',
meta: {
caption: 'entities.account.views.introduction.title',
info:'',
parameters: [
{ pathName: 'accounts', parameterName: 'account' },
{ pathName: 'introduction', parameterName: 'introduction' },
],
requireAuth: true,
},
component: () => import('@pages/base/account-introduction/account-introduction.vue'),
},
{ {
path: '/goals/:goal?/editview/:editview?', path: '/goals/:goal?/editview/:editview?',
meta: { meta: {
...@@ -1182,19 +1045,6 @@ const router = new Router({ ...@@ -1182,19 +1045,6 @@ const router = new Router({
}, },
component: () => import('@pages/sales/sales-literature-grid-view/sales-literature-grid-view.vue'), component: () => import('@pages/sales/sales-literature-grid-view/sales-literature-grid-view.vue'),
}, },
{
path: '/accounts/:account?/address/:address?',
meta: {
caption: 'entities.account.views.address.title',
info:'',
parameters: [
{ pathName: 'accounts', parameterName: 'account' },
{ pathName: 'address', parameterName: 'address' },
],
requireAuth: true,
},
component: () => import('@pages/base/account-address/account-address.vue'),
},
{ {
path: '/serviceappointments/:serviceappointment?/editview/:editview?', path: '/serviceappointments/:serviceappointment?/editview/:editview?',
meta: { meta: {
...@@ -1351,19 +1201,6 @@ const router = new Router({ ...@@ -1351,19 +1201,6 @@ const router = new Router({
}, },
component: () => import('@pages/base/activity-pointer-by-parent-key/activity-pointer-by-parent-key.vue'), component: () => import('@pages/base/activity-pointer-by-parent-key/activity-pointer-by-parent-key.vue'),
}, },
{
path: '/accounts/:account?/distribution/:distribution?',
meta: {
caption: 'entities.account.views.distribution.title',
info:'',
parameters: [
{ pathName: 'accounts', parameterName: 'account' },
{ pathName: 'distribution', parameterName: 'distribution' },
],
requireAuth: true,
},
component: () => import('@pages/base/account-distribution/account-distribution.vue'),
},
{ {
path: '/competitors/:competitor?/gridview/:gridview?', path: '/competitors/:competitor?/gridview/:gridview?',
meta: { meta: {
...@@ -1416,19 +1253,6 @@ const router = new Router({ ...@@ -1416,19 +1253,6 @@ const router = new Router({
}, },
component: () => import('@pages/finance/invoice-grid-view/invoice-grid-view.vue'), component: () => import('@pages/finance/invoice-grid-view/invoice-grid-view.vue'),
}, },
{
path: '/accounts/:account?/contactsetting/:contactsetting?',
meta: {
caption: 'entities.account.views.contactsetting.title',
info:'',
parameters: [
{ pathName: 'accounts', parameterName: 'account' },
{ pathName: 'contactsetting', parameterName: 'contactsetting' },
],
requireAuth: true,
},
component: () => import('@pages/base/account-contact-setting/account-contact-setting.vue'),
},
{ {
path: '/contacts/:contact?/optionview/:optionview?', path: '/contacts/:contact?/optionview/:optionview?',
meta: { meta: {
...@@ -1468,19 +1292,6 @@ const router = new Router({ ...@@ -1468,19 +1292,6 @@ const router = new Router({
}, },
component: () => import('@pages/base/task-edit-view/task-edit-view.vue'), component: () => import('@pages/base/task-edit-view/task-edit-view.vue'),
}, },
{
path: '/accounts/:account?/majorcontact/:majorcontact?',
meta: {
caption: 'entities.account.views.majorcontact.title',
info:'',
parameters: [
{ pathName: 'accounts', parameterName: 'account' },
{ pathName: 'majorcontact', parameterName: 'majorcontact' },
],
requireAuth: true,
},
component: () => import('@pages/base/account-major-contact/account-major-contact.vue'),
},
{ {
path: '/competitors/:competitor?/editview/:editview?', path: '/competitors/:competitor?/editview/:editview?',
meta: { meta: {
......
...@@ -61,15 +61,6 @@ export const viewstate: any = { ...@@ -61,15 +61,6 @@ export const viewstate: any = {
'2e17cb1d009dd49ac529319ac15319cd', '2e17cb1d009dd49ac529319ac15319cd',
], ],
}, },
{
viewtag: '1d3b94223a5d3f8ab1d2fe334c8c4afd',
viewmodule: 'Base',
viewname: 'AccountAccountInfo',
viewaction: '',
viewdatachange: false,
refviews: [
],
},
{ {
viewtag: '24a93674ec4c976c08902a3e95421ca6', viewtag: '24a93674ec4c976c08902a3e95421ca6',
viewmodule: 'Marketing', viewmodule: 'Marketing',
...@@ -99,21 +90,6 @@ export const viewstate: any = { ...@@ -99,21 +90,6 @@ export const viewstate: any = {
'ef9fea872a6a21e7566033fafcc0ccb5', 'ef9fea872a6a21e7566033fafcc0ccb5',
], ],
}, },
{
viewtag: '2becf7bda3a6d70cbe9a4e254093e84e',
viewmodule: 'Base',
viewname: 'AccountSummary',
viewaction: '',
viewdatachange: false,
refviews: [
'e38e7b53a449e0f112cb545d2c5d4b85',
'fb06f2c1cea1ac2a5a70c20f4a277ae5',
'73bb9f7e653384ca09f8bbbfd580d892',
'c607e5bc2c07ab2aca084e275ce677b7',
'916febbb65be1c54dd42ccb9914fe973',
'1d3b94223a5d3f8ab1d2fe334c8c4afd',
],
},
{ {
viewtag: '2e17cb1d009dd49ac529319ac15319cd', viewtag: '2e17cb1d009dd49ac529319ac15319cd',
viewmodule: 'Sales', viewmodule: 'Sales',
...@@ -131,7 +107,7 @@ export const viewstate: any = { ...@@ -131,7 +107,7 @@ export const viewstate: any = {
viewdatachange: false, viewdatachange: false,
refviews: [ refviews: [
'bae77557d2f7a7852b634dc5d5a93435', 'bae77557d2f7a7852b634dc5d5a93435',
'2becf7bda3a6d70cbe9a4e254093e84e', '6e18ac74e5685439110f9b4e534ee005',
], ],
}, },
{ {
...@@ -239,15 +215,8 @@ export const viewstate: any = { ...@@ -239,15 +215,8 @@ export const viewstate: any = {
viewaction: '', viewaction: '',
viewdatachange: false, viewdatachange: false,
refviews: [ refviews: [
], '8b806fb12589b2fc17d1bb90f4b5422e',
}, '29bfcd628ab25e297248ff0524d12908',
{
viewtag: '73bb9f7e653384ca09f8bbbfd580d892',
viewmodule: 'Base',
viewname: 'AccountIntroduction',
viewaction: '',
viewdatachange: false,
refviews: [
], ],
}, },
{ {
...@@ -330,15 +299,6 @@ export const viewstate: any = { ...@@ -330,15 +299,6 @@ export const viewstate: any = {
'303fcfed216ca770612be2c0a97be789', '303fcfed216ca770612be2c0a97be789',
], ],
}, },
{
viewtag: '916febbb65be1c54dd42ccb9914fe973',
viewmodule: 'Base',
viewname: 'AccountAddress',
viewaction: '',
viewdatachange: false,
refviews: [
],
},
{ {
viewtag: '99d4a530c13b03a98cd143f341394354', viewtag: '99d4a530c13b03a98cd143f341394354',
viewmodule: 'Service', viewmodule: 'Service',
...@@ -461,15 +421,6 @@ export const viewstate: any = { ...@@ -461,15 +421,6 @@ export const viewstate: any = {
'a5213905238dbc5d8e1a505029105cc9', 'a5213905238dbc5d8e1a505029105cc9',
], ],
}, },
{
viewtag: 'c607e5bc2c07ab2aca084e275ce677b7',
viewmodule: 'Base',
viewname: 'AccountDistribution',
viewaction: '',
viewdatachange: false,
refviews: [
],
},
{ {
viewtag: 'd1c35f3c52010e1428d7dc1a6bc82f63', viewtag: 'd1c35f3c52010e1428d7dc1a6bc82f63',
viewmodule: 'Sales', viewmodule: 'Sales',
...@@ -509,15 +460,6 @@ export const viewstate: any = { ...@@ -509,15 +460,6 @@ export const viewstate: any = {
'01c28e25ad9d42977cb91ee890731b64', '01c28e25ad9d42977cb91ee890731b64',
], ],
}, },
{
viewtag: 'e38e7b53a449e0f112cb545d2c5d4b85',
viewmodule: 'Base',
viewname: 'AccountContactSetting',
viewaction: '',
viewdatachange: false,
refviews: [
],
},
{ {
viewtag: 'e404dc93e70d6284d4e1a083017625ed', viewtag: 'e404dc93e70d6284d4e1a083017625ed',
viewmodule: 'Base', viewmodule: 'Base',
...@@ -545,15 +487,6 @@ export const viewstate: any = { ...@@ -545,15 +487,6 @@ export const viewstate: any = {
refviews: [ refviews: [
], ],
}, },
{
viewtag: 'fb06f2c1cea1ac2a5a70c20f4a277ae5',
viewmodule: 'Base',
viewname: 'AccountMajorContact',
viewaction: '',
viewdatachange: false,
refviews: [
],
},
{ {
viewtag: 'fc2117de593df9cc982bd802cbdb2154', viewtag: 'fc2117de593df9cc982bd802cbdb2154',
viewmodule: 'Sales', viewmodule: 'Sales',
......
<template> <template>
<div class='tabviewpanel' style="height:100%;" v-if = 'isActivied' > <div class='tabviewpanel' style="height:100%;" v-if = 'isActivied' >
<account-summary <account-edit-view
class='viewcontainer2' class='viewcontainer2'
:viewdata="viewdata" :viewdata="viewdata"
:viewparam="viewparam" :viewparam="viewparam"
@viewload="viewDatasChange($event)" @viewload="viewDatasChange($event)"
:viewDefaultUsage="false" > :viewDefaultUsage="false" >
</account-summary> </account-edit-view>
</div> </div>
</template> </template>
<script lang='tsx'> <script lang='tsx'>
......
...@@ -2,71 +2,332 @@ ...@@ -2,71 +2,332 @@
<i-form :model="this.data" class='app-form' ref='form' id='account_main' style=""> <i-form :model="this.data" class='app-form' ref='form' id='account_main' style="">
<input style="display:none;" /> <input style="display:none;" />
<row > <row >
<tabs :animated="false" size="small" name='main' :value="detailsModel.form.activiedPage"
@on-click="detailsModel.form.clickPage($event)">
<tab-pane v-show="detailsModel.formpage1.visible" name='formpage1' :index="0" tab='main' class=''
:label="(h) =>{
return h('span',{
class:'caption'
},[
$t('entities.account.main_form.details.formpage1')
])
}">
<i-col v-show="detailsModel.group1.visible" :style="{}" :lg="{ span: 24, offset: 0 }"> <i-col v-show="detailsModel.group1.visible" :style="{}" :lg="{ span: 24, offset: 0 }">
<app-form-group layoutType="TABLE_24COL" titleStyle="" class='' :uiActionGroup="detailsModel.group1.uiActionGroup" @groupuiactionclick="groupUIActionClick($event)" :caption="$t('entities.account.main_form.details.group1')" :isShowCaption="true" uiStyle="DEFAULT" :titleBarCloseMode="0" :isInfoGroupMode="false" > <app-form-group layoutType="TABLE_24COL" titleStyle="" class='' :uiActionGroup="detailsModel.group1.uiActionGroup" @groupuiactionclick="groupUIActionClick($event)" :caption="$t('entities.account.main_form.details.group1')" :isShowCaption="true" uiStyle="DEFAULT" :titleBarCloseMode="0" :isInfoGroupMode="false" >
<row> <row>
<i-col v-show="detailsModel.accountname.visible" :style="{}" :lg="{ span: 24, offset: 0 }"> <i-col v-show="detailsModel.accountname.visible" :style="{}" :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }">
<app-form-item name='accountname' :itemRules="this.rules.accountname" class='' :caption="$t('entities.account.main_form.details.accountname')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.accountname.error" :isEmptyCaption="false" labelPos="LEFT"> <app-form-item name='accountname' :itemRules="this.rules.accountname" class='' :caption="$t('entities.account.main_form.details.accountname')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.accountname.error" :isEmptyCaption="false" labelPos="LEFT">
<input-box v-model="data.accountname" @enter="onEnter($event)" unit="" :disabled="detailsModel.accountname.disabled" type='text' style=""></input-box> <input-box v-model="data.accountname" @enter="onEnter($event)" unit="" :disabled="detailsModel.accountname.disabled" type='text' style=""></input-box>
</app-form-item> </app-form-item>
</i-col>
<i-col v-show="detailsModel.telephone1.visible" :style="{}" :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }">
<app-form-item name='telephone1' :itemRules="this.rules.telephone1" class='' :caption="$t('entities.account.main_form.details.telephone1')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.telephone1.error" :isEmptyCaption="false" labelPos="LEFT">
<input-box v-model="data.telephone1" @enter="onEnter($event)" unit="" :disabled="detailsModel.telephone1.disabled" type='text' style=""></input-box>
</app-form-item>
</i-col>
<i-col v-show="detailsModel.fax.visible" :style="{}" :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }">
<app-form-item name='fax' :itemRules="this.rules.fax" class='' :caption="$t('entities.account.main_form.details.fax')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.fax.error" :isEmptyCaption="false" labelPos="LEFT">
<input-box v-model="data.fax" @enter="onEnter($event)" unit="" :disabled="detailsModel.fax.disabled" type='text' style=""></input-box>
</app-form-item>
</i-col>
<i-col v-show="detailsModel.websiteurl.visible" :style="{}" :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }">
<app-form-item name='websiteurl' :itemRules="this.rules.websiteurl" class='' :caption="$t('entities.account.main_form.details.websiteurl')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.websiteurl.error" :isEmptyCaption="false" labelPos="LEFT">
<input-box v-model="data.websiteurl" @enter="onEnter($event)" unit="" :disabled="detailsModel.websiteurl.disabled" type='text' style=""></input-box>
</app-form-item>
</i-col>
<i-col v-show="detailsModel.parentaccountname.visible" :style="{}" :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }">
<app-form-item name='parentaccountname' :itemRules="this.rules.parentaccountname" class='' :caption="$t('entities.account.main_form.details.parentaccountname')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.parentaccountname.error" :isEmptyCaption="false" labelPos="LEFT">
<app-picker
:formState="formState"
:data="data"
:context="context"
:viewparams="viewparams"
:localContext ='{ }'
:localParam ='{ }'
:disabled="detailsModel.parentaccountname.disabled"
name='parentaccountname'
deMajorField='accountname'
deKeyField='account'
:service="service"
:acParams="{ serviceName: 'AccountService', interfaceName: 'FetchDefault'}"
valueitem='parentaccountid'
:value="data.parentaccountname"
editortype=""
:pickupView="{ viewname: 'account-pickup-view', title: $t('entities.account.views.pickupview.title'), deResParameters: [], parameters: [{ pathName: 'accounts', parameterName: 'account' }, { pathName: 'pickupview', parameterName: 'pickupview' } ], placement:'' }"
style=""
@formitemvaluechange="onFormItemValueChange">
</app-picker>
</app-form-item>
</i-col>
<i-col v-show="detailsModel.tickersymbol.visible" :style="{}" :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }">
<app-form-item name='tickersymbol' :itemRules="this.rules.tickersymbol" class='' :caption="$t('entities.account.main_form.details.tickersymbol')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.tickersymbol.error" :isEmptyCaption="false" labelPos="LEFT">
<input-box v-model="data.tickersymbol" @enter="onEnter($event)" unit="" :disabled="detailsModel.tickersymbol.disabled" type='text' style=""></input-box>
</app-form-item>
</i-col>
<i-col v-show="detailsModel.customertypecode.visible" :style="{}" :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }">
<app-form-item name='customertypecode' :itemRules="this.rules.customertypecode" class='' :caption="$t('entities.account.main_form.details.customertypecode')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.customertypecode.error" :isEmptyCaption="false" labelPos="LEFT">
<dropdown-list
v-model="data.customertypecode"
:data="data"
:context="context"
:viewparams="viewparams"
:localContext ='{ }'
:localParam ='{ }'
:disabled="detailsModel.customertypecode.disabled"
tag='Account__CustomerTypeCode'
codelistType='STATIC'
placeholder='请选择...' style="">
</dropdown-list>
</app-form-item>
</i-col>
<i-col v-show="detailsModel.defaultpricelevelname.visible" :style="{}" :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }">
<app-form-item name='defaultpricelevelname' :itemRules="this.rules.defaultpricelevelname" class='' :caption="$t('entities.account.main_form.details.defaultpricelevelname')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.defaultpricelevelname.error" :isEmptyCaption="false" labelPos="LEFT">
<app-picker
:formState="formState"
:data="data"
:context="context"
:viewparams="viewparams"
:localContext ='{ }'
:localParam ='{ }'
:disabled="detailsModel.defaultpricelevelname.disabled"
name='defaultpricelevelname'
deMajorField='pricelevelname'
deKeyField='pricelevel'
:service="service"
:acParams="{ serviceName: 'PriceLevelService', interfaceName: 'FetchDefault'}"
valueitem='defaultpricelevelid'
:value="data.defaultpricelevelname"
editortype=""
:pickupView="{ viewname: 'price-level-pickup-view', title: $t('entities.pricelevel.views.pickupview.title'), deResParameters: [], parameters: [{ pathName: 'pricelevels', parameterName: 'pricelevel' }, { pathName: 'pickupview', parameterName: 'pickupview' } ], placement:'' }"
style=""
@formitemvaluechange="onFormItemValueChange">
</app-picker>
</app-form-item>
</i-col> </i-col>
</row> </row>
</app-form-group> </app-form-group>
</i-col> </i-col>
<i-col v-show="detailsModel.grouppanel3.visible" :style="{}" :lg="{ span: 24, offset: 0 }">
<app-form-group layoutType="TABLE_24COL" titleStyle="" class='' :uiActionGroup="detailsModel.grouppanel3.uiActionGroup" @groupuiactionclick="groupUIActionClick($event)" :caption="$t('entities.account.main_form.details.grouppanel3')" :isShowCaption="true" uiStyle="DEFAULT" :titleBarCloseMode="2" :isInfoGroupMode="false" >
<row>
<i-col v-show="detailsModel.industrycode.visible" :style="{}" :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }">
<app-form-item name='industrycode' :itemRules="this.rules.industrycode" class='' :caption="$t('entities.account.main_form.details.industrycode')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.industrycode.error" :isEmptyCaption="false" labelPos="TOP">
<dropdown-list
v-model="data.industrycode"
:data="data"
:context="context"
:viewparams="viewparams"
:localContext ='{ }'
:localParam ='{ }'
:disabled="detailsModel.industrycode.disabled"
tag='Account__IndustryCode'
codelistType='STATIC'
placeholder='请选择...' style="">
</dropdown-list>
</app-form-item>
</i-col>
<i-col v-show="detailsModel.sic.visible" :style="{}" :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }">
<app-form-item name='sic' :itemRules="this.rules.sic" class='' :caption="$t('entities.account.main_form.details.sic')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.sic.error" :isEmptyCaption="false" labelPos="TOP">
<input-box v-model="data.sic" @enter="onEnter($event)" unit="" :disabled="detailsModel.sic.disabled" type='text' style=""></input-box>
</app-form-item>
</i-col>
<i-col v-show="detailsModel.ownershipcode.visible" :style="{}" :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }">
<app-form-item name='ownershipcode' :itemRules="this.rules.ownershipcode" class='' :caption="$t('entities.account.main_form.details.ownershipcode')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.ownershipcode.error" :isEmptyCaption="false" labelPos="TOP">
<dropdown-list
v-model="data.ownershipcode"
:data="data"
:context="context"
:viewparams="viewparams"
:localContext ='{ }'
:localParam ='{ }'
:disabled="detailsModel.ownershipcode.disabled"
tag='Account__OwnershipCode'
codelistType='STATIC'
placeholder='请选择...' style="">
</dropdown-list>
</app-form-item>
</i-col>
<i-col v-show="detailsModel.description.visible" :style="{}" :md="{ span: 24, offset: 0 }" :lg="{ span: 24, offset: 0 }" :xl="{ span: 24, offset: 0 }">
<app-form-item name='description' :itemRules="this.rules.description" class='' :caption="$t('entities.account.main_form.details.description')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.description.error" :isEmptyCaption="false" labelPos="TOP">
<input-box v-model="data.description" @enter="onEnter($event)" unit="" :disabled="detailsModel.description.disabled" type='text' style=""></input-box>
</app-form-item>
</i-col>
</row>
</app-form-group>
</tab-pane> </i-col>
<tab-pane v-show="detailsModel.formpage2.visible" name='formpage2' :index="1" tab='main' class='' <i-col v-show="detailsModel.grouppanel1.visible" :style="{}" :lg="{ span: 24, offset: 0 }">
:label="(h) =>{ <app-form-group layoutType="TABLE_24COL" titleStyle="" class='' :uiActionGroup="detailsModel.grouppanel1.uiActionGroup" @groupuiactionclick="groupUIActionClick($event)" :caption="$t('entities.account.main_form.details.grouppanel1')" :isShowCaption="true" uiStyle="DEFAULT" :titleBarCloseMode="2" :isInfoGroupMode="false" >
return h('span',{
class:'caption'
},[
$t('entities.account.main_form.details.formpage2')
])
}">
<i-col v-show="detailsModel.group2.visible" :style="{}" :lg="{ span: 24, offset: 0 }">
<app-form-group layoutType="TABLE_24COL" titleStyle="" class='' :uiActionGroup="detailsModel.group2.uiActionGroup" @groupuiactionclick="groupUIActionClick($event)" :caption="$t('entities.account.main_form.details.group2')" :isShowCaption="true" uiStyle="DEFAULT" :titleBarCloseMode="0" :isInfoGroupMode="false" >
<row> <row>
<i-col v-show="detailsModel.createman.visible" :style="{}" :lg="{ span: 24, offset: 0 }"> <i-col v-show="detailsModel.address1_addressid.visible" :style="{}" :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }">
<app-form-item name='createman' :itemRules="this.rules.createman" class='' :caption="$t('entities.account.main_form.details.createman')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.createman.error" :isEmptyCaption="false" labelPos="LEFT"> <app-form-item name='address1_addressid' :itemRules="this.rules.address1_addressid" class='' :caption="$t('entities.account.main_form.details.address1_addressid')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.address1_addressid.error" :isEmptyCaption="false" labelPos="LEFT">
<input-box v-model="data.address1_addressid" @enter="onEnter($event)" unit="" :disabled="detailsModel.address1_addressid.disabled" type='text' style=""></input-box>
</app-form-item>
</i-col>
<i-col v-show="detailsModel.address1_name.visible" :style="{}" :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }">
<app-form-item name='address1_name' :itemRules="this.rules.address1_name" class='' :caption="$t('entities.account.main_form.details.address1_name')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.address1_name.error" :isEmptyCaption="false" labelPos="LEFT">
<input-box v-model="data.address1_name" @enter="onEnter($event)" unit="" :disabled="detailsModel.address1_name.disabled" type='text' style=""></input-box>
</app-form-item>
</i-col>
<i-col v-show="detailsModel.address1_addresstypecode.visible" :style="{}" :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }">
<app-form-item name='address1_addresstypecode' :itemRules="this.rules.address1_addresstypecode" class='' :caption="$t('entities.account.main_form.details.address1_addresstypecode')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.address1_addresstypecode.error" :isEmptyCaption="false" labelPos="LEFT">
<app-span name='createman' :value="data.createman" tag='SysOperator' codelistType='DYNAMIC' :data="data" :context="context" :viewparams="viewparams" :localContext ='{ }' :localParam ='{ }' style=""></app-span> <dropdown-list
v-model="data.address1_addresstypecode"
:data="data"
:context="context"
:viewparams="viewparams"
:localContext ='{ }'
:localParam ='{ }'
:disabled="detailsModel.address1_addresstypecode.disabled"
tag='Account__Address1_AddressTypeCode'
codelistType='STATIC'
placeholder='请选择...' style="">
</dropdown-list>
</app-form-item>
</i-col>
<i-col v-show="detailsModel.address1_country.visible" :style="{}" :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }">
<app-form-item name='address1_country' :itemRules="this.rules.address1_country" class='' :caption="$t('entities.account.main_form.details.address1_country')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.address1_country.error" :isEmptyCaption="false" labelPos="LEFT">
<input-box v-model="data.address1_country" @enter="onEnter($event)" unit="" :disabled="detailsModel.address1_country.disabled" type='text' style=""></input-box>
</app-form-item>
</i-col>
<i-col v-show="detailsModel.address1_stateorprovince.visible" :style="{}" :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }">
<app-form-item name='address1_stateorprovince' :itemRules="this.rules.address1_stateorprovince" class='' :caption="$t('entities.account.main_form.details.address1_stateorprovince')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.address1_stateorprovince.error" :isEmptyCaption="false" labelPos="LEFT">
<input-box v-model="data.address1_stateorprovince" @enter="onEnter($event)" unit="" :disabled="detailsModel.address1_stateorprovince.disabled" type='text' style=""></input-box>
</app-form-item>
</i-col>
<i-col v-show="detailsModel.address1_city.visible" :style="{}" :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }">
<app-form-item name='address1_city' :itemRules="this.rules.address1_city" class='' :caption="$t('entities.account.main_form.details.address1_city')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.address1_city.error" :isEmptyCaption="false" labelPos="LEFT">
<input-box v-model="data.address1_city" @enter="onEnter($event)" unit="" :disabled="detailsModel.address1_city.disabled" type='text' style=""></input-box>
</app-form-item>
</i-col>
<i-col v-show="detailsModel.address1_county.visible" :style="{}" :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }">
<app-form-item name='address1_county' :itemRules="this.rules.address1_county" class='' :caption="$t('entities.account.main_form.details.address1_county')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.address1_county.error" :isEmptyCaption="false" labelPos="LEFT">
<input-box v-model="data.address1_county" @enter="onEnter($event)" unit="" :disabled="detailsModel.address1_county.disabled" type='text' style=""></input-box>
</app-form-item>
</i-col>
<i-col v-show="detailsModel.address1_line1.visible" :style="{}" :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }">
<app-form-item name='address1_line1' :itemRules="this.rules.address1_line1" class='' :caption="$t('entities.account.main_form.details.address1_line1')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.address1_line1.error" :isEmptyCaption="false" labelPos="LEFT">
<input-box v-model="data.address1_line1" @enter="onEnter($event)" unit="" :disabled="detailsModel.address1_line1.disabled" type='text' style=""></input-box>
</app-form-item>
</i-col>
<i-col v-show="detailsModel.address1_fax.visible" :style="{}" :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }">
<app-form-item name='address1_fax' :itemRules="this.rules.address1_fax" class='' :caption="$t('entities.account.main_form.details.address1_fax')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.address1_fax.error" :isEmptyCaption="false" labelPos="LEFT">
<input-box v-model="data.address1_fax" @enter="onEnter($event)" unit="" :disabled="detailsModel.address1_fax.disabled" type='text' style=""></input-box>
</app-form-item> </app-form-item>
</i-col> </i-col>
<i-col v-show="detailsModel.createdate.visible" :style="{}" :lg="{ span: 24, offset: 0 }"> <i-col v-show="detailsModel.address1_freighttermscode.visible" :style="{}" :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }">
<app-form-item name='createdate' :itemRules="this.rules.createdate" class='' :caption="$t('entities.account.main_form.details.createdate')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.createdate.error" :isEmptyCaption="false" labelPos="LEFT"> <app-form-item name='address1_freighttermscode' :itemRules="this.rules.address1_freighttermscode" class='' :caption="$t('entities.account.main_form.details.address1_freighttermscode')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.address1_freighttermscode.error" :isEmptyCaption="false" labelPos="LEFT">
<app-span name='createdate' :value="data.createdate" :data="data" :context="context" :viewparams="viewparams" :localContext ='{ }' :localParam ='{ }' style=""></app-span> <dropdown-list
v-model="data.address1_freighttermscode"
:data="data"
:context="context"
:viewparams="viewparams"
:localContext ='{ }'
:localParam ='{ }'
:disabled="detailsModel.address1_freighttermscode.disabled"
tag='Account__Address1_FreightTermsCode'
codelistType='STATIC'
placeholder='请选择...' style="">
</dropdown-list>
</app-form-item>
</i-col>
<i-col v-show="detailsModel.address1_postalcode.visible" :style="{}" :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }">
<app-form-item name='address1_postalcode' :itemRules="this.rules.address1_postalcode" class='' :caption="$t('entities.account.main_form.details.address1_postalcode')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.address1_postalcode.error" :isEmptyCaption="false" labelPos="LEFT">
<input-box v-model="data.address1_postalcode" @enter="onEnter($event)" unit="" :disabled="detailsModel.address1_postalcode.disabled" type='text' style=""></input-box>
</app-form-item> </app-form-item>
</i-col> </i-col>
<i-col v-show="detailsModel.updateman.visible" :style="{}" :lg="{ span: 24, offset: 0 }">
<app-form-item name='updateman' :itemRules="this.rules.updateman" class='' :caption="$t('entities.account.main_form.details.updateman')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.updateman.error" :isEmptyCaption="false" labelPos="LEFT">
<app-span name='updateman' :value="data.updateman" tag='SysOperator' codelistType='DYNAMIC' :data="data" :context="context" :viewparams="viewparams" :localContext ='{ }' :localParam ='{ }' style=""></app-span> </row>
</app-form-group>
</i-col>
<i-col v-show="detailsModel.grouppanel2.visible" :style="{}" :lg="{ span: 24, offset: 0 }">
<app-form-group layoutType="TABLE_24COL" titleStyle="" class='' :uiActionGroup="detailsModel.grouppanel2.uiActionGroup" @groupuiactionclick="groupUIActionClick($event)" :caption="$t('entities.account.main_form.details.grouppanel2')" :isShowCaption="true" uiStyle="DEFAULT" :titleBarCloseMode="2" :isInfoGroupMode="false" >
<row>
<i-col v-show="detailsModel.preferredcontactmethodcode.visible" :style="{}" :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }">
<app-form-item name='preferredcontactmethodcode' :itemRules="this.rules.preferredcontactmethodcode" class='' :caption="$t('entities.account.main_form.details.preferredcontactmethodcode')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.preferredcontactmethodcode.error" :isEmptyCaption="false" labelPos="TOP">
<dropdown-list
v-model="data.preferredcontactmethodcode"
:data="data"
:context="context"
:viewparams="viewparams"
:localContext ='{ }'
:localParam ='{ }'
:disabled="detailsModel.preferredcontactmethodcode.disabled"
tag='Account__PreferredContactMethodCode'
codelistType='STATIC'
placeholder='请选择...' style="">
</dropdown-list>
</app-form-item>
</i-col>
<i-col v-show="detailsModel.donotemail.visible" :style="{}" :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }">
<app-form-item name='donotemail' :itemRules="this.rules.donotemail" class='' :caption="$t('entities.account.main_form.details.donotemail')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.donotemail.error" :isEmptyCaption="false" labelPos="TOP">
<app-switch name='donotemail' :value="this.data.donotemail" @change="($event)=>{this.data.donotemail = $event} " :disabled="detailsModel.donotemail.disabled" style=""></app-switch>
</app-form-item> </app-form-item>
</i-col> </i-col>
<i-col v-show="detailsModel.updatedate.visible" :style="{}" :lg="{ span: 24, offset: 0 }"> <i-col v-show="detailsModel.donotbulkemail.visible" :style="{}" :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }">
<app-form-item name='updatedate' :itemRules="this.rules.updatedate" class='' :caption="$t('entities.account.main_form.details.updatedate')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.updatedate.error" :isEmptyCaption="false" labelPos="LEFT"> <app-form-item name='donotbulkemail' :itemRules="this.rules.donotbulkemail" class='' :caption="$t('entities.account.main_form.details.donotbulkemail')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.donotbulkemail.error" :isEmptyCaption="false" labelPos="TOP">
<app-span name='updatedate' :value="data.updatedate" :data="data" :context="context" :viewparams="viewparams" :localContext ='{ }' :localParam ='{ }' style=""></app-span> <dropdown-list
v-model="data.donotbulkemail"
:data="data"
:context="context"
:viewparams="viewparams"
:localContext ='{ }'
:localParam ='{ }'
:disabled="detailsModel.donotbulkemail.disabled"
style="width:100px;width: 100px;"
tag='YesNo'
codelistType='STATIC'
placeholder='请选择...'>
</dropdown-list>
</app-form-item>
</i-col>
<i-col v-show="detailsModel.donotphone.visible" :style="{}" :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }">
<app-form-item name='donotphone' :itemRules="this.rules.donotphone" class='' :caption="$t('entities.account.main_form.details.donotphone')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.donotphone.error" :isEmptyCaption="false" labelPos="TOP">
<app-switch name='donotphone' :value="this.data.donotphone" @change="($event)=>{this.data.donotphone = $event} " :disabled="detailsModel.donotphone.disabled" style=""></app-switch>
</app-form-item>
</i-col>
<i-col v-show="detailsModel.donotfax.visible" :style="{}" :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }">
<app-form-item name='donotfax' :itemRules="this.rules.donotfax" class='' :caption="$t('entities.account.main_form.details.donotfax')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.donotfax.error" :isEmptyCaption="false" labelPos="TOP">
<app-switch name='donotfax' :value="this.data.donotfax" @change="($event)=>{this.data.donotfax = $event} " :disabled="detailsModel.donotfax.disabled" style=""></app-switch>
</app-form-item>
</i-col>
<i-col v-show="detailsModel.donotpostalmail.visible" :style="{}" :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }">
<app-form-item name='donotpostalmail' :itemRules="this.rules.donotpostalmail" class='' :caption="$t('entities.account.main_form.details.donotpostalmail')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.donotpostalmail.error" :isEmptyCaption="false" labelPos="TOP">
<app-switch name='donotpostalmail' :value="this.data.donotpostalmail" @change="($event)=>{this.data.donotpostalmail = $event} " :disabled="detailsModel.donotpostalmail.disabled" style=""></app-switch>
</app-form-item> </app-form-item>
</i-col> </i-col>
...@@ -77,8 +338,6 @@ ...@@ -77,8 +338,6 @@
</i-col> </i-col>
</tab-pane>
</tabs>
</row> </row>
</i-form> </i-form>
</template> </template>
...@@ -384,10 +643,36 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -384,10 +643,36 @@ export default class MainBase extends Vue implements ControlInterface {
srfdeid: null, srfdeid: null,
srfsourcekey: null, srfsourcekey: null,
accountname: null, accountname: null,
createman: null, telephone1: null,
createdate: null, fax: null,
updateman: null, websiteurl: null,
updatedate: null, parentaccountname: null,
tickersymbol: null,
customertypecode: null,
defaultpricelevelname: null,
industrycode: null,
sic: null,
ownershipcode: null,
description: null,
address1_addressid: null,
address1_name: null,
address1_addresstypecode: null,
address1_country: null,
address1_stateorprovince: null,
address1_city: null,
address1_county: null,
address1_line1: null,
address1_fax: null,
address1_freighttermscode: null,
address1_postalcode: null,
preferredcontactmethodcode: null,
donotemail: null,
donotbulkemail: null,
donotphone: null,
donotfax: null,
donotpostalmail: null,
defaultpricelevelid: null,
parentaccountid: null,
accountid: null, accountid: null,
account:null, account:null,
}; };
...@@ -485,29 +770,185 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -485,29 +770,185 @@ export default class MainBase extends Vue implements ControlInterface {
{ required: true, type: 'string', message: '客户名称 值不能为空', trigger: 'change' }, { required: true, type: 'string', message: '客户名称 值不能为空', trigger: 'change' },
{ required: true, type: 'string', message: '客户名称 值不能为空', trigger: 'blur' }, { required: true, type: 'string', message: '客户名称 值不能为空', trigger: 'blur' },
], ],
createman: [ telephone1: [
{ type: 'string', message: '建立人 值必须为字符串类型', trigger: 'change' }, { type: 'string', message: '主要电话 值必须为字符串类型', trigger: 'change' },
{ type: 'string', message: '建立人 值必须为字符串类型', trigger: 'blur' }, { type: 'string', message: '主要电话 值必须为字符串类型', trigger: 'blur' },
{ required: false, type: 'string', message: '建立人 值不能为空', trigger: 'change' }, { required: false, type: 'string', message: '主要电话 值不能为空', trigger: 'change' },
{ required: false, type: 'string', message: '建立人 值不能为空', trigger: 'blur' }, { required: false, type: 'string', message: '主要电话 值不能为空', trigger: 'blur' },
], ],
createdate: [ fax: [
{ type: 'string', message: '建立时间 值必须为字符串类型', trigger: 'change' }, { type: 'string', message: '传真 值必须为字符串类型', trigger: 'change' },
{ type: 'string', message: '建立时间 值必须为字符串类型', trigger: 'blur' }, { type: 'string', message: '传真 值必须为字符串类型', trigger: 'blur' },
{ required: false, type: 'string', message: '建立时间 值不能为空', trigger: 'change' }, { required: false, type: 'string', message: '传真 值不能为空', trigger: 'change' },
{ required: false, type: 'string', message: '建立时间 值不能为空', trigger: 'blur' }, { required: false, type: 'string', message: '传真 值不能为空', trigger: 'blur' },
], ],
updateman: [ websiteurl: [
{ type: 'string', message: '更新人 值必须为字符串类型', trigger: 'change' }, { type: 'string', message: '网站 值必须为字符串类型', trigger: 'change' },
{ type: 'string', message: '更新人 值必须为字符串类型', trigger: 'blur' }, { type: 'string', message: '网站 值必须为字符串类型', trigger: 'blur' },
{ required: false, type: 'string', message: '更新人 值不能为空', trigger: 'change' }, { required: false, type: 'string', message: '网站 值不能为空', trigger: 'change' },
{ required: false, type: 'string', message: '更新人 值不能为空', trigger: 'blur' }, { required: false, type: 'string', message: '网站 值不能为空', trigger: 'blur' },
], ],
updatedate: [ parentaccountname: [
{ type: 'string', message: '更新时间 值必须为字符串类型', trigger: 'change' }, { type: 'string', message: '上级单位 值必须为字符串类型', trigger: 'change' },
{ type: 'string', message: '更新时间 值必须为字符串类型', trigger: 'blur' }, { type: 'string', message: '上级单位 值必须为字符串类型', trigger: 'blur' },
{ required: false, type: 'string', message: '更新时间 值不能为空', trigger: 'change' }, { required: false, type: 'string', message: '上级单位 值不能为空', trigger: 'change' },
{ required: false, type: 'string', message: '更新时间 值不能为空', trigger: 'blur' }, { required: false, type: 'string', message: '上级单位 值不能为空', trigger: 'blur' },
],
tickersymbol: [
{ type: 'string', message: '股票代号 值必须为字符串类型', trigger: 'change' },
{ type: 'string', message: '股票代号 值必须为字符串类型', trigger: 'blur' },
{ required: false, type: 'string', message: '股票代号 值不能为空', trigger: 'change' },
{ required: false, type: 'string', message: '股票代号 值不能为空', trigger: 'blur' },
],
customertypecode: [
{ type: 'string', message: '关系类型 值必须为字符串类型', trigger: 'change' },
{ type: 'string', message: '关系类型 值必须为字符串类型', trigger: 'blur' },
{ required: false, type: 'string', message: '关系类型 值不能为空', trigger: 'change' },
{ required: false, type: 'string', message: '关系类型 值不能为空', trigger: 'blur' },
],
defaultpricelevelname: [
{ type: 'string', message: '价目表 值必须为字符串类型', trigger: 'change' },
{ type: 'string', message: '价目表 值必须为字符串类型', trigger: 'blur' },
{ required: false, type: 'string', message: '价目表 值不能为空', trigger: 'change' },
{ required: false, type: 'string', message: '价目表 值不能为空', trigger: 'blur' },
],
industrycode: [
{ type: 'string', message: '行业 值必须为字符串类型', trigger: 'change' },
{ type: 'string', message: '行业 值必须为字符串类型', trigger: 'blur' },
{ required: false, type: 'string', message: '行业 值不能为空', trigger: 'change' },
{ required: false, type: 'string', message: '行业 值不能为空', trigger: 'blur' },
],
sic: [
{ type: 'string', message: '行业编码 值必须为字符串类型', trigger: 'change' },
{ type: 'string', message: '行业编码 值必须为字符串类型', trigger: 'blur' },
{ required: false, type: 'string', message: '行业编码 值不能为空', trigger: 'change' },
{ required: false, type: 'string', message: '行业编码 值不能为空', trigger: 'blur' },
],
ownershipcode: [
{ type: 'string', message: '所有权 值必须为字符串类型', trigger: 'change' },
{ type: 'string', message: '所有权 值必须为字符串类型', trigger: 'blur' },
{ required: false, type: 'string', message: '所有权 值不能为空', trigger: 'change' },
{ required: false, type: 'string', message: '所有权 值不能为空', trigger: 'blur' },
],
description: [
{ type: 'string', message: '说明 值必须为字符串类型', trigger: 'change' },
{ type: 'string', message: '说明 值必须为字符串类型', trigger: 'blur' },
{ required: false, type: 'string', message: '说明 值不能为空', trigger: 'change' },
{ required: false, type: 'string', message: '说明 值不能为空', trigger: 'blur' },
],
address1_addressid: [
{ type: 'string', message: '地址 1: ID 值必须为字符串类型', trigger: 'change' },
{ type: 'string', message: '地址 1: ID 值必须为字符串类型', trigger: 'blur' },
{ required: false, type: 'string', message: '地址 1: ID 值不能为空', trigger: 'change' },
{ required: false, type: 'string', message: '地址 1: ID 值不能为空', trigger: 'blur' },
],
address1_name: [
{ type: 'string', message: '地址 1: 名称 值必须为字符串类型', trigger: 'change' },
{ type: 'string', message: '地址 1: 名称 值必须为字符串类型', trigger: 'blur' },
{ required: false, type: 'string', message: '地址 1: 名称 值不能为空', trigger: 'change' },
{ required: false, type: 'string', message: '地址 1: 名称 值不能为空', trigger: 'blur' },
],
address1_addresstypecode: [
{ type: 'string', message: '地址 1: 地址类型 值必须为字符串类型', trigger: 'change' },
{ type: 'string', message: '地址 1: 地址类型 值必须为字符串类型', trigger: 'blur' },
{ required: false, type: 'string', message: '地址 1: 地址类型 值不能为空', trigger: 'change' },
{ required: false, type: 'string', message: '地址 1: 地址类型 值不能为空', trigger: 'blur' },
],
address1_country: [
{ type: 'string', message: '地址 1: 国家/地区 值必须为字符串类型', trigger: 'change' },
{ type: 'string', message: '地址 1: 国家/地区 值必须为字符串类型', trigger: 'blur' },
{ required: false, type: 'string', message: '地址 1: 国家/地区 值不能为空', trigger: 'change' },
{ required: false, type: 'string', message: '地址 1: 国家/地区 值不能为空', trigger: 'blur' },
],
address1_stateorprovince: [
{ type: 'string', message: '地址 1: 省/市/自治区 值必须为字符串类型', trigger: 'change' },
{ type: 'string', message: '地址 1: 省/市/自治区 值必须为字符串类型', trigger: 'blur' },
{ required: false, type: 'string', message: '地址 1: 省/市/自治区 值不能为空', trigger: 'change' },
{ required: false, type: 'string', message: '地址 1: 省/市/自治区 值不能为空', trigger: 'blur' },
],
address1_city: [
{ type: 'string', message: '地址 1: 市/县 值必须为字符串类型', trigger: 'change' },
{ type: 'string', message: '地址 1: 市/县 值必须为字符串类型', trigger: 'blur' },
{ required: false, type: 'string', message: '地址 1: 市/县 值不能为空', trigger: 'change' },
{ required: false, type: 'string', message: '地址 1: 市/县 值不能为空', trigger: 'blur' },
],
address1_county: [
{ type: 'string', message: '地址 1: 县 值必须为字符串类型', trigger: 'change' },
{ type: 'string', message: '地址 1: 县 值必须为字符串类型', trigger: 'blur' },
{ required: false, type: 'string', message: '地址 1: 县 值不能为空', trigger: 'change' },
{ required: false, type: 'string', message: '地址 1: 县 值不能为空', trigger: 'blur' },
],
address1_line1: [
{ type: 'string', message: '地址 1: 街道 1 值必须为字符串类型', trigger: 'change' },
{ type: 'string', message: '地址 1: 街道 1 值必须为字符串类型', trigger: 'blur' },
{ required: false, type: 'string', message: '地址 1: 街道 1 值不能为空', trigger: 'change' },
{ required: false, type: 'string', message: '地址 1: 街道 1 值不能为空', trigger: 'blur' },
],
address1_fax: [
{ type: 'string', message: '地址 1: 传真 值必须为字符串类型', trigger: 'change' },
{ type: 'string', message: '地址 1: 传真 值必须为字符串类型', trigger: 'blur' },
{ required: false, type: 'string', message: '地址 1: 传真 值不能为空', trigger: 'change' },
{ required: false, type: 'string', message: '地址 1: 传真 值不能为空', trigger: 'blur' },
],
address1_freighttermscode: [
{ type: 'string', message: '地址 1: 货运条款 值必须为字符串类型', trigger: 'change' },
{ type: 'string', message: '地址 1: 货运条款 值必须为字符串类型', trigger: 'blur' },
{ required: false, type: 'string', message: '地址 1: 货运条款 值不能为空', trigger: 'change' },
{ required: false, type: 'string', message: '地址 1: 货运条款 值不能为空', trigger: 'blur' },
],
address1_postalcode: [
{ type: 'string', message: '地址 1: 邮政编码 值必须为字符串类型', trigger: 'change' },
{ type: 'string', message: '地址 1: 邮政编码 值必须为字符串类型', trigger: 'blur' },
{ required: false, type: 'string', message: '地址 1: 邮政编码 值不能为空', trigger: 'change' },
{ required: false, type: 'string', message: '地址 1: 邮政编码 值不能为空', trigger: 'blur' },
],
preferredcontactmethodcode: [
{ type: 'string', message: '首选联系方式 值必须为字符串类型', trigger: 'change' },
{ type: 'string', message: '首选联系方式 值必须为字符串类型', trigger: 'blur' },
{ required: false, type: 'string', message: '首选联系方式 值不能为空', trigger: 'change' },
{ required: false, type: 'string', message: '首选联系方式 值不能为空', trigger: 'blur' },
],
donotemail: [
{ type: 'number', message: '不允许使用电子邮件 值必须为数值类型', trigger: 'change' },
{ type: 'number', message: '不允许使用电子邮件 值必须为数值类型', trigger: 'blur' },
{ required: false, type: 'number', message: '不允许使用电子邮件 值不能为空', trigger: 'change' },
{ required: false, type: 'number', message: '不允许使用电子邮件 值不能为空', trigger: 'blur' },
],
donotbulkemail: [
{ type: 'number', message: '不允许使用批量电子邮件 值必须为数值类型', trigger: 'change' },
{ type: 'number', message: '不允许使用批量电子邮件 值必须为数值类型', trigger: 'blur' },
{ required: false, type: 'number', message: '不允许使用批量电子邮件 值不能为空', trigger: 'change' },
{ required: false, type: 'number', message: '不允许使用批量电子邮件 值不能为空', trigger: 'blur' },
],
donotphone: [
{ type: 'number', message: '不允许电话联络 值必须为数值类型', trigger: 'change' },
{ type: 'number', message: '不允许电话联络 值必须为数值类型', trigger: 'blur' },
{ required: false, type: 'number', message: '不允许电话联络 值不能为空', trigger: 'change' },
{ required: false, type: 'number', message: '不允许电话联络 值不能为空', trigger: 'blur' },
],
donotfax: [
{ type: 'number', message: '不允许使用传真 值必须为数值类型', trigger: 'change' },
{ type: 'number', message: '不允许使用传真 值必须为数值类型', trigger: 'blur' },
{ required: false, type: 'number', message: '不允许使用传真 值不能为空', trigger: 'change' },
{ required: false, type: 'number', message: '不允许使用传真 值不能为空', trigger: 'blur' },
],
donotpostalmail: [
{ type: 'number', message: '不允许使用邮件 值必须为数值类型', trigger: 'change' },
{ type: 'number', message: '不允许使用邮件 值必须为数值类型', trigger: 'blur' },
{ required: false, type: 'number', message: '不允许使用邮件 值不能为空', trigger: 'change' },
{ required: false, type: 'number', message: '不允许使用邮件 值不能为空', trigger: 'blur' },
],
defaultpricelevelid: [
{ type: 'string', message: '价目表 值必须为字符串类型', trigger: 'change' },
{ type: 'string', message: '价目表 值必须为字符串类型', trigger: 'blur' },
{ required: false, type: 'string', message: '价目表 值不能为空', trigger: 'change' },
{ required: false, type: 'string', message: '价目表 值不能为空', trigger: 'blur' },
],
parentaccountid: [
{ type: 'string', message: '上级单位 值必须为字符串类型', trigger: 'change' },
{ type: 'string', message: '上级单位 值必须为字符串类型', trigger: 'blur' },
{ required: false, type: 'string', message: '上级单位 值不能为空', trigger: 'change' },
{ required: false, type: 'string', message: '上级单位 值不能为空', trigger: 'blur' },
], ],
accountid: [ accountid: [
{ type: 'string', message: '客户 值必须为字符串类型', trigger: 'change' }, { type: 'string', message: '客户 值必须为字符串类型', trigger: 'change' },
...@@ -524,13 +965,15 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -524,13 +965,15 @@ export default class MainBase extends Vue implements ControlInterface {
* @memberof Main * @memberof Main
*/ */
public detailsModel: any = { public detailsModel: any = {
group1: new FormGroupPanelModel({ caption: 'account基本信息', detailType: 'GROUPPANEL', name: 'group1', visible: true, isShowCaption: true, form: this, uiActionGroup: { caption: '', langbase: 'entities.account.main_form', extractMode: 'ITEM', details: [] } }) group1: new FormGroupPanelModel({ caption: '账户信息', detailType: 'GROUPPANEL', name: 'group1', visible: true, isShowCaption: true, form: this, uiActionGroup: { caption: '', langbase: 'entities.account.main_form', extractMode: 'ITEM', details: [] } })
, ,
formpage1: new FormPageModel({ caption: '基本信息', detailType: 'FORMPAGE', name: 'formpage1', visible: true, isShowCaption: true, form: this }) grouppanel3: new FormGroupPanelModel({ caption: '简介', detailType: 'GROUPPANEL', name: 'grouppanel3', visible: true, isShowCaption: true, form: this, uiActionGroup: { caption: '', langbase: 'entities.account.main_form', extractMode: 'ITEM', details: [] } })
, ,
group2: new FormGroupPanelModel({ caption: '操作信息', detailType: 'GROUPPANEL', name: 'group2', visible: true, isShowCaption: true, form: this, uiActionGroup: { caption: '', langbase: 'entities.account.main_form', extractMode: 'ITEM', details: [] } }) grouppanel1: new FormGroupPanelModel({ caption: '地址信息', detailType: 'GROUPPANEL', name: 'grouppanel1', visible: true, isShowCaption: true, form: this, uiActionGroup: { caption: '', langbase: 'entities.account.main_form', extractMode: 'ITEM', details: [] } })
, ,
formpage2: new FormPageModel({ caption: '其它', detailType: 'FORMPAGE', name: 'formpage2', visible: true, isShowCaption: true, form: this }) grouppanel2: new FormGroupPanelModel({ caption: '联系人首选项', detailType: 'GROUPPANEL', name: 'grouppanel2', visible: true, isShowCaption: true, form: this, uiActionGroup: { caption: '', langbase: 'entities.account.main_form', extractMode: 'ITEM', details: [] } })
,
formpage1: new FormPageModel({ caption: '基本信息', detailType: 'FORMPAGE', name: 'formpage1', visible: true, isShowCaption: true, form: this })
, ,
srfupdatedate: new FormItemModel({ caption: '更新时间', detailType: 'FORMITEM', name: 'srfupdatedate', visible: true, isShowCaption: true, form: this, disabled: false, enableCond: 0 }) srfupdatedate: new FormItemModel({ caption: '更新时间', detailType: 'FORMITEM', name: 'srfupdatedate', visible: true, isShowCaption: true, form: this, disabled: false, enableCond: 0 })
, ,
...@@ -550,17 +993,68 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -550,17 +993,68 @@ export default class MainBase extends Vue implements ControlInterface {
, ,
accountname: new FormItemModel({ caption: '客户名称', detailType: 'FORMITEM', name: 'accountname', visible: true, isShowCaption: true, form: this, disabled: false, enableCond: 3 }) accountname: new FormItemModel({ caption: '客户名称', detailType: 'FORMITEM', name: 'accountname', visible: true, isShowCaption: true, form: this, disabled: false, enableCond: 3 })
, ,
createman: new FormItemModel({ caption: '建立人', detailType: 'FORMITEM', name: 'createman', visible: true, isShowCaption: true, form: this, disabled: false, enableCond: 0 }) telephone1: new FormItemModel({ caption: '主要电话', detailType: 'FORMITEM', name: 'telephone1', 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 })
,
websiteurl: new FormItemModel({ caption: '网站', detailType: 'FORMITEM', name: 'websiteurl', visible: true, isShowCaption: true, form: this, disabled: false, enableCond: 3 })
,
parentaccountname: new FormItemModel({ caption: '上级单位', detailType: 'FORMITEM', name: 'parentaccountname', visible: true, isShowCaption: true, form: this, disabled: false, enableCond: 3 })
,
tickersymbol: new FormItemModel({ caption: '股票代号', detailType: 'FORMITEM', name: 'tickersymbol', visible: true, isShowCaption: true, form: this, disabled: false, enableCond: 3 })
,
customertypecode: new FormItemModel({ caption: '关系类型', detailType: 'FORMITEM', name: 'customertypecode', visible: true, isShowCaption: true, form: this, disabled: false, enableCond: 3 })
,
defaultpricelevelname: new FormItemModel({ caption: '价目表', detailType: 'FORMITEM', name: 'defaultpricelevelname', 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 })
,
sic: new FormItemModel({ caption: '行业编码', detailType: 'FORMITEM', name: 'sic', visible: true, isShowCaption: true, form: this, disabled: false, enableCond: 3 })
,
ownershipcode: new FormItemModel({ caption: '所有权', detailType: 'FORMITEM', name: 'ownershipcode', 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 })
,
address1_addressid: new FormItemModel({ caption: '地址 1: ID', detailType: 'FORMITEM', name: 'address1_addressid', visible: true, isShowCaption: true, form: this, disabled: false, enableCond: 3 })
,
address1_name: new FormItemModel({ caption: '地址 1: 名称', detailType: 'FORMITEM', name: 'address1_name', visible: true, isShowCaption: true, form: this, disabled: false, enableCond: 3 })
,
address1_addresstypecode: new FormItemModel({ caption: '地址 1: 地址类型', detailType: 'FORMITEM', name: 'address1_addresstypecode', visible: true, isShowCaption: true, form: this, disabled: false, enableCond: 3 })
,
address1_country: new FormItemModel({ caption: '地址 1: 国家/地区', detailType: 'FORMITEM', name: 'address1_country', visible: true, isShowCaption: true, form: this, disabled: false, enableCond: 3 })
,
address1_stateorprovince: new FormItemModel({ caption: '地址 1: 省/市/自治区', detailType: 'FORMITEM', name: 'address1_stateorprovince', visible: true, isShowCaption: true, form: this, disabled: false, enableCond: 3 })
,
address1_city: new FormItemModel({ caption: '地址 1: 市/县', detailType: 'FORMITEM', name: 'address1_city', visible: true, isShowCaption: true, form: this, disabled: false, enableCond: 3 })
,
address1_county: new FormItemModel({ caption: '地址 1: 县', detailType: 'FORMITEM', name: 'address1_county', visible: true, isShowCaption: true, form: this, disabled: false, enableCond: 3 })
,
address1_line1: new FormItemModel({ caption: '地址 1: 街道 1', detailType: 'FORMITEM', name: 'address1_line1', visible: true, isShowCaption: true, form: this, disabled: false, enableCond: 3 })
,
address1_fax: new FormItemModel({ caption: '地址 1: 传真', detailType: 'FORMITEM', name: 'address1_fax', visible: true, isShowCaption: true, form: this, disabled: false, enableCond: 3 })
,
address1_freighttermscode: new FormItemModel({ caption: '地址 1: 货运条款', detailType: 'FORMITEM', name: 'address1_freighttermscode', visible: true, isShowCaption: true, form: this, disabled: false, enableCond: 3 })
,
address1_postalcode: new FormItemModel({ caption: '地址 1: 邮政编码', detailType: 'FORMITEM', name: 'address1_postalcode', visible: true, isShowCaption: true, form: this, disabled: false, enableCond: 3 })
,
preferredcontactmethodcode: new FormItemModel({ caption: '首选联系方式', detailType: 'FORMITEM', name: 'preferredcontactmethodcode', visible: true, isShowCaption: true, form: this, disabled: false, enableCond: 3 })
, ,
createdate: new FormItemModel({ caption: '建立时间', detailType: 'FORMITEM', name: 'createdate', visible: true, isShowCaption: true, form: this, disabled: false, enableCond: 0 }) donotemail: new FormItemModel({ caption: '不允许使用电子邮件', detailType: 'FORMITEM', name: 'donotemail', visible: true, isShowCaption: true, form: this, disabled: false, enableCond: 3 })
, ,
updateman: new FormItemModel({ caption: '更新人', detailType: 'FORMITEM', name: 'updateman', visible: true, isShowCaption: true, form: this, disabled: false, enableCond: 0 }) donotbulkemail: new FormItemModel({ caption: '不允许使用批量电子邮件', detailType: 'FORMITEM', name: 'donotbulkemail', visible: true, isShowCaption: true, form: this, disabled: false, enableCond: 3 })
, ,
updatedate: new FormItemModel({ caption: '更新时间', detailType: 'FORMITEM', name: 'updatedate', visible: true, isShowCaption: true, form: this, disabled: false, enableCond: 0 }) donotphone: new FormItemModel({ caption: '不允许电话联络', detailType: 'FORMITEM', name: 'donotphone', visible: true, isShowCaption: true, form: this, disabled: false, enableCond: 3 })
,
donotfax: new FormItemModel({ caption: '不允许使用传真', detailType: 'FORMITEM', name: 'donotfax', visible: true, isShowCaption: true, form: this, disabled: false, enableCond: 3 })
,
donotpostalmail: new FormItemModel({ caption: '不允许使用邮件', detailType: 'FORMITEM', name: 'donotpostalmail', visible: true, isShowCaption: true, form: this, disabled: false, enableCond: 3 })
,
defaultpricelevelid: new FormItemModel({ caption: '价目表', detailType: 'FORMITEM', name: 'defaultpricelevelid', visible: true, isShowCaption: true, form: this, disabled: false, enableCond: 3 })
,
parentaccountid: new FormItemModel({ caption: '上级单位', detailType: 'FORMITEM', name: 'parentaccountid', visible: true, isShowCaption: true, form: this, disabled: false, enableCond: 3 })
, ,
accountid: new FormItemModel({ caption: '客户', detailType: 'FORMITEM', name: 'accountid', visible: true, isShowCaption: true, form: this, disabled: false, enableCond: 1 }) accountid: new FormItemModel({ caption: '客户', detailType: 'FORMITEM', name: 'accountid', visible: true, isShowCaption: true, form: this, disabled: false, enableCond: 1 })
, ,
form: new FormTabPanelModel({ caption: 'form', detailType: 'TABPANEL', name: 'form', visible: true, isShowCaption: true, form: this, tabPages: [{ name: 'formpage1', index: 0, visible: true }, { name: 'formpage2', index: 1, visible: true }] }),
}; };
/** /**
...@@ -672,51 +1166,363 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -672,51 +1166,363 @@ export default class MainBase extends Vue implements ControlInterface {
} }
/** /**
* 监控表单属性 createman 值 * 监控表单属性 telephone1 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof Main
*/
@Watch('data.telephone1')
onTelephone1Change(newVal: any, oldVal: any) {
this.formDataChange({ name: 'telephone1', newVal: newVal, oldVal: oldVal });
}
/**
* 监控表单属性 fax 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof Main
*/
@Watch('data.fax')
onFaxChange(newVal: any, oldVal: any) {
this.formDataChange({ name: 'fax', newVal: newVal, oldVal: oldVal });
}
/**
* 监控表单属性 websiteurl 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof Main
*/
@Watch('data.websiteurl')
onWebsiteurlChange(newVal: any, oldVal: any) {
this.formDataChange({ name: 'websiteurl', newVal: newVal, oldVal: oldVal });
}
/**
* 监控表单属性 parentaccountname 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof Main
*/
@Watch('data.parentaccountname')
onParentaccountnameChange(newVal: any, oldVal: any) {
this.formDataChange({ name: 'parentaccountname', newVal: newVal, oldVal: oldVal });
}
/**
* 监控表单属性 tickersymbol 值
* *
* @param {*} newVal * @param {*} newVal
* @param {*} oldVal * @param {*} oldVal
* @memberof Main * @memberof Main
*/ */
@Watch('data.createman') @Watch('data.tickersymbol')
onCreatemanChange(newVal: any, oldVal: any) { onTickersymbolChange(newVal: any, oldVal: any) {
this.formDataChange({ name: 'createman', newVal: newVal, oldVal: oldVal }); this.formDataChange({ name: 'tickersymbol', newVal: newVal, oldVal: oldVal });
} }
/** /**
* 监控表单属性 createdate 值 * 监控表单属性 customertypecode 值
* *
* @param {*} newVal * @param {*} newVal
* @param {*} oldVal * @param {*} oldVal
* @memberof Main * @memberof Main
*/ */
@Watch('data.createdate') @Watch('data.customertypecode')
onCreatedateChange(newVal: any, oldVal: any) { onCustomertypecodeChange(newVal: any, oldVal: any) {
this.formDataChange({ name: 'createdate', newVal: newVal, oldVal: oldVal }); this.formDataChange({ name: 'customertypecode', newVal: newVal, oldVal: oldVal });
} }
/** /**
* 监控表单属性 updateman * 监控表单属性 defaultpricelevelname
* *
* @param {*} newVal * @param {*} newVal
* @param {*} oldVal * @param {*} oldVal
* @memberof Main * @memberof Main
*/ */
@Watch('data.updateman') @Watch('data.defaultpricelevelname')
onUpdatemanChange(newVal: any, oldVal: any) { onDefaultpricelevelnameChange(newVal: any, oldVal: any) {
this.formDataChange({ name: 'updateman', newVal: newVal, oldVal: oldVal }); this.formDataChange({ name: 'defaultpricelevelname', newVal: newVal, oldVal: oldVal });
} }
/** /**
* 监控表单属性 updatedate 值 * 监控表单属性 industrycode 值
* *
* @param {*} newVal * @param {*} newVal
* @param {*} oldVal * @param {*} oldVal
* @memberof Main * @memberof Main
*/ */
@Watch('data.updatedate') @Watch('data.industrycode')
onUpdatedateChange(newVal: any, oldVal: any) { onIndustrycodeChange(newVal: any, oldVal: any) {
this.formDataChange({ name: 'updatedate', newVal: newVal, oldVal: oldVal }); this.formDataChange({ name: 'industrycode', newVal: newVal, oldVal: oldVal });
}
/**
* 监控表单属性 sic 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof Main
*/
@Watch('data.sic')
onSicChange(newVal: any, oldVal: any) {
this.formDataChange({ name: 'sic', newVal: newVal, oldVal: oldVal });
}
/**
* 监控表单属性 ownershipcode 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof Main
*/
@Watch('data.ownershipcode')
onOwnershipcodeChange(newVal: any, oldVal: any) {
this.formDataChange({ name: 'ownershipcode', newVal: newVal, oldVal: oldVal });
}
/**
* 监控表单属性 description 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof Main
*/
@Watch('data.description')
onDescriptionChange(newVal: any, oldVal: any) {
this.formDataChange({ name: 'description', newVal: newVal, oldVal: oldVal });
}
/**
* 监控表单属性 address1_addressid 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof Main
*/
@Watch('data.address1_addressid')
onAddress1_addressidChange(newVal: any, oldVal: any) {
this.formDataChange({ name: 'address1_addressid', newVal: newVal, oldVal: oldVal });
}
/**
* 监控表单属性 address1_name 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof Main
*/
@Watch('data.address1_name')
onAddress1_nameChange(newVal: any, oldVal: any) {
this.formDataChange({ name: 'address1_name', newVal: newVal, oldVal: oldVal });
}
/**
* 监控表单属性 address1_addresstypecode 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof Main
*/
@Watch('data.address1_addresstypecode')
onAddress1_addresstypecodeChange(newVal: any, oldVal: any) {
this.formDataChange({ name: 'address1_addresstypecode', newVal: newVal, oldVal: oldVal });
}
/**
* 监控表单属性 address1_country 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof Main
*/
@Watch('data.address1_country')
onAddress1_countryChange(newVal: any, oldVal: any) {
this.formDataChange({ name: 'address1_country', newVal: newVal, oldVal: oldVal });
}
/**
* 监控表单属性 address1_stateorprovince 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof Main
*/
@Watch('data.address1_stateorprovince')
onAddress1_stateorprovinceChange(newVal: any, oldVal: any) {
this.formDataChange({ name: 'address1_stateorprovince', newVal: newVal, oldVal: oldVal });
}
/**
* 监控表单属性 address1_city 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof Main
*/
@Watch('data.address1_city')
onAddress1_cityChange(newVal: any, oldVal: any) {
this.formDataChange({ name: 'address1_city', newVal: newVal, oldVal: oldVal });
}
/**
* 监控表单属性 address1_county 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof Main
*/
@Watch('data.address1_county')
onAddress1_countyChange(newVal: any, oldVal: any) {
this.formDataChange({ name: 'address1_county', newVal: newVal, oldVal: oldVal });
}
/**
* 监控表单属性 address1_line1 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof Main
*/
@Watch('data.address1_line1')
onAddress1_line1Change(newVal: any, oldVal: any) {
this.formDataChange({ name: 'address1_line1', newVal: newVal, oldVal: oldVal });
}
/**
* 监控表单属性 address1_fax 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof Main
*/
@Watch('data.address1_fax')
onAddress1_faxChange(newVal: any, oldVal: any) {
this.formDataChange({ name: 'address1_fax', newVal: newVal, oldVal: oldVal });
}
/**
* 监控表单属性 address1_freighttermscode 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof Main
*/
@Watch('data.address1_freighttermscode')
onAddress1_freighttermscodeChange(newVal: any, oldVal: any) {
this.formDataChange({ name: 'address1_freighttermscode', newVal: newVal, oldVal: oldVal });
}
/**
* 监控表单属性 address1_postalcode 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof Main
*/
@Watch('data.address1_postalcode')
onAddress1_postalcodeChange(newVal: any, oldVal: any) {
this.formDataChange({ name: 'address1_postalcode', newVal: newVal, oldVal: oldVal });
}
/**
* 监控表单属性 preferredcontactmethodcode 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof Main
*/
@Watch('data.preferredcontactmethodcode')
onPreferredcontactmethodcodeChange(newVal: any, oldVal: any) {
this.formDataChange({ name: 'preferredcontactmethodcode', newVal: newVal, oldVal: oldVal });
}
/**
* 监控表单属性 donotemail 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof Main
*/
@Watch('data.donotemail')
onDonotemailChange(newVal: any, oldVal: any) {
this.formDataChange({ name: 'donotemail', newVal: newVal, oldVal: oldVal });
}
/**
* 监控表单属性 donotbulkemail 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof Main
*/
@Watch('data.donotbulkemail')
onDonotbulkemailChange(newVal: any, oldVal: any) {
this.formDataChange({ name: 'donotbulkemail', newVal: newVal, oldVal: oldVal });
}
/**
* 监控表单属性 donotphone 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof Main
*/
@Watch('data.donotphone')
onDonotphoneChange(newVal: any, oldVal: any) {
this.formDataChange({ name: 'donotphone', newVal: newVal, oldVal: oldVal });
}
/**
* 监控表单属性 donotfax 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof Main
*/
@Watch('data.donotfax')
onDonotfaxChange(newVal: any, oldVal: any) {
this.formDataChange({ name: 'donotfax', newVal: newVal, oldVal: oldVal });
}
/**
* 监控表单属性 donotpostalmail 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof Main
*/
@Watch('data.donotpostalmail')
onDonotpostalmailChange(newVal: any, oldVal: any) {
this.formDataChange({ name: 'donotpostalmail', newVal: newVal, oldVal: oldVal });
}
/**
* 监控表单属性 defaultpricelevelid 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof Main
*/
@Watch('data.defaultpricelevelid')
onDefaultpricelevelidChange(newVal: any, oldVal: any) {
this.formDataChange({ name: 'defaultpricelevelid', newVal: newVal, oldVal: oldVal });
}
/**
* 监控表单属性 parentaccountid 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof Main
*/
@Watch('data.parentaccountid')
onParentaccountidChange(newVal: any, oldVal: any) {
this.formDataChange({ name: 'parentaccountid', newVal: newVal, oldVal: oldVal });
} }
/** /**
...@@ -785,6 +1591,33 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -785,6 +1591,33 @@ export default class MainBase extends Vue implements ControlInterface {
} }
/** /**
......
...@@ -61,24 +61,154 @@ export default class MainModel { ...@@ -61,24 +61,154 @@ export default class MainModel {
dataType: 'TEXT', dataType: 'TEXT',
}, },
{ {
name: 'createman', name: 'telephone1',
prop: 'createman', prop: 'telephone1',
dataType: 'TEXT', dataType: 'TEXT',
}, },
{ {
name: 'createdate', name: 'fax',
prop: 'createdate', prop: 'fax',
dataType: 'DATETIME', dataType: 'TEXT',
}, },
{ {
name: 'updateman', name: 'websiteurl',
prop: 'updateman', prop: 'websiteurl',
dataType: 'TEXT', dataType: 'TEXT',
}, },
{ {
name: 'updatedate', name: 'parentaccountname',
prop: 'updatedate', prop: 'parentaccountname',
dataType: 'DATETIME', dataType: 'PICKUPTEXT',
},
{
name: 'tickersymbol',
prop: 'tickersymbol',
dataType: 'TEXT',
},
{
name: 'customertypecode',
prop: 'customertypecode',
dataType: 'SSCODELIST',
},
{
name: 'defaultpricelevelname',
prop: 'defaultpricelevelname',
dataType: 'PICKUPTEXT',
},
{
name: 'industrycode',
prop: 'industrycode',
dataType: 'SSCODELIST',
},
{
name: 'sic',
prop: 'sic',
dataType: 'TEXT',
},
{
name: 'ownershipcode',
prop: 'ownershipcode',
dataType: 'SSCODELIST',
},
{
name: 'description',
prop: 'description',
dataType: 'TEXT',
},
{
name: 'address1_addressid',
prop: 'address1_addressid',
dataType: 'TEXT',
},
{
name: 'address1_name',
prop: 'address1_name',
dataType: 'TEXT',
},
{
name: 'address1_addresstypecode',
prop: 'address1_addresstypecode',
dataType: 'SSCODELIST',
},
{
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_county',
prop: 'address1_county',
dataType: 'TEXT',
},
{
name: 'address1_line1',
prop: 'address1_line1',
dataType: 'TEXT',
},
{
name: 'address1_fax',
prop: 'address1_fax',
dataType: 'TEXT',
},
{
name: 'address1_freighttermscode',
prop: 'address1_freighttermscode',
dataType: 'SSCODELIST',
},
{
name: 'address1_postalcode',
prop: 'address1_postalcode',
dataType: 'TEXT',
},
{
name: 'preferredcontactmethodcode',
prop: 'preferredcontactmethodcode',
dataType: 'SSCODELIST',
},
{
name: 'donotemail',
prop: 'donotemail',
dataType: 'YESNO',
},
{
name: 'donotbulkemail',
prop: 'donotbulkemail',
dataType: 'YESNO',
},
{
name: 'donotphone',
prop: 'donotphone',
dataType: 'YESNO',
},
{
name: 'donotfax',
prop: 'donotfax',
dataType: 'YESNO',
},
{
name: 'donotpostalmail',
prop: 'donotpostalmail',
dataType: 'YESNO',
},
{
name: 'defaultpricelevelid',
prop: 'defaultpricelevelid',
dataType: 'PICKUP',
},
{
name: 'parentaccountid',
prop: 'parentaccountid',
dataType: 'PICKUP',
}, },
{ {
name: 'accountid', name: 'accountid',
......
...@@ -2,6 +2,7 @@ import { Http,Util,Errorlog } from '@/utils'; ...@@ -2,6 +2,7 @@ import { Http,Util,Errorlog } from '@/utils';
import ControlService from '@/widgets/control-service'; import ControlService from '@/widgets/control-service';
import AccountService from '@/service/account/account-service'; import AccountService from '@/service/account/account-service';
import MainModel from './main-form-model'; import MainModel from './main-form-model';
import PriceLevelService from '@/service/price-level/price-level-service';
/** /**
...@@ -41,6 +42,14 @@ export default class MainService extends ControlService { ...@@ -41,6 +42,14 @@ export default class MainService extends ControlService {
this.model = new MainModel(); this.model = new MainModel();
} }
/**
* 价目表服务对象
*
* @type {PriceLevelService}
* @memberof MainService
*/
public pricelevelService: PriceLevelService = new PriceLevelService();
/** /**
* 处理数据 * 处理数据
* *
...@@ -80,6 +89,12 @@ export default class MainService extends ControlService { ...@@ -80,6 +89,12 @@ export default class MainService extends ControlService {
*/ */
@Errorlog @Errorlog
public getItems(serviceName: string, interfaceName: string, context: any = {}, data: any, isloading?: boolean): Promise<any[]> { public getItems(serviceName: string, interfaceName: string, context: any = {}, data: any, isloading?: boolean): Promise<any[]> {
if (Object.is(serviceName, 'AccountService') && Object.is(interfaceName, 'FetchDefault')) {
return this.doItems(this.appEntityService.FetchDefault(JSON.parse(JSON.stringify(context)), data, isloading), 'accountid', 'account');
}
if (Object.is(serviceName, 'PriceLevelService') && Object.is(interfaceName, 'FetchDefault')) {
return this.doItems(this.pricelevelService.FetchDefault(JSON.parse(JSON.stringify(context)),data, isloading), 'pricelevelid', 'pricelevel');
}
return Promise.reject([]) return Promise.reject([])
} }
......
...@@ -4480,7 +4480,7 @@ ...@@ -4480,7 +4480,7 @@
<!--输出实体[ACCOUNT]数据结构 --> <!--输出实体[ACCOUNT]数据结构 -->
<changeSet author="a_LAB01_e85d8801c" id="tab-account-96-53"> <changeSet author="a_LAB01_e85d8801c" id="tab-account-118-53">
<createTable tableName="ACCOUNT"> <createTable tableName="ACCOUNT">
<column name="ADDRESS1_PRIMARYCONTACTNAME" remarks="" type="VARCHAR(100)"> <column name="ADDRESS1_PRIMARYCONTACTNAME" remarks="" type="VARCHAR(100)">
</column> </column>
...@@ -11074,31 +11074,31 @@ ...@@ -11074,31 +11074,31 @@
<addForeignKeyConstraint baseColumnNames="METRICID" baseTableName="GOAL" constraintName="DER1N_GOAL__METRIC__METRICID" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="METRICID" referencedTableName="METRIC" validate="true"/> <addForeignKeyConstraint baseColumnNames="METRICID" baseTableName="GOAL" constraintName="DER1N_GOAL__METRIC__METRICID" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="METRICID" referencedTableName="METRIC" validate="true"/>
</changeSet> </changeSet>
<!--输出实体[ACCOUNT]外键关系 --> <!--输出实体[ACCOUNT]外键关系 -->
<changeSet author="a_LAB01_e85d8801c" id="fk-account-96-246"> <changeSet author="a_LAB01_e85d8801c" id="fk-account-118-246">
<addForeignKeyConstraint baseColumnNames="PARENTACCOUNTID" baseTableName="ACCOUNT" constraintName="DER1N_ACCOUNT__ACCOUNT__PARENT" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="ACCOUNTID" referencedTableName="ACCOUNT" validate="true"/> <addForeignKeyConstraint baseColumnNames="PARENTACCOUNTID" baseTableName="ACCOUNT" constraintName="DER1N_ACCOUNT__ACCOUNT__PARENT" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="ACCOUNTID" referencedTableName="ACCOUNT" validate="true"/>
</changeSet> </changeSet>
<changeSet author="a_LAB01_e85d8801c" id="fk-account-96-247"> <changeSet author="a_LAB01_e85d8801c" id="fk-account-118-247">
<addForeignKeyConstraint baseColumnNames="PRIMARYCONTACTID" baseTableName="ACCOUNT" constraintName="DER1N_ACCOUNT__CONTACT__PRIMAR" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="CONTACTID" referencedTableName="CONTACT" validate="true"/> <addForeignKeyConstraint baseColumnNames="PRIMARYCONTACTID" baseTableName="ACCOUNT" constraintName="DER1N_ACCOUNT__CONTACT__PRIMAR" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="CONTACTID" referencedTableName="CONTACT" validate="true"/>
</changeSet> </changeSet>
<changeSet author="a_LAB01_e85d8801c" id="fk-account-96-248"> <changeSet author="a_LAB01_e85d8801c" id="fk-account-118-248">
<addForeignKeyConstraint baseColumnNames="PREFERREDEQUIPMENTID" baseTableName="ACCOUNT" constraintName="DER1N_ACCOUNT__EQUIPMENT__PREF" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="EQUIPMENTID" referencedTableName="EQUIPMENT" validate="true"/> <addForeignKeyConstraint baseColumnNames="PREFERREDEQUIPMENTID" baseTableName="ACCOUNT" constraintName="DER1N_ACCOUNT__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-account-96-249"> <changeSet author="a_LAB01_e85d8801c" id="fk-account-118-249">
<addForeignKeyConstraint baseColumnNames="ORIGINATINGLEADID" baseTableName="ACCOUNT" constraintName="DER1N_ACCOUNT__LEAD__ORIGINATI" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="LEADID" referencedTableName="LEAD" validate="true"/> <addForeignKeyConstraint baseColumnNames="ORIGINATINGLEADID" baseTableName="ACCOUNT" constraintName="DER1N_ACCOUNT__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-account-96-250"> <changeSet author="a_LAB01_e85d8801c" id="fk-account-118-250">
<addForeignKeyConstraint baseColumnNames="DEFAULTPRICELEVELID" baseTableName="ACCOUNT" constraintName="DER1N_ACCOUNT__PRICELEVEL__DEF" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="PRICELEVELID" referencedTableName="PRICELEVEL" validate="true"/> <addForeignKeyConstraint baseColumnNames="DEFAULTPRICELEVELID" baseTableName="ACCOUNT" constraintName="DER1N_ACCOUNT__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-account-96-251"> <changeSet author="a_LAB01_e85d8801c" id="fk-account-118-251">
<addForeignKeyConstraint baseColumnNames="PREFERREDSERVICEID" baseTableName="ACCOUNT" constraintName="DER1N_ACCOUNT__SERVICE__PREFER" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="SERVICEID" referencedTableName="SERVICE" validate="true"/> <addForeignKeyConstraint baseColumnNames="PREFERREDSERVICEID" baseTableName="ACCOUNT" constraintName="DER1N_ACCOUNT__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-account-96-252"> <changeSet author="a_LAB01_e85d8801c" id="fk-account-118-252">
<addForeignKeyConstraint baseColumnNames="SLAID" baseTableName="ACCOUNT" constraintName="DER1N_ACCOUNT__SLA__SLAID" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="SLAID" referencedTableName="SLA" validate="true"/> <addForeignKeyConstraint baseColumnNames="SLAID" baseTableName="ACCOUNT" constraintName="DER1N_ACCOUNT__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-account-96-253"> <changeSet author="a_LAB01_e85d8801c" id="fk-account-118-253">
<addForeignKeyConstraint baseColumnNames="TERRITORYID" baseTableName="ACCOUNT" constraintName="DER1N_ACCOUNT__TERRITORY__TERR" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="TERRITORYID" referencedTableName="TERRITORY" validate="true"/> <addForeignKeyConstraint baseColumnNames="TERRITORYID" baseTableName="ACCOUNT" constraintName="DER1N_ACCOUNT__TERRITORY__TERR" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="TERRITORYID" referencedTableName="TERRITORY" validate="true"/>
</changeSet> </changeSet>
<changeSet author="a_LAB01_e85d8801c" id="fk-account-96-254"> <changeSet author="a_LAB01_e85d8801c" id="fk-account-118-254">
<addForeignKeyConstraint baseColumnNames="TRANSACTIONCURRENCYID" baseTableName="ACCOUNT" constraintName="DER1N_ACCOUNT__TRANSACTIONCURR" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="TRANSACTIONCURRENCYID" referencedTableName="TRANSACTIONCURRENCY" validate="true"/> <addForeignKeyConstraint baseColumnNames="TRANSACTIONCURRENCYID" baseTableName="ACCOUNT" constraintName="DER1N_ACCOUNT__TRANSACTIONCURR" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="TRANSACTIONCURRENCYID" referencedTableName="TRANSACTIONCURRENCY" validate="true"/>
</changeSet> </changeSet>
<!--输出实体[KNOWLEDGEARTICLEVIEWS]外键关系 --> <!--输出实体[KNOWLEDGEARTICLEVIEWS]外键关系 -->
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册