|
@@ -308,6 +308,12 @@
|
|
$('#device').val(newtype);
|
|
$('#device').val(newtype);
|
|
},
|
|
},
|
|
xq_time: function (newtype, oldtype) {
|
|
xq_time: function (newtype, oldtype) {
|
|
|
|
+ var that = this;
|
|
|
|
+ $.post("{:url('getTime')}",{type:this.type,'start':newtype},function (res){
|
|
|
|
+ console.log(res);
|
|
|
|
+ that.xq_time = res.data.xq_time;
|
|
|
|
+ that.ywc_time = res.data.ywc_time;
|
|
|
|
+ })
|
|
$('#xqtime').val(newtype);
|
|
$('#xqtime').val(newtype);
|
|
},
|
|
},
|
|
ywc_time: function (newtype, oldtype) {
|
|
ywc_time: function (newtype, oldtype) {
|