username@email.com
2025-05-21 a980cd04341d71216e0f59bd4b7327fe9fc50032
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 + '=([^&]*)';