zhuliu 1 éve
szülő
commit
a3d01abbc3

+ 8 - 3
src/views/report/InvalidResponse/components/dialog/ReviewCommittee.vue

@@ -3,8 +3,8 @@
     <el-dialog  :title="title" :visible.sync="showDialog" width="1000px" :close-on-click-modal="false"  :before-close="handleClose" append-to-body>
         <div style="margin-bottom:10px" v-if="radio != 3">
             <el-radio-group v-model="radio" @input="change">
-                <el-radio label="4">第一次法院意见</el-radio>
-                <el-radio label="6">第二次法院意见</el-radio>
+                <el-radio :label="4">第一次法院意见</el-radio>
+                <el-radio :label="6">第二次法院意见</el-radio>
             </el-radio-group>
         </div>
         <div style="height:calc(100vh - 350px)" v-DivHeight="getDivHeight">
@@ -78,7 +78,7 @@ export default {
         btnLoading:false,
         tableData:[],
         column:{},
-        radio:'4'
+        radio:4
     };
   },
   watch: {},
@@ -125,6 +125,11 @@ export default {
                 label:'一审法院决定'
             }
         }
+        var titles = {
+            3:'添加复审委决定',
+            4:'添加法院决定'
+        }
+        this.title = titles[type]
         this.column = types[type]
         this.showDialog = true
     },

+ 16 - 1
src/views/report/InvalidResponse/components/reasonsAndEvidence/reasonsAndEvidence.vue

@@ -1196,7 +1196,22 @@ export default {
         this.mergeArr.forEach((key, index1) => {
             let count = 0;
             this.mergeObj[key] = [];
-            if(key == 'statutesId'){
+            if(key == 'claimSort'){
+                data.forEach((item, index) => {
+                    if (index === 0) {
+                        this.mergeObj[key].push(1);
+                    } else {
+                    if (item[key] === data[index - 1][key] && item.relatedContent === data[index - 1].relatedContent) {
+                        this.mergeObj[key][count] += 1;
+                        this.mergeObj[key].push(0);
+                    } else {
+                        count = index;
+                        this.mergeObj[key].push(1);
+                    }
+                    }
+                })
+            }
+            else if(key == 'statutesId'){
                 data.forEach((item, index) => {
                     if (index === 0) {
                         this.mergeObj[key].push(1);