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

xignzi006 发布系统代码

上级 c48a9bde
...@@ -491,7 +491,7 @@ ...@@ -491,7 +491,7 @@
}, },
"activitypointergridview": { "activitypointergridview": {
"title": "活动", "title": "活动",
"caption": "活动", "caption": "活动信息",
"viewtype": "DEGRIDVIEW", "viewtype": "DEGRIDVIEW",
"viewmodule": "Base", "viewmodule": "Base",
"viewname": "ActivityPointerGridView", "viewname": "ActivityPointerGridView",
...@@ -1510,7 +1510,7 @@ ...@@ -1510,7 +1510,7 @@
"memo": "系统自动添加" "memo": "系统自动添加"
}, },
"salesordergridview": { "salesordergridview": {
"title": "订单表格视图", "title": "订单信息",
"caption": "订单", "caption": "订单",
"viewtype": "DEGRIDVIEW", "viewtype": "DEGRIDVIEW",
"viewmodule": "Sales", "viewmodule": "Sales",
...@@ -1520,7 +1520,7 @@ ...@@ -1520,7 +1520,7 @@
"memo": "" "memo": ""
}, },
"invoicegridview": { "invoicegridview": {
"title": "发票表格视图", "title": "发票信息",
"caption": "发票", "caption": "发票",
"viewtype": "DEGRIDVIEW", "viewtype": "DEGRIDVIEW",
"viewmodule": "Finance", "viewmodule": "Finance",
......
...@@ -616,8 +616,6 @@ export default { ...@@ -616,8 +616,6 @@ export default {
uiactions: { uiactions: {
}, },
}, },
pickupgridviewtoolbar_toolbar: {
},
gridviewtoolbar_toolbar: { gridviewtoolbar_toolbar: {
tbitem1_openquickcreateview: { tbitem1_openquickcreateview: {
caption: "新建", caption: "新建",
......
...@@ -615,8 +615,6 @@ export default { ...@@ -615,8 +615,6 @@ export default {
uiactions: { uiactions: {
}, },
}, },
pickupgridviewtoolbar_toolbar: {
},
gridviewtoolbar_toolbar: { gridviewtoolbar_toolbar: {
tbitem1_openquickcreateview: { tbitem1_openquickcreateview: {
caption: "新建", caption: "新建",
......
...@@ -61,7 +61,7 @@ export default { ...@@ -61,7 +61,7 @@ export default {
title: "活动编辑视图", title: "活动编辑视图",
}, },
gridview: { gridview: {
caption: "活动", caption: "活动信息",
title: "活动", title: "活动",
}, },
byparentkey: { byparentkey: {
...@@ -189,4 +189,42 @@ export default { ...@@ -189,4 +189,42 @@ export default {
tip: "Copy {0}", tip: "Copy {0}",
}, },
}, },
gridviewtoolbar_toolbar: {
items1: {
caption: "新建",
tip: "新建",
},
deuiaction2: {
caption: "任务",
tip: "任务",
},
deuiaction3: {
caption: "电子邮件",
tip: "电子邮件",
},
deuiaction4: {
caption: "约会",
tip: "约会",
},
deuiaction5: {
caption: "电话联络",
tip: "电话联络",
},
deuiaction1: {
caption: "Filter",
tip: "Filter",
},
tbitem4: {
caption: "Edit",
tip: "Edit {0}",
},
tbitem26: {
caption: "-",
tip: "",
},
tbitem8: {
caption: "Remove",
tip: "Remove {0}",
},
},
}; };
...@@ -60,7 +60,7 @@ export default { ...@@ -60,7 +60,7 @@ export default {
title: "活动编辑视图", title: "活动编辑视图",
}, },
gridview: { gridview: {
caption: "活动", caption: "活动信息",
title: "活动", title: "活动",
}, },
byparentkey: { byparentkey: {
...@@ -188,4 +188,42 @@ export default { ...@@ -188,4 +188,42 @@ export default {
tip: "拷贝", tip: "拷贝",
}, },
}, },
gridviewtoolbar_toolbar: {
items1: {
caption: "新建",
tip: "新建",
},
deuiaction2: {
caption: "任务",
tip: "任务",
},
deuiaction3: {
caption: "电子邮件",
tip: "电子邮件",
},
deuiaction4: {
caption: "约会",
tip: "约会",
},
deuiaction5: {
caption: "电话联络",
tip: "电话联络",
},
deuiaction1: {
caption: "过滤",
tip: "过滤",
},
tbitem4: {
caption: "编辑",
tip: "编辑",
},
tbitem26: {
caption: "-",
tip: "",
},
tbitem8: {
caption: "删除",
tip: "删除",
},
},
}; };
\ No newline at end of file
...@@ -113,7 +113,7 @@ export default { ...@@ -113,7 +113,7 @@ export default {
}, },
gridview: { gridview: {
caption: "发票", caption: "发票",
title: "发票表格视图", title: "发票信息",
}, },
info_invoiceview: { info_invoiceview: {
caption: "发票", caption: "发票",
......
...@@ -112,7 +112,7 @@ export default { ...@@ -112,7 +112,7 @@ export default {
}, },
gridview: { gridview: {
caption: "发票", caption: "发票",
title: "发票表格视图", title: "发票信息",
}, },
info_invoiceview: { info_invoiceview: {
caption: "发票", caption: "发票",
......
...@@ -123,7 +123,7 @@ export default { ...@@ -123,7 +123,7 @@ export default {
}, },
gridview: { gridview: {
caption: "订单", caption: "订单",
title: "订单表格视图", title: "订单信息",
}, },
info_soview: { info_soview: {
caption: "订单", caption: "订单",
......
...@@ -122,7 +122,7 @@ export default { ...@@ -122,7 +122,7 @@ export default {
}, },
gridview: { gridview: {
caption: "订单", caption: "订单",
title: "订单表格视图", title: "订单信息",
}, },
info_soview: { info_soview: {
caption: "订单", caption: "订单",
......
...@@ -401,7 +401,7 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => { ...@@ -401,7 +401,7 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
}, },
"activitypointergridview": { "activitypointergridview": {
"title": "活动", "title": "活动",
"caption": "活动", "caption": "活动信息",
"viewtype": "DEGRIDVIEW", "viewtype": "DEGRIDVIEW",
"viewmodule": "Base", "viewmodule": "Base",
"viewname": "ActivityPointerGridView", "viewname": "ActivityPointerGridView",
...@@ -1216,7 +1216,7 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => { ...@@ -1216,7 +1216,7 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewtag": "dd10cba0f2ded085120f7dc8eccc7c10" "viewtag": "dd10cba0f2ded085120f7dc8eccc7c10"
}, },
"salesordergridview": { "salesordergridview": {
"title": "订单表格视图", "title": "订单信息",
"caption": "订单", "caption": "订单",
"viewtype": "DEGRIDVIEW", "viewtype": "DEGRIDVIEW",
"viewmodule": "Sales", "viewmodule": "Sales",
...@@ -1224,7 +1224,7 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => { ...@@ -1224,7 +1224,7 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewtag": "dfc0051ae4813115e03f3d095f8cd7d3" "viewtag": "dfc0051ae4813115e03f3d095f8cd7d3"
}, },
"invoicegridview": { "invoicegridview": {
"title": "发票表格视图", "title": "发票信息",
"caption": "发票", "caption": "发票",
"viewtype": "DEGRIDVIEW", "viewtype": "DEGRIDVIEW",
"viewmodule": "Finance", "viewmodule": "Finance",
......
...@@ -52,21 +52,10 @@ export class AccountPickupGridViewBase extends PickupGridViewBase { ...@@ -52,21 +52,10 @@ export class AccountPickupGridViewBase extends PickupGridViewBase {
* @memberof AccountPickupGridViewBase * @memberof AccountPickupGridViewBase
*/ */
protected containerModel: any = { protected containerModel: any = {
view_toolbar: { name: 'toolbar', type: 'TOOLBAR' },
view_grid: { name: 'grid', type: 'GRID' }, view_grid: { name: 'grid', type: 'GRID' },
view_searchform: { name: 'searchform', type: 'SEARCHFORM' }, view_searchform: { name: 'searchform', type: 'SEARCHFORM' },
}; };
/**
* 工具栏模型
*
* @type {*}
* @memberof AccountPickupGridView
*/
public toolBarModels: any = {
};
/** /**
* 视图唯一标识 * 视图唯一标识
......
<studio-view-style2 viewName="accountpickupgridview" viewTitle="客户选择表格视图" class='depickupgridview account-pickup-grid-view'> <studio-view-style2 viewName="accountpickupgridview" viewTitle="客户选择表格视图" class='depickupgridview account-pickup-grid-view'>
<template slot="toolbar">
<view-toolbar mode="STYLE2" :model="toolBarModels" @item-click="toolbar_click($event)"/> </template>
<template slot="searchForm"> <template slot="searchForm">
<view_searchform <view_searchform
:viewState="viewState" :viewState="viewState"
......
...@@ -3,6 +3,10 @@ import { Subject } from 'rxjs'; ...@@ -3,6 +3,10 @@ import { Subject } from 'rxjs';
import { GridViewBase } from '@/studio-core'; import { GridViewBase } from '@/studio-core';
import ActivityPointerService from '@/service/activity-pointer/activity-pointer-service'; import ActivityPointerService from '@/service/activity-pointer/activity-pointer-service';
import GridViewEngine from '@engine/view/grid-view-engine'; import GridViewEngine from '@engine/view/grid-view-engine';
import TaskUIService from '@/uiservice/task/task-ui-service';
import EmailUIService from '@/uiservice/email/email-ui-service';
import AppointmentUIService from '@/uiservice/appointment/appointment-ui-service';
import PhoneCallUIService from '@/uiservice/phone-call/phone-call-ui-service';
import CodeListService from "@service/app/codelist-service"; import CodeListService from "@service/app/codelist-service";
...@@ -55,10 +59,40 @@ export class ActivityPointerGridViewBase extends GridViewBase { ...@@ -55,10 +59,40 @@ export class ActivityPointerGridViewBase extends GridViewBase {
* @memberof ActivityPointerGridViewBase * @memberof ActivityPointerGridViewBase
*/ */
protected containerModel: any = { protected containerModel: any = {
view_toolbar: { name: 'toolbar', type: 'TOOLBAR' },
view_grid: { name: 'grid', type: 'GRID' }, view_grid: { name: 'grid', type: 'GRID' },
view_searchform: { name: 'searchform', type: 'SEARCHFORM' }, view_searchform: { name: 'searchform', type: 'SEARCHFORM' },
}; };
/**
* 工具栏模型
*
* @type {*}
* @memberof ActivityPointerGridView
*/
public toolBarModels: any = {
items1: { name: 'items1', caption: '新建', disabled: false, type: 'ITEMS', visabled: true, dataaccaction: '',
model: {
deuiaction2: { name: 'deuiaction2', caption: '任务','isShowCaption':true,'isShowIcon':true, tooltip: '任务', disabled: false, type: 'DEUIACTION', visabled: true, dataaccaction: '', uiaction: { tag: 'Create', target: 'NONE' }, class: '' },
deuiaction3: { name: 'deuiaction3', caption: '电子邮件','isShowCaption':true,'isShowIcon':true, tooltip: '电子邮件', disabled: false, type: 'DEUIACTION', visabled: true, dataaccaction: '', uiaction: { tag: 'Create', target: 'NONE' }, class: '' },
deuiaction4: { name: 'deuiaction4', caption: '约会','isShowCaption':true,'isShowIcon':true, tooltip: '约会', disabled: false, type: 'DEUIACTION', visabled: true, dataaccaction: '', uiaction: { tag: 'Create', target: 'NONE' }, class: '' },
deuiaction5: { name: 'deuiaction5', caption: '电话联络','isShowCaption':true,'isShowIcon':true, tooltip: '电话联络', disabled: false, type: 'DEUIACTION', visabled: true, dataaccaction: '', uiaction: { tag: 'Create', target: 'NONE' }, class: '' },
deuiaction1: { name: 'deuiaction1', caption: '过滤','isShowCaption':true,'isShowIcon':true, tooltip: '过滤', iconcls: 'fa fa-filter', icon: '', disabled: false, type: 'DEUIACTION', visabled: true, dataaccaction: '', uiaction: { tag: 'ToggleFilter', target: '' }, class: '' },
}
},
tbitem4: { name: 'tbitem4', caption: '编辑','isShowCaption':true,'isShowIcon':true, tooltip: '编辑', iconcls: 'fa fa-edit', icon: '', disabled: false, type: 'DEUIACTION', visabled: true, dataaccaction: '', uiaction: { tag: 'Edit', target: 'SINGLEKEY' }, class: '' },
tbitem26: { name: 'tbitem26', type: 'SEPERATOR', visabled: true, dataaccaction: '', uiaction: { } },
tbitem8: { name: 'tbitem8', caption: '删除','isShowCaption':true,'isShowIcon':true, tooltip: '删除', iconcls: 'fa fa-remove', icon: '', disabled: false, type: 'DEUIACTION', visabled: true, dataaccaction: '', uiaction: { tag: 'Remove', target: 'MULTIKEY' }, class: '' },
};
/** /**
* 视图唯一标识 * 视图唯一标识
...@@ -102,6 +136,37 @@ export class ActivityPointerGridViewBase extends GridViewBase { ...@@ -102,6 +136,37 @@ export class ActivityPointerGridViewBase extends GridViewBase {
}); });
} }
/**
* toolbar 部件 click 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof ActivityPointerGridViewBase
*/
public toolbar_click($event: any, $event2?: any): void {
if (Object.is($event.tag, 'deuiaction2')) {
this.toolbar_deuiaction2_click(null, '', $event2);
}
if (Object.is($event.tag, 'deuiaction3')) {
this.toolbar_deuiaction3_click(null, '', $event2);
}
if (Object.is($event.tag, 'deuiaction4')) {
this.toolbar_deuiaction4_click(null, '', $event2);
}
if (Object.is($event.tag, 'deuiaction5')) {
this.toolbar_deuiaction5_click(null, '', $event2);
}
if (Object.is($event.tag, 'deuiaction1')) {
this.toolbar_deuiaction1_click(null, '', $event2);
}
if (Object.is($event.tag, 'tbitem4')) {
this.toolbar_tbitem4_click(null, '', $event2);
}
if (Object.is($event.tag, 'tbitem8')) {
this.toolbar_tbitem8_click(null, '', $event2);
}
}
/** /**
* grid 部件 selectionchange 事件 * grid 部件 selectionchange 事件
* *
...@@ -190,6 +255,206 @@ export class ActivityPointerGridViewBase extends GridViewBase { ...@@ -190,6 +255,206 @@ export class ActivityPointerGridViewBase extends GridViewBase {
this.engine.onCtrlEvent('searchform', 'load', $event); this.engine.onCtrlEvent('searchform', 'load', $event);
} }
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public toolbar_deuiaction2_click(params: any = {}, tag?: any, $event?: any) {
// 参数
// 取数
let datas: any[] = [];
let xData: any = null;
// _this 指向容器对象
const _this: any = this;
let paramJO:any = {};
let contextJO:any = {};
xData = this.$refs.grid;
if (xData.getDatas && xData.getDatas instanceof Function) {
datas = [...xData.getDatas()];
}
if(params){
datas = [params];
}
// 界面行为
const curUIService:TaskUIService = new TaskUIService();
curUIService.Task_Create(datas,contextJO, paramJO, $event, xData,this,"ActivityPointer");
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public toolbar_deuiaction3_click(params: any = {}, tag?: any, $event?: any) {
// 参数
// 取数
let datas: any[] = [];
let xData: any = null;
// _this 指向容器对象
const _this: any = this;
let paramJO:any = {};
let contextJO:any = {};
xData = this.$refs.grid;
if (xData.getDatas && xData.getDatas instanceof Function) {
datas = [...xData.getDatas()];
}
if(params){
datas = [params];
}
// 界面行为
const curUIService:EmailUIService = new EmailUIService();
curUIService.Email_Create(datas,contextJO, paramJO, $event, xData,this,"ActivityPointer");
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public toolbar_deuiaction4_click(params: any = {}, tag?: any, $event?: any) {
// 参数
// 取数
let datas: any[] = [];
let xData: any = null;
// _this 指向容器对象
const _this: any = this;
let paramJO:any = {};
let contextJO:any = {};
xData = this.$refs.grid;
if (xData.getDatas && xData.getDatas instanceof Function) {
datas = [...xData.getDatas()];
}
if(params){
datas = [params];
}
// 界面行为
const curUIService:AppointmentUIService = new AppointmentUIService();
curUIService.Appointment_Create(datas,contextJO, paramJO, $event, xData,this,"ActivityPointer");
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public toolbar_deuiaction5_click(params: any = {}, tag?: any, $event?: any) {
// 参数
// 取数
let datas: any[] = [];
let xData: any = null;
// _this 指向容器对象
const _this: any = this;
let paramJO:any = {};
let contextJO:any = {};
xData = this.$refs.grid;
if (xData.getDatas && xData.getDatas instanceof Function) {
datas = [...xData.getDatas()];
}
if(params){
datas = [params];
}
// 界面行为
const curUIService:PhoneCallUIService = new PhoneCallUIService();
curUIService.PhoneCall_Create(datas,contextJO, paramJO, $event, xData,this,"ActivityPointer");
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public toolbar_deuiaction1_click(params: any = {}, tag?: any, $event?: any) {
// 参数
// 取数
let datas: any[] = [];
let xData: any = null;
// _this 指向容器对象
const _this: any = this;
let paramJO:any = {};
let contextJO:any = {};
xData = this.$refs.grid;
if (xData.getDatas && xData.getDatas instanceof Function) {
datas = [...xData.getDatas()];
}
if(params){
datas = [params];
}
// 界面行为
this.ToggleFilter(datas, contextJO,paramJO, $event, xData,this,"ActivityPointer");
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public toolbar_tbitem4_click(params: any = {}, tag?: any, $event?: any) {
// 参数
// 取数
let datas: any[] = [];
let xData: any = null;
// _this 指向容器对象
const _this: any = this;
let paramJO:any = {};
let contextJO:any = {};
xData = this.$refs.grid;
if (xData.getDatas && xData.getDatas instanceof Function) {
datas = [...xData.getDatas()];
}
if(params){
datas = [params];
}
// 界面行为
this.Edit(datas, contextJO,paramJO, $event, xData,this,"ActivityPointer");
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public toolbar_tbitem8_click(params: any = {}, tag?: any, $event?: any) {
// 参数
// 取数
let datas: any[] = [];
let xData: any = null;
// _this 指向容器对象
const _this: any = this;
let paramJO:any = {};
let contextJO:any = {};
xData = this.$refs.grid;
if (xData.getDatas && xData.getDatas instanceof Function) {
datas = [...xData.getDatas()];
}
if(params){
datas = [params];
}
// 界面行为
this.Remove(datas, contextJO,paramJO, $event, xData,this,"ActivityPointer");
}
/** /**
* 打开新建数据视图 * 打开新建数据视图
* *
...@@ -239,6 +504,68 @@ export class ActivityPointerGridViewBase extends GridViewBase { ...@@ -239,6 +504,68 @@ export class ActivityPointerGridViewBase extends GridViewBase {
} }
/**
* 过滤
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof ActivityPointerGridViewBase
*/
public ToggleFilter(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
const _this: any = this;
if (_this.hasOwnProperty('isExpandSearchForm')) {
_this.isExpandSearchForm = !_this.isExpandSearchForm;
}
}
/**
* 编辑
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof ActivityPointerGridViewBase
*/
public Edit(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
if (args.length === 0) {
return;
}
const _this: any = this;
if (_this.opendata && _this.opendata instanceof Function) {
const data: any = { };
if (args.length > 0) {
Object.assign(data, { activitypointer: args[0].activitypointer })
}
_this.opendata([{ ...data }], params, $event, xData);
} else {
_this.$Notice.error({ title: '错误', desc: 'opendata 视图处理逻辑不存在,请添加!' });
}
}
/**
* 删除
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof ActivityPointerGridViewBase
*/
public Remove(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
const _this: any = this;
if (!xData || !(xData.remove instanceof Function)) {
return ;
}
xData.remove(args);
}
/** /**
* 加载快速分组模型 * 加载快速分组模型
......
<studio-view-style2 viewName="activitypointergridview" viewTitle="活动" class='degridview activity-pointer-grid-view'> <studio-view-style2 viewName="activitypointergridview" viewTitle="活动" class='degridview activity-pointer-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)"/> <i-input slot="quickSearch" v-show="!isExpandSearchForm" v-model="query" search @on-search="onSearch($event)"/>
<template slot="quickGroupSearch"> <template slot="quickGroupSearch">
<app-quick-group :items="quickGroupModel" @valuechange="quickGroupValueChange"></app-quick-group> <app-quick-group :items="quickGroupModel" @valuechange="quickGroupValueChange"></app-quick-group>
</template> </template>
<template slot="toolbar">
<view-toolbar mode="STYLE2" :model="toolBarModels" @item-click="toolbar_click($event)"/> </template>
<template slot="searchForm"> <template slot="searchForm">
<view_searchform <view_searchform
:viewState="viewState" :viewState="viewState"
......
...@@ -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 InvoiceGridViewBase * @class InvoiceGridViewBase
......
<studio-view-style2 viewName="invoicegridview" viewTitle="发票表格视图" class='degridview invoice-grid-view'> <studio-view-style2 viewName="invoicegridview" viewTitle="发票信息" class='degridview invoice-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/invoice/main-grid/main-grid.vue'; ...@@ -7,7 +7,7 @@ import view_grid from '@widgets/invoice/main-grid/main-grid.vue';
import view_searchform from '@widgets/invoice/default-searchform/default-searchform.vue'; import view_searchform from '@widgets/invoice/default-searchform/default-searchform.vue';
/** /**
* 发票表格视图视图 * 发票信息视图
* *
* @export * @export
* @class InvoiceGridView * @class InvoiceGridView
......
...@@ -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 SalesOrderGridViewBase * @class SalesOrderGridViewBase
......
<studio-view-style2 viewName="salesordergridview" viewTitle="订单表格视图" class='degridview sales-order-grid-view'> <studio-view-style2 viewName="salesordergridview" viewTitle="订单信息" class='degridview sales-order-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/sales-order/main-grid/main-grid.vue'; ...@@ -7,7 +7,7 @@ import view_grid from '@widgets/sales-order/main-grid/main-grid.vue';
import view_searchform from '@widgets/sales-order/default-searchform/default-searchform.vue'; import view_searchform from '@widgets/sales-order/default-searchform/default-searchform.vue';
/** /**
* 订单表格视图视图 * 订单信息视图
* *
* @export * @export
* @class SalesOrderGridView * @class SalesOrderGridView
......
...@@ -67,8 +67,8 @@ export const PageComponents = { ...@@ -67,8 +67,8 @@ export const PageComponents = {
Vue.component('account-summary', () => import('@pages/base/account-summary/account-summary.vue')); Vue.component('account-summary', () => import('@pages/base/account-summary/account-summary.vue'));
Vue.component('opportunity-product-opp-opp-pro-grid-view', () => import('@pages/sales/opportunity-product-opp-opp-pro-grid-view/opportunity-product-opp-opp-pro-grid-view.vue')); Vue.component('opportunity-product-opp-opp-pro-grid-view', () => import('@pages/sales/opportunity-product-opp-opp-pro-grid-view/opportunity-product-opp-opp-pro-grid-view.vue'));
Vue.component('ibiz-list-quick-create', () => import('@pages/marketing/ibiz-list-quick-create/ibiz-list-quick-create.vue')); Vue.component('ibiz-list-quick-create', () => import('@pages/marketing/ibiz-list-quick-create/ibiz-list-quick-create.vue'));
Vue.component('quote-detail-quo-detail-grid-view', () => import('@pages/sales/quote-detail-quo-detail-grid-view/quote-detail-quo-detail-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('quote-detail-quo-detail-grid-view', () => import('@pages/sales/quote-detail-quo-detail-grid-view/quote-detail-quo-detail-grid-view.vue'));
Vue.component('campaign-response-edit-view', () => import('@pages/marketing/campaign-response-edit-view/campaign-response-edit-view.vue')); Vue.component('campaign-response-edit-view', () => import('@pages/marketing/campaign-response-edit-view/campaign-response-edit-view.vue'));
Vue.component('campaign-activity-quick-create', () => import('@pages/marketing/campaign-activity-quick-create/campaign-activity-quick-create.vue')); Vue.component('campaign-activity-quick-create', () => import('@pages/marketing/campaign-activity-quick-create/campaign-activity-quick-create.vue'));
Vue.component('campaign-info', () => import('@pages/marketing/campaign-info/campaign-info.vue')); Vue.component('campaign-info', () => import('@pages/marketing/campaign-info/campaign-info.vue'));
......
...@@ -1993,6 +1993,20 @@ const router = new Router({ ...@@ -1993,6 +1993,20 @@ const router = new Router({
}, },
component: () => import('@pages/marketing/ibiz-list-quick-create/ibiz-list-quick-create.vue'), component: () => import('@pages/marketing/ibiz-list-quick-create/ibiz-list-quick-create.vue'),
}, },
{
path: 'appointments/:appointment?/quickcreate/:quickcreate?',
meta: {
caption: 'entities.appointment.views.quickcreate.title',
info:'',
parameters: [
{ pathName: 'central', parameterName: 'central' },
{ pathName: 'appointments', parameterName: 'appointment' },
{ pathName: 'quickcreate', parameterName: 'quickcreate' },
],
requireAuth: true,
},
component: () => import('@pages/base/appointment-quick-create/appointment-quick-create.vue'),
},
{ {
path: 'accounts/:account?/contacts/:contact?/opportunities/:opportunity?/quotes/:quote?/quotedetails/:quotedetail?/quodetailgridview/:quodetailgridview?', path: 'accounts/:account?/contacts/:contact?/opportunities/:opportunity?/quotes/:quote?/quotedetails/:quotedetail?/quodetailgridview/:quodetailgridview?',
meta: { meta: {
...@@ -2073,20 +2087,6 @@ const router = new Router({ ...@@ -2073,20 +2087,6 @@ const router = new Router({
}, },
component: () => import('@pages/sales/quote-detail-quo-detail-grid-view/quote-detail-quo-detail-grid-view.vue'), component: () => import('@pages/sales/quote-detail-quo-detail-grid-view/quote-detail-quo-detail-grid-view.vue'),
}, },
{
path: 'appointments/:appointment?/quickcreate/:quickcreate?',
meta: {
caption: 'entities.appointment.views.quickcreate.title',
info:'',
parameters: [
{ pathName: 'central', parameterName: 'central' },
{ pathName: 'appointments', parameterName: 'appointment' },
{ pathName: 'quickcreate', parameterName: 'quickcreate' },
],
requireAuth: true,
},
component: () => import('@pages/base/appointment-quick-create/appointment-quick-create.vue'),
},
{ {
path: 'campaignresponses/:campaignresponse?/editview/:editview?', path: 'campaignresponses/:campaignresponse?/editview/:editview?',
meta: { meta: {
......
...@@ -448,11 +448,13 @@ export const viewstate: any = { ...@@ -448,11 +448,13 @@ export const viewstate: any = {
viewaction: '', viewaction: '',
viewdatachange: false, viewdatachange: false,
refviews: [ refviews: [
'aa79d35850f36fbc1a5085353ecd5af5',
'24e222a530526aab94ed4ed22cfedf9a', '24e222a530526aab94ed4ed22cfedf9a',
'99d4a530c13b03a98cd143f341394354', '99d4a530c13b03a98cd143f341394354',
'30458f00562fda145be535e56948b067', '30458f00562fda145be535e56948b067',
'b3cfac5362b3bfb70d1471932f120fa5', 'b3cfac5362b3bfb70d1471932f120fa5',
'3d538df4ca389d372347f7b53d67269f', '3d538df4ca389d372347f7b53d67269f',
'893e62d6fbdc4580de7e3e802aec9108',
'a50134133db91e46c8434ad0ebff22c7', 'a50134133db91e46c8434ad0ebff22c7',
'a95d7d9111bc13a8b73a11ee1e4ff92a', 'a95d7d9111bc13a8b73a11ee1e4ff92a',
'3f78dcc732a7a8ba6d959dcf6007b225', '3f78dcc732a7a8ba6d959dcf6007b225',
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册