Преглед на файлове

案件提交后案件信息修改与撤销

Your Name преди 2 години
родител
ревизия
9bcda9e122
променени са 3 файла, в които са добавени 1321 реда и са изтрити 8 реда
  1. 26
    0
      src/api/caseManagement/caseManagement.js
  2. 86
    8
      src/views/caseManagement/caseList.vue
  3. 1209
    0
      src/views/caseManagement/components/caseentryExamine.vue

+ 26
- 0
src/api/caseManagement/caseManagement.js Целия файл

@@ -105,3 +105,29 @@ export function logistics(data) {
105 105
     params: data,
106 106
   })
107 107
 }
108
+// 申请人撤销修改
109
+export function revoke(data) {
110
+  return request({
111
+    url: "/caseApplicationLog/revoke",
112
+    method: "post",
113
+    data: data,
114
+  })
115
+}
116
+// 秘书审核修改
117
+export function updateAudit(data) {
118
+  return request({
119
+    url: "/caseApplicationLog/updateAudit",
120
+    method: "post",
121
+    data: data,
122
+  })
123
+}
124
+// 查询案件对比信息
125
+export function selectCompareCase(data) {
126
+  return request({
127
+    url: "/caseApplicationLog/selectCompareCase",
128
+    method: "post",
129
+    data: data,
130
+  })
131
+}
132
+
133
+

+ 86
- 8
src/views/caseManagement/caseList.vue Целия файл

@@ -87,9 +87,11 @@
87 87
           <el-button size="mini" type="text" icon="el-icon-zoom-in" @click="viewProcess(scope.row)">查看流程</el-button>
88 88
           <!-- 案件日志 -->
89 89
           <el-button size="mini" type="text" icon="el-icon-notebook-2" @click="caselogRow(scope.row)">案件日志</el-button>
90
-          <el-button size="mini" type="text" icon="el-icon-edit" @click="editRow(scope.row)" v-if="scope.row.caseStatus == 0 &&
90
+          <el-button size="mini" type="text" icon="el-icon-edit" @click="editRow(scope.row)" v-if="(scope.row.caseStatus < 10 && scope.row.caseStatus != 2 && scope.row.updateSubmitStatus !== 1) &&
91 91
             checkPermi(['caseManagement:list:update']) && btnStatus
92 92
             ">修改</el-button>
93
+          <!-- 撤销修改 -->
94
+          <el-button size="mini" type="text" icon="el-icon-edit" @click="undoRow(scope.row,1)" v-if="(scope.row.updateSubmitStatus == 1 || scope.row.updateSubmitStatus == 3) && scope.row.caseStatus > 0 && checkPermi(['caseManagement:list:undo'])">撤销修改</el-button>
93 95
           <el-button size="mini" type="text" icon="el-icon-check" @click="onsubmitRow(scope.row)" v-if="scope.row.caseStatus == 0 &&
94 96
             checkPermi(['caseManagement:list:submit']) && btnStatus
95 97
             ">提交</el-button>
@@ -113,6 +115,10 @@
113 115
             v-hasPermi="['monitor:online:forceLogout']"
114 116
             >组庭</el-button
115 117
           > -->
118
+          <!-- 审核修改,秘书角色 -->
119
+          <el-button size="mini" type="text" icon="el-icon-s-check" @click="reviewCase(scope.row)" v-if="scope.row.updateSubmitStatus == 1 && checkPermi(['caseManagement:list:reviewCase'])">审核修改</el-button>
120
+          <!-- 审核撤销,秘书角色 -->
121
+          <el-button size="mini" type="text" icon="el-icon-s-check" @click="reviewRevocation(scope.row)" v-if="scope.row.updateSubmitStatus == 2 && checkPermi(['caseManagement:list:reviewRevocation'])">审核撤销</el-button>
116 122
           <el-button size="mini" type="text" icon="el-icon-s-check" @click="courtconfirmationRow(scope.row)" v-if="scope.row.caseStatus == 6 &&
117 123
             checkPermi(['caseManagement:list:confirmgroup']) && btnStatus
118 124
             ">组庭确认</el-button>
@@ -131,7 +137,10 @@
131 137
             scope.row.arbitratMethod == 1 &&
132 138
             checkPermi(['caseManagement:list:hear']) && btnStatus
133 139
             ">开庭审理</el-button>
134
-          <el-button size="mini" type="text" icon="el-icon-edit" v-if="scope.row.caseStatus < 8 &&
140
+          <!-- <el-button size="mini" type="text" icon="el-icon-edit" v-if="scope.row.caseStatus < 8 &&
141
+            checkPermi(['caseManagement:list:evidenceUpdate']) && btnStatus"
142
+            @click="evidenceUpload(scope.row)">证据修改</el-button> -->
143
+          <el-button size="mini" type="text" icon="el-icon-edit" v-if="(scope.row.caseStatus < 10 && scope.row.caseStatus != 2 && scope.row.caseStatus != 0) &&
135 144
             checkPermi(['caseManagement:list:evidenceUpdate']) && btnStatus"
136 145
             @click="evidenceUpload(scope.row)">证据修改</el-button>
137 146
           <el-button size="mini" type="text" icon="el-icon-edit" v-if="scope.row.caseStatus == 31 && btnStatus"
@@ -142,8 +151,9 @@
142 151
           <el-button size="mini" type="text" icon="el-icon-unlock"
143 152
             v-if="checkPermi(['caseManagement:list:lock']) && scope.row.lockStatus == 1 && btnStatus"
144 153
             @click="ulockClick(scope.row)">解锁</el-button>
145
-          <el-button v-if="checkPermi(['caseManagement:list:listEvidence']) && scope.row.caseStatus <= 1 && btnStatus"
146
-            size="mini" type="text" icon="el-icon-upload" @click="uploadCase(scope.row)">上传证据目录</el-button>
154
+            <!-- 暂时隐藏后期可能会放其他地方 -->
155
+          <!-- <el-button v-if="checkPermi(['caseManagement:list:listEvidence']) && scope.row.caseStatus <= 1 && btnStatus"
156
+            size="mini" type="text" icon="el-icon-upload" @click="uploadCase(scope.row)">上传证据目录</el-button> -->
147 157
           <!-- <el-button
148 158
             size="mini"
149 159
             type="text"
@@ -215,6 +225,10 @@
215 225
     <uploadCaseDialog :uploadCaseVisable="uploadCaseVisable" @uploadCaseCancel="uploadCaseCancel"
216 226
       :uploadCaseData="uploadCaseData">
217 227
     </uploadCaseDialog>
228
+    <!-- 秘书审核修改页面 -->
229
+    <caseentryExamineDialog :dialogtitle="dialogtitle" :caseentryExamineVisible="caseentryExamineVisible" :queryParams="queryParams"
230
+    :getcaseApply="getcaseApply"
231
+    @caseentryExamineCancel="caseentryExamineCancel" :caseentryExamineData="caseentryExamineData" :caseentryExamineDataAll="caseentryExamineDataAll"></caseentryExamineDialog>
218 232
   </div>
219 233
 </template>
220 234
 
@@ -234,6 +248,8 @@ import evidenceDialog from './components/evidenceDialog.vue';
234 248
 import timeDialog from './components/timeDialog.vue';
235 249
 import operateDialog from './components/operateDialog.vue';
236 250
 import uploadCaseDialog from './components/uploadCaseDialog.vue';
251
+// 秘书审核页面
252
+import caseentryExamineDialog from './components/caseentryExamine.vue';
237 253
 import { caseApplicationDetail } from "@/api/pay/pay";
238 254
 import {
239 255
   caseApply,
@@ -246,6 +262,9 @@ import { listDept } from "@/api/system/dept";
246 262
 import {
247 263
   document,
248 264
   caseLogRecordList,
265
+  revoke,
266
+  selectCompareCase,
267
+  updateAudit
249 268
 } from "@/api/caseManagement/caseManagement";
250 269
 import { getDicts } from '@/api/system/dict/data.js';
251 270
 export default {
@@ -266,7 +285,8 @@ export default {
266 285
     evidenceDialog,
267 286
     timeDialog,
268 287
     operateDialog,
269
-    uploadCaseDialog
288
+    uploadCaseDialog,
289
+    caseentryExamineDialog
270 290
   },
271 291
   data() {
272 292
     return {
@@ -330,6 +350,9 @@ export default {
330 350
       operateTitle: "",
331 351
       operateStatus: 0,
332 352
       uploadCaseVisable: false,
353
+      caseentryExamineVisible: false,
354
+      caseentryExamineData: {},
355
+      caseentryExamineDataAll: {},
333 356
       uploadCaseData: {},
334 357
       selectCaseStatusList: [
335 358
         {
@@ -598,7 +621,7 @@ export default {
598 621
     },
599 622
     // 是否进行缴费
600 623
     payStatus(val) {
601
-      this.getDetail({ id: val.id });
624
+      this.getDetail({ id: val.id, version: val.version });
602 625
       this.payTitle = "缴费";
603 626
       this.openPay = true;
604 627
       this.payId = val.id;
@@ -624,6 +647,33 @@ export default {
624 647
     cancelcourtDialog() {
625 648
       this.showformateCourt = false;
626 649
     },
650
+    // 审核案件 selectCompareCase caseentryExamineData
651
+    reviewCase(row) {
652
+      this.caseentryExamineVisible = true;
653
+      this.dialogtitle = "审核修改详情";
654
+      this.getSelectCompareCase(row)
655
+    },
656
+    // 秘书审核修改页面 caseentryExamineVisible
657
+    caseentryExamineCancel() {
658
+      this.caseentryExamineVisible = false;
659
+    },
660
+    // 查询修改字段
661
+    getSelectCompareCase(val) {
662
+      let param = {
663
+        caseId:val.id,
664
+        version:val.version
665
+      }
666
+      selectCompareCase(param).then((res) => {
667
+        this.caseentryExamineData = res.data.afterCase
668
+        this.caseentryExamineDataAll = res.data.afterCase
669
+      })
670
+    },
671
+    // 审核撤销
672
+    reviewRevocation(row) {
673
+      this.caseentryExamineVisible = true;
674
+      this.dialogtitle = "审核撤销";
675
+      this.getSelectCompareCase(row)
676
+    },
627 677
     // 组庭确认
628 678
     courtconfirmationRow(row) {
629 679
       // console.log(row, "组庭确认");
@@ -691,8 +741,11 @@ export default {
691 741
     },
692 742
     // 查找主体信息数据
693 743
     getInfo(row) {
694
-      const id = row.id;
695
-      selectCaseApply({ id }).then((res) => {
744
+      let params = {
745
+        id: row.id,
746
+        version: row.version
747
+      }
748
+      selectCaseApply(params).then((res) => {
696 749
         // this.visible = true;
697 750
         // this.formData = res.data;
698 751
         this.form.caseName = res.data.caseName;
@@ -733,6 +786,31 @@ export default {
733 786
         })
734 787
         .catch(() => { });
735 788
     },
789
+    // 申请人撤销修改 revoke
790
+    undoRow(row) {
791
+      if (row.updateSubmitStatus == 1) {
792
+        this.$modal.confirm("是否确认撤销修改?").then(function () {
793
+          return revoke({ caseId: row.id, version: row.version });
794
+        }).then((res) => {
795
+          if (res.code == 200) {
796
+            this.getcaseApply(this.queryParams);
797
+            this.$modal.msgSuccess("撤销成功");
798
+          }      
799
+        })
800
+        .catch(() => { });
801
+      } else if (row.updateSubmitStatus == 3) {
802
+        this.$modal.confirm("是否确认撤销已审核的修改?").then(function () {
803
+          return revoke({ caseId: row.id, version: row.version });
804
+        }).then((res) => {
805
+          if (res.code == 200) {
806
+            this.getcaseApply(this.queryParams);
807
+            this.$modal.msgSuccess("撤销申请已提交,等待审核");
808
+          }
809
+        })
810
+        .catch(() => { });
811
+      }
812
+      
813
+    }
736 814
   },
737 815
 };
738 816
 </script>

+ 1209
- 0
src/views/caseManagement/components/caseentryExamine.vue
Файловите разлики са ограничени, защото са твърде много
Целия файл