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

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

上级 72020ce0
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 } from "@/utils";
/**
* 表格加载
*
......@@ -153,7 +155,7 @@ export default class GridLoadUILogicBase {
const retParam = actionContext.getParam('Default');
if (dstParam) {
try {
const service: IBIZBOOKService = = new IBIZBOOKService;
const service: any = new IBIZBOOKService();
const getTempContext = (data: any) => {
const tempContext = Util.deepCopy(actionContext.context);
if (data) {
......@@ -260,7 +262,7 @@ export default class GridLoadUILogicBase {
const retParam = actionContext.getParam('searchForm');
if (dstParam) {
try {
const service: IBIZBOOKService = = new IBIZBOOKService;
const service: any = new IBIZBOOKService();
const result = await service['executeAppDELogic']('initData', actionContext.context, dstParam.getReal() ? dstParam.getReal() : {});
if (result) {
if(retParam){
......@@ -326,7 +328,7 @@ export default class GridLoadUILogicBase {
const result_1 = '12';
const dstParam_1.set('book', result_1);
} catch (error: any) {
throw new Error(`逻辑节点 准备参数 ${error ## error.message ? error.message : '发生未知错误!'}`);
throw new Error(`逻辑节点 准备参数 ${error && error.message ? error.message : '发生未知错误!'}`);
}
console.log('已完成执行 准备参数 节点');
await this.execute_deaction1_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 } from "@/utils";
/**
* 自定义表格数据加载
*
......
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 } from "@/utils";
/**
* 打开语雀文档
*
......
......@@ -590,7 +590,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/
public load(opt: any = {}): void {
if(!this.loadAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZAPPEDITORListView' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZAPPEDITORGridView' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
return;
}
const arg: any = { ...opt };
......@@ -626,7 +626,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/
public loadDraft(opt: any = {},mode?:string): void {
if(!this.loaddraftAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZAPPEDITORListView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZAPPEDITORGridView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
return;
}
const arg: any = { ...opt } ;
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册