From a5b2428bc6ebac0210e4c552f61e7c5e1f1c9134 Mon Sep 17 00:00:00 2001 From: wzp <2040239371@qq.com> Date: 星期四, 24 十一月 2022 15:25:48 +0800 Subject: [PATCH] 优化多项 --- web/web/GwClient.aspx | 63 ++++++++++++------------------- 1 files changed, 24 insertions(+), 39 deletions(-) diff --git a/web/web/GwClient.aspx b/web/web/GwClient.aspx index 277511f..b9deaa8 100644 --- a/web/web/GwClient.aspx +++ b/web/web/GwClient.aspx @@ -1,11 +1,17 @@ 锘�<%@ Page Language="C#" MasterPageFile="~/Main.master" AutoEventWireup="true" CodeFile="GwClient.aspx.cs" Inherits="_GwClient" %> <asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server"> + <script type="text/javascript" src="/web/js/jquery.min.js?v=2.1.4"></script> <%--<link href="css/plugins/bootstrap-fileinput/fileinput.min.css" rel="stylesheet"/> <script src="js/plugins/bootstrap-fileinput/fileinput.min.js" type="text/javascript"></script>--%> <script type="text/javascript"> $(document).ready(function () { $("textarea").numberedtextarea(); + + //鍏ㄩ�� + $("#checkAll").click(function () { + $("input[name='checkbox']").prop("checked", $(this).is(":checked")); + }); $(document).on("click", ".action-query", function () { loadPageList(); @@ -369,10 +375,9 @@ return pwd; } - //鍏ㄩ�� - $("#checkAll").click(function () { - $("input[name='checkbox']").prop("checked", $(this).is(":checked")); - }); + + + //鎵归噺鍒嗛厤涓�т骇鍝�:鎵撳紑鐣岄潰 $(document).on("click", ".action-modal-setProduct", function () { @@ -476,7 +481,7 @@ document.execCommand('copy'); element.remove ? element.remove() : element.removeNode(true); } - mytek.alert("澶嶅埗鎴愬姛锛�", false); + mytek.alert("澶嶅埗鎴愬姛锛�", true); }); @@ -698,7 +703,7 @@ </div> <div class="form-group"> <label class="control-label col-sm-2"> - 璁¤垂鏂瑰紡 <span style="color:red">*</span> + 缁撹垂鏂瑰紡 <span style="color:red">*</span> </label> <div class="col-sm-4"> <select name="chargeType" id="chargeType" class="form-control"> @@ -710,40 +715,17 @@ </div> <div class="form-group"> <label class="control-label col-sm-2"> - 鐭俊鏄惁鏀寔鏄剧ず鐘舵�佹姤鍛� <span style="color:red">*</span> + 鐭俊鏄惁鏄剧ず鐘舵�佹姤鍛� <span style="color:red">*</span> </label> <div class="col-sm-4"> <select name="smsStatusReport" id="smsStatusReport" class="form-control"> <option value="0" >涓嶆樉绀�</option> - <option value="1" >鍙樉绀烘彁浜ゅけ璐ヤ负鍙戦�佸け璐ョ姸鎬�</option> - <option value="2" >鏄剧ず鍏ㄩ儴鐘舵��</option> + <%--<option value="1" >鍙樉绀烘彁浜ゅけ璐ヤ负鍙戦�佸け璐ョ姸鎬�</option>--%> + <option value="2" >鏄剧ず</option> </select> </div> </div> - <!-- - <div class="form-group"> - <label class="control-label col-sm-2"> - 褰╀俊鏄惁鏀寔鏄剧ず鐘舵�佹姤鍛� <span style="color:red">*</span> - </label> - <div class="col-sm-4"> - <select name="mmsStatusReport" id="mmsStatusReport" class="form-control"> - <option value="0" >涓嶆樉绀�</option> - <option value="1" >鍙樉绀烘彁浜ゅけ璐ヤ负鍙戦�佸け璐ョ姸鎬�</option> - <option value="2" >鏄剧ず鍏ㄩ儴鐘舵�佺姸鎬�</option> - </select> - </div> - </div> - --> - <!-- - <div class="form-group"> - <label class="control-label col-sm-2"> - 褰掑睘涓氬姟鍛� - </label> - <div class="col-sm-4"> - <input type="text" name="agent" id="agent" value="" class="form-control" /> - </div> - </div> - --> + <div class="form-group"> <label class="control-label col-sm-2"> 褰掑睘瀹㈡埛缁忕悊 <span style="color:red">*</span> @@ -922,7 +904,7 @@ <form name="queryForm" method="post" id="queryForm" class="form-inline"> <div class="form-group"> <div class="input-group m-b"> - <span class="input-group-addon">瀹㈡埛璐﹀彿</span> + <span class="input-group-addon">瀹㈡埛璐︽埛</span> <input type="text" name="ClientID" id="ClientID" class="form-control" /> </div> </div> @@ -971,7 +953,10 @@ <div class="form-group"> <div class="input-group m-b"> <input type="button" value="鏌ヨ" class="btn btn-primary action-query" />  - <input class="btn btn-success action-modal-create" value="鍒涘缓瀹㈡埛" type="button" />  + + <% if(IsEnable==1) { %> + <input class="btn btn-success action-modal-create" value="鍒涘缓瀹㈡埛" type="button" />  + <%} %> </div> </div> @@ -983,13 +968,13 @@ <input class="btn btn-danger action-modal-setProduct" value="鎵归噺鍒嗛厤涓�т骇鍝�" type="button" /> <%} %> <input class="btn btn-info action-export" value="瀵煎嚭鏁版嵁" type="button" /> - <table class="table table-striped table-bordered table-hover" id="gwclientTable"> + <table class="table table-striped table-bordered table-hover" id="gwclientTable" style="margin:10px 0 0 0;"> <thead> <tr class="header"> <th> <input type='checkbox' name='checkAll' id='checkAll' /> </th> - <th>瀹㈡埛璐﹀彿 + <th>瀹㈡埛璐︽埛 </th> <th>鍏徃鍚嶇О</th> <th>鑱旂郴浜� @@ -1022,7 +1007,7 @@ </table> </div> - <div id="pager"> + <div id="pager" style="margin:10px 0 0 0;"> </div> <!--鎵归噺淇敼涓�т骇鍝� --> @@ -1032,7 +1017,7 @@ <div class="modal-header"> <span class="title"><h3>鎵归噺鍒嗛厤涓�т骇鍝�</h3></span><a class="close" data-dismiss="modal" aria-hidden="true">脳</a> <span class="text-muted"> - 鎵归噺鍒嗛厤涓�т骇鍝佸皢浼氭洿鏂版墍鏈夐�変腑鐨勮处鍙风殑瀹㈡埛锛�<br /> + 鎵归噺鍒嗛厤涓�т骇鍝佸皢浼氭洿鏂版墍鏈夐�変腑鐨勮处鎴风殑瀹㈡埛锛�<br /> 纭畾鍒嗛厤涓嶈兘鍙栨秷锛岃璋ㄦ厧鎿嶄綔锛�<br /> </span> </div> -- Gitblit v1.9.1