app验收反馈

This commit is contained in:
仲么了
2023-08-11 11:03:31 +08:00
parent f395da8f93
commit 792e1ce7d7
24 changed files with 357 additions and 98 deletions

View File

@@ -28,7 +28,7 @@
:key="item.equipmentId"
@click="goDevice(item)"
padding="0"
thumbnail="/static/device.png"
:thumbnail="deviceIcon(item.runStatus)"
>
</uni-card>
<Cn-empty v-if="store.empty"></Cn-empty>
@@ -45,10 +45,6 @@
thumb="/static/head.png"
thumb-size="lg"
>
<template v-slot:footer>
<view class="footer-btn mt20" style="background: #e47470" @click="del">移除</view>
<!-- <view class="footer-btn mt20 ml10" @click="goUserDetail">查看</view> -->
</template>
</uni-list-item>
<uni-list-item
title="李四"
@@ -56,10 +52,6 @@
thumb="/static/head.png"
thumb-size="lg"
>
<template v-slot:footer>
<view class="footer-btn mt20" style="background: #e47470" @click="del">移除</view>
<!-- <view class="footer-btn mt20 ml10" @click="goUserDetail">查看</view> -->
</template>
</uni-list-item>
</uni-list>
</view>
@@ -130,6 +122,21 @@ export default {
}
},
methods: {
deviceIcon(e) {
let str = ''
switch (e) {
case 1:
str = '/static/device_bad.png'
break
case 2:
str = '/static/device.png'
break
default:
str = '/static/device.png'
break
}
return str
},
addAppTopologyDiagram(e) {
console.log(e)
addAppTopologyDiagram(

View File

@@ -232,7 +232,7 @@ export default {
},
chooseLocation() {
uni.chooseLocation({
success: function (res) {
success: (res) => {
this.formData.area = res.name
this.formData.lat = res.latitudeame
this.formData.lng = res.longitude