mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-10 03:16:44 +08:00
讲师管理bug
This commit is contained in:
@@ -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'}}},
|
||||
},
|
||||
|
||||
{
|
||||
|
||||
@@ -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'}}},
|
||||
},
|
||||
|
||||
{
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user