讲师管理bug

This commit is contained in:
zhangsir
2024-11-28 19:03:34 +08:00
parent d76e720ceb
commit 9943989a23
4 changed files with 8 additions and 2 deletions

View File

@@ -16,7 +16,7 @@
</div>
<div class="content">
<div class="box">
<div style="margin-bottom: 20px;font-size: 18px;font-weight: 700;">选择讲师费汇总:<span style="color:red;margin-left:20px;">{{payableExpense||0}}</span></div>
<div style="margin-bottom: 20px;font-size: 18px;font-weight: 700;">选择讲师费汇总:<span style="color:red;margin-left:20px;">{{payableExpense.toFixed(2)||0}}</span></div>
<div class="table" style="padding-bottom:72px;">
<a-table
:columns="columns"
@@ -121,6 +121,8 @@ const columns = [
dataIndex: 'orgName',
key: 'orgName',
align: 'center',
ellipsis: true,
customCell :() => {return {style: {maxWidth: '200px',overflow: 'hidden',whiteSpace: 'nowrap',textOverflow:'ellipsis',cursor:'pointer'}}},
},
{

View File

@@ -271,6 +271,8 @@ const columns = [
dataIndex: 'orgName',
key: 'orgName',
align: 'center',
ellipsis: true,
customCell :() => {return {style: {maxWidth: '200px',overflow: 'hidden',whiteSpace: 'nowrap',textOverflow:'ellipsis',cursor:'pointer'}}},
},
{

View File

@@ -18,7 +18,6 @@
:dropdown-style="{ maxHeight: '400px', overflow: 'auto' }"
:placeholder="placeholder"
:labelInValue="true"
allow-clear
v-model:treeExpandedKeys="stuTreeExpandedKeys"
:loading="orgLoading"
:load-data="onLoadData"

View File

@@ -264,6 +264,7 @@
const search = sessionStorage.getItem('searchApprlval')
if(search){
state.searchParam = JSON.parse(search)
state.searchdate = state.searchParam.searchdate
}
getTableDate()
})
@@ -546,6 +547,7 @@
let objA = { ...state.searchParam };
objA.beginTime = state.searchdate ? dayjs(state.searchdate[0]).format("YYYY-MM-DD") : "",
objA.endTime = state.searchdate ? dayjs(state.searchdate[1]).format("YYYY-MM-DD") : "",
delete objA.searchdate
expenseBillList(objA)
.then((res) => {
tableData.value = res.data.data.records
@@ -619,6 +621,7 @@
}
}
const goDdit = (record) => {
state.searchParam.searchdate = state.searchdate
sessionStorage.setItem('searchApprlval', JSON.stringify(state.searchParam))
router.push({
path:'/LecturerAppEdit',