From ae3cba5fb87723b710ce3bb8f0286401dfefaf45 Mon Sep 17 00:00:00 2001 From: xiepeng Date: Wed, 10 Apr 2024 16:53:36 +0800 Subject: [PATCH] =?UTF-8?q?BUG=20=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/js/constant.js | 1 + src/request/data_dictionary.js | 2 +- src/request/safety_production_related.js | 2 +- src/request/scrap_manage.js | 2 +- src/views/mechanical_files/beidou/index.vue | 22 +++++----- .../inspect_annually/index.vue | 2 +- src/views/mechanical_files/insure/index.vue | 30 +++++++------- .../mechanical_files/maintenance/index.vue | 22 +++++----- .../mechanical_files/operations/index.vue | 18 ++++---- .../mechanical_files/scrap_manage/add.vue | 16 ++++---- .../security_notice/add.vue | 17 ++++---- .../components/select_person.vue | 5 ++- .../security_notice/details.vue | 23 ++++++----- .../security_notice/index.vue | 41 ++++++++----------- .../security_notice/notice_info.vue | 2 +- 15 files changed, 100 insertions(+), 105 deletions(-) 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 @@ - - - + + + - - - + + + - + - + - + - - - + - - + + - - - + + + - - - - + + + + - + - + - - +