积分订单
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<ai-list v-if="!isShowDetail">
|
||||
<template slot="title">
|
||||
<ai-title title="订单管理" :isShowBottomBorder="false">
|
||||
<ai-title title="订单管理" :isShowBottomBorder="false" v-model="areaId" :isShowArea="currIndex === '1'" :hideLevel="hideLevel - 1" @change="onAreaChange">
|
||||
</ai-title>
|
||||
</template>
|
||||
<template slot="tabs">
|
||||
@@ -43,6 +43,10 @@
|
||||
computed: {
|
||||
...mapState(['user']),
|
||||
|
||||
hideLevel () {
|
||||
return this.user.info.areaList?.length || 0
|
||||
},
|
||||
|
||||
tabs () {
|
||||
const tabList = [
|
||||
{label: '网格积分订单', name: 'GirdList', comp: GirdList, permission: ''},
|
||||
@@ -73,7 +77,7 @@
|
||||
|
||||
methods: {
|
||||
onAreaChange () {
|
||||
if (this.currIndex === '0') {
|
||||
if (this.currIndex === '1') {
|
||||
this.$nextTick(() => {
|
||||
this.$refs[this.currIndex][0].getList()
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user