| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485 |
- <script>
- function validateForm(form)
- {
- if (Z.V.isEmpty(form.mediaId.value))
- {
- Z.tips({text:"请输入模版号", width: 150});
- return false;
- }
-
- return true;
- }
- function doTemplateCopy(mediaId)
- {//复制
- var ajax = new Z.Ajax();
- ajax.setClassName("TemplatePresenter");
- ajax.setMethodName("doTemplateCopy");
- ajax.addParam("mediaId", mediaId);
- ajax.setFailureAlert();
- ajax.setSuccess(function(){
- Z.tips("复制成功");
- });
- ajax.setLoading(document, true);
- ajax.execute();
- }
- </script>
- ${zhiqim_manager_breadcrumb("模版日志")}
- ${zhiqim_manager_content()}
- <#-- 导航 -->
- <div data-role="z-tabnav" class="z-tabnav-main z-mg-b20 ${zmr_color_class}">
- <nav>
- <ul>
- <li onclick="Z.Location.href('templateDraftMy.htm');">我的草稿模板</li>
- <li onclick="Z.Location.href('templateOrderMy.htm');">我的订单模板</li>
- <li onclick="Z.Location.href('templateMy.htm');">我的模板</li>
- <li onclick="Z.Location.href('templateCollect.htm');">我收藏的</li>
- <li onclick="Z.Location.href('templateShare.htm');">分享给我的</li>
- <li onclick="Z.Location.href('allTemplate.htm');">所有模板</li>
- <!-- <li onclick="Z.Location.href('bestTemplate.htm');">精品模板</li> -->
- <#if ZmrPathRule.check(request, "/templateAudit.htm")><li onclick="Z.Location.href('templateAudit.htm');">模板审核</li></#if>
- <!-- <#if ZmrPathRule.check(request, "/templateBestAudit.htm")><li onclick="Z.Location.href('templateBestAudit.htm');">精品审核</li></#if> -->
- <#if ZmrPathRule.check(request, "/desTemplateLogList.htm")><li class="z-active">模版日志</li></#if>
- </ul>
- </nav>
- </div>
- <#-- 查询条件 -->
- ${zhiqim_manager_title("模版日志查询")}
- <form name="theForm" method="post" onsubmit="return validateForm(this);">
- <table class="z-table z-bordered z-bg-white z-pd6">
- <tr>
- <td>
- <select name="queryType" class="z-select z-w180" data-role="z-select" data-class="${zmr_color_class}">
- <option value="0" <#if queryType == 0>selected</#if>>审核日志</option>
- <option value="1" <#if queryType == 1>selected</#if>>模板查询</option>
- </select>
- 模版号:<input class="z-input ${zmr_color_class} z-w200" name="mediaId" value="${mediaId}" maxlength="20" placeholder="模版号">
- <button type="submit" class="z-button z-large z-w120 z-mg-l20 z-mg-r15 ${zmr_color_class}">查询</button><button class="z-button z-large" type="button" onclick="Z.FM.clearForm(this.form);">清空</button>
- </td>
- </tr>
- </table>
- </form>
- <#-- 列表 -->
- <table class="z-table z-bordered z-h40-tr zi-bd z-pd5 z-bg-white z-text-center z-mg-t20" >
- <tr bgcolor="${zmr_thead_bgcolor}">
- <td width="20%">模版号</td>
- <td width="20%">审核人</td>
- <td width="*">描述</td>
- <td width="20%">操作时间</td>
- </tr>
- ${zhiqim_manager_tr_no_record(pageResult, 4, "暂时没有模版日志信息")}
- <#for item : pageResult.list()>
- <tr ${zhiqim_manager_tr_onmouse()}>
- <td>${item.getMediaId()}</td>
- <td>${item.getOperatorCode()}</td>
- <td>${item.getLogDesc()}</td>
- <td><#if queryType == 0>${Sqls.toDateTimeString(item.getCreateTime())}<#else><button type="button" class="z-button z-blue" onclick="doTemplateCopy('${item.getMediaId()}')">复制模板</button></#if></td>
- </tr>
- </#for>
- </table>
- ${zhiqim_manager_paging(pageResult, "desTemplateLogList.htm")}
- ${zhiqim_manager_content_end()}
|