点位管理
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user