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

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

上级 d2a70bb6
......@@ -123,7 +123,7 @@
<app-preset-text name="field_text_dynamic" :index="slotProps.data.index" :value="layoutData[`ibizcustomername_${slotProps.data.index}`]" :layoutModelDetails="layoutModelDetails"/>
</template>
<template #field_textbox>
<app-panel-field name="field_textbox" caption="文本框" :index="slotProps.data.index" :data="layoutData" :layoutModelDetails="layoutModelDetails" :value="layoutData[`field_textbox_${slotProps.data.index}`]"> <app-preset-text-input name="field_textbox" :index="slotProps.data.index" :layoutModelDetails="layoutModelDetails" :value="layoutData[`ibizcustomername_${slotProps.data.index}`]" @valueChange="handleValueChange"/> </app-panel-field>
<app-panel-field name="field_textbox" caption="文本框" :index="slotProps.data.index" :layoutModelDetails="layoutModelDetails" :value="layoutData[`ibizcustomername_${slotProps.data.index}`]"> <app-preset-text-input name="field_textbox" :index="slotProps.data.index" :layoutModelDetails="layoutModelDetails" :value="layoutData[`ibizcustomername_${slotProps.data.index}`]" @valueChange="handleValueChange"/> </app-panel-field>
</template>
</app-standard-container>
</template>
......
......@@ -21,16 +21,16 @@
<app-preset-switch name="field_switch" :layoutModelDetails="layoutModelDetails" :value="layoutData.field_switch" @valueChange="handleValueChange"/>
</template>
<template #field_textbox>
<app-panel-field name="field_textbox" caption="文本框" :data="layoutData" :layoutModelDetails="layoutModelDetails" :value="layoutData.field_textbox"> <app-preset-text-input name="field_textbox" :layoutModelDetails="layoutModelDetails" :value="layoutData.field_textbox" @valueChange="handleValueChange"/> </app-panel-field>
<app-panel-field name="field_textbox" caption="文本框" :layoutModelDetails="layoutModelDetails" :value="layoutData.field_textbox"> <app-preset-text-input name="field_textbox" :layoutModelDetails="layoutModelDetails" :value="layoutData.field_textbox" @valueChange="handleValueChange"/> </app-panel-field>
</template>
<template #field_textbox1>
<app-panel-field name="field_textbox1" caption="文本框" :data="layoutData" :layoutModelDetails="layoutModelDetails" :value="layoutData.field_textbox1"> <dropdown-list :value="layoutData.field_textbox1" :data="layoutData" :context="context" :viewparams="viewparams" :formState="viewState" :disabled="layoutModelDetails.field_textbox1.disabled" :localContext='{ }' :localParam='{ }' placeholder='请选择...' @change="(value) => handleValueChange({ name: 'field_textbox1', value})"> </dropdown-list> </app-panel-field>
<app-panel-field name="field_textbox1" caption="文本框" :layoutModelDetails="layoutModelDetails" :value="layoutData.field_textbox1"> <dropdown-list :value="layoutData.field_textbox1" :data="layoutData" :context="context" :viewparams="viewparams" :formState="viewState" :disabled="layoutModelDetails.field_textbox1.disabled" :localContext='{ }' :localParam='{ }' placeholder='请选择...' @change="(value) => handleValueChange({ name: 'field_textbox1', value})"> </dropdown-list> </app-panel-field>
</template>
<template #field_textbox2>
<app-panel-field name="field_textbox2" caption="文本框" :data="layoutData" :layoutModelDetails="layoutModelDetails" :value="layoutData.field_textbox2"> <input-box type="number" :precision="2" :value="layoutData.field_textbox2" :disabled="layoutModelDetails.field_textbox2.disabled" @change="(value) => handleValueChange({ name: 'field_textbox2', value})"> </input-box> </app-panel-field>
<app-panel-field name="field_textbox2" caption="文本框" :layoutModelDetails="layoutModelDetails" :value="layoutData.field_textbox2"> <input-box type="number" :precision="2" :value="layoutData.field_textbox2" :disabled="layoutModelDetails.field_textbox2.disabled" @change="(value) => handleValueChange({ name: 'field_textbox2', value})"> </input-box> </app-panel-field>
</template>
<template #field_textbox3>
<app-panel-field name="field_textbox3" caption="文本框" :data="layoutData" :layoutModelDetails="layoutModelDetails" :value="layoutData.field_textbox3"> <input-box type="password" name="field_textbox3" :value="layoutData.field_textbox3" :disabled="layoutModelDetails.field_textbox3.disabled" @change="(value) => handleValueChange({ name: 'field_textbox3', value})"> </input-box> </app-panel-field>
<app-panel-field name="field_textbox3" caption="文本框" :layoutModelDetails="layoutModelDetails" :value="layoutData.field_textbox3"> <input-box type="password" name="field_textbox3" :value="layoutData.field_textbox3" :disabled="layoutModelDetails.field_textbox3.disabled" @change="(value) => handleValueChange({ name: 'field_textbox3', value})"> </input-box> </app-panel-field>
</template>
<template #field_qrcode>
<app-preset-qrcode name="field_qrcode" :layoutModelDetails="layoutModelDetails" :value="layoutData.field_qrcode" />
......
......@@ -4,6 +4,7 @@ import { UILogicParamType } from "@/logic/const/ui-logic-param-type";
import { Util, Verify } from "@/utils";
import { AppMessageBox } from "@/utils/app-message-box/app-message-box";
import { Subject } from "rxjs";
import { Environment } from "@/environments/environment";
/**
* 编辑
*
......
......@@ -4,6 +4,7 @@ import { UILogicParamType } from "@/logic/const/ui-logic-param-type";
import { Util, Verify } from "@/utils";
import { AppMessageBox } from "@/utils/app-message-box/app-message-box";
import { Subject } from "rxjs";
import { Environment } from "@/environments/environment";
/**
* 自定义视图表单加载
*
......
......@@ -4,6 +4,7 @@ import { UILogicParamType } from "@/logic/const/ui-logic-param-type";
import { Util, Verify } from "@/utils";
import { AppMessageBox } from "@/utils/app-message-box/app-message-box";
import { Subject } from "rxjs";
import { Environment } from "@/environments/environment";
/**
* 自定义视图表格加载
*
......
......@@ -4,6 +4,7 @@ import { UILogicParamType } from "@/logic/const/ui-logic-param-type";
import { Util, Verify } from "@/utils";
import { AppMessageBox } from "@/utils/app-message-box/app-message-box";
import { Subject } from "rxjs";
import { Environment } from "@/environments/environment";
/**
* 表单加载
*
......@@ -313,7 +314,7 @@ export default class FormLoadUILogicBase {
// 目标数据
const dstParam_1: any = actionContext.getParam('context');
// 无值类型
// 直接值
// 直接值
const result_1 = '12';
dstParam_1.set('ibizbook', result_1);
} catch (error: any) {
......
......@@ -4,6 +4,7 @@ import { UILogicParamType } from "@/logic/const/ui-logic-param-type";
import { Util, Verify } from "@/utils";
import { AppMessageBox } from "@/utils/app-message-box/app-message-box";
import { Subject } from "rxjs";
import { Environment } from "@/environments/environment";
import InitDataLogic from '@/service/ibizbook/init-data-logic';
/**
* 表格加载
......@@ -353,7 +354,7 @@ export default class GridLoadUILogicBase {
// 目标数据
const dstParam_1: any = actionContext.getParam('context');
// 无值类型
// 直接值
// 直接值
const result_1 = '12';
dstParam_1.set('ibizbook', result_1);
} catch (error: any) {
......@@ -522,7 +523,7 @@ export default class GridLoadUILogicBase {
// 目标数据
const dstParam_1: any = actionContext.getParam('otherParam');
// 无值类型
// 直接值
// 直接值
const result_1 = '12';
dstParam_1.set('book', result_1);
} catch (error: any) {
......
......@@ -4,6 +4,7 @@ import { UILogicParamType } from "@/logic/const/ui-logic-param-type";
import { Util, Verify } from "@/utils";
import { AppMessageBox } from "@/utils/app-message-box/app-message-box";
import { Subject } from "rxjs";
import { Environment } from "@/environments/environment";
/**
* 输出参数
*
......@@ -181,7 +182,7 @@ export default class PrintParamsUILogicBase {
// 目标数据
const dstParam_1: any = actionContext.getParam('appGlobal');
// 无值类型
// 直接值
// 直接值
const result_1 = '121';
dstParam_1.set('testparam', result_1);
} catch (error: any) {
......@@ -202,7 +203,7 @@ export default class PrintParamsUILogicBase {
// 目标数据
const dstParam_1: any = actionContext.getParam('routerSession');
// 无值类型
// 源逻辑参数、网页请求上下文、当前视图参数
// 源逻辑参数、网页请求上下文、当前视图参数
const srcParam_1 = actionContext.getParam('appGlobal');
const result_1 = srcParam_1.get('testparam') ? srcParam_1.get('testparam') : null;
dstParam_1.set('appglobalparam', result_1);
......@@ -294,9 +295,8 @@ export default class PrintParamsUILogicBase {
// 目标数据
const dstParam_1: any = actionContext.getParam('printParam');
// 无值类型
// 环境参数
// TODO 环境参数
const result_1 = '';
// 环境参数
const result_1 = Environment['AppName'];
dstParam_1.set('envparam', result_1);
} catch (error: any) {
throw new Error(`逻辑节点 获取应用名称 ${error && error.message ? error.message : '发生未知错误!'}`);
......@@ -316,7 +316,7 @@ export default class PrintParamsUILogicBase {
// 目标数据
const dstParam_1: any = actionContext.getParam('currentView');
// 无值类型
// 源逻辑参数、网页请求上下文、当前视图参数
// 源逻辑参数、网页请求上下文、当前视图参数
const srcParam_1 = actionContext.getParam('routerSession');
const result_1 = srcParam_1.get('testparam') ? srcParam_1.get('testparam') : null;
dstParam_1.set('testccc', result_1);
......
......@@ -4,6 +4,7 @@ import { UILogicParamType } from "@/logic/const/ui-logic-param-type";
import { Util, Verify } from "@/utils";
import { AppMessageBox } from "@/utils/app-message-box/app-message-box";
import { Subject } from "rxjs";
import { Environment } from "@/environments/environment";
/**
* 自定义表格数据加载
*
......
......@@ -4,6 +4,7 @@ import { UILogicParamType } from "@/logic/const/ui-logic-param-type";
import { Util, Verify } from "@/utils";
import { AppMessageBox } from "@/utils/app-message-box/app-message-box";
import { Subject } from "rxjs";
import { Environment } from "@/environments/environment";
/**
* 打开语雀文档
*
......
......@@ -3,13 +3,13 @@
<template v-if="!isLayoutLoadding">
<app-standard-container name="container1" :isMultiContainer="false" :layoutModelDetails="layoutModelDetails">
<template #field1>
<app-panel-field name="field1" caption="图书名" :data="layoutData" :layoutModelDetails="layoutModelDetails" :value="layoutData.field1"> <app-span name="field1" :value="layoutData.field1" :data="layoutData" :context="context" :viewparams="viewparams" :localContext='{ }' :localParam='{ }' /> </app-panel-field>
<app-panel-field name="field1" caption="图书名" :layoutModelDetails="layoutModelDetails" :value="layoutData.title"> <app-span name="field1" :value="layoutData.field1" :data="layoutData" :context="context" :viewparams="viewparams" :localContext='{ }' :localParam='{ }' /> </app-panel-field>
</template>
<template #field2>
<app-panel-field name="field2" caption="借出日期" :data="layoutData" :layoutModelDetails="layoutModelDetails" :value="layoutData.field2"> <app-span name="field2" :value="layoutData.field2" :data="layoutData" :context="context" :viewparams="viewparams" :localContext='{ }' :localParam='{ }' /> </app-panel-field>
<app-panel-field name="field2" caption="借出日期" :layoutModelDetails="layoutModelDetails" :value="layoutData.start"> <app-span name="field2" :value="layoutData.field2" :data="layoutData" :context="context" :viewparams="viewparams" :localContext='{ }' :localParam='{ }' /> </app-panel-field>
</template>
<template #field3>
<app-panel-field name="field3" caption="归还日期" :data="layoutData" :layoutModelDetails="layoutModelDetails" :value="layoutData.field3"> <app-span name="field3" :value="layoutData.field3" :data="layoutData" :context="context" :viewparams="viewparams" :localContext='{ }' :localParam='{ }' /> </app-panel-field>
<app-panel-field name="field3" caption="归还日期" :layoutModelDetails="layoutModelDetails" :value="layoutData.end"> <app-span name="field3" :value="layoutData.field3" :data="layoutData" :context="context" :viewparams="viewparams" :localContext='{ }' :localParam='{ }' /> </app-panel-field>
</template>
</app-standard-container>
</template>
......
......@@ -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];
......
......@@ -3,13 +3,13 @@
<template v-if="!isLayoutLoadding">
<app-standard-container name="container1" :isMultiContainer="false" :layoutModelDetails="layoutModelDetails">
<template #srfmajortext>
<app-panel-field name="srfmajortext" caption="" :data="layoutData" :layoutModelDetails="layoutModelDetails" :value="layoutData.srfmajortext"> <app-span name="srfmajortext" :value="layoutData.srfmajortext" :data="layoutData" :context="context" :viewparams="viewparams" :localContext='{ }' :localParam='{ }' /> </app-panel-field>
<app-panel-field name="srfmajortext" caption="" :layoutModelDetails="layoutModelDetails" :value="layoutData.srfmajortext"> <app-span name="srfmajortext" :value="layoutData.srfmajortext" :data="layoutData" :context="context" :viewparams="viewparams" :localContext='{ }' :localParam='{ }' /> </app-panel-field>
</template>
<template #author>
<app-panel-field name="author" caption="" :data="layoutData" :layoutModelDetails="layoutModelDetails" :value="layoutData.author"> <app-span name="author" :value="layoutData.author" :data="layoutData" :context="context" :viewparams="viewparams" :localContext='{ }' :localParam='{ }' /> </app-panel-field>
<app-panel-field name="author" caption="" :layoutModelDetails="layoutModelDetails" :value="layoutData.author"> <app-span name="author" :value="layoutData.author" :data="layoutData" :context="context" :viewparams="viewparams" :localContext='{ }' :localParam='{ }' /> </app-panel-field>
</template>
<template #srfdescription>
<app-panel-field name="srfdescription" caption="" :data="layoutData" :layoutModelDetails="layoutModelDetails" :value="layoutData.srfdescription"> <app-span name="srfdescription" :value="layoutData.srfdescription" :data="layoutData" :context="context" :viewparams="viewparams" :localContext='{ }' :localParam='{ }' /> </app-panel-field>
<app-panel-field name="srfdescription" caption="" :layoutModelDetails="layoutModelDetails" :value="layoutData.srfdescription"> <app-span name="srfdescription" :value="layoutData.srfdescription" :data="layoutData" :context="context" :viewparams="viewparams" :localContext='{ }' :localParam='{ }' /> </app-panel-field>
</template>
</app-standard-container>
</template>
......
......@@ -3,13 +3,13 @@
<template v-if="!isLayoutLoadding">
<app-standard-container name="container1" :isMultiContainer="false" :layoutModelDetails="layoutModelDetails">
<template #bookname>
<app-panel-field name="bookname" caption="图书名称" :data="layoutData" :layoutModelDetails="layoutModelDetails" :value="layoutData.bookname"> <app-span name="bookname" :value="layoutData.bookname" :data="layoutData" :context="context" :viewparams="viewparams" :localContext='{ }' :localParam='{ }' /> </app-panel-field>
<app-panel-field name="bookname" caption="图书名称" :layoutModelDetails="layoutModelDetails" :value="layoutData.IBIZBOOKNAME"> <app-span name="bookname" :value="layoutData.bookname" :data="layoutData" :context="context" :viewparams="viewparams" :localContext='{ }' :localParam='{ }' /> </app-panel-field>
</template>
<template #author>
<app-panel-field name="author" caption="图书作者" :data="layoutData" :layoutModelDetails="layoutModelDetails" :value="layoutData.author"> <app-span name="author" :value="layoutData.author" :data="layoutData" :context="context" :viewparams="viewparams" :localContext='{ }' :localParam='{ }' /> </app-panel-field>
<app-panel-field name="author" caption="图书作者" :layoutModelDetails="layoutModelDetails" :value="layoutData.AUTHOR"> <app-span name="author" :value="layoutData.author" :data="layoutData" :context="context" :viewparams="viewparams" :localContext='{ }' :localParam='{ }' /> </app-panel-field>
</template>
<template #press>
<app-panel-field name="press" caption="图书出版社" :data="layoutData" :layoutModelDetails="layoutModelDetails" :value="layoutData.press"> <app-span name="press" :value="layoutData.press" :data="layoutData" :context="context" :viewparams="viewparams" :localContext='{ }' :localParam='{ }' /> </app-panel-field>
<app-panel-field name="press" caption="图书出版社" :layoutModelDetails="layoutModelDetails" :value="layoutData.PRESS"> <app-span name="press" :value="layoutData.press" :data="layoutData" :context="context" :viewparams="viewparams" :localContext='{ }' :localParam='{ }' /> </app-panel-field>
</template>
</app-standard-container>
</template>
......
......@@ -12,7 +12,7 @@
<app-preset-text name="field_text_dynamic" :value="layoutData.author" :layoutModelDetails="layoutModelDetails"/>
</template>
<template #field_textbox>
<app-panel-field name="field_textbox" caption="文本框" :data="layoutData" :layoutModelDetails="layoutModelDetails" :value="layoutData.field_textbox"> <app-preset-text-input name="field_textbox" :layoutModelDetails="layoutModelDetails" :value="layoutData.booknumber" @valueChange="handleValueChange"/> </app-panel-field>
<app-panel-field name="field_textbox" caption="文本框" :layoutModelDetails="layoutModelDetails" :value="layoutData.booknumber"> <app-preset-text-input name="field_textbox" :layoutModelDetails="layoutModelDetails" :value="layoutData.booknumber" @valueChange="handleValueChange"/> </app-panel-field>
</template>
<template #button_link1>
<app-preset-button name="button_link1" :layoutModelDetails="layoutModelDetails" caption="页面链接" tooltip="" @itemClick="handleButtonClick" />
......
......@@ -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: '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 };
......@@ -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: '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 } ;
......
......@@ -3,13 +3,13 @@
<template v-if="!isLayoutLoadding">
<app-standard-container name="container1" :isMultiContainer="false" :layoutModelDetails="layoutModelDetails">
<template #author>
<app-panel-field name="author" caption="作者" :data="layoutData" :layoutModelDetails="layoutModelDetails" :value="layoutData.author"> <app-span name="author" :value="layoutData.author" :data="layoutData" :context="context" :viewparams="viewparams" :localContext='{ }' :localParam='{ }' /> </app-panel-field>
<app-panel-field name="author" caption="作者" :layoutModelDetails="layoutModelDetails" :value="layoutData.author"> <app-span name="author" :value="layoutData.author" :data="layoutData" :context="context" :viewparams="viewparams" :localContext='{ }' :localParam='{ }' /> </app-panel-field>
</template>
<template #press>
<app-panel-field name="press" caption="出版社" :data="layoutData" :layoutModelDetails="layoutModelDetails" :value="layoutData.press"> <app-span name="press" :value="layoutData.press" :data="layoutData" :context="context" :viewparams="viewparams" :localContext='{ }' :localParam='{ }' /> </app-panel-field>
<app-panel-field name="press" caption="出版社" :layoutModelDetails="layoutModelDetails" :value="layoutData.press"> <app-span name="press" :value="layoutData.press" :data="layoutData" :context="context" :viewparams="viewparams" :localContext='{ }' :localParam='{ }' /> </app-panel-field>
</template>
<template #bookname>
<app-panel-field name="bookname" caption="图书名" :data="layoutData" :layoutModelDetails="layoutModelDetails" :value="layoutData.bookname"> <app-span name="bookname" :value="layoutData.bookname" :data="layoutData" :context="context" :viewparams="viewparams" :localContext='{ }' :localParam='{ }' /> </app-panel-field>
<app-panel-field name="bookname" caption="图书名" :layoutModelDetails="layoutModelDetails" :value="layoutData.IBIZBOOKNAME"> <app-span name="bookname" :value="layoutData.bookname" :data="layoutData" :context="context" :viewparams="viewparams" :localContext='{ }' :localParam='{ }' /> </app-panel-field>
</template>
</app-standard-container>
</template>
......
......@@ -914,7 +914,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: 'IBIZOrderDetailGridView9'+(this.$t('app.gridpage.notConfig.fetchAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailSGridView'+(this.$t('app.gridpage.notConfig.fetchAction') as string) });
return;
}
if(pageReset){
......@@ -1009,7 +1009,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: 'IBIZOrderDetailGridView9'+(this.$t('app.gridpage.notConfig.removeAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailSGridView'+(this.$t('app.gridpage.notConfig.removeAction') as string) });
return;
}
let _datas:any[] = [];
......@@ -1115,7 +1115,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: 'IBIZOrderDetailGridView9'+(this.$t('app.gridpage.notConfig.fetchAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailSGridView'+(this.$t('app.gridpage.notConfig.fetchAction') as string) });
return;
}
if(!arg){
......@@ -1995,7 +1995,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: 'IBIZOrderDetailGridView9'+(this.$t('app.gridpage.notConfig.createAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailSGridView'+(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);
......@@ -2003,7 +2003,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: 'IBIZOrderDetailGridView9'+(this.$t('app.gridpage.notConfig.updateAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailSGridView'+(this.$t('app.gridpage.notConfig.updateAction') as string) });
}else{
Object.assign(item,{viewparams:this.viewparams});
if(item.ibizorderdetail){
......@@ -2070,7 +2070,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: 'IBIZOrderDetailGridView9'+(this.$t('app.gridpage.notConfig.loaddraftAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailSGridView'+(this.$t('app.gridpage.notConfig.loaddraftAction') as string) });
return;
}
let _this = this;
......
......@@ -96,6 +96,7 @@ export default class MainModel {
name: 'ibizorderdetail',
prop: 'ibizorderdetailid',
},
{
name:'size',
prop:'size',
......
......@@ -299,7 +299,7 @@ export default class MainBase extends Vue implements ControlInterface {
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof IBIZOrderSF1GridViewBase
* @memberof IBIZOrderPickupGridViewBase
*/
public Edit(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
if (args.length === 0) {
......@@ -421,20 +421,6 @@ 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;
/**
* 是否嵌入关系界面
......@@ -967,7 +953,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: 'IBIZOrderSF1GridView'+(this.$t('app.gridpage.notConfig.fetchAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderPickupGridView'+(this.$t('app.gridpage.notConfig.fetchAction') as string) });
return;
}
if(pageReset){
......@@ -1062,7 +1048,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: 'IBIZOrderSF1GridView'+(this.$t('app.gridpage.notConfig.removeAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderPickupGridView'+(this.$t('app.gridpage.notConfig.removeAction') as string) });
return;
}
let _datas:any[] = [];
......@@ -1168,7 +1154,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: 'IBIZOrderSF1GridView'+(this.$t('app.gridpage.notConfig.fetchAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderPickupGridView'+(this.$t('app.gridpage.notConfig.fetchAction') as string) });
return;
}
if(!arg){
......@@ -2085,7 +2071,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: 'IBIZOrderSF1GridView'+(this.$t('app.gridpage.notConfig.createAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderPickupGridView'+(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);
......@@ -2093,7 +2079,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: 'IBIZOrderSF1GridView'+(this.$t('app.gridpage.notConfig.updateAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderPickupGridView'+(this.$t('app.gridpage.notConfig.updateAction') as string) });
}else{
Object.assign(item,{viewparams:this.viewparams});
if(item.ibizorder){
......@@ -2160,7 +2146,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: 'IBIZOrderSF1GridView'+(this.$t('app.gridpage.notConfig.loaddraftAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderPickupGridView'+(this.$t('app.gridpage.notConfig.loaddraftAction') as string) });
return;
}
let _this = this;
......
......@@ -104,21 +104,6 @@ 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',
......
......@@ -1553,7 +1553,7 @@ export default class SFormBase extends Vue implements ControlInterface {
*/
public load(opt: any = {}): void {
if(!this.loadAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderSEditView3' + (this.$t('app.formpage.notconfig.loadaction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderTestCLEditView2' + (this.$t('app.formpage.notconfig.loadaction') as string) });
return;
}
const arg: any = { ...opt };
......@@ -1588,7 +1588,7 @@ export default class SFormBase extends Vue implements ControlInterface {
*/
public loadDraft(opt: any = {}): void {
if(!this.loaddraftAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderSEditView3' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderTestCLEditView2' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) });
return;
}
const arg: any = { ...opt } ;
......@@ -1650,7 +1650,7 @@ export default class SFormBase 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: 'IBIZOrderSEditView3' + (this.$t('app.formpage.notconfig.actionname') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderTestCLEditView2' + (this.$t('app.formpage.notconfig.actionname') as string) });
return;
}
Object.assign(arg,{viewparams:this.viewparams});
......@@ -1758,7 +1758,7 @@ export default class SFormBase 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: 'IBIZOrderSEditView3' + (this.$t('app.formpage.notconfig.actionname') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderTestCLEditView2' + (this.$t('app.formpage.notconfig.actionname') as string) });
return;
}
Object.assign(arg,{viewparams:this.viewparams});
......@@ -1835,7 +1835,7 @@ export default class SFormBase 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: 'IBIZOrderSEditView3' + (this.$t('app.formpage.notconfig.removeaction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderTestCLEditView2' + (this.$t('app.formpage.notconfig.removeaction') as string) });
return;
}
const arg: any = opt[0];
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册