From 1ff9f1a7052f4e3eb220bb6cb34d3561c32edaea Mon Sep 17 00:00:00 2001 From: tx <2622874537@qq.com> Date: Mon, 26 Aug 2024 17:56:55 +0800 Subject: [PATCH] =?UTF-8?q?bug=E4=BF=AE=E5=A4=8D=20=E6=96=B0=E5=8A=9F?= =?UTF-8?q?=E8=83=BD=E6=B7=BB=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/http.interceptor.js | 6 +- manifest.json | 2 +- page_user/xcjs.vue | 134 ++++++++---- pages_admin/admin_index.vue | 184 ++++++++++++++++- pages_admin/order/device_detail.vue | 27 ++- pages_admin/order/order_detail.vue | 285 +++++++++++++++----------- pages_admin/worke/woke_deviceMgmt.vue | 2 + 7 files changed, 467 insertions(+), 173 deletions(-) diff --git a/common/http.interceptor.js b/common/http.interceptor.js index 1413d9f..11357f6 100644 --- a/common/http.interceptor.js +++ b/common/http.interceptor.js @@ -1,13 +1,13 @@ const install = (Vue, vm) => { - uni.setStorageSync('deptId', 100); + uni.setStorageSync('deptId', 101); Vue.prototype.$u.http.setConfig({ // baseUrl: 'http://61.174.243.28:15861', // baseUrl: 'http://192.168.2.46:8080', - baseUrl: 'https://che.chuangtewl.com/prod-api', + // baseUrl: 'https://che.chuangtewl.com/prod-api', // 测试环境 - // baseUrl: 'https://dianche.chuantewulian.cn/prod-api', + baseUrl: 'https://dianche.chuantewulian.cn/prod-api', // 俞山岛 // baseUrl: 'https://dche.ccttiot.com/prod-api', // 创特 diff --git a/manifest.json b/manifest.json index 3106710..5b8abf7 100644 --- a/manifest.json +++ b/manifest.json @@ -51,7 +51,7 @@ /* 小程序特有相关 */ "mp-weixin" : { "libVersion" : "latest", - "appid" : "wx3428c498d5061192", + "appid" : "wx4d178f8c80348214", "setting" : { "urlCheck" : false, "minified" : true diff --git a/page_user/xcjs.vue b/page_user/xcjs.vue index ec2214e..0d597cd 100644 --- a/page_user/xcjs.vue +++ b/page_user/xcjs.vue @@ -495,53 +495,53 @@ this.loading = true; this.getArea(); - if (res.data.tripRouteStr) { - let abb; - try { - abb = JSON.parse(res.data.tripRouteStr); - } catch (error) { - console.error("Error parsing tripRouteStr:", error); - return; - } + // if (res.data.tripRouteStr) { + // let abb; + // try { + // abb = JSON.parse(res.data.tripRouteStr); + // } catch (error) { + // console.error("Error parsing tripRouteStr:", error); + // return; + // } - if (abb.length > 2) { - this.latitude = parseFloat(abb[0][1]); - this.longitude = parseFloat(abb[0][0]); - this.polyline[0].points = abb.map(coord => ({ - latitude: coord[1], - longitude: coord[0] - })); - this.markers.push({ - id: 0, - latitude: abb[0][1], - longitude: abb[0][0], - width: 25, - height: 38, - iconPath: 'https://lxnapi.ccttiot.com/bike/img/static/u06paUGiHLvL08Pw7BGr' - }, { - id: 1, - latitude: abb[abb.length - 1][1], - longitude: abb[abb.length - 1][0], - width: 25, - height: 38, - iconPath: 'https://lxnapi.ccttiot.com/bike/img/static/uwpAj9vYtPRmhtTOtflx' - }, { - id: 3, - latitude: abb[0][1], - longitude: abb[0][0], - width: 40, - height: 28, - iconPath: 'https://api.ccttiot.com/smartmeter/img/static/uF9qLejuAZErNTrRuHq7' - }); - - // Start the track playback - this.translateMarkerFun(abb); - } else { - this.latitude = parseFloat(abb[0][1]); - this.longitude = parseFloat(abb[0][0]); - } - } + // if (abb.length > 2) { + // this.latitude = parseFloat(abb[0][1]); + // this.longitude = parseFloat(abb[0][0]); + // this.polyline[0].points = abb.map(coord => ({ + // latitude: coord[1], + // longitude: coord[0] + // })); + // this.markers.push({ + // id: 0, + // latitude: abb[0][1], + // longitude: abb[0][0], + // width: 25, + // height: 38, + // iconPath: 'https://lxnapi.ccttiot.com/bike/img/static/u06paUGiHLvL08Pw7BGr' + // }, { + // id: 1, + // latitude: abb[abb.length - 1][1], + // longitude: abb[abb.length - 1][0], + // width: 25, + // height: 38, + // iconPath: 'https://lxnapi.ccttiot.com/bike/img/static/uwpAj9vYtPRmhtTOtflx' + // }, { + // id: 3, + // latitude: abb[0][1], + // longitude: abb[0][0], + // width: 40, + // height: 28, + // iconPath: 'https://api.ccttiot.com/smartmeter/img/static/uF9qLejuAZErNTrRuHq7' + // }); + // // Start the track playback + // this.translateMarkerFun(abb); + // } else { + // this.latitude = parseFloat(abb[0][1]); + // this.longitude = parseFloat(abb[0][0]); + // } + // } + this.getpolyline() uni.hideLoading(); } }).catch(error => { @@ -549,7 +549,51 @@ }); }, + getpolyline() { + this.$u.post("/system/device/trajectoryByOrderNo?orderNo=" + this.orderId).then((res) => { + if (res.code === 200) { + this.polyline[0].points = JSON.parse(res.data).map(coord => ({ + latitude: coord[1], + longitude: coord[0] + })); + let abb; + try { + abb = JSON.parse(res.data); + console.log(abb,'abbbb'); + } catch (error) { + console.error("Error parsing tripRouteStr:", error); + return; + } + if (abb.length > 2) { + this.latitude = parseFloat(abb[0][1]); + this.longitude = parseFloat(abb[0][0]); + this.polyline[0].points = abb.map(coord => ({ + latitude: coord[1], + longitude: coord[0] + })); + this.markers.push({ + id: 0, + latitude: abb[0][1], + longitude: abb[0][0], + width: 25, + height: 38, + iconPath: 'https://lxnapi.ccttiot.com/bike/img/static/u06paUGiHLvL08Pw7BGr' + }, { + id: 1, + latitude: abb[abb.length - 1][1], + longitude: abb[abb.length - 1][0], + width: 25, + height: 38, + iconPath: 'https://lxnapi.ccttiot.com/bike/img/static/uwpAj9vYtPRmhtTOtflx' + }); + } + } + }).catch(error => { + console.error("Error fetching area data:", error); + }); + + }, translateMarkerFun(path) { let abb = JSON.parse(this.orderInfo.tripRouteStr); // console.log(abb,'abb'); diff --git a/pages_admin/admin_index.vue b/pages_admin/admin_index.vue index 0e4de6e..817c30c 100644 --- a/pages_admin/admin_index.vue +++ b/pages_admin/admin_index.vue @@ -12,7 +12,7 @@ + :decorationVisible="true" @change="handleRangeChange" @regionchange="onMapRegionChange"> @@ -24,6 +24,10 @@ + + + + @@ -133,7 +137,32 @@ --> - + + + + + + + + + + + + + {{item.remainingPower}}% + + + 状态:{{status(item)}} + + + + SN:{{item.sn}} + + + + + + @@ -174,7 +203,9 @@ statusidx: '-0', deviceNum: {}, areaId: 0, - showIconAndCallout: false + showIconAndCallout: false, + nearbyMarkers: [], + showdevList:false } @@ -237,6 +268,25 @@ }, }, methods: { + status(item) { + if (item.status == 0) { + return '仓库中' + } else if (item.status == 1) { + return '待租' + } else if (item.status == 2) { + return '预约中' + } else if (item.status == 3) { + return '骑行中' + } else if (item.status == 4) { + return '临时锁车中' + } else if (item.status == 6) { + return '调度中' + } else if (item.status == 7) { + return '未绑定' + } else if (item.status == 8) { + return '禁用中' + } + }, onMapRegionChange(event) { // console.log('regionchange', event) // console.log('当前地图缩放级别:', event.detail.scale); @@ -259,6 +309,27 @@ fail: (err) => {} }) }, + onMapRegionChange(event) { + // console.log('regionchange', event) + if (event.detail.type == 'end') { + this.getCenterLanLat() + } + // 你可以在这里执行你需要的操作 + }, + getCenterLanLat() { + let that = this + uni.createMapContext("map", this).getCenterLocation({ + type: 'gcj02', + success: (res) => { + // console.log("当前地图中心的经纬度", res) + // that.deviceGps.latitude = res.latitude; + // that.deviceGps.longitude = res.longitude; + this.getNearbyMarkers(res.latitude, res.longitude); + //其他逻辑 + }, + fail: (err) => {} + }) + }, getareaid() { this.$u.post('/appVerify/getAreaId').then((res) => { if (res.code == 200) { @@ -296,6 +367,11 @@ }, }) }, + tapsn(sn){ + uni.navigateTo({ + url: '/pages_admin/order/device_detail?id=' + sn + }) + }, qecodelock() { uni.scanCode({ onlyFromCamera: true, @@ -411,6 +487,34 @@ } }, + getNearbyMarkers(clickedLat, clickedLon) { + console.log(clickedLat,clickedLon); + const nearbyMarkers = this.listData.filter(item => { + if (item.latitude && item.longitude) { + const distance = this.haversineDistance( + parseFloat(clickedLat), + parseFloat(clickedLon), + parseFloat(item.latitude), + parseFloat(item.longitude) + ); + return distance <= 100; + } + return false; + }); + this.nearbyMarkers = nearbyMarkers + console.log('Nearby markers within 15 meters:', nearbyMarkers); + }, + haversineDistance(lat1, lon1, lat2, lon2) { + const R = 6371e3; // Earth radius in meters + const toRad = angle => angle * Math.PI / 180; + const dLat = toRad(lat2 - lat1); + const dLon = toRad(lon2 - lon1); + const a = Math.sin(dLat / 2) * Math.sin(dLat / 2) + + Math.cos(toRad(lat1)) * Math.cos(toRad(lat2)) * + Math.sin(dLon / 2) * Math.sin(dLon / 2); + const c = 2 * Math.atan2(Math.sqrt(a), Math.sqrt(1 - a)); + return R * c; + }, todetail() { for (let item of this.fixdata) { if (item.sn == this.sn) { @@ -937,7 +1041,79 @@ .page { width: 750rpx; - + .fixdivce { + padding: 12rpx 22rpx 12rpx 22rpx; + position: fixed; + left: 0; + top: 25vh; + width: 334rpx; + height: 460rpx; + background: #FFFFFF; + border-radius: 0 40rpx 40rpx 0; + box-shadow: 0rpx 4rpx 10rpx 0rpx rgba(0, 0, 0, 0.3); + .scrollable-content::-webkit-scrollbar { + display: none; + } + .scrollable-content { + height: 100%; + overflow-y: auto; + + .divce_li:last-child { + border-bottom: 1rpx solid #fff; + } + + .divce_li { + padding: 10rpx 0; + display: flex; + flex-wrap: nowrap; + align-items: center; + border-bottom: 1rpx solid #D8D8D8; + + .left_img { + image { + width: 44rpx; + height: 70rpx; + } + } + + .right_cont { + margin-left: 20rpx; + display: flex; + flex-wrap: wrap; + font-weight: 400; + font-size: 24rpx; + color: #3D3D3D; + + .right_top { + width: 100%; + display: flex; + flex-wrap: nowrap; + align-items: center; + + .right_top_left { + display: flex; + flex-wrap: nowrap; + align-items: center; + + image { + margin-right: 6rpx; + width: 12rpx; + height: 26rpx; + } + } + + .right_top_right { + margin-left: auto; + } + } + + .right_bot { + margin-top: 8rpx; + } + } + } + } + } .decice_cont { display: flex; flex-wrap: wrap; diff --git a/pages_admin/order/device_detail.vue b/pages_admin/order/device_detail.vue index 5df28e2..2248ee7 100644 --- a/pages_admin/order/device_detail.vue +++ b/pages_admin/order/device_detail.vue @@ -187,9 +187,12 @@ 车牌修改 - + 坐垫锁 + + 定位更新 + - - + + @@ -121,7 +121,7 @@ - + 停车点外调度费:{{orderInfo.manageFee}} @@ -132,7 +132,8 @@ 实收:{{orderInfo.totalFee}} - 支付方式:押金抵扣微信支付 + 支付方式:押金抵扣微信支付 计费模板:{{orderInfo.rule.name}} @@ -252,7 +253,7 @@ 关锁时间:{{ displayAmount(item.createTime)}} - @@ -275,18 +276,18 @@ 退款 --> - + - + 退款 - + 辅助还车 - + 改价 - + 审核通过 @@ -299,33 +300,31 @@ 关锁 - + 有损坏 - + 押金扣款 - + 撤销损坏 联系客户 - + - + 改价 - + 运营区外调度费 @@ -381,7 +380,7 @@ 提示 - + 确定要辅助还车吗? @@ -413,12 +412,12 @@ - + - + 最大可退款金额:{{orderInfo.dispatchFee}}元 - + @@ -432,12 +431,12 @@ - + - + 最大可退款金额:{{orderInfo.manageFee}}元 - + @@ -451,12 +450,12 @@ - + - + 最大可退款金额:{{orderInfo.ridingFee}}元 - + @@ -470,12 +469,12 @@ - + - + 最大可退款金额:{{orderInfo.appointmentFee}}元 - + @@ -560,14 +559,14 @@ showck: false, money: '', areaNum: 1, - showload:false, - showfzhc:false, - showgj:false, - deviceInfos:{}, - dispatchFee:0, - manageFee:0, - ridingFee:0, - appointmentFee:0, + showload: false, + showfzhc: false, + showgj: false, + deviceInfos: {}, + dispatchFee: 0, + manageFee: 0, + ridingFee: 0, + appointmentFee: 0, } }, @@ -619,17 +618,17 @@ }, methods: { - backpass(){ - this.showload=true + backpass() { + this.showload = true uni.showLoading({ - title:'加载中...' + title: '加载中...' }) let data = { orderNo: this.orderId, "status": "5" } this.$u.put("/appVerify/order/damaged", data).then((res) => { - this.showload=false + this.showload = false if (res.code === 200) { uni.hideLoading() // 处理接口返回的数据,将边界数据转换为地图组件需要的折线结构 @@ -654,7 +653,7 @@ // if (this.deviceInfos.onlineStatus == 0) { // return '离线' // } else { - + // } if (this.deviceInfos.status == 0) { return '仓库中' @@ -666,24 +665,24 @@ return '骑行中' } else if (this.deviceInfos.status == 4) { return '临时锁车中' - }else if (this.deviceInfos.status == 6) { + } else if (this.deviceInfos.status == 6) { return '调度中' - } else if (this.deviceInfos.status == 8) { + } else if (this.deviceInfos.status == 8) { return '下线' } - + }, deviceInfo() { this.$u.get('/app/device/info?sn=' + this.orderInfo.sn).then((res) => { - console.log(res,'rererer'); + console.log(res, 'rererer'); if (res.code === 200) { this.deviceInfos = res.data - - - - + + + + this.$forceUpdate() - }else{ + } else { uni.showToast({ title: res.msg, icon: 'none', @@ -693,21 +692,21 @@ }) }, // 开锁 - openBtn(){ + openBtn() { uni.showLoading({ - title:'加载中...' + title: '加载中...' }) this.$u.post('/appVerify/admin/unlocking?sn=' + this.orderInfo.sn).then((res) => { - + if (res.code == 200) { // 处理接口返回的数据,将边界数据转换为地图组件需要的折线结构 - + uni.showToast({ title: '操作成功', icon: 'none', duration: 2000 }); - }else{ + } else { uni.showToast({ title: res.msg, icon: 'none', @@ -719,20 +718,20 @@ }); }, // 关锁 - closeBtn(){ + closeBtn() { uni.showLoading({ - title:'加载中...' + title: '加载中...' }) this.$u.post('/appVerify/admin/lock?sn=' + this.orderInfo.sn).then((res) => { if (res.code == 200) { // 处理接口返回的数据,将边界数据转换为地图组件需要的折线结构 - + uni.showToast({ title: '操作成功', icon: 'none', duration: 2000 }); - }else{ + } else { uni.showToast({ title: res.msg, icon: 'none', @@ -744,24 +743,24 @@ }); }, // 押金抵扣 - yjdkBtn(){ + yjdkBtn() { uni.showLoading({ - title:'加载中' + title: '加载中' }) let data = { orderNo: this.orderInfo.orderNo, - + } this.$u.post('/appVerify/order/deduction', data).then((res) => { if (res.code === 200) { // 处理接口返回的数据,将边界数据转换为地图组件需要的折线结构 - + uni.showToast({ title: '操作成功', icon: 'none', duration: 2000 }); - + this.getOrderDetail() } else { uni.showToast({ @@ -777,7 +776,7 @@ // 改价 changeMoney() { uni.showLoading({ - title:'加载中' + title: '加载中' }) let data = { orderNo: this.orderInfo.orderNo, @@ -786,11 +785,11 @@ ridingFee: this.orderInfo.ridingFee, appointmentFee: this.orderInfo.appointmentFee, } - + this.$u.put('/appVerify/order/editPrice', data).then((res) => { if (res.code === 200) { // 处理接口返回的数据,将边界数据转换为地图组件需要的折线结构 - + this.showgj = false this.getOrderDetail() uni.showToast({ @@ -816,7 +815,7 @@ }, backDevice() { uni.showLoading({ - title:'加载中' + title: '加载中' }) this.$u.post('/appVerify/device/return?orderNo=' + this.orderInfo.orderNo + '&returnType=2').then(( res) => { @@ -843,10 +842,10 @@ }, ckmoney() { uni.showLoading({ - title:'加载中...' + title: '加载中...' }) - this.showload=true - + this.showload = true + if (this.money != '') { let data = { orderNo: this.orderId, @@ -855,7 +854,7 @@ audioFiles: '' } this.$u.put("/appVerify/order/submitAudit", data).then((res) => { - this.showload=false + this.showload = false uni.hideLoading() if (res.code === 200) { // 处理接口返回的数据,将边界数据转换为地图组件需要的折线结构 @@ -887,16 +886,16 @@ }, unpass() { - this.showload=true + this.showload = true uni.showLoading({ - title:'加载中...' + title: '加载中...' }) let data = { orderNo: this.orderId, "status": "6" } this.$u.put("/appVerify/order/damaged", data).then((res) => { - this.showload=false + this.showload = false if (res.code === 200) { uni.hideLoading() // 处理接口返回的数据,将边界数据转换为地图组件需要的折线结构 @@ -918,13 +917,13 @@ }); }, pass() { - this.showload=true + this.showload = true uni.showLoading({ - title:'加载中...' + title: '加载中...' }) this.$u.post("/appVerify/passAudit/" + this.orderId).then((res) => { uni.hideLoading() - this.showload=false + this.showload = false if (res.code === 200) { // 处理接口返回的数据,将边界数据转换为地图组件需要的折线结构 this.getOrderDetail() @@ -1246,18 +1245,18 @@ // reason: this.reason } if ( - data.dispatchFee > this.orderInfo.dispatchFee || - data.manageFee > this.orderInfo.manageFee || - data.ridingFee > this.orderInfo.ridingFee || - data.appointmentFee > this.orderInfo.appointmentFee - ) { - uni.showToast({ - title: '退款金额不能大于实际支付金额', - icon: 'none', - duration: 2000 - }); - return; // 阻止请求的发送 - } + data.dispatchFee > this.orderInfo.dispatchFee || + data.manageFee > this.orderInfo.manageFee || + data.ridingFee > this.orderInfo.ridingFee || + data.appointmentFee > this.orderInfo.appointmentFee + ) { + uni.showToast({ + title: '退款金额不能大于实际支付金额', + icon: 'none', + duration: 2000 + }); + return; // 阻止请求的发送 + } this.$u.put('/appVerify/order/refund', data).then((res) => { if (res.code === 200) { // 处理接口返回的数据,将边界数据转换为地图组件需要的折线结构 @@ -1284,20 +1283,68 @@ this.areaNum = this.areaNum + 1 if (this.areaNum != 0) { this.getArea() - + } this.deviceInfo() this.loading = true this.latitude = parseFloat(this.orderInfo.latitude) this.longitude = parseFloat(this.orderInfo.longitude) - this.polyline[0].points = JSON.parse(res.data.tripRouteStr).map(coord => ({ + this.getpolyline() + // this.polyline[0].points = JSON.parse(res.data.tripRouteStr).map(coord => ({ + // latitude: coord[1], + // longitude: coord[0] + // })); + // let abb; + // try { + // abb = JSON.parse(res.data.tripRouteStr); + // } catch (error) { + // console.error("Error parsing tripRouteStr:", error); + // return; + // } + // if (abb.length > 2) { + // this.latitude = parseFloat(abb[0][1]); + // this.longitude = parseFloat(abb[0][0]); + // this.polyline[0].points = abb.map(coord => ({ + // latitude: coord[1], + // longitude: coord[0] + // })); + // this.markers.push({ + // id: 0, + // latitude: abb[0][1], + // longitude: abb[0][0], + // width: 25, + // height: 38, + // iconPath: 'https://lxnapi.ccttiot.com/bike/img/static/u06paUGiHLvL08Pw7BGr' + // }, { + // id: 1, + // latitude: abb[abb.length - 1][1], + // longitude: abb[abb.length - 1][0], + // width: 25, + // height: 38, + // iconPath: 'https://lxnapi.ccttiot.com/bike/img/static/uwpAj9vYtPRmhtTOtflx' + // }); + // } + + } + + // console.log(points,''); + // this.polyline[0].points=points + }).catch(error => { + console.error("Error fetching area data:", error); + }); + }, + getpolyline() { + this.$u.post("/system/device/trajectoryByOrderNo?orderNo=" + this.orderId).then((res) => { + if (res.code === 200) { + this.polyline[0].points = JSON.parse(res.data).map(coord => ({ latitude: coord[1], longitude: coord[0] })); let abb; try { - abb = JSON.parse(res.data.tripRouteStr); + abb = JSON.parse(res.data); + console.log(abb,'abbbb'); } catch (error) { console.error("Error parsing tripRouteStr:", error); return; @@ -1326,12 +1373,11 @@ }); } } - - // console.log(points,''); - // this.polyline[0].points=points }).catch(error => { console.error("Error fetching area data:", error); }); + + } } } @@ -1346,8 +1392,9 @@ .page { padding-bottom: 200rpx; width: 750rpx; + .bot_btn { - + position: fixed; bottom: 0; display: flex; @@ -1359,11 +1406,12 @@ // background: linear-gradient( 180deg, #FFFFFF 0%, rgba(255,255,255,0) 100%); box-shadow: 0rpx 10rpx 64rpx 0rpx rgba(0, 0, 0, 0.08); border-radius: 0rpx 0rpx 0rpx 0rpx; + // padding-bottom: 40rpx; .btn:nth-child(4n) { margin-right: 0; } - + .btn { margin-top: 10rpx; margin-right: 18rpx; @@ -1381,6 +1429,7 @@ color: #3D3D3D; } } + .tip_box1 { position: fixed; left: 72rpx; @@ -1391,23 +1440,23 @@ border-radius: 30rpx 30rpx 30rpx 30rpx; z-index: 110; padding-bottom: 100rpx; - + .top1 { padding: 52rpx 38rpx 42rpx 36rpx; - + .ipt_box { margin-top: 22rpx; display: flex; flex-wrap: nowrap; align-items: center; - + .text { width: 350rpx; font-weight: 400; font-size: 32rpx; color: #3D3D3D; } - + .ipt { padding: 10rpx 18rpx; display: flex; @@ -1418,13 +1467,13 @@ height: 64rpx; border-radius: 0rpx 0rpx 0rpx 0rpx; border: 2rpx solid #979797; - + .input { width: 80%; } } } - + .tip { width: 100%; text-align: center; @@ -1432,7 +1481,7 @@ font-size: 32rpx; color: #3D3D3D; } - + .txt { margin-top: 32rpx; width: 100%; @@ -1442,17 +1491,17 @@ color: #3D3D3D; } } - + .bot1 { position: absolute; - + width: 610rpx; // border-top: 2rpx solid #D8D8D8; display: flex; flex-wrap: nowrap; // height: 100%; bottom: -20rpx; - + .bot_left { border-radius: 0rpx 0rpx 0rpx 30rpx; width: 50%; @@ -1465,7 +1514,7 @@ color: #3D3D3D; background: #EEEEEE; } - + .bot_right { border-radius: 0rpx 0rpx 30rpx 0rpx; width: 50%; @@ -1479,12 +1528,12 @@ font-weight: 500; font-size: 32rpx; // color: #4C97E7; - + } - + } } - + .tip_box { position: fixed; left: 72rpx; diff --git a/pages_admin/worke/woke_deviceMgmt.vue b/pages_admin/worke/woke_deviceMgmt.vue index 323b37a..0801de3 100644 --- a/pages_admin/worke/woke_deviceMgmt.vue +++ b/pages_admin/worke/woke_deviceMgmt.vue @@ -389,6 +389,8 @@ return '骑行中' } else if (item.status == 4) { return '临时锁车中' + } else if (item.status == 6) { + return '调度中' } else if (item.status == 7) { return '未绑定' } else if (item.status == 8) {