From d6a9cc70d5fdedd9618849dd1e5d8fd7b41c6dc8 Mon Sep 17 00:00:00 2001
From: zhanghl <253316343@qq.com>
Date: 星期二, 15 四月 2025 15:08:37 +0800
Subject: [PATCH] 重新组织文件结构

---
 src/views/mainPlan/apsPartRoutStat/index.vue |    2 
 src/api/mainPlan/partRouteStat.js            |    2 
 src/views/mainPlan/platePlan/index.vue       |  131 +++++++++++++++++++++----------------------
 src/views/basicData/resourceGroup/index.vue  |    6 +-
 4 files changed, 70 insertions(+), 71 deletions(-)

diff --git a/src/api/ApsPartRouteStat/ApsPartRouteStat.js b/src/api/mainPlan/partRouteStat.js
similarity index 96%
rename from src/api/ApsPartRouteStat/ApsPartRouteStat.js
rename to src/api/mainPlan/partRouteStat.js
index 79c36b7..127e9e1 100644
--- a/src/api/ApsPartRouteStat/ApsPartRouteStat.js
+++ b/src/api/mainPlan/partRouteStat.js
@@ -1,4 +1,4 @@
-import request from '@/utils/request'
+import request from '@/utils/request.js'
 
 // 鏌ヨ闆朵欢缁熻琛ㄥ垪琛�
 export function listApsPartRouteStat(query) {
diff --git a/src/views/basicData/ApsResourceGroup/index.vue b/src/views/basicData/resourceGroup/index.vue
similarity index 98%
rename from src/views/basicData/ApsResourceGroup/index.vue
rename to src/views/basicData/resourceGroup/index.vue
index 2c27b4c..8ffcc2d 100644
--- a/src/views/basicData/ApsResourceGroup/index.vue
+++ b/src/views/basicData/resourceGroup/index.vue
@@ -157,9 +157,9 @@
 </template>
 
 <script setup name="ApsResourceGroup">
-import { listApsResourceGroup, getApsResourceGroup, delApsResourceGroup, addApsResourceGroup, updateApsResourceGroup,apsResourceGroupTempList,confirmApsResourceGroup } from "@/api/basicData/ApsResourceGroup";
-import HxlhTable from '@/components/HxlhTable'
-import { getToken } from "@/utils/auth";
+import { listApsResourceGroup, getApsResourceGroup, delApsResourceGroup, addApsResourceGroup, updateApsResourceGroup,apsResourceGroupTempList,confirmApsResourceGroup } from "@/api/basicData/ApsResourceGroup.js";
+import HxlhTable from '@/components/HxlhTable/index.vue'
+import { getToken } from "@/utils/auth.js";
 import { ref } from "vue";
 import { ElMessage } from 'element-plus'
 const { proxy } = getCurrentInstance();
diff --git a/src/views/ApsPartRouteStat/index.vue b/src/views/mainPlan/apsPartRoutStat/index.vue
similarity index 98%
rename from src/views/ApsPartRouteStat/index.vue
rename to src/views/mainPlan/apsPartRoutStat/index.vue
index 5ac9332..dbda14c 100644
--- a/src/views/ApsPartRouteStat/index.vue
+++ b/src/views/mainPlan/apsPartRoutStat/index.vue
@@ -26,7 +26,7 @@
 </template>
 
 <script setup name="apsPartRouteStat">
-import { query,updateStat } from "@/api/ApsPartRouteStat/ApsPartRouteStat";
+import { query,updateStat } from "@/api/mainPlan/partRouteStat.js";
 import { ref } from "vue";
 import * as XLSX from 'xlsx';
 
diff --git a/src/views/ApsPlatePlan/index.vue b/src/views/mainPlan/platePlan/index.vue
similarity index 92%
rename from src/views/ApsPlatePlan/index.vue
rename to src/views/mainPlan/platePlan/index.vue
index 79e9624..fa6e073 100644
--- a/src/views/ApsPlatePlan/index.vue
+++ b/src/views/mainPlan/platePlan/index.vue
@@ -199,11 +199,11 @@
 </template>
 
 <script setup name="ApsPlatePlan">
-import { listPlan, examplePlan, confirmPart} from "@/api/mainPlan/apsPlatePlan";
-import { listProcessRoute } from "@/api/basicData/processRoute";
-import HxlhTable from '@/components/HxlhTable'
+import { listPlan, examplePlan, confirmPart} from "@/api/mainPlan/apsPlatePlan.js";
+import { listProcessRoute } from "@/api/basicData/processRoute.js";
+import HxlhTable from '@/components/HxlhTable/index.vue'
 import { ref } from "vue";
-import { getToken } from "@/utils/auth";
+import { getToken } from "@/utils/auth.js";
 import {ElMessage} from "element-plus";
 
 const { proxy } = getCurrentInstance();
@@ -785,66 +785,66 @@
       width: 150,
       align:"center",
     },
-    // {
-    //   title: '宸ュ簭搴忓彿',
-    //   field: 'processNumber',
-    //   width: 100,
-    //   align:"center",
-    // },
-    // {
-    //   title: '宸ュ簭鍚嶇О',
-    //   field: 'processName',
-    //   width: 150,
-    //   align:"center",
-    // },
-    // {
-    //   title: '宸ュ簭璁″垝寮�濮嬫棩鏈�',
-    //   field: 'processPlanStartDay',
-    //   width: 200,
-    //   align:"center",
-    // },
-    // {
-    //   title: '宸ュ簭璁″垝缁撴潫鏃ユ湡',
-    //   field: 'processPlanEndDay',
-    //   width: 200,
-    //   align:"center",
-    // },
-    // {
-    //   title: '鏈紑宸ユ暟閲�',
-    //   field: 'notStartWorkCount',
-    //   width: 90,
-    //   align:"center",
-    // },
-    // {
-    //   title: '宸插畬鎴愭暟閲�',
-    //   field: 'completedCount',
-    //   width: 90,
-    //   align:"center",
-    // },
-    // {
-    //   title: '搴熷純鏁伴噺',
-    //   field: 'discardCount',
-    //   width: 90,
-    //   align:"center",
-    // },
-    // {
-    //   title: '鏍囧噯宸ユ椂',
-    //   field: 'standardTime',
-    //   width: 90,
-    //   align:"center",
-    // },
-    // {
-    //   title: '宸ュ簭鎺掑簭',
-    //   field: 'processOrder',
-    //   width: 90,
-    //   align:"center",
-    // },
-    // {
-    //   title: '闆嗘垚鏃ユ湡',
-    //   field: 'integrationDay',
-    //   width: 160,
-    //   align:"center",
-    // }
+    {
+      title: '宸ュ簭搴忓彿',
+      field: 'processNumber',
+      width: 100,
+      align:"center",
+    },
+    {
+      title: '宸ュ簭鍚嶇О',
+      field: 'processName',
+      width: 150,
+      align:"center",
+    },
+    {
+      title: '宸ュ簭璁″垝寮�濮嬫棩鏈�',
+      field: 'processPlanStartDay',
+      width: 200,
+      align:"center",
+    },
+    {
+      title: '宸ュ簭璁″垝缁撴潫鏃ユ湡',
+      field: 'processPlanEndDay',
+      width: 200,
+      align:"center",
+    },
+    {
+      title: '鏈紑宸ユ暟閲�',
+      field: 'notStartWorkCount',
+      width: 90,
+      align:"center",
+    },
+    {
+      title: '宸插畬鎴愭暟閲�',
+      field: 'completedCount',
+      width: 90,
+      align:"center",
+    },
+    {
+      title: '搴熷純鏁伴噺',
+      field: 'discardCount',
+      width: 90,
+      align:"center",
+    },
+    {
+      title: '鏍囧噯宸ユ椂',
+      field: 'standardTime',
+      width: 90,
+      align:"center",
+    },
+    {
+      title: '宸ュ簭鎺掑簭',
+      field: 'processOrder',
+      width: 90,
+      align:"center",
+    },
+    {
+      title: '闆嗘垚鏃ユ湡',
+      field: 'integrationDay',
+      width: 160,
+      align:"center",
+    }
   ]
 })
 const expandConfig = ref({
@@ -852,8 +852,7 @@
   loadMethod ({ row }) {
     debugger;
     // 璋冪敤鎺ュ彛
-    return listProcessRoute({'documentNumber':row.documentNumber}).then(data => {
-
+    return listProcessRoute({'workOrderNo':row.documentNumber}).then(data => {
       row.subList = data.rows;
       debugger;
     })

--
Gitblit v1.9.3