Commit 37198855 authored by xxx's avatar xxx

1

parent 1d5a1453
......@@ -51,7 +51,7 @@ export default {
name: 'LargeScreenMenuDispose',
data() {
return {
//标题属性
//标题属性
loading: false,
alarmTimeId:'',
tableData: [],
......@@ -60,17 +60,6 @@ export default {
visible:false,
reqType:'edit',
status:{cu:0},
item:{},
},
//副标题属性
vice_loading: false,
vice_alarmTimeId:'',
vice_tableData: [],
vice_form: {
title:'修改菜单配置',
visible:false,
reqType:'edit',
status:{cu:0},
item:{},
},
}
......@@ -80,35 +69,7 @@ export default {
},
methods: {
loadData() {
//获取大屏顶部大标题
// HttpReq.truckDispatching.screenTitleMenuQuery({size:9999,pid:0,sort:'dsort'}).then((res1) => {
// if(res1.code == 200){
// let alltableData = [];
// res1.data.content.forEach((item,index)=>{
// if(item.children){
// let sonData = {...item};
// sonData.children = [];
// //获取对应子标题
// HttpReq.truckDispatching.screenTitleMenuQuery({size:9999,pid:item.children,sort:'dsort'}).then((res2) => {
// if(res2.code == 200){
// sonData.children = res2.data.content;
// alltableData.push(sonData);
// this.tableData = alltableData;
// }else{
// return
// }
// })
// }else{
// alltableData.push(item);
// this.tableData = alltableData;
// }
// })
// }
// })
//获取大屏顶部标题
HttpReq.truckDispatching.screenTitleMenuQuery({size:9999,pid:0,sort:'dsort'}).then((res1) => {
if(res1.code == 200){
this.tableData = res1.data.content;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment