|
@@ -123,14 +123,14 @@ const config = computed(() => {
|
|
|
},
|
|
|
{
|
|
|
attrs: {
|
|
|
- label: "ip",
|
|
|
- prop: "ip",
|
|
|
+ label: "访问日期",
|
|
|
+ prop: "browseDate",
|
|
|
},
|
|
|
},
|
|
|
{
|
|
|
attrs: {
|
|
|
- label: "访问时间",
|
|
|
- prop: "createTime",
|
|
|
+ label: "浏览量",
|
|
|
+ prop: "browseCount",
|
|
|
},
|
|
|
},
|
|
|
/*{
|
|
@@ -205,13 +205,14 @@ const formSearchConfig = computed(() => {
|
|
|
const getList = async (req) => {
|
|
|
sourceList.value.pagination = { ...sourceList.value.pagination, ...req };
|
|
|
loading.value = true;
|
|
|
- proxy.post("/browsingHistory/page", sourceList.value.pagination).then((message) => {
|
|
|
+ proxy.post("/browsingHistory/classifiedList", sourceList.value.pagination).then((message) => {
|
|
|
console.log(message);
|
|
|
sourceList.value.data = message.rows;
|
|
|
sourceList.value.pagination.total = message.total;
|
|
|
setTimeout(() => {
|
|
|
loading.value = false;
|
|
|
}, 200);
|
|
|
+ getStatistic();
|
|
|
});
|
|
|
};
|
|
|
const openModal = () => {
|
|
@@ -275,11 +276,10 @@ const submitSearch = () => {
|
|
|
const getStatistic = async (req) => {
|
|
|
proxy.post("/browsingHistory/getStatistic", {}).then((message) => {
|
|
|
console.log(message);
|
|
|
- statistic.value = message.today;
|
|
|
+ statistic.value = message;
|
|
|
});
|
|
|
};
|
|
|
|
|
|
-getStatistic();
|
|
|
getList();
|
|
|
</script>
|
|
|
|