You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
43 lines
833 B
43 lines
833 B
3 years ago
|
<template>
|
||
|
<basic-container>
|
||
|
<avue-data-tabs :option="option"></avue-data-tabs>
|
||
|
</basic-container>
|
||
|
</template>
|
||
|
|
||
|
<script>
|
||
|
import { getUserClick } from "@/api/operator/statisticalsms";
|
||
|
export default {
|
||
|
data() {
|
||
|
return {
|
||
|
option: {
|
||
|
data: [
|
||
|
{
|
||
|
title: "信息点击数",
|
||
|
count: 0,
|
||
|
allcount: 0,
|
||
|
text: "当前信息点击数",
|
||
|
color: "rgb(27, 201, 142)",
|
||
|
key: "数",
|
||
|
},
|
||
|
],
|
||
|
},
|
||
|
};
|
||
|
},
|
||
|
created() {
|
||
|
this.getClickNum();
|
||
|
},
|
||
|
methods: {
|
||
|
getClickNum() {
|
||
|
getUserClick().then((res) => {
|
||
|
if (res.data.code == 200) {
|
||
|
this.option.data[0].count = res.data.data;
|
||
|
this.option.data[0].allcount = res.data.data;
|
||
|
}
|
||
|
});
|
||
|
},
|
||
|
},
|
||
|
};
|
||
|
</script>
|
||
|
|
||
|
<style></style>
|