diff --git a/src/assets/js/constant.js b/src/assets/js/constant.js index db31fd3..eded5e4 100644 --- a/src/assets/js/constant.js +++ b/src/assets/js/constant.js @@ -139,6 +139,7 @@ export const REMIND_DAYS = [ { ID: "2", NAME: "90天", NUM: "90" }, ]; + // export const MAINTENANCE_LEVEL_LIST = [ // //维保等级 // {ID:'1',NAME:'一级维保'}, diff --git a/src/request/data_dictionary.js b/src/request/data_dictionary.js index 1d54e86..74a4d15 100644 --- a/src/request/data_dictionary.js +++ b/src/request/data_dictionary.js @@ -29,7 +29,7 @@ export const getLevelsCorp = (params) => }); // 获取数据字典 export const getLevelsByParentId = (params) => - post("/dictionaries/listDictToParId", { + post("/dictionaries/getLevels", { loading: false, ...params, }); diff --git a/src/request/safety_production_related.js b/src/request/safety_production_related.js index 3c81300..d8af733 100644 --- a/src/request/safety_production_related.js +++ b/src/request/safety_production_related.js @@ -29,7 +29,7 @@ export const issueSecurityNotice = (params) => // 通知等级 export const layoutFnGetNotificationsClassification = async () => { const resData = await getLevelsByParentId({ - parentId: "aaecb47d95524b84904809671e48a777", + DICTIONARIES_ID: "aaaecb47d95524b84904809671e48a656", }); return ref(resData); }; diff --git a/src/request/scrap_manage.js b/src/request/scrap_manage.js index 4b16304..35effb3 100644 --- a/src/request/scrap_manage.js +++ b/src/request/scrap_manage.js @@ -4,7 +4,7 @@ import { post, upload } from "@/request/axios.js"; export const layoutFnGetScrapType = async () => { const resData = await getLevelsByParentId({ - parentId: "78452f4ec77e4d98ae8cdd9c3386ae0c", + DICTIONARIES_ID: "78452f4ec77e4d98ae8cdd9c3386ae0c", }); return ref(resData); }; diff --git a/src/views/mechanical_files/beidou/index.vue b/src/views/mechanical_files/beidou/index.vue index 6f09cf0..38c8704 100644 --- a/src/views/mechanical_files/beidou/index.vue +++ b/src/views/mechanical_files/beidou/index.vue @@ -87,19 +87,19 @@ - - - + + + - - - + + + - + - + - + - - - + - - + + - - - + + + - - - - + + + + - + - + - - +