|
@@ -7,7 +7,7 @@
|
|
<side-list :items="list" :mini-menu="isMini" />
|
|
<side-list :items="list" :mini-menu="isMini" />
|
|
</v-list>
|
|
</v-list>
|
|
</div>
|
|
</div>
|
|
- <div class="list-bottom white">
|
|
|
|
|
|
+ <!-- <div class="list-bottom white">
|
|
<v-divider></v-divider>
|
|
<v-divider></v-divider>
|
|
<div class="pa-3">
|
|
<div class="pa-3">
|
|
<div class="d-flex mb-1">
|
|
<div class="d-flex mb-1">
|
|
@@ -19,7 +19,7 @@
|
|
<div>{{ total }}</div>
|
|
<div>{{ total }}</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
- </div>
|
|
|
|
|
|
+ </div> -->
|
|
</div>
|
|
</div>
|
|
<!-- <div class="tools"> -->
|
|
<!-- <div class="tools"> -->
|
|
<!-- 判断是否有权限 -->
|
|
<!-- 判断是否有权限 -->
|
|
@@ -39,7 +39,7 @@
|
|
<script>
|
|
<script>
|
|
import SideList from '@/components/Side/sideList.vue'
|
|
import SideList from '@/components/Side/sideList.vue'
|
|
import { mapGetters } from 'vuex'
|
|
import { mapGetters } from 'vuex'
|
|
-import { getBurialPointStatistics } from '@/api/system'
|
|
|
|
|
|
+// import { getBurialPointStatistics } from '@/api/system'
|
|
export default {
|
|
export default {
|
|
name: 'side-index',
|
|
name: 'side-index',
|
|
components: { SideList },
|
|
components: { SideList },
|
|
@@ -62,9 +62,9 @@ export default {
|
|
return this.getList(this.roles)
|
|
return this.getList(this.roles)
|
|
}
|
|
}
|
|
},
|
|
},
|
|
- created () {
|
|
|
|
- this.handleGetBurialPointStatistics()
|
|
|
|
- },
|
|
|
|
|
|
+ // created () {
|
|
|
|
+ // this.handleGetBurialPointStatistics()
|
|
|
|
+ // },
|
|
methods: {
|
|
methods: {
|
|
getList (arr, obj = []) {
|
|
getList (arr, obj = []) {
|
|
arr.sort((a, b) => a - b).forEach(element => {
|
|
arr.sort((a, b) => a - b).forEach(element => {
|
|
@@ -84,16 +84,16 @@ export default {
|
|
obj.push(data)
|
|
obj.push(data)
|
|
})
|
|
})
|
|
return obj
|
|
return obj
|
|
- },
|
|
|
|
- async handleGetBurialPointStatistics () {
|
|
|
|
- try {
|
|
|
|
- const { data } = await getBurialPointStatistics()
|
|
|
|
- this.dayTotal = data.dayTotal ?? 0
|
|
|
|
- this.total = data.total ?? 0
|
|
|
|
- } catch (error) {
|
|
|
|
- this.$snackbar.error(error)
|
|
|
|
- }
|
|
|
|
}
|
|
}
|
|
|
|
+ // async handleGetBurialPointStatistics () {
|
|
|
|
+ // try {
|
|
|
|
+ // const { data } = await getBurialPointStatistics()
|
|
|
|
+ // this.dayTotal = data.dayTotal ?? 0
|
|
|
|
+ // this.total = data.total ?? 0
|
|
|
|
+ // } catch (error) {
|
|
|
|
+ // this.$snackbar.error(error)
|
|
|
|
+ // }
|
|
|
|
+ // }
|
|
}
|
|
}
|
|
}
|
|
}
|
|
</script>
|
|
</script>
|