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

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

上级 bbef12e5
...@@ -29,6 +29,17 @@ export default class CustomViewGridLoadUILogicBase { ...@@ -29,6 +29,17 @@ export default class CustomViewGridLoadUILogicBase {
* @memberof CustomViewGridLoadUILogicBase * @memberof CustomViewGridLoadUILogicBase
*/ */
protected logicParams: any[] = [ protected logicParams: any[] = [
{
name: '视图参数',
codeName: 'viewParam',
viewNavDataParam: true,
},
{
name: '传入变量',
codeName: 'Default',
default: true,
entityParam: true,
},
{ {
name: '表格部件', name: '表格部件',
codeName: 'grid', codeName: 'grid',
...@@ -44,17 +55,6 @@ export default class CustomViewGridLoadUILogicBase { ...@@ -44,17 +55,6 @@ export default class CustomViewGridLoadUILogicBase {
codeName: 'view', codeName: 'view',
activeViewParam: true, activeViewParam: true,
}, },
{
name: '传入变量',
codeName: 'Default',
default: true,
entityParam: true,
},
{
name: '视图参数',
codeName: 'viewParam',
viewNavDataParam: true,
},
]; ];
/** /**
...@@ -131,35 +131,30 @@ export default class CustomViewGridLoadUILogicBase { ...@@ -131,35 +131,30 @@ export default class CustomViewGridLoadUILogicBase {
} }
/** /**
* 绑定表格 * 结束
* *
* @param {UIActionContext} actionContext 界面逻辑上下文 * @param {UIActionContext} actionContext 界面逻辑上下文
* @memberof CustomViewGridLoadUILogicBase * @memberof CustomViewGridLoadUILogicBase
*/ */
protected async execute_bindparam2_node(actionContext: UIActionContext) { protected async execute_end1_node(actionContext: UIActionContext) {
try { const strReturnType: string = 'LOGICPARAM';
// 源数据 if (Object.is(strReturnType, LogicReturnType.NONEVALUE) || Object.is(strReturnType, LogicReturnType.NULLVALUE)) {
const srcParam = actionContext.getParam('view'); actionContext.setResult(null);
// 目标数据 } else if (Object.is(strReturnType, LogicReturnType.SRCVALUE)) {
const dstParam = actionContext.getParam('grid'); actionContext.setResult('');
// 源属性 } else if (Object.is(strReturnType, LogicReturnType.BREAK)) {
const srcFieldName: string = 'grid'; actionContext.setResult(LogicReturnType.BREAK);
if (srcFieldName) { } else if (Object.is(strReturnType, LogicReturnType.LOGICPARAM) || Object.is(strReturnType, LogicReturnType.LOGICPARAMFIELD)) {
dstParam.bind(srcParam.get(srcFieldName)); const returnParam = actionContext.getParam('Default');
if (Object.is(strReturnType, LogicReturnType.LOGICPARAM)) {
actionContext.setResult(returnParam.getReal());
} else { } else {
dstParam.bind(srcParam.getReal()); actionContext.setResult(returnParam.get(''));
} }
actionContext.bindLastReturnParam(null); } else {
} catch (error: any) { throw new Error(`无法识别的返回值类型${strReturnType}`);
throw new Error(`逻辑参数表格部件 ${error && error.message ? error.message : '发生未知错误!'}`);
}
console.log('已完成执行 绑定表格 节点');
if (Verify.testCond(this.getCondParam(actionContext, 'searchForm', ''), 'ISNOTNULL', '')) {
await this.execute_viewctrlinvoke2_node(actionContext);
}
if (Verify.testCond(this.getCondParam(actionContext, 'searchForm', ''), 'ISNULL', '')) {
await this.execute_viewctrlinvoke1_node(actionContext);
} }
console.log('已完成执行 结束 节点');
} }
/** /**
...@@ -190,41 +185,14 @@ export default class CustomViewGridLoadUILogicBase { ...@@ -190,41 +185,14 @@ export default class CustomViewGridLoadUILogicBase {
} }
/** /**
* 结束 * 搜索表单加载草稿
*
* @param {UIActionContext} actionContext 界面逻辑上下文
* @memberof CustomViewGridLoadUILogicBase
*/
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('已完成执行 结束 节点');
}
/**
* 表格加载
* *
* @param {UIActionContext} actionContext 界面逻辑上下文 * @param {UIActionContext} actionContext 界面逻辑上下文
* @memberof CustomViewGridLoadUILogicBase * @memberof CustomViewGridLoadUILogicBase
*/ */
protected async execute_viewctrlinvoke1_node(actionContext: UIActionContext) { protected async execute_viewctrlinvoke2_node(actionContext: UIActionContext) {
const invokeCtrl = 'grid'; const invokeCtrl = 'searchForm';
const invokeMethod = 'load'; const invokeMethod = 'loadDraft';
const invokeParam = 'viewParam'; const invokeParam = 'viewParam';
if (!invokeCtrl || !invokeMethod) { if (!invokeCtrl || !invokeMethod) {
throw new Error(`界面对象或者调用方法缺失`); throw new Error(`界面对象或者调用方法缺失`);
...@@ -243,19 +211,51 @@ export default class CustomViewGridLoadUILogicBase { ...@@ -243,19 +211,51 @@ export default class CustomViewGridLoadUILogicBase {
} else { } else {
throw new Error(`${invokeCtrl}界面对象不存在${invokeMethod}方法`); throw new Error(`${invokeCtrl}界面对象不存在${invokeMethod}方法`);
} }
console.log('已完成执行 表格加载 节点'); console.log('已完成执行 搜索表单加载草稿 节点');
await this.execute_end1_node(actionContext); await this.execute_viewctrlinvoke1_node(actionContext);
} }
/** /**
* 搜索表单加载草稿 * 绑定表格
* *
* @param {UIActionContext} actionContext 界面逻辑上下文 * @param {UIActionContext} actionContext 界面逻辑上下文
* @memberof CustomViewGridLoadUILogicBase * @memberof CustomViewGridLoadUILogicBase
*/ */
protected async execute_viewctrlinvoke2_node(actionContext: UIActionContext) { protected async execute_bindparam2_node(actionContext: UIActionContext) {
const invokeCtrl = 'searchForm'; try {
const invokeMethod = 'loadDraft'; // 源数据
const srcParam = actionContext.getParam('view');
// 目标数据
const dstParam = actionContext.getParam('grid');
// 源属性
const srcFieldName: string = 'grid';
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, 'searchForm', ''), 'ISNOTNULL', '')) {
await this.execute_viewctrlinvoke2_node(actionContext);
}
if (Verify.testCond(this.getCondParam(actionContext, 'searchForm', ''), 'ISNULL', '')) {
await this.execute_viewctrlinvoke1_node(actionContext);
}
}
/**
* 表格加载
*
* @param {UIActionContext} actionContext 界面逻辑上下文
* @memberof CustomViewGridLoadUILogicBase
*/
protected async execute_viewctrlinvoke1_node(actionContext: UIActionContext) {
const invokeCtrl = 'grid';
const invokeMethod = 'load';
const invokeParam = 'viewParam'; const invokeParam = 'viewParam';
if (!invokeCtrl || !invokeMethod) { if (!invokeCtrl || !invokeMethod) {
throw new Error(`界面对象或者调用方法缺失`); throw new Error(`界面对象或者调用方法缺失`);
...@@ -274,8 +274,8 @@ export default class CustomViewGridLoadUILogicBase { ...@@ -274,8 +274,8 @@ export default class CustomViewGridLoadUILogicBase {
} else { } else {
throw new Error(`${invokeCtrl}界面对象不存在${invokeMethod}方法`); throw new Error(`${invokeCtrl}界面对象不存在${invokeMethod}方法`);
} }
console.log('已完成执行 搜索表单加载草稿 节点'); console.log('已完成执行 表格加载 节点');
await this.execute_viewctrlinvoke1_node(actionContext); await this.execute_end1_node(actionContext);
} }
......
...@@ -691,7 +691,7 @@ export default class DefaultBase extends Vue implements ControlInterface { ...@@ -691,7 +691,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: 'IBIZBOOKCustomView_layout' + (this.$t('app.searchForm.notConfig.loadAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr9GridView' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
return; return;
} }
const arg: any = { ...opt }; const arg: any = { ...opt };
...@@ -727,7 +727,7 @@ export default class DefaultBase extends Vue implements ControlInterface { ...@@ -727,7 +727,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: 'IBIZBOOKCustomView_layout' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr9GridView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
return; return;
} }
const arg: any = { ...opt } ; const arg: any = { ...opt } ;
......
...@@ -649,7 +649,7 @@ export default class QUICKSEARCHFORMBase extends Vue implements ControlInterface ...@@ -649,7 +649,7 @@ export default class QUICKSEARCHFORMBase extends Vue implements ControlInterface
*/ */
public load(opt: any = {}): void { public load(opt: any = {}): void {
if(!this.loadAction){ if(!this.loadAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKListView' + (this.$t('app.searchForm.notConfig.loadAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKCalendarView' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
return; return;
} }
const arg: any = { ...opt }; const arg: any = { ...opt };
...@@ -685,7 +685,7 @@ export default class QUICKSEARCHFORMBase extends Vue implements ControlInterface ...@@ -685,7 +685,7 @@ export default class QUICKSEARCHFORMBase extends Vue implements ControlInterface
*/ */
public loadDraft(opt: any = {},mode?:string): void { public loadDraft(opt: any = {},mode?:string): void {
if(!this.loaddraftAction){ if(!this.loaddraftAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKListView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKCalendarView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
return; return;
} }
const arg: any = { ...opt } ; const arg: any = { ...opt } ;
......
...@@ -10,7 +10,7 @@ export default class Usr2Model { ...@@ -10,7 +10,7 @@ export default class Usr2Model {
* 获取数据项集合 * 获取数据项集合
* *
* @returns {any[]} * @returns {any[]}
* @memberof Usr2Dataviewexpbar_dataviewMode * @memberof Usr2DataViewMode
*/ */
public getDataItems(): any[] { public getDataItems(): any[] {
return [ return [
...@@ -39,6 +39,17 @@ export default class Usr2Model { ...@@ -39,6 +39,17 @@ export default class Usr2Model {
dataType: 'FONTKEY', dataType: 'FONTKEY',
}, },
{
name: 'n_ibizbookname_like',
prop: 'n_ibizbookname_like',
dataType: 'QUERYPARAM'
},
{
name: 'n_price_gtandeq',
prop: 'n_price_gtandeq',
dataType: 'QUERYPARAM'
},
{ {
name:'size', name:'size',
......
...@@ -677,7 +677,7 @@ export default class Usr4Base extends Vue implements ControlInterface { ...@@ -677,7 +677,7 @@ export default class Usr4Base extends Vue implements ControlInterface {
*/ */
public load(opt: any = {}, isReset: boolean = false): void { public load(opt: any = {}, isReset: boolean = false): void {
if(!this.fetchAction){ if(!this.fetchAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr4DataView' + (this.$t('app.list.notConfig.fetchAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKTestCLDataView' + (this.$t('app.list.notConfig.fetchAction') as string) });
return; return;
} }
const arg: any = {...opt}; const arg: any = {...opt};
...@@ -756,7 +756,7 @@ export default class Usr4Base extends Vue implements ControlInterface { ...@@ -756,7 +756,7 @@ export default class Usr4Base extends Vue implements ControlInterface {
*/ */
public async remove(datas: any[]): Promise<any> { public async remove(datas: any[]): Promise<any> {
if(!this.removeAction){ if(!this.removeAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr4DataView' + (this.$t('app.gridpage.notConfig.removeAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKTestCLDataView' + (this.$t('app.gridpage.notConfig.removeAction') as string) });
return; return;
} }
let _datas:any[] = []; let _datas:any[] = [];
...@@ -865,7 +865,7 @@ export default class Usr4Base extends Vue implements ControlInterface { ...@@ -865,7 +865,7 @@ export default class Usr4Base extends Vue implements ControlInterface {
try { try {
if(Object.is(item.rowDataState, 'create')){ if(Object.is(item.rowDataState, 'create')){
if(!this.createAction){ if(!this.createAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr4DataView' + (this.$t('app.list.notConfig.createAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKTestCLDataView' + (this.$t('app.list.notConfig.createAction') as string) });
}else{ }else{
Object.assign(item,{viewparams:this.viewparams}); Object.assign(item,{viewparams:this.viewparams});
let response = await this.service.add(this.createAction, JSON.parse(JSON.stringify(this.context)),item, this.showBusyIndicator); let response = await this.service.add(this.createAction, JSON.parse(JSON.stringify(this.context)),item, this.showBusyIndicator);
...@@ -873,7 +873,7 @@ export default class Usr4Base extends Vue implements ControlInterface { ...@@ -873,7 +873,7 @@ export default class Usr4Base extends Vue implements ControlInterface {
} }
}else if(Object.is(item.rowDataState, 'update')){ }else if(Object.is(item.rowDataState, 'update')){
if(!this.updateAction){ if(!this.updateAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr4DataView' + (this.$t('app.list.notConfig.updateAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKTestCLDataView' + (this.$t('app.list.notConfig.updateAction') as string) });
}else{ }else{
Object.assign(item,{viewparams:this.viewparams}); Object.assign(item,{viewparams:this.viewparams});
if(item.ibizbook){ if(item.ibizbook){
......
...@@ -69,11 +69,6 @@ export default class Usr4Model { ...@@ -69,11 +69,6 @@ export default class Usr4Model {
prop: 'n_ibizbookname_like', prop: 'n_ibizbookname_like',
dataType: 'QUERYPARAM' dataType: 'QUERYPARAM'
}, },
{
name: 'n_price_gtandeq',
prop: 'n_price_gtandeq',
dataType: 'QUERYPARAM'
},
{ {
......
...@@ -936,7 +936,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -936,7 +936,7 @@ export default class MainBase extends Vue implements ControlInterface {
if (!this.fetchAction) { if (!this.fetchAction) {
this.$Notice.error({ this.$Notice.error({
title: this.$t("app.commonWords.wrong") as string, title: this.$t("app.commonWords.wrong") as string,
desc: "IBIZOrderDetailSGridView" + (this.$t("app.gridpage.notConfig.fetchAction") as string), desc: "IBIZOrderDetailGridView9" + (this.$t("app.gridpage.notConfig.fetchAction") as string),
}); });
return; return;
} }
...@@ -1065,7 +1065,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -1065,7 +1065,7 @@ export default class MainBase extends Vue implements ControlInterface {
if (!this.removeAction) { if (!this.removeAction) {
this.$Notice.error({ this.$Notice.error({
title: (this.$t('app.commonWords.wrong') as string), title: (this.$t('app.commonWords.wrong') as string),
desc: 'IBIZOrderDetailSGridView' + (this.$t('app.gridpage.notConfig.removeAction') as string) desc: 'IBIZOrderDetailGridView9' + (this.$t('app.gridpage.notConfig.removeAction') as string)
}); });
return; return;
} }
...@@ -1179,7 +1179,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -1179,7 +1179,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/ */
public addBatch(arg: any = {}): void { public addBatch(arg: any = {}): void {
if(!this.fetchAction){ if(!this.fetchAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailSGridView'+(this.$t('app.gridpage.notConfig.fetchAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailGridView9'+(this.$t('app.gridpage.notConfig.fetchAction') as string) });
return; return;
} }
if(!arg){ if(!arg){
...@@ -2071,7 +2071,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -2071,7 +2071,7 @@ export default class MainBase extends Vue implements ControlInterface {
try { try {
if (Object.is(item.rowDataState, 'create')) { if (Object.is(item.rowDataState, 'create')) {
if (!this.createAction) { if (!this.createAction) {
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailSGridView'+(this.$t('app.gridpage.notConfig.createAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailGridView9'+(this.$t('app.gridpage.notConfig.createAction') as string) });
} else { } else {
Object.assign(item, { viewparams: this.viewparams }); Object.assign(item, { viewparams: this.viewparams });
const tempContext = Util.deepCopy(this.context); const tempContext = Util.deepCopy(this.context);
...@@ -2080,7 +2080,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -2080,7 +2080,7 @@ export default class MainBase extends Vue implements ControlInterface {
} }
}else if (Object.is(item.rowDataState, 'update')){ }else if (Object.is(item.rowDataState, 'update')){
if (!this.updateAction) { if (!this.updateAction) {
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailSGridView'+(this.$t('app.gridpage.notConfig.updateAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailGridView9'+(this.$t('app.gridpage.notConfig.updateAction') as string) });
} else { } else {
Object.assign(item, { viewparams: this.viewparams }); Object.assign(item, { viewparams: this.viewparams });
const tempContext = Util.deepCopy(this.context); const tempContext = Util.deepCopy(this.context);
...@@ -2156,7 +2156,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -2156,7 +2156,7 @@ export default class MainBase extends Vue implements ControlInterface {
if(!this.loaddraftAction){ if(!this.loaddraftAction){
this.$Notice.error({ this.$Notice.error({
title: (this.$t('app.commonWords.wrong') as string), title: (this.$t('app.commonWords.wrong') as string),
desc: 'IBIZOrderDetailSGridView' + (this.$t('app.gridpage.notConfig.loaddraftAction') as string) desc: 'IBIZOrderDetailGridView9' + (this.$t('app.gridpage.notConfig.loaddraftAction') as string)
}); });
return; return;
} }
......
...@@ -96,7 +96,6 @@ export default class MainModel { ...@@ -96,7 +96,6 @@ export default class MainModel {
name: 'ibizorderdetail', name: 'ibizorderdetail',
prop: 'ibizorderdetailid', prop: 'ibizorderdetailid',
}, },
{ {
name:'size', name:'size',
prop:'size', prop:'size',
......
...@@ -713,7 +713,7 @@ export default class CardNavigationBase extends Vue implements ControlInterface ...@@ -713,7 +713,7 @@ export default class CardNavigationBase extends Vue implements ControlInterface
*/ */
public load(opt: any = {}, isReset: boolean = false): void { public load(opt: any = {}, isReset: boolean = false): void {
if(!this.fetchAction){ if(!this.fetchAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDataViewExpView_layout' + (this.$t('app.list.notConfig.fetchAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDataViewExpView' + (this.$t('app.list.notConfig.fetchAction') as string) });
return; return;
} }
const arg: any = {...opt}; const arg: any = {...opt};
...@@ -792,7 +792,7 @@ export default class CardNavigationBase extends Vue implements ControlInterface ...@@ -792,7 +792,7 @@ export default class CardNavigationBase 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: 'IBIZOrderDataViewExpView_layout' + (this.$t('app.gridpage.notConfig.removeAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDataViewExpView' + (this.$t('app.gridpage.notConfig.removeAction') as string) });
return; return;
} }
let _datas:any[] = []; let _datas:any[] = [];
...@@ -901,7 +901,7 @@ export default class CardNavigationBase extends Vue implements ControlInterface ...@@ -901,7 +901,7 @@ export default class CardNavigationBase 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: 'IBIZOrderDataViewExpView_layout' + (this.$t('app.list.notConfig.createAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDataViewExpView' + (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);
...@@ -909,7 +909,7 @@ export default class CardNavigationBase extends Vue implements ControlInterface ...@@ -909,7 +909,7 @@ export default class CardNavigationBase extends Vue implements ControlInterface
} }
}else if(Object.is(item.rowDataState, 'update')){ }else if(Object.is(item.rowDataState, 'update')){
if(!this.updateAction){ if(!this.updateAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDataViewExpView_layout' + (this.$t('app.list.notConfig.updateAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDataViewExpView' + (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,6 +2449,65 @@ ...@@ -2449,6 +2449,65 @@
} }
} ], } ],
"parallelOutput" : true "parallelOutput" : true
}, {
"codeName" : "END1",
"logicNodeType" : "END",
"name" : "结束",
"getReturnParam" : {
"modelref" : true,
"id" : "Default"
},
"returnType" : "LOGICPARAM"
}, {
"codeName" : "BINDPARAM1",
"getDstPSDEUILogicParam" : {
"modelref" : true,
"id" : "searchForm"
},
"logicNodeType" : "BINDPARAM",
"name" : "绑定搜索表单",
"getPSDEUILogicLinks" : [ {
"getDstPSDEUILogicNode" : {
"modelref" : true,
"id" : "BINDPARAM2"
},
"linkMode" : 0,
"name" : "连接名称",
"getSrcPSDEUILogicNode" : {
"modelref" : true,
"id" : "BINDPARAM1"
}
} ],
"srcFieldName" : "searchForm",
"getSrcPSDEUILogicParam" : {
"modelref" : true,
"id" : "view"
}
}, {
"codeName" : "VIEWCTRLINVOKE2",
"getInvokeCtrl" : {
"modelref" : true,
"id" : "searchForm"
},
"invokeMethod" : "loadDraft",
"getInvokeParam" : {
"modelref" : true,
"id" : "viewParam"
},
"logicNodeType" : "VIEWCTRLINVOKE",
"name" : "搜索表单加载草稿",
"getPSDEUILogicLinks" : [ {
"getDstPSDEUILogicNode" : {
"modelref" : true,
"id" : "VIEWCTRLINVOKE1"
},
"linkMode" : 0,
"name" : "连接名称",
"getSrcPSDEUILogicNode" : {
"modelref" : true,
"id" : "VIEWCTRLINVOKE2"
}
} ]
}, { }, {
"codeName" : "BINDPARAM2", "codeName" : "BINDPARAM2",
"getDstPSDEUILogicParam" : { "getDstPSDEUILogicParam" : {
...@@ -2511,36 +2570,6 @@ ...@@ -2511,36 +2570,6 @@
"modelref" : true, "modelref" : true,
"id" : "view" "id" : "view"
} }
}, {
"codeName" : "BINDPARAM1",
"getDstPSDEUILogicParam" : {
"modelref" : true,
"id" : "searchForm"
},
"logicNodeType" : "BINDPARAM",
"name" : "绑定搜索表单",
"getPSDEUILogicLinks" : [ {
"getDstPSDEUILogicNode" : {
"modelref" : true,
"id" : "BINDPARAM2"
},
"linkMode" : 0,
"name" : "连接名称",
"getSrcPSDEUILogicNode" : {
"modelref" : true,
"id" : "BINDPARAM1"
}
} ],
"srcFieldName" : "searchForm",
"getSrcPSDEUILogicParam" : {
"modelref" : true,
"id" : "view"
}
}, {
"codeName" : "END1",
"logicNodeType" : "END",
"name" : "结束",
"returnType" : "NONEVALUE"
}, { }, {
"codeName" : "VIEWCTRLINVOKE1", "codeName" : "VIEWCTRLINVOKE1",
"getInvokeCtrl" : { "getInvokeCtrl" : {
...@@ -2566,33 +2595,19 @@ ...@@ -2566,33 +2595,19 @@
"id" : "VIEWCTRLINVOKE1" "id" : "VIEWCTRLINVOKE1"
} }
} ] } ]
}, {
"codeName" : "VIEWCTRLINVOKE2",
"getInvokeCtrl" : {
"modelref" : true,
"id" : "searchForm"
},
"invokeMethod" : "loadDraft",
"getInvokeParam" : {
"modelref" : true,
"id" : "viewParam"
},
"logicNodeType" : "VIEWCTRLINVOKE",
"name" : "搜索表单加载草稿",
"getPSDEUILogicLinks" : [ {
"getDstPSDEUILogicNode" : {
"modelref" : true,
"id" : "VIEWCTRLINVOKE1"
},
"linkMode" : 0,
"name" : "连接名称",
"getSrcPSDEUILogicNode" : {
"modelref" : true,
"id" : "VIEWCTRLINVOKE2"
}
} ]
} ], } ],
"getPSDEUILogicParams" : [ { "getPSDEUILogicParams" : [ {
"codeName" : "viewParam",
"logicName" : "视图参数",
"name" : "视图参数",
"viewNavDataParam" : true
}, {
"codeName" : "Default",
"logicName" : "传入变量",
"name" : "传入变量",
"default" : true,
"entityParam" : true
}, {
"codeName" : "grid", "codeName" : "grid",
"logicName" : "表格部件", "logicName" : "表格部件",
"name" : "表格部件", "name" : "表格部件",
...@@ -2607,17 +2622,6 @@ ...@@ -2607,17 +2622,6 @@
"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,
......
...@@ -27168,6 +27168,65 @@ ...@@ -27168,6 +27168,65 @@
} }
} ], } ],
"parallelOutput" : true "parallelOutput" : true
}, {
"codeName" : "END1",
"logicNodeType" : "END",
"name" : "结束",
"getReturnParam" : {
"modelref" : true,
"id" : "Default"
},
"returnType" : "LOGICPARAM"
}, {
"codeName" : "BINDPARAM1",
"getDstPSDEUILogicParam" : {
"modelref" : true,
"id" : "searchForm"
},
"logicNodeType" : "BINDPARAM",
"name" : "绑定搜索表单",
"getPSDEUILogicLinks" : [ {
"getDstPSDEUILogicNode" : {
"modelref" : true,
"id" : "BINDPARAM2"
},
"linkMode" : 0,
"name" : "连接名称",
"getSrcPSDEUILogicNode" : {
"modelref" : true,
"id" : "BINDPARAM1"
}
} ],
"srcFieldName" : "searchForm",
"getSrcPSDEUILogicParam" : {
"modelref" : true,
"id" : "view"
}
}, {
"codeName" : "VIEWCTRLINVOKE2",
"getInvokeCtrl" : {
"modelref" : true,
"id" : "searchForm"
},
"invokeMethod" : "loadDraft",
"getInvokeParam" : {
"modelref" : true,
"id" : "viewParam"
},
"logicNodeType" : "VIEWCTRLINVOKE",
"name" : "搜索表单加载草稿",
"getPSDEUILogicLinks" : [ {
"getDstPSDEUILogicNode" : {
"modelref" : true,
"id" : "VIEWCTRLINVOKE1"
},
"linkMode" : 0,
"name" : "连接名称",
"getSrcPSDEUILogicNode" : {
"modelref" : true,
"id" : "VIEWCTRLINVOKE2"
}
} ]
}, { }, {
"codeName" : "BINDPARAM2", "codeName" : "BINDPARAM2",
"getDstPSDEUILogicParam" : { "getDstPSDEUILogicParam" : {
...@@ -27230,36 +27289,6 @@ ...@@ -27230,36 +27289,6 @@
"modelref" : true, "modelref" : true,
"id" : "view" "id" : "view"
} }
}, {
"codeName" : "BINDPARAM1",
"getDstPSDEUILogicParam" : {
"modelref" : true,
"id" : "searchForm"
},
"logicNodeType" : "BINDPARAM",
"name" : "绑定搜索表单",
"getPSDEUILogicLinks" : [ {
"getDstPSDEUILogicNode" : {
"modelref" : true,
"id" : "BINDPARAM2"
},
"linkMode" : 0,
"name" : "连接名称",
"getSrcPSDEUILogicNode" : {
"modelref" : true,
"id" : "BINDPARAM1"
}
} ],
"srcFieldName" : "searchForm",
"getSrcPSDEUILogicParam" : {
"modelref" : true,
"id" : "view"
}
}, {
"codeName" : "END1",
"logicNodeType" : "END",
"name" : "结束",
"returnType" : "NONEVALUE"
}, { }, {
"codeName" : "VIEWCTRLINVOKE1", "codeName" : "VIEWCTRLINVOKE1",
"getInvokeCtrl" : { "getInvokeCtrl" : {
...@@ -27285,33 +27314,19 @@ ...@@ -27285,33 +27314,19 @@
"id" : "VIEWCTRLINVOKE1" "id" : "VIEWCTRLINVOKE1"
} }
} ] } ]
}, {
"codeName" : "VIEWCTRLINVOKE2",
"getInvokeCtrl" : {
"modelref" : true,
"id" : "searchForm"
},
"invokeMethod" : "loadDraft",
"getInvokeParam" : {
"modelref" : true,
"id" : "viewParam"
},
"logicNodeType" : "VIEWCTRLINVOKE",
"name" : "搜索表单加载草稿",
"getPSDEUILogicLinks" : [ {
"getDstPSDEUILogicNode" : {
"modelref" : true,
"id" : "VIEWCTRLINVOKE1"
},
"linkMode" : 0,
"name" : "连接名称",
"getSrcPSDEUILogicNode" : {
"modelref" : true,
"id" : "VIEWCTRLINVOKE2"
}
} ]
} ], } ],
"getPSDEUILogicParams" : [ { "getPSDEUILogicParams" : [ {
"codeName" : "viewParam",
"logicName" : "视图参数",
"name" : "视图参数",
"viewNavDataParam" : true
}, {
"codeName" : "Default",
"logicName" : "传入变量",
"name" : "传入变量",
"default" : true,
"entityParam" : true
}, {
"codeName" : "grid", "codeName" : "grid",
"logicName" : "表格部件", "logicName" : "表格部件",
"name" : "表格部件", "name" : "表格部件",
...@@ -27326,17 +27341,6 @@ ...@@ -27326,17 +27341,6 @@
"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,
......
...@@ -172,7 +172,7 @@ ...@@ -172,7 +172,7 @@
<!--输出实体[IBIZBOOK]数据结构 --> <!--输出实体[IBIZBOOK]数据结构 -->
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizbook-687-7"> <changeSet author="a_LAB01_df847bdfd" id="tab-ibizbook-689-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>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册