app验收反馈
This commit is contained in:
@@ -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(
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user