From be3b255bbe328d793ff20011683dca5aee1668a1 Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期三, 23 七月 2025 09:05:29 +0800
Subject: [PATCH] 20250722 川印系统客户访问增加长度,增加附件何查看  20250721  川印系统修改 完成

---
 CY_ECommercePlatform/CY.WebForm/Pages/business/CorporateClientsVisit.aspx |   65 ++++++++++++++++++++++++++++----
 1 files changed, 56 insertions(+), 9 deletions(-)

diff --git a/CY_ECommercePlatform/CY.WebForm/Pages/business/CorporateClientsVisit.aspx b/CY_ECommercePlatform/CY.WebForm/Pages/business/CorporateClientsVisit.aspx
index d425ced..49d6614 100644
--- a/CY_ECommercePlatform/CY.WebForm/Pages/business/CorporateClientsVisit.aspx
+++ b/CY_ECommercePlatform/CY.WebForm/Pages/business/CorporateClientsVisit.aspx
@@ -19,8 +19,48 @@
 
               window.document.body.innerHTML = bdhtml;//閲嶆柊缁欓〉闈㈠唴瀹硅祴鍊硷紱
           }
-        
+
+          //鏌ョ湅
+          function checkSelFile() {
+ 
+              //var oFile = document.getElementById('filesel');
+              //if (oFile.value == "") {
+              //    alertMsg('娌℃湁閫夋嫨鏂囦欢');
+              //    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 onViewvisit(keyid) {
+              top.Dialog.open({ URL: "/Pages/work/MyvisitDetail.aspx?Keyid=" + keyid, Title: "鏌ョ湅缁存姢璇︽儏", Width: 1100, Height: 800 });
+          }
       </script>
+    <style>
+  .table-wrap {
+    width: 100%; /* 闄愬埗瀹瑰櫒瀹藉害 */
+    word-break: break-all; /* 寮哄埗鑻辨枃/鏁板瓧鎹㈣ */
+    /* 鎴栦娇鐢� word-wrap: break-word; 鍙湪鍗曡瘝鍐呮崲琛� */
+  }
+  .truncate {
+    white-space: nowrap; /* 涓嶆崲琛� */
+    overflow: hidden; /* 闅愯棌瓒呭嚭閮ㄥ垎 */
+    text-overflow: ellipsis; /* 鏄剧ず鐪佺暐鍙� */
+    max-width: 150px; /* 闄愬埗鍗曞厓鏍兼渶澶у搴� */
+  }
+</style>
 </head>
 <body>
     <form runat="server" id="form1" class="form">
@@ -39,7 +79,9 @@
           <fieldset  id="weihujilu">
                <legend>娣诲姞缁存姢璁板綍</legend>
                 <table class="tableStyle" width="100%">
-               <tr>
                    <td class="ali01 ">缁存姢鏃ユ湡锛�</td>
                    <td   ><input id="txtVisitTime" type="text" runat="server"  maxlength="50" class="date w90px" datefmt="yyyy-MM-dd"  /></td>  
                   <td class="ali03 ">缁存姢璁板綍锛�</td>
                    <td colspan="2"  ><textarea runat="server" id="txtvisitRemark" style=" width:92%; height:30px;"  maxlength="200"></textarea></td>  
                   
                    <td   ><asp:Button ID="Button1" Text="娣诲姞缁存姢璁板綍" runat="server" OnClick="btn_Submit_Visit"  ToolTip="璇ヨ褰曚細娓呴櫎璇ュ鎴风殑渚嬭缁存姢鎻愰啋"/><asp:Button ID="btn_Submit" Text="娣诲姞鍋囨棩缁存姢璁板綍" runat="server"  ToolTip="璇ヨ褰曚細娓呴櫎璇ュ鎴风殑鍋囨棩缁存姢鎻愰啋" OnClick="btn_Submit_Visit_jiari"/></td> 
                  
                </tr> 
+               <tr>
                    <td class="ali01 ">缁存姢鏃ユ湡锛�</td>
                    <td   ><input id="txtVisitTime" type="text" runat="server"  maxlength="50" class="date w90px" datefmt="yyyy-MM-dd"  /></td>  
                   <td class="ali03 ">缁存姢璁板綍锛�</td>
                    <td colspan="2"  ><textarea runat="server" id="txtvisitRemark" style=" width:92%; height:30px;"  maxlength="2000"></textarea></td>  
                    <td class="ali03">
+                        <input type="file" id="filesel" name="__hetongFile" keepdefaultstyle="true"  multiple="multiple" runat="server" text="璇烽�夋嫨鏂囦欢" /></td>
+                    <td>
                    <td   ><asp:Button ID="Button1" Text="娣诲姞缁存姢璁板綍" OnClientClick="return checkSelFile()" runat="server" OnClick="btn_Submit_Visit"  ToolTip="璇ヨ褰曚細娓呴櫎璇ュ鎴风殑渚嬭缁存姢鎻愰啋"/><asp:Button ID="btn_Submit" Text="娣诲姞鍋囨棩缁存姢璁板綍" runat="server"  ToolTip="璇ヨ褰曚細娓呴櫎璇ュ鎴风殑鍋囨棩缁存姢鎻愰啋" OnClick="btn_Submit_Visit_jiari"/></td> 
                  <div id="loading" class="toast-message" style="display: none;">淇濆瓨涓紒</div>
                </tr> 
                </table>
           <%--  <asp:Repeater ID="RepClientList" runat="server">
                 <HeaderTemplate>
@@ -87,7 +129,7 @@
           <fieldset>
                 <legend>缁存姢璁板綍</legend>
               <!--startprint-->
-               <table class="tableStyle" style="margin-bottom:10px;">
+               <table class="tableStyle" style="margin-bottom:10px;"  width="100%;">
 		        
                 <tr>
                     
@@ -102,21 +144,23 @@
               
             <asp:Repeater ID="RepClientList" runat="server">
                 <HeaderTemplate>
-                    <table class="tableStyle" useclick="false" usecheckbox="true" sortmode="true"  border="1" cellspacing="0" cellpadding="0" style="text-align: center;">
+                    <table class="tableStyle"  border="1" cellspacing="0" cellpadding="0" style="text-align: center;"  width="100%;">
                         <tr>
                           <th style="text-align: center;width:10px;">
                                 搴忓彿
                             </th>
-                            <th style="text-align: center;">
+                            <th style="text-align: center;width:10%;">
                                 缁存姢鏃ユ湡
                             </th>
-                            <th style="text-align: center;">
+                            <th style="text-align: center;width:70%;">
                                 缁存姢璁板綍
                             </th>
-                             <th style="text-align: center;">
+                             <th style="text-align: center;width:10%;">
                                 缁存姢浜�
                             </th>
-                           
+                            <th style="text-align: center;width:10%;">
+                               璇︽儏
+                            </th>
                         </tr>
                 </HeaderTemplate>
                 <ItemTemplate>
@@ -128,12 +172,15 @@
                         <td>
                             <%#Eval("VisitTime", "{0:yyyy-MM-dd}")%>
                         </td>
-                         <td>
+                         <td class="truncate" title="<%#Eval("Remark")%>" >
                             <%#Eval("Remark")%>
                         </td>
                          <td>
                             <%#Eval("CreaterName")%>
                         </td>
+                         <td>
+                           <span onclick="onViewvisit('<%#Eval("Keyid")%>')">璇︽儏</span> 
+                        </td>
                     </tr>
                 </ItemTemplate>
                 <FooterTemplate>

--
Gitblit v1.9.1