luobisheng
2022-12-01 1e4e67cf052f4c3cdfa2e756b342c1a38f4805b5
src/views/operate/video/index.vue
@@ -78,10 +78,10 @@
            <template slot-scope="scope">
              <div class="operation">
                <span @click="handleOpera(scope.row, 'view')">查看</span>
                <span class="line">|</span>
                <span @click="handleOpera(scope.row, 'update')">修改</span>
                <span class="line">|</span>
                <span @click="handleDelete(scope.row)">删除</span>
                <span v-if="mystatus === 2" class="line">|</span>
                <span v-if="mystatus === 2" @click="handleOpera(scope.row, 'update')">修改</span>
                <span v-if="mystatus === 2" class="line">|</span>
                <span v-if="mystatus === 2" @click="handleDelete(scope.row)">删除</span>
              </div>
            </template>
          </el-table-column>
@@ -188,7 +188,7 @@
      typeList: [
        {
          name: "摄像头推送",
          value: null,
          value: "01",
          checked: true,
        },
        {
@@ -300,6 +300,8 @@
      });
      this.mystatus = idx + 1;
      this.statusArr[1] = this.typeList[idx].value;
      this.searchContent = this.typeList[idx].value;
      this.searchVideoList();
    },
    // 设置表格斑马纹
    tableRowClassName({ row, rowIndex }) {