wl
2022-11-30 84b2d361e6ad14da0b6b6cb4d6891582181db025
src/views/operate/video/index.vue
@@ -3,14 +3,7 @@
    <header>
      <div class="headerContent">
        <div class="search">
          <span>筛选条件:</span>
          <div class="option">
            <el-input
              v-model="searchContent"
              placeholder="请输入内容"
            ></el-input>
          </div>
          <span>上传时间:</span>
          <span>上传时间:</span>
          <div class="option">
            <el-date-picker
                v-model="datePicked"
@@ -25,7 +18,7 @@
            <el-button type="primary" @click="searchVideoList">查询</el-button>
          </div>
          <div class="findBtn">
            <el-button class="button-addition" type="primary" @click="handleOpera(null, 'create')">添加视频</el-button>
            <el-button class="button-addition" type="primary" @click="handleOpera(null, 'create')">添加</el-button>
          </div>
        </div>
      </div>
@@ -58,7 +51,7 @@
          @selection-change="tableChange"
        >
          <el-table-column type="selection" min-width="5"> </el-table-column>
          <el-table-column prop="baseId" label="所属事件编号" min-width="18">
          <el-table-column prop="code" label="所属事件编号" min-width="18">
          </el-table-column>
          <el-table-column prop="category" label="问题类别" min-width="8">
            <template slot-scope="scope">
@@ -195,12 +188,12 @@
      typeList: [
        {
          name: "摄像头推送",
          value: 1,
          value: null,
          checked: true,
        },
        {
          name: "单兵推送",
          value: 2,
          value: "03",
          checked: false,
        },
      ],
@@ -222,13 +215,8 @@
    }
  },
  created() {
    this.statusArr[0] = 6;
    this.searchContent = this.typeList.find((item) => item.checked).value;
    this.searchVideoList();
    this.typeList.forEach((item) => {
      if (item.checked) {
        this.statusArr[1] = item.value;
      }
    });
  },
  methods: {
    // 顶部下拉框