This commit is contained in:
2023-12-13 17:13:59 +08:00
parent 8ac8bac350
commit 5fdf74ff2c

View File

@@ -1,6 +1,6 @@
<template>
<view class="zd_container">
<nav-bar title="呼叫管理"></nav-bar>
<nav-bar title="站点管理"></nav-bar>
<view class="zd_content">
<view class="state-wrap">
<view class="state-item-wrap" v-for="e in state">
@@ -18,7 +18,6 @@
<view class="site_item" v-for="(el, i) in e.pointArr" :key="i">
<view class="site_item_box" :class="['bggray', 'bggreen'][Number(el.status)]" @click="setcode(el)">
<text class="title_1">{{el.device_name}}</text>
<text class="title_2">{{el.source_device}}</text>
</view>
</view>
</view>
@@ -122,7 +121,6 @@
this.active = true
this.obj = el
this.value = el.status
console.log(this.value)
},
change(e){
console.log(this.value)
@@ -139,7 +137,7 @@
async _bindpoint () {
try {
let res = await bindpoint(this.obj.device_code, this.value)
this.cancle()
this.msgCancle()
uni.showToast({
title: res.desc,
icon: 'none'
@@ -188,7 +186,7 @@
_fj(flex-start,,,wrap)
padding-bottom 10rpx
.site_item
_wh(calc(100% / 3),110rpx)
_wh(calc(100% / 3),70rpx)
padding 5rpx 10rpx
overflow hidden
_fj(center)
@@ -202,7 +200,7 @@
_font(30rpx,40rpx,#333,bold)
font-style italic
.title_1
_wh(100%, 60%)
_wh(100%, 100%)
_fj(center)
overflow hidden
_font(28rpx,28rpx,#303133,500, center)