157 라인
5.5 KiB
Plaintext
157 라인
5.5 KiB
Plaintext
<script>
|
|
function remark(){
|
|
var designer = Z.FM.getChecked("designer");
|
|
Z.prompt("请输入标签内容", Z("#remark"+designer).val(), function(value){
|
|
var ajax = new Z.Ajax();
|
|
ajax.setContextPath("${context.getContextPath()}");
|
|
ajax.setClassName("DesignerPresenter");
|
|
ajax.setMethodName("doUpdateCourseRemark");
|
|
ajax.addParam("designer",designer);
|
|
ajax.addParam("remark",value);
|
|
ajax.setFailureAlert();
|
|
ajax.setSuccess(function(){
|
|
Z.success("操作成功",function(){
|
|
document.getElementById("designerManage").submit();
|
|
});
|
|
});
|
|
ajax.execute();
|
|
});
|
|
}
|
|
|
|
function queryDetail(){
|
|
var designer = Z.FM.getChecked("designer");
|
|
|
|
var dialog = new parent.Z.Dialog();
|
|
dialog.title = "设计师详情";
|
|
dialog.url = "/designerCourseDetail.htm?designer="+designer;
|
|
dialog.width = 700;
|
|
dialog.height = 520;
|
|
dialog.execute();
|
|
}
|
|
|
|
function exportData(designer){
|
|
|
|
var ajax = new Z.Ajax();
|
|
ajax.setClassName("OrderPresenter");
|
|
ajax.setMethodName("designSroce");
|
|
ajax.addParam(designer);
|
|
ajax.setFailureAlert();
|
|
ajax.setSuccess(function(){
|
|
Z.success("操作成功",function(){parent.location.reload();parent.Z.Dialog.close();});
|
|
});
|
|
ajax.setLoading("returnTk", '正在提交', {disabled:true});
|
|
ajax.execute();
|
|
|
|
}
|
|
|
|
|
|
|
|
//指定组织
|
|
function doAssignOrg()
|
|
{
|
|
var designer = Z.FM.getChecked("designer");
|
|
if (Z.V.isEmpty(designer))
|
|
{
|
|
Z.alert("请选择设计师");
|
|
return;
|
|
}
|
|
|
|
var dialog = new Z.Dialog();
|
|
dialog.title = "指定组织";
|
|
dialog.url = "/assignOrg.htm?designer=" + designer;
|
|
dialog.width = 400;
|
|
dialog.height = 250;
|
|
dialog.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.L.href('orderList.htm');">订单列表</li>
|
|
<li onclick="Z.L.href('orderLogList.htm');">订单日志</li>
|
|
<li onclick="Z.L.href('orderRefundList.htm');">退款订单列表</li>
|
|
<li class="z-active">待办列表</li>
|
|
</ul>
|
|
</nav>
|
|
</div>
|
|
|
|
<#-- 查询条件 -->
|
|
${zhiqim_manager_title("查询条件")}
|
|
<form name="orderBacklog" action="/orderBacklog.htm" method="post" id="orderBacklog">
|
|
<table class="z-table z-bordered z-pd6 z-bg-white">
|
|
<tr>
|
|
<td width="30%">订单号:<input name="designId" class="${zmr_color_class} z-input z-w160 z-mg-l4" value="${designId}" maxlength="64" placeholder="订单号"></td>
|
|
<td>
|
|
商户名称:<select name="merchantId" class="z-select z-w200" data-role="z-select" data-class="${zmr_color_class}">
|
|
<option value="">全部</option>
|
|
<#for item : Global.get(DesignMerchantCache.class).getList()>
|
|
<option value="${item.getMerchantName()}" <#if merchantId == item.getMerchantId()>selected</#if>>${item.getMerchantName()}</option>
|
|
</#for>
|
|
</select>
|
|
</td>
|
|
<td>设计师:<input name="designer" class="${zmr_color_class} z-input z-w160 z-mg-l4" value="${designer}" maxlength="64" placeholder="设计师">
|
|
</td>
|
|
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
订单状态:<select name="orderStatus" class="z-select z-w200" data-role="z-select" data-class="${zmr_color_class}">
|
|
<option value="">全部</option>
|
|
<option value="1" >暂停设计</option>
|
|
<option value="2" >初稿/定稿未完成</option>
|
|
<option value="3" >已处理</option>
|
|
<option value="4" >超时订单</option>
|
|
</select>
|
|
</td>
|
|
<td > 待办发送时间:<input id="startDate" name="startDate" class="z-input z-w150 ${zmr_color_class}" readonly="true" onfocus="Z.datetime(this);" value="${startTime}"> -
|
|
<input id="endDate" name="endDate" class="z-input z-mg-l3 z-w150 ${zmr_color_class}" readonly="true" onfocus="Z.datetime(this);" value="${endTime}">
|
|
</td>
|
|
<td>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr class="z-h40">
|
|
<td colspan="3" align="center"><button class="z-button z-large z-w120 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 z-pd5 zi-bd-r-none z-bg-white z-text-center" style="width:100%">
|
|
<tr class="z-h40" bgcolor="${zmr_thead_bgcolor}">
|
|
<td width="25%">待办状态</td>
|
|
<td width="*">待办内容</td>
|
|
<td width="15%">通知人</td>
|
|
<td width="15%">待办创建时间</td>
|
|
<td width="15%">操作</td>
|
|
</tr>
|
|
<#for item : result.list()>
|
|
<tr class="z-h60" bgcolor="${zhiqim_manager_tr_bg(item_index)}">
|
|
<td>
|
|
<#if item.getMessageType() == 1>待办事项</#if>
|
|
<#if item.getMessageType() == 2>已办事项</#if>
|
|
<#if item.getMessageType() == 3>已办事项</#if>
|
|
</td>
|
|
<td>#{item.getMessageBody()}</td>
|
|
<td>#{item.getConsumerCode()}</td>
|
|
<td>#{Sqls.toDateTimeString(item.getCreateTime())}</td>
|
|
<td align="center">
|
|
<span class="z-button z-blue" onclick="exportData('${item.getConsumerCode()}')">增加积分</span>
|
|
</td>
|
|
</tr>
|
|
</#for>
|
|
${zhiqim_manager_tr_no_record(result, 10, "暂时没有公告")}
|
|
</table>
|
|
${zhiqim_manager_paging(pageResult, "/orderBacklog.htm")}
|
|
|
|
${zhiqim_manager_content_end()} |