案件编号,批量签名

This commit is contained in:
gyj
2023-12-18 18:18:07 +08:00
parent 54a821a31f
commit 65acede646
12 changed files with 423 additions and 90 deletions
@@ -1,28 +1,28 @@
<template>
<!-- 批量用印 -->
<div>
<el-dialog :visible="printingVisable" @close="cancel" center :distroy-on-close="true">
<el-table style="width: 100%">
<el-dialog title="批量用印" :visible="printingVisable" @close="cancel" center :distroy-on-close="true">
<el-table v-loading="loading" :data="dataList" style="width: 100%" @selection-change="handleSelectionChange">
<el-table-column type="selection">
</el-table-column>
<el-table-column label="序号" type="index" align="center">
<template slot-scope="scope">
<!-- <span>{{
<span>{{
(queryParamsData.pageNum - 1) * queryParamsData.pageSize + scope.$index + 1
}}</span> -->
}}</span>
</template>
</el-table-column>
<el-table-column label="案件编号" align="center" :show-overflow-tooltip="true" />
<el-table-column label="申请人" align="center" :show-overflow-tooltip="true" />
<el-table-column label="案件标的" align="center" />
<el-table-column label="仲裁方式" align="center" :show-overflow-tooltip="true" />
<el-table-column label="案件编号" prop="caseNum" align="center" :show-overflow-tooltip="true" />
<el-table-column label="申请人" align="center" prop="applicantName" :show-overflow-tooltip="true" />
<el-table-column label="案件标的" align="center" prop="caseSubjectAmount"/>
<el-table-column label="仲裁方式" align="center" prop="arbitratMethodName" :show-overflow-tooltip="true" />
<!-- 仲裁员 -->
<el-table-column label="仲裁员" align="center" />
<el-table-column label="仲裁员" align="center" prop="arbitratorName" />
<!-- 开庭日期 -->
<el-table-column label="开庭日期" align="center" :show-overflow-tooltip="true" />
<el-table-column label="案件状态" align="center">
<el-table-column label="开庭日期" align="center" prop="hearDate" :show-overflow-tooltip="true" />
<el-table-column label="案件状态" align="center" prop="caseStatusName">
<template slot-scope="scope">
<el-tag type="success"></el-tag>
<el-tag type="success">{{ scope.row.caseStatusName }}</el-tag>
</template>
</el-table-column>
</el-table>
@@ -30,27 +30,59 @@
:limit.sync="queryParamsData.pageSize" />
<div slot="footer" class="dialog-footer">
<el-button @click="cancel" class="endbutton"><span>取 消</span></el-button>
<el-button type="primary" class="endbutton"><span>确认用印</span></el-button>
<el-button type="primary" class="endbutton" :disabled="dataList.length == 0 || batchData.length == 0"><span>确认用印</span></el-button>
</div>
</el-dialog>
</div>
</template>
<script>
import {caseApply} from '@/api/caseAccess/caseEntry'
export default {
props:["printingVisable"],
data() {
return {
// 遮罩层
loading: true,
// 总条数
total:0,
// 查询参数
queryParamsData: {
caseStatus: null,
caseStatus: 3, //待定
pageNum: 1,
pageSize: 10,
},
// 表格数据
dataList: [],
batchData: [],
}
},
watch: {
printingVisable(val) {
if (val) {
this.getBatchPrinting(this.queryParamsData)
}
}
},
created(){
this.getBatchPrinting(this.queryParamsData)
},
methods:{
// 列表查询
getBatchPrinting(val){
this.loading = true;
caseApply(val).then(res=>{
this.dataList = res.rows
this.total = res.total;
this.loading = false;
})
},
// 选择勾选框
handleSelectionChange(val){
this.batchData = [];
val.forEach(item => {
this.batchData.push(item.id)
})
},
cancel() {
this.$emit("printingOperate");
},