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

tony001 发布系统代码 [后台服务,演示应用]

上级 ac280c27
......@@ -94,6 +94,13 @@
</i-button>
<div slot='content'>{{'多项数据测试'}}</div>
</tooltip>
<tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.deuiaction10.visabled" :disabled="toolBarModels.deuiaction10.disabled" class=' srfactionlevel100' v-button-loading:i-button @click="toolbar_click({ tag: 'deuiaction10' }, $event)">
<i class=''></i>
<span class='caption'>{{'导出测试'}}</span>
</i-button>
<div slot='content'>{{'导出测试'}}</div>
</tooltip>
</div>
</div>
</div>
......@@ -407,6 +414,8 @@ export default class IBIZBOOKListViewBase extends Vue {
deuiaction9: { name: 'deuiaction9', actiontarget: 'NONE', caption: '多项数据测试', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'mutliDataTest', target: 'MULTIDATA' } },
deuiaction10: { name: 'deuiaction10', actiontarget: 'NONE', caption: '导出测试', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'DataExportTest', target: 'SINGLEKEY' } },
};
......@@ -860,6 +869,9 @@ export default class IBIZBOOKListViewBase extends Vue {
if (Object.is($event.tag, 'deuiaction9')) {
this.toolbar_deuiaction9_click(null, '', $event2);
}
if (Object.is($event.tag, 'deuiaction10')) {
this.toolbar_deuiaction10_click(null, '', $event2);
}
}
/**
* list 部件 rowdblclick 事件
......@@ -1170,6 +1182,35 @@ export default class IBIZBOOKListViewBase extends Vue {
curUIService.IBIZBOOK_mutliDataTest(datas,contextJO, paramJO, $event, xData,this,"IBIZBOOK");
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public toolbar_deuiaction10_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.list;
if (xData.getDatas && xData.getDatas instanceof Function) {
datas = [...xData.getDatas()];
}
if(params){
datas = [params];
}
// 界面行为
const curUIService:IBIZBOOKUIService = new IBIZBOOKUIService();
curUIService.IBIZBOOK_DataExportTest(datas,contextJO, paramJO, $event, xData,this,"IBIZBOOK");
}
/**
* 打开新建数据视图
*
......
......@@ -75,6 +75,13 @@
</i-button>
<div slot='content'>{{'多项数据测试'}}</div>
</tooltip>
<tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.deuiaction10.visabled" :disabled="toolBarModels.deuiaction10.disabled" class=' srfactionlevel100' v-button-loading:i-button @click="toolbar_click({ tag: 'deuiaction10' }, $event)">
<i class=''></i>
<span class='caption'>{{'导出测试'}}</span>
</i-button>
<div slot='content'>{{'导出测试'}}</div>
</tooltip>
</div>
</div>
</div>
......@@ -387,6 +394,8 @@ export default class IBIZBOOKUsr3ListViewBase extends Vue {
deuiaction9: { name: 'deuiaction9', actiontarget: 'NONE', caption: '多项数据测试', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'mutliDataTest', target: 'MULTIDATA' } },
deuiaction10: { name: 'deuiaction10', actiontarget: 'NONE', caption: '导出测试', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'DataExportTest', target: 'SINGLEKEY' } },
};
......@@ -840,6 +849,9 @@ export default class IBIZBOOKUsr3ListViewBase extends Vue {
if (Object.is($event.tag, 'deuiaction9')) {
this.toolbar_deuiaction9_click(null, '', $event2);
}
if (Object.is($event.tag, 'deuiaction10')) {
this.toolbar_deuiaction10_click(null, '', $event2);
}
}
/**
* list 部件 rowdblclick 事件
......@@ -1150,6 +1162,35 @@ export default class IBIZBOOKUsr3ListViewBase extends Vue {
curUIService.IBIZBOOK_mutliDataTest(datas,contextJO, paramJO, $event, xData,this,"IBIZBOOK");
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public toolbar_deuiaction10_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.list;
if (xData.getDatas && xData.getDatas instanceof Function) {
datas = [...xData.getDatas()];
}
if(params){
datas = [params];
}
// 界面行为
const curUIService:IBIZBOOKUIService = new IBIZBOOKUIService();
curUIService.IBIZBOOK_DataExportTest(datas,contextJO, paramJO, $event, xData,this,"IBIZBOOK");
}
/**
* 打开新建数据视图
*
......
......@@ -141,6 +141,13 @@
</i-button>
<div slot='content'>{{'多项数据测试'}}</div>
</tooltip>
<tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.deuiaction10.visabled" :disabled="toolBarModels.deuiaction10.disabled" class=' srfactionlevel100' v-button-loading:i-button @click="toolbar_click({ tag: 'deuiaction10' }, $event)">
<i class=''></i>
<span class='caption'>{{'导出测试'}}</span>
</i-button>
<div slot='content'>{{'导出测试'}}</div>
</tooltip>
</div>
</app-ctrl-pos>
</template>
......@@ -420,6 +427,8 @@ export default class IBIZBOOKUsr4ListView_layoutBase extends Vue {
deuiaction9: { name: 'deuiaction9', actiontarget: 'NONE', caption: '多项数据测试', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'mutliDataTest', target: 'MULTIDATA' } },
deuiaction10: { name: 'deuiaction10', actiontarget: 'NONE', caption: '导出测试', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'DataExportTest', target: 'SINGLEKEY' } },
};
/**
......@@ -1131,6 +1140,9 @@ export default class IBIZBOOKUsr4ListView_layoutBase extends Vue {
if (Object.is($event.tag, 'deuiaction9')) {
this.toolbar_deuiaction9_click(null, '', $event2);
}
if (Object.is($event.tag, 'deuiaction10')) {
this.toolbar_deuiaction10_click(null, '', $event2);
}
}
......@@ -1391,6 +1403,35 @@ export default class IBIZBOOKUsr4ListView_layoutBase extends Vue {
curUIService.IBIZBOOK_mutliDataTest(datas,contextJO, paramJO, $event, xData,this,"IBIZBOOK");
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public toolbar_deuiaction10_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.list;
if (xData.getDatas && xData.getDatas instanceof Function) {
datas = [...xData.getDatas()];
}
if(params){
datas = [params];
}
// 界面行为
const curUIService:IBIZBOOKUIService = new IBIZBOOKUIService();
curUIService.IBIZBOOK_DataExportTest(datas,contextJO, paramJO, $event, xData,this,"IBIZBOOK");
}
/**
* 打开新建数据视图
*
......
......@@ -78,6 +78,13 @@
</i-button>
<div slot='content'>{{'多项数据测试'}}</div>
</tooltip>
<tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.deuiaction10.visabled" :disabled="toolBarModels.deuiaction10.disabled" class=' srfactionlevel100' v-button-loading:i-button @click="toolbar_click({ tag: 'deuiaction10' }, $event)">
<i class=''></i>
<span class='caption'>{{'导出测试'}}</span>
</i-button>
<div slot='content'>{{'导出测试'}}</div>
</tooltip>
</div>
</div>
</div>
......@@ -390,6 +397,8 @@ export default class IBIZBOOKUsr4ListViewBase extends Vue {
deuiaction9: { name: 'deuiaction9', actiontarget: 'NONE', caption: '多项数据测试', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'mutliDataTest', target: 'MULTIDATA' } },
deuiaction10: { name: 'deuiaction10', actiontarget: 'NONE', caption: '导出测试', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'DataExportTest', target: 'SINGLEKEY' } },
};
......@@ -893,6 +902,9 @@ export default class IBIZBOOKUsr4ListViewBase extends Vue {
if (Object.is($event.tag, 'deuiaction9')) {
this.toolbar_deuiaction9_click(null, '', $event2);
}
if (Object.is($event.tag, 'deuiaction10')) {
this.toolbar_deuiaction10_click(null, '', $event2);
}
}
......@@ -1153,6 +1165,35 @@ export default class IBIZBOOKUsr4ListViewBase extends Vue {
curUIService.IBIZBOOK_mutliDataTest(datas,contextJO, paramJO, $event, xData,this,"IBIZBOOK");
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public toolbar_deuiaction10_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.list;
if (xData.getDatas && xData.getDatas instanceof Function) {
datas = [...xData.getDatas()];
}
if(params){
datas = [params];
}
// 界面行为
const curUIService:IBIZBOOKUIService = new IBIZBOOKUIService();
curUIService.IBIZBOOK_DataExportTest(datas,contextJO, paramJO, $event, xData,this,"IBIZBOOK");
}
/**
* 打开新建数据视图
*
......
......@@ -4,8 +4,8 @@
<div class='view-top-messages'>
<app-alert-group position='TOP' :context="context" :viewparam="viewparams" infoGroup='VMGroup44' viewname='ibizordergridexpview'></app-alert-group> </div>
<div class="content-container">
<split v-model="split" mode="horizontal" @on-move-end="onSplitChange">
<template slot="left">
<split v-model="split" mode="vertical" @on-move-end="onSplitChange">
<template slot="top">
<view_gridexpbar
:viewState="viewState"
:viewparams="viewparams"
......@@ -23,7 +23,7 @@
@closeview="closeView($event)">
</view_gridexpbar>
</template>
<template slot="right">
<template slot="bottom">
<component
v-if="navItem && navItem.navView"
:is="navItem.navView"
......@@ -864,8 +864,8 @@ export default class IBIZOrderGridExpViewBase extends Vue {
if (this.$store.getters.getViewSplit(this.viewUID)) {
this.split = this.$store.getters.getViewSplit(this.viewUID);
} else {
const containerWidth = (this.$el as any).offsetWidth;
this.split = 500 / containerWidth;
const containerHeight = (this.$el as any).offsetHeight;
this.split = 0 / containerHeight;
this.$store.commit("setViewSplit", { viewUID: this.viewUID, viewSplit: this.split });
}
}
......
......@@ -712,7 +712,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/
public load(opt: any = {}): void {
if(!this.loadAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr9GridView' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr5DataView' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
return;
}
const arg: any = { ...opt };
......@@ -748,7 +748,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/
public async loadDraft(opt: any = {},mode?:string): Promise<any> {
if(!this.loaddraftAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr9GridView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr5DataView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
return;
}
const arg: any = { ...opt } ;
......
......@@ -11,7 +11,7 @@ export default class Usr2Model {
* 获取数据项集合
*
* @returns {any[]}
* @memberof Usr2Dataviewexpbar_dataviewMode
* @memberof Usr2DataViewMode
*/
public getDataItems(): any[] {
return [
......@@ -40,6 +40,17 @@ export default class Usr2Model {
dataType: 'FONTKEY',
},
{
name: 'n_ibizbookname_like',
prop: 'n_ibizbookname_like',
dataType: 'QUERYPARAM'
},
{
name: 'n_price_gtandeq',
prop: 'n_price_gtandeq',
dataType: 'QUERYPARAM'
},
{
name:'size',
......
......@@ -718,7 +718,7 @@ export default class Usr4Base extends Vue implements ControlInterface {
*/
public async load(opt: any = {}, isReset: boolean = false): Promise<any> {
if(!this.fetchAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKTestCLDataView' + (this.$t('app.list.notConfig.fetchAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr4DataView' + (this.$t('app.list.notConfig.fetchAction') as string) });
return;
}
const arg: any = {...opt};
......@@ -812,7 +812,7 @@ export default class Usr4Base extends Vue implements ControlInterface {
*/
public async remove(datas: any[]): Promise<any> {
if(!this.removeAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKTestCLDataView' + (this.$t('app.gridpage.notConfig.removeAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr4DataView' + (this.$t('app.gridpage.notConfig.removeAction') as string) });
return;
}
let _datas:any[] = [];
......@@ -928,7 +928,7 @@ export default class Usr4Base extends Vue implements ControlInterface {
try {
if(Object.is(item.rowDataState, 'create')){
if(!this.createAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKTestCLDataView' + (this.$t('app.list.notConfig.createAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr4DataView' + (this.$t('app.list.notConfig.createAction') as string) });
}else{
Object.assign(item,{viewparams:this.viewparams});
let response = await this.service.add(this.createAction, JSON.parse(JSON.stringify(this.context)),item, this.showBusyIndicator);
......@@ -936,7 +936,7 @@ export default class Usr4Base extends Vue implements ControlInterface {
}
}else if(Object.is(item.rowDataState, 'update')){
if(!this.updateAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKTestCLDataView' + (this.$t('app.list.notConfig.updateAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr4DataView' + (this.$t('app.list.notConfig.updateAction') as string) });
}else{
Object.assign(item,{viewparams:this.viewparams});
if(item.ibizbook){
......
......@@ -70,6 +70,11 @@ export default class Usr4Model {
prop: 'n_ibizbookname_like',
dataType: 'QUERYPARAM'
},
{
name: 'n_price_gtandeq',
prop: 'n_price_gtandeq',
dataType: 'QUERYPARAM'
},
{
......
......@@ -933,7 +933,7 @@ export default class MainBase extends Vue implements ControlInterface {
if (!this.fetchAction) {
this.$Notice.error({
title: this.$t("app.commonWords.wrong") as string,
desc: "IBIZOrderDetailSGridView" + (this.$t("app.gridpage.notConfig.fetchAction") as string),
desc: "IBIZOrderDetailSGridView9" + (this.$t("app.gridpage.notConfig.fetchAction") as string),
});
return;
}
......@@ -1073,7 +1073,7 @@ export default class MainBase extends Vue implements ControlInterface {
if (!this.removeAction) {
this.$Notice.error({
title: (this.$t('app.commonWords.wrong') as string),
desc: 'IBIZOrderDetailSGridView' + (this.$t('app.gridpage.notConfig.removeAction') as string)
desc: 'IBIZOrderDetailSGridView9' + (this.$t('app.gridpage.notConfig.removeAction') as string)
});
return;
}
......@@ -1187,7 +1187,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/
public addBatch(arg: any = {}): void {
if(!this.fetchAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailSGridView'+(this.$t('app.gridpage.notConfig.fetchAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailSGridView9'+(this.$t('app.gridpage.notConfig.fetchAction') as string) });
return;
}
if(!arg){
......@@ -2082,7 +2082,7 @@ export default class MainBase extends Vue implements ControlInterface {
try {
if (Object.is(item.rowDataState, 'create')) {
if (!this.createAction) {
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailSGridView'+(this.$t('app.gridpage.notConfig.createAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailSGridView9'+(this.$t('app.gridpage.notConfig.createAction') as string) });
} else {
Object.assign(item, { viewparams: this.viewparams });
const tempContext = Util.deepCopy(this.context);
......@@ -2091,7 +2091,7 @@ export default class MainBase extends Vue implements ControlInterface {
}
}else if (Object.is(item.rowDataState, 'update')){
if (!this.updateAction) {
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailSGridView'+(this.$t('app.gridpage.notConfig.updateAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailSGridView9'+(this.$t('app.gridpage.notConfig.updateAction') as string) });
} else {
Object.assign(item, { viewparams: this.viewparams });
const tempContext = Util.deepCopy(this.context);
......@@ -2167,7 +2167,7 @@ export default class MainBase extends Vue implements ControlInterface {
if(!this.loaddraftAction){
this.$Notice.error({
title: (this.$t('app.commonWords.wrong') as string),
desc: 'IBIZOrderDetailSGridView' + (this.$t('app.gridpage.notConfig.loaddraftAction') as string)
desc: 'IBIZOrderDetailSGridView9' + (this.$t('app.gridpage.notConfig.loaddraftAction') as string)
});
return;
}
......
......@@ -2,10 +2,13 @@
<div id="gridexpviewgridexpbar" class="app-grid-exp-bar">
<div class='grid-exp-bar-header'>
<div class="grid-exp-bar-title">
<icon type='ios-home-outline'/>{{ $t('app.gridBar.title') }}
<icon type='ios-home-outline'/>我是标题
</div>
</div>
<div class="exp-bar-action-container">
<div class="quick-group-container">
<app-quick-group :items="quickGroupModel" @valuechange="quickGroupValueChange"></app-quick-group>
</div>
<div class='search-container'>
<i-input
v-model="searchText"
......@@ -423,6 +426,111 @@ export default class GridExpViewgridexpbarBase extends Vue implements ControlInt
* @memberof GridExpViewgridexpbarBase
*/
public navigateParams:any = {param2:"%ibizordername%",param1:"param3"};
/**
* 代码表服务对象
*
* @type {CodeListService}
* @memberof IBIZOrderGridExpViewBase
*/
public codeListService:CodeListService = new CodeListService();
/**
* 快速分组数据对象
*
* @memberof IBIZOrderGridExpViewBase
*/
public quickGroupData:any;
/**
* 快速分组是否有抛值
*
* @memberof IBIZOrderGridExpViewBase
*/
public isEmitQuickGroupValue:boolean = false;
/**
* 快速分组模型
*
* @memberof IBIZOrderGridExpViewBase
*/
public quickGroupModel:Array<any> = [];
/**
* 加载快速分组模型
*
* @memberof IBIZOrderGridExpViewBase
*/
public loadQuickGroupModel(){
let quickGroupCodeList:any = {tag:'OrderType',codelistType:'STATIC'};
if(quickGroupCodeList.tag && Object.is(quickGroupCodeList.codelistType,"STATIC")){
const codelist = this.$store.getters.getCodeList(quickGroupCodeList.tag);
if (codelist) {
this.quickGroupModel = [...this.handleDynamicData(JSON.parse(JSON.stringify(codelist.items)))];
} else {
console.log(`----${quickGroupCodeList.tag}----代码表不存在`);
}
}else if(quickGroupCodeList.tag && Object.is(quickGroupCodeList.codelistType,"DYNAMIC")){
this.codeListService.getItems(quickGroupCodeList.tag,{},{}).then((res:any) => {
this.quickGroupModel = res;
}).catch((error:any) => {
console.log(`----${quickGroupCodeList.tag}----代码表不存在`);
});
}
}
/**
* 处理快速分组模型动态数据部分(%xxx%)
*
* @memberof IBIZOrderGridExpViewBase
*/
public handleDynamicData(inputArray:Array<any>){
if(inputArray.length >0){
inputArray.forEach((item:any) =>{
if(item.data && Object.keys(item.data).length >0){
Object.keys(item.data).forEach((name:any) =>{
let value: any = item.data[name];
if (value && typeof(value)=='string' && value.startsWith('%') && value.endsWith('%')) {
const key = (value.substring(1, value.length - 1)).toLowerCase();
if (this.context[key]) {
value = this.context[key];
} else if(this.viewparams[key]){
value = this.viewparams[key];
}
}
item.data[name] = value;
})
}
})
}
return inputArray;
}
/**
* 快速分组值变化
*
* @memberof IBIZOrderGridExpViewBase
*/
public quickGroupValueChange($event:any){
if($event && $event.data){
if(this.quickGroupData) {
for(let key in this.quickGroupData) {
delete this.viewparams[key];
}
}
this.quickGroupData = $event.data;
Object.assign(this.viewparams, $event.data);
}else{
if(this.quickGroupData) {
for(let key in this.quickGroupData) {
delete this.viewparams[key];
}
}
}
if(this.isEmitQuickGroupValue){
this.onSearch($event);
}
this.isEmitQuickGroupValue = true;
}
/**
* 显示处理提示
......@@ -480,6 +588,7 @@ export default class GridExpViewgridexpbarBase extends Vue implements ControlInt
* @memberof GridExpViewgridexpbarBase
*/
public afterCreated(){
this.loadQuickGroupModel();
if (this.viewState) {
this.viewStateEvent = this.viewState.subscribe(({ tag, action, data }) => {
if (!Object.is(tag, this.name)) {
......
......@@ -141,6 +141,17 @@
"id" : "toolbar_deuiaction9"
},
"getPSViewCtrlName" : "toolbar"
}, {
"eventArg" : "deuiaction10",
"eventNames" : "CLICK",
"logicTrigger" : "CTRLEVENT",
"logicType" : "APPVIEWUIACTION",
"name" : "toolbar_deuiaction10_click",
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "toolbar_deuiaction10"
},
"getPSViewCtrlName" : "toolbar"
}, {
"logicTrigger" : "CUSTOM",
"logicType" : "SYSUILOGIC",
......@@ -322,6 +333,18 @@
},
"uIActionTarget" : "MULTIDATA",
"xDataControlName" : "list"
}, {
"name" : "toolbar_deuiaction10",
"getPSUIAction" : {
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"modelref" : true,
"id" : "DataExportTest@IBIZBOOK"
},
"uIActionTarget" : "SINGLEKEY",
"xDataControlName" : "list"
} ],
"getPSControls" : [ {
"codeName" : "QUICKSEARCHFORM",
......@@ -756,6 +779,16 @@
"modelref" : true,
"id" : "toolbar_deuiaction9_click"
}
}, {
"eventArg" : "deuiaction10",
"eventNames" : "CLICK",
"logicTag" : "toolbar",
"logicType" : "APPVIEWLOGIC",
"name" : "toolbar_deuiaction10_click",
"getPSAppViewLogic" : {
"modelref" : true,
"id" : "toolbar_deuiaction10_click"
}
} ],
"getPSControlParam" : {
"id" : "TOOLBAR"
......@@ -1165,6 +1198,42 @@
"tooltip" : "多项数据测试",
"showCaption" : true,
"showIcon" : true
}, {
"caption" : "导出测试",
"groupExtractMode" : "ITEM",
"itemType" : "DEUIACTION",
"name" : "deuiaction10",
"noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "toolbar_deuiaction10"
},
"getPSUIAction" : {
"actionTarget" : "SINGLEKEY",
"caption" : "导出测试",
"codeName" : "DataExportTest",
"frontProcessType" : "DATAEXP",
"fullCodeName" : "IBIZBOOK_DataExportTest",
"mOSFilePath" : "pssysapps/Web/psappdataentities/IBIZBOOK/psappdeuiactions/DataExportTest",
"name" : "导出测试",
"getPSAppDEDataExport" : {
"modelref" : true,
"id" : "DataExport"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZBOOK/psappdeuiactions/DataExportTest",
"timeout" : 60000,
"uIActionMode" : "FRONT",
"uIActionTag" : "DataExportTest",
"uIActionType" : "DEUIACTION",
"id" : "DataExportTest@IBIZBOOK"
},
"tooltip" : "导出测试",
"showCaption" : true,
"showIcon" : true
} ],
"rTMOSFilePath" : "pssysapps/Web/psappdeviews/IBIZBOOKListView/psappviewctrls/toolbar",
"modelid" : "86d87068d8256316499b9c87ff0783e2",
......
......@@ -141,6 +141,17 @@
"id" : "toolbar_deuiaction9"
},
"getPSViewCtrlName" : "toolbar"
}, {
"eventArg" : "deuiaction10",
"eventNames" : "CLICK",
"logicTrigger" : "CTRLEVENT",
"logicType" : "APPVIEWUIACTION",
"name" : "toolbar_deuiaction10_click",
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "toolbar_deuiaction10"
},
"getPSViewCtrlName" : "toolbar"
}, {
"logicTrigger" : "CUSTOM",
"logicType" : "SYSUILOGIC",
......@@ -322,6 +333,18 @@
},
"uIActionTarget" : "MULTIDATA",
"xDataControlName" : "list"
}, {
"name" : "toolbar_deuiaction10",
"getPSUIAction" : {
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"modelref" : true,
"id" : "DataExportTest@IBIZBOOK"
},
"uIActionTarget" : "SINGLEKEY",
"xDataControlName" : "list"
} ],
"getPSControls" : [ {
"codeName" : "Default",
......@@ -616,6 +639,16 @@
"modelref" : true,
"id" : "toolbar_deuiaction9_click"
}
}, {
"eventArg" : "deuiaction10",
"eventNames" : "CLICK",
"logicTag" : "toolbar",
"logicType" : "APPVIEWLOGIC",
"name" : "toolbar_deuiaction10_click",
"getPSAppViewLogic" : {
"modelref" : true,
"id" : "toolbar_deuiaction10_click"
}
} ],
"getPSControlParam" : {
"id" : "TOOLBAR"
......@@ -1025,6 +1058,42 @@
"tooltip" : "多项数据测试",
"showCaption" : true,
"showIcon" : true
}, {
"caption" : "导出测试",
"groupExtractMode" : "ITEM",
"itemType" : "DEUIACTION",
"name" : "deuiaction10",
"noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "toolbar_deuiaction10"
},
"getPSUIAction" : {
"actionTarget" : "SINGLEKEY",
"caption" : "导出测试",
"codeName" : "DataExportTest",
"frontProcessType" : "DATAEXP",
"fullCodeName" : "IBIZBOOK_DataExportTest",
"mOSFilePath" : "pssysapps/Web/psappdataentities/IBIZBOOK/psappdeuiactions/DataExportTest",
"name" : "导出测试",
"getPSAppDEDataExport" : {
"modelref" : true,
"id" : "DataExport"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZBOOK/psappdeuiactions/DataExportTest",
"timeout" : 60000,
"uIActionMode" : "FRONT",
"uIActionTag" : "DataExportTest",
"uIActionType" : "DEUIACTION",
"id" : "DataExportTest@IBIZBOOK"
},
"tooltip" : "导出测试",
"showCaption" : true,
"showIcon" : true
} ],
"rTMOSFilePath" : "pssysapps/Web/psappdeviews/IBIZBOOKUsr3ListView/psappviewctrls/toolbar",
"modelid" : "86d87068d8256316499b9c87ff0783e2",
......
......@@ -141,6 +141,17 @@
"id" : "toolbar_deuiaction9"
},
"getPSViewCtrlName" : "toolbar"
}, {
"eventArg" : "deuiaction10",
"eventNames" : "CLICK",
"logicTrigger" : "CTRLEVENT",
"logicType" : "APPVIEWUIACTION",
"name" : "toolbar_deuiaction10_click",
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "toolbar_deuiaction10"
},
"getPSViewCtrlName" : "toolbar"
}, {
"logicTrigger" : "CUSTOM",
"logicType" : "SYSUILOGIC",
......@@ -322,6 +333,18 @@
},
"uIActionTarget" : "MULTIDATA",
"xDataControlName" : "list"
}, {
"name" : "toolbar_deuiaction10",
"getPSUIAction" : {
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"modelref" : true,
"id" : "DataExportTest@IBIZBOOK"
},
"uIActionTarget" : "SINGLEKEY",
"xDataControlName" : "list"
} ],
"getPSControls" : [ {
"codeName" : "Default",
......@@ -1040,6 +1063,10 @@
"modelid" : "2af289950f1ff781487577fd48319536",
"modeltype" : "PSDETOOLBAR"
} ],
"getPSDEDataExport" : {
"modelref" : true,
"id" : "DataExport"
},
"getPSDEDataImport" : {
"modelref" : true,
"id" : "DataImport"
......@@ -1311,6 +1338,16 @@
"modelref" : true,
"id" : "toolbar_deuiaction9_click"
}
}, {
"eventArg" : "deuiaction10",
"eventNames" : "CLICK",
"logicTag" : "toolbar",
"logicType" : "APPVIEWLOGIC",
"name" : "toolbar_deuiaction10_click",
"getPSAppViewLogic" : {
"modelref" : true,
"id" : "toolbar_deuiaction10_click"
}
} ],
"getPSControlParam" : {
"id" : "TOOLBAR"
......@@ -1720,6 +1757,42 @@
"tooltip" : "多项数据测试",
"showCaption" : true,
"showIcon" : true
}, {
"caption" : "导出测试",
"groupExtractMode" : "ITEM",
"itemType" : "DEUIACTION",
"name" : "deuiaction10",
"noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "toolbar_deuiaction10"
},
"getPSUIAction" : {
"actionTarget" : "SINGLEKEY",
"caption" : "导出测试",
"codeName" : "DataExportTest",
"frontProcessType" : "DATAEXP",
"fullCodeName" : "IBIZBOOK_DataExportTest",
"mOSFilePath" : "pssysapps/Web/psappdataentities/IBIZBOOK/psappdeuiactions/DataExportTest",
"name" : "导出测试",
"getPSAppDEDataExport" : {
"modelref" : true,
"id" : "DataExport"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZBOOK/psappdeuiactions/DataExportTest",
"timeout" : 60000,
"uIActionMode" : "FRONT",
"uIActionTag" : "DataExportTest",
"uIActionType" : "DEUIACTION",
"id" : "DataExportTest@IBIZBOOK"
},
"tooltip" : "导出测试",
"showCaption" : true,
"showIcon" : true
} ],
"rTMOSFilePath" : "pssysapps/Web/psappdeviews/IBIZBOOKUsr4ListView/psappviewctrls/toolbar",
"modelid" : "86d87068d8256316499b9c87ff0783e2",
......
......@@ -141,6 +141,17 @@
"id" : "toolbar_deuiaction9"
},
"getPSViewCtrlName" : "toolbar"
}, {
"eventArg" : "deuiaction10",
"eventNames" : "CLICK",
"logicTrigger" : "CTRLEVENT",
"logicType" : "APPVIEWUIACTION",
"name" : "toolbar_deuiaction10_click",
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "toolbar_deuiaction10"
},
"getPSViewCtrlName" : "toolbar"
}, {
"logicTrigger" : "CUSTOM",
"logicType" : "SYSUILOGIC",
......@@ -322,6 +333,18 @@
},
"uIActionTarget" : "MULTIDATA",
"xDataControlName" : "list"
}, {
"name" : "toolbar_deuiaction10",
"getPSUIAction" : {
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"modelref" : true,
"id" : "DataExportTest@IBIZBOOK"
},
"uIActionTarget" : "SINGLEKEY",
"xDataControlName" : "list"
} ],
"getPSControls" : [ {
"codeName" : "Default",
......@@ -1311,6 +1334,16 @@
"modelref" : true,
"id" : "toolbar_deuiaction9_click"
}
}, {
"eventArg" : "deuiaction10",
"eventNames" : "CLICK",
"logicTag" : "toolbar",
"logicType" : "APPVIEWLOGIC",
"name" : "toolbar_deuiaction10_click",
"getPSAppViewLogic" : {
"modelref" : true,
"id" : "toolbar_deuiaction10_click"
}
} ],
"getPSControlParam" : {
"id" : "TOOLBAR"
......@@ -1720,6 +1753,42 @@
"tooltip" : "多项数据测试",
"showCaption" : true,
"showIcon" : true
}, {
"caption" : "导出测试",
"groupExtractMode" : "ITEM",
"itemType" : "DEUIACTION",
"name" : "deuiaction10",
"noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "toolbar_deuiaction10"
},
"getPSUIAction" : {
"actionTarget" : "SINGLEKEY",
"caption" : "导出测试",
"codeName" : "DataExportTest",
"frontProcessType" : "DATAEXP",
"fullCodeName" : "IBIZBOOK_DataExportTest",
"mOSFilePath" : "pssysapps/Web/psappdataentities/IBIZBOOK/psappdeuiactions/DataExportTest",
"name" : "导出测试",
"getPSAppDEDataExport" : {
"modelref" : true,
"id" : "DataExport"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZBOOK/psappdeuiactions/DataExportTest",
"timeout" : 60000,
"uIActionMode" : "FRONT",
"uIActionTag" : "DataExportTest",
"uIActionType" : "DEUIACTION",
"id" : "DataExportTest@IBIZBOOK"
},
"tooltip" : "导出测试",
"showCaption" : true,
"showIcon" : true
} ],
"rTMOSFilePath" : "pssysapps/Web/psappdeviews/IBIZBOOKUsr4ListView_layout/psappviewctrls/toolbar",
"modelid" : "86d87068d8256316499b9c87ff0783e2",
......
......@@ -185,7 +185,7 @@
}
} ],
"getPSControlParam" : {
"width" : 500.0,
"width" : 600.0,
"autoLoad" : true,
"showBusyIndicator" : true,
"id" : "GRIDEXPBAR"
......@@ -683,7 +683,8 @@
"modeltype" : "PSDETOOLBAR"
} ],
"rTMOSFilePath" : "pssysapps/Web/psappdeviews/IBIZOrderGridExpView/psappviewctrls/gridexpbar",
"width" : 500.0,
"title" : "我是标题",
"width" : 600.0,
"xDataControlName" : "gridexpbar_grid",
"enableCounter" : true,
"enableSearch" : true,
......@@ -717,13 +718,18 @@
"modelref" : true,
"path" : "PSWORKFLOWS/ODSP.json"
},
"getQuickGroupPSCodeList" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPCODELISTS/OrderType.json"
},
"rTMOSFilePath" : "pssysapps/Web/psappdeviews/IBIZOrderGridExpView",
"sideBarLayout" : "LEFT",
"sideBarLayout" : "TOP",
"title" : "实体表格导航视图",
"viewStyle" : "DEFAULT",
"viewType" : "DEGRIDEXPVIEW",
"enableDP" : true,
"enableFilter" : false,
"enableQuickGroup" : true,
"enableQuickSearch" : true,
"showCaptionBar" : false,
"showDataInfoBar" : true,
......
......@@ -5481,6 +5481,18 @@
"viewType" : "DEKANBANVIEW"
},
"rTMOSFilePath" : "pssysapps/Web/psappfuncs/AppFunc113"
}, {
"appFuncType" : "APPVIEW",
"codeName" : "AppFunc141",
"mOSFilePath" : "pssysapps/Web/psappfuncs/AppFunc141",
"name" : "表格导航测试",
"openMode" : "INDEXVIEWTAB",
"getPSAppView" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZOrderTestGridExpView.json",
"viewType" : "DEGRIDEXPVIEW"
},
"rTMOSFilePath" : "pssysapps/Web/psappfuncs/AppFunc141"
}, {
"appFuncType" : "APPVIEW",
"codeName" : "AppFunc83",
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册