mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-12 12:26:47 +08:00
讲师管理bug
This commit is contained in:
@@ -16,7 +16,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<div class="box">
|
<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;">
|
<div class="table" style="padding-bottom:72px;">
|
||||||
<a-table
|
<a-table
|
||||||
:columns="columns"
|
:columns="columns"
|
||||||
@@ -121,6 +121,8 @@ const columns = [
|
|||||||
dataIndex: 'orgName',
|
dataIndex: 'orgName',
|
||||||
key: 'orgName',
|
key: 'orgName',
|
||||||
align: 'center',
|
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',
|
dataIndex: 'orgName',
|
||||||
key: 'orgName',
|
key: 'orgName',
|
||||||
align: 'center',
|
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' }"
|
:dropdown-style="{ maxHeight: '400px', overflow: 'auto' }"
|
||||||
:placeholder="placeholder"
|
:placeholder="placeholder"
|
||||||
:labelInValue="true"
|
:labelInValue="true"
|
||||||
allow-clear
|
|
||||||
v-model:treeExpandedKeys="stuTreeExpandedKeys"
|
v-model:treeExpandedKeys="stuTreeExpandedKeys"
|
||||||
:loading="orgLoading"
|
:loading="orgLoading"
|
||||||
:load-data="onLoadData"
|
:load-data="onLoadData"
|
||||||
|
|||||||
@@ -264,6 +264,7 @@
|
|||||||
const search = sessionStorage.getItem('searchApprlval')
|
const search = sessionStorage.getItem('searchApprlval')
|
||||||
if(search){
|
if(search){
|
||||||
state.searchParam = JSON.parse(search)
|
state.searchParam = JSON.parse(search)
|
||||||
|
state.searchdate = state.searchParam.searchdate
|
||||||
}
|
}
|
||||||
getTableDate()
|
getTableDate()
|
||||||
})
|
})
|
||||||
@@ -546,6 +547,7 @@
|
|||||||
let objA = { ...state.searchParam };
|
let objA = { ...state.searchParam };
|
||||||
objA.beginTime = state.searchdate ? dayjs(state.searchdate[0]).format("YYYY-MM-DD") : "",
|
objA.beginTime = state.searchdate ? dayjs(state.searchdate[0]).format("YYYY-MM-DD") : "",
|
||||||
objA.endTime = state.searchdate ? dayjs(state.searchdate[1]).format("YYYY-MM-DD") : "",
|
objA.endTime = state.searchdate ? dayjs(state.searchdate[1]).format("YYYY-MM-DD") : "",
|
||||||
|
delete objA.searchdate
|
||||||
expenseBillList(objA)
|
expenseBillList(objA)
|
||||||
.then((res) => {
|
.then((res) => {
|
||||||
tableData.value = res.data.data.records
|
tableData.value = res.data.data.records
|
||||||
@@ -619,6 +621,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
const goDdit = (record) => {
|
const goDdit = (record) => {
|
||||||
|
state.searchParam.searchdate = state.searchdate
|
||||||
sessionStorage.setItem('searchApprlval', JSON.stringify(state.searchParam))
|
sessionStorage.setItem('searchApprlval', JSON.stringify(state.searchParam))
|
||||||
router.push({
|
router.push({
|
||||||
path:'/LecturerAppEdit',
|
path:'/LecturerAppEdit',
|
||||||
|
|||||||
Reference in New Issue
Block a user