rushfee/build/classes/html/authtask/authcount.html

46 lines
1.3 KiB
HTML

<html login="false" auth="false">
<head>
<meta charset="UTF-8">
<title>工作量列表</title>
</head>
<body style="background-color: #d5e2ec;">
<div style= "position: absolute;width:300px;height:100px;left:40%;top:40%; border: 2px solid; background-color:white ">
<p style ="color:red;text-align:center;">注意:以下数值为催缴人员目标任务量,<br/>影响系统任务自动分配条数,请谨慎修改。</p>
<div style = "text-align:center;" >
<input widget="edit" lable="每日工作量 " name ="count"/>
<a widget="button" iconCls="icon-enabled" style="width:70px;" onclick="save()">保存</a>
</div>
</div>
</body>
<script type="text/javascript">
window.onload=function(){
var params= {}
aos.post({
url:'aisinoha/rule/searchcount',
data:params,
success: function(datas){
aos.get('count').setValue(datas.text);
}
});
}
function save(){
var params= {
count : aos.get('count').getValue()
}
aos.post({
url:'aisinoha/rule/updatecount',
data:params,
success: function(datas){
if(datas.code=='0000'){
aos.alert(datas.message);
}else{
aos.alert(datas.message);
}
}
});
}
</script>
</html>