mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-21 16:56:46 +08:00
fix 案例发布时间
This commit is contained in:
@@ -37,7 +37,9 @@
|
|||||||
<!-- 以下为导出按钮 -->
|
<!-- 以下为导出按钮 -->
|
||||||
<div class="btnzs">
|
<div class="btnzs">
|
||||||
<div class="btnz btnz3" @click="exportAllbtnz">
|
<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 class="btnzText">导出</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -55,6 +57,22 @@
|
|||||||
onChange: onSelectChange,
|
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>
|
</a-table>
|
||||||
<div class="tableBox">
|
<div class="tableBox">
|
||||||
<div class="pa">
|
<div class="pa">
|
||||||
@@ -75,6 +93,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
|
import dayjs from "dayjs";
|
||||||
import { ref, toRefs, reactive, onMounted } from "vue";
|
import { ref, toRefs, reactive, onMounted } from "vue";
|
||||||
import { message } from "ant-design-vue";
|
import { message } from "ant-design-vue";
|
||||||
import * as api from "../../api/indexOvervoew";
|
import * as api from "../../api/indexOvervoew";
|
||||||
@@ -216,10 +235,10 @@ export default {
|
|||||||
getTableData();
|
getTableData();
|
||||||
};
|
};
|
||||||
const searchData = async () => {
|
const searchData = async () => {
|
||||||
state.pageNo=1
|
state.pageNo = 1;
|
||||||
state.pageSize=10
|
state.pageSize = 10;
|
||||||
getTableData()
|
getTableData();
|
||||||
}
|
};
|
||||||
// 导出列表信息
|
// 导出列表信息
|
||||||
const exportAllbtnz = async () => {
|
const exportAllbtnz = async () => {
|
||||||
if (state.selectedRowKeys?.length > 0) {
|
if (state.selectedRowKeys?.length > 0) {
|
||||||
@@ -269,6 +288,7 @@ export default {
|
|||||||
searchData,
|
searchData,
|
||||||
tableData,
|
tableData,
|
||||||
columns,
|
columns,
|
||||||
|
dayjs,
|
||||||
changePagination,
|
changePagination,
|
||||||
exportAllbtnz,
|
exportAllbtnz,
|
||||||
onSelectChange,
|
onSelectChange,
|
||||||
|
|||||||
Reference in New Issue
Block a user