From d05f9ab130f703ea41a9a1b378456cf7b381a8e8 Mon Sep 17 00:00:00 2001 From: ko1234 Date: Fri, 6 Dec 2024 17:18:18 +0800 Subject: [PATCH] =?UTF-8?q?forge=E5=AE=9A=E4=BD=8D=E4=BF=AE=E6=94=B9=20|?= =?UTF-8?q?=20=E9=81=8B=E7=B6=AD=E5=A4=A7=E9=A1=9E=E5=B0=8F=E9=A1=9E?= =?UTF-8?q?=E6=90=9C=E5=B0=8B=E3=80=81=E5=BB=A0=E5=95=86=E9=9D=9E=E5=BF=85?= =?UTF-8?q?=E5=A1=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apis/asset/index.js | 4 +-- src/components/forge/Forge.vue | 34 +++++++++++++++++-- src/components/forge/ForgeForSystem.vue | 16 ++++++++- src/hooks/forge/useForgeSprite.js | 30 ++++++++++------ .../components/AssetSubList.vue | 4 +-- .../components/OperationActionButton.vue | 14 ++------ .../operation/components/OperationSearch.vue | 23 ++----------- .../components/OperationSearchSubSys.vue | 31 +++++++++++------ .../components/OperationTableModal.vue | 17 ++++------ 9 files changed, 102 insertions(+), 71 deletions(-) diff --git a/src/apis/asset/index.js b/src/apis/asset/index.js index 91a9098..d50854b 100644 --- a/src/apis/asset/index.js +++ b/src/apis/asset/index.js @@ -17,8 +17,8 @@ import instance from "@/util/request"; import apihandler from "@/util/apihandler"; import { object } from "yup"; -export const getAssetSubList = async (variable_id) => { - const res = await instance.post(GET_ASSET_SUB_LIST_API, { variable_id }); +export const getAssetSubList = async (id) => { + const res = await instance.post(GET_ASSET_SUB_LIST_API, { id }); return apihandler(res.code, res.data, { msg: res.msg, diff --git a/src/components/forge/Forge.vue b/src/components/forge/Forge.vue index 5013130..e55b62d 100644 --- a/src/components/forge/Forge.vue +++ b/src/components/forge/Forge.vue @@ -1,7 +1,7 @@ diff --git a/src/views/operation/components/OperationSearchSubSys.vue b/src/views/operation/components/OperationSearchSubSys.vue index bfef454..4ca981c 100644 --- a/src/views/operation/components/OperationSearchSubSys.vue +++ b/src/views/operation/components/OperationSearchSubSys.vue @@ -1,12 +1,12 @@