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

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

上级 3f0cac03
...@@ -195,6 +195,7 @@ export default class GridViewLoadUILogicBase { ...@@ -195,6 +195,7 @@ export default class GridViewLoadUILogicBase {
console.log('已完成执行 开始 节点'); console.log('已完成执行 开始 节点');
await this.execute_bindparam1_node(actionContext); await this.execute_bindparam1_node(actionContext);
} }
/** /**
* 绑定当前搜索表单 * 绑定当前搜索表单
* *
...@@ -216,11 +217,12 @@ export default class GridViewLoadUILogicBase { ...@@ -216,11 +217,12 @@ export default class GridViewLoadUILogicBase {
} }
actionContext.bindLastReturnParam(null); actionContext.bindLastReturnParam(null);
} catch (error: any) { } catch (error: any) {
throw new Error('逻辑参数当前搜索表单 ${error && error.message ? error.message : '发生未知错误!'}'); throw new Error(`逻辑参数当前搜索表单 ${error && error.message ? error.message : '发生未知错误!'}`);
} }
console.log('已完成执行 绑定当前搜索表单 节点'); console.log('已完成执行 绑定当前搜索表单 节点');
await this.execute_viewctrlinvoke1_node(actionContext); await this.execute_viewctrlinvoke1_node(actionContext);
} }
/** /**
* 视图部件调用 * 视图部件调用
* *
...@@ -251,6 +253,7 @@ export default class GridViewLoadUILogicBase { ...@@ -251,6 +253,7 @@ export default class GridViewLoadUILogicBase {
console.log('已完成执行 视图部件调用 节点'); console.log('已完成执行 视图部件调用 节点');
await this.execute_viewctrlinvoke2_node(actionContext); await this.execute_viewctrlinvoke2_node(actionContext);
} }
/** /**
* 结束 * 结束
* *
...@@ -261,6 +264,7 @@ export default class GridViewLoadUILogicBase { ...@@ -261,6 +264,7 @@ export default class GridViewLoadUILogicBase {
// TODO 等待补充 // TODO 等待补充
console.log('已完成执行 结束 节点'); console.log('已完成执行 结束 节点');
} }
/** /**
* 视图部件调用 * 视图部件调用
* *
...@@ -292,4 +296,5 @@ export default class GridViewLoadUILogicBase { ...@@ -292,4 +296,5 @@ export default class GridViewLoadUILogicBase {
await this.execute_end1_node(actionContext); await this.execute_end1_node(actionContext);
} }
} }
\ No newline at end of file
...@@ -107,6 +107,7 @@ export default class OpenYuQueUILogicBase { ...@@ -107,6 +107,7 @@ export default class OpenYuQueUILogicBase {
console.log('已完成执行 开始 节点'); console.log('已完成执行 开始 节点');
await this.execute_deuiaction1_node(actionContext); await this.execute_deuiaction1_node(actionContext);
} }
/** /**
* 结束 * 结束
* *
...@@ -117,6 +118,7 @@ export default class OpenYuQueUILogicBase { ...@@ -117,6 +118,7 @@ export default class OpenYuQueUILogicBase {
// TODO 等待补充 // TODO 等待补充
console.log('已完成执行 结束 节点'); console.log('已完成执行 结束 节点');
} }
/** /**
* 界面行为 * 界面行为
* *
...@@ -129,4 +131,5 @@ export default class OpenYuQueUILogicBase { ...@@ -129,4 +131,5 @@ export default class OpenYuQueUILogicBase {
await this.execute_end1_node(actionContext); await this.execute_end1_node(actionContext);
} }
} }
\ No newline at end of file
...@@ -649,7 +649,7 @@ export default class Usr4Base extends Vue implements ControlInterface { ...@@ -649,7 +649,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};
...@@ -728,7 +728,7 @@ export default class Usr4Base extends Vue implements ControlInterface { ...@@ -728,7 +728,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[] = [];
...@@ -837,7 +837,7 @@ export default class Usr4Base extends Vue implements ControlInterface { ...@@ -837,7 +837,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);
...@@ -845,7 +845,7 @@ export default class Usr4Base extends Vue implements ControlInterface { ...@@ -845,7 +845,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'
},
{ {
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册