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

lab_gzf 发布系统代码

上级 3b52b454
......@@ -459,6 +459,16 @@
"viewtag": "3cf1d1097fdbdea6d7fb32cf7ff09d04",
"memo": ""
},
"competitorsalesliteraturesallitprogridview": {
"title": "宣传资料竞争对手明细",
"caption": "竞争对手宣传资料",
"viewtype": "DEGRIDVIEW",
"viewmodule": "Sales",
"viewname": "CompetitorSalesLiteratureSalLitProGridView",
"viewfilename": "competitor-sales-literature-sal-lit-pro-grid-view",
"viewtag": "3d0f1bced23c2757ff4de58b146c2e6e",
"memo": ""
},
"lettereditview": {
"title": "信件编辑视图",
"caption": "信件",
......@@ -469,6 +479,16 @@
"viewtag": "3d538df4ca389d372347f7b53d67269f",
"memo": "系统自动添加"
},
"competitorpickupgridview": {
"title": "竞争对手选择表格视图",
"caption": "竞争对手",
"viewtype": "DEPICKUPGRIDVIEW",
"viewmodule": "Sales",
"viewname": "CompetitorPickupGridView",
"viewfilename": "competitor-pickup-grid-view",
"viewtag": "3de13dd6914e2465d23dab68ccea5cae",
"memo": "系统自动添加"
},
"faxeditview": {
"title": "传真编辑视图",
"caption": "传真",
......@@ -1379,6 +1399,16 @@
"viewtag": "b10964e86f6d70d588618c69fb4d6297",
"memo": ""
},
"competitorpickupview": {
"title": "竞争对手数据选择视图",
"caption": "竞争对手",
"viewtype": "DEPICKUPVIEW",
"viewmodule": "Sales",
"viewname": "CompetitorPickupView",
"viewfilename": "competitor-pickup-view",
"viewtag": "b153b539b40b2ff7a9d81b6c0329cf25",
"memo": "系统自动添加"
},
"productgridview": {
"title": "产品表格视图",
"caption": "产品",
......@@ -1788,5 +1818,15 @@
"viewfilename": "sales-order-detail-soproduct-grid-view",
"viewtag": "fed62991d8068c42d2544ad0a9b4820b",
"memo": ""
},
"competitorsalesliteraturesallitcompeditview": {
"title": "宣传资料竞争对手明细",
"caption": "竞争对手宣传资料",
"viewtype": "DEEDITVIEW",
"viewmodule": "Sales",
"viewname": "CompetitorSalesLiteratureSalLitCompEditView",
"viewfilename": "competitor-sales-literature-sal-lit-comp-edit-view",
"viewtag": "ff4a84c8d487ea42d8f57d04f39ae023",
"memo": ""
}
}
\ No newline at end of file
......@@ -13,4 +13,89 @@ export default {
entityname: "竞争对手",
entity2name: "销售宣传资料",
},
views: {
sallitprogridview: {
caption: "竞争对手宣传资料",
title: "宣传资料竞争对手明细",
},
sallitcompeditview: {
caption: "竞争对手宣传资料",
title: "宣传资料竞争对手明细",
},
},
sallitcomp_form: {
details: {
group1: "竞争对手宣传资料基本信息",
formpage1: "基本信息",
srfupdatedate: "更新时间",
srforikey: "",
srfkey: "关系标识",
srfmajortext: "关系名称",
srftempmode: "",
srfuf: "",
srfdeid: "",
srfsourcekey: "",
entity2id: "销售宣传资料",
entityname: "竞争对手",
relationshipsid: "关系标识",
entityid: "竞争对手",
},
uiactions: {
},
},
sallitcompgrid_grid: {
columns: {
entity2name: "销售宣传资料",
entityname: "竞争对手",
},
uiactions: {
},
},
default_searchform: {
details: {
formpage1: "常规条件",
},
uiactions: {
},
},
sallitprogridviewtoolbar_toolbar: {
tbitem4: {
caption: "Edit",
tip: "Edit {0}",
},
tbitem7: {
caption: "-",
tip: "",
},
tbitem8: {
caption: "Remove",
tip: "Remove {0}",
},
tbitem9: {
caption: "-",
tip: "",
},
tbitem13: {
caption: "Export",
tip: "Export {0} Data To Excel",
},
tbitem10: {
caption: "-",
tip: "",
},
tbitem19: {
caption: "Filter",
tip: "Filter",
},
},
sallitcompeditviewtoolbar_toolbar: {
tbitem1: {
caption: "Save And Close",
tip: "Save And Close Window",
},
tbitem2: {
caption: "关闭",
tip: "关闭",
},
},
};
\ No newline at end of file
......@@ -12,4 +12,89 @@ export default {
entityname: "竞争对手",
entity2name: "销售宣传资料",
},
views: {
sallitprogridview: {
caption: "竞争对手宣传资料",
title: "宣传资料竞争对手明细",
},
sallitcompeditview: {
caption: "竞争对手宣传资料",
title: "宣传资料竞争对手明细",
},
},
sallitcomp_form: {
details: {
group1: "竞争对手宣传资料基本信息",
formpage1: "基本信息",
srfupdatedate: "更新时间",
srforikey: "",
srfkey: "关系标识",
srfmajortext: "关系名称",
srftempmode: "",
srfuf: "",
srfdeid: "",
srfsourcekey: "",
entity2id: "销售宣传资料",
entityname: "竞争对手",
relationshipsid: "关系标识",
entityid: "竞争对手",
},
uiactions: {
},
},
sallitcompgrid_grid: {
columns: {
entity2name: "销售宣传资料",
entityname: "竞争对手",
},
uiactions: {
},
},
default_searchform: {
details: {
formpage1: "常规条件",
},
uiactions: {
},
},
sallitprogridviewtoolbar_toolbar: {
tbitem4: {
caption: "编辑",
tip: "编辑",
},
tbitem7: {
caption: "-",
tip: "",
},
tbitem8: {
caption: "删除",
tip: "删除",
},
tbitem9: {
caption: "-",
tip: "",
},
tbitem13: {
caption: "导出",
tip: "导出",
},
tbitem10: {
caption: "-",
tip: "",
},
tbitem19: {
caption: "过滤",
tip: "过滤",
},
},
sallitcompeditviewtoolbar_toolbar: {
tbitem1: {
caption: "保存并关闭",
tip: "保存并关闭",
},
tbitem2: {
caption: "关闭",
tip: "关闭",
},
},
};
\ No newline at end of file
......@@ -92,6 +92,10 @@ export default {
caption: "竞争对手",
title: "竞争对手编辑视图",
},
pickupgridview: {
caption: "竞争对手",
title: "竞争对手选择表格视图",
},
summary: {
caption: "竞争对手概览",
title: "竞争对手概览",
......@@ -100,6 +104,10 @@ export default {
caption: "竞争对手",
title: "竞争对手",
},
pickupview: {
caption: "竞争对手",
title: "竞争对手数据选择视图",
},
gridview: {
caption: "竞争对手",
title: "竞争对手信息",
......
......@@ -91,6 +91,10 @@ export default {
caption: "竞争对手",
title: "竞争对手编辑视图",
},
pickupgridview: {
caption: "竞争对手",
title: "竞争对手选择表格视图",
},
summary: {
caption: "竞争对手概览",
title: "竞争对手概览",
......@@ -99,6 +103,10 @@ export default {
caption: "竞争对手",
title: "竞争对手",
},
pickupview: {
caption: "竞争对手",
title: "竞争对手数据选择视图",
},
gridview: {
caption: "竞争对手",
title: "竞争对手信息",
......
......@@ -375,6 +375,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname": "ContactInfo_Abstract",
"viewtag": "3cf1d1097fdbdea6d7fb32cf7ff09d04"
},
"competitorsalesliteraturesallitprogridview": {
"title": "宣传资料竞争对手明细",
"caption": "竞争对手宣传资料",
"viewtype": "DEGRIDVIEW",
"viewmodule": "Sales",
"viewname": "CompetitorSalesLiteratureSalLitProGridView",
"viewtag": "3d0f1bced23c2757ff4de58b146c2e6e"
},
"lettereditview": {
"title": "信件编辑视图",
"caption": "信件",
......@@ -383,6 +391,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname": "LetterEditView",
"viewtag": "3d538df4ca389d372347f7b53d67269f"
},
"competitorpickupgridview": {
"title": "竞争对手选择表格视图",
"caption": "竞争对手",
"viewtype": "DEPICKUPGRIDVIEW",
"viewmodule": "Sales",
"viewname": "CompetitorPickupGridView",
"viewtag": "3de13dd6914e2465d23dab68ccea5cae"
},
"faxeditview": {
"title": "传真编辑视图",
"caption": "传真",
......@@ -1111,6 +1127,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname": "IBizListInfo",
"viewtag": "b10964e86f6d70d588618c69fb4d6297"
},
"competitorpickupview": {
"title": "竞争对手数据选择视图",
"caption": "竞争对手",
"viewtype": "DEPICKUPVIEW",
"viewmodule": "Sales",
"viewname": "CompetitorPickupView",
"viewtag": "b153b539b40b2ff7a9d81b6c0329cf25"
},
"productgridview": {
"title": "产品表格视图",
"caption": "产品",
......@@ -1438,6 +1462,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewmodule": "Sales",
"viewname": "SalesOrderDetailSOProductGridView",
"viewtag": "fed62991d8068c42d2544ad0a9b4820b"
},
"competitorsalesliteraturesallitcompeditview": {
"title": "宣传资料竞争对手明细",
"caption": "竞争对手宣传资料",
"viewtype": "DEEDITVIEW",
"viewmodule": "Sales",
"viewname": "CompetitorSalesLiteratureSalLitCompEditView",
"viewtag": "ff4a84c8d487ea42d8f57d04f39ae023"
}
}];
});
\ No newline at end of file
<studio-view-style2 viewName="productsalesliteraturesallitproeditview" viewTitle="宣传资料产品明细" class='deeditview product-sales-literature-sal-lit-pro-edit-view'>
<template slot='title'>
<span class='caption-info'>{{$t(model.srfTitle)}}</span>
</template>
<template slot="toolbar">
<view-toolbar mode="STYLE2" :model="toolBarModels" @item-click="toolbar_click($event)"/> </template>
<view_form
......
<studio-view-style2 viewName="productsalesliteraturesallitprogridview" viewTitle="宣传资料产品明细" class='degridview product-sales-literature-sal-lit-pro-grid-view'>
<template slot='title'>
<span class='caption-info'>{{$t(model.srfTitle)}}</span>
</template>
<i-input slot="quickSearch" v-show="!isExpandSearchForm" v-model="query" search @on-search="onSearch($event)"/>
<template slot="toolbar">
<view-toolbar mode="STYLE2" :model="toolBarModels" @item-click="toolbar_click($event)"/> </template>
......
......@@ -64,6 +64,7 @@ export const PageComponents = {
Vue.component('contact-info-address', () => import('@pages/base/contact-info-address/contact-info-address.vue'));
Vue.component('sales-order-quick-create-view', () => import('@pages/sales/sales-order-quick-create-view/sales-order-quick-create-view.vue'));
Vue.component('lead-quick-create', () => import('@pages/sales/lead-quick-create/lead-quick-create.vue'));
Vue.component('competitor-pickup-grid-view', () => import('@pages/sales/competitor-pickup-grid-view/competitor-pickup-grid-view.vue'));
Vue.component('price-level-pickup-view', () => import('@pages/product/price-level-pickup-view/price-level-pickup-view.vue'));
Vue.component('invoice-summary-view', () => import('@pages/finance/invoice-summary-view/invoice-summary-view.vue'));
Vue.component('opportunity-edit-view', () => import('@pages/sales/opportunity-edit-view/opportunity-edit-view.vue'));
......@@ -113,6 +114,7 @@ export const PageComponents = {
Vue.component('invoice-info-view', () => import('@pages/finance/invoice-info-view/invoice-info-view.vue'));
Vue.component('contact-by-account', () => import('@pages/base/contact-by-account/contact-by-account.vue'));
Vue.component('opportunity-opp-pro-dashboard-view', () => import('@pages/sales/opportunity-opp-pro-dashboard-view/opportunity-opp-pro-dashboard-view.vue'));
Vue.component('competitor-sales-literature-sal-lit-pro-grid-view', () => import('@pages/sales/competitor-sales-literature-sal-lit-pro-grid-view/competitor-sales-literature-sal-lit-pro-grid-view.vue'));
Vue.component('ibiz-list-summary', () => import('@pages/marketing/ibiz-list-summary/ibiz-list-summary.vue'));
Vue.component('sales-literature-item-grid-view', () => import('@pages/sales/sales-literature-item-grid-view/sales-literature-item-grid-view.vue'));
Vue.component('lead-dashboard-view', () => import('@pages/sales/lead-dashboard-view/lead-dashboard-view.vue'));
......@@ -130,13 +132,15 @@ export const PageComponents = {
Vue.component('sales-order-detail-soproduct-grid-view', () => import('@pages/sales/sales-order-detail-soproduct-grid-view/sales-order-detail-soproduct-grid-view.vue'));
Vue.component('account-info-all', () => import('@pages/base/account-info-all/account-info-all.vue'));
Vue.component('opportunity-competitor-edit-view', () => import('@pages/sales/opportunity-competitor-edit-view/opportunity-competitor-edit-view.vue'));
Vue.component('competitor-sales-literature-sal-lit-comp-edit-view', () => import('@pages/sales/competitor-sales-literature-sal-lit-comp-edit-view/competitor-sales-literature-sal-lit-comp-edit-view.vue'));
Vue.component('sales-order-info-soview', () => import('@pages/sales/sales-order-info-soview/sales-order-info-soview.vue'));
Vue.component('activity-pointer-by-parent-key', () => import('@pages/base/activity-pointer-by-parent-key/activity-pointer-by-parent-key.vue'));
Vue.component('contact-edit-abstract', () => import('@pages/base/contact-edit-abstract/contact-edit-abstract.vue'));
Vue.component('activity-pointer-by-parent-key', () => import('@pages/base/activity-pointer-by-parent-key/activity-pointer-by-parent-key.vue'));
Vue.component('uom-pickup-view', () => import('@pages/base/uom-pickup-view/uom-pickup-view.vue'));
Vue.component('list-account-inner', () => import('@pages/marketing/list-account-inner/list-account-inner.vue'));
Vue.component('contact-summary', () => import('@pages/base/contact-summary/contact-summary.vue'));
Vue.component('task-edit-view', () => import('@pages/base/task-edit-view/task-edit-view.vue'));
Vue.component('competitor-pickup-view', () => import('@pages/sales/competitor-pickup-view/competitor-pickup-view.vue'));
Vue.component('product-sales-literature-sal-lit-pro-edit-view', () => import('@pages/sales/product-sales-literature-sal-lit-pro-edit-view/product-sales-literature-sal-lit-pro-edit-view.vue'));
Vue.component('sales-order-summary-view', () => import('@pages/sales/sales-order-summary-view/sales-order-summary-view.vue'));
Vue.component('contact-info-market', () => import('@pages/base/contact-info-market/contact-info-market.vue'));
......
......@@ -1872,6 +1872,20 @@ const router = new Router({
},
component: () => import('@pages/sales/lead-quick-create/lead-quick-create.vue'),
},
{
path: 'competitors/:competitor?/pickupgridview/:pickupgridview?',
meta: {
caption: 'entities.competitor.views.pickupgridview.title',
info:'',
parameters: [
{ pathName: 'central', parameterName: 'central' },
{ pathName: 'competitors', parameterName: 'competitor' },
{ pathName: 'pickupgridview', parameterName: 'pickupgridview' },
],
requireAuth: true,
},
component: () => import('@pages/sales/competitor-pickup-grid-view/competitor-pickup-grid-view.vue'),
},
{
path: 'pricelevels/:pricelevel?/pickupview/:pickupview?',
meta: {
......@@ -3394,6 +3408,35 @@ const router = new Router({
},
component: () => import('@pages/sales/opportunity-opp-pro-dashboard-view/opportunity-opp-pro-dashboard-view.vue'),
},
{
path: 'salesliteratures/:salesliterature?/competitorsalesliteratures/:competitorsalesliterature?/sallitprogridview/:sallitprogridview?',
meta: {
caption: 'entities.competitorsalesliterature.views.sallitprogridview.title',
info:'',
parameters: [
{ pathName: 'central', parameterName: 'central' },
{ pathName: 'salesliteratures', parameterName: 'salesliterature' },
{ pathName: 'competitorsalesliteratures', parameterName: 'competitorsalesliterature' },
{ pathName: 'sallitprogridview', parameterName: 'sallitprogridview' },
],
requireAuth: true,
},
component: () => import('@pages/sales/competitor-sales-literature-sal-lit-pro-grid-view/competitor-sales-literature-sal-lit-pro-grid-view.vue'),
},
{
path: 'competitorsalesliteratures/:competitorsalesliterature?/sallitprogridview/:sallitprogridview?',
meta: {
caption: 'entities.competitorsalesliterature.views.sallitprogridview.title',
info:'',
parameters: [
{ pathName: 'central', parameterName: 'central' },
{ pathName: 'competitorsalesliteratures', parameterName: 'competitorsalesliterature' },
{ pathName: 'sallitprogridview', parameterName: 'sallitprogridview' },
],
requireAuth: true,
},
component: () => import('@pages/sales/competitor-sales-literature-sal-lit-pro-grid-view/competitor-sales-literature-sal-lit-pro-grid-view.vue'),
},
{
path: 'ibizlists/:ibizlist?/summary/:summary?',
meta: {
......@@ -4121,32 +4164,47 @@ const router = new Router({
component: () => import('@pages/sales/opportunity-competitor-edit-view/opportunity-competitor-edit-view.vue'),
},
{
path: 'salesorders/:salesorder?/info_soview/:info_soview?',
path: 'salesliteratures/:salesliterature?/competitorsalesliteratures/:competitorsalesliterature?/sallitcompeditview/:sallitcompeditview?',
meta: {
caption: 'entities.salesorder.views.info_soview.title',
caption: 'entities.competitorsalesliterature.views.sallitcompeditview.title',
info:'',
parameters: [
{ pathName: 'central', parameterName: 'central' },
{ pathName: 'salesorders', parameterName: 'salesorder' },
{ pathName: 'info_soview', parameterName: 'info_soview' },
{ pathName: 'salesliteratures', parameterName: 'salesliterature' },
{ pathName: 'competitorsalesliteratures', parameterName: 'competitorsalesliterature' },
{ pathName: 'sallitcompeditview', parameterName: 'sallitcompeditview' },
],
requireAuth: true,
},
component: () => import('@pages/sales/sales-order-info-soview/sales-order-info-soview.vue'),
component: () => import('@pages/sales/competitor-sales-literature-sal-lit-comp-edit-view/competitor-sales-literature-sal-lit-comp-edit-view.vue'),
},
{
path: 'activitypointers/:activitypointer?/byparentkey/:byparentkey?',
path: 'competitorsalesliteratures/:competitorsalesliterature?/sallitcompeditview/:sallitcompeditview?',
meta: {
caption: 'entities.activitypointer.views.byparentkey.title',
caption: 'entities.competitorsalesliterature.views.sallitcompeditview.title',
info:'',
parameters: [
{ pathName: 'central', parameterName: 'central' },
{ pathName: 'activitypointers', parameterName: 'activitypointer' },
{ pathName: 'byparentkey', parameterName: 'byparentkey' },
{ pathName: 'competitorsalesliteratures', parameterName: 'competitorsalesliterature' },
{ pathName: 'sallitcompeditview', parameterName: 'sallitcompeditview' },
],
requireAuth: true,
},
component: () => import('@pages/base/activity-pointer-by-parent-key/activity-pointer-by-parent-key.vue'),
component: () => import('@pages/sales/competitor-sales-literature-sal-lit-comp-edit-view/competitor-sales-literature-sal-lit-comp-edit-view.vue'),
},
{
path: 'salesorders/:salesorder?/info_soview/:info_soview?',
meta: {
caption: 'entities.salesorder.views.info_soview.title',
info:'',
parameters: [
{ pathName: 'central', parameterName: 'central' },
{ pathName: 'salesorders', parameterName: 'salesorder' },
{ pathName: 'info_soview', parameterName: 'info_soview' },
],
requireAuth: true,
},
component: () => import('@pages/sales/sales-order-info-soview/sales-order-info-soview.vue'),
},
{
path: 'accounts/:account?/contacts/:contact?/editabstract/:editabstract?',
......@@ -4177,6 +4235,20 @@ const router = new Router({
},
component: () => import('@pages/base/contact-edit-abstract/contact-edit-abstract.vue'),
},
{
path: 'activitypointers/:activitypointer?/byparentkey/:byparentkey?',
meta: {
caption: 'entities.activitypointer.views.byparentkey.title',
info:'',
parameters: [
{ pathName: 'central', parameterName: 'central' },
{ pathName: 'activitypointers', parameterName: 'activitypointer' },
{ pathName: 'byparentkey', parameterName: 'byparentkey' },
],
requireAuth: true,
},
component: () => import('@pages/base/activity-pointer-by-parent-key/activity-pointer-by-parent-key.vue'),
},
{
path: 'accounts/:account?/innerpickupgridview/:innerpickupgridview?',
meta: {
......@@ -4306,6 +4378,20 @@ const router = new Router({
},
component: () => import('@pages/base/task-edit-view/task-edit-view.vue'),
},
{
path: 'competitors/:competitor?/pickupview/:pickupview?',
meta: {
caption: 'entities.competitor.views.pickupview.title',
info:'',
parameters: [
{ pathName: 'central', parameterName: 'central' },
{ pathName: 'competitors', parameterName: 'competitor' },
{ pathName: 'pickupview', parameterName: 'pickupview' },
],
requireAuth: true,
},
component: () => import('@pages/sales/competitor-pickup-view/competitor-pickup-view.vue'),
},
{
path: 'salesliteratures/:salesliterature?/productsalesliteratures/:productsalesliterature?/sallitproeditview/:sallitproeditview?',
meta: {
......
......@@ -135,6 +135,7 @@ export const viewstate: any = {
viewaction: '',
viewdatachange: false,
refviews: [
'3d0f1bced23c2757ff4de58b146c2e6e',
'00e76d9dd6b3065c8231e9dc15334d05',
'96cc644d7d763e47f3644aed0d9850f0',
],
......
......@@ -79,6 +79,8 @@ export default class CompetitorSalesLiteratureUIServiceBase extends UIService {
* @memberof CompetitorSalesLiteratureUIServiceBase
*/
public initViewMap(){
this.allViewMap.set(':',{viewname:'sallitprogridview',srfappde:'competitorsalesliteratures'});
this.allViewMap.set(':',{viewname:'sallitcompeditview',srfappde:'competitorsalesliteratures'});
}
/**
......
......@@ -81,8 +81,10 @@ export default class CompetitorUIServiceBase extends UIService {
public initViewMap(){
this.allViewMap.set(':',{viewname:'optionview',srfappde:'competitors'});
this.allViewMap.set(':',{viewname:'info_abstract',srfappde:'competitors'});
this.allViewMap.set(':',{viewname:'pickupgridview',srfappde:'competitors'});
this.allViewMap.set(':',{viewname:'summary',srfappde:'competitors'});
this.allViewMap.set(':',{viewname:'info',srfappde:'competitors'});
this.allViewMap.set('PICKUPVIEW:',{viewname:'pickupview',srfappde:'competitors'});
this.allViewMap.set('MDATAVIEW:',{viewname:'gridview',srfappde:'competitors'});
this.allViewMap.set('EDITVIEW:',{viewname:'editview',srfappde:'competitors'});
}
......
......@@ -48,6 +48,7 @@ export class InfoViewtabexppanelTabexppanelBase extends TabExpPanelControlBase {
protected isInit: any = {
tabviewpanel: true ,
tabviewpanel2: false ,
tabviewpanel3: false ,
}
/**
......
......@@ -46,5 +46,28 @@
@closeview="closeView($event)">
</view_tabviewpanel2>
</tab-pane>
<tab-pane :index="2" name='tabviewpanel3' tab='infoviewtabexppanel' class=''
:label="(h) =>{
return h('div', [
h('span', '竞争对手'),
h('Badge', {
props: {
count: undefined,
type: 'primary'
}
})
])
}" >
<view_tabviewpanel3
:viewState="viewState"
:viewparams="JSON.parse(JSON.stringify(viewparams))"
:context="JSON.parse(JSON.stringify(context))"
v-if="isInit.tabviewpanel3"
name="tabviewpanel3"
ref='tabviewpanel3'
@viewpanelDatasChange = "tabViewPanelDatasChange"
@closeview="closeView($event)">
</view_tabviewpanel3>
</tab-pane>
</tabs>
</div>
\ No newline at end of file
......@@ -5,6 +5,7 @@ import { VueLifeCycleProcessing } from '@/studio-core';
import { InfoViewtabexppanelTabexppanelBase } from './info-viewtabexppanel-tabexppanel-base';
import view_tabviewpanel from '@widgets/sales-literature/info-viewtabviewpanel-tabviewpanel/info-viewtabviewpanel-tabviewpanel.vue';
import view_tabviewpanel2 from '@widgets/sales-literature/info-viewtabviewpanel2-tabviewpanel/info-viewtabviewpanel2-tabviewpanel.vue';
import view_tabviewpanel3 from '@widgets/sales-literature/info-viewtabviewpanel3-tabviewpanel/info-viewtabviewpanel3-tabviewpanel.vue';
/**
......@@ -18,6 +19,7 @@ import view_tabviewpanel2 from '@widgets/sales-literature/info-viewtabviewpanel2
components: {
view_tabviewpanel,
view_tabviewpanel2,
view_tabviewpanel3,
}
})
......
import { Prop, Provide, Emit, Model } from 'vue-property-decorator';
import { Subject, Subscription } from 'rxjs';
import { Watch, MainControlBase } from '@/studio-core';
import SalesLiteratureService from '@/service/sales-literature/sales-literature-service';
import InfoViewtabviewpanel3Service from './info-viewtabviewpanel3-tabviewpanel-service';
/**
* tabviewpanel3部件基类
*
* @export
* @class MainControlBase
* @extends {InfoViewtabviewpanel3TabviewpanelBase}
*/
export class InfoViewtabviewpanel3TabviewpanelBase extends MainControlBase {
/**
* 建构部件服务对象
*
* @type {InfoViewtabviewpanel3Service}
* @memberof InfoViewtabviewpanel3TabviewpanelBase
*/
public service: InfoViewtabviewpanel3Service = new InfoViewtabviewpanel3Service({ $store: this.$store });
/**
* 实体服务对象
*
* @type {SalesLiteratureService}
* @memberof InfoViewtabviewpanel3TabviewpanelBase
*/
public appEntityService: SalesLiteratureService = new SalesLiteratureService({ $store: this.$store });
/**
* 应用实体名称
*
* @protected
* @type {string}
* @memberof InfoViewtabviewpanel3TabviewpanelBase
*/
protected appDeName: string = 'salesliterature';
/**
* 获取多项数据
*
* @returns {any[]}
* @memberof InfoViewtabviewpanel3
*/
public getDatas(): any[] {
return [];
}
/**
* 获取单项树
*
* @returns {*}
* @memberof InfoViewtabviewpanel3
*/
public getData(): any {
return null;
}
/**
* 是否被激活
*
* @type {boolean}
* @memberof InfoViewtabviewpanel3
*/
public isActivied: boolean = true;
/**
* 局部上下文
*
* @type {*}
* @memberof InfoViewtabviewpanel3
*/
public localContext: any = null;
/**
* 局部视图参数
*
* @type {*}
* @memberof InfoViewtabviewpanel3
*/
public localViewParam: any = null;
/**
* 传入上下文
*
* @type {string}
* @memberof TabExpViewtabviewpanel
*/
public viewdata: string = JSON.stringify(this.context);
/**
* 传入视图参数
*
* @type {string}
* @memberof PickupViewpickupviewpanel
*/
public viewparam: string = JSON.stringify(this.viewparams);
/**
* 视图面板过滤项
*
* @type {string}
* @memberof InfoViewtabviewpanel3
*/
public navfilter: string = "";
/**
* vue 生命周期
*
* @returns
* @memberof InfoViewtabviewpanel3
*/
public created() {
this.afterCreated();
}
/**
* 执行created后的逻辑
*
* @memberof InfoViewtabviewpanel3
*/
public afterCreated(){
this.initNavParam();
if (this.viewState) {
this.viewStateEvent = this.viewState.subscribe(({ tag, action, data }) => {
if (!Object.is(tag, this.name)) {
return;
}
this.$forceUpdate();
this.initNavParam();
});
}
}
/**
* 初始化导航参数
*
* @memberof InfoViewtabviewpanel3
*/
public initNavParam(){
if(!Object.is(this.navfilter,"")){
Object.assign(this.viewparams,{[this.navfilter]:this.context['majorentity']})
}
if(this.localContext && Object.keys(this.localContext).length >0){
let _context:any = this.$util.computedNavData({},this.context,this.viewparams,this.localContext);
Object.assign(this.context,_context);
}
if(this.localViewParam && Object.keys(this.localViewParam).length >0){
let _param:any = this.$util.computedNavData({},this.context,this.viewparams,this.localViewParam);
Object.assign(this.viewparams,_param);
}
this.viewdata =JSON.stringify(this.context);
this.viewparam = JSON.stringify(this.viewparams);
}
/**
* 视图数据变化
*
* @memberof InfoViewtabviewpanel3
*/
public viewDatasChange($event:any){
this.$emit('viewpanelDatasChange',$event);
}
/**
* vue 生命周期
*
* @memberof InfoViewtabviewpanel3
*/
public destroyed() {
this.afterDestroy();
}
/**
* 执行destroyed后的逻辑
*
* @memberof InfoViewtabviewpanel3
*/
public afterDestroy() {
if (this.viewStateEvent) {
this.viewStateEvent.unsubscribe();
}
}
}
\ No newline at end of file
/**
* InfoViewtabviewpanel3 部件模型
*
* @export
* @class InfoViewtabviewpanel3Model
*/
export default class InfoViewtabviewpanel3Model {
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof InfoViewtabviewpanel3Model
*/
public getDataItems(): any[] {
return [
{
name: 'importsequencenumber',
},
{
name: 'createdate',
},
{
name: 'createman',
},
{
name: 'timezoneruleversionnumber',
},
{
name: 'customerviewable',
},
{
name: 'expirationdate',
},
{
name: 'exchangerate',
},
{
name: 'employeecontactidyominame',
},
{
name: 'updatedate',
},
{
name: 'description',
},
{
name: 'salesliteraturename',
},
{
name: 'processid',
},
{
name: 'stageid',
},
{
name: 'updateman',
},
{
name: 'entityimage',
},
{
name: 'entityimage_url',
},
{
name: 'hasattachments',
},
{
name: 'overriddencreatedon',
},
{
name: 'entityimage_timestamp',
},
{
name: 'employeecontactid',
},
{
name: 'keywords',
},
{
name: 'versionnumber',
},
{
name: 'utcconversiontimezonecode',
},
{
name: 'literaturetypecode',
},
{
name: 'salesliterature',
prop: 'salesliteratureid',
},
{
name: 'entityimageid',
},
{
name: 'traversedpath',
},
{
name: 'transactioncurrencyid',
},
{
name: 'subjectid',
},
{
name: 'transactioncurrencyname',
},
{
name: 'subjectname',
},
]
}
}
\ No newline at end of file
import { Http } from '@/utils';
import ControlService from '@/widgets/control-service';
/**
* InfoViewtabviewpanel3 部件服务对象
*
* @export
* @class InfoViewtabviewpanel3Service
*/
export default class InfoViewtabviewpanel3Service extends ControlService {
}
\ No newline at end of file
<div class='tabviewpanel' v-if='isActivied'>
<competitor-sales-literature-sal-lit-pro-grid-view
class='viewcontainer2'
:viewdata="viewdata"
:viewparam="viewparam"
@viewload="viewDatasChange($event)"
:viewDefaultUsage="false" >
</competitor-sales-literature-sal-lit-pro-grid-view>
</div>
\ No newline at end of file
<template src="./info-viewtabviewpanel3-tabviewpanel.html"/>
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import { VueLifeCycleProcessing } from '@/studio-core';
import { InfoViewtabviewpanel3TabviewpanelBase } from './info-viewtabviewpanel3-tabviewpanel-base';
/**
* tabviewpanel3部件
*
* @export
* @class InfoViewtabviewpanel3Tabviewpanel
* @extends {InfoViewtabviewpanel3TabviewpanelBase}
*/
@Component({
components: {
}
})
@VueLifeCycleProcessing()
export default class InfoViewtabviewpanel3Tabviewpanel extends InfoViewtabviewpanel3TabviewpanelBase { }
</script>
......@@ -6343,7 +6343,7 @@
<!--输出实体[SALESLITERATURE]数据结构 -->
<changeSet author="a_LAB01_e85d8801c" id="tab-salesliterature-28-73">
<changeSet author="a_LAB01_e85d8801c" id="tab-salesliterature-29-73">
<createTable tableName="SALESLITERATURE">
<column name="IMPORTSEQUENCENUMBER" remarks="" type="INT">
</column>
......@@ -8113,7 +8113,7 @@
<!--输出实体[COMPETITOR]数据结构 -->
<changeSet author="a_LAB01_e85d8801c" id="tab-competitor-37-90">
<changeSet author="a_LAB01_e85d8801c" id="tab-competitor-39-90">
<createTable tableName="COMPETITOR">
<column name="ENTITYIMAGE" remarks="" type="VARCHAR(100)">
</column>
......@@ -11335,10 +11335,10 @@
<addForeignKeyConstraint baseColumnNames="TRANSACTIONCURRENCYID" baseTableName="RATINGVALUE" constraintName="DER1N_RATINGVALUE__TRANSACTION" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="TRANSACTIONCURRENCYID" referencedTableName="TRANSACTIONCURRENCY" validate="true"/>
</changeSet>
<!--输出实体[SALESLITERATURE]外键关系 -->
<changeSet author="a_LAB01_e85d8801c" id="fk-salesliterature-28-311">
<changeSet author="a_LAB01_e85d8801c" id="fk-salesliterature-29-311">
<addForeignKeyConstraint baseColumnNames="SUBJECTID" baseTableName="SALESLITERATURE" constraintName="DER1N_SALESLITERATURE__SUBJECT" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="SUBJECTID" referencedTableName="SUBJECT" validate="true"/>
</changeSet>
<changeSet author="a_LAB01_e85d8801c" id="fk-salesliterature-28-312">
<changeSet author="a_LAB01_e85d8801c" id="fk-salesliterature-29-312">
<addForeignKeyConstraint baseColumnNames="TRANSACTIONCURRENCYID" baseTableName="SALESLITERATURE" constraintName="DER1N_SALESLITERATURE__TRANSAC" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="TRANSACTIONCURRENCYID" referencedTableName="TRANSACTIONCURRENCY" validate="true"/>
</changeSet>
<!--输出实体[METRIC]外键关系 -->
......@@ -11457,7 +11457,7 @@
<!--输出实体[CAMPAIGNLIST]外键关系 -->
<!--输出实体[LISTCONTACT]外键关系 -->
<!--输出实体[COMPETITOR]外键关系 -->
<changeSet author="a_LAB01_e85d8801c" id="fk-competitor-37-350">
<changeSet author="a_LAB01_e85d8801c" id="fk-competitor-39-350">
<addForeignKeyConstraint baseColumnNames="TRANSACTIONCURRENCYID" baseTableName="COMPETITOR" constraintName="DER1N_COMPETITOR__TRANSACTIONC" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="TRANSACTIONCURRENCYID" referencedTableName="TRANSACTIONCURRENCY" validate="true"/>
</changeSet>
<!--输出实体[PRODUCT]外键关系 -->
......@@ -11484,7 +11484,7 @@
<addForeignKeyConstraint baseColumnNames="TRANSACTIONCURRENCYID" baseTableName="CHARACTERISTIC" constraintName="DER1N_CHARACTERISTIC__TRANSACT" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="TRANSACTIONCURRENCYID" referencedTableName="TRANSACTIONCURRENCY" validate="true"/>
</changeSet>
<!--输出实体[COMPETITORSALESLITERATURE]外键关系 -->
<changeSet author="a_LAB01_e85d8801c" id="fk-competitorsalesliterature-16-358">
<changeSet author="a_LAB01_e85d8801c" id="fk-competitorsalesliterature-27-358">
<addForeignKeyConstraint baseColumnNames="ENTITYID" baseTableName="RELATIONSHIPS" constraintName="DER1N_COMPETITORSALESLITERATUR" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="COMPETITORID" referencedTableName="COMPETITOR" validate="true"/>
</changeSet>
<!--输出实体[RESOURCESPEC]外键关系 -->
......@@ -11561,10 +11561,10 @@
<addForeignKeyConstraint baseColumnNames="TRANSACTIONCURRENCYID" baseTableName="CATEGORY" constraintName="DER1N_CATEGORY__TRANSACTIONCUR" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="TRANSACTIONCURRENCYID" referencedTableName="TRANSACTIONCURRENCY" validate="true"/>
</changeSet>
<!--输出实体[PRODUCTSALESLITERATURE]外键关系 -->
<changeSet author="a_LAB01_e85d8801c" id="fk-productsalesliterature-31-383">
<changeSet author="a_LAB01_e85d8801c" id="fk-productsalesliterature-34-383">
<addForeignKeyConstraint baseColumnNames="ENTITYID" baseTableName="RELATIONSHIPS" constraintName="DER1N_PRODUCTSALESLITERATURE_P" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="PRODUCTID" referencedTableName="PRODUCT" validate="true"/>
</changeSet>
<changeSet author="a_LAB01_e85d8801c" id="fk-productsalesliterature-31-384">
<changeSet author="a_LAB01_e85d8801c" id="fk-productsalesliterature-34-384">
<addForeignKeyConstraint baseColumnNames="ENTITY2ID" baseTableName="RELATIONSHIPS" constraintName="DER1N_PRODUCTSALESLITERATURE_S" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="SALESLITERATUREID" referencedTableName="SALESLITERATURE" validate="true"/>
</changeSet>
<!--输出实体[INCIDENT]外键关系 -->
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册