Просмотр исходного кода

Merge branch 'master' of http://117.158.196.116:22/zhoufan/12345_Base_Web

clq1010 лет назад: 8
Родитель
Сommit
9e52e533f4

+ 40 - 6
WebSite/dongtai-con.html

@@ -3,7 +3,16 @@
3 3
 
4 4
 	<head>
5 5
 		<meta charset="UTF-8">
6
-			<meta http-equiv="x-ua-compatible" content="ie=edge">
6
+		<meta http-equiv="x-ua-compatible" content="ie=edge">
7
+		 <!--必填-->
8
+	    <meta property="og:type" content="article" />
9
+	    <meta property="og:url" content="" />
10
+	    <meta property="og:title" content="" />
11
+	    <meta property="og:description" content="" />
12
+	    <!--选填-->
13
+	    <!--<meta property="og:image" content="文章的显示图片" />-->
14
+	    <meta name="weibo: article:create_at" content="" />
15
+	    <!--<meta name="weibo: article:update_at" content="文章的更新时间" />-->
7 16
 		<title></title>
8 17
 		<link rel="stylesheet" href="css/bootstrap.min.css" />
9 18
 		<link rel="stylesheet" href="css/indexs.css" />
@@ -11,6 +20,19 @@
11 20
   <script src="http://apps.bdimg.com/libs/html5shiv/3.7/html5shiv.min.js"></script>
12 21
   <script src="http://apps.bdimg.com/libs/respond.js/1.4.2/respond.min.js"></script>
13 22
 <![endif]-->
23
+  <script src="http://tjs.sjs.sinajs.cn/open/api/js/wb.js" type="text/javascript" charset="utf-8"></script>
24
+    <!--微博直播,微博发布器 用-->
25
+    <script src="http://tjs.sjs.sinajs.cn/open/api/js/wb.js?appkey=4157670774" type="text/javascript" charset="utf-8"></script>
26
+    <!--微博发布器 调试用 debug=true-->
27
+    <script src="http://tjs.sjs.sinajs.cn/open/api/js/wb.js?appkey=4157670774&debug=true" type="text/javascript" charset="utf-8"></script>
28
+
29
+  <style>
30
+  	.weibo{
31
+  		display: inline-block;
32
+  		vertical-align: middle;
33
+  	}
34
+  </style>
35
+
14 36
 	</head>
15 37
 
16 38
 	<body>
@@ -59,7 +81,6 @@
59 81
 							<button class="btn btn-primary">搜索</button>
60 82
 
61 83
 						</div>
62
-
63 84
 					</div>
64 85
 				</div>
65 86
 			</div>
@@ -117,7 +138,6 @@
117 138
 					</div>-->
118 139
 				</div>
119 140
 				<!--内容-->
120
-
121 141
 			</div>
122 142
 		</div>
123 143
 		<!--内容-->
@@ -135,7 +155,10 @@
135 155
 							<div class="main-content">
136 156
 								
137 157
 								<div class="content-title"></div>
138
-								<div class="content-info">来源:本站&nbsp;&nbsp;发布日期:<em class="RQ" style="font-style:normal;"></em> &nbsp;</div>
158
+								<div class="content-info">来源:本站&nbsp;&nbsp;发布日期:<em class="RQ" style="font-style:normal;"></em> &nbsp;
159
+									<sapn class="weibo"></sapn>
160
+									<sapn class="weibo"><wb:share-button appkey="4157670774" addition="simple" type="button" language="zh_cn"></wb:share-button></sapn>
161
+								</div>
139 162
 								<div class="content-text">
140 163
 									<div class="content-img" style="text-align: center;width: 100%;">
141 164
 								</div>
@@ -153,9 +176,16 @@
153 176
 							</div>
154 177
 						</div>
155 178
 					</div>
179
+				
180
+				<!--微博分享-->
181
+				<div style="width:100%;"><wb:comments url="auto" width="auto" appkey="2353346562"></wb:comments></div>
156 182
 				</div>
157 183
 			</div>
158 184
 		</div>
185
+		
186
+			
187
+			
188
+			
159 189
 		<!--底部开始-->
160 190
 		<div class="footer">
161 191
 				<div class="navcon_box footerbox ">
@@ -176,13 +206,17 @@
176 206
 				}, function(result) {
177 207
 					if(result.state.toLowerCase() == "success") {
178 208
 						console.log(result.data);
179
-						
180 209
 						$(".content-title").text(result.data.bt);
181 210
 						$(".RQ").text(result.data.sj);
182 211
 						$(".news_content_content").html(result.data.nr);
183
-						$('<img style="width:100%;"src="'+result.data.img+'" alt="" />').appendTo(".content-img")
212
+						$('<img style="width:100%;"src="'+result.data.img+'" alt="" />').appendTo(".content-img");
213
+						$('meta[property="og:title"]').attr('content',result.data.bt);
214
+//						$('meta[property="og:description"]').attr('content',result.data.nr);
215
+						$('meta[property="og:url"]').attr('content',window.location.href);
216
+						$('meta[name="weibo: article:create_at"]').attr('content',result.data.sj);
184 217
 					}
185 218
 				})
219
+				
186 220
 			}
187 221
 		</script>
188 222
 	</body>

+ 215 - 0
WebUI/CallCenterWeb.UI/Announcement/NoAnnManagement.html

@@ -0,0 +1,215 @@
1
+<!DOCTYPE html>
2
+<html>
3
+
4
+	<head>
5
+		<meta charset="UTF-8">
6
+		<title>公告管理</title>
7
+		<meta name="viewport" content="width=device-width, initial-scale=1.0">
8
+		<script src="../Script/Common/huayi.load.js"></script>
9
+		<script src="../Script/Common/huayi.config.js"></script>
10
+
11
+		<link rel="stylesheet" href="../js/zTree/zTreeStyle.css" />
12
+		<link href="../css/WorkOrder/Search.css" rel="stylesheet">
13
+		<link href="../css/init.css" rel="stylesheet" />
14
+		<style>
15
+			table td {
16
+				word-break: break-all;
17
+				word-wrap: break-word;
18
+			}
19
+			
20
+			.ld-service li {
21
+				float: left;
22
+				font-size: 14px;
23
+				color: #000;
24
+				padding: 5px 15px;
25
+				cursor: pointer;
26
+				border-bottom: 1px solid #ccc;
27
+			}
28
+			
29
+			.cr-click {
30
+				border: 1px solid #ccc;
31
+				background-color: #fff;
32
+				border-bottom: none !important;
33
+				border-bottom-left-radius: 5px;
34
+				border-bottom-right-radius: 5px;
35
+			}
36
+			
37
+			.Shows {
38
+				display: block !important;
39
+			}
40
+			
41
+			.complain {
42
+				display: none;
43
+			}
44
+			
45
+			th {
46
+				padding: 5px;
47
+				text-align: center;
48
+			}
49
+			
50
+			td {
51
+				padding: 5px;
52
+			}
53
+			
54
+			.Borders {
55
+				border: 1px solid #d7d7d7;
56
+			}
57
+			
58
+			.cx {
59
+				display: block;
60
+			}
61
+		</style>
62
+	</head>
63
+
64
+	<body class="gray-bg">
65
+		<div class="wrapper wrapper-content animated fadeInRight">
66
+			<div class="daoHang clearfix">
67
+				<div class="dhLeft">
68
+					<sapn>
69
+						<i class="syIcon"></i>位置:
70
+						<a href="javaScript:;" id="ReIndex">首页</a>&gt;
71
+						<a href="javaScript:;">信息管理</a>&gt;
72
+						<a class="nowPosition">公告列表</a>
73
+					</sapn>
74
+				</div>
75
+				<div class="dhRight">
76
+					<i class="fa fa-refresh"></i>
77
+				</div>
78
+			</div>
79
+
80
+			<div class="Content_box">
81
+				<!--待处理/-->
82
+				<div class="complain Shows">
83
+
84
+					<div style="width: 100%;padding: 10px;">
85
+						<table id="workorderlist" data-row-style="rowStyle" data-query-params="queryParams" data-pagination="true">
86
+							<thead>
87
+								<tr>
88
+									<th data-field="a" data-align="center"data-formatter="Cr">序号</th>
89
+									<th data-field="F_Title" data-align="center" data-formatter="Creat">公告标题</th>
90
+									<th data-field="F_CreateByName" data-align="center">发布人</th>
91
+									<th data-field="F_CreateOn" data-align="center" data-formatter="CreateOn">发布时间</th>
92
+									<th data-field="F_EndDate" data-align="center" data-formatter="Data">有效期</th>
93
+								</tr>
94
+							</thead>
95
+						</table>
96
+					</div>
97
+				</div>
98
+
99
+			</div>
100
+		</div>
101
+
102
+		<script>
103
+			initTable();
104
+			var keys;
105
+			$(document).ready(function() {
106
+				//返回首页
107
+				$('#ReIndex').click(function() {
108
+					top.home_index();
109
+				});
110
+				$("#workorderlist").on("click-row.bs.table", function(e, row, ele) {
111
+					$('.success').removeClass('success'); //去除之前选中的行的,选中样式
112
+					$(ele).addClass('success'); //添加当前选中的 success样式用于区别
113
+				});
114
+			})
115
+			//表格一
116
+			function initTable() {
117
+				//先销毁表格
118
+				$('#workorderlist').bootstrapTable('destroy');
119
+				//初始化表格,动态从服务器加载数据
120
+				$("#workorderlist").bootstrapTable({
121
+					method: "get", //使用get请求到服务器获取数据
122
+					url: huayi.config.callcenter_url + "Notice/GetList",
123
+					contentType: "application/x-www-form-urlencoded",
124
+					striped: true, //表格显示条纹
125
+					pagination: true, //启动分页
126
+					pageSize: 10, //每页显示的记录数
127
+					pageNumber: 1, //当前第几页
128
+					pageList: [10, 20, 50, 100], //记录数可选列表
129
+					search: false, //是否启用查询
130
+					showColumns: false, //显示下拉框勾选要显示的列
131
+					showRefresh: false, //显示刷新按钮
132
+					sidePagination: "server", //表示服务端请求
133
+					//设置为undefined可以获取pageNumber,pageSize,searchText,sortName,sortOrder
134
+					//设置为limit可以获取limit, offset, search, sort, order
135
+					queryParamsType: "undefined",
136
+					queryParams: function queryParams(params) { //设置查询参数
137
+						var param = {
138
+							page: params.pageNumber,
139
+							pagesize: params.pageSize,
140
+							starttime: $("#startTimes").val(),
141
+							endtime: $("#endTimes").val(),
142
+							token: $.cookie("token")
143
+						};
144
+
145
+						return param;
146
+					},
147
+					onLoadSuccess: function() { //加载成功时执行
148
+						//layer.msg("加载成功");
149
+					},
150
+					onLoadError: function() { //加载失败时执行
151
+						//layer.msg("加载数据失败", { time: 1500, icon: 2 });
152
+					}
153
+				});
154
+			}
155
+			//序号
156
+			function Cr(val,row,index) {						
157
+					return index+1;
158
+	
159
+		}	
160
+			//内容
161
+			function GetCont(val) {
162
+				if(val) {
163
+					var str = '<div '
164
+					if(val.length > 10) {
165
+						str = str + ' title="' + val + '" ';
166
+						val = val.substr(0, 10) + "...";
167
+					}
168
+					return str + '>' + val + '</div>';
169
+				} else {
170
+					return '';
171
+				}
172
+			}
173
+			//跳转
174
+			function Creat(val, row) {
175
+				return '<div class="imgs" style="color:#000;" >' +
176
+					'<a href="AnnD.html?wid=' + row.F_NoticeId + '">' + row.F_Title + '</a>' +
177
+					'</div>';
178
+			}
179
+			//发布日期
180
+			function CreateOn(val, row) {
181
+				var T = row.F_CreateOn; //substring(0, row.F_CreateOn.indexOf(' '));
182
+				return '<div class="imgs" style="color:#000;" >' + T + '' +
183
+
184
+					'</div>';
185
+			}
186
+			//日期
187
+			function Data(val, row) {
188
+				var T = row.F_StartDate;
189
+				var E = row.F_EndDate;
190
+				return '<div class="imgs" style="color:#000;" >' + T + '---' + E + ' ' +
191
+
192
+					'</div>';
193
+			}
194
+
195
+			//操作
196
+			function Dispose(val, row) {
197
+				return '<div class="imgs" >' +
198
+					'<a class="xg" onclick="xg(' + row.F_NoticeId + ')"><i class="fa fa-edit"></i> </a>' +
199
+					'<a class="xg" onclick="remove(' + row.F_NoticeId + ')"><i class="fa fa-remove"></i> </a>' +
200
+					'</div>';
201
+			}
202
+			//查看详情
203
+			function xg(str) {
204
+				layer.open({
205
+					type: 2,
206
+					content: "AnnDatil.html?wid=" + str, //iframe的url,no代表不显示滚动条
207
+					title: '公告详情',
208
+					area: ['45%', '43%'], //宽高
209
+				});
210
+			}
211
+
212
+		</script>
213
+	</body>
214
+
215
+</html>

+ 2 - 2
WebUI/CallCenterWeb.UI/CommonHtml/Back.html

@@ -38,8 +38,8 @@
38 38
 				<th class="Importent">回访结果:</th>
39 39
 				<td>
40 40
 					<select class="select_" id='issatisfie'>
41
-						<option value="0">满意</option>
42
-						<option value="1">满意</option>
41
+						<option value="0">满意</option>
42
+						<option value="1">满意</option>
43 43
 					</select>
44 44
 				</td>
45 45
 			</tr>

+ 8 - 58
WebUI/CallCenterWeb.UI/WebSite/weiBo.html

@@ -33,16 +33,17 @@
33 33
             <div class="dhRight"><a href="" title="刷新"><i class="fa fa-refresh"></i></a></div>
34 34
         </div>
35 35
         <div class="treeTable clearfix">
36
-            <div class="tableCon col-md-9">
36
+            <div class="tableCon">
37 37
                 <table id="table1" data-row-style="rowStyle" data-query-params="queryParams" data-pagination="true">
38 38
                     <thead>
39 39
                         <tr>
40
-                            <th data-align="W_Id">微博ID</th>
41
-                            <th data-field="W_Text" data-align="center"  data-formatter="detail">微博信息</th>
42
-                            <th data-field="W_Source" data-align="left">关联</th>
43
-                            <th data-field="W_Name" data-align="left" >发布人</th>
44
-                            <th data-field="W_Created_at" data-align="left" >发布时间</th>
45
-                            <th data-field="W_Url" data-align="left" >操作</th>
40
+                            <th data-field="W_Id" data-align="center">微博ID</th>
41
+                            <th data-field="W_Text" data-align="center" >微博信息</th>
42
+                            <th data-field="W_Source" data-align="center">关联</th>
43
+                            <th data-field="W_Name" data-align="center" >发布人</th>
44
+                            <th data-field="W_Created_at" data-align="center" >发布时间</th>
45
+                            <th data-align="center"  data-formatter="detail">操作</th>
46
+                            <!--data-field="W_Url"-->
46 47
                         </tr>
47 48
                     </thead>
48 49
                     <tbody id="tbody"></tbody>
@@ -54,56 +55,5 @@
54 55
     <script src="../css/layer/layer.js"></script>
55 56
     <script src="../js/weiBo.js"></script>
56 57
 </body>
57
-<script>
58
-	var table=$('#table1');
59
-	function initTable() {
60
-	//先销毁表格
61
-	table.bootstrapTable('destroy');
62
-	//初始化表格,动态从服务器加载数据
63
-	table.bootstrapTable({
64
-		method: "get", //使用get请求到服务器获取数据
65
-		url: huayi.config.callcenter_url + "WeiBo/WeiBoList", //获取数据的Servlet地址
66
-		contentType: "application/x-www-form-urlencoded",
67
-		striped: true, //表格显示条纹
68
-		pagination: true, //启动分页
69
-		pageSize: 10, //每页显示的记录数
70
-		pageNumber: 1, //当前第几页
71
-		pageList: [10, 20, 50, 100], //记录数可选列表
72
-		search: false, //是否启用查询
73
-		showColumns: false, //显示下拉框勾选要显示的列
74
-		showRefresh: false, //显示刷新按钮
75
-		sidePagination: "server", //表示服务端请求
76
-		//设置为undefined可以获取pageNumber,pageSize,searchText,sortName,sortOrder
77
-		//设置为limit可以获取limit, offset, search, sort, order
78
-		queryParamsType: "undefined",
79
-		queryParams: function queryParams(params) { //设置查询参数
80
-			var param = {
81
-				page: params.pageNumber,
82
-				pagesize: params.pageSize,
83
-				token:$.cookie("token")
84
-			};
85
-			return param;
86
-		},
87
-		onLoadSuccess: function() { //加载成功时执行
88
-			//layer.msg("加载成功");
89
-		},
90
-		onLoadError: function() { //加载失败时执行
91
-			//layer.msg("加载数据失败", { time: 1500, icon: 2 });
92
-		}
93
-	});
94
-}
95
-	
96
-function detail(val,row){
97
-	return'<div class="content" onclick="goDetail('+ row.W_Id+')">'+ val +'</div>'
98
-}
99
-//跳转详情页
100
-function goDetail(did){
101
-	top.$("iframe:visible")[0].src = "zhiShiKu/zhiShiKuDetail.html?id="+did;
102
-}
103
-
104
-	
105
-	
106
-
107
-</script>
108 58
 
109 59
 </html>

+ 103 - 0
WebUI/CallCenterWeb.UI/WebSite/weiBoComment.html

@@ -0,0 +1,103 @@
1
+<!DOCTYPE html>
2
+<html>
3
+
4
+<head>
5
+    <meta charset="UTF-8">
6
+    <script src="../Script/Common/huayi.load.js"></script>
7
+    <script src="../Script/Common/huayi.config.js"></script>
8
+    <link rel="stylesheet" href="../css/init.css" />
9
+    <title>微博评论</title>
10
+    <style>
11
+        .treeTable {
12
+            height: 400px;
13
+            /*overflow-y: auto;*/
14
+        }
15
+        .content {
16
+            width: 270px;
17
+            height: 100%;
18
+            overflow: hidden;
19
+            white-space: nowrap;
20
+            text-overflow: ellipsis;
21
+            text-align: left;
22
+            cursor: pointer;
23
+        }
24
+    </style>
25
+</head>
26
+
27
+<body>
28
+    <div class="container-fluid">
29
+        <div class="daoHang clearfix">
30
+            <div class="dhLeft">
31
+                <sapn><i class="syIcon"></i>位置:<a id="ReIndex">首页</a>&gt;<a href="javaScript:;">后台管理</a>&gt;<a href="" class="nowPosition">微博评论</a></sapn>
32
+            </div>
33
+            <div class="dhRight"><i class="fa fa-refresh"></i></div>
34
+        </div>
35
+        <div class="treeTable clearfix">
36
+            <div class="tableCon">
37
+                <table id="table1" data-row-style="rowStyle" data-query-params="queryParams" data-pagination="true">
38
+                    <thead>
39
+                        <tr>
40
+                            <th data-field="W_Id" data-align="center">微博ID</th>
41
+                            <th data-field="W_Text" data-align="center" >微博信息</th>
42
+                            <th data-field="W_Source" data-align="center">关联</th>
43
+                            <th data-field="W_Name" data-align="center" >发布人</th>
44
+                            <th data-field="W_Created_at" data-align="center" >发布时间</th>
45
+                            <th data-field="W_Location" data-align="center">所在地</th>
46
+                            <th data-field="W_Url" data-align="center">链接</th>
47
+                        </tr>
48
+                    </thead>
49
+                    <tbody id="tbody"></tbody>
50
+                </table>
51
+
52
+            </div>
53
+        </div>
54
+    </div>
55
+    <script src="../css/layer/layer.js"></script>
56
+    <script>
57
+    var id = helper.request.queryString("id");
58
+    var table=$('#table1');
59
+	initTable(id) 
60
+	function initTable(id) {
61
+	//先销毁表格
62
+	table.bootstrapTable('destroy');
63
+	//初始化表格,动态从服务器加载数据
64
+	table.bootstrapTable({
65
+		method: "get", //使用get请求到服务器获取数据
66
+		url: huayi.config.callcenter_url + "WeiBo/CommentsList", //获取数据的Servlet地址
67
+		contentType: "application/x-www-form-urlencoded",
68
+		striped: true, //表格显示条纹
69
+		pagination: true, //启动分页
70
+		pageSize: 10, //每页显示的记录数
71
+		pageNumber: 1, //当前第几页
72
+		pageList: [10, 20, 50, 100], //记录数可选列表
73
+		search: false, //是否启用查询
74
+		showColumns: false, //显示下拉框勾选要显示的列
75
+		showRefresh: false, //显示刷新按钮
76
+		sidePagination: "server", //表示服务端请求
77
+		//设置为undefined可以获取pageNumber,pageSize,searchText,sortName,sortOrder
78
+		//设置为limit可以获取limit, offset, search, sort, order
79
+		queryParamsType: "undefined",
80
+		queryParams: function queryParams(params) { //设置查询参数
81
+			var param = {
82
+				page: params.pageNumber,
83
+				pagesize: params.pageSize,
84
+				token:$.cookie("token"),
85
+				id:id
86
+			};
87
+			return param;
88
+		},
89
+		onLoadSuccess: function() { //加载成功时执行
90
+			//layer.msg("加载成功");
91
+		},
92
+		onLoadError: function() { //加载失败时执行
93
+			//layer.msg("加载数据失败", { time: 1500, icon: 2 });
94
+		}
95
+	});
96
+}
97
+    	
98
+    	
99
+    	
100
+    </script>
101
+</body>
102
+
103
+</html>

+ 47 - 9
WebUI/CallCenterWeb.UI/WebSite/weiBoDetail.html

@@ -21,6 +21,14 @@
21 21
             text-align: left;
22 22
             cursor: pointer;
23 23
         }
24
+        #table1 thead tr th{
25
+        	    background: #01a1cb;
26
+    			color: #fff;
27
+    			text-align: center;
28
+        }
29
+        #table1 tbody tr td{
30
+    			text-align: center;
31
+        }
24 32
     </style>
25 33
 </head>
26 34
 
@@ -33,16 +41,16 @@
33 41
             <div class="dhRight"><a href="" title="刷新"><i class="fa fa-refresh"></i></a></div>
34 42
         </div>
35 43
         <div class="treeTable clearfix">
36
-            <div class="tableCon col-md-9">
37
-                <table id="table1" data-row-style="rowStyle" data-query-params="queryParams" data-pagination="true">
44
+            <div class="tableCon">
45
+                <table id="table1" class="table table-hover table-striped table-bordered table-condensed">
38 46
                     <thead>
39 47
                         <tr>
40
-                            <th data-align="W_Id">微博ID</th>
41
-                            <th data-field="W_Text" data-align="center"  data-formatter="detail">微博信息</th>
42
-                            <th data-field="W_Source" data-align="left">关联</th>
43
-                            <th data-field="W_Name" data-align="left" >发布人</th>
44
-                            <th data-field="W_Created_at" data-align="left" >发布时间</th>
45
-                            <th data-field="W_Url" data-align="left" >操作</th>
48
+                            <th>微博ID</th>
49
+                            <th>微博信息</th>
50
+                            <th>关联</th>
51
+                            <th>发布人</th>
52
+                            <th>发布时间</th>
53
+                            <!--<th>操作</th>-->
46 54
                         </tr>
47 55
                     </thead>
48 56
                     <tbody id="tbody"></tbody>
@@ -52,7 +60,37 @@
52 60
         </div>
53 61
     </div>
54 62
     <script src="../css/layer/layer.js"></script>
55
-    <script src="../js/weiBo.js"></script>
63
+    <script>
64
+    	var id = helper.request.queryString("id");
65
+    	$('#table1 tbody').html('');
66
+		$.ajax({
67
+			type:"get",
68
+			url:huayi.config.callcenter_url + "WeiBo/WeiBoInfoByIn",
69
+			async:true,
70
+			dataType:'json',
71
+			data:{
72
+				token:$.cookie("token"),
73
+				id:id
74
+			},
75
+			success:function(data){
76
+				var con=data.data;
77
+				if(data.state.toLowerCase()=='success'){
78
+					$('<tr>'+
79
+					   '<td>'+ con.W_Id +'</td>'+
80
+					   '<td>'+ con.W_Text +'</td>'+
81
+					   '<td>'+ con.W_Source +'</td>'+
82
+					   '<td>'+ con.W_Name +'</td>'+
83
+					   '<td>'+ con.W_Created_at +'</td>'+
84
+//					   '<td>'+ con.W_Url +'</td>'+
85
+						'</tr>').appendTo('#table1 tbody');
86
+				}
87
+			}
88
+		});
89
+    	
90
+    	
91
+    	
92
+    	
93
+    </script>
56 94
 </body>
57 95
 
58 96
 </html>

+ 6 - 1
WebUI/CallCenterWeb.UI/js/weiBo.js

@@ -1,4 +1,5 @@
1 1
 	var table=$('#table1');
2
+	initTable() 
2 3
 	function initTable() {
3 4
 	//先销毁表格
4 5
 	table.bootstrapTable('destroy');
@@ -37,12 +38,16 @@
37 38
 }
38 39
 	
39 40
 function detail(val,row){
40
-	return'<div class="content" onclick="goDetail('+ row.W_Id+')">'+ val +'</div>'
41
+	return'<div><a onclick="goDetail('+ row.W_Id+')" title="查看详情"><i class="fa fa-navicon" style="margin-right:2px;"></i>详情</a><a onclick="goComment('+ row.W_Id+')" title="查看评论" style="margin-left:5px;"><i class="fa fa-pencil-square-o" style="margin-right:2px;"></i>评论</a></div>'
41 42
 }
42 43
 //跳转详情页
43 44
 function goDetail(did){
44 45
 	top.$("iframe:visible")[0].src = "WebSite/weiBoDetail.html?id="+did;
45 46
 }
47
+//跳转评论页
48
+function goComment(did){
49
+	top.$("iframe:visible")[0].src = "WebSite/weiBoComment.html?id="+did;
50
+}
46 51
 
47 52
 	
48 53
 	

+ 1 - 1
WebUI/CallCenterWeb.UI/widgets.html

@@ -533,7 +533,7 @@
533 533
 							<div class="Announcement_title clearfix">
534 534
 								<span class="fl" style="padding-left: 25px;">通知公告</span>
535 535
 								<span class="rl" style="padding-right: 25px;">
536
-									<a href="Announcement/AnnManagement.html">更多&gt;&gt;</a>
536
+									<a href="Announcement/NoAnnManagement.html">更多&gt;&gt;</a>
537 537
 								</span>
538 538
 							</div>
539 539
 							<div class="Announcement_common">

+ 9 - 1
WebUI/CallCenterWeb.UI/zhiShiKu/addZhiShiKu.html

@@ -75,6 +75,7 @@
75 75
 			    right: 0;
76 76
 			    top: 32px;
77 77
 			    display: none;
78
+			    z-index: 9999;
78 79
 			    }
79 80
 			
80 81
 		</style>
@@ -182,7 +183,11 @@
182 183
 					//		"pid": pid
183 184
 				}, function(result) {
184 185
 					result = $.parseJSON(result);
185
-					$.fn.zTree.init($("#addTreeDemo"), setting1, result.data); //实例化树形图
186
+					var zTreeObj=$.fn.zTree.init($("#addTreeDemo"), setting1, result.data); //实例化树形图
187
+					   var nodes = zTreeObj.getNodes();
188
+			            for (var i = 0; i < nodes.length; i++) { //设置节点展开
189
+			                zTreeObj.expandNode(nodes[i], true, false, true);
190
+			            }
186 191
 				});
187 192
 			}
188 193
 			var setting1 = {
@@ -211,6 +216,9 @@
211 216
 			$('.inps').focus(function() {
212 217
 				$('.xlAdd').css('display', 'block')
213 218
 			})
219
+			$('.inps').blur(function() {
220
+				$('.xlAdd').css('display', 'none')
221
+			})
214 222
 			$('.xl').click(function() {
215 223
 				if($('.xlAdd').css('display') == 'block') {
216 224
 					$('.xlAdd').css('display', 'none')

+ 6 - 6
WebUI/CallCenterWeb.UI/zhiShiKu/css/zhiShiKuFenLei.css

@@ -14,7 +14,7 @@
14 14
 			
15 15
 			.inpBox {
16 16
 				border: 1px solid #a9a9a9;
17
-				height: 27px;
17
+				height: 32px;
18 18
 				width: 172px;
19 19
 				display: inline-block;
20 20
 				position: relative;
@@ -22,13 +22,13 @@
22 22
 			}
23 23
 			
24 24
 			.inps {
25
-				height: 27px;
25
+				height: 30px;
26 26
 				width: 172px;
27 27
 			}
28 28
 			
29 29
 			.inps1,.inps4 {
30
-				width: 170px;
31
-				height: 25px;
30
+				width: 97%;
31
+				height: 30px;
32 32
 				outline: none;
33 33
 				border: 0;
34 34
 				border-image-width: 0;
@@ -55,9 +55,9 @@
55 55
 			    background: #fff;
56 56
 			    position: absolute;
57 57
 			    width: 100%;
58
-			       border: 1px solid darkgrey;
58
+			    border: 1px solid darkgrey;
59 59
 			    right: 0;
60
-			    top: 26px;
60
+			    top: 30px;
61 61
 			    display: none;
62 62
 			}
63 63
 				.ztree li {

+ 6 - 1
WebUI/CallCenterWeb.UI/zhiShiKu/js/zhiShiKu.js

@@ -29,7 +29,12 @@ function tree() {
29 29
 		"pid": pid
30 30
 	}, function(result) {
31 31
 		result = $.parseJSON(result);
32
-		$.fn.zTree.init($("#treeDemo"), setting1, result.data); //实例化树形图
32
+		var zTreeObj=$.fn.zTree.init($("#treeDemo"), setting1, result.data); //实例化树形图
33
+		 var nodes = zTreeObj.getNodes();
34
+            for (var i = 0; i < nodes.length; i++) { //设置节点展开
35
+                zTreeObj.expandNode(nodes[i], true, false, true);
36
+            }
37
+		
33 38
 	});
34 39
 }
35 40
 

+ 22 - 3
WebUI/CallCenterWeb.UI/zhiShiKu/js/zhiShiKuFenLei.js

@@ -13,7 +13,11 @@
13 13
 //		"pid": pid
14 14
 	}, function(result) {
15 15
 		result = $.parseJSON(result);
16
-		$.fn.zTree.init($("#treeDemo"), setting1, result.data); //实例化树形图
16
+		var zTreeObj=$.fn.zTree.init($("#treeDemo"), setting1, result.data); //实例化树形图
17
+		 var nodes = zTreeObj.getNodes();
18
+            for (var i = 0; i < nodes.length; i++) { //设置节点展开
19
+                zTreeObj.expandNode(nodes[i], true, false, true);
20
+            }
17 21
 	});
18 22
 	}
19 23
 
@@ -130,6 +134,9 @@
130 134
 	$('.inps1').focus(function() {
131 135
 		$('.xlAdd').css('display', 'block')
132 136
 	})
137
+	$('.inps1').blur(function() {
138
+		$('.xlAdd').css('display', 'none')
139
+	})
133 140
 	$('.xl_one').click(function() {
134 141
 		if($('.xlAdd').css('display') == 'block') {
135 142
 			$('.xlAdd').css('display', 'none')
@@ -149,7 +156,11 @@
149 156
 //			"pid": pid
150 157
 		}, function(result) {
151 158
 			result = $.parseJSON(result);
152
-			$.fn.zTree.init($("#addTreeDemo"), setting2, result.data); //实例化树形图
159
+			var zTreeObj_add=$.fn.zTree.init($("#addTreeDemo"), setting2, result.data); //实例化树形图
160
+			 var nodes_add = zTreeObj_add.getNodes();
161
+            for (var i = 0; i < nodes_add.length; i++) { //设置节点展开
162
+                zTreeObj_add.expandNode(nodes_add[i], true, false, true);
163
+            }
153 164
 		});
154 165
 	}
155 166
 	$('.addCun').click(function(){
@@ -218,6 +229,10 @@
218 229
 	$('.inps4').focus(function() {
219 230
 		$('.xlChange').css('display', 'block')
220 231
 	})
232
+	$('.inps4').blur(function() {
233
+		$('.xlChange').css('display', 'none')
234
+	})
235
+	
221 236
 	//下拉按钮功能
222 237
 	$('.xl_two').click(function() {
223 238
 		if($('.xlChange').css('display') == 'block') {
@@ -266,7 +281,11 @@
266 281
 //			"pid": pid
267 282
 		}, function(result) {
268 283
 			result = $.parseJSON(result);
269
-			$.fn.zTree.init($("#changeTreeDemo"), setting3, result.data); //实例化树形图
284
+			var zTreeObj2=$.fn.zTree.init($("#changeTreeDemo"), setting3, result.data); //实例化树形图
285
+			 var nodes2 = zTreeObj2.getNodes();
286
+            for (var i = 0; i < nodes2.length; i++) { //设置节点展开
287
+                zTreeObj2.expandNode(nodes2[i], true, false, true);
288
+            }
270 289
 		});
271 290
 	}
272 291
 	function changeAjax(id){