| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- <#def designatedPath="/zhiqimOrdermeal/ordermeal.htm"/>
- ${zhiqim_manager_breadcrumb("菜单信息")}
- ${zhiqim_manager_content()}
- <#-- 导航 -->
- <div class="z-tabnav-main z-mg-b20 ${zmr_color_class}">
- <nav>
- <ul>
- <li onclick="Z.L.href('designerSubscribe.htm');">我的点餐日历</li>
- <li class="z-active">菜单信息</li>
- </ul>
- <div class="z-float-left z-mg10">
- <form name="theForm" method="post">
- <span class="z-float-left">
- <select name="ordermealType" class="z-select z-w200" data-role="z-select" data-class="zi-bd-r-none ${zmr_color_class}" onchange="this.form.submit();">
- <option value="">全部类型</option>
- <option value="0" <#if ordermealType == 0>selected</#if>>中餐</option>
- <option value="1" <#if ordermealType == 1>selected</#if>>晚餐</option>
- </select>
- </span>
- <button class="z-float-left z-button z-w80 zi-bd-rd0 ${zmr_color_class}"><i class="z-font z-query"></i>查询</button>
- </form>
- </div>
- <div class="z-text-right z-mg-t10 z-mg-r5">
- <#if ZmrPathRule.check(request, "/zhiqimOrdermeal/menuAdd.htm")>
- <button class="z-button ${zmr_color_class}" onclick="Z.L.href('menuAdd.htm');"><i class="z-ico z-add"></i>增加菜单</button>
- </#if>
- <#if ZmrPathRule.check(request, "/zhiqimOrdermeal/menuModify.htm")>
- <button class="z-button ${zmr_color_class}" onclick="Z.L.check('menuModify.htm', 'ordermealMenuId');"><i class="z-ico z-modify"></i>修改菜单</button>
- </#if>
- <#if ZmrPathRule.check(request, "/zhiqimOrdermeal/menuDelete.htm")>
- <button class="z-button z-red" onclick="Z.L.confirm('menuDelete.htm', '是否删除该菜单?', 'ordermealMenuId', zCallFrame);"><i class="z-ico z-delete"></i>删除菜单</button>
- </#if>
- </div>
- </nav>
- </div>
- <#-- 列表 -->
- <table class="z-table z-bordered z-h40-tr z-pd4 z-bg-white z-text-center">
- <tr bgcolor="${zmr_thead_bgcolor}">
- <td width="50">选择</td>
- <td width="150">点餐日期</td>
- <td width="150">点餐星期</td>
- <td width="150">点餐类型</td>
- <td width="*">菜单</td>
- </tr>
- ${zhiqim_manager_tr_no_record(result, 5, "没有菜单信息")}
- <#for item : result.list()>
- <tr class="z-pointer" ${zhiqim_manager_tr_onmouse()} ${zhiqim_manager_tr_click_radio()}>
- <td><input name="ordermealMenuId" type="radio" data-role="z-radio" data-class="${zmr_color_class}" value="${item.getOrdermealMenuId()}"></td>
- <td class="z-samp">${item.getOrdermealMenuDate()}</td>
- <td>${DateTimes.getDateWeekString(item.getOrdermealMenuDate())}</td>
- <td>
- <#if item.getOrdermealType() == 0>中餐</#if>
- <#if item.getOrdermealType() == 1>晚餐</#if>
- </td>
- <td class="z-text-left">${item.getOrdermealMenu()}</td>
- </tr>
- </#for>
- </table>
- ${zhiqim_manager_paging (result, "menu.htm")}
- ${zhiqim_manager_content_end()}
|