From 04b1a9cfde4049be9a38b9832d5289d4a192c883 Mon Sep 17 00:00:00 2001
From: yyb <995253665@qq.com>
Date: 星期五, 15 五月 2026 16:29:33 +0800
Subject: [PATCH] 加班申请模块和审批流程公共组件

---
 src/components/ProcessParamListDialog.vue |   20 ++++++++------------
 1 files changed, 8 insertions(+), 12 deletions(-)

diff --git a/src/components/ProcessParamListDialog.vue b/src/components/ProcessParamListDialog.vue
index dffb7b5..38e892d 100644
--- a/src/components/ProcessParamListDialog.vue
+++ b/src/components/ProcessParamListDialog.vue
@@ -16,7 +16,7 @@
               <Plus />
             </el-icon>鏂板
           </el-button>
-          <el-button v-if="editable"
+          <!-- <el-button v-if="editable"
                      type="primary"
                      link
                      size="small"
@@ -24,7 +24,7 @@
             <el-icon>
               <Refresh />
             </el-icon>鍚屾宸ュ簭鍙傛暟
-          </el-button>
+          </el-button> -->
         </div>
       </div>
       <div class="params-list">
@@ -144,9 +144,8 @@
         </div>
       </div>
       <template #footer>
+        <el-button type="primary" @click="handleParamSelectSubmit">纭畾</el-button>
         <el-button @click="selectParamDialogVisible = false">鍙栨秷</el-button>
-        <el-button type="primary"
-                   @click="handleParamSelectSubmit">纭畾</el-button>
       </template>
     </el-dialog>
     <!-- 缂栬緫鍙傛暟瀵硅瘽妗� -->
@@ -179,9 +178,8 @@
         </el-form-item>
       </el-form>
       <template #footer>
+        <el-button type="primary" @click="handleEditParamSubmit">纭畾</el-button>
         <el-button @click="editParamDialogVisible = false">鍙栨秷</el-button>
-        <el-button type="primary"
-                   @click="handleEditParamSubmit">纭畾</el-button>
       </template>
     </el-dialog>
   </el-dialog>
@@ -374,10 +372,9 @@
     // 璋冪敤API鏂板鍙傛暟
     if (props.pageType === "order") {
       addProcessRouteItemParamOrder({
-        orderId: Number(props.orderId),
-        // processId: props.process.id,
-        routeItemId: props.process.id,
-        // routeItemId: Number(props.routeId),
+        productionOrderId: Number(props.orderId),
+        productionOrderRoutingOperationId: props.process.id,
+        technologyRoutingOperationParamId: props.process.id,
         paramId: selectedParam.value.id,
         standardValue: selectedParam.value.standardValue || "",
         isRequired: selectedParam.value.isRequired || 0,
@@ -428,10 +425,9 @@
         if (props.pageType === "order") {
           editProcessRouteItemParamOrder({
             id: editParamForm.value.id,
-            // routeItemId: props.process.id,
-            // paramId: editParamForm.value.paramId,
             standardValue: editParamForm.value.standardValue || "",
             isRequired: editParamForm.value.isRequired || 0,
+            // productionOrderRoutingOperationId: props.process.id,
           })
             .then(res => {
               if (res.code === 200) {

--
Gitblit v1.9.3