fix
This commit is contained in:
parent
d61156cf9d
commit
668a71df67
|
@ -1,6 +1,6 @@
|
|||
<template>
|
||||
<div id="app">
|
||||
{{ username }}
|
||||
<!-- {{ username }} -->
|
||||
<router-view />
|
||||
</div>
|
||||
</template>
|
||||
|
|
|
@ -53,7 +53,7 @@ Vue.prototype.$axios = request
|
|||
|
||||
Vue.use(watermark)
|
||||
|
||||
new Vue({
|
||||
export default new Vue({
|
||||
el: '#app',
|
||||
router,
|
||||
store,
|
||||
|
|
|
@ -18,13 +18,13 @@
|
|||
|
||||
</div>
|
||||
|
||||
<el-table v-loading="listLoading" :data="list" border fit highlight-current-row style="width: 100%">
|
||||
<el-table v-loading="listLoading" :data="list" border highlight-current-row style="width: 100%">
|
||||
|
||||
<el-table-column align="center" fixed label="产品名称" width="220" prop="product_name" />
|
||||
<el-table-column align="center" label="产品名称" width="220" prop="product_name" />
|
||||
|
||||
<el-table-column align="center" fixed label="平台" width="80" prop="os" />
|
||||
<el-table-column align="center" label="平台" width="80" prop="os" />
|
||||
|
||||
<el-table-column align="center" fixed label="订单数" width="80" prop="all" />
|
||||
<el-table-column align="center" label="订单数" width="80" prop="all" />
|
||||
|
||||
<el-table-column align="center" label="订单金额" width="180" prop="total" />
|
||||
|
||||
|
@ -92,7 +92,17 @@ export default {
|
|||
form: {}
|
||||
}
|
||||
},
|
||||
created() {
|
||||
mounted() {
|
||||
this.listQuery.status = this.$route.query.status || null
|
||||
this.listQuery.zhubo = this.$route.query.zhubo || null
|
||||
if (this.$route.query.start && this.$route.query.end) {
|
||||
this.listQuery.times = [this.$route.query.start, this.$route.query.end]
|
||||
}
|
||||
|
||||
this.getList()
|
||||
},
|
||||
//被缓存接收参数
|
||||
activated(){
|
||||
this.listQuery.status = this.$route.query.status || null
|
||||
this.listQuery.zhubo = this.$route.query.zhubo || null
|
||||
if (this.$route.query.start && this.$route.query.end) {
|
||||
|
|
Loading…
Reference in New Issue