From 48c0c556e314052229692508d3d24285343b7961 Mon Sep 17 00:00:00 2001
From: LSH
Date: 星期三, 29 十一月 2023 15:00:42 +0800
Subject: [PATCH] #

---
 src/main/webapp/static/js/priQuote/priQuote.js |   17 ++++++++++-------
 1 files changed, 10 insertions(+), 7 deletions(-)

diff --git a/src/main/webapp/static/js/priQuote/priQuote.js b/src/main/webapp/static/js/priQuote/priQuote.js
index 50292da..2e3a6e4 100644
--- a/src/main/webapp/static/js/priQuote/priQuote.js
+++ b/src/main/webapp/static/js/priQuote/priQuote.js
@@ -147,6 +147,9 @@
             pageSize: 'limit'
         },
         parseData: function (res) {
+            res.data.records.forEach((item,index) => {
+                item.nowUserId = nowUserId2
+            })
             return {
                 'code': res.code,
                 'msg': res.msg,
@@ -242,7 +245,7 @@
                 success: function (res) {
                     if (res.code === 200){
                         layer.close(index)
-                        console.log(res)
+                        // console.log(res)
                     } else if (res.code === 403){
                         top.location.href = baseUrl+"/";
                     } else {
@@ -251,7 +254,7 @@
                 }
             });
         }).catch((e) => {
-            console.log(e)
+            // console.log(e)
             layer.msg('涓婁紶澶辫触', {icon: 2});
             $("#upload-file-id-" + file.lastModified).html("涓婁紶澶辫触")
         })
@@ -287,7 +290,7 @@
     // 鐩戝惉澶村伐鍏锋爮浜嬩欢
     table.on('toolbar(priQuote)', function (obj) {
         var checkStatus = table.checkStatus(obj.config.id);
-        console.log(checkStatus)
+        // console.log(checkStatus)
         switch(obj.event) {
             case 'addBlank':
                 showEditModel();
@@ -423,7 +426,7 @@
                 break;
             case 'more':
                 top.priQuoteByMore = data.id;
-                console.log(top.priQuoteByMore)
+                // console.log(top.priQuoteByMore)
 
                 admin.popupRight({
                     type: 1,
@@ -436,7 +439,7 @@
                 })
                 break;
             case "quote":
-                console.log(data)
+                // console.log(data)
                 layer.open({
                     type: 2,
                     title: '鎶ヤ环鍗曠紪杈�',
@@ -477,7 +480,7 @@
             case "uploadLink":
                 // 鎵撳紑寮圭獥
                 // 鏋勫缓甯﹀弬鏁扮殑鍐呭
-                console.log(data)
+                // console.log(data)
                 layer.open({
                     type: 1,
                     title: '涓婁紶鏂囦欢-'+data.itemId+'-'+data.id,
@@ -526,7 +529,7 @@
 
     // 鐐瑰嚮涓嬭浇鎸夐挳鏃惰Е鍙戞枃浠朵笅杞�
     $('#data-btn-file3').on('click', 'a', function() {
-        console.log(this)
+        // console.log(this)
         var downloadUrl = $(this).attr('href');
         let url = getObjectUrl(downloadUrl)
         layer.msg("鍑嗗涓嬭浇涓�", {icon: 1});

--
Gitblit v1.9.1