rushfee/resource/html/rush/log.html

61 lines
2.6 KiB
HTML

<html login="false" auth="false">
<head>
<meta charset="UTF-8">
<title>操作日志</title>
</head>
<body>
<input widget="edit" name="cust_name" label="客户名称" readonly="true" style="width:300px;margin-top:5px"/>
<input widget="edit" name="feedback_type" label="催缴结果" readonly="true" style="width:200px;margin-top:5px"/>
<input widget="edit" name="cust_tax_code" label="客户税号" readonly="true" style="margin-top:5px"/>
<input widget="edit" name="address" label="服务地址" readonly="true" style="width:504px"/>
<!-- <input widget="edit" name="contacts_info" label="联系方式" readonly="true" style="margin-top:5px"/> -->
<input id="customer_id" widget="hidden" />
<a widget="button" iconCls="icon-mail" onclick="message" style="margin-top:2px;margin-left:23px">补发短信</a>
<!--<a widget="button" iconCls="icon-next" onclick="latestrecord()">最近缴费</a>-->
<div widget="autosize">
<div widget="datagrid" name="grid" style="width: 100%; height: 100%;" url="rush/search/getLog" onrowdblclick="getRecording">
<div type="indexcolumn" width="35" header="序号"></div>
<div field="operator" width="85" header="催缴人"></div>
<div field="operate_date" width="100" header="催缴日期"></div>
<div field="ip" width="80" header="IP地址"></div>
<div field="remark" width="150" header="反馈信息" ></div>
<div field="obj_id" id="obj_id"></div>
</div>
</div>
</body>
<script type="text/javascript">
function init(param){
aos.get("cust_name").setValue(param['cust_name']);
aos.get("cust_tax_code").setValue(param['cust_tax_code']);
aos.get("feedback_type").setValue(param['feedback_type']);
aos.get("address").setValue(param['address']);
// aos.get("contacts_info").setValue(param['contacts_info']);
aos.get("customer_id").setValue(param['customer_id']);
var grid = aos.get('grid');
var obj_id=param['obj_id'];
grid.load(param);
grid.hideColumn("obj_id");
}
function message(){
var messageparam = {};
messageparam['customer_id']= aos.get("customer_id").getValue();
messageparam['cust_name']= aos.get("cust_name").getValue();
aos.showWindow('canvas/rush/twicemessage', messageparam, '550px', '350px', '短信发送', function(rtnValue){
//aos.get("logid").setValue(rtnValue);
});
}
/**
* 客户最近缴费记录
*/
function latestrecord(){
var param = {};
param['customer_id'] = aos.get('customer_id').getValue();
aos.showWindow( 'canvas/rush/latestrecord', param, '700px','80px','最近缴费记录',
function(params, rtnData){
}
);}
</script>
</html>