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

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

上级 cc075401
......@@ -344,6 +344,14 @@
"groupName":"(未分类)",
"portletTYpe":"LIST","componentName":"app-ibizorder-detail-portal-components-list4-portlet"},
{"type":"app",
"appCodeName":"IBIZOrder",
"appName":"订单",
"portletCodeName": "portalComponentsTool",
"portletName": "工具栏",
"groupCodeName":"Ungroup",
"groupName":"(未分类)",
"portletTYpe":"TOOLBAR","componentName":"app-ibizorder-portal-components-tool-portlet"},
{"type":"app",
"appCodeName":"IBIZAPPVIEW",
"appName":"应用视图",
"portletCodeName": "appViewAmount",
......
......@@ -354,6 +354,14 @@ mock.onGet('./assets/json/portlet-data.json').reply((config: any) => {
"groupName":"(未分类)",
"portletTYpe":"LIST","componentName":"app-ibizorder-detail-portal-components-list4-portlet"},
{"type":"app",
"appCodeName":"IBIZOrder",
"appName":"订单",
"portletCodeName": "portalComponentsTool",
"portletName": "工具栏",
"groupCodeName":"Ungroup",
"groupName":"(未分类)",
"portletTYpe":"TOOLBAR","componentName":"app-ibizorder-portal-components-tool-portlet"},
{"type":"app",
"appCodeName":"IBIZAPPVIEW",
"appName":"应用视图",
"portletCodeName": "appViewAmount",
......
import PortalComponentsWeb from '@/widgets/app/portal-components-web-portlet/portal-components-web-portlet.vue';
import IBIZOrderPortalComponentsTool from '@/widgets/ibizorder/portal-components-tool-portlet/portal-components-tool-portlet.vue';
import IBIZBOOKPortalComponentsList from '@/widgets/ibizbook/portal-components-list-portlet/portal-components-list-portlet.vue';
import IBIZBOOKPortalComponentsView from '@/widgets/ibizbook/portal-components-view-portlet/portal-components-view-portlet.vue';
import IBIZOrderDetailPortalComponentsList5 from '@/widgets/ibizorder-detail/portal-components-list5-portlet/portal-components-list5-portlet.vue';
......@@ -41,6 +42,7 @@ export const PortletComponent = {
v.component('app-ibizorder-detail-portal-components-list3-portlet', IBIZOrderDetailPortalComponentsList3);
v.component('app-ibizorder-detail-portal-components-list5-portlet', IBIZOrderDetailPortalComponentsList5);
v.component('app-ibizorder-detail-portal-components-list4-portlet', IBIZOrderDetailPortalComponentsList4);
v.component('app-ibizorder-portal-components-tool-portlet', IBIZOrderPortalComponentsTool);
v.component('app-ibizappview-app-view-amount-portlet', IBIZAPPVIEWAppViewAmount);
v.component('app-ibizappctrl-app-ctrl-amount-portlet', IBIZAPPCTRLAppCtrlAmount);
v.component('app-ibizappeditor-app-editor-amount-portlet', IBIZAPPEDITORAppEditorAmount);
......
......@@ -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: 'IBIZBOOKGroupByCodelistListView' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr3GridView' + (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: 'IBIZBOOKGroupByCodelistListView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr3GridView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
return;
}
const arg: any = { ...opt } ;
......
......@@ -1344,7 +1344,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
*/
public async load(opt: any = {}): Promise<any> {
if(!this.loadAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.loadaction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsrWizardView_plugin' + (this.$t('app.formpage.notconfig.loadaction') as string) });
return;
}
const arg: any = { ...opt };
......@@ -1395,7 +1395,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
*/
public async loadDraft(opt: any = {}): Promise<any> {
if (!this.loaddraftAction) {
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsrWizardView_plugin' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) });
return;
}
const arg: any = { ...opt } ;
......@@ -1465,7 +1465,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction;
if(!action){
let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction";
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.actionname') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsrWizardView_plugin' + (this.$t('app.formpage.notconfig.actionname') as string) });
return;
}
Object.assign(arg,{viewparams:this.viewparams});
......@@ -1573,7 +1573,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction;
if(!action){
let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction";
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.actionname') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsrWizardView_plugin' + (this.$t('app.formpage.notconfig.actionname') as string) });
return;
}
Object.assign(arg, { viewparams: this.viewparams });
......@@ -1781,7 +1781,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
public remove(opt:Array<any> = [],showResultInfo?: boolean): Promise<any> {
return new Promise((resolve: any, reject: any) => {
if(!this.removeAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.removeaction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsrWizardView_plugin' + (this.$t('app.formpage.notconfig.removeaction') as string) });
return;
}
const arg: any = opt[0];
......@@ -1799,7 +1799,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
this.formState.next({ type: 'remove', data: data });
this.data.ismodify = false;
this.$Notice.success({ title: '', desc: (data.srfmajortext ? data.srfmajortext : '') + '&nbsp;' + (this.$t('app.formpage.deletesuccess') as string) });
AppCenterService.notifyMessage({name:"IBIZBOOK",action:'appRefresh',data:data});
AppCenterServesh',data:data});
resolve(response);
})
} else {
......@@ -2221,4 +2221,6 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
<style lang='less'>
@import './guide-return-form-form.less';
</style>
@import './guide-return-form-form.less';
</style>
\ No newline at end of file
......@@ -1447,7 +1447,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
*/
public async load(opt: any = {}): Promise<any> {
if(!this.loadAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.loadaction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsrWizardView_plugin' + (this.$t('app.formpage.notconfig.loadaction') as string) });
return;
}
const arg: any = { ...opt };
......@@ -1499,7 +1499,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
*/
public async loadDraft(opt: any = {}): Promise<any> {
if (!this.loaddraftAction) {
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsrWizardView_plugin' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) });
return;
}
const arg: any = { ...opt } ;
......@@ -1569,7 +1569,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction;
if(!action){
let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction";
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.actionname') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsrWizardView_plugin' + (this.$t('app.formpage.notconfig.actionname') as string) });
return;
}
Object.assign(arg,{viewparams:this.viewparams});
......@@ -1677,7 +1677,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction;
if(!action){
let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction";
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.actionname') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsrWizardView_plugin' + (this.$t('app.formpage.notconfig.actionname') as string) });
return;
}
Object.assign(arg, { viewparams: this.viewparams });
......@@ -1885,7 +1885,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
public remove(opt:Array<any> = [],showResultInfo?: boolean): Promise<any> {
return new Promise((resolve: any, reject: any) => {
if(!this.removeAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.removeaction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsrWizardView_plugin' + (this.$t('app.formpage.notconfig.removeaction') as string) });
return;
}
const arg: any = opt[0];
......
......@@ -670,7 +670,7 @@ export default class QUICKSEARCHFORMBase extends Vue implements ControlInterface
*/
public load(opt: any = {}): void {
if(!this.loadAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKCalendarView' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKListView' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
return;
}
const arg: any = { ...opt };
......@@ -706,7 +706,7 @@ export default class QUICKSEARCHFORMBase 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: 'IBIZBOOKCalendarView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKListView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
return;
}
const arg: any = { ...opt } ;
......@@ -828,4 +828,5 @@ export default class QUICKSEARCHFORMBase extends Vue implements ControlInterface
<style lang='less'>
@import './quicksearchform-searchform.less';
</style>;
</style>
\ No newline at end of file
......@@ -48,14 +48,14 @@
<div v-show="flag" class="batch-toolbar">
<div class='toolbar-container'>
<tooltip :transfer="true" :max-width="600">
<i-button v-show="usr2dataviewdataview_batchtoolbarModels.deuiaction1.visabled" :disabled="usr2dataviewdataview_batchtoolbarModels.deuiaction1.disabled" class='' v-button-loading:i-button @click="dataview_batchtoolbar_click({ tag: 'deuiaction1' }, $event)">
<i-button v-show="dataviewexpviewdataviewexpbar_dataview_batchtoolbarModels.deuiaction1.visabled" :disabled="dataviewexpviewdataviewexpbar_dataview_batchtoolbarModels.deuiaction1.disabled" class='' v-button-loading:i-button @click="dataviewexpbar_dataview_batchtoolbar_click({ tag: 'deuiaction1' }, $event)">
<i class='fa fa-edit'></i>
<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="usr2dataviewdataview_batchtoolbarModels.deuiaction2.visabled" :disabled="usr2dataviewdataview_batchtoolbarModels.deuiaction2.disabled" class='' v-button-loading:i-button @click="dataview_batchtoolbar_click({ tag: 'deuiaction2' }, $event)">
<i-button v-show="dataviewexpviewdataviewexpbar_dataview_batchtoolbarModels.deuiaction2.visabled" :disabled="dataviewexpviewdataviewexpbar_dataview_batchtoolbarModels.deuiaction2.disabled" class='' v-button-loading:i-button @click="dataviewexpbar_dataview_batchtoolbar_click({ tag: 'deuiaction2' }, $event)">
<i class='fa fa-remove'></i>
<span class='caption'>{{'删除'}}</span>
</i-button>
......@@ -202,18 +202,18 @@ export default class Usr2Base extends Vue implements ControlInterface {
public appEntityService: IBIZBOOKEntityService = new IBIZBOOKEntityService({ $store: this.$store });
/**
* dataview_batchtoolbar 部件 click 事件
* dataviewexpbar_dataview_batchtoolbar 部件 click 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof Usr2Base
*/
public dataview_batchtoolbar_click($event: any, $event2?: any) {
public dataviewexpbar_dataview_batchtoolbar_click($event: any, $event2?: any) {
if (Object.is($event.tag, 'deuiaction1')) {
this.dataview_batchtoolbar_deuiaction1_click(null, 'dataview_batchtoolbar', $event2);
this.dataviewexpbar_dataview_batchtoolbar_deuiaction1_click(null, 'dataviewexpbar_dataview_batchtoolbar', $event2);
}
if (Object.is($event.tag, 'deuiaction2')) {
this.dataview_batchtoolbar_deuiaction2_click(null, 'dataview_batchtoolbar', $event2);
this.dataviewexpbar_dataview_batchtoolbar_deuiaction2_click(null, 'dataviewexpbar_dataview_batchtoolbar', $event2);
}
}
......@@ -226,7 +226,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
* @param {*} [$event]
* @memberof
*/
public dataview_batchtoolbar_deuiaction1_click(params: any = {}, tag?: any, $event?: any) {
public dataviewexpbar_dataview_batchtoolbar_deuiaction1_click(params: any = {}, tag?: any, $event?: any) {
// 参数
// 取数
let datas: any[] = [];
......@@ -254,7 +254,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
* @param {*} [$event]
* @memberof
*/
public dataview_batchtoolbar_deuiaction2_click(params: any = {}, tag?: any, $event?: any) {
public dataviewexpbar_dataview_batchtoolbar_deuiaction2_click(params: any = {}, tag?: any, $event?: any) {
// 参数
// 取数
let datas: any[] = [];
......@@ -282,7 +282,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
* @param {*} [$event]
* @memberof
*/
public dataview_memo1_u37f11a8_click(params: any = {}, tag?: any, $event?: any) {
public dataviewexpbar_dataview_memo1_u37f11a8_click(params: any = {}, tag?: any, $event?: any) {
// 取数
let datas: any[] = [];
let xData: any = null;
......@@ -309,7 +309,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
* @param {*} [$event]
* @memberof
*/
public dataview_memo1_uc365542_click(params: any = {}, tag?: any, $event?: any) {
public dataviewexpbar_dataview_memo1_uc365542_click(params: any = {}, tag?: any, $event?: any) {
// 取数
let datas: any[] = [];
let xData: any = null;
......@@ -337,7 +337,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof IBIZBOOKUsr2DataViewBase
* @memberof IBIZBOOKDataViewExpViewBase
*/
public Edit(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
if (args.length === 0) {
......@@ -363,7 +363,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof IBIZBOOKUsr2DataViewBase
* @memberof IBIZBOOKDataViewExpViewBase
*/
public Remove(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
const _this: any = this;
......@@ -427,6 +427,12 @@ export default class Usr2Base extends Vue implements ControlInterface {
}
let result: boolean = true;
Object.assign(actionData, args);
if ('selectionchange'.indexOf(eventName) !== -1) {
result = await this.execute_dataviewexpbar_selectionchange_ctrl_logic(actionData) && result;
}
if ('load'.indexOf(eventName) !== -1) {
result = await this.execute_dataviewexpbar_load_ctrl_logic(actionData) && result;
}
if (!result) {
return false;
}
......@@ -434,6 +440,30 @@ export default class Usr2Base extends Vue implements ControlInterface {
return true;
}
/**
* 部件逻辑 -- dataviewexpbar_selectionchange
*
* @param {string} eventName 部件事件名称
* @param {any[]} data 数据
* @param {*} event 源事件对象
* @memberof Usr2Base
*/
public async execute_dataviewexpbar_selectionchange_ctrl_logic(actionData: any): Promise<boolean> {
console.log('暂未支持 CUSTOM 类型');
return true;
}
/**
* 部件逻辑 -- dataviewexpbar_load
*
* @param {string} eventName 部件事件名称
* @param {any[]} data 数据
* @param {*} event 源事件对象
* @memberof Usr2Base
*/
public async execute_dataviewexpbar_load_ctrl_logic(actionData: any): Promise<boolean> {
console.log('暂未支持 CUSTOM 类型');
return true;
}
......@@ -678,9 +708,9 @@ export default class Usr2Base extends Vue implements ControlInterface {
* 工具栏模型
*
* @type {*}
* @memberof IBIZBOOKUsr2DataView
* @memberof IBIZBOOKDataViewExpView
*/
public usr2dataviewdataview_batchtoolbarModels: any = {
public dataviewexpviewdataviewexpbar_dataview_batchtoolbarModels: any = {
deuiaction1: { name: 'deuiaction1', actiontarget: 'NONE', caption: '编辑', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Edit', target: 'SINGLEKEY' } },
deuiaction2: { name: 'deuiaction2', actiontarget: 'NONE', caption: '删除', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Remove', target: 'MULTIKEY' } },
......@@ -1013,7 +1043,7 @@ export default class Usr2Base 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: 'IBIZBOOKUsr2DataView' + (this.$t('app.list.notConfig.fetchAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKDataViewExpView' + (this.$t('app.list.notConfig.fetchAction') as string) });
return;
}
const arg: any = {...opt};
......@@ -1108,7 +1138,7 @@ export default class Usr2Base 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: 'IBIZBOOKUsr2DataView' + (this.$t('app.gridpage.notConfig.removeAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKDataViewExpView' + (this.$t('app.gridpage.notConfig.removeAction') as string) });
return;
}
let _datas:any[] = [];
......@@ -1225,7 +1255,7 @@ export default class Usr2Base 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: 'IBIZBOOKUsr2DataView' + (this.$t('app.list.notConfig.createAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKDataViewExpView' + (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);
......@@ -1233,7 +1263,7 @@ export default class Usr2Base 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: 'IBIZBOOKUsr2DataView' + (this.$t('app.list.notConfig.updateAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKDataViewExpView' + (this.$t('app.list.notConfig.updateAction') as string) });
}else{
Object.assign(item,{viewparams:this.viewparams});
if(item.ibizbook){
......@@ -1335,16 +1365,16 @@ export default class Usr2Base extends Vue implements ControlInterface {
public uiAction(data: any, tag: any, $event: any) {
$event.stopPropagation();
if(Object.is('Edit', tag)) {
this.dataview_batchtoolbar_deuiaction1_click(data, tag, $event);
this.dataviewexpbar_dataview_batchtoolbar_deuiaction1_click(data, tag, $event);
}
if(Object.is('Remove', tag)) {
this.dataview_batchtoolbar_deuiaction2_click(data, tag, $event);
this.dataviewexpbar_dataview_batchtoolbar_deuiaction2_click(data, tag, $event);
}
if(Object.is('Edit', tag)) {
this.dataview_memo1_u37f11a8_click(data, tag, $event);
this.dataviewexpbar_dataview_memo1_u37f11a8_click(data, tag, $event);
}
if(Object.is('Remove', tag)) {
this.dataview_memo1_uc365542_click(data, tag, $event);
this.dataviewexpbar_dataview_memo1_uc365542_click(data, tag, $event);
}
}
......
......@@ -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: "IBIZOrderDetailSGridView9" + (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: 'IBIZOrderDetailSGridView9' + (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: 'IBIZOrderDetailSGridView9'+(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: 'IBIZOrderDetailSGridView9'+(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: 'IBIZOrderDetailSGridView9'+(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: 'IBIZOrderDetailSGridView9' + (this.$t('app.gridpage.notConfig.loaddraftAction') as string)
});
return;
}
......
......@@ -310,7 +310,7 @@ export default class MainBase extends Vue implements ControlInterface {
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof IBIZOrderPickupGridViewBase
* @memberof IBIZOrderSF1GridViewBase
*/
public Edit(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
if (args.length === 0) {
......@@ -453,6 +453,20 @@ export default class MainBase extends Vue implements ControlInterface {
return this.selections[0];
}
/**
* 打开新建数据视图
*
* @type {any}
* @memberof MainBase
*/
@Prop() public newdata: any;
/**
* 打开编辑数据视图
*
* @type {any}
* @memberof MainBase
*/
@Prop() public opendata: any;
/**
* 是否嵌入关系界面
......@@ -983,7 +997,7 @@ export default class MainBase extends Vue implements ControlInterface {
if (!this.fetchAction) {
this.$Notice.error({
title: this.$t("app.commonWords.wrong") as string,
desc: "IBIZOrderPickupGridView" + (this.$t("app.gridpage.notConfig.fetchAction") as string),
desc: "IBIZOrderSF1GridView" + (this.$t("app.gridpage.notConfig.fetchAction") as string),
});
return;
}
......@@ -1142,7 +1156,7 @@ export default class MainBase extends Vue implements ControlInterface {
if (!this.removeAction) {
this.$Notice.error({
title: (this.$t('app.commonWords.wrong') as string),
desc: 'IBIZOrderPickupGridView' + (this.$t('app.gridpage.notConfig.removeAction') as string)
desc: 'IBIZOrderSF1GridView' + (this.$t('app.gridpage.notConfig.removeAction') as string)
});
return;
}
......@@ -1256,7 +1270,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: 'IBIZOrderPickupGridView'+(this.$t('app.gridpage.notConfig.fetchAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderSF1GridView'+(this.$t('app.gridpage.notConfig.fetchAction') as string) });
return;
}
if(!arg){
......@@ -2178,7 +2192,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: 'IBIZOrderPickupGridView'+(this.$t('app.gridpage.notConfig.createAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderSF1GridView'+(this.$t('app.gridpage.notConfig.createAction') as string) });
} else {
Object.assign(item, { viewparams: this.viewparams });
const tempContext = Util.deepCopy(this.context);
......@@ -2187,7 +2201,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: 'IBIZOrderPickupGridView'+(this.$t('app.gridpage.notConfig.updateAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderSF1GridView'+(this.$t('app.gridpage.notConfig.updateAction') as string) });
} else {
Object.assign(item, { viewparams: this.viewparams });
const tempContext = Util.deepCopy(this.context);
......@@ -2263,7 +2277,7 @@ export default class MainBase extends Vue implements ControlInterface {
if(!this.loaddraftAction){
this.$Notice.error({
title: (this.$t('app.commonWords.wrong') as string),
desc: 'IBIZOrderPickupGridView' + (this.$t('app.gridpage.notConfig.loaddraftAction') as string)
desc: 'IBIZOrderSF1GridView' + (this.$t('app.gridpage.notConfig.loaddraftAction') as string)
});
return;
}
......
......@@ -106,6 +106,21 @@ export default class MainModel {
prop: 'n_ibizordername_like',
dataType: 'QUERYPARAM'
},
{
name: 'n_orderstate_eq',
prop: 'n_orderstate_eq',
dataType: 'QUERYPARAM'
},
{
name: 'n_ordertime_gt',
prop: 'n_ordertime_gt',
dataType: 'QUERYPARAM'
},
{
name: 'n_ordertime_lt',
prop: 'n_ordertime_lt',
dataType: 'QUERYPARAM'
},
{
name:'size',
......
<template>
<div class='portlet portal-components-tool ' :style="{'height': isAdaptiveSize ? 'calc(100% - 16px)' : getHeight,}">
<p class='portlet-title'>
<span>
工具栏
</span>
</p>
<el-divider class="divider"></el-divider>
<div class="portlet-with-title">
<!-- 测试 -->
<div class='toolbar-container'>
<tooltip :transfer="true" :max-width="600">
<i-button v-show="dashboardviewdashboard_sysportlet8_toolbarModels.deuiaction6.visabled" :disabled="dashboardviewdashboard_sysportlet8_toolbarModels.deuiaction6.disabled" class='' v-button-loading:i-button @click="dashboard_sysportlet8_toolbar_click({ tag: 'deuiaction6' }, $event)">
<i class='fa fa-refresh'></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="dashboardviewdashboard_sysportlet8_toolbarModels.deuiaction2.visabled" :disabled="dashboardviewdashboard_sysportlet8_toolbarModels.deuiaction2.disabled" class='' v-button-loading:i-button @click="dashboard_sysportlet8_toolbar_click({ tag: 'deuiaction2' }, $event)">
<i class='fa fa-edit'></i>
<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="dashboardviewdashboard_sysportlet8_toolbarModels.deuiaction3.visabled" :disabled="dashboardviewdashboard_sysportlet8_toolbarModels.deuiaction3.disabled" class='' v-button-loading:i-button @click="dashboard_sysportlet8_toolbar_click({ tag: 'deuiaction3' }, $event)">
<i class='fa fa-remove'></i>
<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">
<i-button v-show="dashboardviewdashboard_sysportlet8_toolbarModels.deuiaction7.visabled" :disabled="dashboardviewdashboard_sysportlet8_toolbarModels.deuiaction7.disabled" class='' v-button-loading:i-button @click="dashboard_sysportlet8_toolbar_click({ tag: 'deuiaction7' }, $event)">
<i class='fa fa-upload'></i>
<span class='caption'>{{'前台调用'}}</span>
</i-button>
<div slot='content'>{{'前台调用'}}</div>
</tooltip>
</div>
</div>
</div>
</template>
// 基于 @CONTROL/门户部件/CONTROL-BASE.vue.ftl 生成
<script lang='tsx'>
import { Vue, Component, Prop, Provide, Emit, Watch, Model,Inject } from 'vue-property-decorator';
import { CreateElement } from 'vue';
import { Subject, Subscription } from 'rxjs';
import { ControlInterface } from '@/interface/control';
import { UIActionTool,Util, ViewTool } from '@/utils';
import NavDataService from '@/service/app/navdata-service';
import IBIZOrderService from '@/service/ibizorder/ibizorder-service';
import PortalComponentsToolService from './portal-components-tool-portlet-service';
import IBIZOrderUIService from '@/uiservice/ibizorder/ibizorder-ui-service';
import UIService from '@/uiservice/ui-service';
import { Environment } from '@/environments/environment';
@Component({
components: {
}
})
export default class IBIZOrderPortalComponentsToolBase extends Vue implements ControlInterface {
/**
* 名称
*
* @type {string}
* @memberof PortalComponentsToolBase
*/
@Prop() public name?: string;
/**
* 视图通讯对象
*
* @type {Subject<ViewState>}
* @memberof PortalComponentsToolBase
*/
@Prop() public viewState!: Subject<ViewState>;
/**
* 应用上下文
*
* @type {*}
* @memberof PortalComponentsToolBase
*/
@Prop() public context!: any;
/**
* 视图参数
*
* @type {*}
* @memberof PortalComponentsToolBase
*/
@Prop() public viewparams!: any;
/**
* 视图操作参数
*
* @type {*}
* @memberof PortalComponentsToolBase
*/
@Prop() public viewCtx!: any;
/**
* 视图状态事件
*
* @public
* @type {(Subscription | undefined)}
* @memberof PortalComponentsToolBase
*/
public viewStateEvent: Subscription | undefined;
/**
* 获取部件类型
*
* @returns {string}
* @memberof PortalComponentsToolBase
*/
public getControlType(): string {
return 'PORTLET'
}
/**
* 计数器服务对象集合
*
* @type {Array<*>}
* @memberof PortalComponentsToolBase
*/
public counterServiceArray:Array<any> = [];
/**
* 建构部件服务对象
*
* @type {PortalComponentsToolService}
* @memberof PortalComponentsToolBase
*/
public service: PortalComponentsToolService = new PortalComponentsToolService({ $store: this.$store });
/**
* 实体服务对象
*
* @type {IBIZOrderService}
* @memberof PortalComponentsToolBase
*/
public appEntityService: IBIZOrderService = new IBIZOrderService({ $store: this.$store });
/**
* 界面UI服务对象
*
* @type {IBIZOrderUIService}
* @memberof PortalComponentsToolBase
*/
public appUIService:IBIZOrderUIService = new IBIZOrderUIService();
/**
* dashboard_sysportlet8_toolbar 部件 click 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof PortalComponentsToolBase
*/
public dashboard_sysportlet8_toolbar_click($event: any, $event2?: any) {
if (Object.is($event.tag, 'deuiaction5')) {
this.dashboard_sysportlet8_toolbar_deuiaction5_click(null, 'dashboard_sysportlet8_toolbar', $event2);
}
if (Object.is($event.tag, 'deuiaction6')) {
this.dashboard_sysportlet8_toolbar_deuiaction6_click(null, 'dashboard_sysportlet8_toolbar', $event2);
}
if (Object.is($event.tag, 'deuiaction4')) {
this.dashboard_sysportlet8_toolbar_deuiaction4_click(null, 'dashboard_sysportlet8_toolbar', $event2);
}
if (Object.is($event.tag, 'deuiaction2')) {
this.dashboard_sysportlet8_toolbar_deuiaction2_click(null, 'dashboard_sysportlet8_toolbar', $event2);
}
if (Object.is($event.tag, 'deuiaction1')) {
this.dashboard_sysportlet8_toolbar_deuiaction1_click(null, 'dashboard_sysportlet8_toolbar', $event2);
}
if (Object.is($event.tag, 'deuiaction3')) {
this.dashboard_sysportlet8_toolbar_deuiaction3_click(null, 'dashboard_sysportlet8_toolbar', $event2);
}
if (Object.is($event.tag, 'deuiaction7')) {
this.dashboard_sysportlet8_toolbar_deuiaction7_click(null, 'dashboard_sysportlet8_toolbar', $event2);
}
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public dashboard_sysportlet8_toolbar_deuiaction5_click(params: any = {}, tag?: any, $event?: any) {
// 参数
// 取数
let datas: any[] = [];
let xData: any = null;
// _this 指向容器对象
const _this: any = this;
let paramJO:any = {};
let contextJO:any = {};
xData = this;
if (_this.getDatas && _this.getDatas instanceof Function) {
datas = [..._this.getDatas()];
}
if(params){
datas = [params];
}
// 界面行为
this.ToggleRowEdit(datas, contextJO,paramJO, $event, xData,this,"IBIZOrder");
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public dashboard_sysportlet8_toolbar_deuiaction6_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;
if (_this.getDatas && _this.getDatas instanceof Function) {
datas = [..._this.getDatas()];
}
if(params){
datas = [params];
}
// 界面行为
this.Refresh(datas, contextJO,paramJO, $event, xData,this,"IBIZOrder");
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public dashboard_sysportlet8_toolbar_deuiaction4_click(params: any = {}, tag?: any, $event?: any) {
// 参数
// 取数
let datas: any[] = [];
let xData: any = null;
// _this 指向容器对象
const _this: any = this;
let paramJO:any = {};
let contextJO:any = {};
xData = this;
if (_this.getDatas && _this.getDatas instanceof Function) {
datas = [..._this.getDatas()];
}
if(params){
datas = [params];
}
// 界面行为
this.NewRow(datas, contextJO,paramJO, $event, xData,this,"IBIZOrder");
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public dashboard_sysportlet8_toolbar_deuiaction2_click(params: any = {}, tag?: any, $event?: any) {
// 参数
// 取数
let datas: any[] = [];
let xData: any = null;
// _this 指向容器对象
const _this: any = this;
let paramJO:any = {};
let contextJO:any = {};
xData = this;
if (_this.getDatas && _this.getDatas instanceof Function) {
datas = [..._this.getDatas()];
}
if(params){
datas = [params];
}
// 界面行为
this.Edit(datas, contextJO,paramJO, $event, xData,this,"IBIZOrder");
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public dashboard_sysportlet8_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;
if (_this.getDatas && _this.getDatas instanceof Function) {
datas = [..._this.getDatas()];
}
if(params){
datas = [params];
}
// 界面行为
this.SaveRow(datas, contextJO,paramJO, $event, xData,this,"IBIZOrder");
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public dashboard_sysportlet8_toolbar_deuiaction3_click(params: any = {}, tag?: any, $event?: any) {
// 参数
// 取数
let datas: any[] = [];
let xData: any = null;
// _this 指向容器对象
const _this: any = this;
let paramJO:any = {};
let contextJO:any = {};
xData = this;
if (_this.getDatas && _this.getDatas instanceof Function) {
datas = [..._this.getDatas()];
}
if(params){
datas = [params];
}
// 界面行为
this.Remove(datas, contextJO,paramJO, $event, xData,this,"IBIZOrder");
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public dashboard_sysportlet8_toolbar_deuiaction7_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;
if (_this.getDatas && _this.getDatas instanceof Function) {
datas = [..._this.getDatas()];
}
if(params){
datas = [params];
}
// 界面行为
this.ImportExcel(datas, contextJO,paramJO, $event, xData,this,"IBIZOrder");
}
/**
* 行编辑
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof IBIZOrderDashboardViewBase
*/
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 IBIZOrderDashboardViewBase
*/
public Refresh(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
const _this: any = this;
if (xData && xData.refresh && xData.refresh instanceof Function) {
xData.refresh(args);
} else if (_this.refresh && _this.refresh instanceof Function) {
_this.refresh(args);
}
}
/**
* 新建行
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof IBIZOrderDashboardViewBase
*/
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 IBIZOrderDashboardViewBase
*/
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, { ibizorder: args[0].ibizorder })
}
_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 IBIZOrderDashboardViewBase
*/
public SaveRow(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();
} 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 IBIZOrderDashboardViewBase
*/
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} 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
* @memberof PortalComponentsToolBase
*/
public closeView(args: any): void {
let _this: any = this;
_this.$emit('closeview', [args]);
}
/**
* 计数器刷新
*
* @memberof PortalComponentsToolBase
*/
public counterRefresh(){
const _this:any =this;
if(_this.counterServiceArray && _this.counterServiceArray.length >0){
_this.counterServiceArray.forEach((item:any) =>{
if(item.refreshData && item.refreshData instanceof Function){
item.refreshData();
}
})
}
}
/**
* 长度
*
* @type {number}
* @memberof PortalComponentsToolBase
*/
@Prop() public height?: number;
/**
* 宽度
*
* @type {number}
* @memberof PortalComponentsToolBase
*/
@Prop() public width?: number;
/**
* 门户部件类型
*
* @type {string}
* @memberof PortalComponentsToolBase
*/
public portletType: string = 'toolbar';
/**
* 部件类型
*
* @type {string}
* @memberof PortalComponentsToolBase
*/
public controlType: string = 'PORTLET';
/**
* 视图默认使用
*
* @type {string}
* @memberof PortalComponentsToolBase
*/
@Inject({from:'navModel',default: 'tab'})
public navModel!:string;
/**
* 界面行为模型数据
*
* @memberof PortalComponentsToolBase
*/
public uiactionModel: any = {
}
/**
* 工具栏模型
*
* @type {*}
* @memberof IBIZOrderDashboardView
*/
public dashboardviewdashboard_sysportlet8_toolbarModels: any = {
deuiaction6: { name: 'deuiaction6', actiontarget: 'NONE', caption: '刷新', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Refresh', target: '' } },
seperator2: { name: 'seperator2', type: 'SEPERATOR', visabled: true, dataaccaction: '', uiaction: { } },
deuiaction2: { name: 'deuiaction2', actiontarget: 'NONE', caption: '编辑', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Edit', target: 'SINGLEKEY' } },
deuiaction3: { name: 'deuiaction3', actiontarget: 'NONE', caption: '删除', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Remove', target: 'MULTIKEY' } },
seperator1: { name: 'seperator1', type: 'SEPERATOR', visabled: true, dataaccaction: '', uiaction: { } },
deuiaction7: { name: 'deuiaction7', actiontarget: 'NONE', caption: '前台调用', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'ImportExcel', target: 'NONE' } },
};
/**
* 是否自适应大小
*
* @returns {boolean}
* @memberof PortalComponentsToolBase
*/
@Prop({default: false})public isAdaptiveSize!: boolean;
/**
* 获取多项数据
*
* @returns {any[]}
* @memberof PortalComponentsToolBase
*/
public getDatas(): any[] {
return [];
}
/**
* 获取单项树
*
* @returns {*}
* @memberof PortalComponentsToolBase
*/
public getData(): any {
return {};
}
/**
* 获取高度
*
* @returns {any[]}
* @memberof PortalComponentsToolBase
*/
get getHeight(){
if(!this.$util.isEmpty(this.height) && !this.$util.isNumberNaN(this.height)){
if(this.height == 0){
return 'auto';
}else{
return this.height+'px';
}
}else{
return '300px';
}
}
/**
* 刷新
*
* @memberof PortalComponentsToolBase
*/
public refresh(args?: any) {
}
/**
* vue 生命周期
*
* @memberof PortalComponentsToolBase
*/
public created() {
this.afterCreated();
}
/**
* 执行created后的逻辑
*
* @memberof PortalComponentsToolBase
*/
public afterCreated(){
if (this.viewState) {
this.viewStateEvent = this.viewState.subscribe(({ tag, action, data }) => {
if(Object.is(tag, "all-portlet") && Object.is(action,'loadmodel')){
this.calcUIActionAuthState(data);
}
if (!Object.is(tag, this.name)) {
return;
}
const refs: any = this.$refs;
Object.keys(refs).forEach((_name: string) => {
this.viewState.next({ tag: _name, action: action, data: data });
});
});
}
}
/**
* vue 生命周期
*
* @memberof PortalComponentsToolBase
*/
public destroyed() {
this.afterDestroy();
}
/**
* 执行destroyed后的逻辑
*
* @memberof PortalComponentsToolBase
*/
public afterDestroy() {
if (this.viewStateEvent) {
this.viewStateEvent.unsubscribe();
}
}
/**
* 计算界面行为权限
*
* @memberof PortalComponentsToolBase
*/
public calcUIActionAuthState(data:any = {}) {
// 如果是操作栏,不计算权限
if(this.portletType && Object.is('actionbar', this.portletType)) {
return;
}
let _this: any = this;
let uiservice: any = _this.appUIService ? _this.appUIService : new UIService();
if(_this.uiactionModel){
ViewTool.calcActionItemAuthState(data,_this.uiactionModel,uiservice);
}
}
}
</script>
<style lang='less'>
@import './portal-components-tool-portlet.less';
</style>
// 基于 @CONTROL/门户部件/MODEL.ts.ftl 生成
/**
* PortalComponentsTool 部件模型
*
* @export
* @class PortalComponentsToolModel
*/
export default class PortalComponentsToolModel {
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof PortalComponentsToolModel
*/
public getDataItems(): any[] {
return [
{
name: 'tp',
},
{
name: 'endtime',
},
{
name: 'wfstate',
},
{
name: 'createdate',
},
{
name: 'opinion',
},
{
name: 'updatedate',
},
{
name: 'ordertype',
},
{
name: 'detailnum',
},
{
name: 'wfinstanceid',
},
{
name: 'amount',
},
{
name: 'orderuid',
},
{
name: 'ibizorder',
prop: 'ibizorderid',
},
{
name: 'orderstate',
},
{
name: 'starttime',
},
{
name: 'updateman',
},
{
name: 'wfstep',
},
{
name: 'createman',
},
{
name: 'ibizordername',
},
{
name: 'ordertime',
},
{
name: 'memo',
},
{
name: 'ibizcustomername',
},
{
name: 'ibizcustomerid',
},
]
}
}
// 基于 @CONTROL/门户部件/SERVICE.ts.ftl 生成
import { Http } from '@/utils';
import ControlService from '@/widgets/control-service';
/**
* PortalComponentsTool 部件服务对象
*
* @export
* @class PortalComponentsToolService
*/
export default class PortalComponentsToolService extends ControlService {
}
// 基于 @CONTROL/门户部件/CONTROL.less.ftl 生成
// this is less
.portlet{
height: 100%;
width: 100%;
> .portlet-title{
padding: 14px 16px;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
height: 52px;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
justify-content: space-between;
width:100%;
line-height: 22px;
font-size: 16px;
font-weight: 500;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
color: #304265;
font-weight: 600;
i{
margin-right: 5px;
}
>.portlet-action{
margin-left: 12px;
font-size: 14px;
>a{
padding: 6px;
}
}
}
> .divider {
margin: 0px 0px 11px 0px;
}
> .portlet-with-title{
width:100%;
height:calc(100% - 58px);
overflow:auto;
padding:0px 12px;
}
> .portlet-without-title{
width:100%;
height:100%;
overflow:auto;
padding:0px 12px;
}
.app-charts{
height: 100%!important;
}
.toolbar-container {
button{
margin: 6px 0px 4px 16px;
}
.ivu-badge{
.ivu-badge-count{
top: 0;
}
}
}
// 日历视图样式特殊处理(防止刷新时日历大小发生变化并且门户部件要定高)
.decalendarview {
height: 100%;
>.view-card {
height: 100%;
}
}
}
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import IBIZOrderPortalComponentsToolBase from './portal-components-tool-portlet-base.vue';
// 基于 @CONTROL/门户部件/CONTROL.vue.ftl 生成
@Component({
components: {
}
})
export default class IBIZOrderPortalComponentsTool extends IBIZOrderPortalComponentsToolBase {
}
</script>
......@@ -200,6 +200,25 @@
</card>
</div>
</i-col>
<i-col :md="{ span: 24, offset: 0 }">
<div class="portlet-without-title">
<card class="portlet-card custom-card" :bordered="false" dis-hover :padding="10">
<span>
<view_dashboard_sysportlet8
:viewState="viewState"
:viewparams="viewparams"
:context="context"
:pViewCtx="viewCtx"
:height="300"
:width="0"
name="dashboard_sysportlet8"
ref='dashboard_sysportlet8'
@closeview="closeView($event)">
</view_dashboard_sysportlet8>
</span>
</card>
</div>
</i-col>
</row>
</div>
</span>
......
......@@ -8,6 +8,7 @@ import view_dashboard_sysportlet3 from '@widgets/ibizorder/portal-components-ope
import view_dashboard_sysportlet1 from '@widgets/ibizorder-detail/portal-components-histogram-portlet/portal-components-histogram-portlet.vue';
import view_dashboard_sysportlet2 from '@widgets/ibizorder-detail/portal-components-list-view-portlet/portal-components-list-view-portlet.vue';
import view_dashboard_sysportlet5 from '@widgets/ibizorder/portal-components-web-portlet/portal-components-web-portlet.vue';
import view_dashboard_sysportlet8 from '@widgets/ibizorder/portal-components-tool-portlet/portal-components-tool-portlet.vue';
// 基于 @CONTROL/数据关系栏/CONTROL.vue.ftl 生成
......@@ -20,6 +21,7 @@ import view_dashboard_sysportlet5 from '@widgets/ibizorder/portal-components-web
view_dashboard_sysportlet1,
view_dashboard_sysportlet2,
view_dashboard_sysportlet5,
view_dashboard_sysportlet8,
}
})
......
......@@ -1246,7 +1246,7 @@ export default class RefuseFormBase extends Vue implements ControlInterface {
*/
public async load(opt: any = {}): Promise<any> {
if(!this.loadAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZSample0021REASSIGNWFDynaActionView' + (this.$t('app.formpage.notconfig.loadaction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZSample0021Usr1116491232WFDynaStartView' + (this.$t('app.formpage.notconfig.loadaction') as string) });
return;
}
const arg: any = { ...opt };
......@@ -1297,7 +1297,7 @@ export default class RefuseFormBase extends Vue implements ControlInterface {
*/
public async loadDraft(opt: any = {}): Promise<any> {
if (!this.loaddraftAction) {
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZSample0021REASSIGNWFDynaActionView' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZSample0021Usr1116491232WFDynaStartView' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) });
return;
}
const arg: any = { ...opt } ;
......@@ -1367,7 +1367,7 @@ export default class RefuseFormBase extends Vue implements ControlInterface {
const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction;
if(!action){
let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction";
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZSample0021REASSIGNWFDynaActionView' + (this.$t('app.formpage.notconfig.actionname') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZSample0021Usr1116491232WFDynaStartView' + (this.$t('app.formpage.notconfig.actionname') as string) });
return;
}
Object.assign(arg,{viewparams:this.viewparams});
......@@ -1475,7 +1475,7 @@ export default class RefuseFormBase extends Vue implements ControlInterface {
const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction;
if(!action){
let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction";
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZSample0021REASSIGNWFDynaActionView' + (this.$t('app.formpage.notconfig.actionname') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZSample0021Usr1116491232WFDynaStartView' + (this.$t('app.formpage.notconfig.actionname') as string) });
return;
}
Object.assign(arg, { viewparams: this.viewparams });
......@@ -1689,7 +1689,7 @@ export default class RefuseFormBase extends Vue implements ControlInterface {
public remove(opt:Array<any> = [],showResultInfo?: boolean): Promise<any> {
return new Promise((resolve: any, reject: any) => {
if(!this.removeAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZSample0021REASSIGNWFDynaActionView' + (this.$t('app.formpage.notconfig.removeaction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZSample0021Usr1116491232WFDynaStartView' + (this.$t('app.formpage.notconfig.removeaction') as string) });
return;
}
const arg: any = opt[0];
......
......@@ -1622,6 +1622,444 @@
"portletType" : "CONTAINER",
"rTMOSFilePath" : "pssysapps/Web/psappdeviews/IBIZOrderDashboardView/psappviewctrls/dashboard_container2",
"showTitleBar" : true
}, {
"codeName" : "portalComponentsTool",
"getContentPSControl" : {
"name" : "dashboard_sysportlet8_toolbar"
},
"controlType" : "PORTLET",
"height" : 300.0,
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDER/pssysdbparts/portalComponentsTool",
"name" : "dashboard_sysportlet8",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZOrder.json"
},
"getPSAppViewLogics" : [ {
"eventArg" : "deuiaction5",
"eventNames" : "CLICK",
"logicTrigger" : "CTRLEVENT",
"logicType" : "APPVIEWUIACTION",
"name" : "dashboard_sysportlet8_toolbar_deuiaction5_click",
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "dashboard_sysportlet8_toolbar_deuiaction5"
},
"getPSViewCtrlName" : "dashboard_sysportlet8_toolbar"
}, {
"eventArg" : "deuiaction6",
"eventNames" : "CLICK",
"logicTrigger" : "CTRLEVENT",
"logicType" : "APPVIEWUIACTION",
"name" : "dashboard_sysportlet8_toolbar_deuiaction6_click",
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "dashboard_sysportlet8_toolbar_deuiaction6"
},
"getPSViewCtrlName" : "dashboard_sysportlet8_toolbar"
}, {
"eventArg" : "deuiaction4",
"eventNames" : "CLICK",
"logicTrigger" : "CTRLEVENT",
"logicType" : "APPVIEWUIACTION",
"name" : "dashboard_sysportlet8_toolbar_deuiaction4_click",
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "dashboard_sysportlet8_toolbar_deuiaction4"
},
"getPSViewCtrlName" : "dashboard_sysportlet8_toolbar"
}, {
"eventArg" : "deuiaction2",
"eventNames" : "CLICK",
"logicTrigger" : "CTRLEVENT",
"logicType" : "APPVIEWUIACTION",
"name" : "dashboard_sysportlet8_toolbar_deuiaction2_click",
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "dashboard_sysportlet8_toolbar_deuiaction2"
},
"getPSViewCtrlName" : "dashboard_sysportlet8_toolbar"
}, {
"eventArg" : "deuiaction1",
"eventNames" : "CLICK",
"logicTrigger" : "CTRLEVENT",
"logicType" : "APPVIEWUIACTION",
"name" : "dashboard_sysportlet8_toolbar_deuiaction1_click",
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "dashboard_sysportlet8_toolbar_deuiaction1"
},
"getPSViewCtrlName" : "dashboard_sysportlet8_toolbar"
}, {
"eventArg" : "deuiaction3",
"eventNames" : "CLICK",
"logicTrigger" : "CTRLEVENT",
"logicType" : "APPVIEWUIACTION",
"name" : "dashboard_sysportlet8_toolbar_deuiaction3_click",
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "dashboard_sysportlet8_toolbar_deuiaction3"
},
"getPSViewCtrlName" : "dashboard_sysportlet8_toolbar"
}, {
"eventArg" : "deuiaction7",
"eventNames" : "CLICK",
"logicTrigger" : "CTRLEVENT",
"logicType" : "APPVIEWUIACTION",
"name" : "dashboard_sysportlet8_toolbar_deuiaction7_click",
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "dashboard_sysportlet8_toolbar_deuiaction7"
},
"getPSViewCtrlName" : "dashboard_sysportlet8_toolbar"
} ],
"getPSAppViewUIActions" : [ {
"name" : "dashboard_sysportlet8_toolbar_deuiaction5",
"getPSUIAction" : {
"modelref" : true,
"id" : "ToggleRowEdit"
},
"xDataControlName" : "dashboard_sysportlet8"
}, {
"name" : "dashboard_sysportlet8_toolbar_deuiaction6",
"getPSUIAction" : {
"modelref" : true,
"id" : "Refresh"
},
"xDataControlName" : "dashboard_sysportlet8"
}, {
"name" : "dashboard_sysportlet8_toolbar_deuiaction4",
"getPSUIAction" : {
"modelref" : true,
"id" : "NewRow"
},
"xDataControlName" : "dashboard_sysportlet8"
}, {
"name" : "dashboard_sysportlet8_toolbar_deuiaction2",
"getPSUIAction" : {
"modelref" : true,
"id" : "Edit"
},
"uIActionTarget" : "SINGLEKEY",
"xDataControlName" : "dashboard_sysportlet8"
}, {
"name" : "dashboard_sysportlet8_toolbar_deuiaction1",
"getPSUIAction" : {
"modelref" : true,
"id" : "SaveRow"
},
"xDataControlName" : "dashboard_sysportlet8"
}, {
"name" : "dashboard_sysportlet8_toolbar_deuiaction3",
"getPSUIAction" : {
"modelref" : true,
"id" : "Remove"
},
"uIActionTarget" : "MULTIKEY",
"xDataControlName" : "dashboard_sysportlet8"
}, {
"name" : "dashboard_sysportlet8_toolbar_deuiaction7",
"getPSUIAction" : {
"modelref" : true,
"id" : "ImportExcel"
},
"uIActionTarget" : "NONE",
"xDataControlName" : "dashboard_sysportlet8"
} ],
"getPSControlHandler" : {
"enableDEFieldPrivilege" : false,
"id" : "dashboard_sysportlet8"
},
"getPSControlParam" : {
"autoLoad" : true,
"showBusyIndicator" : true
},
"getPSControls" : [ {
"codeName" : "DashboardViewdashboard_sysportlet8_toolbar",
"controlType" : "TOOLBAR",
"hookEventNames" : [ "CLICK" ],
"logicName" : "界面行为展示工具栏",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDER/psdetoolbars/DashboardViewdashboard_sysportlet8_toolbar",
"name" : "dashboard_sysportlet8_toolbar",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZOrder.json"
},
"getPSControlLogics" : [ {
"eventArg" : "deuiaction5",
"eventNames" : "CLICK",
"logicTag" : "dashboard_sysportlet8_toolbar",
"logicType" : "APPVIEWLOGIC",
"name" : "dashboard_sysportlet8_toolbar_deuiaction5_click",
"getPSAppViewLogic" : {
"modelref" : true,
"id" : "dashboard_sysportlet8_toolbar_deuiaction5_click"
}
}, {
"eventArg" : "deuiaction6",
"eventNames" : "CLICK",
"logicTag" : "dashboard_sysportlet8_toolbar",
"logicType" : "APPVIEWLOGIC",
"name" : "dashboard_sysportlet8_toolbar_deuiaction6_click",
"getPSAppViewLogic" : {
"modelref" : true,
"id" : "dashboard_sysportlet8_toolbar_deuiaction6_click"
}
}, {
"eventArg" : "deuiaction4",
"eventNames" : "CLICK",
"logicTag" : "dashboard_sysportlet8_toolbar",
"logicType" : "APPVIEWLOGIC",
"name" : "dashboard_sysportlet8_toolbar_deuiaction4_click",
"getPSAppViewLogic" : {
"modelref" : true,
"id" : "dashboard_sysportlet8_toolbar_deuiaction4_click"
}
}, {
"eventArg" : "deuiaction2",
"eventNames" : "CLICK",
"logicTag" : "dashboard_sysportlet8_toolbar",
"logicType" : "APPVIEWLOGIC",
"name" : "dashboard_sysportlet8_toolbar_deuiaction2_click",
"getPSAppViewLogic" : {
"modelref" : true,
"id" : "dashboard_sysportlet8_toolbar_deuiaction2_click"
}
}, {
"eventArg" : "deuiaction1",
"eventNames" : "CLICK",
"logicTag" : "dashboard_sysportlet8_toolbar",
"logicType" : "APPVIEWLOGIC",
"name" : "dashboard_sysportlet8_toolbar_deuiaction1_click",
"getPSAppViewLogic" : {
"modelref" : true,
"id" : "dashboard_sysportlet8_toolbar_deuiaction1_click"
}
}, {
"eventArg" : "deuiaction3",
"eventNames" : "CLICK",
"logicTag" : "dashboard_sysportlet8_toolbar",
"logicType" : "APPVIEWLOGIC",
"name" : "dashboard_sysportlet8_toolbar_deuiaction3_click",
"getPSAppViewLogic" : {
"modelref" : true,
"id" : "dashboard_sysportlet8_toolbar_deuiaction3_click"
}
}, {
"eventArg" : "deuiaction7",
"eventNames" : "CLICK",
"logicTag" : "dashboard_sysportlet8_toolbar",
"logicType" : "APPVIEWLOGIC",
"name" : "dashboard_sysportlet8_toolbar_deuiaction7_click",
"getPSAppViewLogic" : {
"modelref" : true,
"id" : "dashboard_sysportlet8_toolbar_deuiaction7_click"
}
} ],
"getPSControlParam" : { },
"getPSDEToolbarItems" : [ {
"caption" : "刷新",
"groupExtractMode" : "ITEM",
"itemType" : "DEUIACTION",
"name" : "deuiaction6",
"noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "dashboard_sysportlet8_toolbar_deuiaction6"
},
"getPSSysImage" : {
"glyph" : "xf021@FontAwesome",
"cssClass" : "fa fa-refresh"
},
"getPSUIAction" : {
"caption" : "刷新",
"codeName" : "Refresh",
"fullCodeName" : "Refresh",
"mOSFilePath" : "pssysapps/Web/pssysappdeuiactions/Refresh",
"name" : "表格界面_刷新操作",
"getPSSysImage" : {
"glyph" : "xf021@FontAwesome",
"cssClass" : "fa fa-refresh"
},
"predefinedType" : "GRIDVIEW_REFRESHACTION",
"rTMOSFilePath" : "pssysapps/Web/pssysappdeuiactions/Refresh",
"timeout" : 60000,
"uIActionMode" : "SYS",
"uIActionTag" : "Refresh",
"uIActionType" : "DEUIACTION"
},
"tooltip" : "刷新",
"showCaption" : true,
"showIcon" : true
}, {
"itemType" : "SEPERATOR",
"name" : "seperator2",
"spanMode" : false
}, {
"getCapPSLanguageRes" : {
"lanResTag" : "TBB.TEXT.*.EDIT",
"mOSFilePath" : "pslanguageres/Auto1585",
"rTMOSFilePath" : "pslanguageres/Auto1585"
},
"caption" : "编辑",
"groupExtractMode" : "ITEM",
"itemType" : "DEUIACTION",
"name" : "deuiaction2",
"noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "dashboard_sysportlet8_toolbar_deuiaction2"
},
"getPSSysImage" : {
"glyph" : "xf044@FontAwesome",
"cssClass" : "fa fa-edit"
},
"getPSUIAction" : {
"actionTarget" : "SINGLEKEY",
"getCapPSLanguageRes" : {
"lanResTag" : "TBB.TEXT.*.EDIT",
"mOSFilePath" : "pslanguageres/Auto1585",
"rTMOSFilePath" : "pslanguageres/Auto1585"
},
"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" : {
"lanResTag" : "TBB.TOOLTIP.*.EDIT",
"mOSFilePath" : "pslanguageres/Auto834",
"rTMOSFilePath" : "pslanguageres/Auto834"
},
"uIActionMode" : "SYS",
"uIActionTag" : "Edit",
"uIActionType" : "DEUIACTION"
},
"tooltip" : "编辑",
"getTooltipPSLanguageRes" : {
"lanResTag" : "TBB.TOOLTIP.*.EDIT",
"mOSFilePath" : "pslanguageres/Auto834",
"rTMOSFilePath" : "pslanguageres/Auto834"
},
"showCaption" : true,
"showIcon" : true
}, {
"getCapPSLanguageRes" : {
"lanResTag" : "TBB.TEXT.*.REMOVE",
"mOSFilePath" : "pslanguageres/Auto998",
"rTMOSFilePath" : "pslanguageres/Auto998"
},
"caption" : "删除",
"groupExtractMode" : "ITEM",
"itemType" : "DEUIACTION",
"name" : "deuiaction3",
"noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "dashboard_sysportlet8_toolbar_deuiaction3"
},
"getPSSysImage" : {
"glyph" : "xf00d@FontAwesome",
"cssClass" : "fa fa-remove"
},
"getPSUIAction" : {
"actionTarget" : "MULTIKEY",
"getCapPSLanguageRes" : {
"lanResTag" : "TBB.TEXT.*.REMOVE",
"mOSFilePath" : "pslanguageres/Auto998",
"rTMOSFilePath" : "pslanguageres/Auto998"
},
"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" : {
"lanResTag" : "TBB.TOOLTIP.*.REMOVE",
"mOSFilePath" : "pslanguageres/Auto1782",
"rTMOSFilePath" : "pslanguageres/Auto1782"
},
"uIActionMode" : "SYS",
"uIActionTag" : "Remove",
"uIActionType" : "DEUIACTION"
},
"tooltip" : "删除",
"getTooltipPSLanguageRes" : {
"lanResTag" : "TBB.TOOLTIP.*.REMOVE",
"mOSFilePath" : "pslanguageres/Auto1782",
"rTMOSFilePath" : "pslanguageres/Auto1782"
},
"showCaption" : true,
"showIcon" : true
}, {
"itemType" : "SEPERATOR",
"name" : "seperator1",
"spanMode" : false
}, {
"caption" : "前台调用",
"groupExtractMode" : "ITEM",
"itemType" : "DEUIACTION",
"name" : "deuiaction7",
"noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "dashboard_sysportlet8_toolbar_deuiaction7"
},
"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
} ],
"rTMOSFilePath" : "pssysapps/Web/psappdeviews/IBIZOrderDashboardView/psappviewctrls/dashboard_sysportlet8_toolbar",
"modelid" : "e0c2c3ab3237ba0451b7f82fa04a22d2",
"modeltype" : "PSDETOOLBAR"
} ],
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"portletType" : "TOOLBAR",
"rTMOSFilePath" : "pssysapps/Web/psappdeviews/IBIZOrderDashboardView/psappviewctrls/dashboard_sysportlet8",
"title" : "工具栏",
"showTitleBar" : true,
"modelid" : "012f602372cd2dbd639cd966c63e1f90",
"modeltype" : "PSSYSDBPART"
} ],
"portletType" : "CONTAINER",
"rTMOSFilePath" : "pssysapps/Web/psappdeviews/IBIZOrderDashboardView/psappviewctrls/dashboard_container1",
......
......@@ -1672,6 +1672,444 @@
"portletType" : "CONTAINER",
"rTMOSFilePath" : "pssysapps/Web/psappdeviews/IBIZOrderDashboardView/psappviewctrls/dashboard_container2",
"showTitleBar" : true
}, {
"codeName" : "portalComponentsTool",
"getContentPSControl" : {
"name" : "dashboard_sysportlet8_toolbar"
},
"controlType" : "PORTLET",
"height" : 300.0,
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDER/pssysdbparts/portalComponentsTool",
"name" : "dashboard_sysportlet8",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZOrder.json"
},
"getPSAppViewLogics" : [ {
"eventArg" : "deuiaction5",
"eventNames" : "CLICK",
"logicTrigger" : "CTRLEVENT",
"logicType" : "APPVIEWUIACTION",
"name" : "dashboard_sysportlet8_toolbar_deuiaction5_click",
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "dashboard_sysportlet8_toolbar_deuiaction5"
},
"getPSViewCtrlName" : "dashboard_sysportlet8_toolbar"
}, {
"eventArg" : "deuiaction6",
"eventNames" : "CLICK",
"logicTrigger" : "CTRLEVENT",
"logicType" : "APPVIEWUIACTION",
"name" : "dashboard_sysportlet8_toolbar_deuiaction6_click",
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "dashboard_sysportlet8_toolbar_deuiaction6"
},
"getPSViewCtrlName" : "dashboard_sysportlet8_toolbar"
}, {
"eventArg" : "deuiaction4",
"eventNames" : "CLICK",
"logicTrigger" : "CTRLEVENT",
"logicType" : "APPVIEWUIACTION",
"name" : "dashboard_sysportlet8_toolbar_deuiaction4_click",
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "dashboard_sysportlet8_toolbar_deuiaction4"
},
"getPSViewCtrlName" : "dashboard_sysportlet8_toolbar"
}, {
"eventArg" : "deuiaction2",
"eventNames" : "CLICK",
"logicTrigger" : "CTRLEVENT",
"logicType" : "APPVIEWUIACTION",
"name" : "dashboard_sysportlet8_toolbar_deuiaction2_click",
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "dashboard_sysportlet8_toolbar_deuiaction2"
},
"getPSViewCtrlName" : "dashboard_sysportlet8_toolbar"
}, {
"eventArg" : "deuiaction1",
"eventNames" : "CLICK",
"logicTrigger" : "CTRLEVENT",
"logicType" : "APPVIEWUIACTION",
"name" : "dashboard_sysportlet8_toolbar_deuiaction1_click",
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "dashboard_sysportlet8_toolbar_deuiaction1"
},
"getPSViewCtrlName" : "dashboard_sysportlet8_toolbar"
}, {
"eventArg" : "deuiaction3",
"eventNames" : "CLICK",
"logicTrigger" : "CTRLEVENT",
"logicType" : "APPVIEWUIACTION",
"name" : "dashboard_sysportlet8_toolbar_deuiaction3_click",
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "dashboard_sysportlet8_toolbar_deuiaction3"
},
"getPSViewCtrlName" : "dashboard_sysportlet8_toolbar"
}, {
"eventArg" : "deuiaction7",
"eventNames" : "CLICK",
"logicTrigger" : "CTRLEVENT",
"logicType" : "APPVIEWUIACTION",
"name" : "dashboard_sysportlet8_toolbar_deuiaction7_click",
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "dashboard_sysportlet8_toolbar_deuiaction7"
},
"getPSViewCtrlName" : "dashboard_sysportlet8_toolbar"
} ],
"getPSAppViewUIActions" : [ {
"name" : "dashboard_sysportlet8_toolbar_deuiaction5",
"getPSUIAction" : {
"modelref" : true,
"id" : "ToggleRowEdit"
},
"xDataControlName" : "dashboard_sysportlet8"
}, {
"name" : "dashboard_sysportlet8_toolbar_deuiaction6",
"getPSUIAction" : {
"modelref" : true,
"id" : "Refresh"
},
"xDataControlName" : "dashboard_sysportlet8"
}, {
"name" : "dashboard_sysportlet8_toolbar_deuiaction4",
"getPSUIAction" : {
"modelref" : true,
"id" : "NewRow"
},
"xDataControlName" : "dashboard_sysportlet8"
}, {
"name" : "dashboard_sysportlet8_toolbar_deuiaction2",
"getPSUIAction" : {
"modelref" : true,
"id" : "Edit"
},
"uIActionTarget" : "SINGLEKEY",
"xDataControlName" : "dashboard_sysportlet8"
}, {
"name" : "dashboard_sysportlet8_toolbar_deuiaction1",
"getPSUIAction" : {
"modelref" : true,
"id" : "SaveRow"
},
"xDataControlName" : "dashboard_sysportlet8"
}, {
"name" : "dashboard_sysportlet8_toolbar_deuiaction3",
"getPSUIAction" : {
"modelref" : true,
"id" : "Remove"
},
"uIActionTarget" : "MULTIKEY",
"xDataControlName" : "dashboard_sysportlet8"
}, {
"name" : "dashboard_sysportlet8_toolbar_deuiaction7",
"getPSUIAction" : {
"modelref" : true,
"id" : "ImportExcel"
},
"uIActionTarget" : "NONE",
"xDataControlName" : "dashboard_sysportlet8"
} ],
"getPSControlHandler" : {
"enableDEFieldPrivilege" : false,
"id" : "dashboard_sysportlet8"
},
"getPSControlParam" : {
"autoLoad" : true,
"showBusyIndicator" : true
},
"getPSControls" : [ {
"codeName" : "DashboardViewdashboard_sysportlet8_toolbar",
"controlType" : "TOOLBAR",
"hookEventNames" : [ "CLICK" ],
"logicName" : "界面行为展示工具栏",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDER/psdetoolbars/DashboardViewdashboard_sysportlet8_toolbar",
"name" : "dashboard_sysportlet8_toolbar",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZOrder.json"
},
"getPSControlLogics" : [ {
"eventArg" : "deuiaction5",
"eventNames" : "CLICK",
"logicTag" : "dashboard_sysportlet8_toolbar",
"logicType" : "APPVIEWLOGIC",
"name" : "dashboard_sysportlet8_toolbar_deuiaction5_click",
"getPSAppViewLogic" : {
"modelref" : true,
"id" : "dashboard_sysportlet8_toolbar_deuiaction5_click"
}
}, {
"eventArg" : "deuiaction6",
"eventNames" : "CLICK",
"logicTag" : "dashboard_sysportlet8_toolbar",
"logicType" : "APPVIEWLOGIC",
"name" : "dashboard_sysportlet8_toolbar_deuiaction6_click",
"getPSAppViewLogic" : {
"modelref" : true,
"id" : "dashboard_sysportlet8_toolbar_deuiaction6_click"
}
}, {
"eventArg" : "deuiaction4",
"eventNames" : "CLICK",
"logicTag" : "dashboard_sysportlet8_toolbar",
"logicType" : "APPVIEWLOGIC",
"name" : "dashboard_sysportlet8_toolbar_deuiaction4_click",
"getPSAppViewLogic" : {
"modelref" : true,
"id" : "dashboard_sysportlet8_toolbar_deuiaction4_click"
}
}, {
"eventArg" : "deuiaction2",
"eventNames" : "CLICK",
"logicTag" : "dashboard_sysportlet8_toolbar",
"logicType" : "APPVIEWLOGIC",
"name" : "dashboard_sysportlet8_toolbar_deuiaction2_click",
"getPSAppViewLogic" : {
"modelref" : true,
"id" : "dashboard_sysportlet8_toolbar_deuiaction2_click"
}
}, {
"eventArg" : "deuiaction1",
"eventNames" : "CLICK",
"logicTag" : "dashboard_sysportlet8_toolbar",
"logicType" : "APPVIEWLOGIC",
"name" : "dashboard_sysportlet8_toolbar_deuiaction1_click",
"getPSAppViewLogic" : {
"modelref" : true,
"id" : "dashboard_sysportlet8_toolbar_deuiaction1_click"
}
}, {
"eventArg" : "deuiaction3",
"eventNames" : "CLICK",
"logicTag" : "dashboard_sysportlet8_toolbar",
"logicType" : "APPVIEWLOGIC",
"name" : "dashboard_sysportlet8_toolbar_deuiaction3_click",
"getPSAppViewLogic" : {
"modelref" : true,
"id" : "dashboard_sysportlet8_toolbar_deuiaction3_click"
}
}, {
"eventArg" : "deuiaction7",
"eventNames" : "CLICK",
"logicTag" : "dashboard_sysportlet8_toolbar",
"logicType" : "APPVIEWLOGIC",
"name" : "dashboard_sysportlet8_toolbar_deuiaction7_click",
"getPSAppViewLogic" : {
"modelref" : true,
"id" : "dashboard_sysportlet8_toolbar_deuiaction7_click"
}
} ],
"getPSControlParam" : { },
"getPSDEToolbarItems" : [ {
"caption" : "刷新",
"groupExtractMode" : "ITEM",
"itemType" : "DEUIACTION",
"name" : "deuiaction6",
"noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "dashboard_sysportlet8_toolbar_deuiaction6"
},
"getPSSysImage" : {
"glyph" : "xf021@FontAwesome",
"cssClass" : "fa fa-refresh"
},
"getPSUIAction" : {
"caption" : "刷新",
"codeName" : "Refresh",
"fullCodeName" : "Refresh",
"mOSFilePath" : "pssysapps/Web/pssysappdeuiactions/Refresh",
"name" : "表格界面_刷新操作",
"getPSSysImage" : {
"glyph" : "xf021@FontAwesome",
"cssClass" : "fa fa-refresh"
},
"predefinedType" : "GRIDVIEW_REFRESHACTION",
"rTMOSFilePath" : "pssysapps/Web/pssysappdeuiactions/Refresh",
"timeout" : 60000,
"uIActionMode" : "SYS",
"uIActionTag" : "Refresh",
"uIActionType" : "DEUIACTION"
},
"tooltip" : "刷新",
"showCaption" : true,
"showIcon" : true
}, {
"itemType" : "SEPERATOR",
"name" : "seperator2",
"spanMode" : false
}, {
"getCapPSLanguageRes" : {
"lanResTag" : "TBB.TEXT.*.EDIT",
"mOSFilePath" : "pslanguageres/Auto1585",
"rTMOSFilePath" : "pslanguageres/Auto1585"
},
"caption" : "编辑",
"groupExtractMode" : "ITEM",
"itemType" : "DEUIACTION",
"name" : "deuiaction2",
"noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "dashboard_sysportlet8_toolbar_deuiaction2"
},
"getPSSysImage" : {
"glyph" : "xf044@FontAwesome",
"cssClass" : "fa fa-edit"
},
"getPSUIAction" : {
"actionTarget" : "SINGLEKEY",
"getCapPSLanguageRes" : {
"lanResTag" : "TBB.TEXT.*.EDIT",
"mOSFilePath" : "pslanguageres/Auto1585",
"rTMOSFilePath" : "pslanguageres/Auto1585"
},
"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" : {
"lanResTag" : "TBB.TOOLTIP.*.EDIT",
"mOSFilePath" : "pslanguageres/Auto834",
"rTMOSFilePath" : "pslanguageres/Auto834"
},
"uIActionMode" : "SYS",
"uIActionTag" : "Edit",
"uIActionType" : "DEUIACTION"
},
"tooltip" : "编辑",
"getTooltipPSLanguageRes" : {
"lanResTag" : "TBB.TOOLTIP.*.EDIT",
"mOSFilePath" : "pslanguageres/Auto834",
"rTMOSFilePath" : "pslanguageres/Auto834"
},
"showCaption" : true,
"showIcon" : true
}, {
"getCapPSLanguageRes" : {
"lanResTag" : "TBB.TEXT.*.REMOVE",
"mOSFilePath" : "pslanguageres/Auto998",
"rTMOSFilePath" : "pslanguageres/Auto998"
},
"caption" : "删除",
"groupExtractMode" : "ITEM",
"itemType" : "DEUIACTION",
"name" : "deuiaction3",
"noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "dashboard_sysportlet8_toolbar_deuiaction3"
},
"getPSSysImage" : {
"glyph" : "xf00d@FontAwesome",
"cssClass" : "fa fa-remove"
},
"getPSUIAction" : {
"actionTarget" : "MULTIKEY",
"getCapPSLanguageRes" : {
"lanResTag" : "TBB.TEXT.*.REMOVE",
"mOSFilePath" : "pslanguageres/Auto998",
"rTMOSFilePath" : "pslanguageres/Auto998"
},
"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" : {
"lanResTag" : "TBB.TOOLTIP.*.REMOVE",
"mOSFilePath" : "pslanguageres/Auto1782",
"rTMOSFilePath" : "pslanguageres/Auto1782"
},
"uIActionMode" : "SYS",
"uIActionTag" : "Remove",
"uIActionType" : "DEUIACTION"
},
"tooltip" : "删除",
"getTooltipPSLanguageRes" : {
"lanResTag" : "TBB.TOOLTIP.*.REMOVE",
"mOSFilePath" : "pslanguageres/Auto1782",
"rTMOSFilePath" : "pslanguageres/Auto1782"
},
"showCaption" : true,
"showIcon" : true
}, {
"itemType" : "SEPERATOR",
"name" : "seperator1",
"spanMode" : false
}, {
"caption" : "前台调用",
"groupExtractMode" : "ITEM",
"itemType" : "DEUIACTION",
"name" : "deuiaction7",
"noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "dashboard_sysportlet8_toolbar_deuiaction7"
},
"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
} ],
"rTMOSFilePath" : "pssysapps/Web/psappdeviews/IBIZOrderDashboardView/psappviewctrls/dashboard_sysportlet8_toolbar",
"modelid" : "e0c2c3ab3237ba0451b7f82fa04a22d2",
"modeltype" : "PSDETOOLBAR"
} ],
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"portletType" : "TOOLBAR",
"rTMOSFilePath" : "pssysapps/Web/psappdeviews/IBIZOrderDashboardView/psappviewctrls/dashboard_sysportlet8",
"title" : "工具栏",
"showTitleBar" : true,
"modelid" : "012f602372cd2dbd639cd966c63e1f90",
"modeltype" : "PSSYSDBPART"
} ],
"portletType" : "CONTAINER",
"rTMOSFilePath" : "pssysapps/Web/psappdeviews/IBIZOrderDashboardView/psappviewctrls/dashboard_container1",
......
......@@ -14542,6 +14542,463 @@
"rTMOSFilePath" : "pssysapps/Web/psappportlets/portalComponentsList4",
"enableAppDashboard" : true,
"enableDEDashboard" : true
}, {
"codeName" : "portalComponentsTool",
"mOSFilePath" : "pssysapps/Web/psappportlets/portalComponentsTool",
"name" : "工具栏",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZOrder.json"
},
"getPSAppPortletCat" : {
"codeName" : "Ungroup",
"mOSFilePath" : "pssysapps/Web/psappportletcats/Ungroup",
"name" : "(未分类)",
"rTMOSFilePath" : "pssysapps/Web/psappportletcats/Ungroup",
"ungroup" : true
},
"getPSControl" : {
"codeName" : "portalComponentsTool",
"getContentPSControl" : {
"name" : "dashboard_sysportlet8_toolbar"
},
"controlType" : "PORTLET",
"height" : 300.0,
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDER/pssysdbparts/portalComponentsTool",
"name" : "dashboard_sysportlet8",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZOrder.json"
},
"getPSAppViewLogics" : [ {
"eventArg" : "deuiaction5",
"eventNames" : "CLICK",
"logicTrigger" : "CTRLEVENT",
"logicType" : "APPVIEWUIACTION",
"name" : "dashboard_sysportlet8_toolbar_deuiaction5_click",
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "dashboard_sysportlet8_toolbar_deuiaction5"
},
"getPSViewCtrlName" : "dashboard_sysportlet8_toolbar"
}, {
"eventArg" : "deuiaction6",
"eventNames" : "CLICK",
"logicTrigger" : "CTRLEVENT",
"logicType" : "APPVIEWUIACTION",
"name" : "dashboard_sysportlet8_toolbar_deuiaction6_click",
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "dashboard_sysportlet8_toolbar_deuiaction6"
},
"getPSViewCtrlName" : "dashboard_sysportlet8_toolbar"
}, {
"eventArg" : "deuiaction4",
"eventNames" : "CLICK",
"logicTrigger" : "CTRLEVENT",
"logicType" : "APPVIEWUIACTION",
"name" : "dashboard_sysportlet8_toolbar_deuiaction4_click",
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "dashboard_sysportlet8_toolbar_deuiaction4"
},
"getPSViewCtrlName" : "dashboard_sysportlet8_toolbar"
}, {
"eventArg" : "deuiaction2",
"eventNames" : "CLICK",
"logicTrigger" : "CTRLEVENT",
"logicType" : "APPVIEWUIACTION",
"name" : "dashboard_sysportlet8_toolbar_deuiaction2_click",
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "dashboard_sysportlet8_toolbar_deuiaction2"
},
"getPSViewCtrlName" : "dashboard_sysportlet8_toolbar"
}, {
"eventArg" : "deuiaction1",
"eventNames" : "CLICK",
"logicTrigger" : "CTRLEVENT",
"logicType" : "APPVIEWUIACTION",
"name" : "dashboard_sysportlet8_toolbar_deuiaction1_click",
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "dashboard_sysportlet8_toolbar_deuiaction1"
},
"getPSViewCtrlName" : "dashboard_sysportlet8_toolbar"
}, {
"eventArg" : "deuiaction3",
"eventNames" : "CLICK",
"logicTrigger" : "CTRLEVENT",
"logicType" : "APPVIEWUIACTION",
"name" : "dashboard_sysportlet8_toolbar_deuiaction3_click",
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "dashboard_sysportlet8_toolbar_deuiaction3"
},
"getPSViewCtrlName" : "dashboard_sysportlet8_toolbar"
}, {
"eventArg" : "deuiaction7",
"eventNames" : "CLICK",
"logicTrigger" : "CTRLEVENT",
"logicType" : "APPVIEWUIACTION",
"name" : "dashboard_sysportlet8_toolbar_deuiaction7_click",
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "dashboard_sysportlet8_toolbar_deuiaction7"
},
"getPSViewCtrlName" : "dashboard_sysportlet8_toolbar"
} ],
"getPSAppViewUIActions" : [ {
"name" : "dashboard_sysportlet8_toolbar_deuiaction5",
"getPSUIAction" : {
"modelref" : true,
"id" : "ToggleRowEdit"
},
"xDataControlName" : "dashboard_sysportlet8"
}, {
"name" : "dashboard_sysportlet8_toolbar_deuiaction6",
"getPSUIAction" : {
"modelref" : true,
"id" : "Refresh"
},
"xDataControlName" : "dashboard_sysportlet8"
}, {
"name" : "dashboard_sysportlet8_toolbar_deuiaction4",
"getPSUIAction" : {
"modelref" : true,
"id" : "NewRow"
},
"xDataControlName" : "dashboard_sysportlet8"
}, {
"name" : "dashboard_sysportlet8_toolbar_deuiaction2",
"getPSUIAction" : {
"modelref" : true,
"id" : "Edit"
},
"uIActionTarget" : "SINGLEKEY",
"xDataControlName" : "dashboard_sysportlet8"
}, {
"name" : "dashboard_sysportlet8_toolbar_deuiaction1",
"getPSUIAction" : {
"modelref" : true,
"id" : "SaveRow"
},
"xDataControlName" : "dashboard_sysportlet8"
}, {
"name" : "dashboard_sysportlet8_toolbar_deuiaction3",
"getPSUIAction" : {
"modelref" : true,
"id" : "Remove"
},
"uIActionTarget" : "MULTIKEY",
"xDataControlName" : "dashboard_sysportlet8"
}, {
"name" : "dashboard_sysportlet8_toolbar_deuiaction7",
"getPSUIAction" : {
"modelref" : true,
"id" : "ImportExcel"
},
"uIActionTarget" : "NONE",
"xDataControlName" : "dashboard_sysportlet8"
} ],
"getPSControlHandler" : {
"enableDEFieldPrivilege" : false,
"id" : "dashboard_sysportlet8"
},
"getPSControlParam" : {
"autoLoad" : true,
"showBusyIndicator" : true
},
"getPSControls" : [ {
"codeName" : "DashboardViewdashboard_sysportlet8_toolbar",
"controlType" : "TOOLBAR",
"hookEventNames" : [ "CLICK" ],
"logicName" : "界面行为展示工具栏",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDER/psdetoolbars/DashboardViewdashboard_sysportlet8_toolbar",
"name" : "dashboard_sysportlet8_toolbar",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZOrder.json"
},
"getPSControlLogics" : [ {
"eventArg" : "deuiaction5",
"eventNames" : "CLICK",
"logicTag" : "dashboard_sysportlet8_toolbar",
"logicType" : "APPVIEWLOGIC",
"name" : "dashboard_sysportlet8_toolbar_deuiaction5_click",
"getPSAppViewLogic" : {
"modelref" : true,
"id" : "dashboard_sysportlet8_toolbar_deuiaction5_click"
}
}, {
"eventArg" : "deuiaction6",
"eventNames" : "CLICK",
"logicTag" : "dashboard_sysportlet8_toolbar",
"logicType" : "APPVIEWLOGIC",
"name" : "dashboard_sysportlet8_toolbar_deuiaction6_click",
"getPSAppViewLogic" : {
"modelref" : true,
"id" : "dashboard_sysportlet8_toolbar_deuiaction6_click"
}
}, {
"eventArg" : "deuiaction4",
"eventNames" : "CLICK",
"logicTag" : "dashboard_sysportlet8_toolbar",
"logicType" : "APPVIEWLOGIC",
"name" : "dashboard_sysportlet8_toolbar_deuiaction4_click",
"getPSAppViewLogic" : {
"modelref" : true,
"id" : "dashboard_sysportlet8_toolbar_deuiaction4_click"
}
}, {
"eventArg" : "deuiaction2",
"eventNames" : "CLICK",
"logicTag" : "dashboard_sysportlet8_toolbar",
"logicType" : "APPVIEWLOGIC",
"name" : "dashboard_sysportlet8_toolbar_deuiaction2_click",
"getPSAppViewLogic" : {
"modelref" : true,
"id" : "dashboard_sysportlet8_toolbar_deuiaction2_click"
}
}, {
"eventArg" : "deuiaction1",
"eventNames" : "CLICK",
"logicTag" : "dashboard_sysportlet8_toolbar",
"logicType" : "APPVIEWLOGIC",
"name" : "dashboard_sysportlet8_toolbar_deuiaction1_click",
"getPSAppViewLogic" : {
"modelref" : true,
"id" : "dashboard_sysportlet8_toolbar_deuiaction1_click"
}
}, {
"eventArg" : "deuiaction3",
"eventNames" : "CLICK",
"logicTag" : "dashboard_sysportlet8_toolbar",
"logicType" : "APPVIEWLOGIC",
"name" : "dashboard_sysportlet8_toolbar_deuiaction3_click",
"getPSAppViewLogic" : {
"modelref" : true,
"id" : "dashboard_sysportlet8_toolbar_deuiaction3_click"
}
}, {
"eventArg" : "deuiaction7",
"eventNames" : "CLICK",
"logicTag" : "dashboard_sysportlet8_toolbar",
"logicType" : "APPVIEWLOGIC",
"name" : "dashboard_sysportlet8_toolbar_deuiaction7_click",
"getPSAppViewLogic" : {
"modelref" : true,
"id" : "dashboard_sysportlet8_toolbar_deuiaction7_click"
}
} ],
"getPSControlParam" : { },
"getPSDEToolbarItems" : [ {
"caption" : "刷新",
"groupExtractMode" : "ITEM",
"itemType" : "DEUIACTION",
"name" : "deuiaction6",
"noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "dashboard_sysportlet8_toolbar_deuiaction6"
},
"getPSSysImage" : {
"glyph" : "xf021@FontAwesome",
"cssClass" : "fa fa-refresh"
},
"getPSUIAction" : {
"caption" : "刷新",
"codeName" : "Refresh",
"fullCodeName" : "Refresh",
"mOSFilePath" : "pssysapps/Web/pssysappdeuiactions/Refresh",
"name" : "表格界面_刷新操作",
"getPSSysImage" : {
"glyph" : "xf021@FontAwesome",
"cssClass" : "fa fa-refresh"
},
"predefinedType" : "GRIDVIEW_REFRESHACTION",
"rTMOSFilePath" : "pssysapps/Web/pssysappdeuiactions/Refresh",
"timeout" : 60000,
"uIActionMode" : "SYS",
"uIActionTag" : "Refresh",
"uIActionType" : "DEUIACTION"
},
"tooltip" : "刷新",
"showCaption" : true,
"showIcon" : true
}, {
"itemType" : "SEPERATOR",
"name" : "seperator2",
"spanMode" : false
}, {
"getCapPSLanguageRes" : {
"lanResTag" : "TBB.TEXT.*.EDIT",
"mOSFilePath" : "pslanguageres/Auto1585",
"rTMOSFilePath" : "pslanguageres/Auto1585"
},
"caption" : "编辑",
"groupExtractMode" : "ITEM",
"itemType" : "DEUIACTION",
"name" : "deuiaction2",
"noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "dashboard_sysportlet8_toolbar_deuiaction2"
},
"getPSSysImage" : {
"glyph" : "xf044@FontAwesome",
"cssClass" : "fa fa-edit"
},
"getPSUIAction" : {
"actionTarget" : "SINGLEKEY",
"getCapPSLanguageRes" : {
"lanResTag" : "TBB.TEXT.*.EDIT",
"mOSFilePath" : "pslanguageres/Auto1585",
"rTMOSFilePath" : "pslanguageres/Auto1585"
},
"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" : {
"lanResTag" : "TBB.TOOLTIP.*.EDIT",
"mOSFilePath" : "pslanguageres/Auto834",
"rTMOSFilePath" : "pslanguageres/Auto834"
},
"uIActionMode" : "SYS",
"uIActionTag" : "Edit",
"uIActionType" : "DEUIACTION"
},
"tooltip" : "编辑",
"getTooltipPSLanguageRes" : {
"lanResTag" : "TBB.TOOLTIP.*.EDIT",
"mOSFilePath" : "pslanguageres/Auto834",
"rTMOSFilePath" : "pslanguageres/Auto834"
},
"showCaption" : true,
"showIcon" : true
}, {
"getCapPSLanguageRes" : {
"lanResTag" : "TBB.TEXT.*.REMOVE",
"mOSFilePath" : "pslanguageres/Auto998",
"rTMOSFilePath" : "pslanguageres/Auto998"
},
"caption" : "删除",
"groupExtractMode" : "ITEM",
"itemType" : "DEUIACTION",
"name" : "deuiaction3",
"noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "dashboard_sysportlet8_toolbar_deuiaction3"
},
"getPSSysImage" : {
"glyph" : "xf00d@FontAwesome",
"cssClass" : "fa fa-remove"
},
"getPSUIAction" : {
"actionTarget" : "MULTIKEY",
"getCapPSLanguageRes" : {
"lanResTag" : "TBB.TEXT.*.REMOVE",
"mOSFilePath" : "pslanguageres/Auto998",
"rTMOSFilePath" : "pslanguageres/Auto998"
},
"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" : {
"lanResTag" : "TBB.TOOLTIP.*.REMOVE",
"mOSFilePath" : "pslanguageres/Auto1782",
"rTMOSFilePath" : "pslanguageres/Auto1782"
},
"uIActionMode" : "SYS",
"uIActionTag" : "Remove",
"uIActionType" : "DEUIACTION"
},
"tooltip" : "删除",
"getTooltipPSLanguageRes" : {
"lanResTag" : "TBB.TOOLTIP.*.REMOVE",
"mOSFilePath" : "pslanguageres/Auto1782",
"rTMOSFilePath" : "pslanguageres/Auto1782"
},
"showCaption" : true,
"showIcon" : true
}, {
"itemType" : "SEPERATOR",
"name" : "seperator1",
"spanMode" : false
}, {
"caption" : "前台调用",
"groupExtractMode" : "ITEM",
"itemType" : "DEUIACTION",
"name" : "deuiaction7",
"noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "dashboard_sysportlet8_toolbar_deuiaction7"
},
"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
} ],
"rTMOSFilePath" : "pssysapps/Web/psappdeviews/IBIZOrderDashboardView/psappviewctrls/dashboard_sysportlet8_toolbar",
"modelid" : "e0c2c3ab3237ba0451b7f82fa04a22d2",
"modeltype" : "PSDETOOLBAR"
} ],
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"portletType" : "TOOLBAR",
"rTMOSFilePath" : "pssysapps/Web/psappdeviews/IBIZOrderDashboardView/psappviewctrls/dashboard_sysportlet8",
"title" : "工具栏",
"showTitleBar" : true,
"modelid" : "012f602372cd2dbd639cd966c63e1f90",
"modeltype" : "PSSYSDBPART"
},
"rTMOSFilePath" : "pssysapps/Web/psappportlets/portalComponentsTool",
"enableAppDashboard" : true,
"enableDEDashboard" : false
}, {
"codeName" : "appViewAmount",
"mOSFilePath" : "pssysapps/Web/psappportlets/appViewAmount",
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册