228 sor
11 KiB
Plaintext
228 sor
11 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(){
|
|
var form = document.designerManage;
|
|
form.action= "/designerManageExport.htm"
|
|
form.submit();
|
|
|
|
setTimeout(form.action= "/designerManage.htm",300);
|
|
}
|
|
|
|
function exportData(){
|
|
var form = document.accountsManage;
|
|
form.action= "/accountsManageExport.htm"
|
|
form.submit();
|
|
|
|
setTimeout(form.action= "/accountsManage.htm",300);
|
|
}
|
|
|
|
//指定组织
|
|
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('designerManage.htm');">设计师管理</li>
|
|
<li onclick="Z.L.href('onlineLog.htm');">在线设计师</li>
|
|
<li onclick="Z.L.href('workSearchLog.htm');">工作日志</li>
|
|
<li onclick="Z.L.href('desOnlineTimeLog.htm');">接单时长</li>
|
|
<li onclick="Z.L.href('designerReg.htm');">注册审核</li>
|
|
<li onclick="Z.L.href('virtualAccount.htm');">资金账户</li>
|
|
<li class="z-active">结算管理</li>
|
|
</ul>
|
|
</nav>
|
|
</div>
|
|
|
|
<#-- 查询条件 -->
|
|
${zhiqim_manager_title("查询条件")}
|
|
<form name="accountsManage" action="/accountsManage.htm" method="post" id="accountsManage">
|
|
<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 width="34%">产品类型:
|
|
<select name="typeId" class="z-select z-w180" data-role="z-select" data-class="${zmr_color_class}">
|
|
<option value="">全部</option>
|
|
<#for item : DesignTypeDao.list()>
|
|
<option value="${item.getTypeId()}" <#if typeId == item.getTypeId()>selected</#if>>${item.getTypeName()}</option>
|
|
</#for>
|
|
</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>
|
|
</tr>
|
|
<tr class="z-h40">
|
|
<td>旺旺号:<input name="buyerNick" class="${zmr_color_class} z-input z-w160 z-mg-l4" value="${buyerNick}" maxlength="64" placeholder="旺旺号"></td>
|
|
<td>订单金额:<select name="amount" class="z-select z-w180" data-role="z-select" data-class="${zmr_color_class}">
|
|
<option value="">全部</option>
|
|
<option value="10000" <#if amount == 10000>selected</#if>>100以上</option>
|
|
<option value="30000" <#if amount == 30000>selected</#if>>300以上</option>
|
|
<option value="50000" <#if amount == 50000>selected</#if>>500以上</option>
|
|
<option value="100000" <#if amount == 100000>selected</#if>>1000以上</option>
|
|
</select>
|
|
</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>
|
|
</tr>
|
|
<tr>
|
|
<td>设计师:<input name="designer" class="${zmr_color_class} z-input z-w160 z-mg-l4" value="${designer}" maxlength="64" placeholder="设计师">
|
|
</td>
|
|
<td>
|
|
设计等级:<select name="draftType" class="z-select z-w180" data-role="z-select" data-class="${zmr_color_class}">
|
|
<option value="">全部</option>
|
|
<#for item : DraftConstants.getList()>
|
|
<#if item.value() != 4 >
|
|
<option value="${item.value()}" <#if draftType == item.value()>selected</#if>>${item.desc()}</option>
|
|
</#if>
|
|
</#for>
|
|
</select>
|
|
</td>
|
|
<td>
|
|
订单状态:<select name="orderStatus" class="z-select z-w200" data-role="z-select" data-class="${zmr_color_class}">
|
|
<option value="">全部</option>
|
|
<#for statusStr : StatusConstants.getOrderStatusList()>
|
|
<#if statusStr.value() != StatusConstants.ORDER_62.value() && statusStr.value() != StatusConstants.ORDER_20.value()>
|
|
<option value="${statusStr.value()}" <#if statusStr.value() == orderStatus>selected</#if>>${statusStr.desc()}</option>
|
|
</#if>
|
|
</#for>
|
|
<option value="110" <#if orderStatus == 110>selected</#if>>未完成</option>
|
|
<option value="120" <#if orderStatus == 120>selected</#if>>审稿退回</option>
|
|
</select>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>erp单号:<input name="tids" class="${zmr_color_class} z-input z-w160 z-mg-l4" value="${tids}" placeholder="erp单号">
|
|
</td>
|
|
<td>
|
|
|
|
</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>
|
|
|
|
<#-- 操作功能 -->
|
|
<div class="z-w100p z-mg-t10 z-mg-b3">
|
|
<button type="button" class="z-button z-mg-t3 z-mg-r6 ${zmr_color_class}" onclick="exportData();"><i class="z-font z-download"></i>数据导出</button>
|
|
</div>
|
|
|
|
<#-- 列表-->
|
|
<div class="z-overflow-auto z-bd-r">
|
|
<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 bgcolor="${zmr_thead_bgcolor}" data-layoutCode="orderList">
|
|
<td width="30"><input name="allDesignId" type="checkbox" data-role="z-checkbox" data-class="${zmr_color_class}" value="${pageResult.pageNo()}" onclick="Z.FM.doSelectCheckBox('designId', this.checked);"> 选择</td>
|
|
<td width="30">设计师</td>
|
|
<td width="50">订单号</td>
|
|
<td width="60">文件名</td>
|
|
<td width="10">订单状态</td>
|
|
<td width="30">提现账号</td>
|
|
<td width="60">设计佣金<span data-role="z-tooltip" data-options="align:left;width:100px;" class="z-color-red" data-text="设计师完成订单后获取的费用"> *</span></td>
|
|
|
|
|
|
<td width="70">审核完成时间</td>
|
|
|
|
</tr>
|
|
${zhiqim_manager_tr_no_record(pageResult, 27, "暂时没有数据")}
|
|
<#for item : pageResult.list()>
|
|
<input id="buyerNick_${item.getDesignId()}" type="hidden" value="${item.getBuyerNick()}">
|
|
<input id="userQqs_${item.getDesignId()}" type="hidden" value="${item.getDesignCopies()}">
|
|
<input id="status_${item.getDesignId()}" type="hidden" value="${item.getStatus()}">
|
|
<input id="designPrice_${item.getDesignId()}" type="hidden" value="${Amounts.toYuan(item.getDesignPrice())}">
|
|
<input id="urgentPrice_${item.getDesignId()}" type="hidden" value="${Amounts.toYuan(item.getUrgentPrice())}">
|
|
<input id="orderText_${item.getDesignId()}" type="hidden" value="${item.getOrderText()}">
|
|
<tr class="z-pointer" ${zhiqim_manager_tr_onmouse()} ${zhiqim_manager_tr_click_checkbox()}>
|
|
<td><input name="designId" type="checkbox" data-role="z-checkbox" data-class="${zmr_color_class}" value="${item.getDesignId()}" onclick="Z.L.href('attaFileList.htm?designId=${item.getDesignId()}&${data}&${addRule}&${delRule}', attaFileList);"></td>
|
|
<td>${item.getDesigner()}</td>
|
|
<td>${item.getDesignId()}
|
|
<#if Validates.isNotEmpty(item.getCheckBackReason()) && item.getStatus() lt 55 >
|
|
<span style="color: red;font-size:16px;font-weight: bold" data-role="z-tooltip" data-options="placement:right;align:bottom;arrow:false;" data-text="订单已被审稿驳回"> 驳 </span>
|
|
<#elseif Validates.isNotEmpty(item.getDraftBackReason()) && item.getStatus() lt 55 >
|
|
<span style="color: red;font-size:16px;font-weight: bold" data-role="z-tooltip" data-options="placement:right;align:bottom;arrow:false;" data-text="订单已被审稿驳回"> 驳 </span>
|
|
<#elseif Validates.isNotEmpty(item.getEndBackReason()) && item.getStatus() lt 55 >
|
|
<span style="color: red;font-size:16px;font-weight: bold" data-role="z-tooltip" data-options="placement:right;align:bottom;arrow:false;" data-text="订单已被审稿驳回"> 驳 </span>
|
|
</#if>
|
|
<#if item.isChange()>
|
|
<span style="color: red;font-size:16px;font-weight: bold" data-role="z-tooltip" data-options="placement:right;align:bottom;arrow:false;" data-text="改稿订单"> 改 </span>
|
|
</#if>
|
|
<#if item.isBack()>
|
|
<span style="color: red;font-size:16px;font-weight: bold" data-role="z-tooltip" data-options="placement:right;align:bottom;arrow:false;" data-text="打回订单"> 回 </span>
|
|
</#if>
|
|
<#if item.getIsOldUser() gt 0>
|
|
<span style="color: #9D24D7;font-size:16px;font-weight: bold" data-role="z-tooltip" data-options="placement:right;align:bottom;arrow:false;" data-text="老用户订单"> 老 </span>
|
|
</#if>
|
|
</td>
|
|
<td>${item.getOrderText()}</td>
|
|
<td>${StatusConstants.getStatus(item.getStatus())}</td>
|
|
<td>${item.getReceiveAccount()}</td>
|
|
<td>${Amounts.toYuanMustRadix(item.getDesignPrice())}</td>
|
|
|
|
<td>${Sqls.toDateTimeString(item.getCheckTime())}</td>
|
|
|
|
</tr>
|
|
</#for>
|
|
</table>
|
|
${zhiqim_manager_paging(pageResult, "/accountsManage.htm")}
|
|
|
|
${zhiqim_manager_content_end()} |