Browse Source

批量测试修改

gyj 2 years ago
parent
commit
b6a782e1df

+ 20
- 5
src/views/batchManagement/batchManagList.vue View File

40
                     <el-button size="mini" type="text" icon="el-icon-check" @click="courtReviews(scope.row)" v-if="scope.row.caseStatusstr == '5' && checkPermi(['batchManagement:list:checkgroup'])">组庭审核</el-button>
40
                     <el-button size="mini" type="text" icon="el-icon-check" @click="courtReviews(scope.row)" v-if="scope.row.caseStatusstr == '5' && checkPermi(['batchManagement:list:checkgroup'])">组庭审核</el-button>
41
                     <el-button size="mini" type="text" icon="el-icon-sort" @click="courtConfirmations(scope.row)" v-if="scope.row.caseStatusstr == '6' && checkPermi(['batchManagement:list:confirmgroup'])">组庭确认</el-button>
41
                     <el-button size="mini" type="text" icon="el-icon-sort" @click="courtConfirmations(scope.row)" v-if="scope.row.caseStatusstr == '6' && checkPermi(['batchManagement:list:confirmgroup'])">组庭确认</el-button>
42
                     <el-button size="mini" type="text" @click="reviewArbitrations(scope.row)" v-if="scope.row.caseStatusstr == '7' && checkPermi(['batchManagement:list:checkarbitrationway'])">审核仲裁方式</el-button>
42
                     <el-button size="mini" type="text" @click="reviewArbitrations(scope.row)" v-if="scope.row.caseStatusstr == '7' && checkPermi(['batchManagement:list:checkarbitrationway'])">审核仲裁方式</el-button>
43
-                    <!-- <el-button size="mini" type="text" @click="batchWrittenReviewy(scope.row)" v-if="scope.row.caseStatusstr == '9' && checkPermi(['batchManagement:list:hear'])">书面审理</el-button> -->
44
-                    <el-button size="mini" type="text" @click="batchWrittenReviewy(scope.row)">书面审理</el-button>
43
+                    <el-button size="mini" type="text" @click="batchWrittenReviewy(scope.row)" v-if="scope.row.caseStatusstr == '9' && checkPermi(['batchManagement:list:hear'])">书面审理</el-button>
44
+                    <!-- <el-button size="mini" type="text" @click="batchWrittenReviewy(scope.row)">书面审理</el-button> -->
45
                     <el-button size="mini" type="text" @click="secretaryArbitration(scope.row)" v-if="scope.row.caseStatusstr == '11' && checkPermi(['batchManagement:list:secretarycheck'])">秘书确认</el-button>
45
                     <el-button size="mini" type="text" @click="secretaryArbitration(scope.row)" v-if="scope.row.caseStatusstr == '11' && checkPermi(['batchManagement:list:secretarycheck'])">秘书确认</el-button>
46
                     <el-button size="mini" type="text" @click="arbitratorsVerify(scope.row)" v-if="scope.row.caseStatusstr == '18' && checkPermi(['batchManagement:list:arbitratorConfirm'])">仲裁员确认</el-button>
46
                     <el-button size="mini" type="text" @click="arbitratorsVerify(scope.row)" v-if="scope.row.caseStatusstr == '18' && checkPermi(['batchManagement:list:arbitratorConfirm'])">仲裁员确认</el-button>
47
                     <el-button size="mini" type="text" @click="departmentDocuments(scope.row)" v-if="scope.row.caseStatusstr == '12' && checkPermi(['batchManagement:list:confirmaward'])">部门长确认</el-button>
47
                     <el-button size="mini" type="text" @click="departmentDocuments(scope.row)" v-if="scope.row.caseStatusstr == '12' && checkPermi(['batchManagement:list:confirmaward'])">部门长确认</el-button>
48
                     <el-button size="mini" type="text" @click="batchSignatures(scope.row)" v-if="scope.row.caseStatusstr == '13' && checkPermi(['batchManagement:list:sign'])">签名</el-button>
48
                     <el-button size="mini" type="text" @click="batchSignatures(scope.row)" v-if="scope.row.caseStatusstr == '13' && checkPermi(['batchManagement:list:sign'])">签名</el-button>
49
                     <el-button size="mini" type="text" @click="batchPrintings(scope.row)" v-if="scope.row.caseStatusstr == '14' && checkPermi(['batchManagement:list:signprint'])">用印</el-button>
49
                     <el-button size="mini" type="text" @click="batchPrintings(scope.row)" v-if="scope.row.caseStatusstr == '14' && checkPermi(['batchManagement:list:signprint'])">用印</el-button>
50
-                    <!-- <el-button size="mini" type="text" @click="arbitrationAward(scope.row)">生成裁决书</el-button> -->
51
                     <el-button size="mini" type="text" @click="servicearBitration(scope.row)" v-if="scope.row.caseStatusstr == '15' && checkPermi(['batchManagement:list:sendaward'])">送达裁决书</el-button>
50
                     <el-button size="mini" type="text" @click="servicearBitration(scope.row)" v-if="scope.row.caseStatusstr == '15' && checkPermi(['batchManagement:list:sendaward'])">送达裁决书</el-button>
52
                     <el-button size="mini" type="text" @click="archive(scope.row)" v-if="scope.row.caseStatusstr == '16' && checkPermi(['batchManagement:list:file'])">案件归档</el-button>
51
                     <el-button size="mini" type="text" @click="archive(scope.row)" v-if="scope.row.caseStatusstr == '16' && checkPermi(['batchManagement:list:file'])">案件归档</el-button>
53
                 </template>
52
                 </template>
84
 </template>
83
 </template>
85
   
84
   
86
 <script>
85
 <script>
87
-import {listBatch,submitCaseApplicationBatch,payListBatch,writtenHearBatch,caseFileBatch,serviceBatch} from '@/api/batchManagement/batchManagement.js'
86
+import {listBatch,submitCaseApplicationBatch,
87
+payListBatch,writtenHearBatch,
88
+caseFileBatch,serviceBatch,getSignUrlBatch
89
+} from '@/api/batchManagement/batchManagement.js'
88
 import { listDept } from "@/api/system/dept";
90
 import { listDept } from "@/api/system/dept";
89
 import batchPayment from './components/batchPayment.vue'
91
 import batchPayment from './components/batchPayment.vue'
90
 import paymentConfirmation from './components/paymentConfirmation.vue'
92
 import paymentConfirmation from './components/paymentConfirmation.vue'
281
         },
283
         },
282
         // 批量书面审理
284
         // 批量书面审理
283
         batchWrittenReviewy(row){
285
         batchWrittenReviewy(row){
284
-           this.$modal.confirm("你确定要批量书面审理吗1?").then(res => {
286
+           this.$modal.confirm("你确定要批量书面审理吗?").then(res => {
285
                  writtenHearBatch({batchNumber: row.batchNumber}).then(res=>{
287
                  writtenHearBatch({batchNumber: row.batchNumber}).then(res=>{
286
                 this.$modal.msgSuccess("提交成功!");
288
                 this.$modal.msgSuccess("提交成功!");
287
                 this.getList(this.queryParams);
289
                 this.getList(this.queryParams);
307
         batchSignatures(row){
309
         batchSignatures(row){
308
             this.signatureData = row
310
             this.signatureData = row
309
             this.caseVisableSignature = true
311
             this.caseVisableSignature = true
312
+            //  this.$modal.confirm("你确定要批量签名吗?").then(res => {
313
+            //         getSignUrlBatch({
314
+            //            batchNumber: row.batchNumber     
315
+            //         }).then(res=>{
316
+            //              window.open(res.data.signUrl)
317
+            //              this.$modal.confirm("你已经批量签名了吗?").then(res => {
318
+            //                  this.$modal.msgSuccess("签名成功!");
319
+            //                  this.getList(this.queryParams);
320
+            //              })     
321
+            //         })
322
+            //     }).catch(() =>{
323
+                    
324
+            // }) 
310
         },
325
         },
311
         cancelCaseSignature(){
326
         cancelCaseSignature(){
312
             this.caseVisableSignature = false
327
             this.caseVisableSignature = false

+ 6
- 2
src/views/batchManagement/components/batchPrinting.vue View File

70
         getarbitrAtor() {
70
         getarbitrAtor() {
71
                 this.atoDataList =[]
71
                 this.atoDataList =[]
72
                 deptIdentifyList({}).then((res) => {
72
                 deptIdentifyList({}).then((res) => {
73
-                    this.atoDataList = res.rows;
73
+                    res.rows.forEach(item => {
74
+                        if(item.isUse ==1){
75
+                            this.atoDataList.push(item); 
76
+                        }
77
+                    });
74
                 });
78
                 });
75
         },
79
         },
76
        // 下拉获取电话号码
80
        // 下拉获取电话号码
85
                     console.log(this.paramsdata)
89
                     console.log(this.paramsdata)
86
                     getSealUrlBatch(this.paramsdata).then(res=>{
90
                     getSealUrlBatch(this.paramsdata).then(res=>{
87
                             this.$modal.msgSuccess("确认成功");
91
                             this.$modal.msgSuccess("确认成功");
88
-                            this.cancel();
92
+                            this.cancel('courtReviewform');
89
                             this.$emit("getList", this.queryParams);
93
                             this.$emit("getList", this.queryParams);
90
                             window.open(res.data.signUrl)
94
                             window.open(res.data.signUrl)
91
                      }).catch((err) => {
95
                      }).catch((err) => {

+ 2
- 4
src/views/batchManagement/components/batchSignature.vue View File

85
                     console.log(this.paramsdata)
85
                     console.log(this.paramsdata)
86
                      getSignUrlBatch(this.paramsdata).then(res=>{
86
                      getSignUrlBatch(this.paramsdata).then(res=>{
87
                             this.$modal.msgSuccess("确认成功");
87
                             this.$modal.msgSuccess("确认成功");
88
-                            this.cancel();
88
+                            this.cancel('courtReviewform');
89
                             this.$emit("getList", this.queryParams);
89
                             this.$emit("getList", this.queryParams);
90
                             window.open(res.data.signUrl)
90
                             window.open(res.data.signUrl)
91
-                     }).catch((err) => {
92
-                         
93
-                     });
91
+                     })
94
                  }
92
                  }
95
              })
93
              })
96
         },
94
         },

+ 1
- 1
src/views/caseManagement/caseList.vue View File

99
       <el-table-column label="仲裁员" align="center" prop="arbitratorName" />
99
       <el-table-column label="仲裁员" align="center" prop="arbitratorName" />
100
       <!-- 开庭日期 -->
100
       <!-- 开庭日期 -->
101
       <el-table-column label="开庭日期" align="center" prop="hearDate" :show-overflow-tooltip="true" />
101
       <el-table-column label="开庭日期" align="center" prop="hearDate" :show-overflow-tooltip="true" />
102
-      <el-table-column label="案件状态" align="center" prop="caseStatusName">
102
+      <el-table-column label="案件状态" align="center" prop="caseStatusName" :show-overflow-tooltip="true">
103
         <template slot-scope="scope">
103
         <template slot-scope="scope">
104
           <el-tag type="success">{{ scope.row.caseStatusName }}</el-tag>
104
           <el-tag type="success">{{ scope.row.caseStatusName }}</el-tag>
105
         </template>
105
         </template>