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

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

上级 b71f4915
...@@ -62,7 +62,7 @@ function getLocaleResourceBase(){ ...@@ -62,7 +62,7 @@ function getLocaleResourceBase(){
uiactions: { uiactions: {
}, },
}, },
customeditviewusr1109559507toolbar_toolbar: { customeditviewtoolbar_toolbar: {
deuiaction1: { deuiaction1: {
caption: commonLogic.appcommonhandle("新建",null), caption: commonLogic.appcommonhandle("新建",null),
tip: commonLogic.appcommonhandle("新建",null), tip: commonLogic.appcommonhandle("新建",null),
...@@ -76,7 +76,7 @@ function getLocaleResourceBase(){ ...@@ -76,7 +76,7 @@ function getLocaleResourceBase(){
tip: commonLogic.appcommonhandle("保存并关闭",null), tip: commonLogic.appcommonhandle("保存并关闭",null),
}, },
}, },
customgridviewusr1109253798toolbar_toolbar: { customgridviewtoolbar_toolbar: {
tbitem3: { tbitem3: {
caption: commonLogic.appcommonhandle("新建",null), caption: commonLogic.appcommonhandle("新建",null),
tip: commonLogic.appcommonhandle("新建",null), tip: commonLogic.appcommonhandle("新建",null),
......
...@@ -62,7 +62,7 @@ function getLocaleResourceBase(){ ...@@ -62,7 +62,7 @@ function getLocaleResourceBase(){
uiactions: { uiactions: {
}, },
}, },
customeditviewusr1109559507toolbar_toolbar: { customeditviewtoolbar_toolbar: {
deuiaction1: { deuiaction1: {
caption: commonLogic.appcommonhandle("New",null), caption: commonLogic.appcommonhandle("New",null),
tip: commonLogic.appcommonhandle("New",null), tip: commonLogic.appcommonhandle("New",null),
...@@ -76,7 +76,7 @@ function getLocaleResourceBase(){ ...@@ -76,7 +76,7 @@ function getLocaleResourceBase(){
tip: commonLogic.appcommonhandle("Save And Close Window",null), tip: commonLogic.appcommonhandle("Save And Close Window",null),
}, },
}, },
customgridviewusr1109253798toolbar_toolbar: { customgridviewtoolbar_toolbar: {
tbitem3: { tbitem3: {
caption: commonLogic.appcommonhandle("New",null), caption: commonLogic.appcommonhandle("New",null),
tip: commonLogic.appcommonhandle("New",null), tip: commonLogic.appcommonhandle("New",null),
......
...@@ -62,7 +62,7 @@ function getLocaleResourceBase(){ ...@@ -62,7 +62,7 @@ function getLocaleResourceBase(){
uiactions: { uiactions: {
}, },
}, },
customeditviewusr1109559507toolbar_toolbar: { customeditviewtoolbar_toolbar: {
deuiaction1: { deuiaction1: {
caption: commonLogic.appcommonhandle("新建",null), caption: commonLogic.appcommonhandle("新建",null),
tip: commonLogic.appcommonhandle("新建",null), tip: commonLogic.appcommonhandle("新建",null),
...@@ -76,7 +76,7 @@ function getLocaleResourceBase(){ ...@@ -76,7 +76,7 @@ function getLocaleResourceBase(){
tip: commonLogic.appcommonhandle("保存并关闭",null), tip: commonLogic.appcommonhandle("保存并关闭",null),
}, },
}, },
customgridviewusr1109253798toolbar_toolbar: { customgridviewtoolbar_toolbar: {
tbitem3: { tbitem3: {
caption: commonLogic.appcommonhandle("新建",null), caption: commonLogic.appcommonhandle("新建",null),
tip: commonLogic.appcommonhandle("新建",null), tip: commonLogic.appcommonhandle("新建",null),
......
...@@ -2,10 +2,10 @@ ...@@ -2,10 +2,10 @@
import { Component } from 'vue-property-decorator'; import { Component } from 'vue-property-decorator';
import IBIZCustomCustomEditViewBase from './ibizcustom-custom-edit-view-base.vue'; import IBIZCustomCustomEditViewBase from './ibizcustom-custom-edit-view-base.vue';
import view_usr1109034916form from '@widgets/ibizcustom/main-form/main-form.vue'; import view_form from '@widgets/ibizcustom/main-form/main-form.vue';
@Component({ @Component({
components: { components: {
view_usr1109034916form, view_form,
}, },
beforeRouteEnter: (to: any, from: any, next: any) => { beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => { next((vm: any) => {
......
...@@ -2,12 +2,12 @@ ...@@ -2,12 +2,12 @@
import { Component } from 'vue-property-decorator'; import { Component } from 'vue-property-decorator';
import IBIZCustomCustomGridViewBase from './ibizcustom-custom-grid-view-base.vue'; import IBIZCustomCustomGridViewBase from './ibizcustom-custom-grid-view-base.vue';
import view_usr1109960278searchform from '@widgets/ibizcustom/default-searchform/default-searchform.vue'; import view_searchform from '@widgets/ibizcustom/default-searchform/default-searchform.vue';
import view_usr1109459025grid from '@widgets/ibizcustom/main-grid/main-grid.vue'; import view_grid from '@widgets/ibizcustom/main-grid/main-grid.vue';
@Component({ @Component({
components: { components: {
view_usr1109960278searchform, view_searchform,
view_usr1109459025grid, view_grid,
}, },
beforeRouteEnter: (to: any, from: any, next: any) => { beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => { next((vm: any) => {
......
...@@ -29,12 +29,6 @@ export default class CustomViewGridLoadUILogicBase { ...@@ -29,12 +29,6 @@ export default class CustomViewGridLoadUILogicBase {
* @memberof CustomViewGridLoadUILogicBase * @memberof CustomViewGridLoadUILogicBase
*/ */
protected logicParams: any[] = [ protected logicParams: any[] = [
{
name: '传入变量',
codeName: 'Default',
default: true,
entityParam: true,
},
{ {
name: '表格部件', name: '表格部件',
codeName: 'grid', codeName: 'grid',
...@@ -45,16 +39,22 @@ export default class CustomViewGridLoadUILogicBase { ...@@ -45,16 +39,22 @@ export default class CustomViewGridLoadUILogicBase {
codeName: 'searchForm', codeName: 'searchForm',
ctrlParam: true, ctrlParam: true,
}, },
{
name: '视图参数',
codeName: 'viewParam',
viewNavDataParam: true,
},
{ {
name: '当前视图', name: '当前视图',
codeName: 'view', codeName: 'view',
activeViewParam: true, activeViewParam: true,
}, },
{
name: '传入变量',
codeName: 'Default',
default: true,
entityParam: true,
},
{
name: '视图参数',
codeName: 'viewParam',
viewNavDataParam: true,
},
]; ];
/** /**
...@@ -130,37 +130,6 @@ export default class CustomViewGridLoadUILogicBase { ...@@ -130,37 +130,6 @@ export default class CustomViewGridLoadUILogicBase {
await this.execute_bindparam1_node(actionContext); await this.execute_bindparam1_node(actionContext);
} }
/**
* 表格加载
*
* @param {UIActionContext} actionContext 界面逻辑上下文
* @memberof CustomViewGridLoadUILogicBase
*/
protected async execute_viewctrlinvoke1_node(actionContext: UIActionContext) {
const invokeCtrl = 'grid';
const invokeMethod = 'load';
const invokeParam = 'viewParam';
if (!invokeCtrl || !invokeMethod) {
throw new Error(`界面对象或者调用方法缺失`);
}
const invokeUICtrl = actionContext.getParam(invokeCtrl).getReal();
if (invokeUICtrl[invokeMethod] && invokeUICtrl[invokeMethod] instanceof Function) {
try {
const result = await invokeUICtrl[invokeMethod]();
if (invokeParam) {
actionContext.getParam(invokeParam).bind(result);
}
actionContext.bindLastReturnParam(result);
} catch (error:any) {
throw new Error(`${invokeCtrl}界面对象调用${invokeMethod}方法发生异常`);
}
} else {
throw new Error(`${invokeCtrl}界面对象不存在${invokeMethod}方法`);
}
console.log('已完成执行 表格加载 节点');
await this.execute_end1_node(actionContext);
}
/** /**
* 绑定表格 * 绑定表格
* *
...@@ -247,6 +216,37 @@ export default class CustomViewGridLoadUILogicBase { ...@@ -247,6 +216,37 @@ export default class CustomViewGridLoadUILogicBase {
console.log('已完成执行 结束 节点'); console.log('已完成执行 结束 节点');
} }
/**
* 表格加载
*
* @param {UIActionContext} actionContext 界面逻辑上下文
* @memberof CustomViewGridLoadUILogicBase
*/
protected async execute_viewctrlinvoke1_node(actionContext: UIActionContext) {
const invokeCtrl = 'grid';
const invokeMethod = 'load';
const invokeParam = 'viewParam';
if (!invokeCtrl || !invokeMethod) {
throw new Error(`界面对象或者调用方法缺失`);
}
const invokeUICtrl = actionContext.getParam(invokeCtrl).getReal();
if (invokeUICtrl[invokeMethod] && invokeUICtrl[invokeMethod] instanceof Function) {
try {
const result = await invokeUICtrl[invokeMethod]();
if (invokeParam) {
actionContext.getParam(invokeParam).bind(result);
}
actionContext.bindLastReturnParam(result);
} catch (error:any) {
throw new Error(`${invokeCtrl}界面对象调用${invokeMethod}方法发生异常`);
}
} else {
throw new Error(`${invokeCtrl}界面对象不存在${invokeMethod}方法`);
}
console.log('已完成执行 表格加载 节点');
await this.execute_end1_node(actionContext);
}
/** /**
* 搜索表单加载草稿 * 搜索表单加载草稿
* *
......
import { UIActionContext } from "@/logic/ui-logic";
import { LogicReturnType } from "@/logic/const/logic-return-type";
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";
/**
* Custom表单加载
*
* @export
* @class CustomViewFormLoadUILogicBase
*/
export default class CustomViewFormLoadUILogicBase {
/**
* Creates an instance of CustomViewFormLoadBase.
*
* @param {*} [opts={}]
* @memberof CustomViewFormLoadUILogicBase
*/
constructor(opts: any = {}) { }
/**
* 逻辑参数
*
* @protected
* @type {any[]}
* @memberof CustomViewFormLoadUILogicBase
*/
protected logicParams: any[] = [
{
name: '当前视图参数',
codeName: 'viewParam',
viewNavDataParam: true,
},
{
name: '传入变量',
codeName: 'Default',
default: true,
entityParam: true,
},
{
name: '当前视图',
codeName: 'view',
activeViewParam: true,
},
{
name: '表单部件',
codeName: 'form',
ctrlParam: true,
},
{
name: '上下文',
codeName: 'context',
navContextParam: true,
},
];
/**
* 执行前
*
* @param {*} args
* @param {*} [context={}]
* @param {*} [params={}]
* @param {*} [$event]
* @param {*} [xData]
* @param {*} [actioncontext]
* @param {string} [srfParentDeName]
* @return {*}
* @memberof CustomViewFormLoadUILogicBase
*/
public beforeExecute(args: any, context: any = {}, params: any = {},
$event?: any, xData?: any, actioncontext?: any, srfParentDeName?: string) {
return new UIActionContext(this.logicParams, args, context, params, $event, xData, actioncontext, srfParentDeName)
}
/**
* 执行
*
* @param {any[]} args
* @param {*} [context={}]
* @param {*} [params={}]
* @param {*} [$event]
* @param {*} [xData]
* @param {*} [actionContext]
* @param {string} [srfParentDeName]
* @memberof CustomViewFormLoadUILogicBase
*/
async execute(args: any[], context:any = {} ,params: any = {}, $event?: any, xData?: any, actioncontext?: any, srfParentDeName?: string) {
try {
const actionContext = this.beforeExecute(args, context, params, $event, xData, actioncontext, srfParentDeName);
await this.execute_begin_node(actionContext);
return actionContext.getResult();
} catch (error: any) {
throw new Error(`${error && error.message ? error.message : '发生未知错误!'}`);
}
}
/**
* 获取条件参数
*
* @param {UIActionContext} actionContext 界面逻辑上下文
* @param {string} param 节点参数
* @param {string} property 参数属性
* @return {*}
* @memberof CustomViewFormLoadUILogicBase
*/
public getCondParam(actionContext: UIActionContext, param: string, property: string) {
const resultParam = actionContext.getParam(param).getReal();
// 当不存在参数属性时,返回直接值
if (property === '') {
return resultParam;
}
if (resultParam && resultParam.hasOwnProperty(property)) {
return resultParam[property];
}
return null;
}
/**
* 开始
*
* @param {UIActionContext} actionContext 界面逻辑上下文
* @memberof CustomViewFormLoadUILogicBase
*/
protected async execute_begin_node(actionContext: UIActionContext) {
actionContext.setResult(actionContext.defaultParam.getReal());
console.log('已完成执行 开始 节点');
await this.execute_bindparam1_node(actionContext);
}
/**
* 调用加载草稿
*
* @param {UIActionContext} actionContext 界面逻辑上下文
* @memberof CustomViewFormLoadUILogicBase
*/
protected async execute_viewctrlinvoke2_node(actionContext: UIActionContext) {
const invokeCtrl = 'form';
const invokeMethod = 'loadDraft';
const invokeParam = 'viewParam';
if (!invokeCtrl || !invokeMethod) {
throw new Error(`界面对象或者调用方法缺失`);
}
const invokeUICtrl = actionContext.getParam(invokeCtrl).getReal();
if (invokeUICtrl[invokeMethod] && invokeUICtrl[invokeMethod] instanceof Function) {
try {
const result = await invokeUICtrl[invokeMethod]();
if (invokeParam) {
actionContext.getParam(invokeParam).bind(result);
}
actionContext.bindLastReturnParam(result);
} catch (error:any) {
throw new Error(`${invokeCtrl}界面对象调用${invokeMethod}方法发生异常`);
}
} else {
throw new Error(`${invokeCtrl}界面对象不存在${invokeMethod}方法`);
}
console.log('已完成执行 调用加载草稿 节点');
await this.execute_end1_node(actionContext);
}
/**
* 调用load
*
* @param {UIActionContext} actionContext 界面逻辑上下文
* @memberof CustomViewFormLoadUILogicBase
*/
protected async execute_viewctrlinvoke1_node(actionContext: UIActionContext) {
const invokeCtrl = 'form';
const invokeMethod = 'load';
const invokeParam = 'viewParam';
if (!invokeCtrl || !invokeMethod) {
throw new Error(`界面对象或者调用方法缺失`);
}
const invokeUICtrl = actionContext.getParam(invokeCtrl).getReal();
if (invokeUICtrl[invokeMethod] && invokeUICtrl[invokeMethod] instanceof Function) {
try {
const result = await invokeUICtrl[invokeMethod]();
if (invokeParam) {
actionContext.getParam(invokeParam).bind(result);
}
actionContext.bindLastReturnParam(result);
} catch (error:any) {
throw new Error(`${invokeCtrl}界面对象调用${invokeMethod}方法发生异常`);
}
} else {
throw new Error(`${invokeCtrl}界面对象不存在${invokeMethod}方法`);
}
console.log('已完成执行 调用load 节点');
await this.execute_end1_node(actionContext);
}
/**
* 绑定表单
*
* @param {UIActionContext} actionContext 界面逻辑上下文
* @memberof CustomViewFormLoadUILogicBase
*/
protected async execute_bindparam1_node(actionContext: UIActionContext) {
try {
// 源数据
const srcParam = actionContext.getParam('view');
// 目标数据
const dstParam = actionContext.getParam('form');
// 源属性
const srcFieldName: string = 'form';
if (srcFieldName) {
dstParam.bind(srcParam.get(srcFieldName));
} else {
dstParam.bind(srcParam.getReal());
}
actionContext.bindLastReturnParam(null);
} catch (error: any) {
throw new Error(`逻辑参数表单部件 ${error && error.message ? error.message : '发生未知错误!'}`);
}
console.log('已完成执行 绑定表单 节点');
if(Verify.testCond(this.getCondParam(actionContext, 'context', 'ibizbook'), 'ISNOTNULL', '')) {
await this.execute_viewctrlinvoke1_node(actionContext);
}
if(Verify.testCond(this.getCondParam(actionContext, 'context', 'ibizbook'), 'EQ', '')) {
await this.execute_viewctrlinvoke2_node(actionContext);
}
}
/**
* 结束
*
* @param {UIActionContext} actionContext 界面逻辑上下文
* @memberof CustomViewFormLoadUILogicBase
*/
protected async execute_end1_node(actionContext: UIActionContext) {
const strReturnType: string = 'NONEVALUE';
if (Object.is(strReturnType, LogicReturnType.NONEVALUE) || Object.is(strReturnType, LogicReturnType.NULLVALUE)) {
actionContext.setResult(null);
} else if (Object.is(strReturnType, LogicReturnType.SRCVALUE)) {
actionContext.setResult('');
} else if (Object.is(strReturnType, LogicReturnType.BREAK)) {
actionContext.setResult(LogicReturnType.BREAK);
} else if (Object.is(strReturnType, LogicReturnType.LOGICPARAM) || Object.is(strReturnType, LogicReturnType.LOGICPARAMFIELD)) {
const returnParam = actionContext.getParam('');
if (Object.is(strReturnType, LogicReturnType.LOGICPARAM)) {
actionContext.setResult(returnParam.getReal());
} else {
actionContext.setResult(returnParam.get(''));
}
} else {
throw new Error(`无法识别的返回值类型${strReturnType}`);
}
console.log('已完成执行 结束 节点');
}
}
\ No newline at end of file
import { Http,Util } from '@/utils';
import CustomViewFormLoadUILogicBase from './custom-view-form-load-ui-logic-base';
/**
* Custom表单加载
*
* @export
* @class CustomViewFormLoadUILogic
*/
export default class CustomViewFormLoadUILogic extends CustomViewFormLoadUILogicBase {
/**
* Custom表单加载 逻辑实例对象
*
* @private
* @static
* @type {CustomViewFormLoadUILogic}
* @memberof CustomViewFormLoadUILogic
*/
private static instance: CustomViewFormLoadUILogic;
/**
* 获取 Custom表单加载 逻辑实例对象
*
* @static
* @return {*} {CustomViewFormLoadUILogic}
* @memberof CustomViewFormLoadUILogic
*/
static getInstance(): CustomViewFormLoadUILogic {
if (!this.instance) {
this.instance = new CustomViewFormLoadUILogic();
}
return this.instance;
}
/**
* Creates an instance of CustomViewFormLoadUILogic
*
* @param {*} [opts={}]
* @memberof CustomViewFormLoadUILogic
*/
constructor(opts: any = {}) {
super(opts);
}
}
\ No newline at end of file
import { Http,Util } from '@/utils';
import CustomViewGridLoadUILogicBase from './custom-view-grid-load-ui-logic-base';
/**
* Custom表格加载
*
* @export
* @class CustomViewGridLoadUILogic
*/
export default class CustomViewGridLoadUILogic extends CustomViewGridLoadUILogicBase {
/**
* Custom表格加载 逻辑实例对象
*
* @private
* @static
* @type {CustomViewGridLoadUILogic}
* @memberof CustomViewGridLoadUILogic
*/
private static instance: CustomViewGridLoadUILogic;
/**
* 获取 Custom表格加载 逻辑实例对象
*
* @static
* @return {*} {CustomViewGridLoadUILogic}
* @memberof CustomViewGridLoadUILogic
*/
static getInstance(): CustomViewGridLoadUILogic {
if (!this.instance) {
this.instance = new CustomViewGridLoadUILogic();
}
return this.instance;
}
/**
* Creates an instance of CustomViewGridLoadUILogic
*
* @param {*} [opts={}]
* @memberof CustomViewGridLoadUILogic
*/
constructor(opts: any = {}) {
super(opts);
}
}
\ No newline at end of file
...@@ -4,6 +4,8 @@ import UIService from '../ui-service'; ...@@ -4,6 +4,8 @@ import UIService from '../ui-service';
import { Subject } from 'rxjs'; import { Subject } from 'rxjs';
import IBIZCustomService from '@/service/ibizcustom/ibizcustom-service'; import IBIZCustomService from '@/service/ibizcustom/ibizcustom-service';
import IBIZCustomAuthService from '@/authservice/ibizcustom/ibizcustom-auth-service'; import IBIZCustomAuthService from '@/authservice/ibizcustom/ibizcustom-auth-service';
import CustomViewFormLoadUILogic from './custom-view-form-load-ui-logic';
import CustomViewGridLoadUILogic from './custom-view-grid-load-ui-logic';
/** /**
* 自定义UI服务对象基类 * 自定义UI服务对象基类
...@@ -269,6 +271,12 @@ export default class IBIZCustomUIServiceBase extends UIService { ...@@ -269,6 +271,12 @@ export default class IBIZCustomUIServiceBase extends UIService {
* @memberof UIService * @memberof UIService
*/ */
public async executeUILogic(name: string, args: any[], context?: any, params?: any, $event?: any, xData?: any, actionContext?: any, srfParentDeName?: string | undefined): Promise<any> { public async executeUILogic(name: string, args: any[], context?: any, params?: any, $event?: any, xData?: any, actionContext?: any, srfParentDeName?: string | undefined): Promise<any> {
if (name === 'CustomViewFormLoad') {
return await CustomViewFormLoadUILogic.getInstance().execute(args, context, params, $event, xData, actionContext, srfParentDeName);
}
if (name === 'CustomViewGridLoad') {
return await CustomViewGridLoadUILogic.getInstance().execute(args, context, params, $event, xData, actionContext, srfParentDeName);
}
} }
} }
\ No newline at end of file
...@@ -701,7 +701,7 @@ export default class DefaultBase extends Vue implements ControlInterface { ...@@ -701,7 +701,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: 'IBIZBOOKUsr3GridView' + (this.$t('app.searchForm.notConfig.loadAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr5DataView' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
return; return;
} }
const arg: any = { ...opt }; const arg: any = { ...opt };
...@@ -737,7 +737,7 @@ export default class DefaultBase extends Vue implements ControlInterface { ...@@ -737,7 +737,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: 'IBIZBOOKUsr3GridView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr5DataView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
return; return;
} }
const arg: any = { ...opt } ; const arg: any = { ...opt } ;
......
...@@ -1352,7 +1352,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface ...@@ -1352,7 +1352,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 };
...@@ -1387,7 +1387,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface ...@@ -1387,7 +1387,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 } ;
...@@ -1448,7 +1448,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface ...@@ -1448,7 +1448,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});
...@@ -1556,7 +1556,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface ...@@ -1556,7 +1556,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});
...@@ -1630,7 +1630,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface ...@@ -1630,7 +1630,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];
......
...@@ -1318,7 +1318,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface ...@@ -1318,7 +1318,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 };
...@@ -1353,7 +1353,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface ...@@ -1353,7 +1353,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 } ;
...@@ -1414,7 +1414,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface ...@@ -1414,7 +1414,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});
...@@ -1522,7 +1522,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface ...@@ -1522,7 +1522,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});
...@@ -1596,7 +1596,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface ...@@ -1596,7 +1596,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];
......
...@@ -1421,7 +1421,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface { ...@@ -1421,7 +1421,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 };
...@@ -1456,7 +1456,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface { ...@@ -1456,7 +1456,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 } ;
...@@ -1517,7 +1517,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface { ...@@ -1517,7 +1517,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});
...@@ -1625,7 +1625,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface { ...@@ -1625,7 +1625,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});
...@@ -1699,7 +1699,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface { ...@@ -1699,7 +1699,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];
......
<template> <template>
<i-form :model="this.data" class='app-search-form' ref='usr1109960278searchform' style=""> <i-form :model="this.data" class='app-search-form' ref='searchform' style="">
<input style="display:none;"/> <input style="display:none;"/>
<row> <row>
<i-col span="20" class="form-content"> <i-col span="20" class="form-content">
...@@ -496,7 +496,7 @@ export default class DefaultBase extends Vue implements ControlInterface { ...@@ -496,7 +496,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
* @memberof DefaultBase * @memberof DefaultBase
*/ */
public formValidateStatus(): boolean { public formValidateStatus(): boolean {
const form: any = this.$refs.usr1109960278searchform; const form: any = this.$refs.searchform;
let validatestate: boolean = true; let validatestate: boolean = true;
form.validate((valid: boolean) => { form.validate((valid: boolean) => {
validatestate = valid ? true : false; validatestate = valid ? true : false;
......
<template> <template>
<i-form :model="this.data" class='app-form' ref='usr1109034916form' id='ibizcustom_main' style="" @on-validate="formItemValidate"> <i-form :model="this.data" class='app-form' ref='form' id='ibizcustom_main' style="" @on-validate="formItemValidate">
<input style="display:none;" /> <input style="display:none;" />
<row > <row >
<tabs :animated="false" name='main' :value="detailsModel.usr1109034916form.activiedPage" <tabs :animated="false" name='main' :value="detailsModel.form.activiedPage"
@on-click="detailsModel.usr1109034916form.clickPage($event)"> @on-click="detailsModel.form.clickPage($event)">
<tab-pane v-show="detailsModel.formpage1.visible" name='formpage1' :index="0" tab='main' class='' <tab-pane v-show="detailsModel.formpage1.visible" name='formpage1' :index="0" tab='main' class=''
:label="(h) =>{ :label="(h) =>{
return h('span',{ return h('span',{
...@@ -743,7 +743,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -743,7 +743,7 @@ export default class MainBase extends Vue implements ControlInterface {
, ,
ibizcustomid: new FormItemModel({ caption: '自定义标识', detailType: 'FORMITEM', name: 'ibizcustomid', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 }) ibizcustomid: new FormItemModel({ caption: '自定义标识', detailType: 'FORMITEM', name: 'ibizcustomid', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
, ,
usr1109034916form: new FormTabPanelModel({ caption: 'usr1109034916form', detailType: 'TABPANEL', name: 'usr1109034916form', visible: true, isShowCaption: true, form: this, tabPages: [{ name: 'formpage1', index: 0, visible: true }, { name: 'formpage2', index: 1, visible: true }] }), form: new FormTabPanelModel({ caption: 'form', detailType: 'TABPANEL', name: 'form', visible: true, isShowCaption: true, form: this, tabPages: [{ name: 'formpage1', index: 0, visible: true }, { name: 'formpage2', index: 1, visible: true }] }),
}; };
/** /**
...@@ -1143,7 +1143,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -1143,7 +1143,7 @@ export default class MainBase extends Vue implements ControlInterface {
* @memberof MainBase * @memberof MainBase
*/ */
public formValidateStatus(): boolean { public formValidateStatus(): boolean {
const form: any = this.$refs.usr1109034916form; const form: any = this.$refs.form;
let validatestate: boolean = true; let validatestate: boolean = true;
form.validate((valid: boolean) => { form.validate((valid: boolean) => {
validatestate = valid ? true : false; validatestate = valid ? true : false;
......
...@@ -1821,7 +1821,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -1821,7 +1821,7 @@ export default class MainBase extends Vue implements ControlInterface {
* @memberof MainBase * @memberof MainBase
*/ */
public setColState() { public setColState() {
const _data: any = localStorage.getItem('ibizcustom_main_usr1109459025grid'); const _data: any = localStorage.getItem('ibizcustom_main_grid');
if (_data) { if (_data) {
let columns = JSON.parse(_data); let columns = JSON.parse(_data);
columns.forEach((col: any) => { columns.forEach((col: any) => {
...@@ -1839,7 +1839,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -1839,7 +1839,7 @@ export default class MainBase extends Vue implements ControlInterface {
* @memberof MainBase * @memberof MainBase
*/ */
public onColChange() { public onColChange() {
localStorage.setItem('ibizcustom_main_usr1109459025grid', JSON.stringify(this.allColumns)); localStorage.setItem('ibizcustom_main_grid', JSON.stringify(this.allColumns));
} }
/** /**
......
...@@ -10,7 +10,7 @@ export default class MainModel { ...@@ -10,7 +10,7 @@ export default class MainModel {
* 是否是实体数据导出 * 是否是实体数据导出
* *
* @returns {any[]} * @returns {any[]}
* @memberof MainUsr1109459025gridMode * @memberof MainGridMode
*/ */
public isDEExport: boolean = false; public isDEExport: boolean = false;
...@@ -18,7 +18,7 @@ export default class MainModel { ...@@ -18,7 +18,7 @@ export default class MainModel {
* 获取数据项集合 * 获取数据项集合
* *
* @returns {any[]} * @returns {any[]}
* @memberof MainUsr1109459025gridMode * @memberof MainGridMode
*/ */
public getDataItems(): any[] { public getDataItems(): any[] {
if(this.isDEExport){ if(this.isDEExport){
...@@ -66,6 +66,12 @@ export default class MainModel { ...@@ -66,6 +66,12 @@ export default class MainModel {
name: 'ibizcustom', name: 'ibizcustom',
prop: 'ibizcustomid', prop: 'ibizcustomid',
}, },
{
name: 'n_ibizcustomname_like',
prop: 'n_ibizcustomname_like',
dataType: 'QUERYPARAM'
},
{ {
name:'size', name:'size',
prop:'size', prop:'size',
......
...@@ -574,7 +574,7 @@ export default class ListExpBase extends Vue implements ControlInterface { ...@@ -574,7 +574,7 @@ export default class ListExpBase extends Vue implements ControlInterface {
*/ */
public load(opt: any = {}): void { public load(opt: any = {}): void {
if(!this.fetchAction){ if(!this.fetchAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderListExpView_layout' + (this.$t('app.list.notConfig.fetchAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderListExpView' + (this.$t('app.list.notConfig.fetchAction') as string) });
return; return;
} }
const arg: any = {...opt}; const arg: any = {...opt};
...@@ -690,7 +690,7 @@ export default class ListExpBase extends Vue implements ControlInterface { ...@@ -690,7 +690,7 @@ export default class ListExpBase 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: 'IBIZOrderListExpView_layout' + (this.$t('app.list.notConfig.removeAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderListExpView' + (this.$t('app.list.notConfig.removeAction') as string) });
return; return;
} }
if (datas.length === 0) { if (datas.length === 0) {
...@@ -785,7 +785,7 @@ export default class ListExpBase extends Vue implements ControlInterface { ...@@ -785,7 +785,7 @@ export default class ListExpBase 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: 'IBIZOrderListExpView_layout' + (this.$t('app.list.notConfig.createAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderListExpView' + (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);
...@@ -793,7 +793,7 @@ export default class ListExpBase extends Vue implements ControlInterface { ...@@ -793,7 +793,7 @@ export default class ListExpBase 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.warning') as string), desc: 'IBIZOrderListExpView_layout' + (this.$t('app.list.notConfig.updateAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.warning') as string), desc: 'IBIZOrderListExpView' + (this.$t('app.list.notConfig.updateAction') as string) });
}else{ }else{
Object.assign(item,{viewparams:this.viewparams}); Object.assign(item,{viewparams:this.viewparams});
if(item.ibizorder){ if(item.ibizorder){
......
...@@ -2449,31 +2449,6 @@ ...@@ -2449,31 +2449,6 @@
} }
} ], } ],
"parallelOutput" : true "parallelOutput" : true
}, {
"codeName" : "VIEWCTRLINVOKE1",
"getInvokeCtrl" : {
"modelref" : true,
"id" : "grid"
},
"invokeMethod" : "load",
"getInvokeParam" : {
"modelref" : true,
"id" : "viewParam"
},
"logicNodeType" : "VIEWCTRLINVOKE",
"name" : "表格加载",
"getPSDEUILogicLinks" : [ {
"getDstPSDEUILogicNode" : {
"modelref" : true,
"id" : "END1"
},
"linkMode" : 0,
"name" : "连接名称",
"getSrcPSDEUILogicNode" : {
"modelref" : true,
"id" : "VIEWCTRLINVOKE1"
}
} ]
}, { }, {
"codeName" : "BINDPARAM2", "codeName" : "BINDPARAM2",
"getDstPSDEUILogicParam" : { "getDstPSDEUILogicParam" : {
...@@ -2566,6 +2541,31 @@ ...@@ -2566,6 +2541,31 @@
"logicNodeType" : "END", "logicNodeType" : "END",
"name" : "结束", "name" : "结束",
"returnType" : "NONEVALUE" "returnType" : "NONEVALUE"
}, {
"codeName" : "VIEWCTRLINVOKE1",
"getInvokeCtrl" : {
"modelref" : true,
"id" : "grid"
},
"invokeMethod" : "load",
"getInvokeParam" : {
"modelref" : true,
"id" : "viewParam"
},
"logicNodeType" : "VIEWCTRLINVOKE",
"name" : "表格加载",
"getPSDEUILogicLinks" : [ {
"getDstPSDEUILogicNode" : {
"modelref" : true,
"id" : "END1"
},
"linkMode" : 0,
"name" : "连接名称",
"getSrcPSDEUILogicNode" : {
"modelref" : true,
"id" : "VIEWCTRLINVOKE1"
}
} ]
}, { }, {
"codeName" : "VIEWCTRLINVOKE2", "codeName" : "VIEWCTRLINVOKE2",
"getInvokeCtrl" : { "getInvokeCtrl" : {
...@@ -2593,12 +2593,6 @@ ...@@ -2593,12 +2593,6 @@
} ] } ]
} ], } ],
"getPSDEUILogicParams" : [ { "getPSDEUILogicParams" : [ {
"codeName" : "Default",
"logicName" : "传入变量",
"name" : "传入变量",
"default" : true,
"entityParam" : true
}, {
"codeName" : "grid", "codeName" : "grid",
"logicName" : "表格部件", "logicName" : "表格部件",
"name" : "表格部件", "name" : "表格部件",
...@@ -2608,16 +2602,22 @@ ...@@ -2608,16 +2602,22 @@
"logicName" : "搜索表单部件", "logicName" : "搜索表单部件",
"name" : "搜索表单部件", "name" : "搜索表单部件",
"ctrlParam" : true "ctrlParam" : true
}, {
"codeName" : "viewParam",
"logicName" : "视图参数",
"name" : "视图参数",
"viewNavDataParam" : true
}, { }, {
"codeName" : "view", "codeName" : "view",
"logicName" : "当前视图", "logicName" : "当前视图",
"name" : "当前视图", "name" : "当前视图",
"activeViewParam" : true "activeViewParam" : true
}, {
"codeName" : "Default",
"logicName" : "传入变量",
"name" : "传入变量",
"default" : true,
"entityParam" : true
}, {
"codeName" : "viewParam",
"logicName" : "视图参数",
"name" : "视图参数",
"viewNavDataParam" : true
} ], } ],
"getStartPSDEUILogicNode" : { "getStartPSDEUILogicNode" : {
"modelref" : true, "modelref" : true,
......
...@@ -19,21 +19,21 @@ ...@@ -19,21 +19,21 @@
} }
} ], } ],
"getPSDETreeColumns" : [ { "getPSDETreeColumns" : [ {
"caption" : "图书名称", "caption" : "作者",
"codeName" : "ibizbookname", "codeName" : "author",
"columnType" : "DEFGRIDCOLUMN", "columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "ibizbookname", "dataItemName" : "author",
"name" : "ibizbookname", "name" : "author",
"width" : 50, "width" : 50,
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
"enableSort" : false "enableSort" : false
}, { }, {
"caption" : "作者", "caption" : "图书名称",
"codeName" : "author", "codeName" : "ibizbookname",
"columnType" : "DEFGRIDCOLUMN", "columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "author", "dataItemName" : "ibizbookname",
"name" : "author", "name" : "ibizbookname",
"width" : 50, "width" : 50,
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
......
...@@ -75,21 +75,21 @@ ...@@ -75,21 +75,21 @@
"id" : "TREEGRIDEX" "id" : "TREEGRIDEX"
}, },
"getPSDETreeColumns" : [ { "getPSDETreeColumns" : [ {
"caption" : "图书名称", "caption" : "作者",
"codeName" : "ibizbookname", "codeName" : "author",
"columnType" : "DEFGRIDCOLUMN", "columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "ibizbookname", "dataItemName" : "author",
"name" : "ibizbookname", "name" : "author",
"width" : 50, "width" : 50,
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
"enableSort" : false "enableSort" : false
}, { }, {
"caption" : "作者", "caption" : "图书名称",
"codeName" : "author", "codeName" : "ibizbookname",
"columnType" : "DEFGRIDCOLUMN", "columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "author", "dataItemName" : "ibizbookname",
"name" : "author", "name" : "ibizbookname",
"width" : 50, "width" : 50,
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
......
...@@ -101,7 +101,7 @@ ...@@ -101,7 +101,7 @@
"caption" : "工具栏", "caption" : "工具栏",
"itemStyle" : "DEFAULT", "itemStyle" : "DEFAULT",
"itemType" : "CTRLPOS", "itemType" : "CTRLPOS",
"name" : "usr1109559507toolbar", "name" : "toolbar",
"getPSLayoutPos" : { "getPSLayoutPos" : {
"grow" : -1, "grow" : -1,
"layout" : "SIMPLEFLEX" "layout" : "SIMPLEFLEX"
...@@ -113,7 +113,7 @@ ...@@ -113,7 +113,7 @@
"caption" : "表单", "caption" : "表单",
"itemStyle" : "DEFAULT", "itemStyle" : "DEFAULT",
"itemType" : "CTRLPOS", "itemType" : "CTRLPOS",
"name" : "usr1109034916form", "name" : "form",
"getPSLayoutPos" : { "getPSLayoutPos" : {
"grow" : -1, "grow" : -1,
"layout" : "FLEX" "layout" : "FLEX"
...@@ -132,83 +132,96 @@ ...@@ -132,83 +132,96 @@
"eventNames" : "CLICK", "eventNames" : "CLICK",
"logicTrigger" : "CTRLEVENT", "logicTrigger" : "CTRLEVENT",
"logicType" : "APPVIEWUIACTION", "logicType" : "APPVIEWUIACTION",
"name" : "usr1109559507toolbar_deuiaction1_click", "name" : "toolbar_deuiaction1_click",
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "usr1109559507toolbar_deuiaction1" "id" : "toolbar_deuiaction1"
}, },
"getPSViewCtrlName" : "usr1109559507toolbar" "getPSViewCtrlName" : "toolbar"
}, { }, {
"eventArg" : "tbitem3", "eventArg" : "tbitem3",
"eventNames" : "CLICK", "eventNames" : "CLICK",
"logicTrigger" : "CTRLEVENT", "logicTrigger" : "CTRLEVENT",
"logicType" : "APPVIEWUIACTION", "logicType" : "APPVIEWUIACTION",
"name" : "usr1109559507toolbar_tbitem3_click", "name" : "toolbar_tbitem3_click",
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "usr1109559507toolbar_tbitem3" "id" : "toolbar_tbitem3"
}, },
"getPSViewCtrlName" : "usr1109559507toolbar" "getPSViewCtrlName" : "toolbar"
}, { }, {
"eventArg" : "tbitem5", "eventArg" : "tbitem5",
"eventNames" : "CLICK", "eventNames" : "CLICK",
"logicTrigger" : "CTRLEVENT", "logicTrigger" : "CTRLEVENT",
"logicType" : "APPVIEWUIACTION", "logicType" : "APPVIEWUIACTION",
"name" : "usr1109559507toolbar_tbitem5_click", "name" : "toolbar_tbitem5_click",
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "usr1109559507toolbar_tbitem5" "id" : "toolbar_tbitem5"
}, },
"getPSViewCtrlName" : "usr1109559507toolbar" "getPSViewCtrlName" : "toolbar"
}, { }, {
"eventArg" : "tbitem9", "eventArg" : "tbitem9",
"eventNames" : "CLICK", "eventNames" : "CLICK",
"logicTrigger" : "CTRLEVENT", "logicTrigger" : "CTRLEVENT",
"logicType" : "APPVIEWUIACTION", "logicType" : "APPVIEWUIACTION",
"name" : "usr1109559507toolbar_tbitem9_click", "name" : "toolbar_tbitem9_click",
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "usr1109559507toolbar_tbitem9" "id" : "toolbar_tbitem9"
}, },
"getPSViewCtrlName" : "usr1109559507toolbar" "getPSViewCtrlName" : "toolbar"
}, { }, {
"eventArg" : "tbitem15", "eventArg" : "tbitem15",
"eventNames" : "CLICK", "eventNames" : "CLICK",
"logicTrigger" : "CTRLEVENT", "logicTrigger" : "CTRLEVENT",
"logicType" : "APPVIEWUIACTION", "logicType" : "APPVIEWUIACTION",
"name" : "usr1109559507toolbar_tbitem15_click", "name" : "toolbar_tbitem15_click",
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "usr1109559507toolbar_tbitem15" "id" : "toolbar_tbitem15"
}, },
"getPSViewCtrlName" : "usr1109559507toolbar" "getPSViewCtrlName" : "toolbar"
}, {
"eventNames" : "onViewMounted",
"logicTrigger" : "VIEWEVENT",
"logicType" : "DEUILOGIC",
"name" : "FORMLOAD",
"getPSAppDEUILogic" : {
"modelref" : true,
"id" : "CustomViewFormLoad"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZCustom.json"
}
} ], } ],
"getPSAppViewUIActions" : [ { "getPSAppViewUIActions" : [ {
"name" : "usr1109559507toolbar_deuiaction1", "name" : "toolbar_deuiaction1",
"getPSUIAction" : { "getPSUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "New" "id" : "New"
} }
}, { }, {
"name" : "usr1109559507toolbar_tbitem3", "name" : "toolbar_tbitem3",
"getPSUIAction" : { "getPSUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "Save" "id" : "Save"
} }
}, { }, {
"name" : "usr1109559507toolbar_tbitem5", "name" : "toolbar_tbitem5",
"getPSUIAction" : { "getPSUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "SaveAndExit" "id" : "SaveAndExit"
} }
}, { }, {
"name" : "usr1109559507toolbar_tbitem9", "name" : "toolbar_tbitem9",
"getPSUIAction" : { "getPSUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "SaveAndStart" "id" : "SaveAndStart"
} }
}, { }, {
"name" : "usr1109559507toolbar_tbitem15", "name" : "toolbar_tbitem15",
"getPSUIAction" : { "getPSUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "Print" "id" : "Print"
...@@ -216,11 +229,11 @@ ...@@ -216,11 +229,11 @@
"uIActionTarget" : "SINGLEKEY" "uIActionTarget" : "SINGLEKEY"
} ], } ],
"getPSControls" : [ { "getPSControls" : [ {
"codeName" : "CustomEditViewusr1109559507toolbar", "codeName" : "CustomEditViewtoolbar",
"controlType" : "TOOLBAR", "controlType" : "TOOLBAR",
"hookEventNames" : [ "CLICK" ], "hookEventNames" : [ "CLICK" ],
"logicName" : "工具栏模板(默认编辑界面)", "logicName" : "工具栏模板(默认编辑界面)",
"name" : "usr1109559507toolbar", "name" : "toolbar",
"getPSAppDataEntity" : { "getPSAppDataEntity" : {
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZCustom.json" "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZCustom.json"
...@@ -228,56 +241,56 @@ ...@@ -228,56 +241,56 @@
"getPSControlLogics" : [ { "getPSControlLogics" : [ {
"eventArg" : "deuiaction1", "eventArg" : "deuiaction1",
"eventNames" : "CLICK", "eventNames" : "CLICK",
"logicTag" : "usr1109559507toolbar", "logicTag" : "toolbar",
"logicType" : "APPVIEWLOGIC", "logicType" : "APPVIEWLOGIC",
"name" : "usr1109559507toolbar_deuiaction1_click", "name" : "toolbar_deuiaction1_click",
"getPSAppViewLogic" : { "getPSAppViewLogic" : {
"modelref" : true, "modelref" : true,
"id" : "usr1109559507toolbar_deuiaction1_click" "id" : "toolbar_deuiaction1_click"
} }
}, { }, {
"eventArg" : "tbitem3", "eventArg" : "tbitem3",
"eventNames" : "CLICK", "eventNames" : "CLICK",
"logicTag" : "usr1109559507toolbar", "logicTag" : "toolbar",
"logicType" : "APPVIEWLOGIC", "logicType" : "APPVIEWLOGIC",
"name" : "usr1109559507toolbar_tbitem3_click", "name" : "toolbar_tbitem3_click",
"getPSAppViewLogic" : { "getPSAppViewLogic" : {
"modelref" : true, "modelref" : true,
"id" : "usr1109559507toolbar_tbitem3_click" "id" : "toolbar_tbitem3_click"
} }
}, { }, {
"eventArg" : "tbitem5", "eventArg" : "tbitem5",
"eventNames" : "CLICK", "eventNames" : "CLICK",
"logicTag" : "usr1109559507toolbar", "logicTag" : "toolbar",
"logicType" : "APPVIEWLOGIC", "logicType" : "APPVIEWLOGIC",
"name" : "usr1109559507toolbar_tbitem5_click", "name" : "toolbar_tbitem5_click",
"getPSAppViewLogic" : { "getPSAppViewLogic" : {
"modelref" : true, "modelref" : true,
"id" : "usr1109559507toolbar_tbitem5_click" "id" : "toolbar_tbitem5_click"
} }
}, { }, {
"eventArg" : "tbitem9", "eventArg" : "tbitem9",
"eventNames" : "CLICK", "eventNames" : "CLICK",
"logicTag" : "usr1109559507toolbar", "logicTag" : "toolbar",
"logicType" : "APPVIEWLOGIC", "logicType" : "APPVIEWLOGIC",
"name" : "usr1109559507toolbar_tbitem9_click", "name" : "toolbar_tbitem9_click",
"getPSAppViewLogic" : { "getPSAppViewLogic" : {
"modelref" : true, "modelref" : true,
"id" : "usr1109559507toolbar_tbitem9_click" "id" : "toolbar_tbitem9_click"
} }
}, { }, {
"eventArg" : "tbitem15", "eventArg" : "tbitem15",
"eventNames" : "CLICK", "eventNames" : "CLICK",
"logicTag" : "usr1109559507toolbar", "logicTag" : "toolbar",
"logicType" : "APPVIEWLOGIC", "logicType" : "APPVIEWLOGIC",
"name" : "usr1109559507toolbar_tbitem15_click", "name" : "toolbar_tbitem15_click",
"getPSAppViewLogic" : { "getPSAppViewLogic" : {
"modelref" : true, "modelref" : true,
"id" : "usr1109559507toolbar_tbitem15_click" "id" : "toolbar_tbitem15_click"
} }
} ], } ],
"getPSControlParam" : { "getPSControlParam" : {
"id" : "USR1109559507TOOLBAR" "id" : "TOOLBAR"
}, },
"getPSDEToolbarItems" : [ { "getPSDEToolbarItems" : [ {
"getCapPSLanguageRes" : { "getCapPSLanguageRes" : {
...@@ -290,7 +303,7 @@ ...@@ -290,7 +303,7 @@
"noPrivDisplayMode" : 2, "noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "usr1109559507toolbar_deuiaction1" "id" : "toolbar_deuiaction1"
}, },
"getPSSysImage" : { "getPSSysImage" : {
"glyph" : "xf0f6@FontAwesome", "glyph" : "xf0f6@FontAwesome",
...@@ -334,7 +347,7 @@ ...@@ -334,7 +347,7 @@
"noPrivDisplayMode" : 2, "noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "usr1109559507toolbar_tbitem3" "id" : "toolbar_tbitem3"
}, },
"getPSSysCss" : { "getPSSysCss" : {
"cssName" : "deepskyblueToolBar" "cssName" : "deepskyblueToolBar"
...@@ -381,7 +394,7 @@ ...@@ -381,7 +394,7 @@
"noPrivDisplayMode" : 2, "noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "usr1109559507toolbar_tbitem5" "id" : "toolbar_tbitem5"
}, },
"getPSSysImage" : { "getPSSysImage" : {
"cssClass" : "sx-tb-saveandclose" "cssClass" : "sx-tb-saveandclose"
...@@ -522,7 +535,7 @@ ...@@ -522,7 +535,7 @@
"getPSControlParam" : { "getPSControlParam" : {
"autoLoad" : true, "autoLoad" : true,
"showBusyIndicator" : true, "showBusyIndicator" : true,
"id" : "USR1109034916FORM" "id" : "FORM"
}, },
"getPSDEFormItems" : [ { "getPSDEFormItems" : [ {
"id" : "srfupdatedate", "id" : "srfupdatedate",
...@@ -861,7 +874,7 @@ ...@@ -861,7 +874,7 @@
"id" : "update" "id" : "update"
}, },
"noTabHeader" : false, "noTabHeader" : false,
"name" : "usr1109034916form", "name" : "form",
"modelid" : "78d1d0ab3c6c8ae8be349968d12f7054", "modelid" : "78d1d0ab3c6c8ae8be349968d12f7054",
"modeltype" : "PSDEFORM_EDITFORM" "modeltype" : "PSDEFORM_EDITFORM"
} ] } ]
......
...@@ -172,7 +172,7 @@ ...@@ -172,7 +172,7 @@
<!--输出实体[IBIZBOOK]数据结构 --> <!--输出实体[IBIZBOOK]数据结构 -->
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizbook-644-7"> <changeSet author="a_LAB01_df847bdfd" id="tab-ibizbook-646-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>
...@@ -258,7 +258,7 @@ ...@@ -258,7 +258,7 @@
<!--输出实体[IBIZCUSTOM]数据结构 --> <!--输出实体[IBIZCUSTOM]数据结构 -->
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizcustom-25-9"> <changeSet author="a_LAB01_df847bdfd" id="tab-ibizcustom-53-9">
<createTable tableName="T_IBIZCUSTOM"> <createTable tableName="T_IBIZCUSTOM">
<column name="CREATEMAN" remarks="" type="VARCHAR(60)"> <column name="CREATEMAN" remarks="" type="VARCHAR(60)">
</column> </column>
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
</createView> </createView>
</changeSet> </changeSet>
<!--输出实体[IBIZCUSTOM]视图结构信息 runOnChange="true" 当视图发生变更时,通过liquibase强刷prod的视图,实现视图的同步--> <!--输出实体[IBIZCUSTOM]视图结构信息 runOnChange="true" 当视图发生变更时,通过liquibase强刷prod的视图,实现视图的同步-->
<changeSet author="a_LAB01_df847bdfd" id="view-ibizcustom-25-3" runOnChange="true"> <changeSet author="a_LAB01_df847bdfd" id="view-ibizcustom-53-3" runOnChange="true">
<createView fullDefinition="false" replaceIfExists="true" viewName="V_IBIZCUSTOM"> <createView fullDefinition="false" replaceIfExists="true" viewName="V_IBIZCUSTOM">
<![CDATA[ SELECT t1.CREATEDATE, t1.CREATEMAN, t1.IBIZCUSTOMID, t1.IBIZCUSTOMNAME, t1.UPDATEDATE, t1.UPDATEMAN FROM T_IBIZCUSTOM t1 ]]> <![CDATA[ SELECT t1.CREATEDATE, t1.CREATEMAN, t1.IBIZCUSTOMID, t1.IBIZCUSTOMNAME, t1.UPDATEDATE, t1.UPDATEMAN FROM T_IBIZCUSTOM t1 ]]>
</createView> </createView>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册