Просмотр исходного кода

给 调查时间增加 默认当天日期

fanlongfei лет назад: 7
Родитель
Сommit
01b1abbc56

+ 2 - 1
CallCenterWeb.UI/callScreen/call.js

535
 }
535
 }
536
 
536
 
537
 $(function() {
537
 $(function() {
538
-
538
+	var nDtime = helper.DateFormat.getNowDate(); //当前时间
539
 	autosize($('textarea'));
539
 	autosize($('textarea'));
540
 	laydate.render({
540
 	laydate.render({
541
 		elem: '#old_startTime',
541
 		elem: '#old_startTime',
563
 		elem: '#t_time',
563
 		elem: '#t_time',
564
 		calendar: 'true',
564
 		calendar: 'true',
565
 		theme: '#1ab394',
565
 		theme: '#1ab394',
566
+		value : nDtime,
566
 		//type: 'datetime'
567
 		//type: 'datetime'
567
 	});
568
 	});
568
 
569
 

+ 2 - 1
CallCenterWeb.UI/commonHtml/js/orderModel.js

2
 
2
 
3
 $(document).ready(function() {
3
 $(document).ready(function() {
4
 	var tid = helper.request.queryString("tid");
4
 	var tid = helper.request.queryString("tid");
5
-	
5
+	var nDtime = helper.DateFormat.getNowDate(); //当前时间
6
 	autosize($('textarea'));
6
 	autosize($('textarea'));
7
 	//获取乡镇下拉
7
 	//获取乡镇下拉
8
 	helper.getDropList.getlistDropByDic($('#t_county'), 'JBDW').then(function(){
8
 	helper.getDropList.getlistDropByDic($('#t_county'), 'JBDW').then(function(){
16
 		elem: '#t_time',
16
 		elem: '#t_time',
17
 		theme: '#1ab394',
17
 		theme: '#1ab394',
18
 		calendar: 'true',
18
 		calendar: 'true',
19
+		value: nDtime
19
 		//type: 'datetime'
20
 		//type: 'datetime'
20
 	});
21
 	});
21
 
22
 

+ 2 - 0
CallCenterWeb.UI/js/WorkOrder/AddWorkOrder.js

3
  * */
3
  * */
4
 
4
 
5
 $(document).ready(function() {
5
 $(document).ready(function() {
6
+	var nDtime = helper.DateFormat.getNowDate(); //当前时间
6
 	autosize($('textarea'));
7
 	autosize($('textarea'));
7
 	helper.getDropList.getlistDropByDic($('#t_county'), 'JBDW'); //获取乡镇下拉
8
 	helper.getDropList.getlistDropByDic($('#t_county'), 'JBDW'); //获取乡镇下拉
8
 	helper.getDropList.getlistDropByDic($('#xl_boxs'), 'JBDW'); //获取交办单位下拉
9
 	helper.getDropList.getlistDropByDic($('#xl_boxs'), 'JBDW'); //获取交办单位下拉
11
 		elem: '#t_time',
12
 		elem: '#t_time',
12
 		theme: '#1ab394',
13
 		theme: '#1ab394',
13
 		calendar: 'true',
14
 		calendar: 'true',
15
+		value: nDtime
14
 		//type: 'datetime'
16
 		//type: 'datetime'
15
 	});
17
 	});
16
 
18