批量测试修改

This commit is contained in:
gyj
2024-01-09 18:04:17 +08:00
parent a22e5b79d0
commit b6a782e1df
4 changed files with 29 additions and 12 deletions
+20 -5
View File
@@ -40,14 +40,13 @@
<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>
<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>
<el-button size="mini" type="text" @click="reviewArbitrations(scope.row)" v-if="scope.row.caseStatusstr == '7' && checkPermi(['batchManagement:list:checkarbitrationway'])">审核仲裁方式</el-button>
<!-- <el-button size="mini" type="text" @click="batchWrittenReviewy(scope.row)" v-if="scope.row.caseStatusstr == '9' && checkPermi(['batchManagement:list:hear'])">书面审理</el-button> -->
<el-button size="mini" type="text" @click="batchWrittenReviewy(scope.row)">书面审理</el-button>
<el-button size="mini" type="text" @click="batchWrittenReviewy(scope.row)" v-if="scope.row.caseStatusstr == '9' && checkPermi(['batchManagement:list:hear'])">书面审理</el-button>
<!-- <el-button size="mini" type="text" @click="batchWrittenReviewy(scope.row)">书面审理</el-button> -->
<el-button size="mini" type="text" @click="secretaryArbitration(scope.row)" v-if="scope.row.caseStatusstr == '11' && checkPermi(['batchManagement:list:secretarycheck'])">秘书确认</el-button>
<el-button size="mini" type="text" @click="arbitratorsVerify(scope.row)" v-if="scope.row.caseStatusstr == '18' && checkPermi(['batchManagement:list:arbitratorConfirm'])">仲裁员确认</el-button>
<el-button size="mini" type="text" @click="departmentDocuments(scope.row)" v-if="scope.row.caseStatusstr == '12' && checkPermi(['batchManagement:list:confirmaward'])">部门长确认</el-button>
<el-button size="mini" type="text" @click="batchSignatures(scope.row)" v-if="scope.row.caseStatusstr == '13' && checkPermi(['batchManagement:list:sign'])">签名</el-button>
<el-button size="mini" type="text" @click="batchPrintings(scope.row)" v-if="scope.row.caseStatusstr == '14' && checkPermi(['batchManagement:list:signprint'])">用印</el-button>
<!-- <el-button size="mini" type="text" @click="arbitrationAward(scope.row)">生成裁决书</el-button> -->
<el-button size="mini" type="text" @click="servicearBitration(scope.row)" v-if="scope.row.caseStatusstr == '15' && checkPermi(['batchManagement:list:sendaward'])">送达裁决书</el-button>
<el-button size="mini" type="text" @click="archive(scope.row)" v-if="scope.row.caseStatusstr == '16' && checkPermi(['batchManagement:list:file'])">案件归档</el-button>
</template>
@@ -84,7 +83,10 @@
</template>
<script>
import {listBatch,submitCaseApplicationBatch,payListBatch,writtenHearBatch,caseFileBatch,serviceBatch} from '@/api/batchManagement/batchManagement.js'
import {listBatch,submitCaseApplicationBatch,
payListBatch,writtenHearBatch,
caseFileBatch,serviceBatch,getSignUrlBatch
} from '@/api/batchManagement/batchManagement.js'
import { listDept } from "@/api/system/dept";
import batchPayment from './components/batchPayment.vue'
import paymentConfirmation from './components/paymentConfirmation.vue'
@@ -281,7 +283,7 @@ export default {
},
// 批量书面审理
batchWrittenReviewy(row){
this.$modal.confirm("你确定要批量书面审理吗1?").then(res => {
this.$modal.confirm("你确定要批量书面审理吗?").then(res => {
writtenHearBatch({batchNumber: row.batchNumber}).then(res=>{
this.$modal.msgSuccess("提交成功!");
this.getList(this.queryParams);
@@ -307,6 +309,19 @@ export default {
batchSignatures(row){
this.signatureData = row
this.caseVisableSignature = true
// this.$modal.confirm("你确定要批量签名吗?").then(res => {
// getSignUrlBatch({
// batchNumber: row.batchNumber
// }).then(res=>{
// window.open(res.data.signUrl)
// this.$modal.confirm("你已经批量签名了吗?").then(res => {
// this.$modal.msgSuccess("签名成功!");
// this.getList(this.queryParams);
// })
// })
// }).catch(() =>{
// })
},
cancelCaseSignature(){
this.caseVisableSignature = false
@@ -70,7 +70,11 @@ export default {
getarbitrAtor() {
this.atoDataList =[]
deptIdentifyList({}).then((res) => {
this.atoDataList = res.rows;
res.rows.forEach(item => {
if(item.isUse ==1){
this.atoDataList.push(item);
}
});
});
},
// 下拉获取电话号码
@@ -85,7 +89,7 @@ export default {
console.log(this.paramsdata)
getSealUrlBatch(this.paramsdata).then(res=>{
this.$modal.msgSuccess("确认成功");
this.cancel();
this.cancel('courtReviewform');
this.$emit("getList", this.queryParams);
window.open(res.data.signUrl)
}).catch((err) => {
@@ -85,12 +85,10 @@ export default {
console.log(this.paramsdata)
getSignUrlBatch(this.paramsdata).then(res=>{
this.$modal.msgSuccess("确认成功");
this.cancel();
this.cancel('courtReviewform');
this.$emit("getList", this.queryParams);
window.open(res.data.signUrl)
}).catch((err) => {
});
})
}
})
},
+1 -1
View File
@@ -99,7 +99,7 @@
<el-table-column label="仲裁员" align="center" prop="arbitratorName" />
<!-- 开庭日期 -->
<el-table-column label="开庭日期" align="center" prop="hearDate" :show-overflow-tooltip="true" />
<el-table-column label="案件状态" align="center" prop="caseStatusName">
<el-table-column label="案件状态" align="center" prop="caseStatusName" :show-overflow-tooltip="true">
<template slot-scope="scope">
<el-tag type="success">{{ scope.row.caseStatusName }}</el-tag>
</template>