first commit
이 커밋은 다음에 포함됨:
@@ -0,0 +1,173 @@
|
||||
${sweet_alert_reuse_method()}
|
||||
<script>
|
||||
function showLargeImg(thisImg)
|
||||
{
|
||||
var dialog = new parent.Z.Dialog();
|
||||
dialog.shadow = true;
|
||||
dialog.title = "图片";
|
||||
dialog.fixed = true;
|
||||
|
||||
dialog.url = "showLargeImg.htm?imgpath="+thisImg.src;
|
||||
dialog.width = parent.Z.D.clientWidth()-200;
|
||||
dialog.height = parent.Z.D.clientHeight()-200;
|
||||
dialog.execute();
|
||||
dialog.$background.remove();
|
||||
}
|
||||
|
||||
function doRemoveImg()
|
||||
{
|
||||
Z("#divImg").remove();
|
||||
Z("#finishImgPath").remove();
|
||||
}
|
||||
|
||||
(function(){
|
||||
var imgReader = function( item ){
|
||||
var blob = item.getAsFile(),
|
||||
reader = new FileReader();
|
||||
// 读取文件后将其显示在网页中
|
||||
reader.onload = function(e){
|
||||
var img = new Image();
|
||||
var result = e.target.result;
|
||||
Z("#imgData").text(result);
|
||||
img.src = result;
|
||||
img.id = "divImg";
|
||||
Z("#imgSrc").append(img);
|
||||
};
|
||||
// 读取文件
|
||||
reader.readAsDataURL(blob);
|
||||
};
|
||||
window.addEventListener( 'paste', function(e){
|
||||
// 添加到事件对象中的访问系统剪贴板的接口
|
||||
var clipboardData = e.clipboardData,
|
||||
i = 0,
|
||||
items, item, types;
|
||||
|
||||
if(clipboardData){
|
||||
items = clipboardData.items;
|
||||
if( !items ){
|
||||
return;
|
||||
}
|
||||
item = items[0];
|
||||
// 保存在剪贴板中的数据类型
|
||||
types = clipboardData.types || [];
|
||||
for( ; i < types.length; i++ ){
|
||||
if( types[i] === 'Files' ){
|
||||
item = items[i];
|
||||
break;
|
||||
}
|
||||
}
|
||||
// 判断是否为图片数据
|
||||
if( item && item.kind === 'file' && item.type.match(/^image\//i) ){
|
||||
imgReader( item );
|
||||
}
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
||||
function doDealComplainOrder(){
|
||||
var imgData = Z("#imgData").text();//投诉截图
|
||||
if (Z.Validates.isEmpty(Z("#imgSrc").html()))
|
||||
{
|
||||
swal({title : "请将跟进截图粘贴至空白处",type : "warning",timer: 1500,width:300,showConfirmButton:false});
|
||||
return;
|
||||
}
|
||||
|
||||
var ajax = new Z.Ajax();
|
||||
ajax.setClassName("ComplainDealPresenter");
|
||||
ajax.setMethodName("doDealComplainOrder");
|
||||
ajax.addParam("complainId",Z("#complainId").val());
|
||||
ajax.addParam("imgData",imgData);
|
||||
ajax.setFailureAlert();
|
||||
ajax.setSuccess(function(){
|
||||
swal({title:"处理成功",type:"success",timer: 1200,width:300,showConfirmButton:false}).then(function(){
|
||||
parent.location.reload();parent.Z.Dialog.close();
|
||||
});
|
||||
});
|
||||
ajax.setLoading("complainDeal", '<i class="z-font z-save"></i>正在处理',{disabled:true});
|
||||
ajax.execute();
|
||||
|
||||
}
|
||||
|
||||
</script>
|
||||
${zhiqim_manager_content()}
|
||||
<input type="hidden" id="complainId" name="complainId" value="${order.getComplainId()}">
|
||||
<form name="theForm">
|
||||
<table class="z-table z-bordered z-pd6 z-bg-white z-text-left">
|
||||
<tr class="z-h40">
|
||||
<td align="center" width="150">客户旺旺:</td>
|
||||
<td width="140">${order.getBuyerNick()}</td>
|
||||
<td align="center" width="130">产品名称:</td>
|
||||
<td colspan="2">${order.getOrderText()}</td>
|
||||
</tr>
|
||||
<tr class="z-h40">
|
||||
<td align="center" width="150">店铺名称:</td>
|
||||
<td width="140">${order.getShopNick()}</td>
|
||||
<td align="center" width="130">设 计 师:</td>
|
||||
<td width="210">${order.getDesigner()}</td>
|
||||
<td align="left" colspan="1">录单时间:${Sqls.toDateTimeString(order.getCreateTime())}</td>
|
||||
</tr>
|
||||
<tr class="z-h40">
|
||||
<td align="center" width="150">责任部门:</td>
|
||||
<td width="190">${order.getUndertakeDept()}</td>
|
||||
<td align="center" width="130">投诉类型:</td>
|
||||
<td width="210">${order.getComplainType()}</td>
|
||||
<td align="left" width="300">店铺扣罚:${order.getShopPunishScore()} 分</td>
|
||||
</tr>
|
||||
|
||||
<tr class="z-h40">
|
||||
<td align="center" width="150">处理方案:</td>
|
||||
<td width="190">${order.getDisposeProject()}</td>
|
||||
<td align="center" width="150">责任人:</td>
|
||||
<td width="210">${order.getUndertakePerson()}</td>
|
||||
<td width="300">
|
||||
<button type="button" class="z-button zi-bg-white zi-mg-l1" onclick="Z(this).find('zcover>i.z-checkbox').click()">
|
||||
<input type="checkbox" id="isSatrapAssist" name="isSatrapAssist" class="z-checkbox" data-class="${zmr_color_class}" <#if order.isSatrapAssist()>checked</#if> data-role="z-checkbox" onclick="Z.E.stop(); this.value=this.checked" disabled>
|
||||
主管协助</button>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr class="z-h50">
|
||||
<td align="center" width="150">备注:</td>
|
||||
<td colspan="4">${order.getComplainSpecificText()}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center" width="200">受理截图</td>
|
||||
<td colspan="5" >
|
||||
<div style="display: flex;max-height: 100px;">
|
||||
<img src="${order.getDisposeImgPath()}" onclick="showLargeImg(this)" id="disposeImgPath">
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="z-h100">
|
||||
<td align="center" width="200">跟进截图:</td>
|
||||
<td colspan="5" style="position: relative;">
|
||||
<#if order.getComplainStatus() != 20><button type="button" class="z-button z-mg-l10 z-w60 z-cyan z-relative-right" onclick="doRemoveImg();" style="top:2px;left: 90%;position: absolute;">移除</button></#if>
|
||||
<div style="display:none" id="imgData"></div>
|
||||
<div id="imgSrc"></div>
|
||||
<div><img src="${order.getFinishImgPath()}" onclick="showLargeImg(this)" id="finishImgPath"></div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="z-h100">
|
||||
<td align="center" width="200" style="border-top:none;"></td>
|
||||
<td style="border-top:none;" colspan="5"></td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
${zhiqim_manager_content_end()}
|
||||
|
||||
<#-- 操作 -->
|
||||
<div class="z-fixed z-w100p z-h100 z-text-center" style="bottom:0;left:0">
|
||||
<div>
|
||||
<table class="z-table z-bordered z-pd6 z-text-left z-bg-white z-h40">
|
||||
<tr class="z-h40">
|
||||
<td align="center" colspan="3">订单受理人:<input type="text" value="${order.getComplainAddName()}" id="complainAddName" style="border:none;"></td>
|
||||
<td align="center" colspan="3">受理时间:<input type="text" value="${Sqls.toDateTimeString(order.getComplainAddTime())}" id="complainAddTime" style="border:none;"></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div class="z-w100p z-bg-gray z-pd-t10 z-h60">
|
||||
<#if order.getComplainStatus() != 20><button type="button" id="complainDeal" class="z-button ${zmr_color_class} z-large z-w150" onclick="doDealComplainOrder();">提交投诉单</button> </#if>
|
||||
<button type="button" class="z-button z-large z-mg-l10 z-w100" onclick="parent.Z.Dialog.close();">关闭</button>
|
||||
</div>
|
||||
</div>
|
||||
@@ -0,0 +1,90 @@
|
||||
<script>
|
||||
function showLargeImg(thisImg)
|
||||
{
|
||||
var dialog = new parent.Z.Dialog();
|
||||
dialog.shadow = true;
|
||||
dialog.title = "图片";
|
||||
dialog.fixed = true;
|
||||
|
||||
dialog.url = "showLargeImg.htm?imgpath="+thisImg.src;
|
||||
dialog.width = parent.Z.D.clientWidth()-200;
|
||||
dialog.height = parent.Z.D.clientHeight()-200;
|
||||
dialog.execute();
|
||||
dialog.$background.remove();
|
||||
}
|
||||
</script>
|
||||
${zhiqim_manager_content()}
|
||||
<form name="theForm">
|
||||
<table class="z-table z-bordered z-pd6 z-bg-white z-text-left">
|
||||
<tr class="z-h40">
|
||||
<td align="center" width="150">客户旺旺:</td>
|
||||
<td width="140">${order.getBuyerNick()}</td>
|
||||
<td align="center" width="130">产品名称:</td>
|
||||
<td colspan="2">${order.getOrderText()}</td>
|
||||
</tr>
|
||||
<tr class="z-h40">
|
||||
<td align="center" width="150">店铺名称:</td>
|
||||
<td width="140">${order.getShopNick()}</td>
|
||||
<td align="center" width="130">设 计 师:</td>
|
||||
<td width="210">${order.getDesigner()}</td>
|
||||
<td align="left" colspan="1">录单时间:${Sqls.toDateTimeString(order.getCreateTime())}</td>
|
||||
</tr>
|
||||
<tr class="z-h40">
|
||||
<td align="center" width="150">责任部门:</td>
|
||||
<td width="190">${order.getUndertakeDept()}</td>
|
||||
<td align="center" width="130">投诉类型:</td>
|
||||
<td width="210">${order.getComplainType()}</td>
|
||||
<td align="left" width="300">店铺扣罚:${order.getShopPunishScore()} 分</td>
|
||||
</tr>
|
||||
|
||||
<tr class="z-h40">
|
||||
<td align="center" width="150">处理方案:</td>
|
||||
<td width="190">${order.getDisposeProject()}</td>
|
||||
<td align="center" width="150">责任人:</td>
|
||||
<td width="210">${order.getUndertakePerson()}</td>
|
||||
<td width="300">
|
||||
<button type="button" class="z-button zi-bg-white zi-mg-l1" onclick="Z(this).find('zcover>i.z-checkbox').click()">
|
||||
<input type="checkbox" id="isSatrapAssist" name="isSatrapAssist" class="z-checkbox" data-class="${zmr_color_class}" <#if order.isSatrapAssist()>checked</#if> data-role="z-checkbox" onclick="Z.E.stop(); this.value=this.checked" disabled>
|
||||
主管协助</button>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr class="z-h50">
|
||||
<td align="center" width="150">备注:</td>
|
||||
<td colspan="4">${order.getComplainSpecificText()}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center" width="150">受理截图:</td>
|
||||
<td colspan="5" >
|
||||
<div style="display: flex;max-height: 100px;">
|
||||
<img width="25%" src="${order.getDisposeImgPath()}" onclick="showLargeImg(this)" id="disposeImgPath">
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="z-h100">
|
||||
<td align="center" width="150">跟进截图:</td>
|
||||
<td colspan="5">
|
||||
<img src="${order.getFinishImgPath()}" onclick="showLargeImg(this)">
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="z-h100">
|
||||
<td style="border-top:none;" colspan="6"></td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
${zhiqim_manager_content_end()}
|
||||
|
||||
<div class="z-fixed z-w100p z-h100 z-text-center" style="bottom:0;left:0">
|
||||
<div>
|
||||
<table class="z-table z-bordered z-pd6 z-text-left z-bg-white z-h40">
|
||||
<tr class="z-h40">
|
||||
<td align="center" colspan="3">订单受理人:<input type="text" value="${order.getComplainAddName()}" id="complainAddName" style="border:none;"></td>
|
||||
<td align="center" colspan="3">受理时间:<input type="text" value="${Sqls.toDateTimeString(order.getComplainAddTime())}" id="complainAddTime" style="border:none;"></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div class="z-w100p z-bg-gray z-pd-t10 z-h60">
|
||||
<button type="button" class="z-button z-large z-mg-l10 z-w100" onclick="parent.Z.Dialog.close();">关闭</button>
|
||||
</div>
|
||||
</div>
|
||||
@@ -0,0 +1,112 @@
|
||||
${Scripts.src("/zinc/chart/highcharts.js")}
|
||||
${Scripts.src("/zinc/chart/exporting.js")}
|
||||
${Scripts.src("/zinc/chart/highcharts-zh_CN.js")}
|
||||
<script>
|
||||
Z.onload(function()
|
||||
{
|
||||
var orgAllOrder = '${orgAllOrder}';
|
||||
Highcharts.chart('container',
|
||||
{
|
||||
chart: {plotBackgroundColor: null,plotBorderWidth: null,plotShadow: false,type: 'pie'},
|
||||
title: {text: '投诉单总量:'+orgAllOrder},
|
||||
tooltip: {pointFormat: '{series.name}: <b>{point.percentage:.1f}%</b>'},
|
||||
plotOptions:
|
||||
{
|
||||
pie:
|
||||
{
|
||||
allowPointSelect: true,
|
||||
cursor: 'pointer',
|
||||
dataLabels:
|
||||
{
|
||||
enabled: true,
|
||||
format: '<b>{point.name}</b>: {point.percentage:.1f} %',
|
||||
style: { color: (Highcharts.theme && Highcharts.theme.contrastTextColor) || 'black'}
|
||||
}
|
||||
}
|
||||
},
|
||||
series:
|
||||
[{
|
||||
name: '投诉原因占比',
|
||||
colorByPoint: true,
|
||||
data:[
|
||||
<#for item : pcMap.keySet()>
|
||||
{name: '${item}',y: ${pcMap.get(item)}},
|
||||
</#for>
|
||||
]
|
||||
}]
|
||||
});
|
||||
});
|
||||
|
||||
function doQueryComplainDetail(complainId){
|
||||
|
||||
var dialog = new Z.Dialog();
|
||||
dialog.title = "投诉单号:"+complainId;
|
||||
dialog.url = "/complainDetail.htm?complainId="+complainId;
|
||||
dialog.width = 1000;
|
||||
dialog.height = 500;
|
||||
dialog.execute();
|
||||
}
|
||||
</script>
|
||||
${zhiqim_manager_breadcrumb("我导致的投诉")}
|
||||
${zhiqim_manager_content()}
|
||||
|
||||
<#-- 左侧功能 -->
|
||||
<#-- 查询条件 -->
|
||||
${zhiqim_manager_title("查询条件")}
|
||||
<form name="theForm" action="/complainFinishList.htm">
|
||||
<table class="z-table z-bordered z-pd6 z-bg-white">
|
||||
<tr class="z-h40">
|
||||
<td width="350px">
|
||||
受理时间:<input id="startDate" name="startDate" class="z-input z-w90 ${zmr_color_class}" readonly="true" onfocus="Z.date(this);" value="${startDate}"> -
|
||||
<input id="endDate" name="endDate" class="z-input z-mg-l3 z-w90 ${zmr_color_class}" readonly="true" onfocus="Z.date(this);" value="${endDate}">
|
||||
</td>
|
||||
<td> 组 织
|
||||
<select name="orgId" class="z-select z-w180" data-role="z-select-search" data-class="${zmr_color_class}">
|
||||
<option value="">请选择</option>
|
||||
<#for item : orgList>
|
||||
<option value="${item.getOrgId()}" <#if orgId == item.getOrgId()>selected</#if>>${item.getOrgName()}</option>
|
||||
</#for>
|
||||
</select>
|
||||
</td>
|
||||
<td width="350px">责 任 人:
|
||||
<input type="text" name="undertakePerson" class="z-input z-w180 ${zmr_color_class}" value="${undertakePerson}">
|
||||
</td>
|
||||
<td width="*">
|
||||
<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 z-bg-white z-text-center" style="height:auto;">
|
||||
<td width="45%"><div id="container" class="z-bg-white" style="min-width:400px;height:600px"></div></td>
|
||||
<td width="*">
|
||||
<table class="z-table z-bordered-line z-pd10 z-text-left" style="text-align:center">
|
||||
<tr bgcolor="${zmr_thead_bgcolor}">
|
||||
<td width="15%">订单编号</td>
|
||||
<td width="15%">投诉单号</td>
|
||||
<td width="20%">责任组织</td>
|
||||
<td width="10%">责任人</td>
|
||||
<td width="10%">受理状态</td>
|
||||
<td width="20%">受理时间</td>
|
||||
<td width="10%">操作</td>
|
||||
</tr>
|
||||
${zhiqim_manager_tr_no_record(pageResult, 7, "暂时没有数据")}
|
||||
<#for item : pageResult.list()>
|
||||
<tr class="z-pointer" ${zhiqim_manager_tr_onmouse()} ${zhiqim_manager_tr_click_radio()}>
|
||||
<td>${item.getDesignId()}</td>
|
||||
<td>${item.getComplainId()}</td>
|
||||
<td>${ZmrOrgDao.getOrgName(request,item.getUndertakeOrg())}</td>
|
||||
<td>${item.getUndertakePerson()}</td>
|
||||
<td>${ComplainConstants.getStatus(item.getComplainStatus())}</td>
|
||||
<td>${Sqls.toDateTimeString(item.getComplainAddTime())}</td>
|
||||
<td><button class="z-button z-blue " onclick="doQueryComplainDetail(${item.getComplainId()})">详情</button></td>
|
||||
</tr>
|
||||
</#for>
|
||||
${zhiqim_manager_paging(pageResult, "/complainFinishList.htm")}
|
||||
</table>
|
||||
</td>
|
||||
</table>
|
||||
${zhiqim_manager_content_end()}
|
||||
@@ -0,0 +1,115 @@
|
||||
|
||||
<script>
|
||||
function doQueryComplainDetail(){
|
||||
var complainId = Z.FM.getChecked("complainId");
|
||||
|
||||
if (Z.V.isEmpty(complainId))
|
||||
{
|
||||
Z.alert("请选择一条订单");
|
||||
return;
|
||||
}
|
||||
|
||||
var dialog = new Z.Dialog();
|
||||
dialog.title = "投诉单号:"+complainId;
|
||||
dialog.url = "/complainDetail.htm?complainId="+complainId;
|
||||
dialog.width = 1000;
|
||||
dialog.height = 500;
|
||||
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 class="z-active">投诉单列表</li>
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
|
||||
<#-- 左侧功能 -->
|
||||
<#-- 查询条件 -->
|
||||
${zhiqim_manager_title("查询条件")}
|
||||
<form name="theForm" action="/complainTotalOrderList.htm">
|
||||
<table class="z-table z-bordered z-pd6 z-bg-white">
|
||||
<tr class="z-h40">
|
||||
<td>订单编号:<input name="designId" class="${zmr_color_class} z-input z-w180" value="${designId}" maxlength="64" placeholder="订单编号"></td>
|
||||
<td>投诉单号:<input name="complainId" class="${zmr_color_class} z-input z-w180" value="${complainId}" maxlength="64" placeholder="投诉单号"></td>
|
||||
<td>责 任 人:
|
||||
<input name="undertakePerson" class="${zmr_color_class} z-input z-w180" value="${undertakePerson}" maxlength="64" placeholder="责任人">
|
||||
</td>
|
||||
<td>旺旺号:<input class="z-input ${zmr_color_class} z-w160" name="buyerNick" value="${buyerNick}" maxlength="32" placeholder="旺旺号"/></td>
|
||||
<tr>
|
||||
</tr class="z-h40">
|
||||
<td>
|
||||
受理状态:<select name="complainStatus" class="z-select z-w180" data-role="z-select" data-class="${zmr_color_class}">
|
||||
<option value="">全部</option>
|
||||
<#for item : ComplainConstants.getList()>
|
||||
<option value="${item.value()}" <#if complainStatus == item.value()>selected</#if>>${item.desc()}</option>
|
||||
</#for>
|
||||
</select>
|
||||
</td>
|
||||
<td>店铺名称:<select name="shopNick" class="z-select z-w180" data-role="z-select" data-class="${zmr_color_class}">
|
||||
<option value="">全部</option>
|
||||
<#for item : shopNickList>
|
||||
<option value="${item}" <#if shopNick == item>selected</#if>>${item}</option>
|
||||
</#for>
|
||||
</select>
|
||||
</td>
|
||||
<td>
|
||||
受理时间:<input id="startDate" name="startDate" class="z-input z-w90 ${zmr_color_class}" readonly="true" onfocus="Z.date(this);" value="${startDate}"> -
|
||||
<input id="endDate" name="endDate" class="z-input z-mg-l3 z-w90 ${zmr_color_class}" readonly="true" onfocus="Z.date(this);" value="${endDate}">
|
||||
</td>
|
||||
<td><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 id="queryComplainDetail" class="z-button z-blue z-mg-r10" onclick="doQueryComplainDetail();"><i class="z-font z-modify"></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:2110px">
|
||||
<tr bgcolor="${zmr_thead_bgcolor}">
|
||||
<td width="40">选择</td>
|
||||
<td width="150">订单编号</td>
|
||||
<td width="120">所属组织</td>
|
||||
<td width="130">旺旺号</td>
|
||||
<td width="120">店铺</td>
|
||||
<td width="110">责任人</td>
|
||||
<td width="110">责任组织</td>
|
||||
<td width="110">受理状态</td>
|
||||
<td width="100">受理时间</td>
|
||||
<td width="*" style="min-width:210px">产品</td>
|
||||
<td width="90">订单金额</td>
|
||||
<td width="150">投诉类型</td>
|
||||
<td width="80">店铺扣分</td>
|
||||
</tr>
|
||||
${zhiqim_manager_tr_no_record(pageResult, 17, "暂时没有投诉单")}
|
||||
<#for item : pageResult.list()>
|
||||
<tr class="z-pointer" <#if item.getComplainStatus()== "40">style="color:#8a8a8a;"<#elseif item.getComplainStatus()== "20">style="color:#000000;"</#if> ${zhiqim_manager_tr_onmouse()} ${zhiqim_manager_tr_click_radio()}>
|
||||
<td><input name="complainId" type="radio" data-role="z-radio" data-class="${zmr_color_class}" value="${item.getComplainId()}"></td>
|
||||
<td>${item.getDesignId()}<p <#if item.getComplainStatus()== "40">style="color:#000000;"<#else>class="z-text-red"</#if>>TS:${item.getComplainId()}</p></td>
|
||||
<td>${ZmrOrgDao.getOrgName(request,item.getOrgId())}</td>
|
||||
<td>${item.getBuyerNick()}</td>
|
||||
<td>${item.getShopNick()}</td>
|
||||
<td>${item.getUndertakePerson()}</td>
|
||||
<td>${CalculationUtil.operatorGetOrgName(item.getUndertakePerson())}</td>
|
||||
<td>${ComplainConstants.getStatus(item.getComplainStatus())}</td>
|
||||
<td>${Sqls.toDateTimeString(item.getComplainAddTime())}</td>
|
||||
<td>${item.getOrderText()}</td>
|
||||
<td>${Amounts.toYuanMustRadix(item.getAmount())}</td>
|
||||
<td>${item.getComplainType()}</td>
|
||||
<td>${item.getShopPunishScore()}分</td>
|
||||
</tr>
|
||||
</#for>
|
||||
</table>
|
||||
</div>
|
||||
${zhiqim_manager_paging(pageResult, "/complainTotalOrderList.htm")}
|
||||
${zhiqim_manager_content_end()}
|
||||
@@ -0,0 +1,115 @@
|
||||
${Scripts.src("/zinc/js/globalcomplain_2019010801.js")}
|
||||
<script>
|
||||
function doQueryComplainDeal(){
|
||||
var complainId = Z.FM.getChecked("complainId");
|
||||
|
||||
if (Z.V.isEmpty(complainId))
|
||||
{
|
||||
Z.alert("请选择一条订单");
|
||||
return;
|
||||
}
|
||||
|
||||
var dialog = new Z.Dialog();
|
||||
dialog.title = "投诉单号:"+complainId;
|
||||
dialog.url = "/complainDeal.htm?complainId="+complainId;
|
||||
dialog.width = 900;
|
||||
dialog.height = 500;
|
||||
dialog.execute();
|
||||
}
|
||||
|
||||
function doQueryComplainDetail(){
|
||||
var complainId = Z.FM.getChecked("complainId");
|
||||
|
||||
if (Z.V.isEmpty(complainId))
|
||||
{
|
||||
Z.alert("请选择一条订单");
|
||||
return;
|
||||
}
|
||||
|
||||
var dialog = new Z.Dialog();
|
||||
dialog.title = "投诉单号:"+complainId;
|
||||
dialog.url = "/complainDetail.htm?complainId="+complainId;
|
||||
dialog.width = 1000;
|
||||
dialog.height = 500;
|
||||
dialog.execute();
|
||||
}
|
||||
</script>
|
||||
|
||||
${zhiqim_manager_breadcrumb("我的投诉")}
|
||||
${zhiqim_manager_content()}
|
||||
|
||||
<#-- 左侧功能 -->
|
||||
<#-- 查询条件 -->
|
||||
${zhiqim_manager_title("查询条件")}
|
||||
<form name="theForm" action="/complainWantDealList.htm">
|
||||
<table class="z-table z-bordered z-pd6 z-bg-white">
|
||||
<tr class="z-h40">
|
||||
<td>订单编号:<input name="designId" class="${zmr_color_class} z-input z-w180" value="${designId}" maxlength="64" placeholder="订单编号"></td>
|
||||
<td>投诉单号:<input name="complainId" class="${zmr_color_class} z-input z-w180" value="${complainId}" maxlength="64" placeholder="投诉单号"></td>
|
||||
<td>
|
||||
受理状态:<select name="complainStatus" class="z-select z-w180" data-role="z-select" data-class="${zmr_color_class}">
|
||||
<option value="">全部</option>
|
||||
<#for item : ComplainConstants.getList()>
|
||||
<option value="${item.value()}" <#if complainStatus == item.value()>selected</#if>>${item.desc()}</option>
|
||||
</#for>
|
||||
</select>
|
||||
</td>
|
||||
<td>旺旺号:<input class="z-input ${zmr_color_class} z-w160" name="buyerNick" value="${buyerNick}" maxlength="32" placeholder="旺旺号"/></td>
|
||||
<tr>
|
||||
</tr class="z-h40">
|
||||
<td>店铺名称:<select name="shopNick" class="z-select z-w180" data-role="z-select" data-class="${zmr_color_class}">
|
||||
<option value="">全部</option>
|
||||
<#for item : shopNickList>
|
||||
<option value="${item}" <#if shopNick == item>selected</#if>>${item}</option>
|
||||
</#for>
|
||||
</select>
|
||||
</td>
|
||||
<td>
|
||||
受理时间:<input id="startDate" name="startDate" class="z-input z-w90 ${zmr_color_class}" readonly="true" onfocus="Z.date(this);" value="${startDate}"> -
|
||||
<input id="endDate" name="endDate" class="z-input z-mg-l3 z-w90 ${zmr_color_class}" readonly="true" onfocus="Z.date(this);" value="${endDate}">
|
||||
</td>
|
||||
<td colspan="2"><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 id="queryComplainDetail" class="z-button z-blue z-mg-r6" onclick="doQueryComplainDeal();"><i class="z-font z-modify"></i>投诉单处理</button>
|
||||
<button id="queryComplainDetail" class="z-button z-blue z-mg-r6" onclick="doQueryComplainDetail();"><i class="z-font z-modify"></i>查看投诉单</button>
|
||||
</div>
|
||||
|
||||
<#-- 列表 -->
|
||||
<table class="z-table z-bordered z-h40-tr z-pd5 z-bg-white z-text-center" style="height:auto;">
|
||||
<tr bgcolor="${zmr_thead_bgcolor}">
|
||||
<td width="60">选择</td>
|
||||
<td width="150">订单编号</td>
|
||||
<td width="130">旺旺号</td>
|
||||
<td width="120">店铺</td>
|
||||
<td width="110">受理状态</td>
|
||||
<td width="100">受理时间</td>
|
||||
<td width="*" style="min-width:210px">产品</td>
|
||||
<td width="90">订单金额</td>
|
||||
<td width="150">投诉类型</td>
|
||||
</tr>
|
||||
${zhiqim_manager_tr_no_record(pageResult, 17, "暂时没有待处理的投诉")}
|
||||
<#for item : pageResult.list()>
|
||||
<input id="buyerNick_${item.getComplainId()}" type="hidden" value="${item.getBuyerNick()}">
|
||||
<tr class="z-pointer <#if item.isSatrapAssist()>z-text-red</#if>" ${zhiqim_manager_tr_onmouse()} ${zhiqim_manager_tr_click_radio()}>
|
||||
<td><input name="complainId" type="radio" data-role="z-radio" data-class="${zmr_color_class}" value="${item.getComplainId()}"></td>
|
||||
<td>${item.getDesignId()}<p style="color:#000000">TS:${item.getComplainId()}</p></td>
|
||||
<td>${item.getBuyerNick()}</td>
|
||||
<td>${item.getShopNick()}</td>
|
||||
<td>${ComplainConstants.getStatus(item.getComplainStatus())}</td>
|
||||
<td>${Sqls.toDateTimeString(item.getComplainAddTime())}</td>
|
||||
<td>${item.getOrderText()}</td>
|
||||
<td>${Amounts.toYuanMustRadix(item.getAmount())}</td>
|
||||
<td>${item.getComplainType()}</td>
|
||||
</tr>
|
||||
</#for>
|
||||
${zhiqim_manager_paging(pageResult, "/complainWantDealList.htm")}
|
||||
</table>
|
||||
${zhiqim_manager_content_end()}
|
||||
|
||||
<#-- 联系旺旺&联系QQ弹窗框 -->
|
||||
<iframe id="openFrm" class="z-hide" src="about:blank"></iframe>
|
||||
새 이슈에서 참조
사용자 차단