zhanghua
2022-11-29 d1c6fa3e2e7ef9a5009e798909ed80aecf2eb1db
src/views/operate/video/index.vue
@@ -25,7 +25,7 @@
            <el-button type="primary" @click="searchVideoList">查询</el-button>
          </div>
          <div class="findBtn">
            <el-button type="primary" @click="handleOpera(null, 'create')">添加视频</el-button>
            <el-button class="button-addition" type="primary" @click="handleOpera(null, 'create')">添加视频</el-button>
          </div>
        </div>
      </div>
@@ -62,12 +62,12 @@
          </el-table-column>
          <el-table-column prop="category" label="问题类别" min-width="8">
            <template slot-scope="scope">
              <span>{{ getCategory(scope.row.category).label }}</span>
              <span>{{ getCategory(scope.row.category)?.label }}</span>
            </template>
          </el-table-column>
          <el-table-column prop="eventSource" label="事件来源" min-width="8">
            <template slot-scope="scope">
              <span>{{ getEventSource(scope.row.eventSource).label }}</span>
              <span>{{ getEventSource(scope.row.eventSource)?.label }}</span>
            </template>
          </el-table-column>
          <el-table-column prop="regionName" label="社区名称" min-width="8">
@@ -96,9 +96,11 @@
        <!-- 查看修改页面 -->
        <el-dialog
          :visible.sync="isShowDialog"
          :destroy-on-close="true"
          :key="dialogTitle"
          width="40%"
          :title="dialogTitle">
          <updateInterface :isUpdate="isUpdate" :dialogData="dialogData" />
          <updateInterface v-if="isShowDialog" :isUpdate="isUpdate" :dialogData="dialogData" @closeDialog="closeDialog" />
        </el-dialog>
        <div class="tools">
@@ -340,10 +342,7 @@
    // 关闭上传界面
    closeDialog() {
      this.isShowDialog = false;
    },
    // 处理时间
    filterTime(time) {
      return helper(time);
      this.searchVideoList();
    },
    getCategory(value) {
@@ -436,8 +435,9 @@
      margin-bottom: 10px;
      .type-item {
        width: 80px;
        min-width: 80px;
        text-align: center;
        padding-right: 10px;
        &:hover {
          cursor: pointer;