luobisheng
2022-12-07 0426c72922004cbaa47fafbb0ee6eb5d9386a063
src/views/operate/video/index.vue
@@ -17,9 +17,9 @@
          <div class="findBtn">
            <el-button type="primary" @click="searchVideoList">查询</el-button>
          </div>
          <div class="findBtn">
          <!-- <div class="findBtn">
            <el-button class="button-addition" type="primary" @click="handleOpera(null, 'create')">添加</el-button>
          </div>
          </div> -->
        </div>
      </div>
    </header>
@@ -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 }) {