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',
data: data
})
}
export function deviceRealTimeStatus(){
return Promise.resolve({code:500});
}

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -131,15 +131,15 @@
<view class="section-title">产品信息</view>
<view class="mode-buttons">
<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>
<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>
<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>
</view>

View File

@ -172,15 +172,15 @@
<view class="section-title">产品信息</view>
<view class="mode-buttons">
<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>
<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>
<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>
</view>

View File

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

View File

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