付延余
2023-03-23 a20cc4d791acb78db0d7455922c781784d333970
称重红外(异常参数添加)
3个文件已修改
9 ■■■■■ 已修改文件
api/publicInterface.js 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
api/request.js 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/driver-page/driver-index/bill-of-lading-details/weighingDevice/weighingDevice.vue 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
api/publicInterface.js
@@ -4,7 +4,7 @@
// const BaseUrl = "http://192.168.3.159:9999/";
import {BaseUrl as wrBaseUrl} from '@/api/request.js'
// const BaseUrl = "http://192.168.0.120:9999"
const BaseUrl = "http://192.168.110.101:9999"
const BaseUrl = "http://192.168.110.82:9999"
// 登录
// function apiLogin({
api/request.js
@@ -80,8 +80,8 @@
// const BaseUrl = "http://192.168.0.120:9997"
// const webSocketUrl = "ws://192.168.0.120:9997/wrzs/ws/info"
const BaseUrl = "http://192.168.110.101:9997";
const webSocketUrl = "ws://192.168.110.101:9997/wrzs/ws/info"
const BaseUrl = "http://192.168.110.82:9997";
const webSocketUrl = "ws://192.168.110.82:9997/wrzs/ws/info"
// 请求拦截
const fetch = (url, opt) => {
pages/driver-page/driver-index/bill-of-lading-details/weighingDevice/weighingDevice.vue
@@ -229,8 +229,9 @@
                console.log('socketWeigh', res);
                let nowWeighObj = JSON.parse(res.data.slice(7))
                if (nowWeighObj.eqCode == this.weighHouseCode) {
                    if(nowWeighObj.'暂定'){
                    if(nowWeighObj.eqInfraredStatus){
                        this.infraredStatus = true
                        this.weighData.weigh = this.realTimeWeigh = nowWeighObj.weigh;
                    }else{
                        this.infraredStatus = false
                        this.weighData.weigh = this.realTimeWeigh = nowWeighObj.weigh;