From 744f42c5496e656a1f9927740a3b37c0b97a6cba Mon Sep 17 00:00:00 2001
From: buli <137736985@qq.com>
Date: 星期五, 14 七月 2023 14:34:12 +0800
Subject: [PATCH] lexcommunityupload0714
---
force-app/main/default/pages/SetPersonalTarget.page | 46 ++++++++++++++++++++++++++--------------------
1 files changed, 26 insertions(+), 20 deletions(-)
diff --git a/force-app/main/default/pages/SetPersonalTarget.page b/force-app/main/default/pages/SetPersonalTarget.page
index e53ff1c..bbf7c80 100644
--- a/force-app/main/default/pages/SetPersonalTarget.page
+++ b/force-app/main/default/pages/SetPersonalTarget.page
@@ -1,4 +1,4 @@
-<apex:page id="Page" showHeader="false" sidebar="false" Controller="SetPersonalTargetController" action="{!init}">
+<apex:page id="Page" showHeader="false" sidebar="false" Controller="SetPersonalTargetController" action="{!init}" lightningStylesheets="true">
<head>
<title>閮ㄩ棬鎷呭綋鑰呯洰鏍囪瀹氾紙鍖婚櫌鎷呭綋锛�</title>
@@ -111,23 +111,26 @@
unblockUI();
}
}
-function DisableAllButtons (actionText) {
- var button = document.getElementById("Page:Form:headBlock:updateToTarget");
- button.disabled = true;
- button.classList.add("btnDisabled");
-}
- //20200618 SWAG-BQ7CM9 娣诲姞UpdateJs 璋冪敤Apex 涓璘pdate鍑芥暟 by ljh
-function UpdateJs(actionText) {
- blockme_dark();
- if (window.confirm('纭畾瑕佸弽搴斿埌鐩爣鍚楋紵')) {
- Update();
- // j$(escapeVfId('Page:Form:headBlock:updateToTarget')).attr("disabled",true);
- // alert('璇风瓑寰呮彁绀恒�愬弽鏄犲埌鐩爣鎴愬姛銆戝湪鍋氬叾浠栨搷浣�');
- DisableAllButtons(actionText);
- } else {
- unblockUI();
- }
-}
+// 20220613 WLIG-CER9NQ you 椤甸潰涓嬁鎺夋敼鎴恇atch鎵ц
+// function DisableAllButtons (actionText) {
+// var button = document.getElementById("Page:Form:headBlock:updateToTarget");
+// button.disabled = true;
+// button.classList.add("btnDisabled");
+// }
+
+
+// //20200618 SWAG-BQ7CM9 娣诲姞UpdateJs 璋冪敤Apex 涓璘pdate鍑芥暟 by ljh
+// function UpdateJs(actionText) {
+// blockme_dark();
+// if (window.confirm('纭畾瑕佸弽搴斿埌鐩爣鍚楋紵')) {
+// Update();
+// // j$(escapeVfId('Page:Form:headBlock:updateToTarget')).attr("disabled",true);
+// // alert('璇风瓑寰呮彁绀恒�愬弽鏄犲埌鐩爣鎴愬姛銆戝湪鍋氬叾浠栨搷浣�');
+// DisableAllButtons(actionText);
+// } else {
+// unblockUI();
+// }
+// }
function nextJs() {
blockme();
if (j$(escapeVfId('Page:Form:editBlock:changeFlg')).value() == 1) {
@@ -264,8 +267,9 @@
</apex:actionFunction>
<!--CHAN-BDQBLX 20210125 you end -->
<apex:actionFunction name="save" action="{!saveBtn}" rerender="MessageP,editBlock" oncomplete="unblockUI();" />
+ <!--20220613 WLIG-CER9NQ you 椤甸潰涓嬁鎺夋敼鎴恇atch鎵ц-->
<!-- 20200618 SWAG-BQ7CM9 娣诲姞Update action function by ljh -->
- <apex:actionFunction name="Update" action="{!UpdateBtn}" rerender="MessageP,dataBlock" oncomplete="unblockUI();Secin();" />
+ <!--<apex:actionFunction name="Update" action="{!UpdateBtn}" rerender="MessageP,dataBlock" oncomplete="unblockUI();Secin();" /> -->
<apex:actionFunction name="next" action="{!next}" rerender="Form" oncomplete="unblockUI();">
<apex:param name="saveFlg" assignTo="{!saveFlg}" value="" />
</apex:actionFunction>
@@ -326,10 +330,12 @@
<apex:inputCheckBox value="{!p.check}" id="post" onchange="searchByFilterJs();return false;"/><apex:outputLabel value="{!p.positionName}" for="post"/>
</apex:repeat>
</td>
+ <!-- 20220613 WLIG-CER9NQ you 椤甸潰涓嬁鎺夋敼鎴恇atch鎵ц
<td align="right" width="80">
- <!-- 20200619 add 鍙嶅簲鍒扮洰鏍� 鎸夐挳 -->
+ 20200619 add 鍙嶅簲鍒扮洰鏍� 鎸夐挳
<apex:commandButton value="鍙嶅簲鍒扮洰鏍�" id="updateToTarget" style="margin-left: 20px;" rerender="dummy" onclick="UpdateJs(this);return false;" rendered="{!Not(isPast)}"/>
</td>
+ -->
<!--CHAN-BDQBLX 20210125 you start -->
<td width="80">
<apex:commandbutton onclick="exportJs();return false;" id="export" value="瀵煎嚭鏁版嵁妯℃澘">
--
Gitblit v1.9.1