rushfee/resource/html/authtask/usertask_detail.html

43 lines
1.3 KiB
HTML
Raw Normal View History

2022-05-16 15:07:40 +00:00
<html login="false">
<head>
<meta charset="UTF-8">
<title>剩余任务详情页面</title>
</head>
<body>
<div widget="autosize" style = "padding-top: 5px; ">
<div widget="datagrid" name="grid" style="width: 100%; height: 100%;" url="aisinoha/recommend/usertask_detail" onrowdblclick ="taskDetail(e)" allowalternating="true">
<div type="indexcolumn" width="5" align="center" header="序号"></div>
<div field="user_name" visible = "false" width="10" align="center" header="姓名"></div>
<div field="task_name" width="30" align="center" header="任务名称"></div>
<div field="totalnum" width="10" align="center" header="剩余任务数"></div>
<div field="totalvis" width="10" align="center" header="预约回访数"></div>
</div>
</div>
</body>
<script type="text/javascript">
function init(param){
var grid = aos.get('grid');
grid.load(param);
}
function taskDetail(e) {
var row = e.row;//getSelecteds
if(row==null || row==''){
aos.alert('请选择一条数据!');
return;
}
if(row.length>1){
aos.alert('请选择一条数据!');
return;
}
if(row){
var param={
user_name : row.user_name,
task_name : row.task_name
};
}
aos.showWindow('canvas/authtask/task_detail', param, '700px', '400px', '任务详情', function(rtnValue){
});
}
</script>
</html>