<@cms.surveyList userId=userId startStartDate=startStartDate endStartDate=endStartDate startEndDate=startEndDate endEndDate=endEndDate title=title disabled=disabled orderField=orderField orderType=orderType pageIndex=pageNum pageSize=numPerPage> <@sys.authorized roleIds=admin.roles urls='cmsSurvey/add,cmsSurvey/delete,cmsSurvey/view,cmsSurveyQuestion/list,cmsUserSurvey/list'><#assign authorizedMap=map/>
<#list page.list as a> <@t.merge 'userIds' a.userId!/> <@sys.user ids=t.userIds!><#assign userMap=map!/> <#list page.list as a>
ID <@t.page 'survey.type'/> <@t.page 'title'/> <@t.page 'description'/> <@t.page 'content.promulgator'/> <@t.page 'votes'/> <@t.page 'start_date'/> <@t.page 'end_date'/> <@t.page 'create_date'/> <@t.page 'operate'/>
${a.id!} <@t.page 'survey.type.'+a.surveyType/> ${a.title!} ${a.description!} ${(userMap[a.userId?string].nickname)!} ${a.votes!} ${a.startDate!} ${a.endDate!} ${a.createDate!} <#if !a.disabled> <#if authorizedMap['cmsSurvey/add']> <@t.page 'button.edit'/> <#if authorizedMap['cmsSurveyQuestion/list']> <@t.page 'question'/> <#if authorizedMap['cmsUserSurvey/list']> <@t.page 'answer'/> <#if authorizedMap['cmsSurvey/delete']> <@t.page 'button.delete'/>
<#include "../include_page/page.html"/>