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

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

上级 d81f4afd
<template>
<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()]">
<span v-if="cssClass || imagePath" class="icon">
<i v-if="cssClass" :class="cssClass" />
<img v-else :src="imagePath" />
</span>
<span v-if="showCaption" class="caption">{{ curCaption }}</span>
<span v-if="showCaption" class="caption">{{ caption }}</span>
</div>
</i-button>
</div>
......@@ -27,20 +27,26 @@ export default class AppLoginButton extends Vue {
@Prop() public name!: string;
/**
* 模型
* 显示提示
*
* @type {any}
* @memberof AppLoginButton
*/
@Prop() public layoutModelDetails: any;
@Prop() public tooltip?: string;
/**
* 类型
* 标题
*
* @type {string}
* @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 {
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 @@
fetchAction="FetchDefault"
name="grid"
ref='grid'
@打印选中数据="grid_打印选中数据($event)"
@onselectionchange="grid_onselectionchange($event)"
@closeview="closeView($event)">
</view_grid>
</app-ctrl-pos>
......@@ -865,13 +865,13 @@ export default class IBIZBOOKCustomView_layoutBase extends Vue {
/**
* grid 部件 打印选中数据 事件
* grid 部件 onselectionchange 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof IBIZBOOKCustomView_layoutBase
*/
public grid_打印选中数据($event: any, $event2?: any) {
public grid_onselectionchange($event: any, $event2?: any) {
this.printSelection($event, '', $event2);
}
......
......@@ -24,7 +24,6 @@
fetchAction="FetchDefault"
name="grid"
ref='grid'
@打印选中数据="grid_打印选中数据($event)"
@onselectionchange="grid_onselectionchange($event)"
@closeview="closeView($event)">
</view_grid>
......@@ -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 事件
*
......@@ -890,6 +877,7 @@ export default class IBIZBOOKGridLoadCustomViewBase extends Vue {
* @memberof IBIZBOOKGridLoadCustomViewBase
*/
public grid_onselectionchange($event: any, $event2?: any) {
this.printSelection($event, '', $event2);
this.GRIDSELECTIONCHANGE($event, '', $event2);
}
......
......@@ -24,7 +24,7 @@
fetchAction="FetchDefault"
name="meditviewpanel"
ref='meditviewpanel'
@打印选中数据="meditviewpanel_打印选中数据($event)"
@onselectionchange="meditviewpanel_onselectionchange($event)"
@closeview="closeView($event)">
</view_meditviewpanel>
</div>
......@@ -624,13 +624,13 @@ export default class IBIZBOOKMEditView9Base extends Vue {
/**
* meditviewpanel 部件 打印选中数据 事件
* meditviewpanel 部件 onselectionchange 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof IBIZBOOKMEditView9Base
*/
public meditviewpanel_打印选中数据($event: any, $event2?: any) {
public meditviewpanel_onselectionchange($event: any, $event2?: any) {
this.printSelection($event, '', $event2);
}
......
......@@ -23,7 +23,7 @@
fetchAction="FetchDefault"
name="meditviewpanel"
ref='meditviewpanel'
@打印选中数据="meditviewpanel_打印选中数据($event)"
@onselectionchange="meditviewpanel_onselectionchange($event)"
@closeview="closeView($event)">
</view_meditviewpanel>
</app-ctrl-pos>
......@@ -838,13 +838,13 @@ export default class IBIZBOOKUsr2MEditView9_layoutBase extends Vue {
/**
* meditviewpanel 部件 打印选中数据 事件
* meditviewpanel 部件 onselectionchange 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof IBIZBOOKUsr2MEditView9_layoutBase
*/
public meditviewpanel_打印选中数据($event: any, $event2?: any) {
public meditviewpanel_onselectionchange($event: any, $event2?: any) {
this.printSelection($event, '', $event2);
}
......
......@@ -24,7 +24,7 @@
fetchAction="FetchDefault"
name="meditviewpanel"
ref='meditviewpanel'
@打印选中数据="meditviewpanel_打印选中数据($event)"
@onselectionchange="meditviewpanel_onselectionchange($event)"
@closeview="closeView($event)">
</view_meditviewpanel>
</div>
......@@ -624,13 +624,13 @@ export default class IBIZBOOKUsr2MEditView9Base extends Vue {
/**
* meditviewpanel 部件 打印选中数据 事件
* meditviewpanel 部件 onselectionchange 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof IBIZBOOKUsr2MEditView9Base
*/
public meditviewpanel_打印选中数据($event: any, $event2?: any) {
public meditviewpanel_onselectionchange($event: any, $event2?: any) {
this.printSelection($event, '', $event2);
}
......
.ibizuniproduct-sgrid-view-layout {
display: block;
}
.ibizuniproduct-sgrid-view-layout{
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
import view_searchform from '@widgets/ibizuniproduct/default-searchform/default-searchform.vue';
import view_grid from '@widgets/ibizuniproduct/main-grid/main-grid.vue';
import view_searchbar from '@widgets/ibizuniproduct/-searchbar/-searchbar.vue';
@Component({
components: {
view_searchform,
view_grid,
view_searchbar,
},
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
......
......@@ -353,10 +353,10 @@ export const viewstate: any = {
viewaction: '',
viewdatachange: false,
refviews: [
'0f3e6e5a5ba4b40182153ee4f93f3f7e',
'79abf62d7cac6f35c896f412b124956f',
'a919926d6265ab194b54cd5b8f658eec',
'88ca61cdf39cd0f97cf3863e9a6974b3',
'0f3e6e5a5ba4b40182153ee4f93f3f7e',
'2358ff370509a1b833cb5023f0ec54fb',
'ae320ac92ef292866895940a2f61be48',
],
......
......@@ -671,7 +671,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/
public load(opt: any = {}): void {
if(!this.loadAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr9GridView' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKCustomView_layout' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
return;
}
const arg: any = { ...opt };
......@@ -707,7 +707,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/
public loadDraft(opt: any = {},mode?:string): void {
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;
}
const arg: any = { ...opt } ;
......
......@@ -1308,7 +1308,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
*/
public load(opt: any = {}): void {
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;
}
const arg: any = { ...opt };
......@@ -1343,7 +1343,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
*/
public loadDraft(opt: any = {}): void {
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;
}
const arg: any = { ...opt } ;
......@@ -1404,7 +1404,7 @@ export default class GuideBorrowFormBase 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' + (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;
}
Object.assign(arg,{viewparams:this.viewparams});
......@@ -1512,7 +1512,7 @@ export default class GuideBorrowFormBase 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' + (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;
}
Object.assign(arg,{viewparams:this.viewparams});
......@@ -1586,7 +1586,7 @@ export default class GuideBorrowFormBase 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' + (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;
}
const arg: any = opt[0];
......
......@@ -1274,7 +1274,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
*/
public load(opt: any = {}): void {
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;
}
const arg: any = { ...opt };
......@@ -1309,7 +1309,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
*/
public loadDraft(opt: any = {}): void {
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;
}
const arg: any = { ...opt } ;
......@@ -1370,7 +1370,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' + (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;
}
Object.assign(arg,{viewparams:this.viewparams});
......@@ -1478,7 +1478,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' + (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;
}
Object.assign(arg,{viewparams:this.viewparams});
......@@ -1552,7 +1552,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' + (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;
}
const arg: any = opt[0];
......
......@@ -1377,7 +1377,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
*/
public load(opt: any = {}): void {
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;
}
const arg: any = { ...opt };
......@@ -1412,7 +1412,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
*/
public loadDraft(opt: any = {}): void {
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;
}
const arg: any = { ...opt } ;
......@@ -1473,7 +1473,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' + (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;
}
Object.assign(arg,{viewparams:this.viewparams});
......@@ -1581,7 +1581,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' + (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;
}
Object.assign(arg,{viewparams:this.viewparams});
......@@ -1655,7 +1655,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' + (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;
}
const arg: any = opt[0];
......
......@@ -629,7 +629,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: '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;
}
const arg: any = { ...opt };
......@@ -665,7 +665,7 @@ export default class QUICKSEARCHFORMBase extends Vue implements ControlInterface
*/
public loadDraft(opt: any = {},mode?:string): void {
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;
}
const arg: any = { ...opt } ;
......
......@@ -657,7 +657,7 @@ export default class Usr4Base extends Vue implements ControlInterface {
*/
public load(opt: any = {}, isReset: boolean = false): void {
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;
}
const arg: any = {...opt};
......@@ -736,7 +736,7 @@ export default class Usr4Base extends Vue implements ControlInterface {
*/
public async remove(datas: any[]): Promise<any> {
if(!this.removeAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: '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;
}
let _datas:any[] = [];
......@@ -845,7 +845,7 @@ export default class Usr4Base extends Vue implements ControlInterface {
try {
if(Object.is(item.rowDataState, 'create')){
if(!this.createAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: '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{
Object.assign(item,{viewparams:this.viewparams});
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 {
}
}else if(Object.is(item.rowDataState, 'update')){
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{
Object.assign(item,{viewparams:this.viewparams});
if(item.ibizbook){
......
......@@ -69,11 +69,6 @@ export default class Usr4Model {
prop: 'n_ibizbookname_like',
dataType: 'QUERYPARAM'
},
{
name: 'n_price_gtandeq',
prop: 'n_price_gtandeq',
dataType: 'QUERYPARAM'
},
{
......
......@@ -299,7 +299,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) {
......@@ -421,6 +421,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;
/**
* 是否嵌入关系界面
......@@ -953,7 +967,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/
public load(opt: any = {}, pageReset: boolean = false): 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(pageReset){
......@@ -1048,7 +1062,7 @@ export default class MainBase 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: '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;
}
let _datas:any[] = [];
......@@ -1154,7 +1168,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){
......@@ -2071,7 +2085,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});
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 {
}
}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});
if(item.ibizorder){
......@@ -2146,7 +2160,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/
public newRow(args: any[], params?: any, $event?: any, xData?: any): void {
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;
}
let _this = this;
......
......@@ -104,6 +104,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',
......
......@@ -9,18 +9,18 @@
"id" : "fetch"
},
"groupMode" : "NONE",
"hookEventNames" : [ "打印选中数据", "ONSELECTIONCHANGE" ],
"hookEventNames" : [ "ONSELECTIONCHANGE" ],
"logicName" : "主表格",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"getPSControlLogics" : [ {
"eventNames" : "打印选中数据",
"eventNames" : "onSelectionChange",
"logicTag" : "grid",
"logicType" : "SCRIPT",
"name" : "printSelection",
"scriptCode" : "console.log(data);"
"scriptCode" : "console.log('触发成功!!!');"
}, {
"eventNames" : "onSelectionChange",
"logicTag" : "GRID",
......
......@@ -14,18 +14,18 @@
"id" : "fetch"
},
"groupMode" : "NONE",
"hookEventNames" : [ "打印选中数据" ],
"hookEventNames" : [ "ONSELECTIONCHANGE" ],
"logicName" : "主表格",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"getPSControlLogics" : [ {
"eventNames" : "打印选中数据",
"eventNames" : "onSelectionChange",
"logicTag" : "meditviewpanel",
"logicType" : "SCRIPT",
"name" : "printSelection",
"scriptCode" : "console.log(data);"
"scriptCode" : "console.log('触发成功!!!');"
} ],
"getPSDEDataImport" : {
"modelref" : true,
......
......@@ -208,7 +208,7 @@
"id" : "fetch"
},
"groupMode" : "NONE",
"hookEventNames" : [ "打印选中数据" ],
"hookEventNames" : [ "ONSELECTIONCHANGE" ],
"logicName" : "主表格",
"getPSAppDataEntity" : {
"modelref" : true,
......@@ -297,11 +297,11 @@
"id" : "数据表格处理器"
},
"getPSControlLogics" : [ {
"eventNames" : "打印选中数据",
"eventNames" : "onSelectionChange",
"logicTag" : "grid",
"logicType" : "SCRIPT",
"name" : "printSelection",
"scriptCode" : "console.log(data);"
"scriptCode" : "console.log('触发成功!!!');"
} ],
"getPSControlParam" : {
"autoLoad" : true,
......
......@@ -208,7 +208,7 @@
"id" : "fetch"
},
"groupMode" : "NONE",
"hookEventNames" : [ "打印选中数据", "ONSELECTIONCHANGE" ],
"hookEventNames" : [ "ONSELECTIONCHANGE" ],
"logicName" : "主表格",
"getPSAppDataEntity" : {
"modelref" : true,
......@@ -297,11 +297,11 @@
"id" : "数据表格处理器"
},
"getPSControlLogics" : [ {
"eventNames" : "打印选中数据",
"eventNames" : "onSelectionChange",
"logicTag" : "grid",
"logicType" : "SCRIPT",
"name" : "printSelection",
"scriptCode" : "console.log(data);"
"scriptCode" : "console.log('触发成功!!!');"
}, {
"eventNames" : "onSelectionChange",
"logicTag" : "GRID",
......
......@@ -55,7 +55,7 @@
"id" : "fetch"
},
"groupMode" : "NONE",
"hookEventNames" : [ "打印选中数据" ],
"hookEventNames" : [ "ONSELECTIONCHANGE" ],
"logicName" : "主表格",
"getPSAppDataEntity" : {
"modelref" : true,
......@@ -144,11 +144,11 @@
"id" : "数据表格处理器"
},
"getPSControlLogics" : [ {
"eventNames" : "打印选中数据",
"eventNames" : "onSelectionChange",
"logicTag" : "meditviewpanel",
"logicType" : "SCRIPT",
"name" : "printSelection",
"scriptCode" : "console.log(data);"
"scriptCode" : "console.log('触发成功!!!');"
} ],
"getPSControlParam" : {
"autoLoad" : true,
......
......@@ -55,7 +55,7 @@
"id" : "fetch"
},
"groupMode" : "NONE",
"hookEventNames" : [ "打印选中数据" ],
"hookEventNames" : [ "ONSELECTIONCHANGE" ],
"logicName" : "主表格",
"getPSAppDataEntity" : {
"modelref" : true,
......@@ -144,11 +144,11 @@
"id" : "数据表格处理器"
},
"getPSControlLogics" : [ {
"eventNames" : "打印选中数据",
"eventNames" : "onSelectionChange",
"logicTag" : "meditviewpanel",
"logicType" : "SCRIPT",
"name" : "printSelection",
"scriptCode" : "console.log(data);"
"scriptCode" : "console.log('触发成功!!!');"
} ],
"getPSControlParam" : {
"autoLoad" : true,
......
......@@ -55,7 +55,7 @@
"id" : "fetch"
},
"groupMode" : "NONE",
"hookEventNames" : [ "打印选中数据" ],
"hookEventNames" : [ "ONSELECTIONCHANGE" ],
"logicName" : "主表格",
"getPSAppDataEntity" : {
"modelref" : true,
......@@ -144,11 +144,11 @@
"id" : "数据表格处理器"
},
"getPSControlLogics" : [ {
"eventNames" : "打印选中数据",
"eventNames" : "onSelectionChange",
"logicTag" : "meditviewpanel",
"logicType" : "SCRIPT",
"name" : "printSelection",
"scriptCode" : "console.log(data);"
"scriptCode" : "console.log('触发成功!!!');"
} ],
"getPSControlParam" : {
"autoLoad" : true,
......
......@@ -172,7 +172,7 @@
<!--输出实体[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">
<column name="CREATEMAN" remarks="" type="VARCHAR(60)">
</column>
......@@ -1306,7 +1306,7 @@
<!--输出实体[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">
<column name="UNITPRICE" remarks="" type="FLOAT">
</column>
......
......@@ -199,7 +199,7 @@
</createView>
</changeSet>
<!--输出实体[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">
<![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>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册