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

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

上级 d1552e38
......@@ -953,9 +953,6 @@ export default class IBIZBOOKGridLoadCustomViewBase extends Vue {
if (Object.is($event.tag, 'deuiaction3')) {
this.toolbar_deuiaction3_click(null, '', $event2);
}
if (Object.is($event.tag, 'deuiaction4')) {
this.toolbar_deuiaction4_click(null, '', $event2);
}
}
......@@ -1043,33 +1040,6 @@ export default class IBIZBOOKGridLoadCustomViewBase extends Vue {
curUIService.IBIZBOOK_DataExportTest(datas,contextJO, paramJO, $event, xData,this,"IBIZBOOK");
}
/**
* 逻辑事件
*
* @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 = {};
if (_this.getDatas && _this.getDatas instanceof Function) {
datas = [..._this.getDatas()];
}
if(params){
datas = [params];
}
// 界面行为
this.ToggleRowEdit(datas, contextJO,paramJO, $event, xData,this,"IBIZBOOK");
}
/**
* 输出参数
*
......@@ -1100,20 +1070,6 @@ export default class IBIZBOOKGridLoadCustomViewBase extends Vue {
});
}
/**
* 行编辑
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof IBIZBOOKGridLoadCustomViewBase
*/
public ToggleRowEdit(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
xData.actualIsOpenEdit = !xData.actualIsOpenEdit;
}
/**
* 关闭视图
......
......@@ -9,26 +9,103 @@
<div class='pull-right'>
<div class='toolbar-container'>
<tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.deuiaction1.visabled" :disabled="toolBarModels.deuiaction1.disabled" class='' v-button-loading:i-button @click="toolbar_click({ tag: 'deuiaction1' }, $event)">
<i-button v-show="toolBarModels.tbitem3.visabled" :disabled="toolBarModels.tbitem3.disabled" class='' v-button-loading:i-button @click="toolbar_click({ tag: 'tbitem3' }, $event)">
<i class=''></i>
<span class='caption'>{{'打印'}}</span>
<span class='caption'>{{'新建'}}</span>
</i-button>
<div slot='content'>{{'打印'}}</div>
<div slot='content'>{{$t('TBB.TEXT.*.NEW', '新建')}}</div>
</tooltip>
<tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.deuiaction2.visabled" :disabled="toolBarModels.deuiaction2.disabled" class='' v-button-loading:i-button @click="toolbar_click({ tag: 'deuiaction2' }, $event)">
<i class=''></i>
<span class='caption'>{{'保存'}}</span>
</i-button>
<div slot='content'>{{$t('TBB.TEXT.*.SAVE', '保存')}}</div>
</tooltip>
<tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.tbitem4.visabled" :disabled="toolBarModels.tbitem4.disabled" class='' v-button-loading:i-button @click="toolbar_click({ tag: 'tbitem4' }, $event)">
<span class='caption'>{{'编辑'}}</span>
</i-button>
<div slot='content'>{{$t('TBB.TEXT.*.EDIT', '编辑')}}</div>
</tooltip>
<tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.tbitem6.visabled" :disabled="toolBarModels.tbitem6.disabled" class='' v-button-loading:i-button @click="toolbar_click({ tag: 'tbitem6' }, $event)">
<span class='caption'>{{'拷贝'}}</span>
</i-button>
<div slot='content'>{{$t('TBB.TEXT.*.COPY', '拷贝')}}</div>
</tooltip>
<tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.deuiaction3.visabled" :disabled="toolBarModels.deuiaction3.disabled" class='' v-button-loading:i-button @click="toolbar_click({ tag: 'deuiaction3' }, $event)">
<i class='fa fa-filter'></i>
<span class='caption'>{{'过滤'}}</span>
</i-button>
<div slot='content'>{{$t('TBB.TEXT.*.FILTER', '过滤')}}</div>
</tooltip>
<span class='seperator'>|</span>
<tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.tbitem8.visabled" :disabled="toolBarModels.tbitem8.disabled" class='' v-button-loading:i-button @click="toolbar_click({ tag: 'tbitem8' }, $event)">
<span class='caption'>{{'删除'}}</span>
</i-button>
<div slot='content'>{{$t('TBB.TEXT.*.REMOVE', '删除')}}</div>
</tooltip>
<span class='seperator'>|</span>
<tooltip :transfer="true" :max-width="600">
<app-export-excel :item="toolBarModels.tbitem13" :caption="$t('TBB.TEXT.*.EXPORT', '导出')" @exportexcel="toolbar_click({ tag: 'tbitem13' }, $event)"></app-export-excel>
<div slot='content'>{{$t('TBB.TEXT.*.EXPORT', '导出')}}</div>
</tooltip>
<tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.deuiaction1.visabled" :disabled="toolBarModels.deuiaction1.disabled" class='' v-button-loading:i-button @click="toolbar_click({ tag: 'deuiaction1' }, $event)">
<i class='fa fa-upload'></i>
<span class='caption'>{{'导入'}}</span>
</i-button>
<div slot='content'>{{'导入'}}</div>
</tooltip>
<span class='seperator'>|</span>
<tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.deuiaction3.visabled" :disabled="toolBarModels.deuiaction3.disabled" class='' v-button-loading:i-button @click="toolbar_click({ tag: 'deuiaction3' }, $event)">
<i class=''></i>
<span class='caption'>{{'导出'}}</span>
<i-button v-show="toolBarModels.tbitem11.visabled" :disabled="toolBarModels.tbitem11.disabled" class='' v-button-loading:i-button @click="toolbar_click({ tag: 'tbitem11' }, $event)">
<i class='fa fa-print'></i>
<span class='caption'>{{'打印'}}</span>
</i-button>
<div slot='content'>{{$t('TBB.TEXT.*.PRINT', '打印')}}</div>
</tooltip>
<span class='seperator'>|</span>
<dropdown v-show="toolBarModels.tbitem16.visabled" trigger='click'>
<tooltip :transfer="true" :max-width="600">
<i-button class=''>
<i class=''></i>
<span class='caption'>{{'其它'}}</span>
<icon type="ios-arrow-down"></icon>
</i-button>
<div slot='content'>{{'其它'}}</div>
</tooltip>
<dropdown-menu slot='list'>
<dropdown-item>
<tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.tbitem21.visabled" :disabled="toolBarModels.tbitem21.disabled" class='' v-button-loading:i-button @click="toolbar_click({ tag: 'tbitem21' }, $event)">
<i class='fa fa-download'></i>
<span class='caption'>{{'导出数据模型'}}</span>
</i-button>
<div slot='content'>{{'导出'}}</div>
<div slot='content'>{{$t('MENUITEM.CAPTION.*.EXPORTSRF', '导出数据模型')}}</div>
</tooltip>
</dropdown-item>
<dropdown-item>
<tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.tbitem23.visabled" :disabled="toolBarModels.tbitem23.disabled" class='' v-button-loading:i-button @click="toolbar_click({ tag: 'tbitem23' }, $event)">
<i class='fa fa-upload'></i>
<span class='caption'>{{'数据导入'}}</span>
</i-button>
<div slot='content'>{{'数据导入'}}</div>
</tooltip>
</dropdown-item>
</dropdown-menu>
</dropdown>
</div>
</div>
</div>
......@@ -320,11 +397,33 @@ export default class IBIZBOOKUsr2GridViewBase extends Vue {
* @memberof IBIZBOOKUsr2GridView
*/
public toolBarModels: any = {
deuiaction1: { name: 'deuiaction1', actiontarget: 'NONE', caption: '打印', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'PrintTest', target: 'SINGLEKEY' } },
tbitem3: { name: 'tbitem3', actiontarget: 'NONE', caption: '新建', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'New', target: '' } },
deuiaction2: { name: 'deuiaction2', actiontarget: 'NONE', caption: '保存', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Save', target: '' } },
deuiaction2: { name: 'deuiaction2', actiontarget: 'NONE', caption: '导入', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'DataImportTest', target: 'SINGLEKEY' } },
tbitem4: { name: 'tbitem4', actiontarget: 'NONE', caption: '编辑', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Edit', target: 'SINGLEKEY' } },
tbitem6: { name: 'tbitem6', actiontarget: 'NONE', caption: '拷贝', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Copy', target: 'SINGLEKEY' } },
deuiaction3: { name: 'deuiaction3', actiontarget: 'NONE', caption: '过滤', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'ToggleFilter', target: '' } },
tbitem7: { name: 'tbitem7', type: 'SEPERATOR', visabled: true, dataaccaction: '', uiaction: { } },
tbitem8: { name: 'tbitem8', actiontarget: 'NONE', caption: '删除', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Remove', target: 'MULTIKEY' } },
tbitem9: { name: 'tbitem9', type: 'SEPERATOR', visabled: true, dataaccaction: '', uiaction: { } },
tbitem13: { name: 'tbitem13', actiontarget: 'NONE', caption: '导出', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'ExportExcel', target: '' }, MaxRowCount: 1000 },
deuiaction1: { name: 'deuiaction1', actiontarget: 'NONE', caption: '导入', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'ImportExcel', target: 'NONE' } },
tbitem10: { name: 'tbitem10', type: 'SEPERATOR', visabled: true, dataaccaction: '', uiaction: { } },
tbitem11: { name: 'tbitem11', actiontarget: 'NONE', caption: '打印', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Print', target: 'MULTIKEY' } },
tbitem12: { name: 'tbitem12', type: 'SEPERATOR', visabled: true, dataaccaction: '', uiaction: { } },
tbitem16: { name: 'tbitem16', caption: '其它', disabled: false, type: 'ITEMS', visabled: true, dataaccaction: '', uiaction: { } },
tbitem21: { name: 'tbitem21', actiontarget: 'NONE', caption: '导出数据模型', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'ExportModel', target: '' } },
tbitem23: { name: 'tbitem23', actiontarget: 'NONE', caption: '数据导入', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Import', target: '' } },
deuiaction3: { name: 'deuiaction3', actiontarget: 'NONE', caption: '导出', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'DataExportTest', target: 'SINGLEKEY' } },
};
......@@ -815,17 +914,44 @@ export default class IBIZBOOKUsr2GridViewBase extends Vue {
* @memberof IBIZBOOKUsr2GridViewBase
*/
public toolbar_click($event: any, $event2?: any) {
if (Object.is($event.tag, 'deuiaction1')) {
this.toolbar_deuiaction1_click(null, '', $event2);
if (Object.is($event.tag, 'tbitem3')) {
this.toolbar_tbitem3_click(null, '', $event2);
}
if (Object.is($event.tag, 'deuiaction2')) {
this.toolbar_deuiaction2_click(null, '', $event2);
}
if (Object.is($event.tag, 'tbitem4')) {
this.toolbar_tbitem4_click(null, '', $event2);
}
if (Object.is($event.tag, 'tbitem6')) {
this.toolbar_tbitem6_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, 'tbitem24')) {
this.toolbar_tbitem24_click(null, '', $event2);
}
if (Object.is($event.tag, 'tbitem25')) {
this.toolbar_tbitem25_click(null, '', $event2);
}
if (Object.is($event.tag, 'tbitem8')) {
this.toolbar_tbitem8_click(null, '', $event2);
}
if (Object.is($event.tag, 'tbitem13')) {
this.toolbar_tbitem13_click(null, '', $event2);
}
if (Object.is($event.tag, 'deuiaction1')) {
this.toolbar_deuiaction1_click(null, '', $event2);
}
if (Object.is($event.tag, 'tbitem11')) {
this.toolbar_tbitem11_click(null, '', $event2);
}
if (Object.is($event.tag, 'tbitem21')) {
this.toolbar_tbitem21_click(null, '', $event2);
}
if (Object.is($event.tag, 'tbitem23')) {
this.toolbar_tbitem23_click(null, '', $event2);
}
}
......@@ -838,7 +964,7 @@ export default class IBIZBOOKUsr2GridViewBase extends Vue {
* @param {*} [$event]
* @memberof
*/
public toolbar_deuiaction1_click(params: any = {}, tag?: any, $event?: any) {
public toolbar_tbitem3_click(params: any = {}, tag?: any, $event?: any) {
// 参数
// 取数
let datas: any[] = [];
......@@ -855,8 +981,7 @@ export default class IBIZBOOKUsr2GridViewBase extends Vue {
datas = [params];
}
// 界面行为
const curUIService:IBIZBOOKUIService = new IBIZBOOKUIService();
curUIService.IBIZBOOK_PrintTest(datas,contextJO, paramJO, $event, xData,this,"IBIZBOOK");
this.New(datas, contextJO,paramJO, $event, xData,this,"IBIZBOOK");
}
/**
......@@ -884,8 +1009,63 @@ export default class IBIZBOOKUsr2GridViewBase extends Vue {
datas = [params];
}
// 界面行为
const curUIService:IBIZBOOKUIService = new IBIZBOOKUIService();
curUIService.IBIZBOOK_DataImportTest(datas,contextJO, paramJO, $event, xData,this,"IBIZBOOK");
this.Save(datas, contextJO,paramJO, $event, xData,this,"IBIZBOOK");
}
/**
* 逻辑事件
*
* @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,"IBIZBOOK");
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public toolbar_tbitem6_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.Copy(datas, contextJO,paramJO, $event, xData,this,"IBIZBOOK");
}
/**
......@@ -913,8 +1093,7 @@ export default class IBIZBOOKUsr2GridViewBase extends Vue {
datas = [params];
}
// 界面行为
const curUIService:IBIZBOOKUIService = new IBIZBOOKUIService();
curUIService.IBIZBOOK_DataExportTest(datas,contextJO, paramJO, $event, xData,this,"IBIZBOOK");
this.ToggleFilter(datas, contextJO,paramJO, $event, xData,this,"IBIZBOOK");
}
/**
......@@ -925,7 +1104,7 @@ export default class IBIZBOOKUsr2GridViewBase extends Vue {
* @param {*} [$event]
* @memberof
*/
public toolbar_deuiaction4_click(params: any = {}, tag?: any, $event?: any) {
public toolbar_tbitem24_click(params: any = {}, tag?: any, $event?: any) {
// 参数
// 取数
let datas: any[] = [];
......@@ -945,6 +1124,202 @@ export default class IBIZBOOKUsr2GridViewBase extends Vue {
this.ToggleRowEdit(datas, contextJO,paramJO, $event, xData,this,"IBIZBOOK");
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public toolbar_tbitem25_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.NewRow(datas, contextJO,paramJO, $event, xData,this,"IBIZBOOK");
}
/**
* 逻辑事件
*
* @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,"IBIZBOOK");
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public toolbar_tbitem13_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.ExportExcel(datas, contextJO,paramJO, $event, xData,this,"IBIZBOOK");
}
/**
* 逻辑事件
*
* @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.ImportExcel(datas, contextJO,paramJO, $event, xData,this,"IBIZBOOK");
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public toolbar_tbitem11_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.Print(datas, contextJO,paramJO, $event, xData,this,"IBIZBOOK");
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public toolbar_tbitem21_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.ExportModel(datas, contextJO,paramJO, $event, xData,this,"IBIZBOOK");
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public toolbar_tbitem23_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.Import(datas, contextJO,paramJO, $event, xData,this,"IBIZBOOK");
}
/**
* 打开新建数据视图
*
......@@ -1037,6 +1412,123 @@ export default class IBIZBOOKUsr2GridViewBase extends Vue {
}
/**
* 新建
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof IBIZBOOKUsr2GridViewBase
*/
public New(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
const _this: any = this;
if (_this.newdata && _this.newdata instanceof Function) {
const data: any = {};
_this.newdata([{ ...data }],[{ ...data }], params, $event, xData);
} else {
_this.$Notice.error({ title: '错误', desc: 'newdata 视图处理逻辑不存在,请添加!' });
}
}
/**
* 保存
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof IBIZBOOKUsr2GridViewBase
*/
public Save(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
// 界面行为容器对象 _this
const _this: any = this;
if (xData && xData.save instanceof Function) {
xData.save().then((response: any) => {
if (!response || response.status !== 200) {
return;
}
_this.$emit('viewdataschange', [{ ...response.data }]);
});
} else if (_this.save && _this.save instanceof Function) {
_this.save();
}
}
/**
* 编辑
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof IBIZBOOKUsr2GridViewBase
*/
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, { ibizbook: args[0].ibizbook })
}
_this.opendata([{ ...data }], args, 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 IBIZBOOKUsr2GridViewBase
*/
public Copy(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, { ibizbook: args[0].ibizbook });
}
if(!params) params = {};
Object.assign(args,{copymode:true});
_this.opendata([{ ...data }], args, params, $event, xData);
} else {
Object.assign(this.viewparams,{copymode:true});
}
}
/**
* 过滤
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof IBIZBOOKUsr2GridViewBase
*/
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;
}
}
/**
* 行编辑
*
......@@ -1051,6 +1543,152 @@ export default class IBIZBOOKUsr2GridViewBase extends Vue {
public ToggleRowEdit(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
xData.actualIsOpenEdit = !xData.actualIsOpenEdit;
}
/**
* 新建行
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof IBIZBOOKUsr2GridViewBase
*/
public NewRow(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
const _this: any = this;
const data: any = {};
if (_this.hasOwnProperty('newRow') && _this.newRow instanceof Function) {
_this.newRow([{ ...data }], params, $event, xData);
} else if(xData.newRow && xData.newRow instanceof Function) {
xData.newRow([{ ...data }], params, $event, xData);
}else{
_this.$Notice.error({ title: '错误', desc: 'newRow 视图处理逻辑不存在,请添加!' });
}
}
/**
* 删除
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof IBIZBOOKUsr2GridViewBase
*/
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);
}
/**
* 导出
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof IBIZBOOKUsr2GridViewBase
*/
public ExportExcel(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
const _this: any = this;
if (!xData || !(xData.exportExcel instanceof Function) || !$event) {
return ;
}
xData.exportExcel($event.exportparms);
}
/**
* 导入
*
* @param {any[]} args 当前数据
* @param {any} context 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @param {*} [srfParentDeName] 父实体名称
* @returns {Promise<any>}
*/
public async ImportExcel(args: any[], context:any = {}, params: any={}, $event?: any, xData?: any, actionContext?: any, srfParentDeName?:string) {
let data: any = {};
let tempData: any = {};
let tempContext: any = {};
let tempViewParam: any = {};
const _this: any = actionContext;
const _args: any[] = Util.deepCopy(args);
const actionTarget: string | null = 'NONE';
tempContext = UIActionTool.handleContextParam(actionTarget, _args, context, params, tempContext);
data = UIActionTool.handleActionParam(actionTarget, _args, context, params, tempViewParam);
Object.assign(context, tempContext);
Object.assign(params, data);
let parentObj:any = {
srfparentdename: srfParentDeName ? srfParentDeName : null,
srfparentkey: srfParentDeName ? context[srfParentDeName.toLowerCase()] : null
};
Object.assign(context, parentObj);
const openPopupApp = (url: string) => {
window.open(url, '_blank');
return { ok: true, result: _args };
}
const url = `../../ibizutil/uploaddedataview.jsp?srfdeid=`;
return openPopupApp(url);
}
/**
* 打印
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof IBIZBOOKUsr2GridViewBase
*/
public Print(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
let _this:any = this;
if (!xData || !(xData.print instanceof Function) || !$event) {
return ;
}
xData.print();
}
/**
* 导出数据模型
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof IBIZBOOKUsr2GridViewBase
*/
public ExportModel(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
this.$Notice.error({ title: '错误', desc: '导出数据模型未支持' });
}
/**
* 数据导入
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof IBIZBOOKUsr2GridViewBase
*/
public Import(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
const _this: any = this;
if (!xData || !(xData.importExcel instanceof Function) || !$event) {
return ;
}
xData.importExcel(params);
}
/**
* 关闭视图
......
......@@ -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: 'IBIZBOOKUsr5GridView' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr9GridView' + (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: 'IBIZBOOKUsr5GridView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr9GridView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
return;
}
const arg: any = { ...opt } ;
......
......@@ -964,7 +964,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: "IBIZOrderDetailGridView9" + (this.$t("app.gridpage.notConfig.fetchAction") as string),
});
return;
}
......@@ -1123,7 +1123,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: 'IBIZOrderDetailGridView9' + (this.$t('app.gridpage.notConfig.removeAction') as string)
});
return;
}
......@@ -1237,7 +1237,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: 'IBIZOrderDetailGridView9'+(this.$t('app.gridpage.notConfig.fetchAction') as string) });
return;
}
if(!arg){
......@@ -2132,7 +2132,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: 'IBIZOrderDetailGridView9'+(this.$t('app.gridpage.notConfig.createAction') as string) });
} else {
Object.assign(item, { viewparams: this.viewparams });
const tempContext = Util.deepCopy(this.context);
......@@ -2141,7 +2141,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: 'IBIZOrderDetailGridView9'+(this.$t('app.gridpage.notConfig.updateAction') as string) });
} else {
Object.assign(item, { viewparams: this.viewparams });
const tempContext = Util.deepCopy(this.context);
......@@ -2217,7 +2217,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: 'IBIZOrderDetailGridView9' + (this.$t('app.gridpage.notConfig.loaddraftAction') as string)
});
return;
}
......
......@@ -12,6 +12,18 @@
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"getPSDETreeColumns" : [ {
"caption" : "作者",
"codeName" : "author",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "author",
"mOSFilePath" : "psdetreecols/author",
"name" : "author",
"rTMOSFilePath" : "psdetreecols/author",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "归还日期",
"codeName" : "returntime",
"columnType" : "DEFGRIDCOLUMN",
......@@ -35,30 +47,6 @@
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "借出日期",
"codeName" : "lendouttime",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "lendouttime",
"mOSFilePath" : "psdetreecols/lendouttime",
"name" : "lendouttime",
"rTMOSFilePath" : "psdetreecols/lendouttime",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "作者",
"codeName" : "author",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "author",
"mOSFilePath" : "psdetreecols/author",
"name" : "author",
"rTMOSFilePath" : "psdetreecols/author",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "图书名称",
"codeName" : "ibizbookname",
......@@ -71,6 +59,18 @@
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "借出日期",
"codeName" : "lendouttime",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "lendouttime",
"mOSFilePath" : "psdetreecols/lendouttime",
"name" : "lendouttime",
"rTMOSFilePath" : "psdetreecols/lendouttime",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
} ],
"getPSDETreeNodeRSs" : [ {
"getChildPSDETreeNode" : {
......
......@@ -20,18 +20,6 @@
}
} ],
"getPSDETreeColumns" : [ {
"caption" : "作者",
"codeName" : "author",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "author",
"mOSFilePath" : "psdetreecols/author",
"name" : "author",
"rTMOSFilePath" : "psdetreecols/author",
"width" : 50,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "图书描述",
"codeName" : "subtext",
"columnType" : "DEFGRIDCOLUMN",
......@@ -43,6 +31,18 @@
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "作者",
"codeName" : "author",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "author",
"mOSFilePath" : "psdetreecols/author",
"name" : "author",
"rTMOSFilePath" : "psdetreecols/author",
"width" : 50,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "图书名称",
"codeName" : "ibizbookname",
......
......@@ -46,6 +46,18 @@
"id" : "GANTT"
},
"getPSDETreeColumns" : [ {
"caption" : "作者",
"codeName" : "author",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "author",
"mOSFilePath" : "psdetreecols/author",
"name" : "author",
"rTMOSFilePath" : "psdetreecols/author",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "归还日期",
"codeName" : "returntime",
"columnType" : "DEFGRIDCOLUMN",
......@@ -69,30 +81,6 @@
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "借出日期",
"codeName" : "lendouttime",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "lendouttime",
"mOSFilePath" : "psdetreecols/lendouttime",
"name" : "lendouttime",
"rTMOSFilePath" : "psdetreecols/lendouttime",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "作者",
"codeName" : "author",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "author",
"mOSFilePath" : "psdetreecols/author",
"name" : "author",
"rTMOSFilePath" : "psdetreecols/author",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "图书名称",
"codeName" : "ibizbookname",
......@@ -105,6 +93,18 @@
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "借出日期",
"codeName" : "lendouttime",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "lendouttime",
"mOSFilePath" : "psdetreecols/lendouttime",
"name" : "lendouttime",
"rTMOSFilePath" : "psdetreecols/lendouttime",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
} ],
"getPSDETreeNodeRSs" : [ {
"getChildPSDETreeNode" : {
......
......@@ -55,17 +55,6 @@
"id" : "toolbar_deuiaction3"
},
"getPSViewCtrlName" : "toolbar"
}, {
"eventArg" : "deuiaction4",
"eventNames" : "CLICK",
"logicTrigger" : "CTRLEVENT",
"logicType" : "APPVIEWUIACTION",
"name" : "toolbar_deuiaction4_click",
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "toolbar_deuiaction4"
},
"getPSViewCtrlName" : "toolbar"
}, {
"eventNames" : "onViewMounted",
"logicTrigger" : "VIEWEVENT",
......@@ -140,12 +129,6 @@
"id" : "DataExportTest@IBIZBOOK"
},
"uIActionTarget" : "SINGLEKEY"
}, {
"name" : "toolbar_deuiaction4",
"getPSUIAction" : {
"modelref" : true,
"id" : "ToggleRowEdit"
}
} ],
"getPSControls" : [ {
"codeName" : "Default",
......@@ -718,16 +701,6 @@
"modelref" : true,
"id" : "toolbar_deuiaction3_click"
}
}, {
"eventArg" : "deuiaction4",
"eventNames" : "CLICK",
"logicTag" : "toolbar",
"logicType" : "APPVIEWLOGIC",
"name" : "toolbar_deuiaction4_click",
"getPSAppViewLogic" : {
"modelref" : true,
"id" : "toolbar_deuiaction4_click"
}
} ],
"getPSControlParam" : {
"id" : "TOOLBAR"
......
......@@ -100,18 +100,6 @@
"id" : "TREEGRIDEX"
},
"getPSDETreeColumns" : [ {
"caption" : "作者",
"codeName" : "author",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "author",
"mOSFilePath" : "psdetreecols/author",
"name" : "author",
"rTMOSFilePath" : "psdetreecols/author",
"width" : 50,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "图书描述",
"codeName" : "subtext",
"columnType" : "DEFGRIDCOLUMN",
......@@ -123,6 +111,18 @@
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "作者",
"codeName" : "author",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "author",
"mOSFilePath" : "psdetreecols/author",
"name" : "author",
"rTMOSFilePath" : "psdetreecols/author",
"width" : 50,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "图书名称",
"codeName" : "ibizbookname",
......
......@@ -47,14 +47,14 @@
} ]
} ],
"getPSAppViewLogics" : [ {
"eventArg" : "deuiaction1",
"eventArg" : "tbitem3",
"eventNames" : "CLICK",
"logicTrigger" : "CTRLEVENT",
"logicType" : "APPVIEWUIACTION",
"name" : "toolbar_deuiaction1_click",
"name" : "toolbar_tbitem3_click",
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "toolbar_deuiaction1"
"id" : "toolbar_tbitem3"
},
"getPSViewCtrlName" : "toolbar"
}, {
......@@ -68,6 +68,28 @@
"id" : "toolbar_deuiaction2"
},
"getPSViewCtrlName" : "toolbar"
}, {
"eventArg" : "tbitem4",
"eventNames" : "CLICK",
"logicTrigger" : "CTRLEVENT",
"logicType" : "APPVIEWUIACTION",
"name" : "toolbar_tbitem4_click",
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "toolbar_tbitem4"
},
"getPSViewCtrlName" : "toolbar"
}, {
"eventArg" : "tbitem6",
"eventNames" : "CLICK",
"logicTrigger" : "CTRLEVENT",
"logicType" : "APPVIEWUIACTION",
"name" : "toolbar_tbitem6_click",
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "toolbar_tbitem6"
},
"getPSViewCtrlName" : "toolbar"
}, {
"eventArg" : "deuiaction3",
"eventNames" : "CLICK",
......@@ -80,14 +102,91 @@
},
"getPSViewCtrlName" : "toolbar"
}, {
"eventArg" : "deuiaction4",
"eventArg" : "tbitem24",
"eventNames" : "CLICK",
"logicTrigger" : "CTRLEVENT",
"logicType" : "APPVIEWUIACTION",
"name" : "toolbar_tbitem24_click",
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "toolbar_tbitem24"
},
"getPSViewCtrlName" : "toolbar"
}, {
"eventArg" : "tbitem25",
"eventNames" : "CLICK",
"logicTrigger" : "CTRLEVENT",
"logicType" : "APPVIEWUIACTION",
"name" : "toolbar_deuiaction4_click",
"name" : "toolbar_tbitem25_click",
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "toolbar_deuiaction4"
"id" : "toolbar_tbitem25"
},
"getPSViewCtrlName" : "toolbar"
}, {
"eventArg" : "tbitem8",
"eventNames" : "CLICK",
"logicTrigger" : "CTRLEVENT",
"logicType" : "APPVIEWUIACTION",
"name" : "toolbar_tbitem8_click",
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "toolbar_tbitem8"
},
"getPSViewCtrlName" : "toolbar"
}, {
"eventArg" : "tbitem13",
"eventNames" : "CLICK",
"logicTrigger" : "CTRLEVENT",
"logicType" : "APPVIEWUIACTION",
"name" : "toolbar_tbitem13_click",
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "toolbar_tbitem13"
},
"getPSViewCtrlName" : "toolbar"
}, {
"eventArg" : "deuiaction1",
"eventNames" : "CLICK",
"logicTrigger" : "CTRLEVENT",
"logicType" : "APPVIEWUIACTION",
"name" : "toolbar_deuiaction1_click",
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "toolbar_deuiaction1"
},
"getPSViewCtrlName" : "toolbar"
}, {
"eventArg" : "tbitem11",
"eventNames" : "CLICK",
"logicTrigger" : "CTRLEVENT",
"logicType" : "APPVIEWUIACTION",
"name" : "toolbar_tbitem11_click",
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "toolbar_tbitem11"
},
"getPSViewCtrlName" : "toolbar"
}, {
"eventArg" : "tbitem21",
"eventNames" : "CLICK",
"logicTrigger" : "CTRLEVENT",
"logicType" : "APPVIEWUIACTION",
"name" : "toolbar_tbitem21_click",
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "toolbar_tbitem21"
},
"getPSViewCtrlName" : "toolbar"
}, {
"eventArg" : "tbitem23",
"eventNames" : "CLICK",
"logicTrigger" : "CTRLEVENT",
"logicType" : "APPVIEWUIACTION",
"name" : "toolbar_tbitem23_click",
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "toolbar_tbitem23"
},
"getPSViewCtrlName" : "toolbar"
}, {
......@@ -190,48 +289,101 @@
}
} ],
"getPSAppViewUIActions" : [ {
"name" : "toolbar_deuiaction1",
"name" : "toolbar_tbitem3",
"getPSUIAction" : {
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"modelref" : true,
"id" : "PrintTest@IBIZBOOK"
"id" : "New"
},
"uIActionTarget" : "SINGLEKEY",
"xDataControlName" : "grid"
}, {
"name" : "toolbar_deuiaction2",
"getPSUIAction" : {
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"modelref" : true,
"id" : "DataImportTest@IBIZBOOK"
"id" : "Save"
},
"xDataControlName" : "grid"
}, {
"name" : "toolbar_tbitem4",
"getPSUIAction" : {
"modelref" : true,
"id" : "Edit"
},
"uIActionTarget" : "SINGLEKEY",
"xDataControlName" : "grid"
}, {
"name" : "toolbar_deuiaction3",
"name" : "toolbar_tbitem6",
"getPSUIAction" : {
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"modelref" : true,
"id" : "DataExportTest@IBIZBOOK"
"id" : "Copy"
},
"uIActionTarget" : "SINGLEKEY",
"xDataControlName" : "grid"
}, {
"name" : "toolbar_deuiaction4",
"name" : "toolbar_deuiaction3",
"getPSUIAction" : {
"modelref" : true,
"id" : "ToggleFilter"
},
"xDataControlName" : "grid"
}, {
"name" : "toolbar_tbitem24",
"getPSUIAction" : {
"modelref" : true,
"id" : "ToggleRowEdit"
},
"xDataControlName" : "grid"
}, {
"name" : "toolbar_tbitem25",
"getPSUIAction" : {
"modelref" : true,
"id" : "NewRow"
},
"xDataControlName" : "grid"
}, {
"name" : "toolbar_tbitem8",
"getPSUIAction" : {
"modelref" : true,
"id" : "Remove"
},
"uIActionTarget" : "MULTIKEY",
"xDataControlName" : "grid"
}, {
"name" : "toolbar_tbitem13",
"getPSUIAction" : {
"modelref" : true,
"id" : "ExportExcel"
},
"xDataControlName" : "grid"
}, {
"name" : "toolbar_deuiaction1",
"getPSUIAction" : {
"modelref" : true,
"id" : "ImportExcel"
},
"uIActionTarget" : "NONE",
"xDataControlName" : "grid"
}, {
"name" : "toolbar_tbitem11",
"getPSUIAction" : {
"modelref" : true,
"id" : "Print"
},
"uIActionTarget" : "MULTIKEY",
"xDataControlName" : "grid"
}, {
"name" : "toolbar_tbitem21",
"getPSUIAction" : {
"modelref" : true,
"id" : "ExportModel"
},
"xDataControlName" : "grid"
}, {
"name" : "toolbar_tbitem23",
"getPSUIAction" : {
"modelref" : true,
"id" : "Import"
},
"xDataControlName" : "grid"
} ],
"getPSControls" : [ {
"aggMode" : "NONE",
......@@ -867,7 +1019,7 @@
"codeName" : "Usr2GridViewtoolbar",
"controlType" : "TOOLBAR",
"hookEventNames" : [ "CLICK" ],
"logicName" : "测试扩展界面行为",
"logicName" : "工具栏模板(默认表格界面)",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZBOOK/psdetoolbars/Usr2GridViewtoolbar",
"name" : "toolbar",
"getPSAppDataEntity" : {
......@@ -875,14 +1027,14 @@
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"getPSControlLogics" : [ {
"eventArg" : "deuiaction1",
"eventArg" : "tbitem3",
"eventNames" : "CLICK",
"logicTag" : "toolbar",
"logicType" : "APPVIEWLOGIC",
"name" : "toolbar_deuiaction1_click",
"name" : "toolbar_tbitem3_click",
"getPSAppViewLogic" : {
"modelref" : true,
"id" : "toolbar_deuiaction1_click"
"id" : "toolbar_tbitem3_click"
}
}, {
"eventArg" : "deuiaction2",
......@@ -894,6 +1046,26 @@
"modelref" : true,
"id" : "toolbar_deuiaction2_click"
}
}, {
"eventArg" : "tbitem4",
"eventNames" : "CLICK",
"logicTag" : "toolbar",
"logicType" : "APPVIEWLOGIC",
"name" : "toolbar_tbitem4_click",
"getPSAppViewLogic" : {
"modelref" : true,
"id" : "toolbar_tbitem4_click"
}
}, {
"eventArg" : "tbitem6",
"eventNames" : "CLICK",
"logicTag" : "toolbar",
"logicType" : "APPVIEWLOGIC",
"name" : "toolbar_tbitem6_click",
"getPSAppViewLogic" : {
"modelref" : true,
"id" : "toolbar_tbitem6_click"
}
}, {
"eventArg" : "deuiaction3",
"eventNames" : "CLICK",
......@@ -905,57 +1077,172 @@
"id" : "toolbar_deuiaction3_click"
}
}, {
"eventArg" : "deuiaction4",
"eventArg" : "tbitem24",
"eventNames" : "CLICK",
"logicTag" : "toolbar",
"logicType" : "APPVIEWLOGIC",
"name" : "toolbar_deuiaction4_click",
"name" : "toolbar_tbitem24_click",
"getPSAppViewLogic" : {
"modelref" : true,
"id" : "toolbar_deuiaction4_click"
"id" : "toolbar_tbitem24_click"
}
}, {
"eventArg" : "tbitem25",
"eventNames" : "CLICK",
"logicTag" : "toolbar",
"logicType" : "APPVIEWLOGIC",
"name" : "toolbar_tbitem25_click",
"getPSAppViewLogic" : {
"modelref" : true,
"id" : "toolbar_tbitem25_click"
}
}, {
"eventArg" : "tbitem8",
"eventNames" : "CLICK",
"logicTag" : "toolbar",
"logicType" : "APPVIEWLOGIC",
"name" : "toolbar_tbitem8_click",
"getPSAppViewLogic" : {
"modelref" : true,
"id" : "toolbar_tbitem8_click"
}
}, {
"eventArg" : "tbitem13",
"eventNames" : "CLICK",
"logicTag" : "toolbar",
"logicType" : "APPVIEWLOGIC",
"name" : "toolbar_tbitem13_click",
"getPSAppViewLogic" : {
"modelref" : true,
"id" : "toolbar_tbitem13_click"
}
}, {
"eventArg" : "deuiaction1",
"eventNames" : "CLICK",
"logicTag" : "toolbar",
"logicType" : "APPVIEWLOGIC",
"name" : "toolbar_deuiaction1_click",
"getPSAppViewLogic" : {
"modelref" : true,
"id" : "toolbar_deuiaction1_click"
}
}, {
"eventArg" : "tbitem11",
"eventNames" : "CLICK",
"logicTag" : "toolbar",
"logicType" : "APPVIEWLOGIC",
"name" : "toolbar_tbitem11_click",
"getPSAppViewLogic" : {
"modelref" : true,
"id" : "toolbar_tbitem11_click"
}
}, {
"eventArg" : "tbitem21",
"eventNames" : "CLICK",
"logicTag" : "toolbar",
"logicType" : "APPVIEWLOGIC",
"name" : "toolbar_tbitem21_click",
"getPSAppViewLogic" : {
"modelref" : true,
"id" : "toolbar_tbitem21_click"
}
}, {
"eventArg" : "tbitem23",
"eventNames" : "CLICK",
"logicTag" : "toolbar",
"logicType" : "APPVIEWLOGIC",
"name" : "toolbar_tbitem23_click",
"getPSAppViewLogic" : {
"modelref" : true,
"id" : "toolbar_tbitem23_click"
}
} ],
"getPSControlParam" : {
"id" : "TOOLBAR"
},
"getPSDEToolbarItems" : [ {
"caption" : "打印",
"actionLevel" : 250,
"getCapPSLanguageRes" : {
"defaultContent" : "新建",
"lanResTag" : "TBB.TEXT.*.NEW",
"lanResType" : "TBB.TEXT",
"mOSFilePath" : "pslanguageres/Auto1712",
"name" : "工具栏按钮文本[*.NEW]",
"rTMOSFilePath" : "pslanguageres/Auto1712",
"refFlag" : true
},
"caption" : "新建",
"groupExtractMode" : "ITEM",
"itemType" : "DEUIACTION",
"name" : "deuiaction1",
"name" : "tbitem3",
"noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "toolbar_deuiaction1"
"id" : "toolbar_tbitem3"
},
"getPSSysImage" : {
"imagePath" : "/assets/img/operation.svg",
"imagePathX" : "/assets/img/operation@{0}x.svg"
},
"getPSUIAction" : {
"actionTarget" : "SINGLEKEY",
"caption" : "打印测试",
"codeName" : "PrintTest",
"frontProcessType" : "PRINT",
"fullCodeName" : "IBIZBOOK_PrintTest",
"mOSFilePath" : "pssysapps/Web/psappdataentities/IBIZBOOK/psappdeuiactions/PrintTest",
"name" : "打印测试",
"getPSAppDEPrint" : {
"modelref" : true,
"id" : "Print"
"getCapPSLanguageRes" : {
"defaultContent" : "新建",
"lanResTag" : "TBB.TEXT.*.NEW",
"lanResType" : "TBB.TEXT",
"mOSFilePath" : "pslanguageres/Auto1712",
"name" : "工具栏按钮文本[*.NEW]",
"rTMOSFilePath" : "pslanguageres/Auto1712",
"refFlag" : true
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
"caption" : "新建",
"codeName" : "New",
"fullCodeName" : "New",
"mOSFilePath" : "pssysapps/Web/pssysappdeuiactions/New",
"name" : "表格界面_新建操作",
"getPSSysImage" : {
"glyph" : "xf0f6@FontAwesome",
"cssClass" : "fa fa-file-text-o"
},
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZBOOK/psappdeuiactions/PrintTest",
"predefinedType" : "GRIDVIEW_NEWACTION",
"rTMOSFilePath" : "pssysapps/Web/pssysappdeuiactions/New",
"timeout" : 60000,
"uIActionMode" : "FRONT",
"uIActionTag" : "PrintTest",
"uIActionType" : "DEUIACTION",
"id" : "PrintTest@IBIZBOOK"
"getTooltipPSLanguageRes" : {
"defaultContent" : "新建",
"lanResTag" : "TBB.TOOLTIP.*.NEW",
"lanResType" : "TBB.TOOLTIP",
"mOSFilePath" : "pslanguageres/Auto274",
"name" : "工具栏按钮提示[*.NEW]",
"rTMOSFilePath" : "pslanguageres/Auto274",
"refFlag" : true
},
"uIActionMode" : "SYS",
"uIActionTag" : "New",
"uIActionType" : "DEUIACTION"
},
"tooltip" : "新建",
"getTooltipPSLanguageRes" : {
"defaultContent" : "新建",
"lanResTag" : "TBB.TOOLTIP.*.NEW",
"lanResType" : "TBB.TOOLTIP",
"mOSFilePath" : "pslanguageres/Auto274",
"name" : "工具栏按钮提示[*.NEW]",
"rTMOSFilePath" : "pslanguageres/Auto274",
"refFlag" : true
},
"tooltip" : "打印",
"showCaption" : true,
"showIcon" : true
}, {
"caption" : "导入",
"actionLevel" : 250,
"getCapPSLanguageRes" : {
"defaultContent" : "保存",
"lanResTag" : "TBB.TEXT.*.SAVE",
"lanResType" : "TBB.TEXT",
"mOSFilePath" : "pslanguageres/Auto71",
"name" : "工具栏按钮文本[*.SAVE]",
"rTMOSFilePath" : "pslanguageres/Auto71",
"refFlag" : true
},
"caption" : "保存",
"groupExtractMode" : "ITEM",
"itemType" : "DEUIACTION",
"name" : "deuiaction2",
......@@ -964,34 +1251,211 @@
"modelref" : true,
"id" : "toolbar_deuiaction2"
},
"getPSSysImage" : {
"imagePath" : "/assets/img/operation.svg",
"imagePathX" : "/assets/img/operation@{0}x.svg"
},
"getPSUIAction" : {
"actionTarget" : "SINGLEKEY",
"caption" : "导入测试",
"codeName" : "DataImportTest",
"frontProcessType" : "DATAIMP",
"fullCodeName" : "IBIZBOOK_DataImportTest",
"mOSFilePath" : "pssysapps/Web/psappdataentities/IBIZBOOK/psappdeuiactions/DataImportTest",
"name" : "导入测试",
"getPSAppDEDataImport" : {
"modelref" : true,
"id" : "DataImport"
"getCapPSLanguageRes" : {
"defaultContent" : "保存",
"lanResTag" : "TBB.TEXT.*.SAVE",
"lanResType" : "TBB.TEXT",
"mOSFilePath" : "pslanguageres/Auto71",
"name" : "工具栏按钮文本[*.SAVE]",
"rTMOSFilePath" : "pslanguageres/Auto71",
"refFlag" : true
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
"caption" : "保存",
"codeName" : "Save",
"fullCodeName" : "Save",
"mOSFilePath" : "pssysapps/Web/pssysappdeuiactions/Save",
"name" : "编辑界面_保存操作",
"getPSSysImage" : {
"glyph" : "xf0c7@FontAwesome",
"cssClass" : "fa fa-save"
},
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZBOOK/psappdeuiactions/DataImportTest",
"predefinedType" : "EDITVIEW_SAVEACTION",
"rTMOSFilePath" : "pssysapps/Web/pssysappdeuiactions/Save",
"timeout" : 60000,
"uIActionMode" : "FRONT",
"uIActionTag" : "DataImportTest",
"uIActionType" : "DEUIACTION",
"id" : "DataImportTest@IBIZBOOK"
"getTooltipPSLanguageRes" : {
"defaultContent" : "保存",
"lanResTag" : "TBB.TOOLTIP.*.SAVE",
"lanResType" : "TBB.TOOLTIP",
"mOSFilePath" : "pslanguageres/Auto1630",
"name" : "工具栏按钮提示[*.SAVE]",
"rTMOSFilePath" : "pslanguageres/Auto1630",
"refFlag" : true
},
"uIActionMode" : "SYS",
"uIActionTag" : "Save",
"uIActionType" : "DEUIACTION"
},
"tooltip" : "导入",
"tooltip" : "保存",
"getTooltipPSLanguageRes" : {
"defaultContent" : "保存",
"lanResTag" : "TBB.TOOLTIP.*.SAVE",
"lanResType" : "TBB.TOOLTIP",
"mOSFilePath" : "pslanguageres/Auto1630",
"name" : "工具栏按钮提示[*.SAVE]",
"rTMOSFilePath" : "pslanguageres/Auto1630",
"refFlag" : true
},
"width" : 28.0,
"showCaption" : true,
"showIcon" : true
}, {
"caption" : "导出",
"getCapPSLanguageRes" : {
"defaultContent" : "编辑",
"lanResTag" : "TBB.TEXT.*.EDIT",
"lanResType" : "TBB.TEXT",
"mOSFilePath" : "pslanguageres/Auto1585",
"name" : "工具栏按钮文本[*.EDIT]",
"rTMOSFilePath" : "pslanguageres/Auto1585",
"refFlag" : true
},
"caption" : "编辑",
"groupExtractMode" : "ITEM",
"itemType" : "DEUIACTION",
"name" : "tbitem4",
"noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "toolbar_tbitem4"
},
"getPSSysImage" : {
"glyph" : "xf044@FontAwesome",
"cssClass" : "fa fa-edit"
},
"getPSUIAction" : {
"actionTarget" : "SINGLEKEY",
"getCapPSLanguageRes" : {
"defaultContent" : "编辑",
"lanResTag" : "TBB.TEXT.*.EDIT",
"lanResType" : "TBB.TEXT",
"mOSFilePath" : "pslanguageres/Auto1585",
"name" : "工具栏按钮文本[*.EDIT]",
"rTMOSFilePath" : "pslanguageres/Auto1585",
"refFlag" : true
},
"caption" : "编辑",
"codeName" : "Edit",
"fullCodeName" : "Edit",
"mOSFilePath" : "pssysapps/Web/pssysappdeuiactions/Edit",
"name" : "表格界面_编辑操作",
"getPSSysImage" : {
"glyph" : "xf044@FontAwesome",
"cssClass" : "fa fa-edit"
},
"predefinedType" : "GRIDVIEW_EDITACTION",
"rTMOSFilePath" : "pssysapps/Web/pssysappdeuiactions/Edit",
"timeout" : 60000,
"getTooltipPSLanguageRes" : {
"defaultContent" : "编辑",
"lanResTag" : "TBB.TOOLTIP.*.EDIT",
"lanResType" : "TBB.TOOLTIP",
"mOSFilePath" : "pslanguageres/Auto834",
"name" : "工具栏按钮提示[*.EDIT]",
"rTMOSFilePath" : "pslanguageres/Auto834",
"refFlag" : true
},
"uIActionMode" : "SYS",
"uIActionTag" : "Edit",
"uIActionType" : "DEUIACTION"
},
"tooltip" : "编辑",
"getTooltipPSLanguageRes" : {
"defaultContent" : "编辑",
"lanResTag" : "TBB.TOOLTIP.*.EDIT",
"lanResType" : "TBB.TOOLTIP",
"mOSFilePath" : "pslanguageres/Auto834",
"name" : "工具栏按钮提示[*.EDIT]",
"rTMOSFilePath" : "pslanguageres/Auto834",
"refFlag" : true
},
"showCaption" : true,
"showIcon" : false
}, {
"getCapPSLanguageRes" : {
"defaultContent" : "拷贝",
"lanResTag" : "TBB.TEXT.*.COPY",
"lanResType" : "TBB.TEXT",
"mOSFilePath" : "pslanguageres/Auto514",
"name" : "工具栏按钮文本[*.COPY]",
"rTMOSFilePath" : "pslanguageres/Auto514",
"refFlag" : true
},
"caption" : "拷贝",
"groupExtractMode" : "ITEM",
"itemType" : "DEUIACTION",
"name" : "tbitem6",
"noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "toolbar_tbitem6"
},
"getPSSysImage" : {
"glyph" : "xf0c5@FontAwesome",
"cssClass" : "fa fa-copy"
},
"getPSUIAction" : {
"actionTarget" : "SINGLEKEY",
"getCapPSLanguageRes" : {
"defaultContent" : "拷贝",
"lanResTag" : "TBB.TEXT.*.COPY",
"lanResType" : "TBB.TEXT",
"mOSFilePath" : "pslanguageres/Auto514",
"name" : "工具栏按钮文本[*.COPY]",
"rTMOSFilePath" : "pslanguageres/Auto514",
"refFlag" : true
},
"caption" : "拷贝",
"codeName" : "Copy",
"fullCodeName" : "Copy",
"mOSFilePath" : "pssysapps/Web/pssysappdeuiactions/Copy",
"name" : "表格界面_拷贝操作",
"getPSSysImage" : {
"glyph" : "xf0c5@FontAwesome",
"cssClass" : "fa fa-copy"
},
"predefinedType" : "GRIDVIEW_COPYACTION",
"rTMOSFilePath" : "pssysapps/Web/pssysappdeuiactions/Copy",
"timeout" : 60000,
"getTooltipPSLanguageRes" : {
"defaultContent" : "拷贝",
"lanResTag" : "TBB.TOOLTIP.*.COPY",
"lanResType" : "TBB.TOOLTIP",
"mOSFilePath" : "pslanguageres/Auto1542",
"name" : "工具栏按钮提示[*.COPY]",
"rTMOSFilePath" : "pslanguageres/Auto1542",
"refFlag" : true
},
"uIActionMode" : "SYS",
"uIActionTag" : "Copy",
"uIActionType" : "DEUIACTION"
},
"tooltip" : "拷贝",
"getTooltipPSLanguageRes" : {
"defaultContent" : "拷贝",
"lanResTag" : "TBB.TOOLTIP.*.COPY",
"lanResType" : "TBB.TOOLTIP",
"mOSFilePath" : "pslanguageres/Auto1542",
"name" : "工具栏按钮提示[*.COPY]",
"rTMOSFilePath" : "pslanguageres/Auto1542",
"refFlag" : true
},
"showCaption" : true,
"showIcon" : false
}, {
"getCapPSLanguageRes" : {
"defaultContent" : "查找",
"lanResTag" : "TBB.TEXT.*.FILTER",
"lanResType" : "TBB.TEXT",
"mOSFilePath" : "pslanguageres/Auto1437",
"name" : "工具栏按钮文本[*.FILTER]",
"rTMOSFilePath" : "pslanguageres/Auto1437",
"refFlag" : true
},
"caption" : "过滤",
"groupExtractMode" : "ITEM",
"itemType" : "DEUIACTION",
"name" : "deuiaction3",
......@@ -1000,35 +1464,418 @@
"modelref" : true,
"id" : "toolbar_deuiaction3"
},
"getPSSysImage" : {
"glyph" : "xf0b0@FontAwesome",
"cssClass" : "fa fa-filter"
},
"getPSUIAction" : {
"actionTarget" : "SINGLEKEY",
"caption" : "导出测试",
"codeName" : "DataExportTest",
"frontProcessType" : "DATAEXP",
"fullCodeName" : "IBIZBOOK_DataExportTest",
"mOSFilePath" : "pssysapps/Web/psappdataentities/IBIZBOOK/psappdeuiactions/DataExportTest",
"name" : "导出测试",
"getPSAppDEDataExport" : {
"modelref" : true,
"id" : "DataExport"
"getCapPSLanguageRes" : {
"defaultContent" : "查找",
"lanResTag" : "TBB.TEXT.*.FILTER",
"lanResType" : "TBB.TEXT",
"mOSFilePath" : "pslanguageres/Auto1437",
"name" : "工具栏按钮文本[*.FILTER]",
"rTMOSFilePath" : "pslanguageres/Auto1437",
"refFlag" : true
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
"caption" : "过滤",
"codeName" : "ToggleFilter",
"fullCodeName" : "ToggleFilter",
"mOSFilePath" : "pssysapps/Web/pssysappdeuiactions/ToggleFilter",
"name" : "表格界面_搜索栏",
"getPSSysImage" : {
"glyph" : "xf0b0@FontAwesome",
"cssClass" : "fa fa-filter"
},
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZBOOK/psappdeuiactions/DataExportTest",
"predefinedType" : "GRIDVIEW_SEARCHBAR",
"rTMOSFilePath" : "pssysapps/Web/pssysappdeuiactions/ToggleFilter",
"timeout" : 60000,
"uIActionMode" : "FRONT",
"uIActionTag" : "DataExportTest",
"getTooltipPSLanguageRes" : {
"defaultContent" : "查找",
"lanResTag" : "TBB.TOOLTIP.*.FILTER",
"lanResType" : "TBB.TOOLTIP",
"mOSFilePath" : "pslanguageres/Auto796",
"name" : "工具栏按钮提示[*.FILTER]",
"rTMOSFilePath" : "pslanguageres/Auto796",
"refFlag" : true
},
"uIActionMode" : "SYS",
"uIActionTag" : "ToggleFilter",
"uIActionType" : "DEUIACTION",
"id" : "DataExportTest@IBIZBOOK"
"enableToggleMode" : true
},
"tooltip" : "过滤",
"getTooltipPSLanguageRes" : {
"defaultContent" : "查找",
"lanResTag" : "TBB.TOOLTIP.*.FILTER",
"lanResType" : "TBB.TOOLTIP",
"mOSFilePath" : "pslanguageres/Auto796",
"name" : "工具栏按钮提示[*.FILTER]",
"rTMOSFilePath" : "pslanguageres/Auto796",
"refFlag" : true
},
"enableToggleMode" : true,
"showCaption" : true,
"showIcon" : true
}, {
"itemType" : "SEPERATOR",
"name" : "tbitem7",
"spanMode" : false
}, {
"getCapPSLanguageRes" : {
"defaultContent" : "删除",
"lanResTag" : "TBB.TEXT.*.REMOVE",
"lanResType" : "TBB.TEXT",
"mOSFilePath" : "pslanguageres/Auto998",
"name" : "工具栏按钮文本[*.REMOVE]",
"rTMOSFilePath" : "pslanguageres/Auto998",
"refFlag" : true
},
"caption" : "删除",
"groupExtractMode" : "ITEM",
"itemType" : "DEUIACTION",
"name" : "tbitem8",
"noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "toolbar_tbitem8"
},
"getPSSysImage" : {
"glyph" : "xf00d@FontAwesome",
"cssClass" : "fa fa-remove"
},
"getPSUIAction" : {
"actionTarget" : "MULTIKEY",
"getCapPSLanguageRes" : {
"defaultContent" : "删除",
"lanResTag" : "TBB.TEXT.*.REMOVE",
"lanResType" : "TBB.TEXT",
"mOSFilePath" : "pslanguageres/Auto998",
"name" : "工具栏按钮文本[*.REMOVE]",
"rTMOSFilePath" : "pslanguageres/Auto998",
"refFlag" : true
},
"caption" : "删除",
"codeName" : "Remove",
"fullCodeName" : "Remove",
"mOSFilePath" : "pssysapps/Web/pssysappdeuiactions/Remove",
"name" : "表格界面_删除操作",
"getPSSysImage" : {
"glyph" : "xf00d@FontAwesome",
"cssClass" : "fa fa-remove"
},
"predefinedType" : "GRIDVIEW_REMOVEACTION",
"rTMOSFilePath" : "pssysapps/Web/pssysappdeuiactions/Remove",
"timeout" : 60000,
"getTooltipPSLanguageRes" : {
"defaultContent" : "删除",
"lanResTag" : "TBB.TOOLTIP.*.REMOVE",
"lanResType" : "TBB.TOOLTIP",
"mOSFilePath" : "pslanguageres/Auto1782",
"name" : "工具栏按钮提示[*.REMOVE]",
"rTMOSFilePath" : "pslanguageres/Auto1782",
"refFlag" : true
},
"uIActionMode" : "SYS",
"uIActionTag" : "Remove",
"uIActionType" : "DEUIACTION"
},
"tooltip" : "删除",
"getTooltipPSLanguageRes" : {
"defaultContent" : "删除",
"lanResTag" : "TBB.TOOLTIP.*.REMOVE",
"lanResType" : "TBB.TOOLTIP",
"mOSFilePath" : "pslanguageres/Auto1782",
"name" : "工具栏按钮提示[*.REMOVE]",
"rTMOSFilePath" : "pslanguageres/Auto1782",
"refFlag" : true
},
"showCaption" : true,
"showIcon" : false
}, {
"itemType" : "SEPERATOR",
"name" : "tbitem9",
"spanMode" : false
}, {
"getCapPSLanguageRes" : {
"defaultContent" : "导出",
"lanResTag" : "TBB.TEXT.*.EXPORT",
"lanResType" : "TBB.TEXT",
"mOSFilePath" : "pslanguageres/Auto1675",
"name" : "工具栏按钮文本[*.EXPORT]",
"rTMOSFilePath" : "pslanguageres/Auto1675",
"refFlag" : true
},
"caption" : "导出",
"groupExtractMode" : "ITEM",
"itemType" : "DEUIACTION",
"name" : "tbitem13",
"noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "toolbar_tbitem13"
},
"getPSSysImage" : {
"glyph" : "xf1c3@FontAwesome",
"cssClass" : "fa fa-file-excel-o"
},
"getPSUIAction" : {
"getCapPSLanguageRes" : {
"defaultContent" : "导出",
"lanResTag" : "TBB.TEXT.*.EXPORT",
"lanResType" : "TBB.TEXT",
"mOSFilePath" : "pslanguageres/Auto1675",
"name" : "工具栏按钮文本[*.EXPORT]",
"rTMOSFilePath" : "pslanguageres/Auto1675",
"refFlag" : true
},
"caption" : "导出",
"codeName" : "ExportExcel",
"fullCodeName" : "ExportExcel",
"mOSFilePath" : "pssysapps/Web/pssysappdeuiactions/ExportExcel",
"name" : "表格界面_导出操作(Excel)",
"getPSSysImage" : {
"glyph" : "xf1c3@FontAwesome",
"cssClass" : "fa fa-file-excel-o"
},
"predefinedType" : "GRIDVIEW_EXPORTACTION",
"rTMOSFilePath" : "pssysapps/Web/pssysappdeuiactions/ExportExcel",
"timeout" : 60000,
"getTooltipPSLanguageRes" : {
"defaultContent" : "导出",
"lanResTag" : "TBB.TOOLTIP.*.EXPORT",
"lanResType" : "TBB.TOOLTIP",
"mOSFilePath" : "pslanguageres/Auto160",
"name" : "工具栏按钮提示[*.EXPORT]",
"rTMOSFilePath" : "pslanguageres/Auto160",
"refFlag" : true
},
"uIActionMode" : "SYS",
"uIActionTag" : "ExportExcel",
"uIActionType" : "DEUIACTION"
},
"tooltip" : "导出",
"getTooltipPSLanguageRes" : {
"defaultContent" : "导出",
"lanResTag" : "TBB.TOOLTIP.*.EXPORT",
"lanResType" : "TBB.TOOLTIP",
"mOSFilePath" : "pslanguageres/Auto160",
"name" : "工具栏按钮提示[*.EXPORT]",
"rTMOSFilePath" : "pslanguageres/Auto160",
"refFlag" : true
},
"showCaption" : true,
"showIcon" : true
}, {
"caption" : "导入",
"groupExtractMode" : "ITEM",
"itemType" : "DEUIACTION",
"name" : "deuiaction1",
"noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "toolbar_deuiaction1"
},
"getPSSysImage" : {
"glyph" : "xf093@FontAwesome",
"cssClass" : "fa fa-upload"
},
"getPSUIAction" : {
"actionTarget" : "NONE",
"caption" : "导入",
"codeName" : "ImportExcel",
"frontProcessType" : "OPENHTMLPAGE",
"fullCodeName" : "ImportExcel",
"htmlPageUrl" : "../../ibizutil/uploaddedataview.jsp?srfdeid=",
"mOSFilePath" : "pssysapps/Web/pssysappdeuiactions/ImportExcel",
"name" : "导入",
"getPSSysImage" : {
"glyph" : "xf093@FontAwesome",
"cssClass" : "fa fa-upload"
},
"rTMOSFilePath" : "pssysapps/Web/pssysappdeuiactions/ImportExcel",
"timeout" : 60000,
"uIActionMode" : "FRONT",
"uIActionTag" : "ImportExcel",
"uIActionType" : "DEUIACTION"
},
"tooltip" : "导入",
"showCaption" : true,
"showIcon" : true
}, {
"itemType" : "SEPERATOR",
"name" : "tbitem10",
"spanMode" : false
}, {
"getCapPSLanguageRes" : {
"defaultContent" : "打印",
"lanResTag" : "TBB.TEXT.*.PRINT",
"lanResType" : "TBB.TEXT",
"mOSFilePath" : "pslanguageres/Auto59",
"name" : "工具栏按钮文本[*.PRINT]",
"rTMOSFilePath" : "pslanguageres/Auto59",
"refFlag" : true
},
"caption" : "打印",
"groupExtractMode" : "ITEM",
"itemType" : "DEUIACTION",
"name" : "tbitem11",
"noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "toolbar_tbitem11"
},
"getPSSysImage" : {
"glyph" : "xf02f@FontAwesome",
"cssClass" : "fa fa-print"
},
"getPSUIAction" : {
"actionTarget" : "MULTIKEY",
"getCapPSLanguageRes" : {
"defaultContent" : "打印",
"lanResTag" : "TBB.TEXT.*.PRINT",
"lanResType" : "TBB.TEXT",
"mOSFilePath" : "pslanguageres/Auto59",
"name" : "工具栏按钮文本[*.PRINT]",
"rTMOSFilePath" : "pslanguageres/Auto59",
"refFlag" : true
},
"caption" : "打印",
"codeName" : "Print",
"fullCodeName" : "Print",
"mOSFilePath" : "pssysapps/Web/pssysappdeuiactions/Print",
"name" : "表格界面_打印操作",
"getPSSysImage" : {
"glyph" : "xf02f@FontAwesome",
"cssClass" : "fa fa-print"
},
"predefinedType" : "GRIDVIEW_PRINTACTION",
"rTMOSFilePath" : "pssysapps/Web/pssysappdeuiactions/Print",
"timeout" : 60000,
"getTooltipPSLanguageRes" : {
"defaultContent" : "打印",
"lanResTag" : "TBB.TOOLTIP.*.PRINT",
"lanResType" : "TBB.TOOLTIP",
"mOSFilePath" : "pslanguageres/Auto1134",
"name" : "工具栏按钮提示[*.PRINT]",
"rTMOSFilePath" : "pslanguageres/Auto1134",
"refFlag" : true
},
"uIActionMode" : "SYS",
"uIActionTag" : "Print",
"uIActionType" : "DEUIACTION"
},
"tooltip" : "打印",
"getTooltipPSLanguageRes" : {
"defaultContent" : "打印",
"lanResTag" : "TBB.TOOLTIP.*.PRINT",
"lanResType" : "TBB.TOOLTIP",
"mOSFilePath" : "pslanguageres/Auto1134",
"name" : "工具栏按钮提示[*.PRINT]",
"rTMOSFilePath" : "pslanguageres/Auto1134",
"refFlag" : true
},
"showCaption" : true,
"showIcon" : true
}, {
"itemType" : "SEPERATOR",
"name" : "tbitem12",
"spanMode" : false
}, {
"caption" : "其它",
"itemType" : "ITEMS",
"name" : "tbitem16",
"getPSDEToolbarItems" : [ {
"getCapPSLanguageRes" : {
"lanResTag" : "MENUITEM.CAPTION.*.EXPORTSRF",
"lanResType" : "MENUITEM.CAPTION",
"mOSFilePath" : "pslanguageres/Auto1443",
"name" : "菜单项文本[*.EXPORTSRF]",
"rTMOSFilePath" : "pslanguageres/Auto1443",
"refFlag" : true
},
"caption" : "导出数据模型",
"groupExtractMode" : "ITEM",
"itemType" : "DEUIACTION",
"name" : "tbitem21",
"noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "toolbar_tbitem21"
},
"getPSSysImage" : {
"glyph" : "xf019@FontAwesome",
"cssClass" : "fa fa-download"
},
"getPSUIAction" : {
"getCapPSLanguageRes" : {
"lanResTag" : "MENUITEM.CAPTION.*.EXPORTSRF",
"lanResType" : "MENUITEM.CAPTION",
"mOSFilePath" : "pslanguageres/Auto1443",
"name" : "菜单项文本[*.EXPORTSRF]",
"rTMOSFilePath" : "pslanguageres/Auto1443",
"refFlag" : true
},
"caption" : "导出数据模型",
"codeName" : "ExportModel",
"fullCodeName" : "ExportModel",
"mOSFilePath" : "pssysapps/Web/pssysappdeuiactions/ExportModel",
"name" : "表格界面_导出数据模型",
"getPSSysImage" : {
"glyph" : "xf019@FontAwesome",
"cssClass" : "fa fa-download"
},
"predefinedType" : "GRIDVIEW_EXPORTXMLACTION",
"rTMOSFilePath" : "pssysapps/Web/pssysappdeuiactions/ExportModel",
"timeout" : 60000,
"uIActionMode" : "SYS",
"uIActionTag" : "ExportModel",
"uIActionType" : "DEUIACTION"
},
"tooltip" : "导出数据模型",
"showCaption" : true,
"showIcon" : true
}, {
"caption" : "数据导入",
"groupExtractMode" : "ITEM",
"itemType" : "DEUIACTION",
"name" : "tbitem23",
"noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "toolbar_tbitem23"
},
"getPSSysImage" : {
"glyph" : "xf093@FontAwesome",
"cssClass" : "fa fa-upload"
},
"getPSUIAction" : {
"caption" : "数据导入",
"codeName" : "Import",
"fullCodeName" : "Import",
"mOSFilePath" : "pssysapps/Web/pssysappdeuiactions/Import",
"name" : "表格界面_数据导入栏",
"getPSSysImage" : {
"glyph" : "xf093@FontAwesome",
"cssClass" : "fa fa-upload"
},
"predefinedType" : "GRIDVIEW_IMPORTBAR",
"rTMOSFilePath" : "pssysapps/Web/pssysappdeuiactions/Import",
"timeout" : 60000,
"uIActionMode" : "SYS",
"uIActionTag" : "Import",
"uIActionType" : "DEUIACTION"
},
"tooltip" : "数据导入",
"showCaption" : true,
"showIcon" : true
} ],
"tooltip" : "其它",
"showCaption" : true,
"showIcon" : true
} ],
"rTMOSFilePath" : "pssysapps/Web/psappdeviews/IBIZBOOKUsr2GridView/psappviewctrls/toolbar",
"modelid" : "DB14F9A9-B0E8-4A50-88C3-9E668B8C28F5",
"modelid" : "47d7b189cb310900c71aaabc97f7444b",
"modeltype" : "PSDETOOLBAR"
} ],
"getPSDEViewCodeName" : "Usr2GridView",
......
......@@ -172,7 +172,7 @@
<!--输出实体[IBIZBOOK]数据结构 -->
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizbook-1572-7">
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizbook-1577-7">
<createTable tableName="T_IBIZBOOK">
<column name="CREATEMAN" remarks="" type="VARCHAR(60)">
</column>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册