From d766d74d37d522bfb9c633e9afbe789ad0f1a6de Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期三, 17 十二月 2025 15:10:26 +0800
Subject: [PATCH] 提交
---
CY_ECommercePlatform/CY.WebForm/Pages/business/CorporateClientsVisit.aspx | 296 +++++++++++++++++++++++++++++++++++++++--------------------
1 files changed, 196 insertions(+), 100 deletions(-)
diff --git a/CY_ECommercePlatform/CY.WebForm/Pages/business/CorporateClientsVisit.aspx b/CY_ECommercePlatform/CY.WebForm/Pages/business/CorporateClientsVisit.aspx
index c9426b4..09c4022 100644
--- a/CY_ECommercePlatform/CY.WebForm/Pages/business/CorporateClientsVisit.aspx
+++ b/CY_ECommercePlatform/CY.WebForm/Pages/business/CorporateClientsVisit.aspx
@@ -1,100 +1,196 @@
-锘�<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="CorporateClientsVisit.aspx.cs" Inherits="CY.WebForm.Pages.business.CorporateClientsVisit" %>
-
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head id="Head1" runat="server">
- <title>鏌ョ湅鍚堜綔瀹㈡埛璧勬枡</title>
- <uc:CMSHead ID="CMSHead1" runat="server" />
- <script type="text/javascript">
-
- function printview() {
- bdhtml = window.document.body.innerHTML;
- sprnstr = "<!--startprint-->"; //寮�濮嬫墦鍗版爣璇嗗瓧绗︿覆鏈�17涓瓧绗�
- eprnstr = "<!--endprint-->"; //缁撴潫鎵撳嵃鏍囪瘑瀛楃涓�
- prnhtml = bdhtml.substr(bdhtml.indexOf(sprnstr) + 17); //浠庡紑濮嬫墦鍗版爣璇嗕箣鍚庣殑鍐呭
- prnhtml = prnhtml.substring(0, prnhtml.indexOf(eprnstr)); //鎴彇寮�濮嬫爣璇嗗拰缁撴潫鏍囪瘑涔嬮棿鐨勫唴瀹�
- window.document.body.innerHTML = prnhtml; //鎶婇渶瑕佹墦鍗扮殑鎸囧畾鍐呭璧嬬粰body.innerHTML
- window.print(); //璋冪敤娴忚鍣ㄧ殑鎵撳嵃鍔熻兘鎵撳嵃鎸囧畾鍖哄煙
-
- window.document.body.innerHTML = bdhtml;//閲嶆柊缁欓〉闈㈠唴瀹硅祴鍊硷紱
- }
-
- </script>
-</head>
-<body>
- <form runat="server" id="form1" class="form">
-
- <table class="TableNewStyle" width="100%">
- <tr>
-
- <tr>
-
- <td>
-
- <input type="button" class="button" value="鎵撳嵃" onclick="printview();" />
- </td>
- </tr>
- </table>
-
- <fieldset>
- <legend>缁存姢璁板綍</legend>
- <!--startprint-->
- <table class="tableStyle" style="margin-bottom:10px;">
-
- <tr>
-
- <td class="ali03 " style="width:10%">瀹㈡埛鍗曚綅锛�</td>
- <td style="width:30%">
- <span id="spanCompanyName" runat="server" ></span>
- </td>
- <td class="ali03 " style="width:10%">涓氬姟缁忕悊锛�</td><td style="width:20%"><span id="spanBusinessManagerId" runat="server" ></span></td>
- <td class="ali03 " style="width:10%">鎵撳嵃鏃ユ湡锛�</td><td style="width:20%"><span id="spanprintdate" runat="server" ></span></td>
- </tr>
- </table>
-
- <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;">
- <tr>
- <th style="text-align: center;width:10px;">
- 搴忓彿
- </th>
- <th style="text-align: center;">
- 缁存姢鏃ユ湡
- </th>
- <th style="text-align: center;">
- 缁存姢璁板綍
- </th>
- <th style="text-align: center;">
- 缁存姢浜�
- </th>
-
- </tr>
- </HeaderTemplate>
- <ItemTemplate>
- <tr>
-
- <td>
- <%# Container.ItemIndex + 1%>
- </td>
- <td>
- <%#Eval("VisitTime", "{0:yyyy-MM-dd}")%>
- </td>
- <td>
- <%#Eval("Remark")%>
- </td>
- <td>
- <%#Eval("CreaterName")%>
- </td>
- </tr>
- </ItemTemplate>
- <FooterTemplate>
- </table>
- </FooterTemplate>
- </asp:Repeater>
- <!--endprint-->
- </fieldset>
- </form>
-</body>
-</html>
+锘�<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="CorporateClientsVisit.aspx.cs" Inherits="CY.WebForm.Pages.business.CorporateClientsVisit" %>
+
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head id="Head1" runat="server">
+ <title>鏌ョ湅鍚堜綔瀹㈡埛璧勬枡</title>
+ <uc:CMSHead ID="CMSHead1" runat="server" />
+ <script type="text/javascript">
+
+ function printview() {
+ bdhtml = window.document.body.innerHTML;
+ sprnstr = "<!--startprint-->"; //寮�濮嬫墦鍗版爣璇嗗瓧绗︿覆鏈�17涓瓧绗�
+ eprnstr = "<!--endprint-->"; //缁撴潫鎵撳嵃鏍囪瘑瀛楃涓�
+ prnhtml = bdhtml.substr(bdhtml.indexOf(sprnstr) + 17); //浠庡紑濮嬫墦鍗版爣璇嗕箣鍚庣殑鍐呭
+ prnhtml = prnhtml.substring(0, prnhtml.indexOf(eprnstr)); //鎴彇寮�濮嬫爣璇嗗拰缁撴潫鏍囪瘑涔嬮棿鐨勫唴瀹�
+ window.document.body.innerHTML = prnhtml; //鎶婇渶瑕佹墦鍗扮殑鎸囧畾鍐呭璧嬬粰body.innerHTML
+ window.print(); //璋冪敤娴忚鍣ㄧ殑鎵撳嵃鍔熻兘鎵撳嵃鎸囧畾鍖哄煙
+
+ 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">
+
+ <table class="TableNewStyle" width="100%">
+ <tr>
+
+ <tr>
+
+ <td>
+
+ <input type="button" class="button" value="鎵撳嵃" onclick="printview();" />
+ </td>
+ </tr>
+ </table>
+ <fieldset id="weihujilu">
+ <legend>娣诲姞缁存姢璁板綍</legend>
+ <table class="tableStyle" width="100%">
+ <tr>
<td class="ali01 " style="width:10%;">缁存姢鏃ユ湡锛�</td>
<td style="width:20%;" ><input id="txtVisitTime" type="text" runat="server" maxlength="50" class="date w90px" datefmt="yyyy-MM-dd" /></td>
<td class="ali03 " style="width:10%;">缁存姢璁板綍锛�</td>
<td colspan="2" style="width:60%;" ><textarea runat="server" id="txtvisitRemark" style=" width:92%; height:30px;" maxlength="2000"></textarea></td>
</tr>
+ <tr>
+ <td class="ali03" colspan="2">
+ <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>
+ <table class="tableStyle" useclick="false" usecheckbox="true" sortmode="true" style="text-align: center;">
+ <tr>
+
+ <th style="text-align: center;width:10px;">
+ 搴忓彿
+ </th>
+ <th style="text-align: center;">
+ 缁存姢鏃ユ湡
+ </th>
+ <th style="text-align: center;">
+ 缁存姢璁板綍
+ </th>
+ <th style="text-align: center;">
+ 缁存姢浜�
+ </th>
+
+ </tr>
+ </HeaderTemplate>
+ <ItemTemplate>
+ <tr>
+ <td>
+ <%# Container.ItemIndex + 1%>
+ </td>
+
+ <td>
+ <%#Eval("VisitTime", "{0:yyyy-MM-dd}")%>
+ </td>
+ <td>
+ <%#Eval("Remark")%>
+ </td>
+ <td>
+ <%#Eval("CreaterName")%>
+ </td>
+ </tr>
+ </ItemTemplate>
+ <FooterTemplate>
+ </table>
+ </FooterTemplate>
+ </asp:Repeater>--%>
+
+ </fieldset>
+ <fieldset>
+ <legend>缁存姢璁板綍</legend>
+ <!--startprint-->
+ <table class="tableStyle" style="margin-bottom:10px;" width="100%;">
+
+ <tr>
+
+ <td class="ali03 " style="width:10%">瀹㈡埛鍗曚綅锛�</td>
+ <td style="width:30%">
+ <span id="spanCompanyName" runat="server" ></span>
+ </td>
+ <td class="ali03 " style="width:10%">涓氬姟缁忕悊锛�</td><td style="width:20%"><span id="spanBusinessManagerId" runat="server" ></span></td>
+ <td class="ali03 " style="width:10%">鎵撳嵃鏃ユ湡锛�</td><td style="width:20%"><span id="spanprintdate" runat="server" ></span></td>
+ </tr>
+ </table>
+
+ <asp:Repeater ID="RepClientList" runat="server">
+ <HeaderTemplate>
+ <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;width:10%;">
+ 缁存姢鏃ユ湡
+ </th>
+ <th style="text-align: center;width:70%;">
+ 缁存姢璁板綍
+ </th>
+ <th style="text-align: center;width:10%;">
+ 缁存姢浜�
+ </th>
+ <th style="text-align: center;width:10%;">
+ 璇︽儏
+ </th>
+ </tr>
+ </HeaderTemplate>
+ <ItemTemplate>
+ <tr>
+
+ <td>
+ <%# Container.ItemIndex + 1%>
+ </td>
+ <td>
+ <%#Eval("VisitTime", "{0:yyyy-MM-dd}")%>
+ </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>
+ </table>
+ </FooterTemplate>
+ </asp:Repeater>
+ <!--endprint-->
+ </fieldset>
+ </form>
+</body>
+</html>
--
Gitblit v1.9.1