From 346ae2e0793c9fce4a97d6d1df5dedcebdbd0d40 Mon Sep 17 00:00:00 2001
From: lyh <925863403@qq.com>
Date: 星期二, 11 二月 2025 17:59:52 +0800
Subject: [PATCH] mdc新增系统类型

---
 src/views/dnc/common/ImportFileModal.vue |   14 ++++++--------
 1 files changed, 6 insertions(+), 8 deletions(-)

diff --git a/src/views/dnc/common/ImportFileModal.vue b/src/views/dnc/common/ImportFileModal.vue
index 585022f..b058e42 100644
--- a/src/views/dnc/common/ImportFileModal.vue
+++ b/src/views/dnc/common/ImportFileModal.vue
@@ -59,12 +59,14 @@
         if (treeNodeInfo) {
           attributionId = treeNodeInfo.treeKey
           attributionType = treeNodeInfo.type
+          if (attributionType === 5 || attributionType === 6) docClassCode = 'NC'
+          else if (attributionType === 4) docClassCode = 'SEND'
+          else docClassCode = 'OTHER'
         } else {
           attributionId = tableRowInfo.attributionId
           attributionType = tableRowInfo.attributionType
+          docClassCode = tableRowInfo.param
         }
-        if (attributionType === 5 || attributionType === 6) docClassCode = 'NC'
-        else docClassCode = 'OTHER'
         this.uploadParams = Object.assign({}, { attributionId, attributionType, docClassCode })
         this.visible = true
       },
@@ -97,9 +99,7 @@
         return false
       },
 
-      /**
-       * 鐐瑰嚮涓婁紶鑷虫湇鍔″櫒鎸夐挳鏃惰Е鍙�
-       */
+      // 鐐瑰嚮涓婁紶鑷虫湇鍔″櫒鎸夐挳鏃惰Е鍙�
       handleUpload() {
         const { fileList, $notification, isUploadMultiple, uploadParams, $bus, handleModalClose } = this
         this.uploading = true
@@ -171,9 +171,7 @@
         this.fileList = newFileList
       },
 
-      /**
-       * 鎺у埗鏂囦欢涓婁紶绐楀彛鍏抽棴骞舵竻绌烘枃浠跺垪琛�
-       */
+      // 鎺у埗鏂囦欢涓婁紶绐楀彛鍏抽棴骞舵竻绌烘枃浠跺垪琛�
       handleModalClose() {
         this.visible = false
         this.fileList = []

--
Gitblit v1.9.3