This commit is contained in:
zoujiandong 2025-08-18 17:44:37 +08:00
parent fd218f3880
commit 7e189eb358

View File

@ -155,7 +155,7 @@
<a-button type="link">审核</a-button>
</a-popconfirm>
</span>
<a-button v-if="record.status == 2" @click="showReason(record.reason)" type="link" v-privilege="'case-system:case:reason'">原因</a-button>
<a-button v-if="record.status != 1 && record.caseplatformCaseExamineList.length>0" @click="showReason(record.reason,record.caseplatformCaseExamineList)" type="link" v-privilege="'case-system:case:reason'">原因</a-button>
<span v-privilege="'case-system:case:settlement'">
<a-popconfirm title="确认结算?" placement="topRight" ok-text="结算" cancel-text="取消"
@confirm="settlement(record.id)" v-if="record.status == 1 && record.settlementFlag == 0">
@ -183,7 +183,11 @@
</a-modal>
<a-modal v-model:visible="showReasonVisible" title="原因">
<div style='white-space: pre-wrap;'>{{ show_reason }}</div>
<div class="reasonRow" v-for="(item,index) in resonList">
<div style='white-space: pre-wrap;' >{{ item.createTime }}</div>
<div style='white-space: pre-wrap;' >{{ item.reason }}</div>
</div>
<template #footer>
</template>
@ -209,13 +213,15 @@ import { employeeApi } from '/@/api/system/employee/employee-api';
// ---------------------------- ----------------------------
const dateFormat = 'YYYY-MM-DD HH:mm:ss'
const cancelExamineVisible = ref(false)
const showReasonVisible = ref(false)
const showReasonVisible = ref(false);
const resonList=ref([])
const disabledDate=(current)=>{
return current && current > dayjs().endOf('day');
}
function showReason(reason) {
function showReason(reason,list) {
showReasonVisible.value = true
show_reason.value = reason
show_reason.value = reason;
resonList.value=list
}
const show_reason = ref()
@ -536,3 +542,11 @@ function showForm(data) {
}
</script>
<style scoped>
.reasonRow {
/* display: flex; */
align-items: center;
padding:5px 30px;
justify-content: space-between;
}
</style>