原因
This commit is contained in:
parent
fd218f3880
commit
7e189eb358
@ -155,7 +155,7 @@
|
|||||||
<a-button type="link">审核</a-button>
|
<a-button type="link">审核</a-button>
|
||||||
</a-popconfirm>
|
</a-popconfirm>
|
||||||
</span>
|
</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'">
|
<span v-privilege="'case-system:case:settlement'">
|
||||||
<a-popconfirm title="确认结算?" placement="topRight" ok-text="结算" cancel-text="取消"
|
<a-popconfirm title="确认结算?" placement="topRight" ok-text="结算" cancel-text="取消"
|
||||||
@confirm="settlement(record.id)" v-if="record.status == 1 && record.settlementFlag == 0">
|
@confirm="settlement(record.id)" v-if="record.status == 1 && record.settlementFlag == 0">
|
||||||
@ -183,7 +183,11 @@
|
|||||||
</a-modal>
|
</a-modal>
|
||||||
|
|
||||||
<a-modal v-model:visible="showReasonVisible" title="原因">
|
<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 #footer>
|
||||||
|
|
||||||
</template>
|
</template>
|
||||||
@ -209,13 +213,15 @@ import { employeeApi } from '/@/api/system/employee/employee-api';
|
|||||||
// ---------------------------- 表格列 ----------------------------
|
// ---------------------------- 表格列 ----------------------------
|
||||||
const dateFormat = 'YYYY-MM-DD HH:mm:ss'
|
const dateFormat = 'YYYY-MM-DD HH:mm:ss'
|
||||||
const cancelExamineVisible = ref(false)
|
const cancelExamineVisible = ref(false)
|
||||||
const showReasonVisible = ref(false)
|
const showReasonVisible = ref(false);
|
||||||
|
const resonList=ref([])
|
||||||
const disabledDate=(current)=>{
|
const disabledDate=(current)=>{
|
||||||
return current && current > dayjs().endOf('day');
|
return current && current > dayjs().endOf('day');
|
||||||
}
|
}
|
||||||
function showReason(reason) {
|
function showReason(reason,list) {
|
||||||
showReasonVisible.value = true
|
showReasonVisible.value = true
|
||||||
show_reason.value = reason
|
show_reason.value = reason;
|
||||||
|
resonList.value=list
|
||||||
}
|
}
|
||||||
|
|
||||||
const show_reason = ref()
|
const show_reason = ref()
|
||||||
@ -536,3 +542,11 @@ function showForm(data) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
<style scoped>
|
||||||
|
.reasonRow {
|
||||||
|
/* display: flex; */
|
||||||
|
align-items: center;
|
||||||
|
padding:5px 30px;
|
||||||
|
justify-content: space-between;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user