更新10.16

This commit is contained in:
许允枞 2024-10-16 16:28:13 +08:00
parent 7b926e3713
commit cd626eb3eb
2 changed files with 13 additions and 2 deletions

View File

@ -396,6 +396,7 @@ export default {
this.disabled = false
}
this.getStoreAmount()
this.getDataAnalysis()
},
goList() {
this.$router.push('/notificationList/index')
@ -597,8 +598,15 @@ export default {
},
//
getDataAnalysis() {
getDataAnalysis().then(res => {
let data = {
startTime: this.value1[0],
endTime: this.value1[1]
}
getDataAnalysis(data).then(res => {
// console.log('', res)
this.dataAnalysisAllList = []
this.dataAnalysisOilNumberList = []
this.dataAnalysisIfOilList = []
if (res.code == 200) {
for (let i = 0; i < res.data.length; i++) {
if (res.data[i].type == 1) {

View File

@ -316,7 +316,10 @@ public class AllOrderInfoController extends BaseController {
* @return
*/
@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));
}