91 lines
3.2 KiB
HTML
91 lines
3.2 KiB
HTML
|
<html login="false">
|
||
|
<head>
|
||
|
<title>短信详情页面</title>
|
||
|
<meta name="content-type" content="text/html; charset=UTF-8">
|
||
|
</head>
|
||
|
<body>
|
||
|
<div widget="toolbar" style="padding:10px;border:0;">
|
||
|
<input widget="hidden" name="operator" label="催缴人"/>
|
||
|
<input widget="hidden" name="tel" label="电话" />
|
||
|
<input widget="hidden" name="company_name" label="企业名称"/>
|
||
|
<input widget="hidden" name="current_time_start" label="开始时间" />
|
||
|
<input widget="hidden" name="current_time_end" label="截止时间"/>
|
||
|
<!-- <a widget="button" iconCls="icon-save" onclick="save" linkToState="editold,editnew">保存</a> -->
|
||
|
<a widget="button" iconCls="icon-exit" onclick="CloseWindow()">退出</a>
|
||
|
</div>
|
||
|
<div widget="autosize">
|
||
|
<div widget="datagrid" name="grid" style="width: 100%; height: 100%;" url="rush/sms/search" ">
|
||
|
<div type="indexcolumn" width="10" align="center" header="序号"></div>
|
||
|
<div field="operator" align="center" width="15" header="催缴人">
|
||
|
<input editor="edit"/>
|
||
|
</div>
|
||
|
<div field="operate_date"width="30" align="center" header="操作时间">
|
||
|
<input editor="edit"/>
|
||
|
</div>
|
||
|
<div field="tel" width="20" align="center" header="电话">
|
||
|
<input editor="edit"/>
|
||
|
</div>
|
||
|
<div field="remark" align="center" header="短信内容">
|
||
|
<input editor="edit"/>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
</div>
|
||
|
|
||
|
|
||
|
</body>
|
||
|
<script type="text/javascript">
|
||
|
|
||
|
function init(params){
|
||
|
//alert(params);
|
||
|
//console.log("2:"+JSON.stringify(params));
|
||
|
aos.get("operator").setValue(params.operator);
|
||
|
aos.get("tel").setValue(params.tel);
|
||
|
aos.get("company_name").setValue(params.company);
|
||
|
aos.get("current_time_start").setValue(params.current_time_start);
|
||
|
//var start_time = aos.get("current_time_start").setValue(params.current_time_start);
|
||
|
//alert(aos.get("current_time_start").getValue());
|
||
|
aos.get("current_time_end").setValue(params.current_time_end);
|
||
|
var datagrid = aos.get('grid');
|
||
|
var operator = aos.get("operator").getValue();
|
||
|
var tel = aos.get("tel").getValue();
|
||
|
var company = aos.get("company_name").getValue();
|
||
|
//var count = aos.get("count").getValue();
|
||
|
var current_time_start = aos.get("current_time_start").getValue();
|
||
|
var current_time_end = aos.get("current_time_end").getValue();
|
||
|
var params ={
|
||
|
'operator' : operator,
|
||
|
'tel' : tel ,
|
||
|
'company_name' : company ,
|
||
|
'current_time_start' : current_time_start,
|
||
|
'current_time_end' : current_time_end
|
||
|
}
|
||
|
datagrid.load(params);
|
||
|
}
|
||
|
|
||
|
function save(){
|
||
|
var operator = aos.get("operator").getValue();
|
||
|
var tel = aos.get("tel").getValue();
|
||
|
var company = aos.get("company_name").getValue();
|
||
|
//var count = aos.get("count").getValue();
|
||
|
var current_time_start = aos.get("current_time_start").getValue();
|
||
|
var current_time_end = aos.get("current_time_end").getValue();
|
||
|
var params ={
|
||
|
'operator' : operator,
|
||
|
'tel' : tel ,
|
||
|
'company_name' : company ,
|
||
|
'current_time_start' : current_time_start,
|
||
|
'current_time_end' : current_time_end
|
||
|
}
|
||
|
//console.log("传入的参数:"+JSON.stringify(params))
|
||
|
aos.post({
|
||
|
url : 'rush/sms/search' ,
|
||
|
data : params,
|
||
|
success: function(rtnData){
|
||
|
console.log(JSON.stringify(rtnData));
|
||
|
}
|
||
|
})
|
||
|
}
|
||
|
</script>
|
||
|
</html>
|