md
This commit is contained in:
parent
588ce7171d
commit
f914768b1d
@ -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) {
|
export function selectEmisWaybillByMutiBillCode(query) {
|
||||||
return request({
|
return request({
|
||||||
url: '/emis/emisWaybill/selectEmisWaybillByMutiBillCode',
|
url: '/emis/emisWaybill/selectEmisWaybillByMutiBillCode',
|
||||||
|
|||||||
@ -150,7 +150,7 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
<CardWithHeader header="个人回款/提成统计" height="146px" >
|
<CardWithHeader header="回款提成统计" height="146px" >
|
||||||
<template v-slot:body>
|
<template v-slot:body>
|
||||||
<div class="h-overview">
|
<div class="h-overview">
|
||||||
<el-row>
|
<el-row>
|
||||||
@ -252,13 +252,19 @@
|
|||||||
</template>
|
</template>
|
||||||
</CardWithHeader> -->
|
</CardWithHeader> -->
|
||||||
|
|
||||||
|
<!-- @click="goRouter(item.clickPath)" -->
|
||||||
|
|
||||||
<CardWithHeader header="最新消息">
|
<CardWithHeader header="最新消息">
|
||||||
<template v-slot:body>
|
<template v-slot:body>
|
||||||
<div class="xd-notice-list">
|
<div class="xd-notice-list">
|
||||||
<div v-for="(item, index) in noticeList" :key="index" class="xd-home-notice-item">
|
<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 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 style="text-align: left;width: 30%;font-size: 12px;color:gray;font-weight: 600;">{{ parseTime(item.createTime, '{y}-{m}-{d}') }} </div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -266,6 +272,20 @@
|
|||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
</CardWithHeader>
|
</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-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
|
|
||||||
@ -295,7 +315,7 @@ const lineChartData = {
|
|||||||
}
|
}
|
||||||
import { GridLayout, GridItem } from 'vue-grid-layout'
|
import { GridLayout, GridItem } from 'vue-grid-layout'
|
||||||
import { listSimpleAction } from "@/api/system/sysActionStats";
|
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 {timeDiffTime,timeFormat} from '@/utils/dateUtils'
|
||||||
import {getTopNoticeListByUserId,addReadTimes,getPublicNoticeList} from "@/api/system/notice";
|
import {getTopNoticeListByUserId,addReadTimes,getPublicNoticeList} from "@/api/system/notice";
|
||||||
|
|
||||||
@ -404,22 +424,22 @@ export default {
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
// getLatestMonthCreateOrderMapList().then(response => {
|
getLatestMonthCreateOrderMapList().then(response => {
|
||||||
// console.log("====>getLatestMonthCreateOrderMapList===>",response);
|
console.log("====>getLatestMonthCreateOrderMapList===>",response);
|
||||||
|
|
||||||
// let xData=[];
|
let xData=[];
|
||||||
// let yData=[];
|
let yData=[];
|
||||||
// // 做数据转换
|
// 做数据转换
|
||||||
// response.data.forEach(item => {
|
response.data.forEach(item => {
|
||||||
// xData.push(item.createDay);
|
xData.push(item.createDay);
|
||||||
// yData.push(item.totalNum);
|
yData.push(item.totalNum);
|
||||||
// });
|
});
|
||||||
|
|
||||||
// this.orderStateData.xAxisData=[...xData];
|
this.orderStateData.xAxisData=[...xData];
|
||||||
// this.orderStateData.orderStateData=[...yData];
|
this.orderStateData.orderStateData=[...yData];
|
||||||
// console.log("====>this.orderStateData===>",this.orderStateData);
|
console.log("====>this.orderStateData===>",this.orderStateData);
|
||||||
|
|
||||||
// });
|
});
|
||||||
|
|
||||||
},
|
},
|
||||||
goRouterPath(clickPath) {
|
goRouterPath(clickPath) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user