init
11
public/web/static/css/animate.min.css
vendored
Normal file
566
public/web/static/css/cldt.css
Normal file
595
public/web/static/css/clm.css
Normal file
440
public/web/static/css/datav.css
Normal file
394
public/web/static/css/mt.css
Normal file
13
public/web/static/css/swiper.css
Normal file
BIN
public/web/static/favicon.ico
Normal file
|
After Width: | Height: | Size: 4.2 KiB |
BIN
public/web/static/fonts/element-icons.535877f.woff
Normal file
BIN
public/web/static/fonts/element-icons.732389d.ttf
Normal file
144
public/web/static/html/bjlist.html
Normal file
@@ -0,0 +1,144 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<script src="../js/jquery-1.11.3.js"></script>
|
||||
<script src="../js/xlPaging.js"></script>
|
||||
<!-- <script src="https://cdn.bootcdn.net/ajax/libs/jquery/1.9.1/jquery.min.js"></script> -->
|
||||
|
||||
<title>查看报警</title>
|
||||
<style type="text/css">
|
||||
/**************分页*******************/
|
||||
#page {
|
||||
margin: 20px auto;
|
||||
color: #666;
|
||||
display: block;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#page li {
|
||||
display: inline-block;
|
||||
min-width: 30px;
|
||||
height: 28px;
|
||||
cursor: pointer;
|
||||
color: #666;
|
||||
font-size: 13px;
|
||||
line-height: 28px;
|
||||
background-color: #f9f9f9;
|
||||
border: 1px solid #dce0e0;
|
||||
text-align: center;
|
||||
margin: 0 4px;
|
||||
-webkit-appearance: none;
|
||||
-moz-appearance: none;
|
||||
appearance: none;
|
||||
}
|
||||
|
||||
.xl-nextPage,
|
||||
.xl-prevPage {
|
||||
width: 60px;
|
||||
color: #0073A9;
|
||||
height: 28px;
|
||||
}
|
||||
.swiper-container{
|
||||
margin-top: .7rem;
|
||||
z-index: -1;
|
||||
}
|
||||
#page li.xl-disabled {
|
||||
opacity: .5;
|
||||
cursor: no-drop;
|
||||
}
|
||||
|
||||
#page li.xl-active {
|
||||
background-color: #0073A9;
|
||||
border-color: #0073A9;
|
||||
color: #FFF
|
||||
}
|
||||
tr td{
|
||||
border: 1px solid #eee;
|
||||
height:40px;
|
||||
}
|
||||
tr th{
|
||||
border: 1px solid #eee;
|
||||
height:40px;
|
||||
background: #EEEEEE;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<table border="0" cellspacing="0" cellpadding="0" width="100%" class="ids" style="border: 1px solid #eee;text-align: center;">
|
||||
</table>
|
||||
<div id="page"></div>
|
||||
</body>
|
||||
|
||||
<script type="text/javascript">
|
||||
var page=1,pages=1, cph='';
|
||||
function GetRequest() {
|
||||
var url = location.search; //获取url中"?"符后的字串
|
||||
var theRequest = new Object();
|
||||
if(url.indexOf("?") != -1) {
|
||||
var str = url.substr(1);
|
||||
strs = str.split("&");
|
||||
for(var i = 0; i < strs.length; i++) {
|
||||
theRequest[strs[i].split("=")[0]] = (strs[i].split("=")[1]);
|
||||
|
||||
}
|
||||
}
|
||||
return theRequest;
|
||||
}
|
||||
function getlist(cph){
|
||||
let _this=this;
|
||||
$.ajax({
|
||||
dataType: "json",
|
||||
type: "post",
|
||||
url:'http://zhyq.toommi.com/api/Index/apppost',
|
||||
data: {
|
||||
action:'Screen/vehicle_alarm_list',
|
||||
page:1,
|
||||
limit:20,
|
||||
vehicleNo:cph
|
||||
},
|
||||
success: function(res) {
|
||||
if (res.code == 200) {
|
||||
var list =res.data.list;
|
||||
pages=res.data.pages;
|
||||
var title='<tr>'+'<th>'+'序号'+'</th>'+'<th>'+'车牌号'+'</th>'+'<th>'+'事件名称'+'</th>'+'<th>'+'触发类型'+'</th>'+'<th>'+'报警时间'+'</th>'+'<th>'+'是否处理'+'</th>'+'</tr>';
|
||||
var ht='';
|
||||
for(var i=0;i<list.length;i++){
|
||||
if(list[i].trigger_type==1){
|
||||
list[i].trigger_type='自动触发'
|
||||
}else{
|
||||
list[i].trigger_type='自主上报'
|
||||
}
|
||||
if(list[i].is_reset==0){
|
||||
list[i].is_reset='未处理'
|
||||
}else{
|
||||
list[i].is_reset='已处理'
|
||||
}
|
||||
ht+=
|
||||
'<tr>'+'<td>'+Number((page-1)*20+(i+1))+'</td>'+'<td>'+list[i].license+'</td>'+'<td>'+list[i].name+'</td>'+'<td>'+list[i].trigger_type+'</td>'+'<td>'+list[i].create_time+'</td>'+'<td>'+list[i].is_reset+'</td>'+'</tr>'
|
||||
}
|
||||
var html=title+ht;
|
||||
$('table').append(html);
|
||||
$("#page").paging({
|
||||
nowPage: page, // 当前页码
|
||||
pageNum:pages, // 总页码
|
||||
buttonNum:5, //要展示的页码数量
|
||||
callback: function (num) { //回调函数
|
||||
$('table').html('');
|
||||
page=num;
|
||||
getlist(cph);
|
||||
},
|
||||
});
|
||||
} else {
|
||||
}
|
||||
|
||||
},
|
||||
});
|
||||
}
|
||||
window.onload=function(){
|
||||
var obj=GetRequest();
|
||||
cph=decodeURI(obj.cph);
|
||||
getlist(cph);
|
||||
}
|
||||
</script>
|
||||
</html>
|
||||
85
public/web/static/html/car_detail.html
Normal file
@@ -0,0 +1,85 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<script src="../js/jquery-1.11.3.js"></script>
|
||||
<title>车辆信息</title>
|
||||
<style type="text/css">
|
||||
.content{
|
||||
width: 800px;
|
||||
margin: auto;
|
||||
}
|
||||
h2{
|
||||
text-align: center;
|
||||
margin: 40px 0;
|
||||
}
|
||||
.content>div>p{
|
||||
margin: 30px 0;
|
||||
}
|
||||
.content>div>p>span{
|
||||
display: inline-block;
|
||||
}
|
||||
.content>div>p>span:nth-child(1){
|
||||
width: 200px;
|
||||
float: left;
|
||||
}
|
||||
.content>div>p>span:nth-child(2){
|
||||
width: 600px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="content">
|
||||
<h2>车辆信息</h2>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
function GetRequest() {
|
||||
var url = location.search; //获取url中"?"符后的字串
|
||||
var theRequest = new Object();
|
||||
if(url.indexOf("?") != -1) {
|
||||
var str = url.substr(1);
|
||||
strs = str.split("&");
|
||||
for(var i = 0; i < strs.length; i++) {
|
||||
theRequest[strs[i].split("=")[0]] = (strs[i].split("=")[1]);
|
||||
}
|
||||
}
|
||||
return theRequest;
|
||||
}
|
||||
function getdata(id){
|
||||
let _this=this;
|
||||
$.ajax({
|
||||
dataType: "json",
|
||||
type: "post",
|
||||
url:'http://zhyq.toommi.com/api/Index/apppost',
|
||||
data: {
|
||||
action:'Screen/vehicle_detail',
|
||||
id:id,
|
||||
},
|
||||
success: function(res) {
|
||||
if (res.code == 200) {
|
||||
var data=res.data;
|
||||
$('.content').append(
|
||||
'<div>'+
|
||||
'<p>'+'<span>车牌号:</span>'+'<span>'+data.vehicleNo+'</span>'+'</p>'+
|
||||
'<p>'+'<span>承运商:</span>'+'<span>'+data.ownerName+'</span>'+'</p>'+
|
||||
'<p>'+'<span>经营范围:</span>'+'<span>'+data.businessScopeName+'</span>'+'</p>'+
|
||||
'<p>'+'<span>运输证号:</span>'+'<span>'+data.transCertificateCode+'</span>'+'</p>'+
|
||||
'<p>'+'<span>期限开始日期:</span>'+'<span>'+data.certificateEffdate+'</span>'+'</p>'+
|
||||
'<p>'+'<span>期限结束日期:</span>'+'<span>'+data.certificateExpdate+'</span>'+'</p>'+
|
||||
'<p>'+'<span>发证机关:</span>'+'<span>'+data.licenseIssueOrganCode+'</span>'+'</p>'+
|
||||
'</div>'
|
||||
)
|
||||
} else {
|
||||
}
|
||||
|
||||
},
|
||||
});
|
||||
};
|
||||
window.onload=function(){
|
||||
var obj=GetRequest();
|
||||
id=decodeURI(obj.id);
|
||||
getdata(id);
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
18
public/web/static/html/login.html
Normal file
@@ -0,0 +1,18 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title></title>
|
||||
<script src="../js/jquery-1.11.3.js"></script>
|
||||
<style type="text/css">
|
||||
p{
|
||||
text-align: center;
|
||||
margin: 3rem auto;
|
||||
font-size: 30px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p>您没有查看权限,请先<a href="http://zhyq.toommi.com">登录</a>......</p>
|
||||
</body>
|
||||
</html>
|
||||
159
public/web/static/html/park_list.html
Normal file
@@ -0,0 +1,159 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<script src="../js/jquery-1.11.3.js"></script>
|
||||
<script src="../js/xlPaging.js"></script>
|
||||
<!-- <script src="https://cdn.bootcdn.net/ajax/libs/jquery/1.9.1/jquery.min.js"></script> -->
|
||||
|
||||
<title>入园记录</title>
|
||||
<style type="text/css">
|
||||
/**************分页*******************/
|
||||
#page {
|
||||
margin: 20px auto;
|
||||
color: #666;
|
||||
display: block;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#page li {
|
||||
display: inline-block;
|
||||
min-width: 30px;
|
||||
height: 28px;
|
||||
cursor: pointer;
|
||||
color: #666;
|
||||
font-size: 13px;
|
||||
line-height: 28px;
|
||||
background-color: #f9f9f9;
|
||||
border: 1px solid #dce0e0;
|
||||
text-align: center;
|
||||
margin: 0 4px;
|
||||
-webkit-appearance: none;
|
||||
-moz-appearance: none;
|
||||
appearance: none;
|
||||
}
|
||||
|
||||
.xl-nextPage,
|
||||
.xl-prevPage {
|
||||
width: 60px;
|
||||
color: #0073A9;
|
||||
height: 28px;
|
||||
}
|
||||
.swiper-container{
|
||||
margin-top: .7rem;
|
||||
z-index: -1;
|
||||
}
|
||||
#page li.xl-disabled {
|
||||
opacity: .5;
|
||||
cursor: no-drop;
|
||||
}
|
||||
|
||||
#page li.xl-active {
|
||||
background-color: #0073A9;
|
||||
border-color: #0073A9;
|
||||
color: #FFF
|
||||
}
|
||||
tr td{
|
||||
border: 1px solid #eee;
|
||||
height:40px;
|
||||
}
|
||||
tr th{
|
||||
border: 1px solid #eee;
|
||||
height:40px;
|
||||
background: #EEEEEE;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<table border="0" cellspacing="0" cellpadding="0" width="100%" class="ids" style="border: 1px solid #eee;text-align: center;">
|
||||
</table>
|
||||
<div id="page"></div>
|
||||
</body>
|
||||
|
||||
<script type="text/javascript">
|
||||
var page=1,pages=1, cph='';
|
||||
function GetRequest() {
|
||||
var url = location.search; //获取url中"?"符后的字串
|
||||
var theRequest = new Object();
|
||||
if(url.indexOf("?") != -1) {
|
||||
var str = url.substr(1);
|
||||
strs = str.split("&");
|
||||
for(var i = 0; i < strs.length; i++) {
|
||||
theRequest[strs[i].split("=")[0]] = (strs[i].split("=")[1]);
|
||||
|
||||
}
|
||||
}
|
||||
return theRequest;
|
||||
}
|
||||
function getlist(cph){
|
||||
let _this=this;
|
||||
$.ajax({
|
||||
dataType: "json",
|
||||
type: "post",
|
||||
url:'http://zhyq.toommi.com/api/Index/apppost',
|
||||
data: {
|
||||
action:'Screen/vehicle_park_list',
|
||||
page:page,
|
||||
limit:20,
|
||||
vehicleNo:cph
|
||||
},
|
||||
success: function(res) {
|
||||
if (res.code == 200) {
|
||||
var list =res.data.list;
|
||||
var title='<tr>'+'<th>'+'序号'+'</th>'+'<th>'+'车牌号'+'</th>'+'<th>'+'入园目的'+'</th>'+'<th>'+'审核状态'+'</th>'+'<th>'+'申请时间'+'</th>'+'</tr>';
|
||||
var ht='';
|
||||
pages=res.data.pages;
|
||||
for(var i=0;i<list.length;i++){
|
||||
if(list[i].mission==1){
|
||||
list[i].mudi='转货/卸货'
|
||||
}else if(list[i].mission==2){
|
||||
list[i].mudi='维修/洗车/停车'
|
||||
}else if(list[i].mission==3){
|
||||
list[i].mudi='常驻'
|
||||
}else if(list[i].mission==4){
|
||||
list[i].mudi='维修'
|
||||
}else if(list[i].mission==5){
|
||||
list[i].mudi='洗车'
|
||||
}else if(list[i].mission==6){
|
||||
list[i].mudi='停车'
|
||||
}else if(list[i].mission==7){
|
||||
list[i].mudi='检测'
|
||||
}else if(list[i].mission==8){
|
||||
list[i].mudi='洗罐'
|
||||
}
|
||||
if(list[i].status==1){
|
||||
list[i].pass='已通过'
|
||||
}else if(list[i].status==0){
|
||||
list[i].pass='审核中'
|
||||
}else{
|
||||
list[i].pass='已驳回'
|
||||
}
|
||||
ht+=
|
||||
'<tr>'+'<td>'+Number((page-1)*20+(i+1))+'</td>'+'<td>'+list[i].tractor_license+'</td>'+'<td>'+list[i].mudi+'</td>'+'<td>'+list[i].pass+'</td>'+'<td>'+list[i].create_time+'</td>'+'</tr>'
|
||||
}
|
||||
var html=title+ht;
|
||||
$('table').append(html);
|
||||
$("#page").paging({
|
||||
nowPage: page, // 当前页码
|
||||
pageNum:pages, // 总页码
|
||||
buttonNum:5, //要展示的页码数量
|
||||
callback: function (num) { //回调函数
|
||||
$('table').html('');
|
||||
page=num;
|
||||
getlist(cph);
|
||||
},
|
||||
});
|
||||
|
||||
} else {
|
||||
}
|
||||
|
||||
},
|
||||
});
|
||||
}
|
||||
window.onload=function(){
|
||||
var obj=GetRequest();
|
||||
cph=decodeURI(obj.cph);
|
||||
getlist(cph);
|
||||
}
|
||||
</script>
|
||||
</html>
|
||||
22
public/web/static/html/redirect.html
Normal file
@@ -0,0 +1,22 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title></title>
|
||||
</head>
|
||||
<body>
|
||||
</body>
|
||||
<script>
|
||||
let url = location.href.split('?')
|
||||
let pars = url[1].split('&')
|
||||
let data = {}
|
||||
pars.forEach((n, i) => {
|
||||
let p = n.split('=')
|
||||
data[p[0]] = p[1]
|
||||
})
|
||||
if (!!data.app3Redirect) {
|
||||
self.location = decodeURIComponent(data.app3Redirect)
|
||||
}
|
||||
|
||||
</script>
|
||||
</html>
|
||||
197
public/web/static/html/vehicle_history.html
Normal file
@@ -0,0 +1,197 @@
|
||||
<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="initial-scale=1.0, user-scalable=no, width=device-width">
|
||||
<title>行驶记录</title>
|
||||
|
||||
<link rel="stylesheet" href="https://a.amap.com/jsapi_demos/static/demo-center/css/demo-center.css"/>
|
||||
<script src="../js/jquery-1.11.3.js"></script>
|
||||
<script src="../js/laydate/laydate.js"></script>
|
||||
<style>
|
||||
html, body, #container {
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
}
|
||||
.input-card{
|
||||
top: 1rem;
|
||||
height:8rem;
|
||||
right: 3rem;
|
||||
width: 30rem;
|
||||
}
|
||||
.input-card .btn{
|
||||
margin-right: 1.2rem;
|
||||
width: 14rem;
|
||||
}
|
||||
|
||||
.input-card .btn:last-child{
|
||||
margin-right: 0;
|
||||
}
|
||||
.animate{
|
||||
position: absolute;
|
||||
bottom: 20px;
|
||||
right: 10px;
|
||||
}
|
||||
.animate input{
|
||||
width: 100px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id="container"></div>
|
||||
<div class="input-card">
|
||||
<h4>时间筛选(按天查询)</h4>
|
||||
<input type="text" class="demo-input" placeholder="请选择日期" id="test1">
|
||||
</div>
|
||||
<div class="animate">
|
||||
<div class="input-item">
|
||||
<input type="button" class="btn" value="开始动画" id="start" onclick="startAnimation(2000)"/>
|
||||
<input type="button" class="btn" value="暂停动画" id="pause" onclick="pauseAnimation()"/>
|
||||
<input type="button" class="btn" value="继续动画" id="resume" onclick="resumeAnimation()"/>
|
||||
</div>
|
||||
<div class="input-item">
|
||||
<input type="button" class="btn" value="正常" onclick="startAnimation(2000)"/>
|
||||
<input type="button" class="btn" value="4倍速" onclick="startAnimation(8000)"/>
|
||||
<input type="button" class="btn" value="16倍速" onclick="startAnimation(20000)"/>
|
||||
<!--<input type="button" class="btn" value="停止动画" id="stop" onclick="stopAnimation()"/>-->
|
||||
</div>
|
||||
</div>
|
||||
<input type="hidden" name="vehicleNo" value="{$vehicleNo}">
|
||||
<script type="text/javascript" src="https://webapi.amap.com/maps?v=1.4.15&key=4a7c7c92504e8d8afa2abf377159280a"></script>
|
||||
<script>
|
||||
function GetRequest() {
|
||||
var url = location.search; //获取url中"?"符后的字串
|
||||
var theRequest = new Object();
|
||||
if(url.indexOf("?") != -1) {
|
||||
var str = url.substr(1);
|
||||
strs = str.split("&");
|
||||
for(var i = 0; i < strs.length; i++) {
|
||||
theRequest[strs[i].split("=")[0]] = (strs[i].split("=")[1]);
|
||||
|
||||
}
|
||||
}
|
||||
return theRequest;
|
||||
}
|
||||
var reservation ='',cph='';
|
||||
window.onload=function(){
|
||||
var obj=GetRequest();
|
||||
cph=decodeURI(obj.cph);
|
||||
getdata(cph,reservation);
|
||||
}
|
||||
|
||||
// var reservation = '';
|
||||
function getdata(cph,reservation) {
|
||||
$.ajax({
|
||||
dataType: "json",
|
||||
type: "post",
|
||||
url: "http://zhyq.toommi.com/api/Index/apppost",
|
||||
data: {
|
||||
action:'Screen/vehicle_history',
|
||||
vehicleNo:cph,
|
||||
reservation:reservation,
|
||||
},
|
||||
success: function(res) {
|
||||
if(res.code==200){
|
||||
// str = res.data;
|
||||
if (res.data.coordinate == '106.964108,29.793287'){
|
||||
alert('当天未查询到该车轨迹,请重新选择日期');
|
||||
}
|
||||
history(res.data.coordinate);
|
||||
}
|
||||
},
|
||||
error: function(res) {
|
||||
|
||||
}
|
||||
});
|
||||
}
|
||||
var marker= '';
|
||||
var lineArr='';
|
||||
function history(info) {
|
||||
var vehicleNo = $('input[name=vehicleNo]').val();
|
||||
var reservation = '';
|
||||
const MAP_KEY = "4a7c7c92504e8d8afa2abf377159280a",
|
||||
{
|
||||
LngLat
|
||||
} = AMap;
|
||||
// var str="108.01527,29.895601;106.997876,29.89281;106.991391,29.887939;106.985853,29.880405;106.981835,29.871026;106.960543,29.849142;106.950737,29.83564;106.945862,29.824089;106.943563,29.814148;106.945054,29.799754;106.942764,29.783607;106.970332,29.766519;106.983273,29.751322;107.017612,29.737776;107.050425,29.734115;107.064458,29.737683;107.064744,29.739318;107.058942,29.748447;107.055205,29.762378;107.071581,29.77504;107.086248,29.789923;107.088111,29.796775;107.084106,29.807387;107.080959,29.81142;107.068298,29.813474;107.06422,29.813406;107.060435,29.82112;107.050628,29.827207;107.04726,29.828623;107.046543,29.829966;107.04701,29.830878;107.04712,29.834263;107.044827,29.838826;107.053757,29.842875;107.056479,29.849047;107.057124,29.85153;107.056802,29.853468;107.060415,29.86047;107.061665,29.864841;107.054919,29.881592;107.052508,29.894119;107.040451,29.898403;107.028579,29.89536;107.014946,29.895825;106.997804,29.89278";
|
||||
// var marker1, lineArr1 = [[116.478935,39.997761],[116.478939,39.997825],[116.478912,39.998549],[116.478912,39.998549],[116.478998,39.998555],[116.478998,39.998555],[116.479282,39.99856],[116.479658,39.998528],[116.480151,39.998453],[116.480784,39.998302],[116.480784,39.998302],[116.481149,39.998184],[116.481573,39.997997],[116.481863,39.997846],[116.482072,39.997718],[116.482362,39.997718],[116.483633,39.998935],[116.48367,39.998968],[116.484648,39.999861]];
|
||||
|
||||
lineArr = strToLL(info);
|
||||
lay('#version').html('-v'+ laydate.v);
|
||||
laydate.render({
|
||||
elem: '#test1',
|
||||
min: -4,
|
||||
max: 0,
|
||||
// type: 'datetime',
|
||||
// range: true, //或 range: '~' 来自定义分割字符
|
||||
done:function(value,date,endDate){
|
||||
console.log(value); //得到日期生成的值,如:2017-08-18
|
||||
// reservation=value;
|
||||
getdata(cph,value);
|
||||
}
|
||||
});
|
||||
var map = new AMap.Map("container", {
|
||||
resizeEnable: true,
|
||||
center: lineArr[0],
|
||||
zoom: 17
|
||||
});
|
||||
function strToLL(str) {
|
||||
return str.split(';').map(i => new LngLat(...i.split(',').map(j => +j)))
|
||||
}
|
||||
marker = new AMap.Marker({
|
||||
map: map,
|
||||
position: lineArr[0],
|
||||
icon: "https://webapi.amap.com/images/car.png",
|
||||
offset: new AMap.Pixel(-26, -13),
|
||||
// autoRotation: true,
|
||||
// angle:-90,
|
||||
});
|
||||
|
||||
// 绘制轨迹
|
||||
var polyline = new AMap.Polyline({
|
||||
map: map,
|
||||
path: lineArr,
|
||||
showDir:true,
|
||||
strokeColor: "#28F", //线颜色
|
||||
// strokeOpacity: 1, //线透明度
|
||||
strokeWeight: 6, //线宽
|
||||
// strokeStyle: "solid" //线样式
|
||||
});
|
||||
|
||||
var passedPolyline = new AMap.Polyline({
|
||||
map: map,
|
||||
// path: lineArr,
|
||||
strokeColor: "#AF5", //线颜色
|
||||
// strokeOpacity: 1, //线透明度
|
||||
strokeWeight: 6, //线宽
|
||||
// strokeStyle: "solid" //线样式
|
||||
});
|
||||
|
||||
|
||||
marker.on('moving', function (e) {
|
||||
passedPolyline.setPath(e.passedPath);
|
||||
});
|
||||
|
||||
map.setFitView();
|
||||
}
|
||||
|
||||
|
||||
function startAnimation (time=2000) {
|
||||
marker.moveAlong(lineArr, time);
|
||||
}
|
||||
|
||||
function pauseAnimation () {
|
||||
marker.pauseMove();
|
||||
}
|
||||
|
||||
function resumeAnimation () {
|
||||
marker.resumeMove();
|
||||
}
|
||||
|
||||
function stopAnimation () {
|
||||
marker.stopMove();
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
150
public/web/static/html/waybill_list.html
Normal file
@@ -0,0 +1,150 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<script src="../js/jquery-1.11.3.js"></script>
|
||||
<script src="../js/xlPaging.js"></script>
|
||||
<!-- <script src="https://cdn.bootcdn.net/ajax/libs/jquery/1.9.1/jquery.min.js"></script> -->
|
||||
|
||||
<title>运单记录</title>
|
||||
<style type="text/css">
|
||||
/**************分页*******************/
|
||||
#page {
|
||||
margin: 20px auto;
|
||||
color: #666;
|
||||
display: block;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#page li {
|
||||
display: inline-block;
|
||||
min-width: 30px;
|
||||
height: 28px;
|
||||
cursor: pointer;
|
||||
color: #666;
|
||||
font-size: 13px;
|
||||
line-height: 28px;
|
||||
background-color: #f9f9f9;
|
||||
border: 1px solid #dce0e0;
|
||||
text-align: center;
|
||||
margin: 0 4px;
|
||||
-webkit-appearance: none;
|
||||
-moz-appearance: none;
|
||||
appearance: none;
|
||||
}
|
||||
|
||||
.xl-nextPage,
|
||||
.xl-prevPage {
|
||||
width: 60px;
|
||||
color: #0073A9;
|
||||
height: 28px;
|
||||
}
|
||||
.swiper-container{
|
||||
margin-top: .7rem;
|
||||
z-index: -1;
|
||||
}
|
||||
#page li.xl-disabled {
|
||||
opacity: .5;
|
||||
cursor: no-drop;
|
||||
}
|
||||
|
||||
#page li.xl-active {
|
||||
background-color: #0073A9;
|
||||
border-color: #0073A9;
|
||||
color: #FFF
|
||||
}
|
||||
tr td{
|
||||
border: 1px solid #eee;
|
||||
height:40px;
|
||||
}
|
||||
tr th{
|
||||
border: 1px solid #eee;
|
||||
height:40px;
|
||||
background: #EEEEEE;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<table border="0" cellspacing="0" cellpadding="0" width="100%" class="ids" style="border: 1px solid #eee;text-align: center;">
|
||||
</table>
|
||||
<div id="page"></div>
|
||||
</body>
|
||||
|
||||
<script type="text/javascript">
|
||||
var page=1,pages=1, cph='';
|
||||
function GetRequest() {
|
||||
var url = location.search; //获取url中"?"符后的字串
|
||||
var theRequest = new Object();
|
||||
if(url.indexOf("?") != -1) {
|
||||
var str = url.substr(1);
|
||||
strs = str.split("&");
|
||||
for(var i = 0; i < strs.length; i++) {
|
||||
theRequest[strs[i].split("=")[0]] = (strs[i].split("=")[1]);
|
||||
|
||||
}
|
||||
}
|
||||
return theRequest;
|
||||
}
|
||||
function getlist(cph){
|
||||
let _this=this;
|
||||
$.ajax({
|
||||
dataType: "json",
|
||||
type: "post",
|
||||
url:'http://zhyq.toommi.com/api/Index/apppost',
|
||||
data: {
|
||||
action:'Screen/vehicle_waybill_list',
|
||||
page:1,
|
||||
limit:20,
|
||||
vehicleNo:cph,
|
||||
mission:''
|
||||
},
|
||||
success: function(res) {
|
||||
if (res.code == 200) {
|
||||
var list =res.data.list;
|
||||
pages=res.data.pages;
|
||||
var title='<tr>'+'<th>'+'序号'+'</th>'+'<th>'+'运单号'+'</th>'+'<th>'+'牵引车牌号'+'</th>'+'<th>'+'挂车车牌号'+'</th>'+'<th>'+'司机姓名'+
|
||||
'</th>'+'<th>'+'司机电话'+'</th>'+'<th>'+'装/卸'+'</th>'+'<th>'+'产品名称'+
|
||||
'</th>'+'<th>'+'装货单位'+'</th>'+'<th>'+'卸货单位'+'</th>'+'<th>'+'查验结果'+'</th>'+'<th>'+'查验企业'+
|
||||
'</th>'+'<th>'+'提单时间'+'</th>'+'<th>'+'提交时间'+'</th>'+'</tr>';
|
||||
var ht='';
|
||||
for(var i=0;i<list.length;i++){
|
||||
if(list[i].check_status_record==1){
|
||||
list[i].check='通过'
|
||||
}else{
|
||||
list[i].check='未处理'
|
||||
}
|
||||
ht+=
|
||||
'<tr>'+'<td>'+Number((page-1)*20+(i+1))+'</td>'+
|
||||
'<td>'+list[i].waybill_order+'</td>'+'<td>'+list[i].tow_license+'</td>'+
|
||||
'<td>'+list[i].mount_license+'</td>'+'<td>'+list[i].waybill_name+'</td>'+
|
||||
'<td>'+list[i].driver_tel+'</td>'+'<td>'+list[i].w_mission+'</td>'+
|
||||
'<td>'+list[i].sale_product+'</td>'+'<td>'+list[i].waybill_loading+'</td>'+
|
||||
'<td>'+list[i].waybill_unloading+'</td>'+'<td>'+list[i].check+'</td>'+
|
||||
'<td>'+list[i].check_name+'</td>'+'<td>'+list[i].waybill_date+'</td>'+
|
||||
'<td>'+list[i].create_time+'</td>'+'</tr>'
|
||||
}
|
||||
var html=title+ht;
|
||||
$('table').append(html);
|
||||
$("#page").paging({
|
||||
nowPage: page, // 当前页码
|
||||
pageNum:pages, // 总页码
|
||||
buttonNum:5, //要展示的页码数量
|
||||
callback: function (num) { //回调函数
|
||||
$('table').html('');
|
||||
page=num;
|
||||
getlist(cph);
|
||||
},
|
||||
});
|
||||
} else {
|
||||
}
|
||||
|
||||
},
|
||||
});
|
||||
}
|
||||
window.onload=function(){
|
||||
var obj=GetRequest();
|
||||
cph=decodeURI(obj.cph);
|
||||
getlist(cph);
|
||||
}
|
||||
</script>
|
||||
</html>
|
||||
BIN
public/web/static/icon/100.png
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
public/web/static/icon/111.png
Normal file
|
After Width: | Height: | Size: 1.4 KiB |
BIN
public/web/static/icon/112.png
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
public/web/static/icon/121.png
Normal file
|
After Width: | Height: | Size: 1.4 KiB |
BIN
public/web/static/icon/122.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
public/web/static/icon/1222.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
public/web/static/icon/2.png
Normal file
|
After Width: | Height: | Size: 487 B |
BIN
public/web/static/icon/200.png
Normal file
|
After Width: | Height: | Size: 851 B |
BIN
public/web/static/icon/211.png
Normal file
|
After Width: | Height: | Size: 1.4 KiB |
BIN
public/web/static/icon/212.png
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
public/web/static/icon/221.png
Normal file
|
After Width: | Height: | Size: 1.4 KiB |
BIN
public/web/static/icon/222.png
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
public/web/static/icon/2222.png
Normal file
|
After Width: | Height: | Size: 1003 B |
BIN
public/web/static/icon/300.png
Normal file
|
After Width: | Height: | Size: 1.3 KiB |
BIN
public/web/static/icon/400.png
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
public/web/static/icon/500.png
Normal file
|
After Width: | Height: | Size: 925 B |
BIN
public/web/static/icon/anniu2.png
Normal file
|
After Width: | Height: | Size: 11 KiB |
BIN
public/web/static/icon/b.png
Normal file
|
After Width: | Height: | Size: 677 B |
BIN
public/web/static/icon/check.png
Normal file
|
After Width: | Height: | Size: 803 B |
BIN
public/web/static/icon/close.png
Normal file
|
After Width: | Height: | Size: 5.7 KiB |
BIN
public/web/static/icon/d.png
Normal file
|
After Width: | Height: | Size: 604 B |
BIN
public/web/static/icon/dingwei_blue.png
Normal file
|
After Width: | Height: | Size: 998 B |
BIN
public/web/static/icon/dingwei_green.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
public/web/static/icon/dingwei_red.png
Normal file
|
After Width: | Height: | Size: 1.0 KiB |
BIN
public/web/static/icon/dingwei_white.png
Normal file
|
After Width: | Height: | Size: 867 B |
BIN
public/web/static/icon/fq.png
Normal file
|
After Width: | Height: | Size: 604 B |
BIN
public/web/static/icon/fs.png
Normal file
|
After Width: | Height: | Size: 826 B |
BIN
public/web/static/icon/ht.png
Normal file
|
After Width: | Height: | Size: 453 B |
BIN
public/web/static/icon/icon_close@2x.png
Normal file
|
After Width: | Height: | Size: 676 B |
BIN
public/web/static/icon/icon_tili_n@2x.png
Normal file
|
After Width: | Height: | Size: 1.6 KiB |
BIN
public/web/static/icon/icon_tili_p@2x.png
Normal file
|
After Width: | Height: | Size: 1.6 KiB |
BIN
public/web/static/icon/icon_tuli_tz@2x.png
Normal file
|
After Width: | Height: | Size: 2.4 KiB |
BIN
public/web/static/icon/icon_tuli_wyj@2x.png
Normal file
|
After Width: | Height: | Size: 1.3 KiB |
BIN
public/web/static/icon/icon_tuli_xs@2x.png
Normal file
|
After Width: | Height: | Size: 2.3 KiB |
BIN
public/web/static/icon/icon_tuli_yd@2x.png
Normal file
|
After Width: | Height: | Size: 1.9 KiB |
BIN
public/web/static/icon/icon_tuli_yj@2x.png
Normal file
|
After Width: | Height: | Size: 1.6 KiB |
BIN
public/web/static/icon/kongzai.png
Normal file
|
After Width: | Height: | Size: 784 B |
BIN
public/web/static/icon/legend.png
Normal file
|
After Width: | Height: | Size: 15 KiB |
BIN
public/web/static/icon/legend1.png
Normal file
|
After Width: | Height: | Size: 15 KiB |
BIN
public/web/static/icon/lv1.png
Normal file
|
After Width: | Height: | Size: 445 B |
BIN
public/web/static/icon/lv3.png
Normal file
|
After Width: | Height: | Size: 496 B |
BIN
public/web/static/icon/lv4.png
Normal file
|
After Width: | Height: | Size: 539 B |
BIN
public/web/static/icon/mt.png
Normal file
|
After Width: | Height: | Size: 1.4 KiB |
BIN
public/web/static/icon/ot.png
Normal file
|
After Width: | Height: | Size: 626 B |
BIN
public/web/static/icon/p.png
Normal file
|
After Width: | Height: | Size: 3.3 KiB |
BIN
public/web/static/icon/pp.png
Normal file
|
After Width: | Height: | Size: 595 B |
BIN
public/web/static/icon/rs.png
Normal file
|
After Width: | Height: | Size: 819 B |
BIN
public/web/static/icon/sxt.png
Normal file
|
After Width: | Height: | Size: 954 B |
BIN
public/web/static/icon/sxt1.png
Normal file
|
After Width: | Height: | Size: 939 B |
BIN
public/web/static/icon/tuli_kakou.png
Normal file
|
After Width: | Height: | Size: 856 B |
BIN
public/web/static/icon/w.png
Normal file
|
After Width: | Height: | Size: 639 B |
BIN
public/web/static/icon/ws.png
Normal file
|
After Width: | Height: | Size: 662 B |
BIN
public/web/static/icon/zhongzai.png
Normal file
|
After Width: | Height: | Size: 871 B |
BIN
public/web/static/img/1.png
Normal file
|
After Width: | Height: | Size: 338 KiB |
BIN
public/web/static/img/bg.7903252.gif
Normal file
|
After Width: | Height: | Size: 2.8 MiB |
BIN
public/web/static/img/bg_login.png
Normal file
|
After Width: | Height: | Size: 2.1 MiB |
BIN
public/web/static/img/date_xk_img.66c5522.png
Normal file
|
After Width: | Height: | Size: 27 KiB |
BIN
public/web/static/img/in_img.b64a52c.png
Normal file
|
After Width: | Height: | Size: 18 KiB |
BIN
public/web/static/img/login_header.jpg
Normal file
|
After Width: | Height: | Size: 19 KiB |
BIN
public/web/static/img/login_r.png
Normal file
|
After Width: | Height: | Size: 31 KiB |
BIN
public/web/static/img/login_r1.png
Normal file
|
After Width: | Height: | Size: 3.8 KiB |
BIN
public/web/static/img/ma_img_green.7420a07.png
Normal file
|
After Width: | Height: | Size: 18 KiB |
BIN
public/web/static/img/ma_img_red.272f3d7.png
Normal file
|
After Width: | Height: | Size: 18 KiB |
BIN
public/web/static/img/ma_img_yellow.9f7e5fc.png
Normal file
|
After Width: | Height: | Size: 18 KiB |
BIN
public/web/static/img/out_img.f01a819.png
Normal file
|
After Width: | Height: | Size: 18 KiB |
BIN
public/web/static/img/show.285ab33.png
Normal file
|
After Width: | Height: | Size: 40 KiB |
BIN
public/web/static/img/ting_img.ff6386d.png
Normal file
|
After Width: | Height: | Size: 18 KiB |
BIN
public/web/static/img/xing_img.16abf6c.png
Normal file
|
After Width: | Height: | Size: 18 KiB |
BIN
public/web/static/img/yd_wu_img.e8c648a.png
Normal file
|
After Width: | Height: | Size: 18 KiB |
BIN
public/web/static/img/yd_you_img.1ed44fd.png
Normal file
|
After Width: | Height: | Size: 18 KiB |
BIN
public/web/static/img/zl_qyzy_h.ad265b0.png
Normal file
|
After Width: | Height: | Size: 22 KiB |
BIN
public/web/static/img/zl_ydzy_r.99b2066.png
Normal file
|
After Width: | Height: | Size: 22 KiB |
2014
public/web/static/js/app.c05a84a22d25b0489faa.js
Normal file
4733
public/web/static/js/code.js
Normal file
477
public/web/static/js/data.js
Normal file
1
public/web/static/js/datav.min.vue.js
Normal file
22
public/web/static/js/echarts.min.js
vendored
Normal file
27
public/web/static/js/global.js
Normal file
@@ -0,0 +1,27 @@
|
||||
|
||||
const config = {
|
||||
|
||||
userName:'',
|
||||
userPhone:'',
|
||||
usercompany:'',
|
||||
EMPUID:''
|
||||
}
|
||||
|
||||
let bindToGlobal=function(obj, key){
|
||||
if (typeof window[key] === 'undefined') {
|
||||
window[key] = {};
|
||||
}
|
||||
|
||||
for (let i in obj) {
|
||||
window[key][i] = obj[i]
|
||||
}
|
||||
|
||||
}
|
||||
bindToGlobal(config,'_const')
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
10351
public/web/static/js/jquery-1.11.3.js
vendored
Normal file
2
public/web/static/js/laydate/laydate.js
Normal file
BIN
public/web/static/js/laydate/theme/default/font/iconfont.eot
Normal file
45
public/web/static/js/laydate/theme/default/font/iconfont.svg
Normal file
@@ -0,0 +1,45 @@
|
||||
<?xml version="1.0" standalone="no"?>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
|
||||
<!--
|
||||
2013-9-30: Created.
|
||||
-->
|
||||
<svg>
|
||||
<metadata>
|
||||
Created by iconfont
|
||||
</metadata>
|
||||
<defs>
|
||||
|
||||
<font id="laydate-icon" horiz-adv-x="1024" >
|
||||
<font-face
|
||||
font-family="laydate-icon"
|
||||
font-weight="500"
|
||||
font-stretch="normal"
|
||||
units-per-em="1024"
|
||||
ascent="896"
|
||||
descent="-128"
|
||||
/>
|
||||
<missing-glyph />
|
||||
|
||||
<glyph glyph-name="x" unicode="x" horiz-adv-x="1001"
|
||||
d="M281 543q-27 -1 -53 -1h-83q-18 0 -36.5 -6t-32.5 -18.5t-23 -32t-9 -45.5v-76h912v41q0 16 -0.5 30t-0.5 18q0 13 -5 29t-17 29.5t-31.5 22.5t-49.5 9h-133v-97h-438v97zM955 310v-52q0 -23 0.5 -52t0.5 -58t-10.5 -47.5t-26 -30t-33 -16t-31.5 -4.5q-14 -1 -29.5 -0.5
|
||||
t-29.5 0.5h-32l-45 128h-439l-44 -128h-29h-34q-20 0 -45 1q-25 0 -41 9.5t-25.5 23t-13.5 29.5t-4 30v167h911zM163 247q-12 0 -21 -8.5t-9 -21.5t9 -21.5t21 -8.5q13 0 22 8.5t9 21.5t-9 21.5t-22 8.5zM316 123q-8 -26 -14 -48q-5 -19 -10.5 -37t-7.5 -25t-3 -15t1 -14.5
|
||||
t9.5 -10.5t21.5 -4h37h67h81h80h64h36q23 0 34 12t2 38q-5 13 -9.5 30.5t-9.5 34.5q-5 19 -11 39h-368zM336 498v228q0 11 2.5 23t10 21.5t20.5 15.5t34 6h188q31 0 51.5 -14.5t20.5 -52.5v-227h-327z" />
|
||||
|
||||
|
||||
|
||||
<glyph glyph-name="youyou" unicode="" d="M283.648 721.918976 340.873216 780.926976 740.352 383.997952 340.876288-12.925952 283.648 46.077952 619.52 383.997952Z" horiz-adv-x="1024" />
|
||||
|
||||
|
||||
<glyph glyph-name="zuozuo" unicode="" d="M740.352 721.918976 683.126784 780.926976 283.648 383.997952 683.123712-12.925952 740.352 46.077952 404.48 383.997952Z" horiz-adv-x="1024" />
|
||||
|
||||
|
||||
<glyph glyph-name="xiayiye" unicode="" d="M62.573 384.103l423.401 423.662c18.985 18.985 49.757 18.985 68.727 0 18.982-18.972 18.985-49.746 0-68.729l-355.058-355.067 356.796-356.796c18.977-18.971 18.976-49.746 0-68.727-18.982-18.976-49.751-18.976-68.727 0l-39.753 39.753 0.269 0.246-385.655 385.661zM451.365 384.103l423.407 423.662c18.985 18.985 49.757 18.985 68.727 0 18.982-18.972 18.985-49.746 0-68.729l-355.058-355.067 356.796-356.796c18.977-18.971 18.976-49.746 0-68.727-18.982-18.976-49.757-18.977-68.727 0l-39.762 39.754 0.273 0.249-385.662 385.661zM451.365 384.103z" horiz-adv-x="1024" />
|
||||
|
||||
|
||||
<glyph glyph-name="xiayiye1" unicode="" d="M948.066926 382.958838l-411.990051-412.24426c-18.47333-18.47333-48.417689-18.47333-66.875207 0-18.47333 18.461167-18.47333 48.405526 0 66.875207L814.691135 383.088983 467.512212 730.269123c-18.466032 18.458735-18.466032 48.405526 0 66.873991 18.468465 18.464816 48.410391 18.464816 66.872774 0l38.682336-38.682336-0.261507-0.239614 375.259894-375.265975v0.003649m-378.312834 0L157.756743-29.285422c-18.47333-18.47333-48.415256-18.47333-66.872775 0-18.47333 18.461167-18.47333 48.405526 0 66.875207L436.369787 383.088983 89.19208 730.269123c-18.4636 18.458735-18.4636 48.405526 0 66.873991 18.470898 18.464816 48.415256 18.464816 66.872774 0l38.692067-38.682336-0.266372-0.239614 375.267191-375.265975-0.004865 0.003649m0 0z" horiz-adv-x="1024" />
|
||||
|
||||
|
||||
|
||||
|
||||
</font>
|
||||
</defs></svg>
|
||||
|
After Width: | Height: | Size: 3.0 KiB |