修改bug

This commit is contained in:
liuxi 2025-02-19 15:04:01 +08:00
parent 47e8818ddb
commit 7a40e5b270
5 changed files with 32 additions and 5 deletions

View File

@ -25,7 +25,7 @@
<span >{{ scope.row.createAt | formaDate("yyyy-MM-dd hh:mm:ss") }}</span> <span >{{ scope.row.createAt | formaDate("yyyy-MM-dd hh:mm:ss") }}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="操作" width="220"> <el-table-column label="操作" width="260">
<template slot-scope="scope"> <template slot-scope="scope">
<div class="flex-row align-items-center"> <div class="flex-row align-items-center">
<el-button size="mini" @click="handleCaseShow(scope)">查看凭证</el-button> <el-button size="mini" @click="handleCaseShow(scope)">查看凭证</el-button>

View File

@ -448,7 +448,7 @@ export default {
fileDialog: null, fileDialog: null,
eventTraDialog: null, eventTraDialog: null,
navactive: 1, navactive: 1,
Qualitydesc: '结清应还金额16776.74逾期未还费用2486.88', Qualitydesc: '',
tableData: [{ tableData: [{
H: '电话调解', H: '电话调解',
A: '一次性全部还款', A: '一次性全部还款',

View File

@ -177,7 +177,11 @@
<template slot-scope="scope"> <template slot-scope="scope">
<div class="flex-row align-items-center"> <div class="flex-row align-items-center">
<el-button size="mini" @click="jumpUrl(`/mediation-management?pkgId=${scope.row.id}&pkgName=${scope.row.pkgName}`)">查看案件</el-button> <el-button size="mini" @click="jumpUrl(`/mediation-management?pkgId=${scope.row.id}&pkgName=${scope.row.pkgName}`)">查看案件</el-button>
<el-button size="mini" @click="handleDe1lete(scope)">办结</el-button>
<!-- <span v-for="(item,index) in scope.row.mediateStatus" :key="index">
{{ item.status == 1 ? item.count:'' }}
</span> -->
<el-button v-if="scope.row.mediateStatus.find(item=>{return item.status == 1 }).count > 0" size="mini" @click="handleConclude(scope.row)">办结</el-button>
</div> </div>
</template> </template>
</el-table-column> </el-table-column>
@ -203,6 +207,7 @@
</template> </template>
<script> <script>
import api from "@/services/casePackageManagement"; import api from "@/services/casePackageManagement";
import cmapi from "@/services/caseManagement";
export default { export default {
components: { components: {
@ -348,6 +353,19 @@ import api from "@/services/casePackageManagement";
} }
}, },
handleConclude(item) {
this.$confirm("请确定是否对该案件包进行办结?", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning",
}).then(() => {
if(!this.$clickThrottle()) { return }//
cmapi.updateCaseStatus({caseStatus: 2, pkgId: item.id}).then((res) => {
this.$message.success("办结成功");
this.getCaseInfoList(1)
});
}).catch(() => {});
},
} }
} }

View File

@ -13,7 +13,7 @@
title="发起签字" title="发起签字"
trigger="click"> trigger="click">
<singleofficeWritPopover :caseId="caseId" :singleofficevisible.sync="singleofficevisible"/> <singleofficeWritPopover :caseId="caseId" :singleofficevisible.sync="singleofficevisible" @handleUpdate='getSetTimeWritCaseList'/>
<span slot="reference" class="cursor-pointer border-E5E6EB"><i class="el-icon-edit-outline"></i> 发起签字</span> <span slot="reference" class="cursor-pointer border-E5E6EB"><i class="el-icon-edit-outline"></i> 发起签字</span>
</el-popover> </el-popover>
@ -131,6 +131,15 @@ export default {
await this.getWritCaseList(); await this.getWritCaseList();
}, },
methods: { methods: {
//
getSetTimeWritCaseList() {
let _this = this
setTimeout(() => {
_this.getWritCaseList()
}, 1500);
},
// //
getWritCaseList() { getWritCaseList() {
let dataJson = { let dataJson = {

View File

@ -125,7 +125,7 @@ import api from "@/services/caseManagement";
api.traceSignCreate(this.ObjectInfo).then((res) => { api.traceSignCreate(this.ObjectInfo).then((res) => {
this.$message.success("发起签字成功"); this.$message.success("发起签字成功");
this.handleClose() this.handleClose()
this.$parent.getWritCaseList() this.$emit('handleUpdate',null)
}); });
}, },