rushfee/build/classes/html/task/authcount.html

46 lines
1.3 KiB
HTML
Raw Normal View History

2022-10-09 11:07:56 +00:00
<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:'rush/manualtask/searchcount',
data:params,
success: function(datas){
aos.get('count').setValue(datas.text);
}
});
}
function save(){
var params= {
count : aos.get('count').getValue()
}
aos.post({
url:'rush/manualtask/updatecount',
data:params,
success: function(datas){
if(datas.code=='0000'){
aos.alert(datas.message);
}else{
aos.alert(datas.message);
}
}
});
}
</script>
</html>