This commit is contained in:
linfso 2024-12-17 07:37:27 +08:00
parent 588ce7171d
commit f914768b1d
2 changed files with 45 additions and 17 deletions

View File

@ -70,6 +70,14 @@ export function queryPrintListSimple(query) {
}
export function getLatestMonthCreateOrderMapList(query) {
return request({
url: '/emis/emisWaybill/getLatestMonthCreateOrderMapList',
method: 'get',
params: query
})
}
export function selectEmisWaybillByMutiBillCode(query) {
return request({
url: '/emis/emisWaybill/selectEmisWaybillByMutiBillCode',

View File

@ -150,7 +150,7 @@
<CardWithHeader header="个人回款/提成统计" height="146px" >
<CardWithHeader header="回款提成统计" height="146px" >
<template v-slot:body>
<div class="h-overview">
<el-row>
@ -252,13 +252,19 @@
</template>
</CardWithHeader> -->
<!-- @click="goRouter(item.clickPath)" -->
<CardWithHeader header="最新消息">
<template v-slot:body>
<div class="xd-notice-list">
<div v-for="(item, index) in noticeList" :key="index" class="xd-home-notice-item">
<div class="xd-item-content" @click="goRouterPath(item.clickPath)">
<div class="xd-item-content" >
<div class="ele-text-secondary ele-elip notice-time" style="display: inline-flex;width: 100%;">
<div style="text-align: left;width: 70%">{{ item.noticeTitle }}</div>
<div style="text-align: left;width: 70%">
<router-link :key="index" :to="item.clickPath">
<div >{{ item.noticeTitle }}</div>
</router-link>
</div>
<div style="text-align: left;width: 30%;font-size: 12px;color:gray;font-weight: 600;">{{ parseTime(item.createTime, '{y}-{m}-{d}') }} </div>
</div>
</div>
@ -266,6 +272,20 @@
</div>
</template>
</CardWithHeader>
<CardWithHeader header="最新任务">
<template v-slot:body>
<div class="xd-notice-list">
</div>
</template>
</CardWithHeader>
<CardWithHeader header="最近开单">
<template v-slot:body>
<div class="xd-notice-list">
</div>
</template>
</CardWithHeader>
</el-col>
</el-row>
@ -295,7 +315,7 @@ const lineChartData = {
}
import { GridLayout, GridItem } from 'vue-grid-layout'
import { listSimpleAction } from "@/api/system/sysActionStats";
import { getQueryStatInfoMap } from "@/api/emis/emisWaybill";
import { getQueryStatInfoMap,getLatestMonthCreateOrderMapList } from "@/api/emis/emisWaybill";
import {timeDiffTime,timeFormat} from '@/utils/dateUtils'
import {getTopNoticeListByUserId,addReadTimes,getPublicNoticeList} from "@/api/system/notice";
@ -404,22 +424,22 @@ export default {
// getLatestMonthCreateOrderMapList().then(response => {
// console.log("====>getLatestMonthCreateOrderMapList===>",response);
getLatestMonthCreateOrderMapList().then(response => {
console.log("====>getLatestMonthCreateOrderMapList===>",response);
// let xData=[];
// let yData=[];
// // 做数据转换
// response.data.forEach(item => {
// xData.push(item.createDay);
// yData.push(item.totalNum);
// });
let xData=[];
let yData=[];
// 做数据转换
response.data.forEach(item => {
xData.push(item.createDay);
yData.push(item.totalNum);
});
// this.orderStateData.xAxisData=[...xData];
// this.orderStateData.orderStateData=[...yData];
// console.log("====>this.orderStateData===>",this.orderStateData);
this.orderStateData.xAxisData=[...xData];
this.orderStateData.orderStateData=[...yData];
console.log("====>this.orderStateData===>",this.orderStateData);
// });
});
},
goRouterPath(clickPath) {