From 07390e2fcb4adf27c928335bf27ae7939c5a80ad Mon Sep 17 00:00:00 2001
From: buli <137736985@qq.com>
Date: 星期二, 23 五月 2023 11:28:12 +0800
Subject: [PATCH] bakcup20230523

---
 force-app/main/default/pages/LostCreatePage1.page |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/force-app/main/default/pages/LostCreatePage1.page b/force-app/main/default/pages/LostCreatePage1.page
index 950111b..6c82717 100644
--- a/force-app/main/default/pages/LostCreatePage1.page
+++ b/force-app/main/default/pages/LostCreatePage1.page
@@ -66,7 +66,7 @@
         var opportunityid = getParam('CF00N10000004lbGT_lkid');
         console.log(opportunityid);
       	var str = '/apex/PCLLostReportPage?pageStatus=Create'  +'&oppId='+opportunityid +'&lostType=' +  '澶卞崟';
-        window.open(str,'_self');
+        // window.open(str,'_self');
 
     }
     //閮ㄥ垎澶卞崟
@@ -75,12 +75,15 @@
         var opportunityid = getParamFromUrl('CF00N10000004lbGT_lkid');
         console.log(opportunityid);
         var str = '/apex/PCLLostReportPage?pageStatus=Create'  +'&oppId='+opportunityid +'&lostType=' + '閮ㄥ垎澶卞崟';
-        window.open(str,'_self');
+        // window.open(str,'_self');
         
     }
 
     function getParam(paramName) {
         paramValue = "", isFound = !1;
+        console.log('11111');
+        console.log(this.location.search);
+        console.log('22222');
         if (this.location.search.indexOf("?") == 0 && this.location.search.indexOf("=") > 1) {
             arrSource = decodeURI(this.location.search).substring(1, this.location.search.length).split("&"), i = 0;
             while (i < arrSource.length && !isFound) arrSource[i].indexOf("=") > 0 && arrSource[i].split("=")[0].toLowerCase() == paramName.toLowerCase() && (paramValue = arrSource[i].split("=")[1], isFound = !0), i++

--
Gitblit v1.9.1