| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127 |
- <script>
- function doQueryDesigner(designer)
- {
- Z("#designer").val(designer);
- Z.loading(document);
- Z("#theForm")[0].submit();
- }
- </script>
- <#def designatedPath="/timeoutOrderNear.htm"/>
- ${zhiqim_manager_breadcrumb("定稿超时列表")}
- ${zhiqim_manager_content()}
- <#-- 页面数据定义 -->
- <#var typeMap = DesignTypeDao.mapAll()/>
- <#var industryMap = Global.get(DesignIndustryCache.class).mapAll()/>
- <#-- 导航栏 -->
- <div class="z-tabnav-main z-blue z-mg-b20">
- <nav>
- <ul>
- <!--<li onclick="Z.Location.href('chargeOrder.htm');">主管审核</li>-->
- <#if ZmrPathRule.check(request, "/timeoutOrderNear.htm")><li onclick="Z.Location.href('timeoutOrderNear.htm');">快超时订单</li></#if>
- <#if ZmrPathRule.check(request, "/timeoutOrderToday.htm")><li onclick="Z.Location.href('timeoutOrderToday.htm');">当日超时订单</li></#if>
- <#if ZmrPathRule.check(request, "/timeoutOrderHistory.htm")><li onclick="Z.Location.href('timeoutOrderHistory.htm');">历史超时订单</li></#if>
- <#if ZmrPathRule.check(request, "/notTimeoutCompleteOrderHistory.htm")><li onclick="Z.Location.href('notTimeoutCompleteOrderHistory.htm');">时效绩效</li></#if>
- <li class="z-active">定稿超时列表</li>
- <#if ZmrPathRule.check(request, "/timeoutOrderHistoryStat.htm")><li onclick="Z.Location.href('timeoutOrderHistoryStat.htm');">初稿超时折线图</li></#if>
- <#if ZmrPathRule.check(request, "/timelinessOrgStat.htm")><li onclick="Z.Location.href('timelinessOrgStat.htm');">组织初稿时效</li></#if>
- </ul>
- </nav>
- </div>
- <#-- 查询条件 -->
- ${zhiqim_manager_title("查询条件")}
- <form name="theForm" id="theForm">
- <table class="z-table z-bordered z-pd6 z-bg-white">
- <input type="hidden" name="designer" id="designer" value="">
- <tr class="z-h40">
- <td width="24%">录单时间:
- <input name="startDate" class="z-input z-w90 ${zmr_color_class}" readonly="true" onfocus="Z.date(this);" value="${startDate}"> -
- <input name="endDate" class="z-input z-w90 ${zmr_color_class}" readonly="true" onfocus="Z.date(this);" value="${endDate}">
- </td>
- <td width="24%">是否定稿:
- <select name="hasComplete" class="z-select z-w200" data-role="z-select" data-class="${zmr_color_class}">
- <option value="">全部</option>
- <option value="1" <#if 1 == hasComplete>selected</#if>>已定稿</option>
- <option value="0" <#if 0 == hasComplete>selected</#if>>未定稿</option>
- </select>
- </td>
- <td width="*">选择行业:
- <select name="industryId" class="z-select z-w180" data-role="z-select" data-class="${zmr_color_class}">
- <option value="">全部</option>
- <#for item : Global.get(DesignIndustryCache.class).getIndustryList()>
- <option value="${item.getIndustryId()}" <#if item.getIndustryId() == industryId>selected</#if>>${item.getIndustryName()}</option>
- </#for>
- </select>
- </td>
- <td width="*"><button class="z-button z-large z-w100 ${zmr_color_class}" >查询</button> <button class="z-button z-large" type="button" onclick="Z.Forms.clearForm(this.form)">清空</button></td>
- </tr>
- <tr>
- </tr>
- </table>
- </form>
- <#-- 分页列表 -->
- <div class="z-mg-t20">
- <table class="z-table z-bordered z-pd6 z-bd-none">
- <tr>
- <td width="300" valign="top">
- <table class="z-table z-bordered z-bg-white z-text-center">
- <tr class="z-h40" bgcolor="${zmr_thead_bgcolor}">
- <td width="100">序号</td>
- <td width="100">设计师</td>
- <td width="100">订单数</td>
- </tr>
- <#for item : map.keySet()>
- <tr class="z-h40" <#if item == designer>bgcolor="#f3fdfc"</#if> onclick="doQueryDesigner('${item}');">
- <td>${item_index +1}</td>
- <td>${item}</td>
- <td>${map.get(item)}</td>
- </tr>
- </#for>
- <#if map.values().isEmpty()>
- ${zhiqim_manager_no_record(3, "暂时没有信息")}
- </#if>
- </table>
- </td>
- <td width="*" valign="top">
- <table class="z-table z-bordered z-bg-white z-text-center">
- <tr class="z-h40" bgcolor="${zmr_thead_bgcolor}">
- <td width="150">订单ID</td>
- <td width="*">订单信息</td>
- <td width="100">旺旺名</td>
- <td width="150">录单时间</td>
- <td width="150">初稿时间</td>
- <td width="150">定稿时间</td>
- <td width="150">进度备注</td>
- <td width="100">超时时长</td>
- <td width="100">设计师</td>
- <td width="100">行业</td>
- </tr>
- <#for item : pageResult.list()>
- <#var effectiveTime = 24*60/>
- <tr class="z-pointer z-h40" ${zhiqim_manager_tr_onmouse()}>
- <td>${item.getDesignId()}</td>
- <td>${item.getOrderText()}</td>
- <td>${item.getBuyerNick()}</td>
- <td>${Sqls.toDateTimeString(item.getCreateTime())}</td>
- <td>${Sqls.toDateTimeString(item.getDesignDraftTime())}</td>
- <td>${Sqls.toDateTimeString(item.getDesignEndTime())}</td>
- <td>${progressNoteMap.get(item.getDesignId())}</td>
- <td><span class="z-text-red"><#if Validates.isNotEmpty(item.getDesignEndTime())>${DateTimes.compareMinute(item.getDesignEndTime(), item.getCreateTime()) - effectiveTime}<#else>${DateTimes.compareMinute(Sqls.nowTimestamp(), item.getCreateTime()) - effectiveTime}</#if> 分钟</span></td>
- <td>${item.getDesigner()}</td>
- <td><#if Validates.isNotEmpty(industryMap) && industryMap.containsKey(item.getIndustryId())>${industryMap.get(item.getIndustryId()).getIndustryName()}</#if></td>
- </tr>
- </#for>
- <#if pageResult.total() == 0>
- ${zhiqim_manager_no_record(10, "暂时没有定稿超时列表信息")}
- </#if>
- </table>
- ${zhiqim_manager_paging(pageResult, "timeoutCompleteOrderHistory.htm")}
- </td>
- </tr>
- </table>
- </div>
- ${zhiqim_manager_content_end()}
|