更新10.16
This commit is contained in:
parent
7b926e3713
commit
cd626eb3eb
@ -396,6 +396,7 @@ export default {
|
|||||||
this.disabled = false
|
this.disabled = false
|
||||||
}
|
}
|
||||||
this.getStoreAmount()
|
this.getStoreAmount()
|
||||||
|
this.getDataAnalysis()
|
||||||
},
|
},
|
||||||
goList() {
|
goList() {
|
||||||
this.$router.push('/notificationList/index')
|
this.$router.push('/notificationList/index')
|
||||||
@ -597,8 +598,15 @@ export default {
|
|||||||
},
|
},
|
||||||
// 获取数据分析信息
|
// 获取数据分析信息
|
||||||
getDataAnalysis() {
|
getDataAnalysis() {
|
||||||
getDataAnalysis().then(res => {
|
let data = {
|
||||||
|
startTime: this.value1[0],
|
||||||
|
endTime: this.value1[1]
|
||||||
|
}
|
||||||
|
getDataAnalysis(data).then(res => {
|
||||||
// console.log('数据分析的数据', res)
|
// console.log('数据分析的数据', res)
|
||||||
|
this.dataAnalysisAllList = []
|
||||||
|
this.dataAnalysisOilNumberList = []
|
||||||
|
this.dataAnalysisIfOilList = []
|
||||||
if (res.code == 200) {
|
if (res.code == 200) {
|
||||||
for (let i = 0; i < res.data.length; i++) {
|
for (let i = 0; i < res.data.length; i++) {
|
||||||
if (res.data[i].type == 1) {
|
if (res.data[i].type == 1) {
|
||||||
|
@ -316,7 +316,10 @@ public class AllOrderInfoController extends BaseController {
|
|||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
@GetMapping("getDataAnalysis")
|
@GetMapping("getDataAnalysis")
|
||||||
public ResponseObject getDataAnalysis(Map<String, String> map){
|
public ResponseObject getDataAnalysis(String startTime, String endTime){
|
||||||
|
Map<String, String> map = new HashMap<>();
|
||||||
|
map.put("startTime", startTime);
|
||||||
|
map.put("endTime", endTime);
|
||||||
return getSuccessResult(allOrderInfoService.getDataAnalysis(map));
|
return getSuccessResult(allOrderInfoService.getDataAnalysis(map));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user