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

zhouweidong 发布系统代码 [ibz-dst,应用]

上级 df4adff6
...@@ -156,17 +156,24 @@ export default class MetaModelUIServiceBase extends UIService { ...@@ -156,17 +156,24 @@ export default class MetaModelUIServiceBase extends UIService {
let deResParameters: any[] = []; let deResParameters: any[] = [];
const parameters: any[] = [ const parameters: any[] = [
{ pathName: 'metamodels', parameterName: 'metamodel' }, { pathName: 'metamodels', parameterName: 'metamodel' },
{ pathName: 'fileuploadoptionview', parameterName: 'fileuploadoptionview' },
]; ];
const openIndexViewTab = (data: any) => { const openPopupModal = (view: any, data: any) => {
const routePath = actionContext.$viewTool.buildUpRoutePath(actionContext.$route, context, deResParameters, parameters, _args, data); let container: Subject<any> = actionContext.$appmodal.openModal(view, context, data);
actionContext.$router.push(routePath); container.subscribe((result: any) => {
if (this.MetaModel_importAfter && this.MetaModel_importAfter instanceof Function) { if (!result || !Object.is(result.ret, 'OK')) {
this.MetaModel_importAfter([data],context,params, $event, xData,actionContext); return;
} }
return null; const _this: any = actionContext;
return result.datas;
});
} }
openIndexViewTab(data); const view: any = {
viewname: 'meta-model-file-upload-option-view',
height: 0,
width: 0,
title: actionContext.$t('entities.metamodel.views.fileuploadoptionview.title'),
};
openPopupModal(view, data);
} }
/** /**
...@@ -250,22 +257,6 @@ export default class MetaModelUIServiceBase extends UIService { ...@@ -250,22 +257,6 @@ export default class MetaModelUIServiceBase extends UIService {
backend(); backend();
} }
/**
* 模型导入
*
* @param {any[]} args 当前数据
* @param {any} context 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @param {*} [srfParentDeName] 父实体名称
* @returns {Promise<any>}
*/
public async MetaModel_importAfter(args: any[],context:any = {}, params:any = {}, $event?: any, xData?: any,actionContext?: any,srfParentDeName?:string){
actionContext.$Notice.error({ title: '错误', desc: '不支持单项数据' });
}
/** /**
* 获取指定数据的重定向页面 * 获取指定数据的重定向页面
......
...@@ -32,7 +32,7 @@ public class MetaModelExService extends MetaModelServiceImpl { ...@@ -32,7 +32,7 @@ public class MetaModelExService extends MetaModelServiceImpl {
return super.change(et); return super.change(et);
} }
/** /**
* [ExportFile:导出文件] 行为扩展:导出文件zip格式 * [ExportFile:导出文件] 行为扩展:导出文件json格式
* @param et * @param et
* @return * @return
*/ */
......
...@@ -328,7 +328,7 @@ ...@@ -328,7 +328,7 @@
<!--输出实体[META_MODEL]数据结构 --> <!--输出实体[META_MODEL]数据结构 -->
<changeSet author="root" id="tab-meta_model-46-12"> <changeSet author="root" id="tab-meta_model-48-12">
<createTable tableName="IBZMODEL"> <createTable tableName="IBZMODEL">
<column name="MODELID" remarks="" type="VARCHAR(100)"> <column name="MODELID" remarks="" type="VARCHAR(100)">
<constraints primaryKey="true" primaryKeyName="PK_META_MODEL_MODELID"/> <constraints primaryKey="true" primaryKeyName="PK_META_MODEL_MODELID"/>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册