用印申请,确认用印接口联调

This commit is contained in:
gyj
2024-01-16 17:21:13 +08:00
parent 22cfffa3e8
commit f658034734
3 changed files with 45 additions and 9 deletions
+17 -1
View File
@@ -71,4 +71,20 @@ export function selectPaymentDetail(data) {
method: "post", method: "post",
data: data, data: data,
}); });
} }
//用印申请
export function sealApply(data) {
return request({
url: "/mssignSeal/sealApply",
method: "post",
data: data,
});
}
// 用印确认
export function selectSealUrl(data) {
return request({
url: "/mssignSeal/selectSealUrl",
method: "post",
data: data,
});
}
+26 -4
View File
@@ -101,12 +101,12 @@
<!-- 缴费确认查看详情 --> <!-- 缴费确认查看详情 -->
<paymentdetailsDialog :openDialog="openDialog" @cancelpaymentdetails="cancelpaymentdetails" :title="payTitle" :detailform="detailform" :flag="flag" :paymentConfirma="paymentConfirma" :getList="getList"></paymentdetailsDialog> <paymentdetailsDialog :openDialog="openDialog" @cancelpaymentdetails="cancelpaymentdetails" :title="payTitle" :detailform="detailform" :flag="flag" :paymentConfirma="paymentConfirma" :getList="getList"></paymentdetailsDialog>
<!-- 案件受理 --> <!-- 案件受理 -->
<caseAcceptance :showAcceptance="showAcceptance" @cancelAcceptance="cancelAcceptance" :caseAcceptanceData="caseAcceptanceData" :getList="getList"></caseAcceptance> <caseAcceptance :showAcceptance="showAcceptance" @cancelAcceptance="cancelAcceptance" :caseAcceptanceData="caseAcceptanceData" @getList="getList" :queryParams="queryParams"></caseAcceptance>
</div> </div>
</template> </template>
<script> <script>
import { caseApplicationList, caseApplicationSelectById,submitCaseApply,selectPaymentDetail } from '@/api/caseManagement/caseManagement.js' import { caseApplicationList, caseApplicationSelectById,submitCaseApply,selectPaymentDetail,sealApply,selectSealUrl } from '@/api/caseManagement/caseManagement.js'
import { listDept } from '@/api/system/dept.js' import { listDept } from '@/api/system/dept.js'
import moment from "moment"; import moment from "moment";
import addCase from './components/addCase.vue' import addCase from './components/addCase.vue'
@@ -291,15 +291,37 @@ export default {
}, },
// 法律顾问用印申请 // 法律顾问用印申请
consultantApplica(row) { consultantApplica(row) {
let paramsValue ={
caseId:row.id,
batchNumber:"",
caseFlowId:row.caseFlowId
}
this.$modal.confirm("你确定要用印申请吗?").then((res) => { this.$modal.confirm("你确定要用印申请吗?").then((res) => {
sealApply(paramsValue).then(res=>{
this.getList(this.queryParams);
this.$modal.msgSuccess("用印申请成功");
})
}).catch(() => { }).catch(() => {
}) })
}, },
// 部门长用印申请 // 部门长用印申请
departmentApplica() { departmentApplica(row) {
this.$modal.confirm("你确定要用印确认吗?").then((res) => {
let paramsValue ={
caseId:row.id
}
selectSealUrl(paramsValue).then(res=>{
window.open(res.data.sealUrl)
this.$modal.confirm("你确认用印了吗?").then((res) => {
this.getList(this.queryParams);
}).catch(() => {
})
})
}).catch(() => {
})
}, },
// 案件受理 // 案件受理
caseAccep(row){ caseAccep(row){
@@ -40,7 +40,7 @@
import {accept} from '@/api/caseManagement/caseManagement.js' import {accept} from '@/api/caseManagement/caseManagement.js'
export default { export default {
name: "caseAcceptance", name: "caseAcceptance",
props: ["showAcceptance", "caseAcceptanceData", "getList"], props: ["showAcceptance", "caseAcceptanceData", "getList","queryParams"],
data() { data() {
return { return {
courtReviewform: { courtReviewform: {
@@ -69,9 +69,7 @@ export default {
let mergeValue = Object.assign({}, this.courtReviewform, paramsdata) let mergeValue = Object.assign({}, this.courtReviewform, paramsdata)
accept(mergeValue).then((res) => { accept(mergeValue).then((res) => {
this.$modal.msgSuccess("确认成功"); this.$modal.msgSuccess("确认成功");
if (res.code == 200) { this.$emit("getList",this.queryParams)
this.getList();
}
this.cancel(); this.cancel();
}) })
.catch((err) => {}); .catch((err) => {});