From 2a146bcbd2c3752d699338bad39a07feabe6890e Mon Sep 17 00:00:00 2001
From: chenhj <1263187585@qq.com>
Date: 星期五, 26 十二月 2025 16:39:52 +0800
Subject: [PATCH] 产品结构

---
 src/views/productionManagement/productStructure/index.vue |    9 +++------
 1 files changed, 3 insertions(+), 6 deletions(-)

diff --git a/src/views/productionManagement/productStructure/index.vue b/src/views/productionManagement/productStructure/index.vue
index 44fae1c..bdbec9c 100644
--- a/src/views/productionManagement/productStructure/index.vue
+++ b/src/views/productionManagement/productStructure/index.vue
@@ -28,11 +28,9 @@
 
 <script setup>
 import {ref} from "vue";
-import {
-  modelPage,
-} from "@/api/basicData/product.js";
+import {productModelList} from "@/api/basicData/productModel.js";
 
-const StructureEdit = () => import('@/views/productionManagement/productStructure/StructureEdit.vue')
+const StructureEdit = defineAsyncComponent(() => import('@/views/productionManagement/productStructure/StructureEdit.vue'))
 
 const tableColumn = ref([
   {
@@ -88,11 +86,10 @@
 };
 const getModelList = () => {
   tableLoading.value = true;
-  modelPage({
+  productModelList({
     current: page.current,
     size: page.size,
   }).then((res) => {
-    console.log("res", res);
     tableData.value = res.records;
     page.total = res.total;
     tableLoading.value = false;

--
Gitblit v1.9.3