mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-23 17:55:39 +08:00
feat: 营运数据接口联调,部分央视修改
This commit is contained in:
@@ -15,7 +15,8 @@
|
||||
value: 'id',
|
||||
children: 'treeChildList',
|
||||
}"
|
||||
></a-cascader>
|
||||
>
|
||||
</a-cascader>
|
||||
</div>
|
||||
<div class="select">
|
||||
<a-input
|
||||
@@ -77,6 +78,33 @@
|
||||
onChange: onSelectChange,
|
||||
}"
|
||||
>
|
||||
<template #bodyCell="{ column, record }">
|
||||
<template v-if="column.key === 'createTime'">
|
||||
<a-tooltip placement="topRight">
|
||||
<template #title>
|
||||
<span>{{
|
||||
record.createTime &&
|
||||
dayjs(record.createTime).format("YYYY-MM-DD HH:mm:ss")
|
||||
}}</span>
|
||||
</template>
|
||||
<span>{{
|
||||
record.createTime &&
|
||||
dayjs(record.createTime).format("YYYY-MM-DD HH:mm:ss")
|
||||
}}</span>
|
||||
</a-tooltip>
|
||||
</template>
|
||||
<template v-if="column.key === 'status'">
|
||||
<span>{{
|
||||
record.status == "0"
|
||||
? "草稿"
|
||||
: record.status == "1"
|
||||
? "已发布"
|
||||
: record.status == "-1"
|
||||
? "停用"
|
||||
: ""
|
||||
}}</span>
|
||||
</template>
|
||||
</template>
|
||||
</a-table>
|
||||
<div class="tableBox">
|
||||
<div class="pa">
|
||||
@@ -104,6 +132,7 @@ import { ref, toRefs, reactive, onMounted } from "vue";
|
||||
import downLoad from "../../utils/downLoad";
|
||||
import Cookies from "vue-cookies";
|
||||
import axios from "axios";
|
||||
import dayjs from "dayjs";
|
||||
export default {
|
||||
name: "LearningPathMap",
|
||||
setup() {
|
||||
@@ -413,6 +442,7 @@ export default {
|
||||
tableData,
|
||||
columns,
|
||||
changePagination,
|
||||
dayjs,
|
||||
};
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user