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

55 lines
1.6 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:600px;height:200px;left:30%;top:20%; 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"/>
<div name="choose" required label="任务中心" widget="radiobuttonlist"
repeatitems="2" repeatlayout="table" textfield="text" valuefield="id"
data="[{id:0,text:'包含'},{id:1,text:'不包含'}]">
</div>
<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);
aos.get('choose').setValue(datas.choose);
}
});
}
function save(){
var params= {
count : aos.get('count').getValue(),
choose : aos.get('choose').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>