From 596757e77e44d3af5eaa5ab96a32b3ea123bfc9e Mon Sep 17 00:00:00 2001
From: liwentao <1376563863@qq.com>
Date: 星期一, 22 五月 2023 16:41:59 +0800
Subject: [PATCH] 市场活动页面: 学会名单 【学会*培训】选项卡 - 找到学会数据 - 点击【参会人员名单】按钮 - 点击【参会人员】输入框 【学会*培训】选项卡 - 找到学会数据 - 点击【参会人员名单】按钮 学会时间修改

---
 force-app/main/default/lwc/lexYanshoudanRequest/lexYanshoudanRequest.js |   16 +++++++---------
 1 files changed, 7 insertions(+), 9 deletions(-)

diff --git a/force-app/main/default/lwc/lexYanshoudanRequest/lexYanshoudanRequest.js b/force-app/main/default/lwc/lexYanshoudanRequest/lexYanshoudanRequest.js
index 84fe55d..97a70c1 100644
--- a/force-app/main/default/lwc/lexYanshoudanRequest/lexYanshoudanRequest.js
+++ b/force-app/main/default/lwc/lexYanshoudanRequest/lexYanshoudanRequest.js
@@ -33,7 +33,6 @@
     }
 
     connectedCallback() {
-        console.log(this.recordId);
         init({
             recordId: this.recordId
         }).then(result => {
@@ -47,9 +46,7 @@
             }
         }).catch(error => {
             console.log(error);
-        }).finally(() => {
-
-        });
+        })
     }
 
     // 楠屾敹鍗曞洖鏀剁敵璇�
@@ -58,12 +55,13 @@
             recordId: this.Id
         }).then(result => {
             console.log(result);
-            if (result.length > 0) {
-                var indexs = result.indexOf(": ")
-                var resolves = result.substring(indexs + 1, result.length);
-                alert(resolves);
+            if (result != null) {
+                if (result.length > 0) {
+                    var split = result.split(", ");
+                    alert(split[1]);
+                }
             }
-            location.reload();
+            alert("宸茬粡鐢宠杩囦簡锛屼笉鍏佽閲嶆柊鐢宠");
         })
     }
 

--
Gitblit v1.9.1