Commit 1e86d3de authored by 黄奎's avatar 黄奎

页面修改

parent a71f2a7b
......@@ -313,13 +313,8 @@
<span>排行榜</span>
</el-col>
<el-col :span="12" class="option-item" style>
<el-select
v-model="rankType"
size="mini"
style="width:120px;"
placeholder="请选择"
@change="GetRankingList"
>
<el-select v-model="rankType" size="mini" style="width:120px;" placeholder="请选择"
@change="GetRankingList">
<el-option label="销售额排名" :value="1"></el-option>
<el-option label="新建客户排名" :value="2"></el-option>
<el-option label="新建商机排名" :value="3"></el-option>
......@@ -396,8 +391,99 @@
mounted() {
this.GetRankingList();
this.GetBriefing();
this.createClue();
this.doanLoadFile();
},
methods: {
createClue() {
var url = "";
var msg = {};
//生成线索数据
// url = "/api/ClueStatic/CreateClue";
// msg={};
//每日数据统计
// url = "/api/ClueStatic/GetClueDay";
// msg = {
// YearStr: 2022,
// MonthStr: 5
// }
//每月数据统计
// url = "/api/ClueStatic/GetClueMonth";
// msg = {
// YearStr: 2022,
// }
//每月数据成长率统计
// url = "/api/ClueStatic/GetClueMonthRate";
// msg = {
// YearStr: 2022,
// }
//年度线索数据统计
// url = "/api/ClueStatic/GetClueYear";
// msg = {
// }
//年度线索成长率数据统计
// url = "/api/ClueStatic/GetClueYearRate";
// msg = {
// }
if (url && url != "") {
this.apipost(url, msg, (res) => {
console.log("res.data", res.data);
});
}
},
doanLoadFile() {
var url = "";
var msg = {};
//下载每日数据统计
// url = "/api/ClueStatic/DownLoadClueDay";
// msg = {
// YearStr: 2022,
// MonthStr: 5
// }
//下载每月数据统计
// url = "/api/ClueStatic/DownLoadClueMonth";
// msg = {
// YearStr: 2022,
// }
//下载每月数据成长率统计
// url = "/api/ClueStatic/DownLoadClueMonthRate";
// msg = {
// YearStr: 2022,
// }
//下载年度线索数据统计
// url = "/api/ClueStatic/DownLoadClueYear";
// msg = {
// }
//年度线索成长率数据统计
// url = "/api/ClueStatic/DownLoadClueYearRate";
// msg = {
// }
if (url && url != "") {
this.GetLocalFile(url, msg, '数据统计.xls', res => {
console.log("res", res);
});
}
},
GetBriefing() {
this.apipost("/api/CustomerDashboard/GetBriefing", {}, (res) => {
if (res.data.resultCode == 1) {
......@@ -457,6 +543,7 @@
.box-card .el-card__body {
height: 237px;
}
/* .box-card .el-card__body:hover, */
.sum-card .el-card__body:hover,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment