From eb7e4c1a855a7382ba5a8ca121b6c11e0087c55a Mon Sep 17 00:00:00 2001
From: yangys <y_ys79@sina.com>
Date: 星期一, 22 九月 2025 19:04:14 +0800
Subject: [PATCH] 工控网显示临时更改单号

---
 src/views/wel/shemi.vue |   15 ++++++++++-----
 1 files changed, 10 insertions(+), 5 deletions(-)

diff --git a/src/views/wel/shemi.vue b/src/views/wel/shemi.vue
index 4ec79b4..d5013df 100644
--- a/src/views/wel/shemi.vue
+++ b/src/views/wel/shemi.vue
@@ -36,7 +36,7 @@
                   style="margin-right: 6px;">
                   <Delete />
                 </el-icon>娓呯┖</el-button>
-              <el-button type="danger" @click="refresh()">閲嶇疆琛ㄦ牸</el-button>
+              <el-button type="danger" @click="refresh()">杩斿洖鐩綍</el-button>
             </el-col>
           </el-row>
         </template>
@@ -93,7 +93,7 @@
                   style="margin-right: 6px;">
                   <Delete />
                 </el-icon>娓呯┖</el-button>
-                <el-button type="danger" @click="refresh()">閲嶇疆琛ㄦ牸</el-button>
+                <el-button type="danger" @click="refresh()">杩斿洖鐩綍</el-button>
             </el-col>
           </el-row>
         </template>
@@ -641,7 +641,7 @@
     handleDownload(row){
       NProgress.start();
       exportBlob(
-          `/blade-mdm/program/node/download-by-nodeid?nodeId=${row.id}`
+          `/blade-mdm/program/nodehis/download-by-nodeid?nodeId=${row.id}`
       ).then(res => {
           if (res.status !== 200) {
               return this.$message.error(res.msg);
@@ -804,7 +804,12 @@
       res => {
         
         if(res.data.code === 200) {
-          this.hisFileTableData = res.data.data
+          this.hisFileTableData = res.data.data;
+          if(this.hisFileTableData.length > 0){
+            this.showHisContent(this.hisFileTableData[0])
+            this.$refs.hisFilesTable.setCurrentRow(this.hisFileTableData[0]);
+          }
+          
         } else {
           this.$message.error('绋嬪簭鍐呭鍔犺浇澶辫触');
         }
@@ -818,7 +823,7 @@
         params: {nodeId: row.id}
       }).then(
       res => {
-        console.log(res)
+        
         if(res.data.code === 200) {
             this.hisFileContent = res.data.data;
         } else {

--
Gitblit v1.9.3