67 lines
2.4 KiB
HTML
67 lines
2.4 KiB
HTML
|
<head login="false">
|
||
|
<meta charset="UTF-8">
|
||
|
<title>剩余任务</title>
|
||
|
</head>
|
||
|
<body>
|
||
|
<div widget="toolbar" style="padding:10px;border:0;">
|
||
|
<input widget="edit" name="qn" label="任务拥有者"/>
|
||
|
<a widget="button" iconCls="icon-search" onclick="search()">查询</a>
|
||
|
</div>
|
||
|
<div widget="autosize">
|
||
|
<div widget="datagrid" name="grid" style="width: 100%; height: 100%;" url="aisinoha/recommend/search_usertask"
|
||
|
allowalternating="true" onrowdblclick="usertaskdetail()">
|
||
|
<div field="姓名" width="30" align="center" header="姓名"></div>
|
||
|
<div field="剩余任务总数" width="30" align="center" header="剩余任务总数"></div>
|
||
|
<div field="预约回访总数" width="30" align="center" header="剩余预约回访数(a)"></div>
|
||
|
|
||
|
<div header="客户类型">
|
||
|
<div field="服务费" width="30" align="center" header="服务费(b)"></div>
|
||
|
<div field="托管" width="30" align="center" header="托管(c)"></div>
|
||
|
</div>
|
||
|
|
||
|
<div header="机柜(Y/N)">
|
||
|
<div field="托管在机柜" width="30" align="center" header="托管在机柜"></div>
|
||
|
<div field="托管未在机柜" width="30" align="center" header="托管未在机柜"></div>
|
||
|
</div>
|
||
|
<div header="免征(Y/N)">
|
||
|
<div field="托管在机柜免征" width="30" align="center" header="托管在机柜免征"></div>
|
||
|
<div field="托管在机柜非免征" width="30" align="center" header=" 托管在机柜非免征"></div>
|
||
|
<div field="托管未在机柜免征" width="30" align="center" header="托管未在机柜免征"></div>
|
||
|
<div field="托管未在机柜非免征" width="30" align="center" header="托管未在机柜非免征"></div>
|
||
|
</div>
|
||
|
|
||
|
|
||
|
|
||
|
<div field="回访客户量" width="30" align="center" header="当天回访客户量"></div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</body>
|
||
|
<script type="text/javascript">
|
||
|
var grid = aos.get('grid');
|
||
|
grid.load();
|
||
|
function search(){
|
||
|
var params={qn:aos.get('qn').value};
|
||
|
grid.load(params);
|
||
|
}
|
||
|
function usertaskdetail(){
|
||
|
var row = grid.getSelected();//getSelecteds
|
||
|
if(row==null || row==''){
|
||
|
aos.alert('请选择一条数据!');
|
||
|
return;
|
||
|
}
|
||
|
if(row.length>1){
|
||
|
aos.alert('请选择一条数据!');
|
||
|
return;
|
||
|
}
|
||
|
if(row){
|
||
|
var param={
|
||
|
name : row.姓名
|
||
|
};
|
||
|
}
|
||
|
aos.showWindow('canvas/authtask/usertask_detail', param, '700px', '400px', '剩余任务详情', function(rtnValue){
|
||
|
|
||
|
});
|
||
|
}
|
||
|
</script>
|
||
|
|
||
|
</html>
|