Commit 37198855 authored by xxx's avatar xxx

1

parent 1d5a1453
...@@ -51,7 +51,7 @@ export default { ...@@ -51,7 +51,7 @@ export default {
name: 'LargeScreenMenuDispose', name: 'LargeScreenMenuDispose',
data() { data() {
return { return {
//标题属性 //标题属性
loading: false, loading: false,
alarmTimeId:'', alarmTimeId:'',
tableData: [], tableData: [],
...@@ -60,17 +60,6 @@ export default { ...@@ -60,17 +60,6 @@ export default {
visible:false, visible:false,
reqType:'edit', reqType:'edit',
status:{cu:0}, status:{cu:0},
item:{},
},
//副标题属性
vice_loading: false,
vice_alarmTimeId:'',
vice_tableData: [],
vice_form: {
title:'修改菜单配置',
visible:false,
reqType:'edit',
status:{cu:0},
item:{}, item:{},
}, },
} }
...@@ -80,35 +69,7 @@ export default { ...@@ -80,35 +69,7 @@ export default {
}, },
methods: { methods: {
loadData() { 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) => { HttpReq.truckDispatching.screenTitleMenuQuery({size:9999,pid:0,sort:'dsort'}).then((res1) => {
if(res1.code == 200){ if(res1.code == 200){
this.tableData = res1.data.content; 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