Oliver
2022-12-14 02ce22be65df8b717d5f1614e5d7dbfcdf1ce1b9
src/views/intelligentPatrol/studyJudge/index.vue
@@ -2,7 +2,7 @@
  <div class="study-judge">
    <div class="study-judge-header">
      <span
        >您有{{ countData.review }}条待审核报警信息,今日立案{{
      >您有<span @click="openDialogTable">{{ countData.review }}</span>条待审核报警信息,今日立案{{
          countData.register
        }}条,再学习{{ countData.study }}条</span
      >
@@ -16,10 +16,12 @@
        </div>
        <div class="sjm-header-right">
          <el-button size="small" @click="createVideo(currentEvent, 'live')"
            >实时预览</el-button
          >实时预览
          </el-button
          >
          <el-button size="small" @click="createVideo(currentEvent, 'playback')"
            >录像回放</el-button
          >录像回放
          </el-button
          >
        </div>
      </div>
@@ -98,7 +100,8 @@
                    :label="item.id"
                    v-for="item in stateList"
                    :key="item.id"
                    >{{ item.label }}</el-radio
                  >{{ item.label }}
                  </el-radio
                  >
                </el-radio-group>
              </el-form-item>
@@ -146,10 +149,12 @@
                <el-button
                  :disabled="currentPage === 1"
                  @click="pageChange('prev')"
                  >上一条</el-button
                >上一条
                </el-button
                >
                <el-button @click.native.prevent="handleConfirm"
                  >确认</el-button
                >确认
                </el-button
                >
                <el-button @click="pageChange('next')">下一条</el-button>
              </el-form-item>
@@ -177,6 +182,9 @@
        <div id="dom1" class="dom1"></div>
      </div>
    </el-dialog>
    <el-dialog :visible.sync="isShowTable" title="报警信息" width="1200px">
      <inspection-table/>
    </el-dialog>
  </div>
</template>
@@ -187,11 +195,12 @@
import { FILE_ORIGINAL_URL } from "@/utils";
import { validateCarNum } from "@/utils/validate";
import MyDispatch from "@/components/dispatch";
import InspectionTable from "@/views/intelligentPatrol/studyJudge/inspectionTable/index.vue";
import MyMap from "@/components/map";
export default {
  components: { MyDispatch, MyMap },
  components: { MyDispatch, MyMap ,InspectionTable},
  created() {
    this.getInspectionData();
    this.initEventParams();
@@ -248,6 +257,7 @@
        review: 0,
        register: 0,
      },
      isShowTable: true,
      currentEvent: {},
      stateList: [
        {
@@ -316,6 +326,9 @@
    };
  },
  methods: {
    openDialogTable(){
      this.isShowTable = true
    },
    pageChange(type) {
      if (type === "next") {
        this.currentPage += 1;
@@ -574,7 +587,7 @@
  beforeDestroy() {
    clearInterval(this.timer);
    this.timer = null;
  },
  }
};
</script>