From c3f66fc27b88f51a3e23e396f8609919d3443dd6 Mon Sep 17 00:00:00 2001
From: dy <dingyang@lnfxkj.tech>
Date: 星期三, 16 四月 2025 16:16:36 +0800
Subject: [PATCH] 焊缝统计页面按钮权限

---
 src/views/basicData/processRoute/index.vue |   27 +++++++++++----------------
 1 files changed, 11 insertions(+), 16 deletions(-)

diff --git a/src/views/basicData/processRoute/index.vue b/src/views/basicData/processRoute/index.vue
index 94e9578..ed21c35 100644
--- a/src/views/basicData/processRoute/index.vue
+++ b/src/views/basicData/processRoute/index.vue
@@ -44,7 +44,7 @@
           plain 
           icon="Upload" 
           @click="handleImport" 
-          v-hasPermi="['processRoute:processRoute:import']"
+          v-hasPermi="['processRoute:processRoute:importData']"
           >瀵煎叆</el-button>
       </el-col>
       <el-col :span="1.5">
@@ -68,7 +68,7 @@
     >
     </HxlhTable>
   <!-- 鐢ㄦ埛瀵煎叆瀵硅瘽妗� -->
-  <el-dialog :title="upload.title" v-model="upload.open" width="90%" append-to-body>
+  <el-dialog :title="upload.title" v-model="upload.open" width="90%" append-to-body @close="dialogCancel">
       <el-row :gutter="10">
         <el-col>
           <div style="border-bottom: 1px solid #ccc;" >
@@ -93,20 +93,6 @@
               </div>
             </template>
           </el-upload>
-        </el-col>
-      </el-row>
-      <el-row style="margin-top: 20px;">
-        <el-col>
-          <div>
-            <el-button
-              type="success"
-              plain
-              icon="Check"
-              :disabled="planned"
-              @click="uploadParse"
-              v-hasPermi="['partPlan:edit']"
-            >涓婁紶骞惰В鏋�</el-button>
-          </div>
         </el-col>
       </el-row>
       <el-row>
@@ -142,6 +128,14 @@
       </el-row>
       <template #footer>
         <div class="dialog-footer">
+          <el-button
+            type="success"
+            plain
+            icon="Check"
+            :disabled="planned"
+            @click="uploadParse"
+            v-hasPermi="['processRoute:processRoute:confirmProcessRoute']"
+          >纭涓婁紶</el-button>
           <el-button @click="dialogCancel">鍙� 娑�</el-button>
         </div>
       </template>
@@ -547,6 +541,7 @@
   isError.value = false;
   planned.value = true;
   upload.open = false;
+  upload.isUploading = false;
 }
 getList();
 </script>

--
Gitblit v1.9.3