<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="CorporateClientsUpLoadContract.aspx.cs" Inherits="CY.WebForm.Pages.business.CorporateClientsUpLoadContract" %>
|
<%-- 上传合同页面 廖 20210916增加--%>
|
<!DOCTYPE html>
|
<script src="js/jquery.min.js" type="text/javascript"></script>
|
<script src="js/jquery.hammer.min.js" type="text/javascript"></script>
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
<head id="Head1" runat="server">
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
<title></title>
|
|
|
<uc:CMSHead ID="CMSHead1" runat="server" />
|
</head>
|
<body>
|
<form id="form1" runat="server">
|
<div class="box1" paneltitle="功能面板" roller="false">
|
<table class="TableNewStyle">
|
<tr>
|
<td class="ali03">新增合同页面:
|
</td>
|
<td class="ali03">
|
页码:
|
</td>
|
|
<td>
|
第 <input type="text" runat="server" id="TextPage" /> 页
|
</td>
|
<td class="ali03"></td>
|
|
<td class="ali03"><input type="file" id="filesel" name="__hetongFile" keepdefaultstyle="true" multiple="multiple" runat="server" /></td>
|
<td> <asp:Button ID="UpdateFileNew" Text="新增或者替换该页(上传图片)" runat="server" OnClick="btn_Submit_Click" OnClientClick="return checkSelFile()" /></td>
|
</tr>
|
</table>
|
</div>
|
<div>
|
|
<p style="text-align:center"> 已有页面</p>
|
|
<asp:repeater id="RepClientList" runat="server" >
|
<headertemplate>
|
<table class="tableStyle">
|
<tr>
|
<%-- <th width="25"></th>--%>
|
<th width="60" style="text-align:center">
|
页码
|
</th>
|
<th style="text-align:center" >
|
预览
|
</th>
|
<th style="text-align:center">
|
操作
|
</th>
|
|
|
</tr>
|
</headertemplate>
|
|
|
<ItemTemplate>
|
<tr>
|
<%-- <td>
|
<input type="checkbox" class="SelectCheck" value_kid="<%#Eval("Keyid")%>" />
|
</td>--%>
|
<td>
|
第 <%#Eval("PageCode")%> 页
|
</td>
|
<td>
|
|
<a title="点击查看原图" href="<%#Eval("FilePath").ToString() %>" target="view_window">
|
<img src="<%#Eval("FilePath").ToString() %>" width="80" height="100"/> </a>
|
|
</td>
|
|
|
<td>
|
|
<a onclick="delelid('<%#Eval("Keyid")%>','<%= Request["Keyid"]%>')">删除当前页面</a>
|
</td>
|
|
|
|
|
|
|
|
</tr>
|
</ItemTemplate>
|
|
|
<FooterTemplate>
|
</table>
|
</FooterTemplate>
|
|
|
|
|
|
</asp:repeater>
|
<div id="page">
|
<uc:UCPager ID="UCPager1" runat="server" />
|
</div>
|
|
|
|
|
</div>
|
|
</form>
|
</body>
|
</html>
|
<script type="text/javascript">
|
|
//查看
|
function checkSelFile() {
|
|
if (document.getElementById("TextPage").value == "") {
|
alertMsg("没有输入页数");
|
|
return false;
|
}
|
var oFile = document.getElementById('filesel');
|
if(oFile.value == ""){
|
alertMsg('没有选择文件');
|
return false;
|
|
}
|
|
return true;
|
}
|
|
//删除制定合同页面
|
function delelid(KeyID,pageID) {
|
|
top.Dialog.confirm("是否要删除该合同页面?", function () {
|
window.location = "/Pages/business/CorporateClientsUpLoadContract.aspx?deleteKeyIds=" + KeyID + "&Keyid=" + pageID;
|
}
|
);
|
}
|
|
</script>
|