feat: 营运数据接口联调,部分央视修改

This commit is contained in:
mx00085@163.com
2023-03-30 14:53:34 +08:00
parent 42e0665c37
commit 4fb5105b03
4 changed files with 575 additions and 83 deletions

View File

@@ -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,
};
},
};