This commit is contained in:
parent
e594023894
commit
69d900b1f9
|
@ -1,20 +1,20 @@
|
||||||
<template>
|
<template>
|
||||||
<el-row :gutter="40" class="panel-group">
|
<el-row :gutter="40" class="panel-group">
|
||||||
<el-col :xs="12" :sm="12" :lg="6" class="card-panel-col">
|
<el-col :xs="12" :sm="12" :lg="6" class="card-panel-col">
|
||||||
<div class="card-panel">
|
<div class="card-panel" @click="handleOrder()">
|
||||||
<div class="card-panel-icon-wrapper icon-shopping">
|
<div class="card-panel-icon-wrapper icon-shopping">
|
||||||
<svg-icon icon-class="shopping" class-name="card-panel-icon" />
|
<svg-icon icon-class="shopping" class-name="card-panel-icon" />
|
||||||
</div>
|
</div>
|
||||||
<div class="card-panel-description">
|
<div class="card-panel-description">
|
||||||
<div class="card-panel-text">
|
<div class="card-panel-text">
|
||||||
<router-link to="/order/index">订单</router-link>
|
<span>订单</span>
|
||||||
</div>
|
</div>
|
||||||
<count-to :start-val="0" :end-val="all" :duration="1" class="card-panel-num" />
|
<count-to :start-val="0" :end-val="all" :duration="1" class="card-panel-num" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :xs="12" :sm="12" :lg="6" class="card-panel-col">
|
<el-col :xs="12" :sm="12" :lg="6" class="card-panel-col">
|
||||||
<div class="card-panel">
|
<div class="card-panel" @click="handleOrder()">
|
||||||
<div class="card-panel-icon-wrapper icon-money3">
|
<div class="card-panel-icon-wrapper icon-money3">
|
||||||
<svg-icon icon-class="money" class-name="card-panel-icon" />
|
<svg-icon icon-class="money" class-name="card-panel-icon" />
|
||||||
</div>
|
</div>
|
||||||
|
@ -27,26 +27,26 @@
|
||||||
</div>
|
</div>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :xs="12" :sm="12" :lg="6" class="card-panel-col">
|
<el-col :xs="12" :sm="12" :lg="6" class="card-panel-col">
|
||||||
<div class="card-panel">
|
<div class="card-panel" @click="handleOrder({status:0})">
|
||||||
<div class="card-panel-icon-wrapper icon-message2">
|
<div class="card-panel-icon-wrapper icon-message2">
|
||||||
<svg-icon icon-class="message" class-name="card-panel-icon" />
|
<svg-icon icon-class="message" class-name="card-panel-icon" />
|
||||||
</div>
|
</div>
|
||||||
<div class="card-panel-description">
|
<div class="card-panel-description">
|
||||||
<div class="card-panel-text">
|
<div class="card-panel-text">
|
||||||
<router-link to="/order/index?status=0">待跟进</router-link>
|
<span to="/order/index?">待跟进</span>
|
||||||
</div>
|
</div>
|
||||||
<count-to :start-val="0" :end-val="wait" :duration="1" class="card-panel-num" />
|
<count-to :start-val="0" :end-val="wait" :duration="1" class="card-panel-num" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :xs="12" :sm="12" :lg="6" class="card-panel-col">
|
<el-col :xs="12" :sm="12" :lg="6" class="card-panel-col">
|
||||||
<div class="card-panel">
|
<div class="card-panel" @click="handleOrder({status:1})">
|
||||||
<div class="card-panel-icon-wrapper icon-message">
|
<div class="card-panel-icon-wrapper icon-message">
|
||||||
<svg-icon icon-class="message" class-name="card-panel-icon" />
|
<svg-icon icon-class="message" class-name="card-panel-icon" />
|
||||||
</div>
|
</div>
|
||||||
<div class="card-panel-description">
|
<div class="card-panel-description">
|
||||||
<div class="card-panel-text">
|
<div class="card-panel-text">
|
||||||
<router-link to="/order/index?status=1">跟进中</router-link>
|
<span to="/order/index?status=1">跟进中</span>
|
||||||
</div>
|
</div>
|
||||||
<count-to :start-val="0" :end-val="doing" :duration="1" class="card-panel-num" />
|
<count-to :start-val="0" :end-val="doing" :duration="1" class="card-panel-num" />
|
||||||
</div>
|
</div>
|
||||||
|
@ -145,6 +145,12 @@ export default {
|
||||||
methods: {
|
methods: {
|
||||||
handleSetLineChartData(type) {
|
handleSetLineChartData(type) {
|
||||||
this.$emit('handleSetLineChartData', type)
|
this.$emit('handleSetLineChartData', type)
|
||||||
|
},
|
||||||
|
handleOrder(val){
|
||||||
|
this.$router.push({
|
||||||
|
path: "/order/index",
|
||||||
|
query: val
|
||||||
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -448,6 +448,11 @@ export default {
|
||||||
this.listQuery.times = [this.$route.query.start, this.$route.query.end]
|
this.listQuery.times = [this.$route.query.start, this.$route.query.end]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (this.$route.query.hasOwnProperty('status')) {
|
||||||
|
this.listQuery.status = this.$route.query.status
|
||||||
|
} else {
|
||||||
|
this.listQuery.status = ''
|
||||||
|
}
|
||||||
this.getList()
|
this.getList()
|
||||||
this.getShortcutContent()
|
this.getShortcutContent()
|
||||||
this.getAdminList()
|
this.getAdminList()
|
||||||
|
|
Loading…
Reference in New Issue