notice-add.jsp
5.18 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%
String contentpath =request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + request.getContextPath();
String action=request.getParameter("action");
String gid=request.getParameter("gid");
%>
<%-- <%@ taglib prefix="sec" uri="http://www.springframework.org/security/tags" %> --%>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<!-- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> -->
<meta http-equiv="X-UA-Compatible" content="IE=Edge">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width , initial-scale=1.0" />
<title>添加通知公告</title>
<%-- <jsp:include page="../jspinc/inceasyui.jsp"></jsp:include> --%>
<link href="../../../libs/bootstrap/css/bootstrap.min.css" rel="stylesheet" />
<link href="../../../common/css/common.css" rel="stylesheet" />
<link href="../../../common/css/attachment.css" rel="stylesheet" />
<link href="../../../css/home-content/iframe-content.css" rel="stylesheet" />
<link href="../../../css/home-content/notice.css" rel="stylesheet" />
<script src="../../../common/js/config.js" type="text/javascript"></script>
<script src="../../../common/js/global/global.modelctls.js" type="text/javascript"></script>
<script src="../../../common/js/global/global.js" type="text/javascript"></script>
<script src="../../../libs/jquery/jquery.min.js"></script>
<script src="../../../libs/jquery/jquery.cookie.js"></script>
<script src="../../../libs/layer/layer.js"></script>
<script src="../../../libs/md5.js" type="text/javascript"></script>
<!-- 主要引用附件相关的js代码 -->
<script src="../../../js/officedocument/util/loadbutton.js"></script>
<script src="../../../libs/jquery/jquery-form.js" type="text/javascript"></script>
<script src="../../../js/home-content/usercontrol/attachment.js"></script>
<script src="../../../js/home-content/notice-add.js"></script>
<script src="../../../common/js/sp_attachmentoperation.js"></script>
<script type="text/javascript">
var global = global || {};
global = global || {};
global.contextPath='/frontweb';
</script> <!-- hyh 新增 2017、10、16 -->
<style type="text/css">
body {
font-size:16px;
}
</style>
</head>
<body>
<div class="div-notice-add" style="margin-top: 30px;margin-left: 30px;margin-right: 30px; padding: 8px;">
<div id="announcementtype">
<span>类型</span>
<select id="Select1" style="margin-left:8px;">
<!-- <option id="other">其他</option> -->
<!-- <option id="update">路网更新</option> -->
<!-- <option id="notice">通知</option> -->
</select>
</div>
<div>
<span>标题</span>
<input id="title"class="text-border" type="text" style="margin-left:8px; padding-left: 0px;"/>
</div>
<div style="vertical-align:middle;">
<div class="div-notice-title" style="font-size: 16px;">内容</div>
<textarea id="content" class="txt-notice-content" style="margin-left:8px; padding: 0px;"></textarea>
</div>
<div>
<input id="gid" type="hidden" readonly="true" value="<%=gid%>" />
<input id="action" type="hidden" readonly="true" value="<%=action%>" />
<input id="contentpath" type="hidden" readonly="true" value="<%=contentpath%>" />
<input id="status" type="hidden" readonly="true" value="0" />
<%-- <input id="fileadress" type="hidden" value="<%=GlobalContextHolder.getProperty("fileadress", "")%>" /> --%>
<%-- <input id="fileservice" type="hidden" value="<%=GlobalContextHolder.getProperty("fileservice", "")%>" /> --%>
<%-- <input id="docviewservice" type="hidden" value="<%=GlobalContextHolder.getProperty("docviewservice", "")%>" /> --%>
</div>
<div>
<span>附件</span>
<input id="filepath" type="hidden" value="" />
<button id="ggbtn" style="margin-left:8px;" class="btn btn-info" onclick="upload_click2('file','GG')" type="button"><span class="glyphicon glyphicon-plus"></span>浏览</button>
<!-- <input id="fileBrower" type="file" style="display:none;" onchange="onchangeFile()" /> -->
</div>
<div id="fj" class="progress" style="display:none;height:5px;">
<div class="progress-bar" role="progressbar" style="width: 0%;">
</div>
</div>
<form id="_fileForm" enctype="multipart/form-data"
style="margin-left: 16px; margin-top: 16px; display: none">
<input id="_upfile" type="file" onchange="onchangeFileName2(this)" name="file" multiple="true"/>
</form>
<div>
<div id="gg_create"class="div-attachment">
</div>
</div>
<div class="clearboth" style="text-align:right;width:440px;padding-top:10px;">
<!-- <button id="confirm" class="btn btn-info" type="button"><span class="glyphicon glyphicon-ok"></span>确定</button> -->
<!--<button class="btn btn-default" type="button"><span class="glyphicon glyphicon-remove"></span>取消</button>-->
</div>
</div>
</body>
</html>