- 问题, 首页 sql group by, 导致速度慢, 一天大略 10 万数据
- 上线半年左右,sql 变 10s+
计划
- 首页 sql, group 数据独自查问
this.$http.get(this.url.list+"New", para).then((res) => {
this.total = res.data.total;
var datas = res.data.rows;
console.log(res.data);
for (var i = 0; i < datas.length; i++) {var data = datas[i];
// 异步 ajax 启动,
this.obtainCustomeEntryCount(datas[i].billNo, datas[i]);
this.obtain310Receipt(datas[i].billNo, datas[i]);
this.obtainCvsAPICount(datas[i].billNo, datas[i]);
}
this.vCustomeEnrtys = datas;
this.listLoading = false;
$("#loading").hide();});
}