luobisheng
2022-12-08 184acd5b0b7b91eac0ee6c028f50437dbd087573
src/views/intelligentPatrol/studyJudge/index.vue
@@ -1,7 +1,7 @@
<template>
  <div class="study-judge">
    <div class="study-judge-header">
      <span>您有{{ eventList.length }}条待审核报警信息,今日立案0条,再学习{{ countData.review }}条</span>
      <span>您有{{ countData.register }}条待审核报警信息,今日立案{{ countData.review }}条,再学习{{ countData.study }}条</span>
    </div>
    <div class="study-judge-main">
      <div class="sjm-header">
@@ -144,9 +144,10 @@
      }
    };
    return {
      eventList: [],
      countData: {
        review: 0
        study: 0,
        review: 0,
        register: 0
      },
      currentEvent: {},
      adviceList: [
@@ -208,8 +209,7 @@
    getInspectionData() {
      basecase.getInspectionData({ current: this.currentPage })
          .then(({ records }) => {
            this.eventList = records;
            this.currentEvent = this.eventList[0];
            this.currentEvent = records[0];
            if (this.currentEvent?.picData) {
              this.imageList = this.currentEvent.picData.split(',').map(item => `${FILE_ORIGINAL_URL}${item}`);
            }
@@ -221,7 +221,7 @@
    handleConfirm(){
      this.$refs.currentEvent.validate((flag)=>{
        if(flag){
          this.eventInfoData.baseId = this.currentEvent.code;
          this.eventInfoData.baseId = this.currentEvent.baseId;
          // 调度
          if (this.eventInfoData.advice === 6) {