From 184acd5b0b7b91eac0ee6c028f50437dbd087573 Mon Sep 17 00:00:00 2001
From: luobisheng <727299681@qq.com>
Date: 星期四, 08 十二月 2022 10:41:41 +0800
Subject: [PATCH] 我的待办参数修改,案卷查询搜索参数修改

---
 src/views/intelligentPatrol/studyJudge/index.vue |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/views/intelligentPatrol/studyJudge/index.vue b/src/views/intelligentPatrol/studyJudge/index.vue
index f0c9402..d9e3205 100644
--- a/src/views/intelligentPatrol/studyJudge/index.vue
+++ b/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) {

--
Gitblit v1.8.0