fuliqi
2024-11-06 0c7d2e6f5d16f85166888159ee7810de5c9e97a0
src/views/system/monitor/recovery/index.vue
@@ -35,6 +35,10 @@
              <p>异常数</p>
            </div>
            <div class="dashboard-item">
              <h3 style="color: #4f4f4f">{{ count.unknownNumbers }}</h3>
              <p>未知数</p>
            </div>
            <div class="dashboard-item">
              <h3>{{ count.viewsPercentage }}%</h3>
              <p>设备运行率</p>
            </div>
@@ -50,6 +54,7 @@
          placeholder="请输入关键字"
          clearable
          @keyup.enter.native="handleQuery"
          @clear="handleQuery"
        />
      </el-form-item>
      <el-form-item label="区域" prop="onState">
@@ -72,6 +77,7 @@
          v-model="queryParams.cameraFunType"
          placeholder="请选择监控类型"
          clearable
          @change="handleQuery"
        >
          <el-option label="视频监控" value="1"/>
          <el-option label="车辆监控" value="2"/>
@@ -156,8 +162,9 @@
              }}
            </el-form-item>
            <el-form-item label="设备状态:">
              <div v-if="form.onState === 0">异常</div>
              <div v-else-if="form.onState === 1">正常</div>
              <div v-if="form.onState === 0">未知</div>
              <div v-else-if="form.onState === 1">在线</div>
              <div v-else-if="form.onState === -1">离线</div>
            </el-form-item>
            <el-form-item label="管理单位:">{{ form.unitName }}</el-form-item>
          </el-col>
@@ -239,6 +246,7 @@
        totalPosts: 0,
        totalMembers: 0,
        postsPercentage: 0,
        unknownNumbers: 0,
        totalViews: 0,
        viewsPercentage: 0,
        totalErrors: 0,