73 lines
2.2 KiB
HTML
73 lines
2.2 KiB
HTML
|
<html login="false" auth="false">
|
||
|
<head>
|
||
|
<title>客户信息满意度报表</title>
|
||
|
<style>
|
||
|
/* a {float:right;} */
|
||
|
|
||
|
</style>
|
||
|
</head>
|
||
|
<body>
|
||
|
<div widget="toolbar" style="padding:4px;border:0;">
|
||
|
|
||
|
<a widget="button" iconCls="icon-export" onclick="exportExl()">导出数据</a>
|
||
|
|
||
|
</div>
|
||
|
|
||
|
<div widget="autosize">
|
||
|
<div widget="datagrid" name="grid" style="width: 100%; height: 100%;" url="rush/kaohe/zhunquelistdetailfengongsi">
|
||
|
<div field="id" width="8" visible="false"></div>
|
||
|
<div field="feedback" width="8" visible="false"></div>
|
||
|
<div field="cust_type" width="8" visible="false"></div>
|
||
|
<div field="customer_id" width="8" visible="false"></div>
|
||
|
<div field="leixing" width="20" align="center" header="客户类型" ></div>
|
||
|
<div field="cust_name" width="40" align="center" header="客户名称" ></div>
|
||
|
<div field="cust_tax_code" width="30" align="center" header="税号"></div>
|
||
|
<div field="cutsremark" width="20" align="center" header="联系方式处理"></div>
|
||
|
<div field="statestr" width="30" align="left" header="原因"></div>
|
||
|
<div field="state" width="20" header="重新处理" renderer="dealRender" align="center"></div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</body>
|
||
|
|
||
|
|
||
|
<script type="text/javascript">
|
||
|
|
||
|
var grid = aos.get('grid');
|
||
|
var initparam={};
|
||
|
function init(param){
|
||
|
initparam=param;
|
||
|
grid.load(param);
|
||
|
}
|
||
|
|
||
|
|
||
|
function dealRender(e){
|
||
|
var row=e.row;
|
||
|
return "<a href='javascript:void(0)' onclick='showMyDialog(\""+ row.id +"\",\""+row.cust_type+"\",\""+row.cust_name+"\",\""+row.feedback+"\",\""+row.customer_id+"\")'>重新处理</a>";
|
||
|
|
||
|
}
|
||
|
function showMyDialog(id,cust_type,cust_name,feedback,customer_id){
|
||
|
var params ={};
|
||
|
params["id"]=id;
|
||
|
params['cust_type']=cust_type;
|
||
|
params['cust_name']=cust_name;
|
||
|
params['onfeedback']=feedback;
|
||
|
params['customer_id']=customer_id;
|
||
|
aos.showWindow('canvas/tick/excustomerdetail_re', params, '1200px', '400px', '异常客户信息明细', function(haha){
|
||
|
if(haha=="close"){
|
||
|
}
|
||
|
else{grid.reload(initparam);}
|
||
|
});
|
||
|
}
|
||
|
|
||
|
function exportExl(){
|
||
|
var base = document.getElementsByTagName("base")[0].href;
|
||
|
|
||
|
var Eurl=base+"rush/kaohe/exportDealExlfengongsi";
|
||
|
|
||
|
var Eurl = aos.addUrlParams(Eurl,initparam);
|
||
|
|
||
|
window.location.href=encodeURI(Eurl);
|
||
|
|
||
|
}
|
||
|
</script>
|
||
|
</html>
|