From 1210d5c10991c9f843a1770364a30fbfd3c5a5d8 Mon Sep 17 00:00:00 2001
From: zouyu <2723363702@qq.com>
Date: 星期二, 13 一月 2026 13:17:45 +0800
Subject: [PATCH] 1.外购下单:标签打印功能调整 2.人员:培训计划导入导出添加【培训大类】字段 3.业务管理:报检新增【物料属性】字段选择,其余页面添加【物料属性】查询条件以及数据回显 4.标准库:布局优化,左侧选择树支持横向拖拽动态调整宽度

---
 src/views/CNAS/personnel/personnelInfo/components/ViewRecord.vue |   27 +++++++++++++++++----------
 1 files changed, 17 insertions(+), 10 deletions(-)

diff --git a/src/views/CNAS/personnel/personnelInfo/components/ViewRecord.vue b/src/views/CNAS/personnel/personnelInfo/components/ViewRecord.vue
index 36364cf..e9938c7 100644
--- a/src/views/CNAS/personnel/personnelInfo/components/ViewRecord.vue
+++ b/src/views/CNAS/personnel/personnelInfo/components/ViewRecord.vue
@@ -35,6 +35,7 @@
 import filePreview from '@/components/Preview/filePreview.vue';
 import limsTable from "@/components/Table/lims-table.vue";
 import {delTrainingDetailedFileList, getTrainingDetailedFileList} from "@/api/cnas/personal/personalTraining";
+import {delCustomById} from "@/api/system/customer";
 
 export default {
   name: 'ViewRecord',
@@ -126,15 +127,21 @@
     },
     // 鍒犻櫎
     delete (row) {
-      this.tableLoading = true
-      delTrainingDetailedFileList({detailedFileId: row.detailedFileId}).then(res => {
-        this.tableLoading = false
-        this.$message.success('鍒犻櫎鎴愬姛')
-        this.searchTableList()
-      }).catch(err => {
-        this.tableLoading = false
-        console.log('err---', err);
-      })
+      this.$confirm('鏄惁鍒犻櫎褰撳墠鏁版嵁?', "璀﹀憡", {
+        confirmButtonText: "纭畾",
+        cancelButtonText: "鍙栨秷",
+        type: "warning"
+      }).then(() => {
+        this.tableLoading = true
+        delTrainingDetailedFileList({detailedFileId: row.detailedFileId}).then(res => {
+          this.tableLoading = false
+          this.$message.success('鍒犻櫎鎴愬姛')
+          this.searchTableList()
+        }).catch(err => {
+          this.tableLoading = false
+          console.log('err---', err);
+        })
+      }).catch(() => {})
     },
     // 涓婁紶楠岃瘉
     fileBeforeUpload(file) {
@@ -167,7 +174,7 @@
   },
   computed: {
     fileAction() {
-      return this.javaApi + '/personTraining/delTrainingDetailedFileList'
+      return this.javaApi + '/personTraining/uploadTrainingDetailedFile'
 
     }
   },

--
Gitblit v1.9.3