10.16
This commit is contained in:
parent
8fe169815a
commit
7ec59293f4
@ -2,7 +2,7 @@
|
||||
<div class="home-index">
|
||||
<el-carousel height="230px">
|
||||
<el-carousel-item v-for="(item,index) in bannerList" :key="index">
|
||||
<div class="bannser">-
|
||||
<div class="bannser">
|
||||
<img :src="imagePath+item.productImage" alt="">
|
||||
</div>
|
||||
</el-carousel-item>
|
||||
@ -48,14 +48,16 @@
|
||||
<div class="left-box-t">
|
||||
<div class="d-s">
|
||||
<div class="h-tt" style="margin-right: 15px">数据看板</div>
|
||||
<el-dropdown placement="bottom-start" @command="editColor">
|
||||
<div class="h-anniu" :class="{'q-anniu' : dataTimeShow == false}" @click="dataTimeShow = false ">近一周 <i
|
||||
<el-dropdown placement="bottom-start " @command="sjkbStoreAmount">
|
||||
<div class="h-anniu" :class="{'q-anniu' : dataTimeShow == false}" @click="dataTimeShow = false ">{{sjkbTitle}} <i
|
||||
class="el-icon-arrow-down el-icon--right"></i></div>
|
||||
<el-dropdown-menu slot="dropdown">
|
||||
<el-dropdown-item command="今日" index="4">今日</el-dropdown-item>
|
||||
<el-dropdown-item command="昨日" index="4">昨日</el-dropdown-item>
|
||||
<el-dropdown-item command="近一周" index="4">近一周</el-dropdown-item>
|
||||
<el-dropdown-item command="近一月" index="4">近一月</el-dropdown-item>
|
||||
<el-dropdown-menu slot="dropdown" >
|
||||
<el-dropdown-item>今日</el-dropdown-item>
|
||||
<el-dropdown-item>昨日</el-dropdown-item>
|
||||
<el-dropdown-item>本周</el-dropdown-item>
|
||||
<el-dropdown-item>本月</el-dropdown-item>
|
||||
<el-dropdown-item>本季度</el-dropdown-item>
|
||||
<el-dropdown-item>本年</el-dropdown-item>
|
||||
</el-dropdown-menu>
|
||||
</el-dropdown>
|
||||
<div class="h-anniu" :class="{'q-anniu' : dataTimeShow == true}" @click="dataTimeShow = true"> 自定义
|
||||
@ -146,12 +148,13 @@
|
||||
<div class="d-s" style="margin-bottom: 10px">
|
||||
<div class="h-tt" style="margin-right: 15px">油品交易分析</div>
|
||||
<el-dropdown placement="bottom-start" @command="editColor">
|
||||
<div class="h-anniu" :class="{'q-anniu' : showTimeShow == false}" @click="showTimeShow = false ">近一周 <i
|
||||
<div class="h-anniu" :class="{'q-anniu' : showTimeShow == false}" @click="showTimeShow = false ">{{ypjyTitle}} <i
|
||||
class="el-icon-arrow-down el-icon--right"></i></div>
|
||||
<el-dropdown-menu slot="dropdown">
|
||||
<el-dropdown-item command="近一周" index="2">近一周</el-dropdown-item>
|
||||
<el-dropdown-item command="近一月" index="2">近一月</el-dropdown-item>
|
||||
<el-dropdown-item command="近一年" index="2">近一年</el-dropdown-item>
|
||||
<el-dropdown-item command="近一月" index="2">本月</el-dropdown-item>
|
||||
<el-dropdown-item command="近一年" index="2">本季度</el-dropdown-item>
|
||||
<el-dropdown-item command="近一年" index="2">本年</el-dropdown-item>
|
||||
</el-dropdown-menu>
|
||||
</el-dropdown>
|
||||
<div class="h-anniu" :class="{'q-anniu' : showTimeShow == true}" @click="showTimeShow = true"> 自定义
|
||||
@ -174,12 +177,13 @@
|
||||
<div class="right-box-t">
|
||||
<div style="font-size: 16px;font-weight: bold"><span style="margin-right: 15px">员工排行</span>
|
||||
<el-dropdown placement="bottom-start" @command="editColor">
|
||||
<div class="h-anniu" :class="{'q-anniu' : timeShow == false}" @click="timeShow = false ">近一周 <i
|
||||
<div class="h-anniu" :class="{'q-anniu' : timeShow == false}" @click="timeShow = false ">{{ygphTitle}} <i
|
||||
class="el-icon-arrow-down el-icon--right"></i></div>
|
||||
<el-dropdown-menu slot="dropdown">
|
||||
<el-dropdown-item command="近一周" index="3">近一周</el-dropdown-item>
|
||||
<el-dropdown-item command="近一月" index="3">近一月</el-dropdown-item>
|
||||
<el-dropdown-item command="近一年" index="3">近一年</el-dropdown-item>
|
||||
<el-dropdown-item command="近一月" index="3">本月</el-dropdown-item>
|
||||
<el-dropdown-item command="近一年" index="3">本季度</el-dropdown-item>
|
||||
<el-dropdown-item command="近一年" index="3">本年</el-dropdown-item>
|
||||
</el-dropdown-menu>
|
||||
</el-dropdown>
|
||||
</div>
|
||||
@ -218,12 +222,14 @@
|
||||
<div class="d-s">
|
||||
<div class="h-tt" style="margin-right: 15px">数据统计</div>
|
||||
<el-dropdown placement="bottom-start" @command="editColor">
|
||||
<div class="h-anniu" :class="{'q-anniu' : countTimeShow == false}" @click="countTimeShow = false ">近一周 <i
|
||||
<div class="h-anniu" :class="{'q-anniu' : countTimeShow == false}" @click="countTimeShow = false ">{{sjtjTitle}} <i
|
||||
class="el-icon-arrow-down el-icon--right"></i></div>
|
||||
<el-dropdown-menu slot="dropdown">
|
||||
<el-dropdown-item command="近一周" index="1">近一周</el-dropdown-item>
|
||||
<el-dropdown-item command="近一月" index="1">近一月</el-dropdown-item>
|
||||
<el-dropdown-item command="近一年" index="1">近一年</el-dropdown-item>
|
||||
<el-dropdown-item command="近一月" index="1">本月</el-dropdown-item>
|
||||
<el-dropdown-item command="近一年" index="1">本季度</el-dropdown-item>
|
||||
<el-dropdown-item command="近一年" index="1">本年</el-dropdown-item>
|
||||
|
||||
</el-dropdown-menu>
|
||||
</el-dropdown>
|
||||
<div class="h-anniu" :class="{'q-anniu' : countTimeShow == true}" @click="countTimeShow = true"> 自定义
|
||||
@ -265,6 +271,10 @@ export default {
|
||||
props: ["accountId"],
|
||||
data() {
|
||||
return {
|
||||
sjkbTitle: "近一周",
|
||||
ypjyTitle: "近一周",
|
||||
ygphTitle: "近一周",
|
||||
sjtjTitle: "近一周",
|
||||
xShow: false,
|
||||
timeShow: false,
|
||||
dataTimeShow : false,
|
||||
@ -351,6 +361,9 @@ export default {
|
||||
|
||||
},
|
||||
methods: {
|
||||
sjkbStoreAmount(e){
|
||||
console.log(e)
|
||||
},
|
||||
goList() {
|
||||
this.$router.push('/notificationList/index')
|
||||
},
|
||||
@ -421,8 +434,6 @@ export default {
|
||||
this.getDataShow()
|
||||
}else if (index == "3") {
|
||||
this.getStoreList()
|
||||
}else if (index == "4") {
|
||||
this.getStoreAmount()
|
||||
}
|
||||
},
|
||||
// 获取员工排行信息
|
||||
|
Loading…
Reference in New Issue
Block a user