讲师管理bug

This commit is contained in:
zhangsir
2024-12-20 17:50:11 +08:00
parent 541de94696
commit ceb9c0cf59
6 changed files with 21 additions and 21 deletions

View File

@@ -60,8 +60,8 @@
</div>
</div>
<div class="btnn">
<button class="btn1" @click="config">确认提交审批</button>
<button class="btn1" @click="qureyDrawer">确认至审批中心</button>
<button class="btn1" @click="config">提交审批</button>
<button class="btn1" @click="qureyDrawer">保存至审批中心</button>
<button class="btn2" @click="closeDrawer">取消</button>
</div>
</div>
@@ -218,7 +218,7 @@ const removeId = (e,i) =>{
}else{
expenseList.value = expenseList.value.filter(item=>item.id !== e.id)
}
forData.value[indexList.value].summaryTotal = forData.value[indexList.value]?.summaryTotal - e.payableExpense
forData.value[indexList.value].summaryTotal = (forData.value[indexList.value]?.summaryTotal - e.payableExpense).toFixed(2)
if(!forData.value[indexList.value].expenseList.length){
forData.value.splice(indexList.value,1)
forData.value.length > 0 && clickItem(forData.value[0],0)

View File

@@ -64,11 +64,11 @@
<a-tab-pane key="2" tab="审批记录" force-render>
<div style="margin-bottom: 20px">
<a-table :columns="columnsTwo" :loading="formData?.loadingTwo" :data-source="formData?.tableDataTwo" :pagination="pagination">
<template #action="{ record }">
<!-- <template #action="{ record }">
<div class="action">
<div style="color: #1890ff;cursor: pointer;" class="btn" @click="lookList(record)">查看</div>
</div>
</template>
</template> -->
</a-table>
</div>
<!-- <div style="margin-bottom: 100px">
@@ -244,18 +244,18 @@ const columnsTwo = ref([
}
},
{
title: '审批人',
title: '提交人',
dataIndex: 'employeeName',
key: 'employeeName',
align: 'center',
},
{
title: '操作',
dataIndex: 'address',
key:'age',
align: 'center',
slots: { customRender: "action" },
}
// {
// title: '操作',
// dataIndex: 'address',
// key:'age',
// align: 'center',
// slots: { customRender: "action" },
// }
])
const approvalData = ref(null)
const threeList = ref(false)