From 0af4ecb9b2047b8ba6d00e891050cf2d68b829a6 Mon Sep 17 00:00:00 2001
From: Surpriseplus <845948745@qq.com>
Date: 星期六, 27 五月 2023 20:41:18 +0800
Subject: [PATCH] 代码提交

---
 src/views/datamanage/uploadmanage.vue |   20 ++++++++++++--------
 1 files changed, 12 insertions(+), 8 deletions(-)

diff --git a/src/views/datamanage/uploadmanage.vue b/src/views/datamanage/uploadmanage.vue
index 0c8703d..a7fa715 100644
--- a/src/views/datamanage/uploadmanage.vue
+++ b/src/views/datamanage/uploadmanage.vue
@@ -576,6 +576,7 @@
   publish_update,
   publish_insert,
 } from '../../api/api.js'
+import { conditions } from '../Archive/Archive';
 
 export default {
   components: {
@@ -785,6 +786,7 @@
         var url = this.editLayer.url;
         this.editLayer.url = url.replace(iisHost, "{host}");
       }
+
       const data = await publish_update(this.editLayer);
       if (data.code != 200) {
         this.$message.error("鏁版嵁淇敼澶辫触")
@@ -1053,18 +1055,20 @@
 
         if (data.result) {
           var that = this
-          var val = data.result.filter((res) => {
-            if (res.createTime) {
-              res.createTime = that.format(res.createTime);
+          var val = data.result.filter((rs) => {
+            if (rs.createTime) {
+              rs.createTime = that.format(rs.createTime);
             }
-            if (res.updateTime) {
-              res.updateTime = that.format(res.updateTime);
+            if (rs.updateTime) {
+              rs.updateTime = that.format(rs.updateTime);
             }
-            if (res.url) {
-              res.url = res.url.replace("{host}", iisHost);
+            if (rs.url) {
+
+              rs.url = rs.url.replace("{host}", iisHost);
             }
-            return res
+            return rs
           })
+
           this.tableData = val;
           this.listData.count = data.count;
         }

--
Gitblit v1.9.3