mirror of
https://gitee.com/elegant_wings/dbd-meeting-html.git
synced 2025-06-21 04:29:36 +08:00
20250527-MeetingReservationList.vue页面隐藏 导出会议日程 导出月度汇总按钮
This commit is contained in:
parent
0d8de44e36
commit
86285f74c3
@ -93,10 +93,11 @@
|
||||
<span class='table-page-search-submitButtons'>
|
||||
<a-button type='primary' @click='$refs.table.refresh(true)'>查询</a-button>
|
||||
<a-button style='margin-left: 8px' @click='reset'>重置</a-button>
|
||||
<a-button v-if='isAdmin' type='danger' style='margin-left: 8px'
|
||||
@click='showExportDayModal = true'>导出会议日程</a-button>
|
||||
<a-button v-if='isAdmin' type='danger' style='margin-left: 8px'
|
||||
@click='showExportMonthModal = true'>导出月度汇总</a-button>
|
||||
<!-- 先做隐藏 20250527-->
|
||||
<!-- <a-button v-if='isAdmin' type='danger' style='margin-left: 8px'-->
|
||||
<!-- @click='showExportDayModal = true'>导出会议日程</a-button>-->
|
||||
<!-- <a-button v-if='isAdmin' type='danger' style='margin-left: 8px'-->
|
||||
<!-- @click='showExportMonthModal = true'>导出月度汇总</a-button>-->
|
||||
</span>
|
||||
</a-col>
|
||||
</a-row>
|
||||
@ -190,7 +191,7 @@
|
||||
:auto-size='{ minRows: 3, maxRows: 5 }'
|
||||
/>
|
||||
</a-modal>
|
||||
|
||||
|
||||
<!-- 导出会议日程弹窗 -->
|
||||
<a-modal
|
||||
title='导出会议日程'
|
||||
@ -220,7 +221,7 @@
|
||||
</a-select>
|
||||
</a-form-item>
|
||||
</a-modal>
|
||||
|
||||
|
||||
<!-- 导出月度汇总弹窗 -->
|
||||
<a-modal
|
||||
title='导出月度汇总'
|
||||
@ -444,14 +445,14 @@ export default {
|
||||
rejectId: '',
|
||||
roomList: [],
|
||||
isAdmin: checkPermission('meeting:admin'),
|
||||
|
||||
|
||||
// 导出会议日程弹窗
|
||||
showExportDayModal: false,
|
||||
exportDayDate: null,
|
||||
exportDayTitle: '',
|
||||
exportDayUserOrg: '',
|
||||
exportDayStatus: '',
|
||||
|
||||
|
||||
// 导出月度汇总弹窗
|
||||
showExportMonthModal: false,
|
||||
exportMonthDate: null,
|
||||
@ -662,16 +663,16 @@ export default {
|
||||
this.$message.error('请选择日期范围')
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
const startDate = this.exportDayDate[0].format('YYYY-MM-DD')
|
||||
const endDate = this.exportDayDate[1].format('YYYY-MM-DD')
|
||||
|
||||
|
||||
// 显示加载提示
|
||||
this.$message.loading({ content: '正在导出数据,请稍候...', key: 'exportLoading', duration: 0 })
|
||||
|
||||
|
||||
// 添加随机数防止缓存
|
||||
const timestamp = new Date().getTime()
|
||||
|
||||
|
||||
expMRByDate({
|
||||
'filterDate': '',
|
||||
'startDate': startDate,
|
||||
@ -717,22 +718,22 @@ export default {
|
||||
this.$message.error({ content: errorMsg, key: 'exportLoading' })
|
||||
})
|
||||
},
|
||||
|
||||
|
||||
// 处理导出月度汇总
|
||||
handleExportMonth() {
|
||||
if (!this.exportMonthDate) {
|
||||
this.$message.error('请选择月份')
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
const month = this.exportMonthDate.format('YYYY-MM')
|
||||
|
||||
|
||||
// 显示加载提示
|
||||
this.$message.loading({ content: '正在导出数据,请稍候...', key: 'exportLoading', duration: 0 })
|
||||
|
||||
|
||||
// 添加随机数防止缓存
|
||||
const timestamp = new Date().getTime()
|
||||
|
||||
|
||||
expMRByMonth({
|
||||
'month': month,
|
||||
'_t': timestamp
|
||||
|
Loading…
x
Reference in New Issue
Block a user