From d4bc592b5d0c42bc69abd5bd6334c191205dc244 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期六, 09 五月 2026 17:42:14 +0800
Subject: [PATCH] 浪潮 1.日志前端页面开发与联调 2.仓库盘点页面开发与联调

---
 src/views/basicData/customerFile/index.vue |   17 ++++++++++++-----
 1 files changed, 12 insertions(+), 5 deletions(-)

diff --git a/src/views/basicData/customerFile/index.vue b/src/views/basicData/customerFile/index.vue
index 66ef08d..104a4ff 100644
--- a/src/views/basicData/customerFile/index.vue
+++ b/src/views/basicData/customerFile/index.vue
@@ -133,6 +133,7 @@
             </el-form-item>
           </el-col>
         </el-row>
+        <!-- 鑱旂郴浜哄姛鑳藉凡杩佺Щ鍒拌仈绯讳汉绠$悊椤甸潰
         <el-row :gutter="30"
                 v-for="(contact, index) in formYYs.contactList"
                 :key="index">
@@ -165,6 +166,7 @@
         </el-row>
         <el-button @click="addNewContact"
                    style="margin-bottom: 10px;">+ 鏂板鑱旂郴浜�</el-button>
+        -->
         <el-row :gutter="30">
           <el-col :span="12">
             <el-form-item label="缁存姢浜猴細"
@@ -211,7 +213,8 @@
                  :limit="1"
                  accept=".xlsx, .xls"
                  :headers="upload.headers"
-                 :action="upload.url + '?updateSupport=' + upload.updateSupport"
+                 :action="upload.url"
+                 :data="upload.data"
                  :disabled="upload.isUploading"
                  :before-upload="upload.beforeUpload"
                  :on-progress="upload.onProgress"
@@ -429,6 +432,7 @@
               </div>
             </el-col>
           </el-row>
+          <!-- 鑱旂郴浜轰俊鎭凡杩佺Щ鍒拌仈绯讳汉绠$悊椤甸潰
           <el-row :gutter="20">
             <el-col :span="12">
               <div class="info-item">
@@ -443,6 +447,7 @@
               </div>
             </el-col>
           </el-row>
+          -->
           <el-row :gutter="20">
             <el-col :span="12">
               <div class="info-item">
@@ -612,7 +617,6 @@
   import { onMounted, ref, reactive, getCurrentInstance, toRefs } from "vue";
   import { Search, Paperclip, Upload } from "@element-plus/icons-vue";
   import {
-    delCustomerPrivate,
     addCustomerFollow,
     updateCustomerFollow,
     delCustomerFollow,
@@ -898,7 +902,10 @@
     // 璁剧疆涓婁紶鐨勮姹傚ご閮�
     headers: { Authorization: "Bearer " + getToken() },
     // 涓婁紶鐨勫湴鍧�
-    url: import.meta.env.VITE_APP_BASE_API + "/customerPrivate/importData",
+    url: import.meta.env.VITE_APP_BASE_API + "/basic/customer/importData",
+    data: {
+      type: 0
+    },
     // 鏂囦欢涓婁紶鍓嶇殑鍥炶皟
     beforeUpload: file => {
       console.log("鏂囦欢鍗冲皢涓婁紶", file);
@@ -991,7 +998,7 @@
   }
   /** 涓嬭浇妯℃澘 */
   function importTemplate() {
-    proxy.download("/customerPrivate/downloadTemplate", {}, "瀹㈡埛瀵煎叆妯℃澘.xlsx");
+    proxy.download("/basic/customer/downloadTemplate", {}, "瀹㈡埛瀵煎叆妯℃澘.xlsx");
   }
   // 鎵撳紑寮规
   const openForm = (type, row) => {
@@ -1080,7 +1087,7 @@
       type: "warning",
     })
       .then(() => {
-        proxy.download("/customerPrivate/export", {}, "瀹㈡埛妗f.xlsx");
+        proxy.download("/basic/customer/export", {type: 0}, "瀹㈡埛妗f.xlsx");
       })
       .catch(() => {
         proxy.$modal.msg("宸插彇娑�");

--
Gitblit v1.9.3