|
@@ -20,7 +20,10 @@
|
|
|
<input id="filter_status" />
|
|
|
</div>
|
|
|
<div class="tb_line">
|
|
|
- <a href="#" class='easyui-linkbutton' iconCls="icon-add" plain="true" onclick="export_order();return false;">导出日订单</a>
|
|
|
+ <a href="#" class='easyui-linkbutton' iconCls="icon-add" plain="true" onclick="export_order();return false;">导出月考勤明细汇总</a>
|
|
|
+ </div>
|
|
|
+ <div class="tb_line">
|
|
|
+ <a href="#" class='easyui-linkbutton' iconCls="icon-add" plain="true" onclick="export_order1();return false;">导出月服务明细汇总</a>
|
|
|
</div>
|
|
|
|
|
|
<div class="tb_line">
|
|
@@ -176,7 +179,7 @@
|
|
|
<li class="f_item">
|
|
|
<div class="box">
|
|
|
<div class="f_label">
|
|
|
- <span>姓名: </span>
|
|
|
+ <span>客户姓名: </span>
|
|
|
</div>
|
|
|
<div class="box_flex f_content">
|
|
|
<input name="user_name" id="user_name" />
|
|
@@ -194,26 +197,6 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
</li>
|
|
|
- <li class="f_item">
|
|
|
- <div class="box">
|
|
|
- <div class="f_label">
|
|
|
- <span id="s_time">处理结果: </span>
|
|
|
- </div>
|
|
|
- <div class="box_flex f_content">
|
|
|
- <input id="result" name="result" type="text" >
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </li>
|
|
|
- <li class="f_item">
|
|
|
- <div class="box">
|
|
|
- <div class="f_label">
|
|
|
- <span id="s_time">客户意见: </span>
|
|
|
- </div>
|
|
|
- <div class="box_flex f_content">
|
|
|
- <input id="feedback" name="feedback" type="text" >
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </li>
|
|
|
|
|
|
<li class="f_item">
|
|
|
<div class="box">
|
|
@@ -350,6 +333,7 @@
|
|
|
var vals = $('#order_time').datetimebox('spinner').spinner('getValue').split(':');
|
|
|
$('#order_time').val( parseInt($('#order_time').val())-(parseInt($('#order_time').val())+8*3600)%86400 +vals[0]*3600+vals[1]*60);
|
|
|
|
|
|
+
|
|
|
var d=new Date(parseInt($('#order_time').val())*1000);
|
|
|
$('#order_time').datetimebox('setText',formatDate(d));
|
|
|
$('#order_time').datetimebox('hidePanel');
|
|
@@ -365,27 +349,6 @@
|
|
|
}
|
|
|
});
|
|
|
|
|
|
- var buttons0 = $.extend([], $.fn.datebox.defaults.buttons);
|
|
|
- buttons0[0].text = '确定';
|
|
|
- buttons0[0].handler=function(){
|
|
|
- var vals = $('#c_time').datetimebox('spinner').spinner('getValue').split(':');
|
|
|
- $('#c_time').val( parseInt($('#c_time').val())-(parseInt($('#c_time').val())+8*3600)%86400 +vals[0]*3600+vals[1]*60);
|
|
|
-
|
|
|
- var d=new Date(parseInt($('#c_time').val())*1000);
|
|
|
- $('#c_time').datetimebox('setText',formatDate(d));
|
|
|
- $('#c_time').datetimebox('hidePanel');
|
|
|
- };
|
|
|
-
|
|
|
- $('#c_time').datetimebox({
|
|
|
- required: false,
|
|
|
- showSeconds:false,
|
|
|
- buttons:buttons0,
|
|
|
- onSelect: function(date){
|
|
|
- var currentDate = new Date();
|
|
|
-
|
|
|
- $('#c_time').val(date.getTime()/1000);
|
|
|
- }
|
|
|
- });
|
|
|
|
|
|
var buttons2 = $.extend([], $.fn.datebox.defaults.buttons);
|
|
|
buttons2[0].text = '确定';
|
|
@@ -396,6 +359,7 @@
|
|
|
var d=new Date(parseInt($('#edit_order_time').val())*1000);
|
|
|
$('#edit_order_time').datetimebox('setText',formatDate(d));
|
|
|
$('#edit_order_time').datetimebox('hidePanel');
|
|
|
+ $('#edit_order_time_str').val(parseInt($('#edit_order_time').val()));
|
|
|
};
|
|
|
|
|
|
$('#edit_order_time').datetimebox({
|
|
@@ -406,7 +370,7 @@
|
|
|
var currentDate = new Date();
|
|
|
|
|
|
$('#edit_order_time').val(date.getTime()/1000);
|
|
|
- $('#edit_order_time_str').val(date.getTime()/1000);
|
|
|
+
|
|
|
}
|
|
|
});
|
|
|
|
|
@@ -417,6 +381,8 @@ var buttons3 = $.extend([], $.fn.datebox.defaults.buttons);
|
|
|
$('#in_room_time').val( parseInt($('#in_room_time').val())-(parseInt($('#in_room_time').val())+8*3600)%86400 +vals[0]*3600+vals[1]*60);
|
|
|
|
|
|
var d=new Date(parseInt($('#in_room_time').val())*1000);
|
|
|
+
|
|
|
+ $('#in_room_time_str').val(parseInt($('#in_room_time').val()));
|
|
|
$('#in_room_time').datetimebox('setText',formatDate(d));
|
|
|
$('#in_room_time').datetimebox('hidePanel');
|
|
|
};
|
|
@@ -427,9 +393,10 @@ var buttons3 = $.extend([], $.fn.datebox.defaults.buttons);
|
|
|
buttons:buttons3,
|
|
|
onSelect: function(date){
|
|
|
var currentDate = new Date();
|
|
|
-
|
|
|
+ //console.log(date);
|
|
|
+ //console.log(368);
|
|
|
$('#in_room_time').val(date.getTime()/1000);
|
|
|
- $('#in_room_time_str').val(date.getTime()/1000);
|
|
|
+
|
|
|
}
|
|
|
});
|
|
|
|
|
@@ -440,6 +407,7 @@ var buttons4 = $.extend([], $.fn.datebox.defaults.buttons);
|
|
|
$('#out_room_time').val( parseInt($('#out_room_time').val())-(parseInt($('#out_room_time').val())+8*3600)%86400 +vals[0]*3600+vals[1]*60);
|
|
|
|
|
|
var d=new Date(parseInt($('#out_room_time').val())*1000);
|
|
|
+ $('#out_room_time_str').val(parseInt($('#out_room_time').val()));
|
|
|
$('#out_room_time').datetimebox('setText',formatDate(d));
|
|
|
$('#out_room_time').datetimebox('hidePanel');
|
|
|
};
|
|
@@ -452,7 +420,7 @@ var buttons4 = $.extend([], $.fn.datebox.defaults.buttons);
|
|
|
var currentDate = new Date();
|
|
|
|
|
|
$('#out_room_time').val(date.getTime()/1000);
|
|
|
- $('#out_room_time_str').val(date.getTime()/1000);
|
|
|
+
|
|
|
}
|
|
|
});
|
|
|
|
|
@@ -937,9 +905,12 @@ var buttons4 = $.extend([], $.fn.datebox.defaults.buttons);
|
|
|
}
|
|
|
});
|
|
|
};
|
|
|
- function export_order(exp,export_type) {
|
|
|
+ function export_order() {
|
|
|
window.location.href = module_router+'/OutputExcel';
|
|
|
}
|
|
|
+ function export_order1() {
|
|
|
+ window.location.href = module_router+'/OutputExcel1';
|
|
|
+ }
|
|
|
function parse_time(data,attr){
|
|
|
if(data[attr]){
|
|
|
var d=new Date(data[attr]*1000);
|