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

lab_gzf 发布系统代码

上级 3b45134a
...@@ -900,7 +900,7 @@ ...@@ -900,7 +900,7 @@
"memo": "系统自动添加" "memo": "系统自动添加"
}, },
"opportunitygridview": { "opportunitygridview": {
"title": "商机表格视图", "title": "商机信息",
"caption": "商机信息", "caption": "商机信息",
"viewtype": "DEGRIDVIEW", "viewtype": "DEGRIDVIEW",
"viewmodule": "Sales", "viewmodule": "Sales",
......
...@@ -711,7 +711,7 @@ export default { ...@@ -711,7 +711,7 @@ export default {
tip: "Filter", tip: "Filter",
}, },
}, },
stopgridviewtoolbar_toolbar: { usablegridviewtoolbar_toolbar: {
tbitem1_openquickcreateview: { tbitem1_openquickcreateview: {
caption: "新建", caption: "新建",
tip: "新建", tip: "新建",
...@@ -748,9 +748,9 @@ export default { ...@@ -748,9 +748,9 @@ export default {
caption: "-", caption: "-",
tip: "", tip: "",
}, },
tbitem14_active: { tbitem14_inactive: {
caption: "激活", caption: "停用",
tip: "激活", tip: "停用",
}, },
tbitem15: { tbitem15: {
caption: "-", caption: "-",
...@@ -761,7 +761,7 @@ export default { ...@@ -761,7 +761,7 @@ export default {
tip: "Filter", tip: "Filter",
}, },
}, },
usablegridviewtoolbar_toolbar: { stopgridviewtoolbar_toolbar: {
tbitem1_openquickcreateview: { tbitem1_openquickcreateview: {
caption: "新建", caption: "新建",
tip: "新建", tip: "新建",
...@@ -798,9 +798,9 @@ export default { ...@@ -798,9 +798,9 @@ export default {
caption: "-", caption: "-",
tip: "", tip: "",
}, },
tbitem14_inactive: { tbitem14_active: {
caption: "停用", caption: "激活",
tip: "停用", tip: "激活",
}, },
tbitem15: { tbitem15: {
caption: "-", caption: "-",
......
...@@ -710,7 +710,7 @@ export default { ...@@ -710,7 +710,7 @@ export default {
tip: "过滤", tip: "过滤",
}, },
}, },
stopgridviewtoolbar_toolbar: { usablegridviewtoolbar_toolbar: {
tbitem1_openquickcreateview: { tbitem1_openquickcreateview: {
caption: "新建", caption: "新建",
tip: "新建", tip: "新建",
...@@ -747,9 +747,9 @@ export default { ...@@ -747,9 +747,9 @@ export default {
caption: "-", caption: "-",
tip: "", tip: "",
}, },
tbitem14_active: { tbitem14_inactive: {
caption: "激活", caption: "停用",
tip: "激活", tip: "停用",
}, },
tbitem15: { tbitem15: {
caption: "-", caption: "-",
...@@ -760,7 +760,7 @@ export default { ...@@ -760,7 +760,7 @@ export default {
tip: "过滤", tip: "过滤",
}, },
}, },
usablegridviewtoolbar_toolbar: { stopgridviewtoolbar_toolbar: {
tbitem1_openquickcreateview: { tbitem1_openquickcreateview: {
caption: "新建", caption: "新建",
tip: "新建", tip: "新建",
...@@ -797,9 +797,9 @@ export default { ...@@ -797,9 +797,9 @@ export default {
caption: "-", caption: "-",
tip: "", tip: "",
}, },
tbitem14_inactive: { tbitem14_active: {
caption: "停用", caption: "激活",
tip: "停用", tip: "激活",
}, },
tbitem15: { tbitem15: {
caption: "-", caption: "-",
......
...@@ -124,7 +124,7 @@ export default { ...@@ -124,7 +124,7 @@ export default {
}, },
gridview: { gridview: {
caption: "商机信息", caption: "商机信息",
title: "商机表格视图", title: "商机信息",
}, },
info_abstract: { info_abstract: {
caption: "商机", caption: "商机",
......
...@@ -123,7 +123,7 @@ export default { ...@@ -123,7 +123,7 @@ export default {
}, },
gridview: { gridview: {
caption: "商机信息", caption: "商机信息",
title: "商机表格视图", title: "商机信息",
}, },
info_abstract: { info_abstract: {
caption: "商机", caption: "商机",
......
...@@ -728,7 +728,7 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => { ...@@ -728,7 +728,7 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewtag": "5de2a290b5d079445ad825f6d6418dd6" "viewtag": "5de2a290b5d079445ad825f6d6418dd6"
}, },
"opportunitygridview": { "opportunitygridview": {
"title": "商机表格视图", "title": "商机信息",
"caption": "商机信息", "caption": "商机信息",
"viewtype": "DEGRIDVIEW", "viewtype": "DEGRIDVIEW",
"viewmodule": "Sales", "viewmodule": "Sales",
......
...@@ -8,7 +8,7 @@ import CodeListService from "@service/app/codelist-service"; ...@@ -8,7 +8,7 @@ import CodeListService from "@service/app/codelist-service";
/** /**
* 商机表格视图视图基类 * 商机信息视图基类
* *
* @export * @export
* @class OpportunityGridViewBase * @class OpportunityGridViewBase
......
<studio-view-style2 viewName="opportunitygridview" viewTitle="商机表格视图" class='degridview opportunity-grid-view'> <studio-view-style2 viewName="opportunitygridview" viewTitle="商机信息" class='degridview opportunity-grid-view'>
<template slot='title'> <template slot='title'>
<span class='caption-info'>{{$t(model.srfTitle)}}</span> <span class='caption-info'>{{$t(model.srfTitle)}}</span>
</template> </template>
......
...@@ -7,7 +7,7 @@ import view_grid from '@widgets/opportunity/main-grid/main-grid.vue'; ...@@ -7,7 +7,7 @@ import view_grid from '@widgets/opportunity/main-grid/main-grid.vue';
import view_searchform from '@widgets/opportunity/default-searchform/default-searchform.vue'; import view_searchform from '@widgets/opportunity/default-searchform/default-searchform.vue';
/** /**
* 商机表格视图视图 * 商机信息视图
* *
* @export * @export
* @class OpportunityGridView * @class OpportunityGridView
......
...@@ -47,8 +47,8 @@ export class TabExpViewtabexppanelTabexppanelBase extends TabExpPanelControlBase ...@@ -47,8 +47,8 @@ export class TabExpViewtabexppanelTabexppanelBase extends TabExpPanelControlBase
*/ */
protected isInit: any = { protected isInit: any = {
tabviewpanel: true , tabviewpanel: true ,
tabviewpanel3: false ,
tabviewpanel2: false , tabviewpanel2: false ,
tabviewpanel3: false ,
} }
/** /**
......
...@@ -24,10 +24,10 @@ ...@@ -24,10 +24,10 @@
@closeview="closeView($event)"> @closeview="closeView($event)">
</view_tabviewpanel> </view_tabviewpanel>
</tab-pane> </tab-pane>
<tab-pane :index="1" name='tabviewpanel3' tab='tabexpviewtabexppanel' class='' <tab-pane :index="1" name='tabviewpanel2' tab='tabexpviewtabexppanel' class=''
:label="(h) =>{ :label="(h) =>{
return h('div', [ return h('div', [
h('span', '用联系人'), h('span', '用联系人'),
h('Badge', { h('Badge', {
props: { props: {
count: undefined, count: undefined,
...@@ -36,22 +36,22 @@ ...@@ -36,22 +36,22 @@
}) })
]) ])
}" > }" >
<view_tabviewpanel3 <view_tabviewpanel2
:viewState="viewState" :viewState="viewState"
:viewparams="JSON.parse(JSON.stringify(viewparams))" :viewparams="JSON.parse(JSON.stringify(viewparams))"
:context="JSON.parse(JSON.stringify(context))" :context="JSON.parse(JSON.stringify(context))"
v-if="isInit.tabviewpanel3" v-if="isInit.tabviewpanel2"
name="tabviewpanel3" name="tabviewpanel2"
ref='tabviewpanel3' ref='tabviewpanel2'
:expActive="activatedTabViewPanel === 'tabviewpanel3'" :expActive="activatedTabViewPanel === 'tabviewpanel2'"
@viewpanelDatasChange = "tabViewPanelDatasChange" @viewpanelDatasChange = "tabViewPanelDatasChange"
@closeview="closeView($event)"> @closeview="closeView($event)">
</view_tabviewpanel3> </view_tabviewpanel2>
</tab-pane> </tab-pane>
<tab-pane :index="2" name='tabviewpanel2' tab='tabexpviewtabexppanel' class='' <tab-pane :index="2" name='tabviewpanel3' tab='tabexpviewtabexppanel' class=''
:label="(h) =>{ :label="(h) =>{
return h('div', [ return h('div', [
h('span', '用联系人'), h('span', '用联系人'),
h('Badge', { h('Badge', {
props: { props: {
count: undefined, count: undefined,
...@@ -60,17 +60,17 @@ ...@@ -60,17 +60,17 @@
}) })
]) ])
}" > }" >
<view_tabviewpanel2 <view_tabviewpanel3
:viewState="viewState" :viewState="viewState"
:viewparams="JSON.parse(JSON.stringify(viewparams))" :viewparams="JSON.parse(JSON.stringify(viewparams))"
:context="JSON.parse(JSON.stringify(context))" :context="JSON.parse(JSON.stringify(context))"
v-if="isInit.tabviewpanel2" v-if="isInit.tabviewpanel3"
name="tabviewpanel2" name="tabviewpanel3"
ref='tabviewpanel2' ref='tabviewpanel3'
:expActive="activatedTabViewPanel === 'tabviewpanel2'" :expActive="activatedTabViewPanel === 'tabviewpanel3'"
@viewpanelDatasChange = "tabViewPanelDatasChange" @viewpanelDatasChange = "tabViewPanelDatasChange"
@closeview="closeView($event)"> @closeview="closeView($event)">
</view_tabviewpanel2> </view_tabviewpanel3>
</tab-pane> </tab-pane>
</tabs> </tabs>
</div> </div>
\ No newline at end of file
...@@ -4,8 +4,8 @@ import { Component } from 'vue-property-decorator'; ...@@ -4,8 +4,8 @@ import { Component } from 'vue-property-decorator';
import { VueLifeCycleProcessing } from '@/studio-core'; import { VueLifeCycleProcessing } from '@/studio-core';
import { TabExpViewtabexppanelTabexppanelBase } from './tab-exp-viewtabexppanel-tabexppanel-base'; import { TabExpViewtabexppanelTabexppanelBase } from './tab-exp-viewtabexppanel-tabexppanel-base';
import view_tabviewpanel from '@widgets/contact/tab-exp-viewtabviewpanel-tabviewpanel/tab-exp-viewtabviewpanel-tabviewpanel.vue'; import view_tabviewpanel from '@widgets/contact/tab-exp-viewtabviewpanel-tabviewpanel/tab-exp-viewtabviewpanel-tabviewpanel.vue';
import view_tabviewpanel3 from '@widgets/contact/tab-exp-viewtabviewpanel3-tabviewpanel/tab-exp-viewtabviewpanel3-tabviewpanel.vue';
import view_tabviewpanel2 from '@widgets/contact/tab-exp-viewtabviewpanel2-tabviewpanel/tab-exp-viewtabviewpanel2-tabviewpanel.vue'; import view_tabviewpanel2 from '@widgets/contact/tab-exp-viewtabviewpanel2-tabviewpanel/tab-exp-viewtabviewpanel2-tabviewpanel.vue';
import view_tabviewpanel3 from '@widgets/contact/tab-exp-viewtabviewpanel3-tabviewpanel/tab-exp-viewtabviewpanel3-tabviewpanel.vue';
/** /**
...@@ -18,8 +18,8 @@ import view_tabviewpanel2 from '@widgets/contact/tab-exp-viewtabviewpanel2-tabvi ...@@ -18,8 +18,8 @@ import view_tabviewpanel2 from '@widgets/contact/tab-exp-viewtabviewpanel2-tabvi
@Component({ @Component({
components: { components: {
view_tabviewpanel, view_tabviewpanel,
view_tabviewpanel3,
view_tabviewpanel2, view_tabviewpanel2,
view_tabviewpanel3,
} }
}) })
......
...@@ -119,9 +119,6 @@ export default class Edit_ChildIncidentService extends ControlService { ...@@ -119,9 +119,6 @@ export default class Edit_ChildIncidentService extends ControlService {
if (Object.is(serviceName, 'SubjectService') && Object.is(interfaceName, 'FetchDefault')) { if (Object.is(serviceName, 'SubjectService') && Object.is(interfaceName, 'FetchDefault')) {
return this.doItems(this.subjectService.FetchDefault(JSON.parse(JSON.stringify(context)),data, isloading), 'subjectid', 'subject'); return this.doItems(this.subjectService.FetchDefault(JSON.parse(JSON.stringify(context)),data, isloading), 'subjectid', 'subject');
} }
if (Object.is(serviceName, 'ContactService') && Object.is(interfaceName, 'FetchDefault')) {
return this.doItems(this.contactService.FetchDefault(JSON.parse(JSON.stringify(context)),data, isloading), 'contactid', 'contact');
}
if (Object.is(serviceName, 'ProductService') && Object.is(interfaceName, 'FetchDefault')) { if (Object.is(serviceName, 'ProductService') && Object.is(interfaceName, 'FetchDefault')) {
return this.doItems(this.productService.FetchDefault(JSON.parse(JSON.stringify(context)),data, isloading), 'productid', 'product'); return this.doItems(this.productService.FetchDefault(JSON.parse(JSON.stringify(context)),data, isloading), 'productid', 'product');
} }
......
...@@ -77,7 +77,7 @@ ...@@ -77,7 +77,7 @@
deMajorField='fullname' deMajorField='fullname'
deKeyField='contact' deKeyField='contact'
:service="service" :service="service"
:acParams="{ serviceName: 'ContactService', interfaceName: 'FetchDefault'}" :acParams="{ }"
valueitem='primarycontactid' valueitem='primarycontactid'
:value="data.primarycontactname" :value="data.primarycontactname"
editortype="" editortype=""
......
...@@ -98,9 +98,6 @@ export default class QualificationService extends ControlService { ...@@ -98,9 +98,6 @@ export default class QualificationService 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, 'ContactService') && Object.is(interfaceName, 'FetchDefault')) {
return this.doItems(this.contactService.FetchDefault(JSON.parse(JSON.stringify(context)),data, isloading), 'contactid', 'contact');
}
if (Object.is(serviceName, 'AccountService') && Object.is(interfaceName, 'FetchDefault')) { if (Object.is(serviceName, 'AccountService') && Object.is(interfaceName, 'FetchDefault')) {
return this.doItems(this.accountService.FetchDefault(JSON.parse(JSON.stringify(context)),data, isloading), 'accountid', 'account'); return this.doItems(this.accountService.FetchDefault(JSON.parse(JSON.stringify(context)),data, isloading), 'accountid', 'account');
} }
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
deMajorField='fullname' deMajorField='fullname'
deKeyField='contact' deKeyField='contact'
:service="service" :service="service"
:acParams="{ serviceName: 'ContactService', interfaceName: 'FetchDefault'}" :acParams="{ }"
valueitem='parentcontactid' valueitem='parentcontactid'
:value="data.parentcontactname" :value="data.parentcontactname"
editortype="" editortype=""
......
...@@ -116,9 +116,6 @@ export default class MainService extends ControlService { ...@@ -116,9 +116,6 @@ 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, 'ContactService') && Object.is(interfaceName, 'FetchDefault')) {
return this.doItems(this.contactService.FetchDefault(JSON.parse(JSON.stringify(context)),data, isloading), 'contactid', 'contact');
}
if (Object.is(serviceName, 'AccountService') && Object.is(interfaceName, 'FetchDefault')) { if (Object.is(serviceName, 'AccountService') && Object.is(interfaceName, 'FetchDefault')) {
return this.doItems(this.accountService.FetchDefault(JSON.parse(JSON.stringify(context)),data, isloading), 'accountid', 'account'); return this.doItems(this.accountService.FetchDefault(JSON.parse(JSON.stringify(context)),data, isloading), 'accountid', 'account');
} }
......
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
deMajorField='fullname' deMajorField='fullname'
deKeyField='contact' deKeyField='contact'
:service="service" :service="service"
:acParams="{ serviceName: 'ContactService', interfaceName: 'FetchDefault'}" :acParams="{ }"
valueitem='parentcontactid' valueitem='parentcontactid'
:value="data.parentcontactname" :value="data.parentcontactname"
editortype="" editortype=""
......
...@@ -107,9 +107,6 @@ export default class QuickCreateService extends ControlService { ...@@ -107,9 +107,6 @@ export default class QuickCreateService 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, 'ContactService') && Object.is(interfaceName, 'FetchDefault')) {
return this.doItems(this.contactService.FetchDefault(JSON.parse(JSON.stringify(context)),data, isloading), 'contactid', 'contact');
}
if (Object.is(serviceName, 'AccountService') && Object.is(interfaceName, 'FetchDefault')) { if (Object.is(serviceName, 'AccountService') && Object.is(interfaceName, 'FetchDefault')) {
return this.doItems(this.accountService.FetchDefault(JSON.parse(JSON.stringify(context)),data, isloading), 'accountid', 'account'); return this.doItems(this.accountService.FetchDefault(JSON.parse(JSON.stringify(context)),data, isloading), 'accountid', 'account');
} }
......
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
deMajorField='fullname' deMajorField='fullname'
deKeyField='contact' deKeyField='contact'
:service="service" :service="service"
:acParams="{ serviceName: 'ContactService', interfaceName: 'FetchDefault'}" :acParams="{ }"
valueitem='parentcontactid' valueitem='parentcontactid'
:value="data.parentcontactname" :value="data.parentcontactname"
editortype="" editortype=""
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册