提交 279c0fa3 编写于 作者: RedPig97's avatar RedPig97

update: 恢复注释

上级 5f22c78c
...@@ -105,11 +105,11 @@ import ${srfclassname('${_appde.getCodeName()}')}Service from '@/service/${srffi ...@@ -105,11 +105,11 @@ import ${srfclassname('${_appde.getCodeName()}')}Service from '@/service/${srffi
_data.push(..._response.data); _data.push(..._response.data);
}); });
// 排序 // 排序
// _data.sort((a:any, b:any)=>{ _data.sort((a:any, b:any)=>{
// let dateA = new Date(Date.parse(a.start?.replace(/-/g, "/"))); let dateA = new Date(Date.parse(a.start?.replace(/-/g, "/")));
// let dateB = new Date(Date.parse(b.start?.replace(/-/g, "/"))); let dateB = new Date(Date.parse(b.start?.replace(/-/g, "/")));
// return dateA > dateB ? 1 : -1 ; return dateA > dateB ? 1 : -1 ;
// }); });
let result = {status: 200, data: _data}; let result = {status: 200, data: _data};
resolve(result); resolve(result);
}).catch((response: any) => { }).catch((response: any) => {
......
...@@ -791,17 +791,17 @@ draggable, ...@@ -791,17 +791,17 @@ draggable,
* @memberof ${srfclassname('${ctrl.codeName}')}Base * @memberof ${srfclassname('${ctrl.codeName}')}Base
*/ */
public uiAction(tag: any, $event: any, group: any) { public uiAction(tag: any, $event: any, group: any) {
// let row = this.selections.length > 0 && group?.items.includes(this.selections[0])? this.selections[0] : {}; let row = this.selections.length > 0 && group?.items.includes(this.selections[0])? this.selections[0] : {};
// if(!row.hasOwnProperty('srfgroup')){ if(!row.hasOwnProperty('srfgroup')){
// Object.assign(row,{srfgroup: group? group.value:null}); Object.assign(row,{srfgroup: group? group.value:null});
// } }
<#if ctrl.getPSAppViewLogics()??> <#if ctrl.getPSAppViewLogics()??>
<#list ctrl.getPSAppViewLogics() as logic> <#list ctrl.getPSAppViewLogics() as logic>
<#if logic.getPSAppViewUIAction().getPSUIAction()??> <#if logic.getPSAppViewUIAction().getPSUIAction()??>
<#assign action = logic.getPSAppViewUIAction().getPSUIAction()> <#assign action = logic.getPSAppViewUIAction().getPSUIAction()>
// if(Object.is('${action.getUIActionTag()}', tag)) { if(Object.is('${action.getUIActionTag()}', tag)) {
// this.${logic.getName()}(row, tag, $event); this.${logic.getName()}(row, tag, $event);
// } }
</#if> </#if>
</#list> </#list>
</#if> </#if>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册