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

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

上级 d81f4afd
<template> <template>
<div :class="curClassName" :style="curStyle"> <div :class="curClassName" :style="curStyle">
<i-button @click="handleClick" :disabled="disabled" :title="curTooltip" :type="buttonType"> <i-button @click="handleClick" :disabled="disabled" :title="tooltip" :type="buttonType">
<div :class="['button-content', iconAlign.toLowerCase()]"> <div :class="['button-content', iconAlign.toLowerCase()]">
<span v-if="cssClass || imagePath" class="icon"> <span v-if="cssClass || imagePath" class="icon">
<i v-if="cssClass" :class="cssClass" /> <i v-if="cssClass" :class="cssClass" />
<img v-else :src="imagePath" /> <img v-else :src="imagePath" />
</span> </span>
<span v-if="showCaption" class="caption">{{ curCaption }}</span> <span v-if="showCaption" class="caption">{{ caption }}</span>
</div> </div>
</i-button> </i-button>
</div> </div>
...@@ -27,20 +27,26 @@ export default class AppLoginButton extends Vue { ...@@ -27,20 +27,26 @@ export default class AppLoginButton extends Vue {
@Prop() public name!: string; @Prop() public name!: string;
/** /**
* 模型 * 显示提示
* *
* @type {any}
* @memberof AppLoginButton * @memberof AppLoginButton
*/ */
@Prop() public layoutModelDetails: any; @Prop() public tooltip?: string;
/** /**
* 类型 * 标题
* *
* @type {string}
* @memberof AppLoginButton * @memberof AppLoginButton
*/ */
@Prop() public defaultStyle?: string; @Prop() public caption?: string;
/**
* 模型
*
* @type {any}
* @memberof AppLoginButton
*/
@Prop() public layoutModelDetails: any;
/** /**
* 加载状态 * 加载状态
...@@ -67,30 +73,6 @@ export default class AppLoginButton extends Vue { ...@@ -67,30 +73,6 @@ export default class AppLoginButton extends Vue {
return this.index ? `${this.name}_${this.index}` : this.name; return this.index ? `${this.name}_${this.index}` : this.name;
} }
/**
* 标题
*
* @memberof AppLoginButton
*/
get curCaption() {
const layoutModel = this.layoutModelDetails[this.itemName];
if (layoutModel) {
return layoutModel.caption;
}
}
/**
* 提示信息
*
* @memberof AppLoginButton
*/
get curTooltip() {
const layoutModel = this.layoutModelDetails[this.itemName];
if (layoutModel) {
return layoutModel.tooltip;
}
}
/** /**
* 显示标题 * 显示标题
* *
......
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
fetchAction="FetchDefault" fetchAction="FetchDefault"
name="grid" name="grid"
ref='grid' ref='grid'
@打印选中数据="grid_打印选中数据($event)" @onselectionchange="grid_onselectionchange($event)"
@closeview="closeView($event)"> @closeview="closeView($event)">
</view_grid> </view_grid>
</app-ctrl-pos> </app-ctrl-pos>
...@@ -865,13 +865,13 @@ export default class IBIZBOOKCustomView_layoutBase extends Vue { ...@@ -865,13 +865,13 @@ export default class IBIZBOOKCustomView_layoutBase extends Vue {
/** /**
* grid 部件 打印选中数据 事件 * grid 部件 onselectionchange 事件
* *
* @param {*} [args={}] * @param {*} [args={}]
* @param {*} $event * @param {*} $event
* @memberof IBIZBOOKCustomView_layoutBase * @memberof IBIZBOOKCustomView_layoutBase
*/ */
public grid_打印选中数据($event: any, $event2?: any) { public grid_onselectionchange($event: any, $event2?: any) {
this.printSelection($event, '', $event2); this.printSelection($event, '', $event2);
} }
......
...@@ -24,7 +24,6 @@ ...@@ -24,7 +24,6 @@
fetchAction="FetchDefault" fetchAction="FetchDefault"
name="grid" name="grid"
ref='grid' ref='grid'
@打印选中数据="grid_打印选中数据($event)"
@onselectionchange="grid_onselectionchange($event)" @onselectionchange="grid_onselectionchange($event)"
@closeview="closeView($event)"> @closeview="closeView($event)">
</view_grid> </view_grid>
...@@ -870,18 +869,6 @@ export default class IBIZBOOKGridLoadCustomViewBase extends Vue { ...@@ -870,18 +869,6 @@ export default class IBIZBOOKGridLoadCustomViewBase extends Vue {
} }
/**
* grid 部件 打印选中数据 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof IBIZBOOKGridLoadCustomViewBase
*/
public grid_打印选中数据($event: any, $event2?: any) {
this.printSelection($event, '', $event2);
}
/** /**
* grid 部件 onselectionchange 事件 * grid 部件 onselectionchange 事件
* *
...@@ -890,6 +877,7 @@ export default class IBIZBOOKGridLoadCustomViewBase extends Vue { ...@@ -890,6 +877,7 @@ export default class IBIZBOOKGridLoadCustomViewBase extends Vue {
* @memberof IBIZBOOKGridLoadCustomViewBase * @memberof IBIZBOOKGridLoadCustomViewBase
*/ */
public grid_onselectionchange($event: any, $event2?: any) { public grid_onselectionchange($event: any, $event2?: any) {
this.printSelection($event, '', $event2);
this.GRIDSELECTIONCHANGE($event, '', $event2); this.GRIDSELECTIONCHANGE($event, '', $event2);
} }
......
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
fetchAction="FetchDefault" fetchAction="FetchDefault"
name="meditviewpanel" name="meditviewpanel"
ref='meditviewpanel' ref='meditviewpanel'
@打印选中数据="meditviewpanel_打印选中数据($event)" @onselectionchange="meditviewpanel_onselectionchange($event)"
@closeview="closeView($event)"> @closeview="closeView($event)">
</view_meditviewpanel> </view_meditviewpanel>
</div> </div>
...@@ -624,13 +624,13 @@ export default class IBIZBOOKMEditView9Base extends Vue { ...@@ -624,13 +624,13 @@ export default class IBIZBOOKMEditView9Base extends Vue {
/** /**
* meditviewpanel 部件 打印选中数据 事件 * meditviewpanel 部件 onselectionchange 事件
* *
* @param {*} [args={}] * @param {*} [args={}]
* @param {*} $event * @param {*} $event
* @memberof IBIZBOOKMEditView9Base * @memberof IBIZBOOKMEditView9Base
*/ */
public meditviewpanel_打印选中数据($event: any, $event2?: any) { public meditviewpanel_onselectionchange($event: any, $event2?: any) {
this.printSelection($event, '', $event2); this.printSelection($event, '', $event2);
} }
......
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
fetchAction="FetchDefault" fetchAction="FetchDefault"
name="meditviewpanel" name="meditviewpanel"
ref='meditviewpanel' ref='meditviewpanel'
@打印选中数据="meditviewpanel_打印选中数据($event)" @onselectionchange="meditviewpanel_onselectionchange($event)"
@closeview="closeView($event)"> @closeview="closeView($event)">
</view_meditviewpanel> </view_meditviewpanel>
</app-ctrl-pos> </app-ctrl-pos>
...@@ -838,13 +838,13 @@ export default class IBIZBOOKUsr2MEditView9_layoutBase extends Vue { ...@@ -838,13 +838,13 @@ export default class IBIZBOOKUsr2MEditView9_layoutBase extends Vue {
/** /**
* meditviewpanel 部件 打印选中数据 事件 * meditviewpanel 部件 onselectionchange 事件
* *
* @param {*} [args={}] * @param {*} [args={}]
* @param {*} $event * @param {*} $event
* @memberof IBIZBOOKUsr2MEditView9_layoutBase * @memberof IBIZBOOKUsr2MEditView9_layoutBase
*/ */
public meditviewpanel_打印选中数据($event: any, $event2?: any) { public meditviewpanel_onselectionchange($event: any, $event2?: any) {
this.printSelection($event, '', $event2); this.printSelection($event, '', $event2);
} }
......
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
fetchAction="FetchDefault" fetchAction="FetchDefault"
name="meditviewpanel" name="meditviewpanel"
ref='meditviewpanel' ref='meditviewpanel'
@打印选中数据="meditviewpanel_打印选中数据($event)" @onselectionchange="meditviewpanel_onselectionchange($event)"
@closeview="closeView($event)"> @closeview="closeView($event)">
</view_meditviewpanel> </view_meditviewpanel>
</div> </div>
...@@ -624,13 +624,13 @@ export default class IBIZBOOKUsr2MEditView9Base extends Vue { ...@@ -624,13 +624,13 @@ export default class IBIZBOOKUsr2MEditView9Base extends Vue {
/** /**
* meditviewpanel 部件 打印选中数据 事件 * meditviewpanel 部件 onselectionchange 事件
* *
* @param {*} [args={}] * @param {*} [args={}]
* @param {*} $event * @param {*} $event
* @memberof IBIZBOOKUsr2MEditView9Base * @memberof IBIZBOOKUsr2MEditView9Base
*/ */
public meditviewpanel_打印选中数据($event: any, $event2?: any) { public meditviewpanel_onselectionchange($event: any, $event2?: any) {
this.printSelection($event, '', $event2); this.printSelection($event, '', $event2);
} }
......
.ibizuniproduct-sgrid-view-layout { .ibizuniproduct-sgrid-view-layout{
display: block; position: relative;
} }
.toolbar-container {
button {
margin: 6px 0px 4px 4px;
.caption {
margin-left: 4px;
}
}
.seperator {
color: #dcdee2;
margin: 0 0px 0 4px;
}
}
// this is less
.deepskyblueToolBar {color:white !important;background-color:#108cee !important;}
...@@ -4,12 +4,10 @@ import IBIZUNIProductSGridView_layoutBase from './ibizuniproduct-sgrid-view-layo ...@@ -4,12 +4,10 @@ import IBIZUNIProductSGridView_layoutBase from './ibizuniproduct-sgrid-view-layo
import view_searchform from '@widgets/ibizuniproduct/default-searchform/default-searchform.vue'; import view_searchform from '@widgets/ibizuniproduct/default-searchform/default-searchform.vue';
import view_grid from '@widgets/ibizuniproduct/main-grid/main-grid.vue'; import view_grid from '@widgets/ibizuniproduct/main-grid/main-grid.vue';
import view_searchbar from '@widgets/ibizuniproduct/-searchbar/-searchbar.vue';
@Component({ @Component({
components: { components: {
view_searchform, view_searchform,
view_grid, view_grid,
view_searchbar,
}, },
beforeRouteEnter: (to: any, from: any, next: any) => { beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => { next((vm: any) => {
......
...@@ -353,10 +353,10 @@ export const viewstate: any = { ...@@ -353,10 +353,10 @@ export const viewstate: any = {
viewaction: '', viewaction: '',
viewdatachange: false, viewdatachange: false,
refviews: [ refviews: [
'0f3e6e5a5ba4b40182153ee4f93f3f7e',
'79abf62d7cac6f35c896f412b124956f', '79abf62d7cac6f35c896f412b124956f',
'a919926d6265ab194b54cd5b8f658eec', 'a919926d6265ab194b54cd5b8f658eec',
'88ca61cdf39cd0f97cf3863e9a6974b3', '88ca61cdf39cd0f97cf3863e9a6974b3',
'0f3e6e5a5ba4b40182153ee4f93f3f7e',
'2358ff370509a1b833cb5023f0ec54fb', '2358ff370509a1b833cb5023f0ec54fb',
'ae320ac92ef292866895940a2f61be48', 'ae320ac92ef292866895940a2f61be48',
], ],
......
...@@ -671,7 +671,7 @@ export default class DefaultBase extends Vue implements ControlInterface { ...@@ -671,7 +671,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/ */
public load(opt: any = {}): void { public load(opt: any = {}): void {
if(!this.loadAction){ if(!this.loadAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr9GridView' + (this.$t('app.searchForm.notConfig.loadAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKCustomView_layout' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
return; return;
} }
const arg: any = { ...opt }; const arg: any = { ...opt };
...@@ -707,7 +707,7 @@ export default class DefaultBase extends Vue implements ControlInterface { ...@@ -707,7 +707,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/ */
public loadDraft(opt: any = {},mode?:string): void { public loadDraft(opt: any = {},mode?:string): void {
if(!this.loaddraftAction){ if(!this.loaddraftAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr9GridView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKCustomView_layout' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
return; return;
} }
const arg: any = { ...opt } ; const arg: any = { ...opt } ;
......
...@@ -1308,7 +1308,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface ...@@ -1308,7 +1308,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
*/ */
public load(opt: any = {}): void { public load(opt: any = {}): void {
if(!this.loadAction){ if(!this.loadAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.loadaction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.loadaction') as string) });
return; return;
} }
const arg: any = { ...opt }; const arg: any = { ...opt };
...@@ -1343,7 +1343,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface ...@@ -1343,7 +1343,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
*/ */
public loadDraft(opt: any = {}): void { public loadDraft(opt: any = {}): void {
if(!this.loaddraftAction){ if(!this.loaddraftAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) });
return; return;
} }
const arg: any = { ...opt } ; const arg: any = { ...opt } ;
...@@ -1404,7 +1404,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface ...@@ -1404,7 +1404,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction; const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction;
if(!action){ if(!action){
let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction"; let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction";
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.actionname') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.actionname') as string) });
return; return;
} }
Object.assign(arg,{viewparams:this.viewparams}); Object.assign(arg,{viewparams:this.viewparams});
...@@ -1512,7 +1512,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface ...@@ -1512,7 +1512,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction; const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction;
if(!action){ if(!action){
let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction"; let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction";
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.actionname') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.actionname') as string) });
return; return;
} }
Object.assign(arg,{viewparams:this.viewparams}); Object.assign(arg,{viewparams:this.viewparams});
...@@ -1586,7 +1586,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface ...@@ -1586,7 +1586,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
public remove(opt:Array<any> = [],showResultInfo?: boolean): Promise<any> { public remove(opt:Array<any> = [],showResultInfo?: boolean): Promise<any> {
return new Promise((resolve: any, reject: any) => { return new Promise((resolve: any, reject: any) => {
if(!this.removeAction){ if(!this.removeAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.removeaction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.removeaction') as string) });
return; return;
} }
const arg: any = opt[0]; const arg: any = opt[0];
......
...@@ -1274,7 +1274,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface ...@@ -1274,7 +1274,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
*/ */
public load(opt: any = {}): void { public load(opt: any = {}): void {
if(!this.loadAction){ if(!this.loadAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.loadaction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.loadaction') as string) });
return; return;
} }
const arg: any = { ...opt }; const arg: any = { ...opt };
...@@ -1309,7 +1309,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface ...@@ -1309,7 +1309,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
*/ */
public loadDraft(opt: any = {}): void { public loadDraft(opt: any = {}): void {
if(!this.loaddraftAction){ if(!this.loaddraftAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) });
return; return;
} }
const arg: any = { ...opt } ; const arg: any = { ...opt } ;
...@@ -1370,7 +1370,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface ...@@ -1370,7 +1370,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction; const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction;
if(!action){ if(!action){
let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction"; let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction";
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.actionname') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.actionname') as string) });
return; return;
} }
Object.assign(arg,{viewparams:this.viewparams}); Object.assign(arg,{viewparams:this.viewparams});
...@@ -1478,7 +1478,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface ...@@ -1478,7 +1478,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction; const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction;
if(!action){ if(!action){
let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction"; let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction";
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.actionname') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.actionname') as string) });
return; return;
} }
Object.assign(arg,{viewparams:this.viewparams}); Object.assign(arg,{viewparams:this.viewparams});
...@@ -1552,7 +1552,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface ...@@ -1552,7 +1552,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
public remove(opt:Array<any> = [],showResultInfo?: boolean): Promise<any> { public remove(opt:Array<any> = [],showResultInfo?: boolean): Promise<any> {
return new Promise((resolve: any, reject: any) => { return new Promise((resolve: any, reject: any) => {
if(!this.removeAction){ if(!this.removeAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.removeaction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.removeaction') as string) });
return; return;
} }
const arg: any = opt[0]; const arg: any = opt[0];
......
...@@ -1377,7 +1377,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface { ...@@ -1377,7 +1377,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
*/ */
public load(opt: any = {}): void { public load(opt: any = {}): void {
if(!this.loadAction){ if(!this.loadAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.loadaction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.loadaction') as string) });
return; return;
} }
const arg: any = { ...opt }; const arg: any = { ...opt };
...@@ -1412,7 +1412,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface { ...@@ -1412,7 +1412,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
*/ */
public loadDraft(opt: any = {}): void { public loadDraft(opt: any = {}): void {
if(!this.loaddraftAction){ if(!this.loaddraftAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) });
return; return;
} }
const arg: any = { ...opt } ; const arg: any = { ...opt } ;
...@@ -1473,7 +1473,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface { ...@@ -1473,7 +1473,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction; const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction;
if(!action){ if(!action){
let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction"; let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction";
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.actionname') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.actionname') as string) });
return; return;
} }
Object.assign(arg,{viewparams:this.viewparams}); Object.assign(arg,{viewparams:this.viewparams});
...@@ -1581,7 +1581,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface { ...@@ -1581,7 +1581,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction; const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction;
if(!action){ if(!action){
let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction"; let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction";
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.actionname') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.actionname') as string) });
return; return;
} }
Object.assign(arg,{viewparams:this.viewparams}); Object.assign(arg,{viewparams:this.viewparams});
...@@ -1655,7 +1655,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface { ...@@ -1655,7 +1655,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
public remove(opt:Array<any> = [],showResultInfo?: boolean): Promise<any> { public remove(opt:Array<any> = [],showResultInfo?: boolean): Promise<any> {
return new Promise((resolve: any, reject: any) => { return new Promise((resolve: any, reject: any) => {
if(!this.removeAction){ if(!this.removeAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.removeaction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.removeaction') as string) });
return; return;
} }
const arg: any = opt[0]; const arg: any = opt[0];
......
...@@ -629,7 +629,7 @@ export default class QUICKSEARCHFORMBase extends Vue implements ControlInterface ...@@ -629,7 +629,7 @@ export default class QUICKSEARCHFORMBase extends Vue implements ControlInterface
*/ */
public load(opt: any = {}): void { public load(opt: any = {}): void {
if(!this.loadAction){ if(!this.loadAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKListView' + (this.$t('app.searchForm.notConfig.loadAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKCalendarView' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
return; return;
} }
const arg: any = { ...opt }; const arg: any = { ...opt };
...@@ -665,7 +665,7 @@ export default class QUICKSEARCHFORMBase extends Vue implements ControlInterface ...@@ -665,7 +665,7 @@ export default class QUICKSEARCHFORMBase extends Vue implements ControlInterface
*/ */
public loadDraft(opt: any = {},mode?:string): void { public loadDraft(opt: any = {},mode?:string): void {
if(!this.loaddraftAction){ if(!this.loaddraftAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKListView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKCalendarView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
return; return;
} }
const arg: any = { ...opt } ; const arg: any = { ...opt } ;
......
...@@ -657,7 +657,7 @@ export default class Usr4Base extends Vue implements ControlInterface { ...@@ -657,7 +657,7 @@ export default class Usr4Base extends Vue implements ControlInterface {
*/ */
public load(opt: any = {}, isReset: boolean = false): void { public load(opt: any = {}, isReset: boolean = false): void {
if(!this.fetchAction){ if(!this.fetchAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr4DataView' + (this.$t('app.list.notConfig.fetchAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKTestCLDataView' + (this.$t('app.list.notConfig.fetchAction') as string) });
return; return;
} }
const arg: any = {...opt}; const arg: any = {...opt};
...@@ -736,7 +736,7 @@ export default class Usr4Base extends Vue implements ControlInterface { ...@@ -736,7 +736,7 @@ export default class Usr4Base extends Vue implements ControlInterface {
*/ */
public async remove(datas: any[]): Promise<any> { public async remove(datas: any[]): Promise<any> {
if(!this.removeAction){ if(!this.removeAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr4DataView' + (this.$t('app.gridpage.notConfig.removeAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKTestCLDataView' + (this.$t('app.gridpage.notConfig.removeAction') as string) });
return; return;
} }
let _datas:any[] = []; let _datas:any[] = [];
...@@ -845,7 +845,7 @@ export default class Usr4Base extends Vue implements ControlInterface { ...@@ -845,7 +845,7 @@ export default class Usr4Base extends Vue implements ControlInterface {
try { try {
if(Object.is(item.rowDataState, 'create')){ if(Object.is(item.rowDataState, 'create')){
if(!this.createAction){ if(!this.createAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr4DataView' + (this.$t('app.list.notConfig.createAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKTestCLDataView' + (this.$t('app.list.notConfig.createAction') as string) });
}else{ }else{
Object.assign(item,{viewparams:this.viewparams}); Object.assign(item,{viewparams:this.viewparams});
let response = await this.service.add(this.createAction, JSON.parse(JSON.stringify(this.context)),item, this.showBusyIndicator); let response = await this.service.add(this.createAction, JSON.parse(JSON.stringify(this.context)),item, this.showBusyIndicator);
...@@ -853,7 +853,7 @@ export default class Usr4Base extends Vue implements ControlInterface { ...@@ -853,7 +853,7 @@ export default class Usr4Base extends Vue implements ControlInterface {
} }
}else if(Object.is(item.rowDataState, 'update')){ }else if(Object.is(item.rowDataState, 'update')){
if(!this.updateAction){ if(!this.updateAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr4DataView' + (this.$t('app.list.notConfig.updateAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKTestCLDataView' + (this.$t('app.list.notConfig.updateAction') as string) });
}else{ }else{
Object.assign(item,{viewparams:this.viewparams}); Object.assign(item,{viewparams:this.viewparams});
if(item.ibizbook){ if(item.ibizbook){
......
...@@ -69,11 +69,6 @@ export default class Usr4Model { ...@@ -69,11 +69,6 @@ export default class Usr4Model {
prop: 'n_ibizbookname_like', prop: 'n_ibizbookname_like',
dataType: 'QUERYPARAM' dataType: 'QUERYPARAM'
}, },
{
name: 'n_price_gtandeq',
prop: 'n_price_gtandeq',
dataType: 'QUERYPARAM'
},
{ {
......
...@@ -299,7 +299,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -299,7 +299,7 @@ export default class MainBase extends Vue implements ControlInterface {
* @param {*} [$event] 事件源 * @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件 * @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文 * @param {*} [actionContext] 执行行为上下文
* @memberof IBIZOrderPickupGridViewBase * @memberof IBIZOrderSF1GridViewBase
*/ */
public Edit(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) { public Edit(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
if (args.length === 0) { if (args.length === 0) {
...@@ -421,6 +421,20 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -421,6 +421,20 @@ export default class MainBase extends Vue implements ControlInterface {
return this.selections[0]; return this.selections[0];
} }
/**
* 打开新建数据视图
*
* @type {any}
* @memberof MainBase
*/
@Prop() public newdata: any;
/**
* 打开编辑数据视图
*
* @type {any}
* @memberof MainBase
*/
@Prop() public opendata: any;
/** /**
* 是否嵌入关系界面 * 是否嵌入关系界面
...@@ -953,7 +967,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -953,7 +967,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/ */
public load(opt: any = {}, pageReset: boolean = false): void { public load(opt: any = {}, pageReset: boolean = false): void {
if(!this.fetchAction){ 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; return;
} }
if(pageReset){ if(pageReset){
...@@ -1048,7 +1062,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -1048,7 +1062,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/ */
public async remove(datas: any[]): Promise<any> { public async remove(datas: any[]): Promise<any> {
if(!this.removeAction){ if(!this.removeAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderPickupGridView'+(this.$t('app.gridpage.notConfig.removeAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderSF1GridView'+(this.$t('app.gridpage.notConfig.removeAction') as string) });
return; return;
} }
let _datas:any[] = []; let _datas:any[] = [];
...@@ -1154,7 +1168,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -1154,7 +1168,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/ */
public addBatch(arg: any = {}): void { public addBatch(arg: any = {}): void {
if(!this.fetchAction){ 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; return;
} }
if(!arg){ if(!arg){
...@@ -2071,7 +2085,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -2071,7 +2085,7 @@ export default class MainBase extends Vue implements ControlInterface {
try { try {
if(Object.is(item.rowDataState, 'create')){ if(Object.is(item.rowDataState, 'create')){
if(!this.createAction){ 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{ }else{
Object.assign(item,{viewparams:this.viewparams}); Object.assign(item,{viewparams:this.viewparams});
let response = await this.service.add(this.createAction, JSON.parse(JSON.stringify(this.context)),item, this.showBusyIndicator); let response = await this.service.add(this.createAction, JSON.parse(JSON.stringify(this.context)),item, this.showBusyIndicator);
...@@ -2079,7 +2093,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -2079,7 +2093,7 @@ export default class MainBase extends Vue implements ControlInterface {
} }
}else if(Object.is(item.rowDataState, 'update')){ }else if(Object.is(item.rowDataState, 'update')){
if(!this.updateAction){ 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{ }else{
Object.assign(item,{viewparams:this.viewparams}); Object.assign(item,{viewparams:this.viewparams});
if(item.ibizorder){ if(item.ibizorder){
...@@ -2146,7 +2160,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -2146,7 +2160,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/ */
public newRow(args: any[], params?: any, $event?: any, xData?: any): void { public newRow(args: any[], params?: any, $event?: any, xData?: any): void {
if(!this.loaddraftAction){ if(!this.loaddraftAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderPickupGridView'+(this.$t('app.gridpage.notConfig.loaddraftAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderSF1GridView'+(this.$t('app.gridpage.notConfig.loaddraftAction') as string) });
return; return;
} }
let _this = this; let _this = this;
......
...@@ -104,6 +104,21 @@ export default class MainModel { ...@@ -104,6 +104,21 @@ export default class MainModel {
prop: 'n_ibizordername_like', prop: 'n_ibizordername_like',
dataType: 'QUERYPARAM' 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', name:'size',
......
...@@ -9,18 +9,18 @@ ...@@ -9,18 +9,18 @@
"id" : "fetch" "id" : "fetch"
}, },
"groupMode" : "NONE", "groupMode" : "NONE",
"hookEventNames" : [ "打印选中数据", "ONSELECTIONCHANGE" ], "hookEventNames" : [ "ONSELECTIONCHANGE" ],
"logicName" : "主表格", "logicName" : "主表格",
"getPSAppDataEntity" : { "getPSAppDataEntity" : {
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json" "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
}, },
"getPSControlLogics" : [ { "getPSControlLogics" : [ {
"eventNames" : "打印选中数据", "eventNames" : "onSelectionChange",
"logicTag" : "grid", "logicTag" : "grid",
"logicType" : "SCRIPT", "logicType" : "SCRIPT",
"name" : "printSelection", "name" : "printSelection",
"scriptCode" : "console.log(data);" "scriptCode" : "console.log('触发成功!!!');"
}, { }, {
"eventNames" : "onSelectionChange", "eventNames" : "onSelectionChange",
"logicTag" : "GRID", "logicTag" : "GRID",
......
...@@ -14,18 +14,18 @@ ...@@ -14,18 +14,18 @@
"id" : "fetch" "id" : "fetch"
}, },
"groupMode" : "NONE", "groupMode" : "NONE",
"hookEventNames" : [ "打印选中数据" ], "hookEventNames" : [ "ONSELECTIONCHANGE" ],
"logicName" : "主表格", "logicName" : "主表格",
"getPSAppDataEntity" : { "getPSAppDataEntity" : {
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json" "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
}, },
"getPSControlLogics" : [ { "getPSControlLogics" : [ {
"eventNames" : "打印选中数据", "eventNames" : "onSelectionChange",
"logicTag" : "meditviewpanel", "logicTag" : "meditviewpanel",
"logicType" : "SCRIPT", "logicType" : "SCRIPT",
"name" : "printSelection", "name" : "printSelection",
"scriptCode" : "console.log(data);" "scriptCode" : "console.log('触发成功!!!');"
} ], } ],
"getPSDEDataImport" : { "getPSDEDataImport" : {
"modelref" : true, "modelref" : true,
......
...@@ -208,7 +208,7 @@ ...@@ -208,7 +208,7 @@
"id" : "fetch" "id" : "fetch"
}, },
"groupMode" : "NONE", "groupMode" : "NONE",
"hookEventNames" : [ "打印选中数据" ], "hookEventNames" : [ "ONSELECTIONCHANGE" ],
"logicName" : "主表格", "logicName" : "主表格",
"getPSAppDataEntity" : { "getPSAppDataEntity" : {
"modelref" : true, "modelref" : true,
...@@ -297,11 +297,11 @@ ...@@ -297,11 +297,11 @@
"id" : "数据表格处理器" "id" : "数据表格处理器"
}, },
"getPSControlLogics" : [ { "getPSControlLogics" : [ {
"eventNames" : "打印选中数据", "eventNames" : "onSelectionChange",
"logicTag" : "grid", "logicTag" : "grid",
"logicType" : "SCRIPT", "logicType" : "SCRIPT",
"name" : "printSelection", "name" : "printSelection",
"scriptCode" : "console.log(data);" "scriptCode" : "console.log('触发成功!!!');"
} ], } ],
"getPSControlParam" : { "getPSControlParam" : {
"autoLoad" : true, "autoLoad" : true,
......
...@@ -208,7 +208,7 @@ ...@@ -208,7 +208,7 @@
"id" : "fetch" "id" : "fetch"
}, },
"groupMode" : "NONE", "groupMode" : "NONE",
"hookEventNames" : [ "打印选中数据", "ONSELECTIONCHANGE" ], "hookEventNames" : [ "ONSELECTIONCHANGE" ],
"logicName" : "主表格", "logicName" : "主表格",
"getPSAppDataEntity" : { "getPSAppDataEntity" : {
"modelref" : true, "modelref" : true,
...@@ -297,11 +297,11 @@ ...@@ -297,11 +297,11 @@
"id" : "数据表格处理器" "id" : "数据表格处理器"
}, },
"getPSControlLogics" : [ { "getPSControlLogics" : [ {
"eventNames" : "打印选中数据", "eventNames" : "onSelectionChange",
"logicTag" : "grid", "logicTag" : "grid",
"logicType" : "SCRIPT", "logicType" : "SCRIPT",
"name" : "printSelection", "name" : "printSelection",
"scriptCode" : "console.log(data);" "scriptCode" : "console.log('触发成功!!!');"
}, { }, {
"eventNames" : "onSelectionChange", "eventNames" : "onSelectionChange",
"logicTag" : "GRID", "logicTag" : "GRID",
......
...@@ -55,7 +55,7 @@ ...@@ -55,7 +55,7 @@
"id" : "fetch" "id" : "fetch"
}, },
"groupMode" : "NONE", "groupMode" : "NONE",
"hookEventNames" : [ "打印选中数据" ], "hookEventNames" : [ "ONSELECTIONCHANGE" ],
"logicName" : "主表格", "logicName" : "主表格",
"getPSAppDataEntity" : { "getPSAppDataEntity" : {
"modelref" : true, "modelref" : true,
...@@ -144,11 +144,11 @@ ...@@ -144,11 +144,11 @@
"id" : "数据表格处理器" "id" : "数据表格处理器"
}, },
"getPSControlLogics" : [ { "getPSControlLogics" : [ {
"eventNames" : "打印选中数据", "eventNames" : "onSelectionChange",
"logicTag" : "meditviewpanel", "logicTag" : "meditviewpanel",
"logicType" : "SCRIPT", "logicType" : "SCRIPT",
"name" : "printSelection", "name" : "printSelection",
"scriptCode" : "console.log(data);" "scriptCode" : "console.log('触发成功!!!');"
} ], } ],
"getPSControlParam" : { "getPSControlParam" : {
"autoLoad" : true, "autoLoad" : true,
......
...@@ -55,7 +55,7 @@ ...@@ -55,7 +55,7 @@
"id" : "fetch" "id" : "fetch"
}, },
"groupMode" : "NONE", "groupMode" : "NONE",
"hookEventNames" : [ "打印选中数据" ], "hookEventNames" : [ "ONSELECTIONCHANGE" ],
"logicName" : "主表格", "logicName" : "主表格",
"getPSAppDataEntity" : { "getPSAppDataEntity" : {
"modelref" : true, "modelref" : true,
...@@ -144,11 +144,11 @@ ...@@ -144,11 +144,11 @@
"id" : "数据表格处理器" "id" : "数据表格处理器"
}, },
"getPSControlLogics" : [ { "getPSControlLogics" : [ {
"eventNames" : "打印选中数据", "eventNames" : "onSelectionChange",
"logicTag" : "meditviewpanel", "logicTag" : "meditviewpanel",
"logicType" : "SCRIPT", "logicType" : "SCRIPT",
"name" : "printSelection", "name" : "printSelection",
"scriptCode" : "console.log(data);" "scriptCode" : "console.log('触发成功!!!');"
} ], } ],
"getPSControlParam" : { "getPSControlParam" : {
"autoLoad" : true, "autoLoad" : true,
......
...@@ -55,7 +55,7 @@ ...@@ -55,7 +55,7 @@
"id" : "fetch" "id" : "fetch"
}, },
"groupMode" : "NONE", "groupMode" : "NONE",
"hookEventNames" : [ "打印选中数据" ], "hookEventNames" : [ "ONSELECTIONCHANGE" ],
"logicName" : "主表格", "logicName" : "主表格",
"getPSAppDataEntity" : { "getPSAppDataEntity" : {
"modelref" : true, "modelref" : true,
...@@ -144,11 +144,11 @@ ...@@ -144,11 +144,11 @@
"id" : "数据表格处理器" "id" : "数据表格处理器"
}, },
"getPSControlLogics" : [ { "getPSControlLogics" : [ {
"eventNames" : "打印选中数据", "eventNames" : "onSelectionChange",
"logicTag" : "meditviewpanel", "logicTag" : "meditviewpanel",
"logicType" : "SCRIPT", "logicType" : "SCRIPT",
"name" : "printSelection", "name" : "printSelection",
"scriptCode" : "console.log(data);" "scriptCode" : "console.log('触发成功!!!');"
} ], } ],
"getPSControlParam" : { "getPSControlParam" : {
"autoLoad" : true, "autoLoad" : true,
......
...@@ -172,7 +172,7 @@ ...@@ -172,7 +172,7 @@
<!--输出实体[IBIZBOOK]数据结构 --> <!--输出实体[IBIZBOOK]数据结构 -->
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizbook-602-7"> <changeSet author="a_LAB01_df847bdfd" id="tab-ibizbook-605-7">
<createTable tableName="T_IBIZBOOK"> <createTable tableName="T_IBIZBOOK">
<column name="CREATEMAN" remarks="" type="VARCHAR(60)"> <column name="CREATEMAN" remarks="" type="VARCHAR(60)">
</column> </column>
...@@ -1306,7 +1306,7 @@ ...@@ -1306,7 +1306,7 @@
<!--输出实体[IBIZUNIPRODUCT]数据结构 --> <!--输出实体[IBIZUNIPRODUCT]数据结构 -->
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizuniproduct-17-45"> <changeSet author="a_LAB01_df847bdfd" id="tab-ibizuniproduct-23-45">
<createTable tableName="T_IBIZUNIPRODUCT"> <createTable tableName="T_IBIZUNIPRODUCT">
<column name="UNITPRICE" remarks="" type="FLOAT"> <column name="UNITPRICE" remarks="" type="FLOAT">
</column> </column>
......
...@@ -199,7 +199,7 @@ ...@@ -199,7 +199,7 @@
</createView> </createView>
</changeSet> </changeSet>
<!--输出实体[IBIZUNIPRODUCT]视图结构信息 runOnChange="true" 当视图发生变更时,通过liquibase强刷prod的视图,实现视图的同步--> <!--输出实体[IBIZUNIPRODUCT]视图结构信息 runOnChange="true" 当视图发生变更时,通过liquibase强刷prod的视图,实现视图的同步-->
<changeSet author="a_LAB01_df847bdfd" id="view-ibizuniproduct-17-35" runOnChange="true"> <changeSet author="a_LAB01_df847bdfd" id="view-ibizuniproduct-23-35" runOnChange="true">
<createView fullDefinition="false" replaceIfExists="true" viewName="V_IBIZUNIPRODUCT"> <createView fullDefinition="false" replaceIfExists="true" viewName="V_IBIZUNIPRODUCT">
<![CDATA[ SELECT t1.[CREATEDATE], t1.[CREATEMAN], t1.[IBIZUNIPRODUCTID], t1.[IBIZUNIPRODUCTNAME], t1.[IBIZUNIPRODUCTTYPE], t1.[UNIT], t1.[UNITPRICE], t1.[UPDATEDATE], t1.[UPDATEMAN] FROM [T_IBIZUNIPRODUCT] t1 ]]> <![CDATA[ SELECT t1.[CREATEDATE], t1.[CREATEMAN], t1.[IBIZUNIPRODUCTID], t1.[IBIZUNIPRODUCTNAME], t1.[IBIZUNIPRODUCTTYPE], t1.[UNIT], t1.[UNITPRICE], t1.[UPDATEDATE], t1.[UPDATEMAN] FROM [T_IBIZUNIPRODUCT] t1 ]]>
</createView> </createView>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册