From 8d51a0762a43eedada5eb15bd24180d7204e63b3 Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期五, 17 一月 2025 08:58:19 +0800
Subject: [PATCH] 报销流程
---
CY_ECommercePlatform/CY.WebForm/Pages/business/CorporateClientsUpLoadContract.aspx | 30 ++++++++++++++++++++++++++++--
1 files changed, 28 insertions(+), 2 deletions(-)
diff --git a/CY_ECommercePlatform/CY.WebForm/Pages/business/CorporateClientsUpLoadContract.aspx b/CY_ECommercePlatform/CY.WebForm/Pages/business/CorporateClientsUpLoadContract.aspx
index 38cd8c1..4305042 100644
--- a/CY_ECommercePlatform/CY.WebForm/Pages/business/CorporateClientsUpLoadContract.aspx
+++ b/CY_ECommercePlatform/CY.WebForm/Pages/business/CorporateClientsUpLoadContract.aspx
@@ -12,7 +12,19 @@
<uc:CMSHead ID="CMSHead1" runat="server" />
-
+ <style>
+ .toast-message {
+ position: absolute;
+ width: 90px; /* 鍥哄畾瀹藉害 */
+ height: 60px; /* 鍥哄畾楂樺害 */
+ top: 50%;
+ left: 50%;
+ transform: translate(-50%, -50%); /* 璋冩暣浣嶇疆浣垮叾灞呬腑 */
+ background-color: lightblue;
+ font-size: 20px; /* 璁剧疆鏂囧瓧澶у皬 */
+ text-align: center; /* 璁剧疆鏂囧瓧灞呬腑 */
+ }
+</style>
</head>
<body>
<form id="form1" runat="server">
@@ -31,7 +43,10 @@
<td class="ali03">
<input type="file" id="filesel" name="__hetongFile" keepdefaultstyle="true" runat="server" text="璇烽�夋嫨鏂囦欢" /></td>
<td>
- <asp:Button ID="UpdateFileNew" Text="涓婁紶" runat="server" OnClick="btn_Submit_Click" OnClientClick="return checkSelFile()" /></td>
+ <asp:Button ID="UpdateFileNew" Text="涓婁紶" runat="server" OnClick="btn_Submit_Click" OnClientClick="return checkSelFile()" />
+<div id="loading" class="toast-message" style="display: none;">涓婁紶涓紒</div>
+ </td>
+
</tr>
</table>
@@ -148,6 +163,7 @@
}
//debugger;
//replaceParamVal("deleteKeyIds", "");
+ showLoadingIndicator();
return true;
}
//鏌ョ湅
@@ -164,11 +180,21 @@
return false;
}
+ showLoadingIndicator();
//debugger;
//replaceParamVal("deleteKeyIds", "");
return true;
}
+
+ function showLoadingIndicator() {
+ document.getElementById('loading').style.display = 'block';
+ }
+
+ function hideLoadingIndicator() {
+ document.getElementById('loading').style.display = 'none';
+ }
+
//鏀瑰彉鍙傛暟
function changeURLArg(url, arg, arg_val) {
var pattern = arg + '=([^&]*)';
--
Gitblit v1.9.1