案件编号,批量签名

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
+5 -4
View File
@@ -68,14 +68,15 @@
批量缴费确认
</el-button>
</el-col>
<el-col :span="1.5" style="margin-top:10px;">
<!-- <el-button type="primary" plain icon="el-icon-plus" size="mini" @click="batchSignatures">
<el-col :span="24" style="margin-top:10px;">
<el-button type="primary" plain icon="el-icon-plus" size="mini" @click="batchSignatures"
v-hasPermi="['caseManagement:list:signature']"
>
批量签名
</el-button>
<el-button type="primary" plain icon="el-icon-plus" size="mini" @click="batchPrintings">
批量用印
</el-button> -->
</el-button>
</el-col>
</el-row>
<el-table v-loading="loading" :data="dataList" style="width: 100%" :row-class-name="tableRowClassName" class="pendingTrial">
@@ -2,7 +2,7 @@
<div>
<!-- 批量确认缴费 -->
<el-dialog title="批量确认缴费" :visible="batchVisable" @close="cancel" center :distroy-on-close="true">
<el-table style="width: 100%" :data="dataList" @selection-change="handleSelectionChange">
<el-table v-loading="loading" style="width: 100%" :data="dataList" @selection-change="handleSelectionChange">
<el-table-column type="selection">
</el-table-column>
<el-table-column label="序号" type="index" align="center">
@@ -71,6 +71,8 @@ export default {
props:["batchVisable"],
data() {
return {
// 遮罩层
loading: true,
// 总条数
total:0,
// 查询参数
@@ -94,15 +96,7 @@ export default {
if (val) {
this.getBatchComfirmation(this.queryParamsData)
}
},
// payVisible(val) {
// if (val) {
// this.submitForm.payOrderList = []
// this.paySelect = 1;
// this.fileList = [];
// }
// }
}
},
created(){
this.getBatchComfirmation(this.queryParamsData)
@@ -110,12 +104,13 @@ export default {
methods:{
// 查询列表
getBatchComfirmation(val){
this.loading = true;
caseApply(val).then(res=>{
this.dataList = res.rows
this.total = res.total;
this.loading = false;
})
},
// 选择勾选框
// 选择勾选框
handleSelectionChange(val) {
this.batchData = [];
@@ -140,6 +135,7 @@ export default {
},
submitUpload() {
this.submitForm.ids = this.batchData;
console.log(this.submitForm)
confirmPay(this.submitForm).then(res => {
this.$modal.msgSuccess("成功");
this.payCancel();
@@ -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");
},
@@ -1,59 +1,163 @@
<template>
<div>
<!-- 批量签名 -->
<el-dialog :visible="signatureVisable" @close="cancel" center :distroy-on-close="true">
<el-table style="width: 100%">
<el-dialog title="批量签名" width="60%" :visible="signatureVisable" @close="cancel" center :distroy-on-close="true">
<el-form ref="courtReviewform" :model="courtReviewform">
<el-form-item
label="仲裁员:"
prop="Arbitor"
:rules="[
{
required: true,
message: '仲裁员不能为空',
trigger: 'blur',
},
]"
>
<el-select
placeholder="请选择仲裁员"
@change="changeArbitor"
v-model="courtReviewform.Arbitor"
clearable
>
<el-option
v-for="item in atoDataList"
:key="item.value"
:label="item.nickName"
:value="item.phonenumber"
></el-option>
</el-select>
</el-form-item>
</el-form>
<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>
<pagination :total="total" :page.sync="queryParamsData.pageNum"
:limit.sync="queryParamsData.pageSize" />
:limit.sync="queryParamsData.pageSize" @pagination="getBatchComfirmation(queryParamsData)"/>
<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"
@click="witnessing"><span>确认签名</span></el-button>
</div>
</el-dialog>
</div>
</template>
<script>
import {selectBatchSignUrl,pageSignAdjudicate} from '@/api/caseAccess/caseEntry'
import { arbitrAtor} from "@/api/formationCourt/formationCourt";
export default {
props:["signatureVisable"],
data() {
return {
// 遮罩层
loading: true,
// 总条数
total:0,
// 查询参数
queryParamsData: {
caseStatus: null,
caseStatus: 13,//待定
pageNum: 1,
pageSize: 10,
},
// 表格数据
dataList: [],
batchData: [],
atoDataList:[],
courtReviewform: {},
Arbitor: "",
paramsdata:{
ids:[],
psnAccount:""
},
}
},
watch: {
signatureVisable(val) {
if (val) {
this.getBatchSignation(this.queryParamsData)
}
}
},
created(){
this.getBatchSignation(this.queryParamsData)
this.getarbitrAtor()
},
methods:{
cancel() {
this.$emit("signatureOperate");
// 列表查询
getBatchSignation(val){
this.loading = true;
pageSignAdjudicate(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.signFlowId)
this.paramsdata.ids = this.batchData
})
},
// 获取仲裁员信息
getarbitrAtor() {
this.atoDataList =[]
arbitrAtor({}).then((res) => {
console.log(res)
this.atoDataList = res.rows;
// this.total = res.total;
});
},
changeArbitor(val) {
this.paramsdata.psnAccount =val
},
// 确认签名
witnessing(){
this.$refs["courtReviewform"].validate((valid) => {
if (valid) {
console.log(this.paramsdata)
selectBatchSignUrl(this.paramsdata).then((res) => {
this.$modal.msgSuccess("确认成功");
this.cancel();
window.open(res.data.signUrl)
// this.$emit("getcaseApply", this.queryParams);
})
.catch((err) => {});
}
});
},
cancel() {
this.$emit("signatureOperate");
},
}
}
</script>