1
0
forked from dyf/APP

日常小bug修复

This commit is contained in:
liub
2025-12-17 09:00:14 +08:00
parent 2cf02932e5
commit 4c48f0efec
10 changed files with 26 additions and 29 deletions

View File

@ -61,4 +61,8 @@ export function mapReverseGeocoding(data) {
method: 'post', method: 'post',
data: data data: data
}) })
}
export function deviceRealTimeStatus(){
return Promise.resolve({code:500});
} }

View File

@ -1,5 +1,5 @@
import request from '@/utils/request' import request from '@/utils/request'
import qs from 'qs'
// 设备列表 // 设备列表
export function deviceInfo(params) { export function deviceInfo(params) {
return request({ return request({

View File

@ -1,5 +1,5 @@
import request from '@/utils/request' import request from '@/utils/request'
import qs from 'qs'
// 查询列表 // 查询列表
export function fileInfo(params) { export function fileInfo(params) {
return request({ return request({

View File

@ -7,6 +7,9 @@
"transformPx" : false, "transformPx" : false,
/* 5+App */ /* 5+App */
"app-plus" : { "app-plus" : {
"compatible":{
"ignoreVersion":true
},
"usingComponents" : true, "usingComponents" : true,
"nvueStyleCompiler" : "uni-app", "nvueStyleCompiler" : "uni-app",
"compilerVersion" : 3, "compilerVersion" : 3,

View File

@ -317,24 +317,14 @@
} }
}, },
{
"path": "pages/4877/BJQ4877",
"style": {
"navigationBarTitleText": "BJQ 4877"
}
},
{ {
"path": "pages/4877/BJQ4877V1", "path": "pages/4877/BJQ4877V1",
"style": { "style": {
"navigationBarTitleText": "BJQ 4877" "navigationBarTitleText": "BJQ 4877"
} }
}, },
{
"path": "pages/100/HBY100",
"style": {
"navigationBarTitleText": "HBY 100"
}
},
{ {
"path" : "pages/4877/BJQ4877CheckColor", "path" : "pages/4877/BJQ4877CheckColor",
"style" : "style" :

View File

@ -917,7 +917,7 @@
if (!item) { if (!item) {
item = this.dic.sta_VoiceType[index]; item = this.dic.sta_VoiceType[index];
} }
console.log("item=", item); // console.log("item=", item);
let val = item.key; let val = item.key;
if (this.formData.sta_VoiceType === val) { if (this.formData.sta_VoiceType === val) {
val = '0'; val = '0';

View File

@ -131,15 +131,15 @@
<view class="section-title">产品信息</view> <view class="section-title">产品信息</view>
<view class="mode-buttons"> <view class="mode-buttons">
<view class="mode_1" @click="productparams"> <view class="mode_1" @click="productparams">
<image src="/static/images/common/cp.png" mode="" class="cpIMG" mode="aspectFit"></image> <image src="/static/images/common/cp.png" class="cpIMG" mode="aspectFit"></image>
<view class="">产品参数</view> <view class="">产品参数</view>
</view> </view>
<view class="mode_1" @click="operatingInst"> <view class="mode_1" @click="operatingInst">
<image src="/static/images/common/sm.png" mode="" class="cpIMG" mode="aspectFit"></image> <image src="/static/images/common/sm.png" class="cpIMG" mode="aspectFit"></image>
<view class="">操作说明</view> <view class="">操作说明</view>
</view> </view>
<view class="mode_1" @click="operatingVideo"> <view class="mode_1" @click="operatingVideo">
<image src="/static/images/common/sp.png" mode="" class="cpIMG" mode="aspectFit"></image> <image src="/static/images/common/sp.png" class="cpIMG" mode="aspectFit"></image>
<view class="">操作视频</view> <view class="">操作视频</view>
</view> </view>
</view> </view>

View File

@ -172,15 +172,15 @@
<view class="section-title">产品信息</view> <view class="section-title">产品信息</view>
<view class="mode-buttons"> <view class="mode-buttons">
<view class="mode_1" @click="productparams"> <view class="mode_1" @click="productparams">
<image src="/static/images/common/cp.png" mode="" class="cpIMG" mode="aspectFit"></image> <image src="/static/images/common/cp.png" class="cpIMG" mode="aspectFit"></image>
<view class="">产品参数</view> <view class="">产品参数</view>
</view> </view>
<view class="mode_1" @click="operatingInst"> <view class="mode_1" @click="operatingInst">
<image src="/static/images/common/sm.png" mode="" class="cpIMG" mode="aspectFit"></image> <image src="/static/images/common/sm.png" class="cpIMG" mode="aspectFit"></image>
<view class="">操作说明</view> <view class="">操作说明</view>
</view> </view>
<view class="mode_1" @click="operatingVideo"> <view class="mode_1" @click="operatingVideo">
<image src="/static/images/common/sp.png" mode="" class="cpIMG" mode="aspectFit"></image> <image src="/static/images/common/sp.png" class="cpIMG" mode="aspectFit"></image>
<view class="">操作视频</view> <view class="">操作视频</view>
</view> </view>
</view> </view>

View File

@ -13,14 +13,14 @@
<uni-swipe-action-item :right-options="Options" @click="handleSwipeClick($event, item, index)" <uni-swipe-action-item :right-options="Options" @click="handleSwipeClick($event, item, index)"
class="device-card "> class="device-card ">
<view @click.stop="handleFile(item,index)"> <view @click.stop="handleFile(item,index)">
<view class="item"> <view class="item">
<view class="itemLeft "> <view class="itemLeft ">
<view class="title">{{index+1}}:{{ item.name }}</view> <view class="title">{{index+1}}:{{ item.name }}</view>
<view class="smallTitle"> <view class="smallTitle">
<text>{{item.createTime}}</text> <text>{{item.createTime}}</text>
<text v-show="item.time">{{item.time}}</text> <text v-show="item.time">{{item.time}}</text>
<image :class="{'displayNone':!item.localPath}" <image :class="{'displayNone':!item.localPath}" class="img"
class="img" src="/static/images/100/volume.png" mode="aspectFit" src="/static/images/100/volume.png" mode="aspectFit"
@click.stop="play(item,index)"></image> @click.stop="play(item,index)"></image>
</view> </view>
</view> </view>
@ -94,9 +94,9 @@
<view class="displayNone"> <view class="displayNone">
<audio :src="cPlay.src" :id="cPlay.Id" :name="cPlay.name" author=""></audio> <audio :src="cPlay.src" :id="cPlay.Id" :name="cPlay.name" author=""></audio>
</view> </view>
<global-loading ref="loading" /> <global-loading ref="loading"></global-loading>
</view>
</view> </view>
</template> </template>
<script> <script>
@ -601,8 +601,8 @@
console.log("无文件删除"); console.log("无文件删除");
return; return;
} }
console.log("item=", item); console.log("item=", item);
let delFile = (tempFilePath) => { let delFile = (tempFilePath) => {
let promise = new Promise((resolve, reject) => { let promise = new Promise((resolve, reject) => {

View File

@ -539,7 +539,7 @@ class BleReceive {
try { try {
console.log("str=",receive.str); // console.log("str=",receive.str);
receiveData = JSON.parse(receive.str); receiveData = JSON.parse(receive.str);
let recCnt = recArr.find(v => { let recCnt = recArr.find(v => {