提交 7c13c8ef 编写于 作者: JunZai's avatar JunZai

update

上级 e64de4fb
...@@ -82,13 +82,21 @@ FilterTree, ...@@ -82,13 +82,21 @@ FilterTree,
*/ */
public filterItems: any[] = []; public filterItems: any[] = [];
/**
* 应用实体名称
*
* @type {string}
* @memberof ${srfclassname('${ctrl.codeName}')}Base
*/
public appdeName: string = '<#if ctrl.getPSDataEntity()??>${ctrl.getPSDataEntity().getCodeName()}</#if>';
/** /**
* modleId * modleId
* *
* @type {string} * @type {string}
* @memberof ${srfclassname('${ctrl.codeName}')}Base * @memberof ${srfclassname('${ctrl.codeName}')}Base
*/ */
public modelId:string = "searchbar_<#if ctrl.getPSAppDataEntity()??>${ctrl.getPSAppDataEntity().getCodeName()?lower_case}<#else>app</#if>_${ctrl.getCodeName()?lower_case}"; public modelId: string = "searchbar_<#if ctrl.getPSAppDataEntity()??>${ctrl.getPSAppDataEntity().getCodeName()?lower_case}<#else>app</#if>_${ctrl.getCodeName()?lower_case}";
/** /**
* 功能服务名称 * 功能服务名称
...@@ -96,7 +104,7 @@ FilterTree, ...@@ -96,7 +104,7 @@ FilterTree,
* @type {string} * @type {string}
* @memberof ${srfclassname('${ctrl.codeName}')}Base * @memberof ${srfclassname('${ctrl.codeName}')}Base
*/ */
public utilServiceName:string = "<#if app.getPSAppFilterStorageUtil?? && app.getPSAppFilterStorageUtil()??>${app.getPSAppFilterStorageUtil().getCodeName()?lower_case}</#if>"; public utilServiceName: string = "<#if app.getPSAppFilterStorageUtil?? && app.getPSAppFilterStorageUtil()??>${app.getPSAppFilterStorageUtil().getCodeName()?lower_case}</#if>";
/** /**
* 获取多项数据 * 获取多项数据
...@@ -281,8 +289,13 @@ FilterTree, ...@@ -281,8 +289,13 @@ FilterTree,
*/ */
public load(data: any) { public load(data: any) {
let param: any = {}; let param: any = {};
Object.assign(param, {}); Object.assign(param, {
let post = this.designService.loadModel(this.utilServiceName, this.context, param); appdeName: this.appdeName,
modelid: this.modelId,
utilServiceName: this.utilServiceName,
...this.viewparams
});
let post = this.service.loadModel(this.utilServiceName, this.context, param);
post.then((response: any) => { post.then((response: any) => {
if(response.status == 200) { if(response.status == 200) {
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册