点位管理

This commit is contained in:
2023-10-12 17:00:46 +08:00
parent 8c9bf09057
commit 428a6a695f
12 changed files with 1278 additions and 408 deletions

View File

@@ -35,24 +35,18 @@
</template>
<script>
import {authority} from '@/utils/getData2.js'
export default {
data() {
return {
menuList: [],
menuList: [
{menu_id: '1', imgsrc: 'RF05', name: '任务管理', path: '/pages/modules/taskmanage'},
{menu_id: '2', imgsrc: 'RF03', name: '指令管理', path: '/pages/modules/zlmanage'},
{menu_id: '3', imgsrc: 'RF04', name: '点位管理', path: '/pages/modules/pointmanage'}],
show: false,
secM: []
};
},
created () {
this._authority()
},
methods: {
async _authority () {
let res = await authority()
this.menuList = [...res.sonTree]
},
toPage1 (e) {
// if (e.sonTree.length > 0) {
// this.show = true