From 27b5c216c98d06b3970e2f73e687d34d97c88863 Mon Sep 17 00:00:00 2001 From: WL Date: Fri, 21 Jun 2024 15:40:27 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dbug=EF=BC=9A#16407=20?= =?UTF-8?q?=E6=B8=85=E5=8D=95=E6=8E=92=E6=9F=A5=E5=90=8E=E5=8F=91=E7=8E=B0?= =?UTF-8?q?=E9=9A=90=E6=82=A3=EF=BC=8C=E9=9A=90=E6=82=A3=E6=95=B4=E6=94=B9?= =?UTF-8?q?=E6=9C=AA=E7=9C=8B=E5=88=B0=E6=95=B0=E6=8D=AE=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/js/useListData.js | 8 ++++++++ .../rectification/index.vue | 14 ++++++++++++-- 2 files changed, 20 insertions(+), 2 deletions(-) diff --git a/src/assets/js/useListData.js b/src/assets/js/useListData.js index 12d83fd..a1b79eb 100644 --- a/src/assets/js/useListData.js +++ b/src/assets/js/useListData.js @@ -1,5 +1,6 @@ import { nextTick, ref } from "vue"; import { getDataType } from "@/assets/js/utils.js"; +import { getLevels } from "@/request/data_dictionary.js"; /** * @param api {Function} 接口函数 @@ -97,3 +98,10 @@ export default function useListData(api, options = {}) { await fnResetPagination(otherParams), }; } + +export const layoutFnGetHiddenLevelList = async () => { + const resData = await getLevels({ + DICTIONARIES_ID: "5e7cf8620ba54ad89719d0be62133c7a", + }); + return ref(resData); +}; \ No newline at end of file diff --git a/src/views/hidden_danger_government/rectification/index.vue b/src/views/hidden_danger_government/rectification/index.vue index b36f8a0..27736a6 100644 --- a/src/views/hidden_danger_government/rectification/index.vue +++ b/src/views/hidden_danger_government/rectification/index.vue @@ -12,6 +12,13 @@ + + + + + + + { fnGetData({ @@ -159,6 +167,8 @@ const fnRectification = (row) => { query: { HIDDEN_ID: row.HIDDEN_ID, LIST_TYPE: row.LIST_TYPE }, }); }; +const relatedClassificationTempList = await layoutFnGetHiddenLevelList(); +const hiddenLevelList = relatedClassificationTempList.value.list;