批量列表开发

This commit is contained in:
gyj
2023-12-29 17:26:45 +08:00
parent 4a3c470cf9
commit 6cd4f2843c
10 changed files with 910 additions and 98 deletions
+96 -26
View File
@@ -20,13 +20,13 @@
}}</span>
</template>
</el-table-column>
<el-table-column label="批号" align="center" prop="ruleType" :show-overflow-tooltip="true" />
<el-table-column label="申请人" align="center" prop="prefixstr" :show-overflow-tooltip="true" />
<el-table-column label="仲裁方式" align="center" prop="prefixstr" :show-overflow-tooltip="true" />
<el-table-column label="仲裁员" align="center" prop="prefixstr" :show-overflow-tooltip="true" />
<el-table-column label="案件状态" align="center" prop="prefixstr">
<el-table-column label="批号" align="center" prop="batchNumber" :show-overflow-tooltip="true" />
<el-table-column label="申请人" align="center" prop="name" :show-overflow-tooltip="true" />
<el-table-column label="仲裁方式" align="center" prop="arbitratMethodName" :show-overflow-tooltip="true" />
<el-table-column label="仲裁员" align="center" prop="arbitratorName" :show-overflow-tooltip="true" />
<el-table-column label="案件状态" align="center" prop="caseStatusName">
<template slot-scope="scope">
<el-tag type="success">{{ scope.row.prefixstr }}</el-tag>
<el-tag type="success">{{ scope.row.caseStatusName}}</el-tag>
</template>
</el-table-column>
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="350">
@@ -37,16 +37,16 @@
<el-button size="mini" type="text" icon="el-icon-tickets" @click="batchPayments(scope.row)">缴费</el-button>
<el-button size="mini" type="text" @click="paymentConfir(scope.row)">缴费确认</el-button>
<el-button size="mini" type="text" @click="courtReviews(scope.row)">组庭审核</el-button>
<el-button size="mini" type="text">组庭确认</el-button>
<el-button size="mini" type="text">审核仲裁方式</el-button>
<el-button size="mini" type="text">书面审理</el-button>
<el-button size="mini" type="text" @click="courtConfirmations(scope.row)">组庭确认</el-button>
<el-button size="mini" type="text" @click="reviewArbitrations(scope.row)">审核仲裁方式</el-button>
<el-button size="mini" type="text" @click="batchWrittenReview(scope.row)">书面审理</el-button>
<el-button size="mini" type="text">仲裁员审核仲裁文书</el-button>
<el-button size="mini" type="text">核验仲裁文书</el-button>
<el-button size="mini" type="text">部门长审核仲裁文书</el-button>
<el-button size="mini" type="text">签名</el-button>
<el-button size="mini" type="text">用印</el-button>
<el-button size="mini" type="text" @click="batchSignatures(scope.row)">签名</el-button>
<el-button size="mini" type="text" @click="batchPrintings(scope.row)">用印</el-button>
<el-button size="mini" type="text">生成裁决书</el-button>
<el-button size="mini" type="text">归档</el-button>
<el-button size="mini" type="text" @click="archive(scope.row)">归档</el-button>
<el-button size="mini" type="text">仲裁文书送达</el-button>
</template>
</el-table-column>
@@ -61,28 +61,49 @@
<!-- 组庭审核 -->
<courtReview :caseVisableReview="caseVisableReview" @cancelCaseReview="cancelCaseReview"></courtReview>
<!-- 查看案件列表 -->
<viewingCases :caseVisableViewing="caseVisableViewing" @cancelCaseViewing="cancelCaseViewing"></viewingCases>
<!-- <viewingCases :caseVisableViewing="caseVisableViewing" @cancelCaseViewing="cancelCaseViewing"></viewingCases> -->
<!-- 组庭确认 -->
<courtConfirmation :showcourtReview="showcourtReview" @cancelcourtReview="cancelcourtReview"></courtConfirmation>
<!-- 审核仲裁方式 -->
<reviewArbitrationMethod :caseVisableReviewl="caseVisableReviewl" @cancelCaseReviewl="cancelCaseReviewl"></reviewArbitrationMethod>
<!-- 签名 -->
<batchSignature :caseVisableSignature="caseVisableSignature" @cancelCaseSignature="cancelCaseSignature"></batchSignature>
<!-- 用印 -->
<batchPrinting :caseVisablePrinting="caseVisablePrinting" @cancelCasePrinting="cancelCasePrinting"></batchPrinting>
</div>
</template>
<script>
import {caseNumRuleList,deleteCaseNumRule} from '@/api/officialSeal/officialSeal.js'
import {listBatch,submitCaseApplicationBatch} from '@/api/batchManagement/batchManagement.js'
import batchPayment from './components/batchPayment.vue'
import paymentConfirmation from './components/paymentConfirmation.vue'
import courtReview from './components/courtReview.vue'
import viewingCases from './components/viewingCases.vue'
import courtConfirmation from './components/courtConfirmation.vue'
import reviewArbitrationMethod from './components/reviewArbitrationMethod.vue'
import batchSignature from './components/batchSignature.vue'
import batchPrinting from './components/batchPrinting.vue'
export default {
components: {
batchPayment,
paymentConfirmation,
courtReview,
viewingCases
viewingCases,
courtConfirmation,
reviewArbitrationMethod,
batchSignature,
batchPrinting
},
data() {
return {
queryParams: {
pageNum: 1,
pageSize: 10,
pageSize: 10
},
// 遮罩层
loading: false,
@@ -92,6 +113,10 @@ export default {
caseVisablePayment:false,//批量缴费确认
caseVisableReview:false,//批量组庭审核
caseVisableViewing:false,//查看案件列表
showcourtReview:false,//批量组庭确认
caseVisableReviewl:false,//批量审核仲裁方式
caseVisableSignature:false,//批量签名
caseVisablePrinting:false,//批量用印
dataList: [],
editData:{}
};
@@ -113,7 +138,8 @@ export default {
// 查询列表
getList(parm){
this.loading = true;
caseNumRuleList(parm).then(res=>{
listBatch(parm).then(res=>{
console.log(res)
this.dataList = res.rows;
this.total = res.total
this.loading = false;
@@ -122,17 +148,17 @@ export default {
// 批量提交
confirmSubmission(row){
this.$modal.confirm("您确定要批量提交吗?").then((res) => {
// this.deleteSealFn({ id: row.id })
this.submitCaseApplicationBatchs({ batchNumber: row.batchNumber })
}).catch(() =>{
})
},
// 批量提交接口
confirmSubmissionFn(data) {
// deleteCaseNumRule(data).then(res => {
// this.$modal.msgSuccess("删除成功!");
// this.getList(this.queryParams);
// })
submitCaseApplicationBatchs(data) {
submitCaseApplicationBatch(data).then(res => {
this.$modal.msgSuccess("提交成功!");
this.getList(this.queryParams);
})
},
// 批量立案审查
filingFeview(){
@@ -164,11 +190,55 @@ export default {
this.caseVisableReview = false
},
// 查看案件列表
viewingCasesBtn(){
this.caseVisableViewing = true
viewingCasesBtn(row){
let batchNumber = row.batchNumber
if(batchNumber){
this.$router.push({ name: 'CaseManagement/caseList', params: { batchNumber: batchNumber + '' } })
}
},
cancelCaseViewing(){
this.caseVisableViewing = false
// 批量组庭确认
courtConfirmations(){
this.showcourtReview = true
},
cancelcourtReview(){
this.showcourtReview = false
},
// 批量审核仲裁方式
reviewArbitrations(){
this.caseVisableReviewl = true
},
cancelCaseReviewl(){
this.caseVisableReviewl = false
},
// 批量书面审理
batchWrittenReview(){
this.$modal.confirm("你确定要批量书面审理吗?").then((res) => {
// this.deleteSealFn({ id: row.id })
}).catch(() =>{
})
},
// 批量归档
archive(){
this.$modal.confirm("你确定要批量归档吗?").then((res) => {
// this.deleteSealFn({ id: row.id })
}).catch(() =>{
})
},
// 批量签名
batchSignatures(){
this.caseVisableSignature = true
},
cancelCaseSignature(){
this.caseVisableSignature = false
},
// 批量签名
batchPrintings(){
this.caseVisablePrinting = true
},
cancelCasePrinting(){
this.caseVisablePrinting = false
}
},
};