diff --git a/pages/home/home.vue b/pages/home/home.vue index fc68202..9bb8155 100644 --- a/pages/home/home.vue +++ b/pages/home/home.vue @@ -69,8 +69,8 @@ }, methods: { async _authority () { - // let res = await authority() - let res = await allAuthority() + let res = await authority() + // let res = await allAuthority() if (res.code === '1') { this.menuList = [...res.result.rf_menu1.sonTree] } else { diff --git a/utils/getData3.js b/utils/getData3.js index 84fc3ec..a3e9d72 100644 --- a/utils/getData3.js +++ b/utils/getData3.js @@ -20,7 +20,9 @@ export const twoPdaVehicleIn = (code, type, pcode, layer) => request({ // 字典获取 export const dictDetailpdaPost = (no, code) => request({ url:'api/dict/dictDetail/pdaPost', - data: {} + data: { + code: 'PALLET_LAYER' + } }) /**