mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-22 01:06:45 +08:00
fix 案例发布时间
This commit is contained in:
@@ -37,7 +37,9 @@
|
||||
<!-- 以下为导出按钮 -->
|
||||
<div class="btnzs">
|
||||
<div class="btnz btnz3" @click="exportAllbtnz">
|
||||
<div><img src="../../assets/images/coursewareManage/export1.png" alt="" /></div>
|
||||
<div>
|
||||
<img src="../../assets/images/coursewareManage/export1.png" alt="" />
|
||||
</div>
|
||||
<div class="btnzText">导出</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -55,6 +57,22 @@
|
||||
onChange: onSelectChange,
|
||||
}"
|
||||
>
|
||||
<template #bodyCell="{ column, record }">
|
||||
<template v-if="column.key === 'sysCreateTime'">
|
||||
<a-tooltip placement="topRight">
|
||||
<template #title>
|
||||
<span>{{
|
||||
record.sysCreateTime &&
|
||||
dayjs(record.sysCreateTime).format("YYYY-MM-DD HH:mm:ss")
|
||||
}}</span>
|
||||
</template>
|
||||
<span>{{
|
||||
record.sysCreateTime &&
|
||||
dayjs(record.sysCreateTime).format("YYYY-MM-DD HH:mm:ss")
|
||||
}}</span>
|
||||
</a-tooltip>
|
||||
</template>
|
||||
</template>
|
||||
</a-table>
|
||||
<div class="tableBox">
|
||||
<div class="pa">
|
||||
@@ -75,6 +93,7 @@
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
import dayjs from "dayjs";
|
||||
import { ref, toRefs, reactive, onMounted } from "vue";
|
||||
import { message } from "ant-design-vue";
|
||||
import * as api from "../../api/indexOvervoew";
|
||||
@@ -216,10 +235,10 @@ export default {
|
||||
getTableData();
|
||||
};
|
||||
const searchData = async () => {
|
||||
state.pageNo=1
|
||||
state.pageSize=10
|
||||
getTableData()
|
||||
}
|
||||
state.pageNo = 1;
|
||||
state.pageSize = 10;
|
||||
getTableData();
|
||||
};
|
||||
// 导出列表信息
|
||||
const exportAllbtnz = async () => {
|
||||
if (state.selectedRowKeys?.length > 0) {
|
||||
@@ -269,6 +288,7 @@ export default {
|
||||
searchData,
|
||||
tableData,
|
||||
columns,
|
||||
dayjs,
|
||||
changePagination,
|
||||
exportAllbtnz,
|
||||
onSelectChange,
|
||||
|
||||
Reference in New Issue
Block a user