From 3b18a48485f7207438d9d0eb3038d979e069431d Mon Sep 17 00:00:00 2001
From: yzh <snbbt@21cn.com>
Date: 星期四, 26 五月 2022 17:58:18 +0800
Subject: [PATCH] 优化产品及产品分类,订单,对称加密,IP转地区名称

---
 web/web/GwClient.aspx |   53 ++++++++++++++++++++++++++++++++++++++++-------------
 1 files changed, 40 insertions(+), 13 deletions(-)

diff --git a/web/web/GwClient.aspx b/web/web/GwClient.aspx
index ee6bba0..b148960 100644
--- a/web/web/GwClient.aspx
+++ b/web/web/GwClient.aspx
@@ -20,11 +20,12 @@
                 var Telephone = $("#Telephone").val();
                 var Agent = $("#Agent").val();
                 var Salesman = $("#Salesman").val();
+                var SupportStaff = $("#SupportStaff").val();
                 var ProductId = $("#ProductId").val();
                 $.ajax({
                     url: "GwClient.ashx",
                     type: "POST",
-                    data: { action: "loadGwClientPageList", ClientID: ClientID, Company: Company, ClientName: ClientName, Telephone: Telephone, Agent: Agent, Salesman: Salesman, ProductId: ProductId , pageSize: $("#pager").Pager("getPageSize"), pageIndex: $("#pager").Pager("getPageIndex") },
+                    data: { action: "loadGwClientPageList", ClientID: ClientID, Company: Company, ClientName: ClientName, Telephone: Telephone, Agent: Agent, Salesman: Salesman, SupportStaff: SupportStaff, ProductId: ProductId , pageSize: $("#pager").Pager("getPageSize"), pageIndex: $("#pager").Pager("getPageIndex") },
                     success: function (result) {
                         if (result.OK) {
                             $("#gwclientTable tbody").html(result.Message.Table);
@@ -161,6 +162,20 @@
                     mytek.confirm("鏄惁闇�瑕佸垹闄よ瀹㈡埛锛�", "瀹㈡埛鍒犻櫎鍚庡皢鏃犳硶鎭㈠锛岃璋ㄦ厧鎿嶄綔锛�", function (b) {
                         if (b) {
                             $.post("gwclient.ashx", { action: "delete", clientID: id }, function (r) {
+                                mytek.alert(r.Message, r.OK, function () {
+                                    window.location.reload();
+                                });
+                            });
+                        }
+                    });
+                });
+
+                //閲嶇疆瀵嗙爜
+                $(document).on("click", ".action-modal-resetPwd", function () {
+                    var id = $(this).data("id");
+                    mytek.confirm("閲嶇疆瀵嗙爜锛�", "鏄惁閲嶇疆瀵嗙爜锛熻璋ㄦ厧鎿嶄綔锛�", function (b) {
+                        if (b) {
+                            $.post("gwclient.ashx", { action: "resetPwd", clientID: id }, function (r) {
                                 mytek.alert(r.Message, r.OK, function () {
                                     window.location.reload();
                                 });
@@ -316,7 +331,7 @@
                     <div class="modal-header">
                         <button type="button" class="close" data-dismiss="modal">
                             <span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
-                        <h4 class="modal-title">鍒涘缓/淇敼瀹㈡埛
+                        <h4 class="modal-title">鍒涘缓/淇敼瀹㈡埛淇℃伅
                         </h4>
                         <input name="action" value="add" type="hidden" />
                         <input name="id" id="id" type="hidden" value="" />
@@ -334,7 +349,7 @@
 
                         <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">
                                 <input type="text" name="company" id="company" value="" class="form-control" />
@@ -352,7 +367,7 @@
                             </div>
                             <div class="col-sm-6">
                                 <a class="btn btn-xs btn-primary action-generate-password ">鐢熸垚瀵嗙爜</a>
-                                <a class="btn btn-xs btn-success action-generate-password ">澶嶅埗瀵嗙爜</a>
+                                <a class="btn btn-xs btn-success action-copyPwd ">澶嶅埗瀵嗙爜</a>
                             </div>
                         </div>
                         <div class="form-group">
@@ -403,6 +418,7 @@
                                     </select>
                             </div>
                         </div>
+                        <!--
                         <div class="form-group">
                             <label class="control-label  col-sm-2">
                                 褰╀俊鏄惁鏀寔鏄剧ず鐘舵�佹姤鍛� <span style="color:red">*</span>
@@ -415,6 +431,7 @@
                                     </select>
                             </div>
                         </div>
+                        -->
                         <!--
                         <div class="form-group">
                             <label class="control-label  col-sm-2">
@@ -447,7 +464,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="supportStaff" id="supportStaff" class="form-control">
@@ -465,27 +482,27 @@
                                     </select>
                             </div>
                         </div>
-                        <!--
                         <div class="form-group">
                             <label class="control-label col-sm-2">钀ヤ笟鎵х収</label>
                             <div class="col-sm-4">
                                 <input type="file" name="txt_file" id="txt_file" class="file-loading" />
                             </div>
                         </div>
-                        -->
+                        <!--
                         <div class="form-group">
                             <label class="control-label  col-sm-2">
                                 鏉冮檺绠$悊
                             </label>
                             <div class="col-sm-10">
                              <input type="checkbox" class="icheck-me" value="GwClientList.aspx" name="permissionData" />浠g悊鍟嗙鐞�(*鏄惁鏀寔鍒涘缓涓嬬骇浠g悊)
-                                <!--
+                                <!//--
                              <input type="checkbox" class="icheck-me" value="LgSmsDetailReport.aspx" name="permissionData" />鏌ョ湅鐘舵�佹姤鍛�
                              <input type="checkbox" class="icheck-me" value="1" name="permissionData" />鍙戦�佹潈闄�
                              <input type="checkbox" class="icheck-me" value="2" name="permissionData" />鏌ョ湅鏁版嵁鏉冮檺
-                                -->
+                                --//>
                             </div>
                         </div>
+                            -->
                         <div class="form-group">
                             <label class="control-label  col-sm-2">
                                 澶囨敞
@@ -521,7 +538,7 @@
         </div>
         <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="ClientName" id="ClientName" class="form-control" />
             </div>
         </div>
@@ -536,6 +553,14 @@
                 <span class="input-group-addon">褰掑睘涓氬姟鍛�</span>
                     <select name="Salesman" id="Salesman" class="form-control">
                         <%=salesmanOptions(-1)%>
+                    </select>
+            </div>
+        </div>
+        <div class="form-group">
+            <div class="input-group m-b">
+                <span class="input-group-addon">褰掑睘瀹㈡湇浜哄憳</span>
+                    <select name="SupportStaff" id="SupportStaff" class="form-control">
+                        <%=supportStaffOptions(-1)%>
                     </select>
             </div>
         </div>
@@ -567,19 +592,21 @@
                     <th>瀹㈡埛璐﹀彿
                     </th>
                     <th>鍏徃鍚嶇О</th>
-                    <th>瀹㈡埛鍚嶇О
+                    <th>鑱旂郴浜�
                     </th>
                     <th>鑱旂郴鐢佃瘽
                     </th>
-                    <th>璐︽埛浣欓
+                    <th>璐︽埛浣欓(鍏�)
                     </th>
-                    <th>绱鍏呭��
+                    <th>绱鍏呭��(鍏�)
                     </th>
 
                     <th>涓氬姟鍛�
                     </th>
+                    <!--
                     <th>璁よ瘉鐘舵��
                     </th>
+                    -->
                     <th>鎿嶄綔
                     </th>
                 </tr>

--
Gitblit v1.9.1