Просмотр исходного кода

Merge branch 'hhl' of SH-Arbitrate/Arbitrate-Frontend into dev

hhlxayunmei 2 лет назад
Родитель
Сommit
af4c65d156

+ 3
- 0
src/main.js Просмотреть файл

@@ -41,6 +41,8 @@ import VueMeta from 'vue-meta'
41 41
 import DictData from '@/components/DictData'
42 42
 //画布组件
43 43
 import vueEsign from 'vue-esign'
44
+import {checkPermi} from '@/utils/permission'
45
+
44 46
 // 全局方法挂载
45 47
 Vue.prototype.getDicts = getDicts
46 48
 Vue.prototype.getConfigKey = getConfigKey
@@ -51,6 +53,7 @@ Vue.prototype.selectDictLabel = selectDictLabel
51 53
 Vue.prototype.selectDictLabels = selectDictLabels
52 54
 Vue.prototype.download = download
53 55
 Vue.prototype.handleTree = handleTree
56
+Vue.prototype.checkPermi = checkPermi
54 57
 
55 58
 // 全局组件挂载
56 59
 Vue.component('DictTag', DictTag)

+ 0
- 1
src/utils/permission.js Просмотреть файл

@@ -24,7 +24,6 @@ export function checkPermi(value) {
24 24
     return false
25 25
   }
26 26
 }
27
-
28 27
 /**
29 28
  * 角色权限校验
30 29
  * @param {Array} value 校验值

+ 13
- 28
src/views/awardManagement/listofAwards.vue Просмотреть файл

@@ -43,36 +43,21 @@
43 43
                 <template slot-scope="scope">
44 44
                     <!-- <el-button size="mini" type="text" icon="el-icon-reading" v-if="scope.row.caseStatus == 10" @click="showModel(scope.row, 0)"
45 45
                         v-hasPermi="['monitor:online:forceLogout']">生成裁决书</el-button> -->
46
-                    <el-button size="mini" type="text" icon="el-icon-edit" v-if="scope.row.caseStatus == 11" @click="showModel(scope.row, 1)"
47
-                        v-hasPermi="['awardManagement:list:check']">核查</el-button>
48
-                    <el-button size="mini" type="text" icon="el-icon-edit" v-if="scope.row.caseStatus == 12" @click="showModel(scope.row, 2)"
49
-                        v-hasPermi="['awardManagement:list:confirmaward']">确认裁决书</el-button>
50
-                    <el-button size="mini" type="text" icon="el-icon-edit" v-if="scope.row.caseStatus == 13" @click="showModel(scope.row, 3)"
51
-                        v-hasPermi="['awardManagement:list:sign']">签名</el-button>
52
-                    <el-button size="mini" type="text" icon="el-icon-edit" v-if="scope.row.caseStatus == 14" @click="showaffixModel(scope.row, 4)"
53
-                        v-hasPermi="['awardManagement:list:signprint']">用印申请</el-button>
46
+                    <el-button size="mini" type="text" icon="el-icon-edit" v-if="scope.row.caseStatus == 11 && checkPermi(['awardManagement:list:check'])" @click="showModel(scope.row, 1)"
47
+                    >核查</el-button>
48
+                    <el-button size="mini" type="text" icon="el-icon-edit" v-if="scope.row.caseStatus == 12 && checkPermi(['awardManagement:list:confirmaward'])" @click="showModel(scope.row, 2)"
49
+                    >确认裁决书</el-button>
50
+                    <el-button size="mini" type="text" icon="el-icon-edit" v-if="scope.row.caseStatus == 13 && checkPermi(['awardManagement:list:sign'])" @click="showModel(scope.row, 3)"
51
+                    >签名</el-button>
52
+                    <el-button size="mini" type="text" icon="el-icon-edit" v-if="scope.row.caseStatus == 14 && checkPermi(['awardManagement:list:signprint'])" @click="showaffixModel(scope.row, 4)"
53
+                    >用印申请</el-button>
54 54
                         <!-- v-if="scope.row.caseStatus > 15" -->
55
-                    <el-button size="mini" type="text" icon="el-icon-truck" v-if="scope.row.caseStatus > 15" @click="showDeliveryModel(scope.row, 4)"
56
-                        v-hasPermi="['delivery:list:detail']">快递信息</el-button>
55
+                    <el-button size="mini" type="text" icon="el-icon-truck" v-if="scope.row.caseStatus > 15 && checkPermi(['delivery:list:detail'])" @click="showDeliveryModel(scope.row, 4)">快递信息</el-button>
57 56
                         <!-- v-if="scope.row.caseStatus == 15"   送达裁决书 -->
58
-                    <el-button size="mini" type="text" icon="el-icon-edit" v-if="scope.row.caseStatus == 15" @click="showMailaward(scope.row)"
59
-                        v-hasPermi="['awardManagement:list:sendaward']">送达裁决书</el-button>
60
-                    <el-button size="mini" type="text" icon="el-icon-edit" v-if="scope.row.caseStatus == 16" @click="showCasefilingModel(scope.row, 6)"
61
-                        v-hasPermi="['awardManagement:list:file']">案件归档</el-button>
62
-                    <!-- <el-button size="mini" type="text" icon="el-icon-reading" 
63
-                        @click="showModel(scope.row, 0)" v-hasPermi="['monitor:online:forceLogout']">生成裁决书</el-button>
64
-                    <el-button size="mini" type="text" icon="el-icon-edit" 
65
-                        @click="showModel(scope.row, 1)" v-hasPermi="['monitor:online:forceLogout']">核查</el-button>
66
-                    <el-button size="mini" type="text" icon="el-icon-edit" 
67
-                        @click="showModel(scope.row, 2)" v-hasPermi="['monitor:online:forceLogout']">确认裁决书</el-button>
68
-                    <el-button size="mini" type="text" icon="el-icon-edit" 
69
-                        @click="showModel(scope.row, 3)" v-hasPermi="['monitor:online:forceLogout']">签名</el-button>
70
-                    <el-button size="mini" type="text" icon="el-icon-edit" 
71
-                        @click="showModel(scope.row, 4)" v-hasPermi="['monitor:online:forceLogout']">用印申请</el-button>
72
-                    <el-button size="mini" type="text" icon="el-icon-edit" 
73
-                        @click="showModel(scope.row, 5)" v-hasPermi="['monitor:online:forceLogout']">送达裁决书</el-button>
74
-                    <el-button size="mini" type="text" icon="el-icon-edit" 
75
-                        @click="showModel(scope.row, 6)" v-hasPermi="['monitor:online:forceLogout']">案件归档</el-button> -->
57
+                    <el-button size="mini" type="text" icon="el-icon-edit" v-if="scope.row.caseStatus == 15 && checkPermi(['awardManagement:list:sendaward'])" @click="showMailaward(scope.row)"
58
+                    >送达裁决书</el-button>
59
+                    <el-button size="mini" type="text" icon="el-icon-edit" v-if="scope.row.caseStatus == 16 && checkPermi(['awardManagement:list:file'])" @click="showCasefilingModel(scope.row, 6)"
60
+                    >案件归档</el-button>
76 61
                 </template>
77 62
             </el-table-column>
78 63
         </el-table>

+ 0
- 1
src/views/caseFiling/archiveList.vue Просмотреть файл

@@ -94,7 +94,6 @@
94 94
             type="text"
95 95
             icon="el-icon-reading"
96 96
             @click="showDetail(scope.row)"
97
-            v-hasPermi="['caseFiles:list:detail']"
98 97
             >归档详情</el-button
99 98
           >
100 99
         </template>

+ 350
- 98
src/views/caseManagement/caseList.vue Просмотреть файл

@@ -1,8 +1,19 @@
1 1
 <template>
2 2
   <div class="app-container">
3
-    <el-form :model="queryParams" ref="queryForm" size="small" :inline="true" label-width="98px">
3
+    <el-form
4
+      :model="queryParams"
5
+      ref="queryForm"
6
+      size="small"
7
+      :inline="true"
8
+      label-width="98px"
9
+    >
4 10
       <el-form-item label="案件编号" prop="caseNum">
5
-        <el-input v-model="queryParams.caseNum" placeholder="请输入案件编号" clearable @keyup.enter.native="handleQuery" />
11
+        <el-input
12
+          v-model="queryParams.caseNum"
13
+          placeholder="请输入案件编号"
14
+          clearable
15
+          @keyup.enter.native="handleQuery"
16
+        />
6 17
       </el-form-item>
7 18
       <el-form-item label="申请人(机构)" prop="applicantName">
8 19
         <!-- <el-input
@@ -11,12 +22,27 @@
11 22
           clearable
12 23
           @keyup.enter.native="handleQuery"
13 24
         /> -->
14
-        <el-cascader v-model="queryParams.nameId" :options="options" @change="changeDept" :props="{ checkStrictly: true }" clearable></el-cascader>
25
+        <el-cascader
26
+          v-model="queryParams.nameId"
27
+          :options="options"
28
+          @change="changeDept"
29
+          :props="{ checkStrictly: true }"
30
+          clearable
31
+        ></el-cascader>
15 32
       </el-form-item>
16 33
       <el-form-item label="案件状态" prop="caseStatus">
17
-        <el-select v-model="queryParams.caseStatus" placeholder="请选择案件状态" clearable @keyup.enter.native="handleQuery">
18
-          <el-option v-for="dict in dict.type.case_status" :key="dict.value" :label="dict.label"
19
-            :value="dict.value"></el-option>
34
+        <el-select
35
+          v-model="queryParams.caseStatus"
36
+          placeholder="请选择案件状态"
37
+          clearable
38
+          @keyup.enter.native="handleQuery"
39
+        >
40
+          <el-option
41
+            v-for="dict in dict.type.case_status"
42
+            :key="dict.value"
43
+            :label="dict.label"
44
+            :value="dict.value"
45
+          ></el-option>
20 46
         </el-select>
21 47
       </el-form-item>
22 48
       <!-- <el-form-item label="开庭日期" prop="hearDate">
@@ -30,16 +56,38 @@
30 56
         </el-date-picker>
31 57
       </el-form-item> -->
32 58
       <el-form-item>
33
-        <el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
34
-        <el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
59
+        <el-button
60
+          type="primary"
61
+          icon="el-icon-search"
62
+          size="mini"
63
+          @click="handleQuery"
64
+          >搜索</el-button
65
+        >
66
+        <el-button icon="el-icon-refresh" size="mini" @click="resetQuery"
67
+          >重置</el-button
68
+        >
35 69
       </el-form-item>
36 70
     </el-form>
37 71
     <el-row :gutter="10" class="mb8">
38 72
       <el-col :span="1.5">
39
-        <el-button type="primary" plain icon="el-icon-plus" size="mini" @click="filingApplication"
40
-          v-hasPermi="['caseManagement:list:add']">案件录入</el-button>
41
-        <el-button type="primary" plain icon="el-icon-plus" size="mini" @click="batchApplication"
42
-          v-hasPermi="['caseManagement:list:import']">案件批量导入</el-button>
73
+        <el-button
74
+          type="primary"
75
+          plain
76
+          icon="el-icon-plus"
77
+          size="mini"
78
+          @click="filingApplication"
79
+          v-hasPermi="['caseManagement:list:add']"
80
+          >案件录入</el-button
81
+        >
82
+        <el-button
83
+          type="primary"
84
+          plain
85
+          icon="el-icon-plus"
86
+          size="mini"
87
+          @click="batchApplication"
88
+          v-hasPermi="['caseManagement:list:import']"
89
+          >案件批量导入</el-button
90
+        >
43 91
       </el-col>
44 92
     </el-row>
45 93
     <el-table v-loading="loading" :data="dataList" style="width: 100%">
@@ -50,36 +98,121 @@
50 98
           }}</span>
51 99
         </template>
52 100
       </el-table-column>
53
-      <el-table-column label="案件编号" align="center" prop="caseNum" :show-overflow-tooltip="true" />
54
-      <el-table-column label="申请人(机构)" align="center" prop="applicantName" :show-overflow-tooltip="true" />
55
-      <el-table-column label="案件标的" align="center" prop="caseSubjectAmount" />
56
-      <el-table-column label="仲裁方式" align="center" prop="arbitratMethodName" :show-overflow-tooltip="true" />
101
+      <el-table-column
102
+        label="案件编号"
103
+        align="center"
104
+        prop="caseNum"
105
+        :show-overflow-tooltip="true"
106
+      />
107
+      <el-table-column
108
+        label="申请人(机构)"
109
+        align="center"
110
+        prop="applicantName"
111
+        :show-overflow-tooltip="true"
112
+      />
113
+      <el-table-column
114
+        label="案件标的"
115
+        align="center"
116
+        prop="caseSubjectAmount"
117
+      />
118
+      <el-table-column
119
+        label="仲裁方式"
120
+        align="center"
121
+        prop="arbitratMethodName"
122
+        :show-overflow-tooltip="true"
123
+      />
57 124
       <!-- 仲裁员 -->
58 125
       <el-table-column label="仲裁员" align="center" prop="arbitratorName" />
59 126
       <!-- 开庭日期 -->
60
-      <el-table-column label="开庭日期" align="center" prop="hearDate" :show-overflow-tooltip="true" />
127
+      <el-table-column
128
+        label="开庭日期"
129
+        align="center"
130
+        prop="hearDate"
131
+        :show-overflow-tooltip="true"
132
+      />
61 133
       <el-table-column label="案件状态" align="center" prop="caseStatusName">
62 134
         <template slot-scope="scope">
63 135
           <el-tag type="success">{{ scope.row.caseStatusName }}</el-tag>
64 136
         </template>
65 137
       </el-table-column>
66
-      <el-table-column label="操作" align="center" class-name="small-padding fixed-width">
138
+      <el-table-column
139
+        label="操作"
140
+        align="center"
141
+        class-name="small-padding fixed-width"
142
+      >
67 143
         <template slot-scope="scope">
68
-          <el-button size="mini" type="text" icon="el-icon-zoom-in" @click="detailRow(scope.row)"
69
-            v-hasPermi="['caseManagement:list:detail']">详情</el-button>
144
+          <el-button
145
+            size="mini"
146
+            type="text"
147
+            icon="el-icon-zoom-in"
148
+            @click="detailRow(scope.row)"
149
+            >详情</el-button
150
+          >
70 151
           <!-- 案件日志 -->
71
-          <el-button size="mini" type="text" icon="el-icon-notebook-2" @click="caselogRow(scope.row)"
72
-            v-hasPermi="['caseLog:list:detail']">案件日志</el-button>
73
-          <el-button size="mini" type="text" icon="el-icon-edit" @click="editRow(scope.row)"
74
-            v-if="scope.row.caseStatus == 0" v-hasPermi="['caseManagement:list:update']">修改</el-button>
75
-          <el-button size="mini" type="text" icon="el-icon-check" @click="onsubmitRow(scope.row)"
76
-            v-if="scope.row.caseStatus == 0" v-hasPermi="['caseManagement:list:submit']">提交</el-button>
77
-          <el-button size="mini" type="text" icon="el-icon-delete" @click="deleteRow(scope.row)"
78
-            v-if="scope.row.caseStatus == 0" v-hasPermi="['caseManagement:list:delete']">删除</el-button>
79
-          <el-button size="mini" type="text" icon="el-icon-view" @click="filingreviewRow(scope.row)"
80
-            v-if="scope.row.caseStatus == 1" v-hasPermi="['caseManagement:list:check']">立案审查</el-button>
81
-          <el-button size="mini" type="text" icon="el-icon-tickets" @click="payStatus(scope.row)"
82
-            v-if="scope.row.caseStatus == 2" v-hasPermi="['caseManagement:list:pay']">缴费</el-button>
152
+          <el-button
153
+            size="mini"
154
+            type="text"
155
+            icon="el-icon-notebook-2"
156
+            @click="caselogRow(scope.row)"
157
+            >案件日志</el-button
158
+          >
159
+          <el-button
160
+            size="mini"
161
+            type="text"
162
+            icon="el-icon-edit"
163
+            @click="editRow(scope.row)"
164
+            v-if="
165
+              scope.row.caseStatus == 0 &&
166
+              checkPermi(['caseManagement:list:update'])
167
+            "
168
+            >修改</el-button
169
+          >
170
+          <el-button
171
+            size="mini"
172
+            type="text"
173
+            icon="el-icon-check"
174
+            @click="onsubmitRow(scope.row)"
175
+            v-if="
176
+              scope.row.caseStatus == 0 &&
177
+              checkPermi(['caseManagement:list:submit'])
178
+            "
179
+            >提交</el-button
180
+          >
181
+          <el-button
182
+            size="mini"
183
+            type="text"
184
+            icon="el-icon-delete"
185
+            @click="deleteRow(scope.row)"
186
+            v-if="
187
+              scope.row.caseStatus == 0 &&
188
+              checkPermi(['caseManagement:list:delete'])
189
+            "
190
+            >删除</el-button
191
+          >
192
+          <el-button
193
+            size="mini"
194
+            type="text"
195
+            icon="el-icon-view"
196
+            @click="filingreviewRow(scope.row)"
197
+            v-if="
198
+              scope.row.caseStatus == 1 &&
199
+              checkPermi(['caseManagement:list:check'])
200
+            "
201
+            >立案审查</el-button
202
+          >
203
+          <!-- <el-button size="mini" type="text" icon="el-icon-tickets" @click="payStatus(scope.row)"
204
+            v-if="scope.row.caseStatus == 2" v-hasPermi="['caseManagement:list:pay']">缴费</el-button> -->
205
+          <el-button
206
+            size="mini"
207
+            type="text"
208
+            icon="el-icon-tickets"
209
+            @click="payStatus(scope.row)"
210
+            v-if="
211
+              scope.row.caseStatus == 2 &&
212
+              checkPermi(['caseManagement:list:pay'])
213
+            "
214
+            >缴费</el-button
215
+          >
83 216
 
84 217
           <!-- <el-button
85 218
             size="mini"
@@ -89,21 +222,75 @@
89 222
             v-hasPermi="['monitor:online:forceLogout']"
90 223
             >组庭</el-button
91 224
           > -->
92
-          <el-button size="mini" type="text" icon="el-icon-s-check" @click="courtconfirmationRow(scope.row)"
93
-            v-if="scope.row.caseStatus == 6" v-hasPermi="['caseManagement:list:confirmgroup']">组庭确认</el-button>
94
-          <el-button size="mini" type="text" icon="el-icon-check" @click="courtreviewRow(scope.row)"
95
-            v-if="scope.row.caseStatus == 5" v-hasPermi="['caseManagement:list:checkgroup']">组庭审核</el-button>
96
-          <el-button size="mini" type="text" icon="el-icon-sort" @click="choosetrialmethodRow(scope.row)"
97
-            v-if="scope.row.caseStatus == 7" v-hasPermi="['caseManagement:list:checkarbitrationway']">审核仲裁方式</el-button>
98
-          <el-button size="mini" type="text" icon="el-icon-edit-outline" @click="adjudicaterecordRow(scope.row)"
99
-            v-if="scope.row.caseStatus == 9 && scope.row.arbitratMethod == 2"
100
-            >书面审理</el-button>
101
-            <!-- v-hasPermi="['caseManagement:list:hear']" -->
102
-          <el-button size="mini" type="text" icon="el-icon-service" @click="trialcourtRow(scope.row)"
103
-            v-if="scope.row.caseStatus == 8 && scope.row.arbitratMethod == 1"
104
-            >开庭审理</el-button>
105
-          <el-button size="mini" type="text" icon="el-icon-document" @click="generateawardRow(scope.row)"
106
-            v-if="scope.row.caseStatus == 10" v-hasPermi="['caseManagement:list:createaward']">生成裁决书</el-button>
225
+          <el-button
226
+            size="mini"
227
+            type="text"
228
+            icon="el-icon-s-check"
229
+            @click="courtconfirmationRow(scope.row)"
230
+            v-if="
231
+              scope.row.caseStatus == 6 &&
232
+              checkPermi(['caseManagement:list:confirmgroup'])
233
+            "
234
+            >组庭确认</el-button
235
+          >
236
+          <el-button
237
+            size="mini"
238
+            type="text"
239
+            icon="el-icon-check"
240
+            @click="courtreviewRow(scope.row)"
241
+            v-if="
242
+              scope.row.caseStatus == 5 &&
243
+              checkPermi(['caseManagement:list:checkgroup'])
244
+            "
245
+            >组庭审核</el-button
246
+          >
247
+          <el-button
248
+            size="mini"
249
+            type="text"
250
+            icon="el-icon-sort"
251
+            @click="choosetrialmethodRow(scope.row)"
252
+            v-if="
253
+              scope.row.caseStatus == 7 &&
254
+              checkPermi(['caseManagement:list:checkarbitrationway'])
255
+            "
256
+            >审核仲裁方式</el-button
257
+          >
258
+          <el-button
259
+            size="mini"
260
+            type="text"
261
+            icon="el-icon-edit-outline"
262
+            @click="adjudicaterecordRow(scope.row)"
263
+            v-if="
264
+              scope.row.caseStatus == 9 &&
265
+              scope.row.arbitratMethod == 2 &&
266
+              checkPermi(['caseManagement:list:hear'])
267
+            "
268
+            >书面审理</el-button
269
+          >
270
+          <!-- v-hasPermi="['caseManagement:list:hear']" -->
271
+          <el-button
272
+            size="mini"
273
+            type="text"
274
+            icon="el-icon-service"
275
+            @click="trialcourtRow(scope.row)"
276
+            v-if="
277
+              scope.row.caseStatus == 8 &&
278
+              scope.row.arbitratMethod == 1 &&
279
+              checkPermi(['caseManagement:list:hear'])
280
+            "
281
+            >开庭审理</el-button
282
+          >
283
+          <el-button
284
+            size="mini"
285
+            type="text"
286
+            icon="el-icon-document"
287
+            @click="generateawardRow(scope.row)"
288
+            v-if="
289
+              scope.row.caseStatus == 10 &&
290
+              checkPermi(['caseManagement:list:createaward'])
291
+            "
292
+            >生成裁决书</el-button
293
+          >
107 294
           <!-- <el-button
108 295
             size="mini"
109 296
             type="text"
@@ -116,44 +303,105 @@
116 303
         </template>
117 304
       </el-table-column>
118 305
     </el-table>
119
-    <pagination v-show="total > 0" :total="total" :page.sync="queryParams.pageNum" :limit.sync="queryParams.pageSize"
120
-      @pagination="getcaseApply(queryParams)" />
306
+    <pagination
307
+      v-show="total > 0"
308
+      :total="total"
309
+      :page.sync="queryParams.pageNum"
310
+      :limit.sync="queryParams.pageSize"
311
+      @pagination="getcaseApply(queryParams)"
312
+    />
121 313
 
122 314
     <!-- 立案申请弹框 -->
123
-    <caseentryDialog :visible="visible" @cancel="cancel" :form="form" :queryParams="queryParams"
124
-      :dialogtitle="dialogtitle" :getcaseApply="getcaseApply" :flag="flag" :caseAttachList="caseAttachList"
125
-      :initpaymentArr="initpaymentArr" :initpaymentArr1="initpaymentArr1"></caseentryDialog>
315
+    <caseentryDialog
316
+      :visible="visible"
317
+      @cancel="cancel"
318
+      :form="form"
319
+      :queryParams="queryParams"
320
+      :dialogtitle="dialogtitle"
321
+      :getcaseApply="getcaseApply"
322
+      :flag="flag"
323
+      :caseAttachList="caseAttachList"
324
+      :initpaymentArr="initpaymentArr"
325
+      :initpaymentArr1="initpaymentArr1"
326
+    ></caseentryDialog>
126 327
     <!-- 批量申请弹框 openbatch-->
127
-    <batchDialog :openbatch="openbatch" :queryParams="queryParams" @cancelBatch="cancelBatch"
128
-      :getcaseApply="getcaseApply"></batchDialog>
328
+    <batchDialog
329
+      :openbatch="openbatch"
330
+      :queryParams="queryParams"
331
+      @cancelBatch="cancelBatch"
332
+      :getcaseApply="getcaseApply"
333
+    ></batchDialog>
129 334
     <!-- 立案审查页面 -->
130
-    <filingreviewDialog :showfilingreview="showfilingreview" :filingreviewdata="filingreviewdata"
131
-      :queryParams="queryParams" @getcaseApply="getcaseApply" @cancelFilingreview="cancelFilingreview">
335
+    <filingreviewDialog
336
+      :showfilingreview="showfilingreview"
337
+      :filingreviewdata="filingreviewdata"
338
+      :queryParams="queryParams"
339
+      @getcaseApply="getcaseApply"
340
+      @cancelFilingreview="cancelFilingreview"
341
+    >
132 342
     </filingreviewDialog>
133 343
     <!-- 组庭页面---改为组庭审核 -->
134
-    <formateCourtDialog :showformateCourt="showformateCourt" @cancelcourtDialog="cancelcourtDialog"
135
-      :queryParams="queryParams" :formateCourtData="formateCourtData" @getcaseApply="getcaseApply"></formateCourtDialog>
344
+    <formateCourtDialog
345
+      :showformateCourt="showformateCourt"
346
+      @cancelcourtDialog="cancelcourtDialog"
347
+      :queryParams="queryParams"
348
+      :formateCourtData="formateCourtData"
349
+      @getcaseApply="getcaseApply"
350
+    ></formateCourtDialog>
136 351
     <!-- 组庭审核--改组庭确认 -->
137
-    <courtReviewDialog :showcourtReview="showcourtReview" :form="form" :queryParams="queryParams"
138
-      @cancelcourtReview="cancelcourtReview" @getcaseApply="getcaseApply"></courtReviewDialog>
352
+    <courtReviewDialog
353
+      :showcourtReview="showcourtReview"
354
+      :form="form"
355
+      :queryParams="queryParams"
356
+      @cancelcourtReview="cancelcourtReview"
357
+      @getcaseApply="getcaseApply"
358
+    ></courtReviewDialog>
139 359
     <!-- 审核仲裁方式 -->
140
-    <choosetrialmethodDaiog :showchoosetrialmethod="showchoosetrialmethod" :choosetrialmethodata="choosetrialmethodata"
141
-      :queryParams="queryParams" @getcaseApply="getcaseApply" @cancelshowchoosetrialMethod="cancelshowchoosetrialMethod">
360
+    <choosetrialmethodDaiog
361
+      :showchoosetrialmethod="showchoosetrialmethod"
362
+      :choosetrialmethodata="choosetrialmethodata"
363
+      :queryParams="queryParams"
364
+      @getcaseApply="getcaseApply"
365
+      @cancelshowchoosetrialMethod="cancelshowchoosetrialMethod"
366
+    >
142 367
     </choosetrialmethodDaiog>
143 368
     <!-- 书面审理 -->
144
-    <adjudicaterecordDialog :showadjudicaterecord="showadjudicaterecord" :form="form" :adjudicatename="adjudicatename"
145
-      :queryParams="queryParams" @canceladjudicaterecord="canceladjudicaterecord" @getcaseApply="getcaseApply">
369
+    <adjudicaterecordDialog
370
+      :showadjudicaterecord="showadjudicaterecord"
371
+      :form="form"
372
+      :adjudicatename="adjudicatename"
373
+      :queryParams="queryParams"
374
+      @canceladjudicaterecord="canceladjudicaterecord"
375
+      @getcaseApply="getcaseApply"
376
+    >
146 377
     </adjudicaterecordDialog>
147 378
     <!-- 开庭审理 -->
148
-    <trialincourtDialog :showtrialincourt="showtrialincourt" :adjudicatename="adjudicatename" :form="form"
149
-      :queryParams="queryParams" @getcaseApply="getcaseApply" @canceltrialincourt="canceltrialincourt">
379
+    <trialincourtDialog
380
+      :showtrialincourt="showtrialincourt"
381
+      :adjudicatename="adjudicatename"
382
+      :form="form"
383
+      :queryParams="queryParams"
384
+      @getcaseApply="getcaseApply"
385
+      @canceltrialincourt="canceltrialincourt"
386
+    >
150 387
     </trialincourtDialog>
151 388
     <!-- 缴费 -->
152
-    <payDialog :openPay="openPay" :payTitle="payTitle" :form="form" :payForm="payForm" :queryParams="queryParams"
153
-      @getcaseApply="getcaseApply" @paycancelRow="paycancelRow"></payDialog>
389
+    <payDialog
390
+      :openPay="openPay"
391
+      :payTitle="payTitle"
392
+      :form="form"
393
+      :payForm="payForm"
394
+      :queryParams="queryParams"
395
+      @getcaseApply="getcaseApply"
396
+      @paycancelRow="paycancelRow"
397
+    ></payDialog>
154 398
     <!-- 案件日志 -->
155
-    <caselogDialog :showcaseLog="showcaseLog" @cancelcaseLog="cancelcaseLog" :flagLoading="flagLoading"
156
-      :caselogDataArr="caselogDataArr"></caselogDialog>
399
+    <caselogDialog
400
+      :showcaseLog="showcaseLog"
401
+      @cancelcaseLog="cancelcaseLog"
402
+      :flagLoading="flagLoading"
403
+      :caselogDataArr="caselogDataArr"
404
+    ></caselogDialog>
157 405
   </div>
158 406
 </template>
159 407
 
@@ -167,7 +415,7 @@ import adjudicaterecordDialog from "./components/adjudicaterecordDialog.vue";
167 415
 import trialincourtDialog from "./components/trialincourtDialog.vue";
168 416
 import payDialog from "./components/payDialog.vue";
169 417
 import filingreviewDialog from "./components/filingreviewDialog.vue";
170
-import caselogDialog from './components/caselogDialog.vue';
418
+import caselogDialog from "./components/caselogDialog.vue";
171 419
 
172 420
 import { caseApplicationDetail } from "@/api/pay/pay";
173 421
 import {
@@ -177,7 +425,10 @@ import {
177 425
   selectCaseApply,
178 426
 } from "@/api/caseAccess/caseEntry";
179 427
 import { listDept } from "@/api/system/dept";
180
-import { document, caseLogRecordList } from "@/api/caseManagement/caseManagement";
428
+import {
429
+  document,
430
+  caseLogRecordList,
431
+} from "@/api/caseManagement/caseManagement";
181 432
 
182 433
 export default {
183 434
   name: "caseList",
@@ -192,7 +443,7 @@ export default {
192 443
     trialincourtDialog,
193 444
     payDialog,
194 445
     filingreviewDialog,
195
-    caselogDialog
446
+    caselogDialog,
196 447
   },
197 448
   data() {
198 449
     return {
@@ -211,7 +462,7 @@ export default {
211 462
         // hearDate: "",
212 463
         caseStatus: null,
213 464
         applicantName: "",
214
-        nameId: '',
465
+        nameId: "",
215 466
         pageNum: 1,
216 467
         pageSize: 10,
217 468
       },
@@ -242,12 +493,12 @@ export default {
242 493
       showcaseLog: false, //案件日志弹框显示
243 494
       flagLoading: true, //案件日志弹框loading
244 495
       caselogDataArr: [],
245
-      options:[]//机构数据
496
+      options: [], //机构数据
246 497
     };
247 498
   },
248 499
   created() {
249 500
     this.getcaseApply(this.queryParams);
250
-    this.getInstitution()
501
+    this.getInstitution();
251 502
   },
252 503
   methods: {
253 504
     cancel() {
@@ -257,18 +508,18 @@ export default {
257 508
       this.openbatch = false;
258 509
     },
259 510
     // 机构发生变化
260
-    changeDept(data){
261
-      this.queryParams.nameId = data[0]
511
+    changeDept(data) {
512
+      this.queryParams.nameId = data[0];
262 513
     },
263 514
     // 获取机构数据
264
-    getInstitution(){
265
-      listDept().then(res=>{
266
-        res.data.forEach(item=>{
515
+    getInstitution() {
516
+      listDept().then((res) => {
517
+        res.data.forEach((item) => {
267 518
           item.value = item.deptId;
268
-          item.label = item.deptName
269
-        })
519
+          item.label = item.deptName;
520
+        });
270 521
         this.options = this.handleTree(res.data, "deptId");
271
-      })
522
+      });
272 523
     },
273 524
     /** 查询列表 */
274 525
     getcaseApply(val) {
@@ -297,9 +548,9 @@ export default {
297 548
     resetQuery() {
298 549
       this.resetForm("queryForm");
299 550
       (this.queryParams.caseStatusList = [0, 1, 2, 5, 6, 7, 8, 9, 10]),
300
-      this.queryParams.applicantName = '',
301
-      this.queryParams.nameId = '',
302
-      this.getcaseApply(this.queryParams);
551
+        (this.queryParams.applicantName = ""),
552
+        (this.queryParams.nameId = ""),
553
+        this.getcaseApply(this.queryParams);
303 554
     },
304 555
     // 案件录入
305 556
     filingApplication() {
@@ -352,18 +603,18 @@ export default {
352 603
     // 案件日志
353 604
     caselogRow(row) {
354 605
       this.showcaseLog = true;
355
-      this.caseLogRecordListFn(row)
606
+      this.caseLogRecordListFn(row);
356 607
     },
357 608
     // 查询案件日志信息
358 609
     caseLogRecordListFn(val) {
359 610
       this.flagLoading = true;
360 611
       let params = {
361
-        caseAppliId: val.id
362
-      }
612
+        caseAppliId: val.id,
613
+      };
363 614
       caseLogRecordList(params).then((res) => {
364
-        this.caselogDataArr = res.rows
615
+        this.caselogDataArr = res.rows;
365 616
         this.flagLoading = false;
366
-      })
617
+      });
367 618
     },
368 619
     // 关闭案件日志
369 620
     cancelcaseLog() {
@@ -388,7 +639,7 @@ export default {
388 639
           this.getcaseApply(this.queryParams);
389 640
           this.$modal.msgSuccess("立案申请成功");
390 641
         })
391
-        .catch(() => { });
642
+        .catch(() => {});
392 643
     },
393 644
     // 立案审查
394 645
     filingreviewRow(row) {
@@ -489,7 +740,7 @@ export default {
489 740
             this.$modal.msgSuccess("裁决书生成成功");
490 741
           }
491 742
         })
492
-        .catch(() => { });
743
+        .catch(() => {});
493 744
     },
494 745
     // 归档
495 746
     fileRow(row) {
@@ -506,7 +757,7 @@ export default {
506 757
           respondentName: res.data.respondentName,
507 758
           feePayable: res.data.feePayable,
508 759
           hearDate: res.data.hearDate,
509
-          arbitratorName: res.data.arbitratorName
760
+          arbitratorName: res.data.arbitratorName,
510 761
         };
511 762
         this.initpaymentArr = [];
512 763
         this.initpaymentArr1 = [];
@@ -517,7 +768,7 @@ export default {
517 768
             this.initpaymentArr1.push(item);
518 769
           }
519 770
         });
520
-        this.caseAttachList = res.data.caseAttachList
771
+        this.caseAttachList = res.data.caseAttachList;
521 772
       });
522 773
     },
523 774
     // 删除
@@ -532,12 +783,13 @@ export default {
532 783
           this.getcaseApply(this.queryParams);
533 784
           this.$modal.msgSuccess("删除成功");
534 785
         })
535
-        .catch(() => { });
786
+        .catch(() => {});
536 787
     },
537 788
   },
538 789
 };
539 790
 </script>
540 791
 
541 792
 <style lang="scss" scoped>
542
-#formContainer {}
793
+#formContainer {
794
+}
543 795
 </style>

+ 2
- 2
vue.config.js Просмотреть файл

@@ -11,8 +11,8 @@ const name = process.env.VUE_APP_TITLE || '智慧仲裁管理系统' // 网页
11 11
 
12 12
 const port = process.env.port || process.env.npm_config_port || 80 // 端口
13 13
 
14
-// const API = 'http://121.40.189.20:9001'  //测试
15
-const API = 'http://192.168.3.18:9001'  //B
14
+const API = 'http://121.40.189.20:9001'  //测试
15
+// const API = 'http://192.168.3.18:9001'  //B
16 16
 // const API = 'http://192.168.3.77:8080' //Q
17 17
 
18 18
 // vue.config.js 配置说明