From 1b9a56fcf3ffcf0f69ed8b7447322d0a75ba99ac Mon Sep 17 00:00:00 2001
From: wzp <2040239371@qq.com>
Date: 星期四, 02 三月 2023 15:31:14 +0800
Subject: [PATCH] 清理dataAccess,避免报错

---
 web/web/GwClient.aspx |   54 +++++++++++++++---------------------------------------
 1 files changed, 15 insertions(+), 39 deletions(-)

diff --git a/web/web/GwClient.aspx b/web/web/GwClient.aspx
index e2fac9d..7f4c73d 100644
--- a/web/web/GwClient.aspx
+++ b/web/web/GwClient.aspx
@@ -254,10 +254,6 @@
                             }
                         }
                     });
-
-                    //swal.close();
-                    //}
-                    //});
                 }
             });
 
@@ -481,7 +477,7 @@
                 document.execCommand('copy');
                 element.remove ? element.remove() : element.removeNode(true);
             }
-            mytek.alert("澶嶅埗鎴愬姛锛�", false);
+            mytek.alert("澶嶅埗鎴愬姛锛�", true);
 
         });
 
@@ -703,7 +699,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">
@@ -715,40 +711,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>
@@ -927,7 +900,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>
@@ -976,7 +949,10 @@
         <div class="form-group">
             <div class="input-group m-b">
                 <input type="button" value="鏌ヨ" class="btn btn-primary action-query" />&nbsp
-                <input class="btn btn-success action-modal-create" value="鍒涘缓瀹㈡埛" type="button" />&nbsp   
+
+                <% if(IsEnable==1) { %>
+                <input class="btn btn-success action-modal-create" value="鍒涘缓瀹㈡埛" type="button" />&nbsp
+                <%} %>
             </div>
 
         </div>
@@ -988,13 +964,13 @@
         <input class="btn btn-danger action-modal-setProduct" value="鎵归噺鍒嗛厤涓�т骇鍝�" type="button" />            
         <%} %>
         <input class="btn btn-info action-export" value="瀵煎嚭鏁版嵁" type="button" />&nbsp;&nbsp;
-        <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>鑱旂郴浜�
@@ -1027,7 +1003,7 @@
 
         </table>
     </div>
-    <div id="pager">
+    <div id="pager" style="margin:10px 0 0 0;">
     </div>
 
     <!--鎵归噺淇敼涓�т骇鍝� -->
@@ -1037,7 +1013,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