Bläddra i källkod

批量接口联调,用印,签名

gyj 2 år sedan
förälder
incheckning
80a02cce05

+ 40
- 0
src/api/batchManagement/batchManagement.js Visa fil

103
       method: 'post',
103
       method: 'post',
104
       data: data
104
       data: data
105
   })
105
   })
106
+}
107
+//批量书面审理
108
+export function writtenHearBatch(data) {
109
+  return request({
110
+      url: '/arbitrate/writtenHearBatch',
111
+      method: 'post',
112
+      data: data
113
+  })
114
+}
115
+// 根据批号批量签名
116
+export function getSignUrlBatch(data) {
117
+  return request({
118
+      url: '/adjudication/getSignUrlBatch',
119
+      method: 'post',
120
+      data: data
121
+  })
122
+}
123
+//根据批号批量用印
124
+export function getSealUrlBatch(data) {
125
+  return request({
126
+      url: '/adjudication/getSealUrlBatch',
127
+      method: 'post',
128
+      data: data
129
+  })
130
+}
131
+//批量归档
132
+export function caseFileBatch(data) {
133
+  return request({
134
+      url: '/adjudication/caseFileBatch',
135
+      method: 'post',
136
+      data: data
137
+  })
138
+}
139
+//仲裁文书送达
140
+export function serviceBatch(data) {
141
+  return request({
142
+      url: '/adjudication/serviceBatch',
143
+      method: 'post',
144
+      data: data
145
+  })
106
 }
146
 }

+ 3
- 3
src/views/awardManagement/components/batchPrintings.vue Visa fil

11
                         {
11
                         {
12
                         required: true,
12
                         required: true,
13
                         message: '查询机构不能为空',
13
                         message: '查询机构不能为空',
14
-                        trigger: 'blur',
14
+                        trigger: 'change',
15
                         },
15
                         },
16
                 ]"
16
                 ]"
17
                 >
17
                 >
25
                      v-for="item in atoDataList"
25
                      v-for="item in atoDataList"
26
                     :key="item.id"
26
                     :key="item.id"
27
                     :label="item.identifyName"
27
                     :label="item.identifyName"
28
-                    :value="item.operPhone"
28
+                    :value="item.operPhone+item.id"
29
                     ></el-option>
29
                     ></el-option>
30
                 </el-select>
30
                 </el-select>
31
                 </el-form-item>
31
                 </el-form-item>
132
         },
132
         },
133
         // 下拉获取电话号码
133
         // 下拉获取电话号码
134
         changeArbitor(val){
134
         changeArbitor(val){
135
-            this.paramsdata.psnAccount = val
135
+            this.paramsdata.psnAccount = val.slice(0,11)
136
         },
136
         },
137
         // 确认用印
137
         // 确认用印
138
         confirmSeals(){
138
         confirmSeals(){

+ 3
- 3
src/views/awardManagement/components/batchSignatures.vue Visa fil

10
                         {
10
                         {
11
                         required: true,
11
                         required: true,
12
                         message: '仲裁员不能为空',
12
                         message: '仲裁员不能为空',
13
-                        trigger: 'blur',
13
+                        trigger: 'change',
14
                         },
14
                         },
15
                 ]"
15
                 ]"
16
                 >
16
                 >
24
                     v-for="item in atoDataList"
24
                     v-for="item in atoDataList"
25
                     :key="item.value"
25
                     :key="item.value"
26
                     :label="item.nickName"
26
                     :label="item.nickName"
27
-                    :value="item.phonenumber"
27
+                    :value="item.phonenumber+item.userId"
28
                     ></el-option>
28
                     ></el-option>
29
                 </el-select>
29
                 </el-select>
30
                 </el-form-item>
30
                 </el-form-item>
136
       });
136
       });
137
     },
137
     },
138
      changeArbitor(val) {
138
      changeArbitor(val) {
139
-         this.paramsdata.psnAccount =val
139
+         this.paramsdata.psnAccount = val.slice(0,11)
140
    
140
    
141
     },
141
     },
142
     // 确认签名
142
     // 确认签名

+ 64
- 22
src/views/batchManagement/batchManagList.vue Visa fil

1
 <template>
1
 <template>
2
     <div class="app-container">
2
     <div class="app-container">
3
             <el-form :model="queryParams" ref="queryForm" size="small" :inline="true" label-width="70px">
3
             <el-form :model="queryParams" ref="queryForm" size="small" :inline="true" label-width="70px">
4
-            <el-form-item label="批号:" prop="deptNameFirchar">
5
-                <el-input v-model="queryParams.deptNameFirchar" placeholder="请输入批号" clearable @keyup.enter.native="handleQuery" />
6
-            </el-form-item>
7
-            <el-form-item label="申请人:" prop="deptNameFirchar">
8
-                <el-input v-model="queryParams.deptNameFirchar" placeholder="请输入申请人" clearable @keyup.enter.native="handleQuery" />
4
+            <el-form-item label="批号:" prop="batchNumber">
5
+                <el-input v-model="queryParams.batchNumber" placeholder="请输入批号" clearable @keyup.enter.native="handleQuery" />
9
             </el-form-item>
6
             </el-form-item>
7
+             <el-form-item label="申请人" prop="applicantName">
8
+            <el-cascader v-model="queryParams.nameId" :options="options" @change="changeDept" :props="{ checkStrictly: true }"
9
+          clearable></el-cascader>
10
+      </el-form-item>
10
             <el-form-item>
11
             <el-form-item>
11
                 <el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
12
                 <el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
12
                 <el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
13
                 <el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
21
                 </template>
22
                 </template>
22
             </el-table-column>
23
             </el-table-column>
23
             <el-table-column label="批号" align="center" prop="batchNumber" :show-overflow-tooltip="true" />
24
             <el-table-column label="批号" align="center" prop="batchNumber" :show-overflow-tooltip="true" />
24
-            <el-table-column label="申请人" align="center" prop="name" :show-overflow-tooltip="true" />
25
+            <el-table-column label="申请人" align="center" prop="applicantName" :show-overflow-tooltip="true" />
25
             <el-table-column label="仲裁方式" align="center" prop="arbitratMethodName" :show-overflow-tooltip="true" />
26
             <el-table-column label="仲裁方式" align="center" prop="arbitratMethodName" :show-overflow-tooltip="true" />
26
             <el-table-column label="仲裁员" align="center" prop="arbitratorName" :show-overflow-tooltip="true" />
27
             <el-table-column label="仲裁员" align="center" prop="arbitratorName" :show-overflow-tooltip="true" />
27
             <el-table-column label="案件状态" align="center" prop="caseStatusName" :show-overflow-tooltip="true">
28
             <el-table-column label="案件状态" align="center" prop="caseStatusName" :show-overflow-tooltip="true">
45
                     <el-button size="mini" type="text" @click="departmentDocuments(scope.row)">部门长审核仲裁文书</el-button>
46
                     <el-button size="mini" type="text" @click="departmentDocuments(scope.row)">部门长审核仲裁文书</el-button>
46
                     <el-button size="mini" type="text" @click="batchSignatures(scope.row)">签名</el-button>
47
                     <el-button size="mini" type="text" @click="batchSignatures(scope.row)">签名</el-button>
47
                     <el-button size="mini" type="text" @click="batchPrintings(scope.row)">用印</el-button>
48
                     <el-button size="mini" type="text" @click="batchPrintings(scope.row)">用印</el-button>
48
-                    <el-button size="mini" type="text" @click="arbitrationAward(scope.row)">生成裁决书</el-button>
49
+                    <!-- <el-button size="mini" type="text" @click="arbitrationAward(scope.row)">生成裁决书</el-button> -->
49
                     <el-button size="mini" type="text" @click="servicearBitration(scope.row)">仲裁文书送达</el-button>
50
                     <el-button size="mini" type="text" @click="servicearBitration(scope.row)">仲裁文书送达</el-button>
50
                     <el-button size="mini" type="text" @click="archive(scope.row)">归档</el-button>
51
                     <el-button size="mini" type="text" @click="archive(scope.row)">归档</el-button>
51
                 </template>
52
                 </template>
67
         <!-- 审核仲裁方式 -->
68
         <!-- 审核仲裁方式 -->
68
         <reviewArbitrationMethod :caseVisableReviewl="caseVisableReviewl" @cancelCaseReviewl="cancelCaseReviewl" :queryParams="queryParams" @getList="getList" :reviewMethod="reviewMethod"></reviewArbitrationMethod>
69
         <reviewArbitrationMethod :caseVisableReviewl="caseVisableReviewl" @cancelCaseReviewl="cancelCaseReviewl" :queryParams="queryParams" @getList="getList" :reviewMethod="reviewMethod"></reviewArbitrationMethod>
69
         <!-- 签名 -->
70
         <!-- 签名 -->
70
-        <batchSignature :caseVisableSignature="caseVisableSignature" @cancelCaseSignature="cancelCaseSignature" :queryParams="queryParams" @getList="getList"></batchSignature>
71
+        <batchSignature :caseVisableSignature="caseVisableSignature" @cancelCaseSignature="cancelCaseSignature" :queryParams="queryParams" @getList="getList" :signatureData="signatureData"></batchSignature>
71
         <!-- 用印 -->
72
         <!-- 用印 -->
72
-        <batchPrinting :caseVisablePrinting="caseVisablePrinting" @cancelCasePrinting="cancelCasePrinting" :queryParams="queryParams" @getList="getList"></batchPrinting>
73
+        <batchPrinting :caseVisablePrinting="caseVisablePrinting" @cancelCasePrinting="cancelCasePrinting" :queryParams="queryParams" @getList="getList" :printingData="printingData"></batchPrinting>
73
         <!-- 立案审查 -->
74
         <!-- 立案审查 -->
74
         <filingReview :caseVisableReviewF="caseVisableReviewF" @cancelCaseReviewF="cancelCaseReviewF" :filingFeviewbatchNumber="filingFeviewbatchNumber" :queryParams="queryParams" @getList="getList"></filingReview>
75
         <filingReview :caseVisableReviewF="caseVisableReviewF" @cancelCaseReviewF="cancelCaseReviewF" :filingFeviewbatchNumber="filingFeviewbatchNumber" :queryParams="queryParams" @getList="getList"></filingReview>
75
         <!-- 秘书审核仲裁文书 -->
76
         <!-- 秘书审核仲裁文书 -->
82
 </template>
83
 </template>
83
   
84
   
84
 <script>
85
 <script>
85
-import {listBatch,submitCaseApplicationBatch,payListBatch} from '@/api/batchManagement/batchManagement.js'
86
-import { caseApplicationDetail } from "@/api/pay/pay";
86
+import {listBatch,submitCaseApplicationBatch,payListBatch,batchWrittenReview,caseFileBatch,serviceBatch} from '@/api/batchManagement/batchManagement.js'
87
+import { listDept } from "@/api/system/dept";
87
 import batchPayment from './components/batchPayment.vue'
88
 import batchPayment from './components/batchPayment.vue'
88
 import paymentConfirmation from './components/paymentConfirmation.vue'
89
 import paymentConfirmation from './components/paymentConfirmation.vue'
89
 import courtReview from './components/courtReview.vue'
90
 import courtReview from './components/courtReview.vue'
133
             arbitratorDeter:{},//仲裁员确认
134
             arbitratorDeter:{},//仲裁员确认
134
             departmentDoc:{}, //部门长确认
135
             departmentDoc:{}, //部门长确认
135
             reviewMethod:{},//仲裁员审核仲裁方式
136
             reviewMethod:{},//仲裁员审核仲裁方式
137
+            signatureData:{},//签名批号
138
+            printingData:{},//批量用印批号
136
             caseVisablePay: false,//批量缴费弹窗
139
             caseVisablePay: false,//批量缴费弹窗
137
             caseVisablePayment:false,//批量缴费确认
140
             caseVisablePayment:false,//批量缴费确认
138
             caseVisableReview:false,//批量组庭审核
141
             caseVisableReview:false,//批量组庭审核
146
             caseVisablearBitration:false,//仲裁员核查文书
149
             caseVisablearBitration:false,//仲裁员核查文书
147
             caseVisablearHead:false,//部门长审核文书
150
             caseVisablearHead:false,//部门长审核文书
148
             dataList: [],
151
             dataList: [],
149
-            editData:{}
152
+            editData:{},
153
+            options: [], //机构数据
150
         };
154
         };
151
     },
155
     },
152
     created() {
156
     created() {
153
         this.getList(this.queryParams)
157
         this.getList(this.queryParams)
158
+        this.getInstitution();
154
     },
159
     },
155
     methods: {
160
     methods: {
156
             /** 搜索按钮操作 */
161
             /** 搜索按钮操作 */
161
             /** 重置按钮操作 */
166
             /** 重置按钮操作 */
162
         resetQuery() {
167
         resetQuery() {
163
         this.resetForm("queryForm");
168
         this.resetForm("queryForm");
169
+        (this.queryParams.applicantName = ""),
170
+        (this.queryParams.nameId = ""),
164
         this.handleQuery();
171
         this.handleQuery();
172
+        },
173
+           // 机构发生变化
174
+        changeDept(data) {
175
+        this.queryParams.nameId = data[0];
176
+        },
177
+        // 获取机构数据
178
+        getInstitution() {
179
+        listDept().then((res) => {
180
+                res.data.forEach((item) => {
181
+                item.value = item.deptId;
182
+                item.label = item.deptName;
183
+                });
184
+            this.options = this.handleTree(res.data, "deptId");
185
+        });
165
         },
186
         },
166
         // 查询列表
187
         // 查询列表
167
         getList(parm){
188
         getList(parm){
168
             this.loading = true;
189
             this.loading = true;
169
-            listBatch(parm).then(res=>{   
170
-                console.log(res)        
190
+            listBatch(parm).then(res=>{         
171
                 this.dataList = res.rows;
191
                 this.dataList = res.rows;
172
                 this.total = res.total
192
                 this.total = res.total
173
                 this.loading = false;
193
                 this.loading = false;
254
             this.caseVisableReviewl = false
274
             this.caseVisableReviewl = false
255
         },
275
         },
256
         // 批量书面审理
276
         // 批量书面审理
257
-        batchWrittenReview(){
277
+        batchWrittenReview(row){
258
            this.$modal.confirm("你确定要批量书面审理吗?").then((res) => {
278
            this.$modal.confirm("你确定要批量书面审理吗?").then((res) => {
259
-                    // this.deleteSealFn({ id: row.id })
279
+                    this.batchWrittenReviews({ batchNumber: row.batchNumber })
260
                 }).catch(() =>{
280
                 }).catch(() =>{
261
                     
281
                     
262
             }) 
282
             }) 
263
         },
283
         },
284
+        //批量书面审理接口
285
+        batchWrittenReviews(val){
286
+            batchWrittenReview(val).then(res=>{
287
+                this.$modal.msgSuccess("提交成功!");
288
+                this.getList(this.queryParams);
289
+            })
290
+        },
264
         // 批量归档
291
         // 批量归档
265
-        archive(){
292
+        archive(row){
266
             this.$modal.confirm("你确定要批量归档吗?").then((res) => {
293
             this.$modal.confirm("你确定要批量归档吗?").then((res) => {
267
-                    // this.deleteSealFn({ id: row.id })
294
+                     this.caseFileBatchs({ batchNumber: row.batchNumber})
268
                 }).catch(() =>{
295
                 }).catch(() =>{
269
                     
296
                     
270
             }) 
297
             }) 
271
         },
298
         },
299
+        // 批量归档接口
300
+        caseFileBatchs(vals){
301
+            caseFileBatch(vals).then(res=>{
302
+                this.$modal.msgSuccess("归档成功!");
303
+                this.getList(this.queryParams);
304
+            })
305
+        },
272
         // 批量签名
306
         // 批量签名
273
-        batchSignatures(){
307
+        batchSignatures(row){
308
+            this.signatureData = row
274
             this.caseVisableSignature = true
309
             this.caseVisableSignature = true
275
         },
310
         },
276
         cancelCaseSignature(){
311
         cancelCaseSignature(){
277
             this.caseVisableSignature = false
312
             this.caseVisableSignature = false
278
         },
313
         },
279
         // 批量签名
314
         // 批量签名
280
-        batchPrintings(){
315
+        batchPrintings(row){
316
+            this.printingData = row
281
             this.caseVisablePrinting = true
317
             this.caseVisablePrinting = true
282
         },
318
         },
283
         cancelCasePrinting(){
319
         cancelCasePrinting(){
292
             }) 
328
             }) 
293
         },
329
         },
294
         //仲裁文书送达
330
         //仲裁文书送达
295
-        servicearBitration(){
331
+        servicearBitration(row){
296
              this.$modal.confirm("你确定要批量仲裁文书批量送达吗?").then((res) => {
332
              this.$modal.confirm("你确定要批量仲裁文书批量送达吗?").then((res) => {
297
-                    // this.deleteSealFn({ id: row.id })
333
+                     this.serviceBatchs({ batchNumber: row.batchNumber})
298
                 }).catch(() =>{
334
                 }).catch(() =>{
299
                     
335
                     
300
             }) 
336
             }) 
301
         },
337
         },
338
+        serviceBatchs(val){
339
+            serviceBatch(val).then(res=>{
340
+                this.$modal.msgSuccess("批量送达成功!");
341
+                this.getList(this.queryParams);
342
+            })
343
+        },
302
         // 秘书审核仲裁文书
344
         // 秘书审核仲裁文书
303
         secretaryArbitration(row){
345
         secretaryArbitration(row){
304
             this.secretaryArb = row
346
             this.secretaryArb = row

+ 74
- 9
src/views/batchManagement/components/batchPrinting.vue Visa fil

1
 <template>
1
 <template>
2
     <div>
2
     <div>
3
         <!-- 批量用印 -->
3
         <!-- 批量用印 -->
4
-        <el-dialog title="批量用印" :visible="caseVisablePrinting" destroy-on-close width="30%"  @close="cancel" center>
4
+        <el-dialog title="批量用印" :visible="caseVisablePrinting" destroy-on-close width="30%"  @close="cancel('courtReviewform')" center>
5
+            <!-- 查询机构信息 -->
6
+            <el-form ref="courtReviewform" :model="courtReviewform">
7
+                <el-form-item
8
+                    label="查询机构:"
9
+                    prop="Arbitor"
10
+                    :rules="[
11
+                        {
12
+                        required: true,
13
+                        message: '查询机构不能为空',
14
+                        trigger: 'change',
15
+                        },
16
+                ]"
17
+                >
18
+                <el-select
19
+                    placeholder="请选择查询机构"
20
+                    @change="changeArbitor"
21
+                    v-model="courtReviewform.Arbitor"
22
+                    clearable
23
+                >
24
+                    <el-option
25
+                     v-for="item in atoDataList"
26
+                    :key="item.id"
27
+                    :label="item.identifyName"
28
+                    :value="item.operPhone+item.id"
29
+                    ></el-option>
30
+                </el-select>
31
+                </el-form-item>
32
+            </el-form>
5
             <div slot="footer" class="dialog-footer">
33
             <div slot="footer" class="dialog-footer">
6
-                <el-button type="primary"  class="endbutton"><span>确认</span></el-button>
7
-                <el-button  class="endbutton" @click="cancel"><span>取 消</span></el-button>
34
+                <el-button type="primary"  class="endbutton" @click="confirmSeals"><span>确认用印</span></el-button>
35
+                <el-button  class="endbutton" @click="cancel('courtReviewform')"><span>取 消</span></el-button>
8
             </div>
36
             </div>
9
         </el-dialog>
37
         </el-dialog>
10
     </div>
38
     </div>
11
 </template>
39
 </template>
12
 <script>
40
 <script>
41
+import {deptIdentifyList} from '@/api/officialSeal/officialSeal'
42
+import {getSealUrlBatch} from '@/api/batchManagement/batchManagement.js'
13
 export default {
43
 export default {
14
-    props: ["caseVisablePrinting","queryParams"],
44
+    props: ["caseVisablePrinting","queryParams","printingData"],
15
     dicts: ["manager_type"],
45
     dicts: ["manager_type"],
16
     data() {
46
     data() {
17
         return {
47
         return {
18
-           
48
+            atoDataList:[],
49
+            courtReviewform: {},
50
+            Arbitor: "",
51
+            paramsdata:{
52
+                batchNumber:0,
53
+                psnAccount:""
54
+            },
19
            
55
            
20
         };
56
         };
21
     },
57
     },
22
     watch: {
58
     watch: {
23
-        caseVisablePayment(val) {
59
+        caseVisablePrinting(val) {
24
             if (val) {
60
             if (val) {
25
-                this.ruleForm = {};
61
+                console.log(this.atoDataList)
26
             }
62
             }
27
         }
63
         }
28
     },
64
     },
29
     created() {
65
     created() {
30
-
66
+        this.getarbitrAtor()
31
     },
67
     },
32
     methods: {
68
     methods: {
33
-        cancel() {
69
+         // 查询机构信息
70
+        getarbitrAtor() {
71
+                this.atoDataList =[]
72
+                deptIdentifyList({}).then((res) => {
73
+                    this.atoDataList = res.rows;
74
+                });
75
+        },
76
+       // 下拉获取电话号码
77
+        changeArbitor(val){
78
+            this.paramsdata.psnAccount = val.slice(0,11)
79
+        },
80
+        // 确认用印
81
+        confirmSeals(){
82
+            this.$refs["courtReviewform"].validate((valid) => {
83
+                if(valid){
84
+                    this.paramsdata.batchNumber= this.printingData.batchNumber
85
+                    console.log(this.paramsdata)
86
+                    getSealUrlBatch(this.paramsdata).then(res=>{
87
+                            this.$modal.msgSuccess("确认成功");
88
+                            this.cancel();
89
+                            this.$emit("getList", this.queryParams);
90
+                            window.open(res.data.signUrl)
91
+                     }).catch((err) => {
92
+                         
93
+                     });
94
+                }
95
+            })
96
+        },
97
+        cancel(formName) {
98
+            this.$refs[formName].resetFields(); //清空下拉列表的内容
34
             this.$emit("cancelCasePrinting");
99
             this.$emit("cancelCasePrinting");
35
         },
100
         },
36
     },
101
     },

+ 75
- 10
src/views/batchManagement/components/batchSignature.vue Visa fil

1
 <template>
1
 <template>
2
     <div>
2
     <div>
3
         <!-- 批量签名 -->
3
         <!-- 批量签名 -->
4
-        <el-dialog title="批量签名" :visible="caseVisableSignature" destroy-on-close width="30%"  @close="cancel" center>
4
+        <el-dialog title="批量签名" :visible="caseVisableSignature" destroy-on-close width="30%"  @close="cancel('courtReviewform')" center>
5
+            <el-form ref="courtReviewform" :model="courtReviewform">
6
+                <el-form-item
7
+                    label="仲裁员:"
8
+                     prop="Arbitor"
9
+                    :rules="[
10
+                        {
11
+                        required: true,
12
+                        message: '仲裁员不能为空',
13
+                        trigger: 'change'
14
+                        },
15
+                ]"
16
+                >
17
+                <el-select
18
+                    placeholder="请选择仲裁员"
19
+                     @change="changeArbitor"
20
+                    v-model="courtReviewform.Arbitor"
21
+                    clearable
22
+                >
23
+                    <el-option
24
+                    v-for="item in atoDataList"
25
+                    :key="item.value"
26
+                    :label="item.nickName"
27
+                    :value="item.phonenumber+item.deptId"
28
+                    ></el-option>
29
+                </el-select>
30
+                </el-form-item>
31
+            </el-form>
5
             <div slot="footer" class="dialog-footer">
32
             <div slot="footer" class="dialog-footer">
6
-                <el-button type="primary"  class="endbutton"><span>确认</span></el-button>
7
-                <el-button  class="endbutton" @click="cancel"><span>取 消</span></el-button>
33
+                <el-button type="primary"  class="endbutton" @click="witnessing"><span>确认签名</span></el-button>
34
+                <el-button  class="endbutton" @click="cancel('courtReviewform')"><span>取 消</span></el-button>
8
             </div>
35
             </div>
9
         </el-dialog>
36
         </el-dialog>
10
     </div>
37
     </div>
11
 </template>
38
 </template>
12
 <script>
39
 <script>
40
+import { arbitrAtor} from "@/api/formationCourt/formationCourt";
41
+import {getSignUrlBatch} from '@/api/batchManagement/batchManagement.js'
13
 export default {
42
 export default {
14
-    props: ["caseVisableSignature","queryParams"],
43
+    props: ["caseVisableSignature","queryParams","signatureData"],
15
     dicts: ["manager_type"],
44
     dicts: ["manager_type"],
16
     data() {
45
     data() {
17
         return {
46
         return {
18
-           
19
-           
47
+          courtReviewform: {
48
+            Arbitor: "",     
49
+          }, 
50
+          Arbitor: "", 
51
+          atoDataList:[],
52
+          paramsdata:{
53
+             batchNumber:0,
54
+             psnAccount:""
55
+            },
20
         };
56
         };
21
     },
57
     },
22
     watch: {
58
     watch: {
23
-        caseVisablePayment(val) {
59
+        caseVisableSignature(val) {
24
             if (val) {
60
             if (val) {
25
-                this.ruleForm = {};
61
+                
62
+                console.log(this.atoDataList)
26
             }
63
             }
27
         }
64
         }
28
     },
65
     },
29
     created() {
66
     created() {
30
-
67
+        this.getarbitrAtor()
31
     },
68
     },
32
     methods: {
69
     methods: {
33
-        cancel() {
70
+        // 获取仲裁员信息
71
+        getarbitrAtor() {
72
+            arbitrAtor({}).then((res) => {
73
+                this.atoDataList = res.rows;
74
+            });
75
+        },
76
+        changeArbitor(val) {
77
+            this.paramsdata.psnAccount =val.slice(0,11)
78
+    
79
+        },
80
+        // 确认签名提交
81
+        witnessing(){
82
+             this.$refs["courtReviewform"].validate((valid) => {
83
+                 if(valid){
84
+                    this.paramsdata.batchNumber= this.signatureData.batchNumber
85
+                    console.log(this.paramsdata)
86
+                     getSignUrlBatch(this.paramsdata).then(res=>{
87
+                            this.$modal.msgSuccess("确认成功");
88
+                            this.cancel();
89
+                            this.$emit("getList", this.queryParams);
90
+                            window.open(res.data.signUrl)
91
+                     }).catch((err) => {
92
+                         
93
+                     });
94
+                 }
95
+             })
96
+        },
97
+        cancel(formName) {
98
+            this.$refs[formName].resetFields();
34
             this.$emit("cancelCaseSignature");
99
             this.$emit("cancelCaseSignature");
35
         },
100
         },
36
     },
101
     },

+ 1
- 0
src/views/caseManagement/caseList.vue Visa fil

425
       if (params >= 0) {
425
       if (params >= 0) {
426
         this.queryParams.caseStatus = params;
426
         this.queryParams.caseStatus = params;
427
       }
427
       }
428
+      // console.log(this.$route.params.batchNumber)
428
       this.getcaseApply(this.queryParams);
429
       this.getcaseApply(this.queryParams);
429
     })
430
     })
430
     // this.getcaseApply(this.queryParams);
431
     // this.getcaseApply(this.queryParams);

+ 1
- 1
src/views/caseManagement/components/caseentryDialog.vue Visa fil

111
             <el-form-item label="申请人案件证据资料上传:" prop="applicantEvidence" v-if="flag !== '0'">
111
             <el-form-item label="申请人案件证据资料上传:" prop="applicantEvidence" v-if="flag !== '0'">
112
               <el-upload class="upload-demo" ref="fileupload" accept=".png,.jpg,.doc,.docx,.txt,.pdf"
112
               <el-upload class="upload-demo" ref="fileupload" accept=".png,.jpg,.doc,.docx,.txt,.pdf"
113
                 :action="UploadUrl()" :on-success="handlSuccess" :on-remove="handleRemove" :on-preview="handlePreview"
113
                 :action="UploadUrl()" :on-success="handlSuccess" :on-remove="handleRemove" :on-preview="handlePreview"
114
-                :before-remove="beforeRemove" :data="filedata" :headers="headers" multiple :limit="3"
114
+                :before-remove="beforeRemove" :data="filedata" :headers="headers" multiple :limit="50"
115
                 :on-exceed="handleExceed" :file-list="fileList">
115
                 :on-exceed="handleExceed" :file-list="fileList">
116
                 <el-button size="small" type="primary">点击上传</el-button>
116
                 <el-button size="small" type="primary">点击上传</el-button>
117
                 <div slot="tip" class="el-upload__tip">
117
                 <div slot="tip" class="el-upload__tip">