批量接口联调,用印,签名

This commit is contained in:
gyj
2024-01-05 18:02:47 +08:00
parent 2336d6d7d2
commit 80a02cce05
8 changed files with 261 additions and 48 deletions
@@ -104,3 +104,43 @@ export function methodBatch(data) {
data: data
})
}
//批量书面审理
export function writtenHearBatch(data) {
return request({
url: '/arbitrate/writtenHearBatch',
method: 'post',
data: data
})
}
// 根据批号批量签名
export function getSignUrlBatch(data) {
return request({
url: '/adjudication/getSignUrlBatch',
method: 'post',
data: data
})
}
//根据批号批量用印
export function getSealUrlBatch(data) {
return request({
url: '/adjudication/getSealUrlBatch',
method: 'post',
data: data
})
}
//批量归档
export function caseFileBatch(data) {
return request({
url: '/adjudication/caseFileBatch',
method: 'post',
data: data
})
}
//仲裁文书送达
export function serviceBatch(data) {
return request({
url: '/adjudication/serviceBatch',
method: 'post',
data: data
})
}
@@ -11,7 +11,7 @@
{
required: true,
message: '查询机构不能为空',
trigger: 'blur',
trigger: 'change',
},
]"
>
@@ -25,7 +25,7 @@
v-for="item in atoDataList"
:key="item.id"
:label="item.identifyName"
:value="item.operPhone"
:value="item.operPhone+item.id"
></el-option>
</el-select>
</el-form-item>
@@ -132,7 +132,7 @@ export default {
},
// 下拉获取电话号码
changeArbitor(val){
this.paramsdata.psnAccount = val
this.paramsdata.psnAccount = val.slice(0,11)
},
// 确认用印
confirmSeals(){
@@ -10,7 +10,7 @@
{
required: true,
message: '仲裁员不能为空',
trigger: 'blur',
trigger: 'change',
},
]"
>
@@ -24,7 +24,7 @@
v-for="item in atoDataList"
:key="item.value"
:label="item.nickName"
:value="item.phonenumber"
:value="item.phonenumber+item.userId"
></el-option>
</el-select>
</el-form-item>
@@ -136,7 +136,7 @@ export default {
});
},
changeArbitor(val) {
this.paramsdata.psnAccount =val
this.paramsdata.psnAccount = val.slice(0,11)
},
// 确认签名
+63 -21
View File
@@ -1,12 +1,13 @@
<template>
<div class="app-container">
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" label-width="70px">
<el-form-item label="批号:" prop="deptNameFirchar">
<el-input v-model="queryParams.deptNameFirchar" placeholder="请输入批号" clearable @keyup.enter.native="handleQuery" />
</el-form-item>
<el-form-item label="申请人:" prop="deptNameFirchar">
<el-input v-model="queryParams.deptNameFirchar" placeholder="请输入申请人" clearable @keyup.enter.native="handleQuery" />
<el-form-item label="批号:" prop="batchNumber">
<el-input v-model="queryParams.batchNumber" placeholder="请输入批号" clearable @keyup.enter.native="handleQuery" />
</el-form-item>
<el-form-item label="申请人" prop="applicantName">
<el-cascader v-model="queryParams.nameId" :options="options" @change="changeDept" :props="{ checkStrictly: true }"
clearable></el-cascader>
</el-form-item>
<el-form-item>
<el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
<el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
@@ -21,7 +22,7 @@
</template>
</el-table-column>
<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="applicantName" :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" :show-overflow-tooltip="true">
@@ -45,7 +46,7 @@
<el-button size="mini" type="text" @click="departmentDocuments(scope.row)">部门长审核仲裁文书</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" @click="arbitrationAward(scope.row)">生成裁决书</el-button>
<!-- <el-button size="mini" type="text" @click="arbitrationAward(scope.row)">生成裁决书</el-button> -->
<el-button size="mini" type="text" @click="servicearBitration(scope.row)">仲裁文书送达</el-button>
<el-button size="mini" type="text" @click="archive(scope.row)">归档</el-button>
</template>
@@ -67,9 +68,9 @@
<!-- 审核仲裁方式 -->
<reviewArbitrationMethod :caseVisableReviewl="caseVisableReviewl" @cancelCaseReviewl="cancelCaseReviewl" :queryParams="queryParams" @getList="getList" :reviewMethod="reviewMethod"></reviewArbitrationMethod>
<!-- 签名 -->
<batchSignature :caseVisableSignature="caseVisableSignature" @cancelCaseSignature="cancelCaseSignature" :queryParams="queryParams" @getList="getList"></batchSignature>
<batchSignature :caseVisableSignature="caseVisableSignature" @cancelCaseSignature="cancelCaseSignature" :queryParams="queryParams" @getList="getList" :signatureData="signatureData"></batchSignature>
<!-- 用印 -->
<batchPrinting :caseVisablePrinting="caseVisablePrinting" @cancelCasePrinting="cancelCasePrinting" :queryParams="queryParams" @getList="getList"></batchPrinting>
<batchPrinting :caseVisablePrinting="caseVisablePrinting" @cancelCasePrinting="cancelCasePrinting" :queryParams="queryParams" @getList="getList" :printingData="printingData"></batchPrinting>
<!-- 立案审查 -->
<filingReview :caseVisableReviewF="caseVisableReviewF" @cancelCaseReviewF="cancelCaseReviewF" :filingFeviewbatchNumber="filingFeviewbatchNumber" :queryParams="queryParams" @getList="getList"></filingReview>
<!-- 秘书审核仲裁文书 -->
@@ -82,8 +83,8 @@
</template>
<script>
import {listBatch,submitCaseApplicationBatch,payListBatch} from '@/api/batchManagement/batchManagement.js'
import { caseApplicationDetail } from "@/api/pay/pay";
import {listBatch,submitCaseApplicationBatch,payListBatch,batchWrittenReview,caseFileBatch,serviceBatch} from '@/api/batchManagement/batchManagement.js'
import { listDept } from "@/api/system/dept";
import batchPayment from './components/batchPayment.vue'
import paymentConfirmation from './components/paymentConfirmation.vue'
import courtReview from './components/courtReview.vue'
@@ -133,6 +134,8 @@ export default {
arbitratorDeter:{},//仲裁员确认
departmentDoc:{}, //部门长确认
reviewMethod:{},//仲裁员审核仲裁方式
signatureData:{},//签名批号
printingData:{},//批量用印批号
caseVisablePay: false,//批量缴费弹窗
caseVisablePayment:false,//批量缴费确认
caseVisableReview:false,//批量组庭审核
@@ -146,11 +149,13 @@ export default {
caseVisablearBitration:false,//仲裁员核查文书
caseVisablearHead:false,//部门长审核文书
dataList: [],
editData:{}
editData:{},
options: [], //机构数据
};
},
created() {
this.getList(this.queryParams)
this.getInstitution();
},
methods: {
/** 搜索按钮操作 */
@@ -161,13 +166,28 @@ export default {
/** 重置按钮操作 */
resetQuery() {
this.resetForm("queryForm");
(this.queryParams.applicantName = ""),
(this.queryParams.nameId = ""),
this.handleQuery();
},
// 机构发生变化
changeDept(data) {
this.queryParams.nameId = data[0];
},
// 获取机构数据
getInstitution() {
listDept().then((res) => {
res.data.forEach((item) => {
item.value = item.deptId;
item.label = item.deptName;
});
this.options = this.handleTree(res.data, "deptId");
});
},
// 查询列表
getList(parm){
this.loading = true;
listBatch(parm).then(res=>{
console.log(res)
this.dataList = res.rows;
this.total = res.total
this.loading = false;
@@ -254,30 +274,46 @@ export default {
this.caseVisableReviewl = false
},
// 批量书面审理
batchWrittenReview(){
batchWrittenReview(row){
this.$modal.confirm("你确定要批量书面审理吗?").then((res) => {
// this.deleteSealFn({ id: row.id })
this.batchWrittenReviews({ batchNumber: row.batchNumber })
}).catch(() =>{
})
},
//批量书面审理接口
batchWrittenReviews(val){
batchWrittenReview(val).then(res=>{
this.$modal.msgSuccess("提交成功!");
this.getList(this.queryParams);
})
},
// 批量归档
archive(){
archive(row){
this.$modal.confirm("你确定要批量归档吗?").then((res) => {
// this.deleteSealFn({ id: row.id })
this.caseFileBatchs({ batchNumber: row.batchNumber})
}).catch(() =>{
})
},
// 批量归档接口
caseFileBatchs(vals){
caseFileBatch(vals).then(res=>{
this.$modal.msgSuccess("归档成功!");
this.getList(this.queryParams);
})
},
// 批量签名
batchSignatures(){
batchSignatures(row){
this.signatureData = row
this.caseVisableSignature = true
},
cancelCaseSignature(){
this.caseVisableSignature = false
},
// 批量签名
batchPrintings(){
batchPrintings(row){
this.printingData = row
this.caseVisablePrinting = true
},
cancelCasePrinting(){
@@ -292,13 +328,19 @@ export default {
})
},
//仲裁文书送达
servicearBitration(){
servicearBitration(row){
this.$modal.confirm("你确定要批量仲裁文书批量送达吗?").then((res) => {
// this.deleteSealFn({ id: row.id })
this.serviceBatchs({ batchNumber: row.batchNumber})
}).catch(() =>{
})
},
serviceBatchs(val){
serviceBatch(val).then(res=>{
this.$modal.msgSuccess("批量送达成功!");
this.getList(this.queryParams);
})
},
// 秘书审核仲裁文书
secretaryArbitration(row){
this.secretaryArb = row
@@ -1,36 +1,101 @@
<template>
<div>
<!-- 批量用印 -->
<el-dialog title="批量用印" :visible="caseVisablePrinting" destroy-on-close width="30%" @close="cancel" center>
<el-dialog title="批量用印" :visible="caseVisablePrinting" destroy-on-close width="30%" @close="cancel('courtReviewform')" center>
<!-- 查询机构信息 -->
<el-form ref="courtReviewform" :model="courtReviewform">
<el-form-item
label="查询机构:"
prop="Arbitor"
:rules="[
{
required: true,
message: '查询机构不能为空',
trigger: 'change',
},
]"
>
<el-select
placeholder="请选择查询机构"
@change="changeArbitor"
v-model="courtReviewform.Arbitor"
clearable
>
<el-option
v-for="item in atoDataList"
:key="item.id"
:label="item.identifyName"
:value="item.operPhone+item.id"
></el-option>
</el-select>
</el-form-item>
</el-form>
<div slot="footer" class="dialog-footer">
<el-button type="primary" class="endbutton"><span>确认</span></el-button>
<el-button class="endbutton" @click="cancel"><span>取 消</span></el-button>
<el-button type="primary" class="endbutton" @click="confirmSeals"><span>确认用印</span></el-button>
<el-button class="endbutton" @click="cancel('courtReviewform')"><span>取 消</span></el-button>
</div>
</el-dialog>
</div>
</template>
<script>
import {deptIdentifyList} from '@/api/officialSeal/officialSeal'
import {getSealUrlBatch} from '@/api/batchManagement/batchManagement.js'
export default {
props: ["caseVisablePrinting","queryParams"],
props: ["caseVisablePrinting","queryParams","printingData"],
dicts: ["manager_type"],
data() {
return {
atoDataList:[],
courtReviewform: {},
Arbitor: "",
paramsdata:{
batchNumber:0,
psnAccount:""
},
};
},
watch: {
caseVisablePayment(val) {
caseVisablePrinting(val) {
if (val) {
this.ruleForm = {};
console.log(this.atoDataList)
}
}
},
created() {
this.getarbitrAtor()
},
methods: {
cancel() {
// 查询机构信息
getarbitrAtor() {
this.atoDataList =[]
deptIdentifyList({}).then((res) => {
this.atoDataList = res.rows;
});
},
// 下拉获取电话号码
changeArbitor(val){
this.paramsdata.psnAccount = val.slice(0,11)
},
// 确认用印
confirmSeals(){
this.$refs["courtReviewform"].validate((valid) => {
if(valid){
this.paramsdata.batchNumber= this.printingData.batchNumber
console.log(this.paramsdata)
getSealUrlBatch(this.paramsdata).then(res=>{
this.$modal.msgSuccess("确认成功");
this.cancel();
this.$emit("getList", this.queryParams);
window.open(res.data.signUrl)
}).catch((err) => {
});
}
})
},
cancel(formName) {
this.$refs[formName].resetFields(); //清空下拉列表的内容
this.$emit("cancelCasePrinting");
},
},
@@ -1,36 +1,101 @@
<template>
<div>
<!-- 批量签名 -->
<el-dialog title="批量签名" :visible="caseVisableSignature" destroy-on-close width="30%" @close="cancel" center>
<el-dialog title="批量签名" :visible="caseVisableSignature" destroy-on-close width="30%" @close="cancel('courtReviewform')" center>
<el-form ref="courtReviewform" :model="courtReviewform">
<el-form-item
label="仲裁员:"
prop="Arbitor"
:rules="[
{
required: true,
message: '仲裁员不能为空',
trigger: 'change'
},
]"
>
<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+item.deptId"
></el-option>
</el-select>
</el-form-item>
</el-form>
<div slot="footer" class="dialog-footer">
<el-button type="primary" class="endbutton"><span>确认</span></el-button>
<el-button class="endbutton" @click="cancel"><span>取 消</span></el-button>
<el-button type="primary" class="endbutton" @click="witnessing"><span>确认签名</span></el-button>
<el-button class="endbutton" @click="cancel('courtReviewform')"><span>取 消</span></el-button>
</div>
</el-dialog>
</div>
</template>
<script>
import { arbitrAtor} from "@/api/formationCourt/formationCourt";
import {getSignUrlBatch} from '@/api/batchManagement/batchManagement.js'
export default {
props: ["caseVisableSignature","queryParams"],
props: ["caseVisableSignature","queryParams","signatureData"],
dicts: ["manager_type"],
data() {
return {
courtReviewform: {
Arbitor: "",
},
Arbitor: "",
atoDataList:[],
paramsdata:{
batchNumber:0,
psnAccount:""
},
};
},
watch: {
caseVisablePayment(val) {
caseVisableSignature(val) {
if (val) {
this.ruleForm = {};
console.log(this.atoDataList)
}
}
},
created() {
this.getarbitrAtor()
},
methods: {
cancel() {
// 获取仲裁员信息
getarbitrAtor() {
arbitrAtor({}).then((res) => {
this.atoDataList = res.rows;
});
},
changeArbitor(val) {
this.paramsdata.psnAccount =val.slice(0,11)
},
// 确认签名提交
witnessing(){
this.$refs["courtReviewform"].validate((valid) => {
if(valid){
this.paramsdata.batchNumber= this.signatureData.batchNumber
console.log(this.paramsdata)
getSignUrlBatch(this.paramsdata).then(res=>{
this.$modal.msgSuccess("确认成功");
this.cancel();
this.$emit("getList", this.queryParams);
window.open(res.data.signUrl)
}).catch((err) => {
});
}
})
},
cancel(formName) {
this.$refs[formName].resetFields();
this.$emit("cancelCaseSignature");
},
},
+1
View File
@@ -425,6 +425,7 @@ export default {
if (params >= 0) {
this.queryParams.caseStatus = params;
}
// console.log(this.$route.params.batchNumber)
this.getcaseApply(this.queryParams);
})
// this.getcaseApply(this.queryParams);
@@ -111,7 +111,7 @@
<el-form-item label="申请人案件证据资料上传:" prop="applicantEvidence" v-if="flag !== '0'">
<el-upload class="upload-demo" ref="fileupload" accept=".png,.jpg,.doc,.docx,.txt,.pdf"
:action="UploadUrl()" :on-success="handlSuccess" :on-remove="handleRemove" :on-preview="handlePreview"
:before-remove="beforeRemove" :data="filedata" :headers="headers" multiple :limit="3"
:before-remove="beforeRemove" :data="filedata" :headers="headers" multiple :limit="50"
:on-exceed="handleExceed" :file-list="fileList">
<el-button size="small" type="primary">点击上传</el-button>
<div slot="tip" class="el-upload__tip">