fuliqi
2024-10-15 0e944bfc16136c0a749fc6022e0dfc7f2b4af010
src/views/system/data-manage/equipment/index.vue
@@ -105,7 +105,7 @@
      <el-table-column label="设备名称" align="center" prop="name" width="280" fixed/>
      <el-table-column label="设备编码" align="center" prop="serialNumber" width="180"/>
      <el-table-column label="标签" align="center" prop="publicSecurity" width="180" v-if="columns[0].visible"/>
      <el-table-column label="区域" align="center" prop="address" width="180" v-if="columns[1].visible"/>
      <el-table-column label="区域" align="center" prop="cameraCaptureArea" width="180" v-if="columns[1].visible"/>
      <el-table-column label="设备状态" align="center" prop="onState" v-if="columns[2].visible">
        <template slot-scope="scope">
          <dict-tag :options="dict.type.camera_state" :value="scope.row.onState"/>
@@ -250,7 +250,6 @@
  created() {
    this.getVideoCount();
    this.getList();
    this.getDyColumn()
  },
  methods: {
    getDyColumn() {
@@ -269,7 +268,7 @@
    /** 查询设备资产列表 */
    getList() {
      this.loading = true;
      this.getDyColumn()
      // this.getDyColumn()
      dataCenter('assetManagement', this.queryParams).then(response => {
        this.monitorList = response.data;
        this.total = response.total;