Przeglądaj źródła

知识库bug调整
添加外呼任务部门下拉列表接口调整

yuqian 8 lat temu
rodzic
commit
a2f683d2ca

+ 2 - 2
CallCenterWeb.UI/clickcall/add.html

@@ -610,8 +610,8 @@
610 610
 
611 611
         //获取部门
612 612
         function getDeptLists() {
613
-            $.getJSON(huayi.config.callcenter_url + 'Department/GetDeptListForReport', {
614
-                token: $.cookie("token")
613
+            $.getJSON(huayi.config.callcenter_url + 'Department/GetDeptListForCreateTask', {
614
+                token: $.cookie("token"),
615 615
             }, function (result) {
616 616
                 //debugger;
617 617
                 if (result.state.toLowerCase() == "success") {

+ 75 - 75
CallCenterWeb.UI/zhiShiKu/js/zhiShiKuManger.js

@@ -11,9 +11,9 @@ var table = $('#table1');//右边表格
11 11
 $('.searchGo').click(function () {
12 12
     keyWord = $('.searCon').val();
13 13
     console.log(keyWord);
14
-//  if (keyWord) {
15
-        initTable(token, id, keyWord);
16
-//  }
14
+    //  if (keyWord) {
15
+    initTable(token, id, keyWord);
16
+    //  }
17 17
 
18 18
 })
19 19
 tree();
@@ -157,37 +157,37 @@ $('.addCun').click(function () {
157 157
         addCunTree(addPid, addTitle, addKey, addCon);
158 158
     }
159 159
 })
160
-	laydate.skin('molv');
161
-				laydate({
162
-					elem: '#startTime',
163
-					event: 'focus',
164
-					 istime:true,
165
-					 format:'YYYY-MM-DD hh:mm:ss', // 分隔符可以任意定义,该例子表示只显示年月
166
-				});
167
-				laydate({
168
-					elem: '#endTime',
169
-     				event: 'focus',
170
-     				 istime:true,
171
-					 format:'YYYY-MM-DD hh:mm:ss', // 分隔符可以任意定义,该例子表示只显示年月
172
-				});
173
-	$('input:radio[name="canlastlong"]').change(function () {
174
-        if ($(this).val() == '0') {
175
-            $(".timeBoxs").show();
176
-        }
177
-        else {
178
-            $(".timeBoxs").hide();
179
-        }
180
-    })
160
+laydate.skin('molv');
161
+laydate({
162
+    elem: '#startTime',
163
+    event: 'focus',
164
+    istime: true,
165
+    format: 'YYYY-MM-DD hh:mm:ss', // 分隔符可以任意定义,该例子表示只显示年月
166
+});
167
+laydate({
168
+    elem: '#endTime',
169
+    event: 'focus',
170
+    istime: true,
171
+    format: 'YYYY-MM-DD hh:mm:ss', // 分隔符可以任意定义,该例子表示只显示年月
172
+});
173
+$('input:radio[name="canlastlong"]').change(function () {
174
+    if ($(this).val() == '0') {
175
+        $(".timeBoxs").show();
176
+    }
177
+    else {
178
+        $(".timeBoxs").hide();
179
+    }
180
+})
181 181
 
182 182
 function addCunTree(addPid, addTitle, addKey, addCon) {
183
-	if($('input:radio[name="canlastlong"]').val()=='0'){
184
-		if($('#startTime').val()==''){
185
-			layer.msg("请选择开始时间!");
186
-			
187
-		}if($('#endTime').val()==''){
188
-			layer.msg("请选择结束时间!");
189
-		}
190
-	}
183
+    if ($('input:radio[name="canlastlong"]').val() == '0') {
184
+        if ($('#startTime').val() == '') {
185
+            layer.msg("请选择开始时间!");
186
+
187
+        } if ($('#endTime').val() == '') {
188
+            layer.msg("请选择结束时间!");
189
+        }
190
+    }
191 191
     $.ajax({
192 192
         type: "post",
193 193
         url: huayi.config.callcenter_url + "Knowledge/AddInfo",
@@ -198,9 +198,9 @@ function addCunTree(addPid, addTitle, addKey, addCon) {
198 198
             key: addKey,
199 199
             con: addCon,
200 200
             pid: addPid,
201
-            start:$('#startTime').val(),
202
-			end:$('#endTime').val(),
203
-			canlastlong:$('input:radio[name="canlastlong"]').val(),
201
+            start: $('#startTime').val(),
202
+            end: $('#endTime').val(),
203
+            canlastlong: $('input:radio:checked[name="canlastlong"]').val(),
204 204
             token: token
205 205
         },
206 206
         success: function (data) {
@@ -220,27 +220,27 @@ function addCunTree(addPid, addTitle, addKey, addCon) {
220 220
 
221 221
 
222 222
 //=======================修改功能开始==============================
223
-	$('input:radio[name="editCanlastlong"]').change(function () {
224
-        if ($(this).val() == '0') {
225
-            $(".editTimeBoxs").show();
226
-        }
227
-        else {
228
-            $(".editTimeBoxs").hide();
229
-        }
230
-    })
223
+$('input:radio[name="editCanlastlong"]').change(function () {
224
+    if ($(this).val() == '0') {
225
+        $(".editTimeBoxs").show();
226
+    }
227
+    else {
228
+        $(".editTimeBoxs").hide();
229
+    }
230
+})
231 231
 
232
-	laydate({
233
-			elem: '#editStartTime',
234
-			event: 'focus',
235
-			 istime:true,
236
-			 format:'YYYY-MM-DD hh:mm:ss' // 分隔符可以任意定义,该例子表示只显示年月
237
-		});
238
-		laydate({
239
-			elem: '#editEndTime',
240
-			event: 'focus',
241
-			 istime:true,
242
-			 format:'YYYY-MM-DD hh:mm:ss', // 分隔符可以任意定义,该例子表示只显示年月
243
-		});
232
+laydate({
233
+    elem: '#editStartTime',
234
+    event: 'focus',
235
+    istime: true,
236
+    format: 'YYYY-MM-DD hh:mm:ss' // 分隔符可以任意定义,该例子表示只显示年月
237
+});
238
+laydate({
239
+    elem: '#editEndTime',
240
+    event: 'focus',
241
+    istime: true,
242
+    format: 'YYYY-MM-DD hh:mm:ss', // 分隔符可以任意定义,该例子表示只显示年月
243
+});
244 244
 
245 245
 var chanId,//修改弹出框内 下拉框当前节点ID
246 246
     changeName,//修改弹出框内 下拉框当前节点name
@@ -328,15 +328,15 @@ function getChangeBox(changeGetid) {
328 328
             $('.inps4').val(con.F_Expand1);
329 329
             $('.changeTitle').val(con.F_Title);
330 330
             $('.changeKey').val(con.F_KeyWords);
331
-            $('input:radio[name="editCanlastlong"][value="'+con.F_CanLastLong+'"]').prop("checked","checked");
331
+            $('input:radio[name="editCanlastlong"][value="' + con.F_CanLastLong + '"]').prop("checked", "checked");
332 332
             if (con.F_CanLastLong == '0') {
333
-	            $(".editTimeBoxs").show();
334
-	        }
335
-	        else {
336
-	            $(".editTimeBoxs").hide();
337
-	        }
338
-	        $('#editStartTime').val(con.F_StartTime);
339
-	        $('#editEndTime').val(con.F_EndTime);
333
+                $(".editTimeBoxs").show();
334
+            }
335
+            else {
336
+                $(".editTimeBoxs").hide();
337
+            }
338
+            $('#editStartTime').val(con.F_StartTime);
339
+            $('#editEndTime').val(con.F_EndTime);
340 340
             changeEditor.html(con.F_Content);
341 341
             cunId = con.F_CategoryId;
342 342
             chanCunId = cunId;
@@ -345,14 +345,14 @@ function getChangeBox(changeGetid) {
345 345
 
346 346
 }
347 347
 function changeBaoCunAjax(changeGetid, chanCunId) {
348
-	if($('input:radio[name="editCanlastlong"]').val()=='0'){
349
-		if($('#editStartTime').val()==''){
350
-			layer.msg("请选择开始时间!");
351
-			
352
-		}if($('#editEndTime').val()==''){
353
-			layer.msg("请选择结束时间!");
354
-		}
355
-	}
348
+    if ($('input:radio[name="editCanlastlong"]').val() == '0') {
349
+        if ($('#editStartTime').val() == '') {
350
+            layer.msg("请选择开始时间!");
351
+
352
+        } if ($('#editEndTime').val() == '') {
353
+            layer.msg("请选择结束时间!");
354
+        }
355
+    }
356 356
     $.ajax({
357 357
         type: "post",
358 358
         url: huayi.config.callcenter_url + "Knowledge/EditInfo",
@@ -364,9 +364,9 @@ function changeBaoCunAjax(changeGetid, chanCunId) {
364 364
             key: $('.changeKey').val(),
365 365
             con: encodeURIComponent(changeEditor.html()),
366 366
             pid: chanCunId,
367
-            start:$('#editStartTime').val(),
368
-			end: $('#editEndTime').val(),
369
-			canlastlong: $('input:radio[name="editCanlastlong"]').val(),
367
+            start: $('#editStartTime').val(),
368
+            end: $('#editEndTime').val(),
369
+            canlastlong: $('input:radio:checked[name="editCanlastlong"]').val(),
370 370
             token: token
371 371
         },
372 372
         success: function (data) {
@@ -475,7 +475,7 @@ function initTable(token, id, keyWord) {
475 475
     });
476 476
 }
477 477
 function oper(val, row) {
478
-    return '<div class="content">' + row.F_Content + '</div>'
478
+    return '<div class="content">' + row.F_Time + '</div>'
479 479
 }
480 480
 function setCode(val, row, index) {
481 481
     var page = table.bootstrapTable("getPageCode");

+ 304 - 309
CallCenterWeb.UI/zhiShiKu/zhiShiKuManger.html

@@ -1,321 +1,316 @@
1
-<!DOCTYPE html>
1
+<!DOCTYPE html>
2 2
 <html>
3
-	<head>
4
-		<meta charset="UTF-8">
5
-		<script src="../Script/Common/huayi.load.js"></script>
6
-	<script src="../Script/Common/huayi.config.js"></script>
7
-		<link href="../css/layer/need/layer.css" />
8
-		<link rel="stylesheet" href="../js/zTree/zTreeStyle.css" />
9
-		<link rel="stylesheet" href="../css/laydate/need/laydate.css" />
10
-		<link rel="stylesheet" href="../css/init.css" />
11
-		<title>知识库管理</title>
12
-		<style>
13
-			.toolBar {
14
-				padding: 15px 0;
15
-				border-bottom: 1px solid #ccc;
16
-			}
17
-			.boxCon table th {
18
-				width: 20%;
19
-			}
20
-			.boxCon table td textarea {
21
-				width: 100%;
22
-			}
23
-			
24
-			.inpBox {
25
-				border: 1px solid #a9a9a9;
26
-				height: 27px;
27
-				width: 55%;;
28
-				display: inline-block;
29
-				position: relative;
30
-				vertical-align: middle;
31
-			}
32
-			
33
-			.inps1,
34
-			.inps4 {
35
-				width: 100%;
36
-				height: 24px;
37
-				outline: none;
38
-				border: 0;
39
-				border-image-width: 0;
40
-				padding: 0;
41
-				padding-left: 3px;
42
-			}
43
-			.changeTitle,.changeKey,.addTitle,.addKey{
44
-				width: 55%;
45
-			}
46
-			
47
-			.xl {
48
-				display: inline-block;
49
-				background: url(../img/dropDown.png) no-repeat;
50
-				height: 100%;
51
-				background-position: center center;
52
-				width: 20px;
53
-				position: absolute;
54
-				right: 0;
55
-				top: 0px;
56
-				background-color: #f7bc8b;
57
-				cursor: pointer;
58
-			}
59
-			
60
-			.xl:hover {
61
-				background-color: #e6d523;
62
-			}
63
-			
64
-			.addTree {
65
-				background: #fff;
66
-				position: absolute;
67
-				width: 100%;
68
-				border: 1px solid darkgrey;
69
-				right: 0;
70
-				top: 26px;
71
-				display: none;
72
-				height: 220px;
73
-				overflow-y: auto;
74
-			}
75
-			
76
-			.treeTable {
77
-				height: 400px;
78
-				/*overflow-y: auto;*/
79
-			}
80
-			
81
-			.tree {
82
-				height: 100%;
83
-			}
84
-			
85
-			.trTitle {
86
-				width: 100%;
87
-				height: 34px;
88
-				line-height: 34px;
89
-				border-bottom: 1px solid #ebebeb;
90
-				color: red;
91
-				font-weight: 700;
92
-				margin-bottom: 15px;
93
-			}
94
-			
95
-			.treeCon {
96
-				height: 90%;
97
-				border: 1px solid #ebebeb;
98
-				overflow-y: auto
99
-			}
100
-			
101
-			.ztree li {
102
-				width: 100%;
103
-				overflow: hidden;
104
-				white-space: nowrap;
105
-				text-overflow: ellipsis;
106
-			}
107
-			.content{
108
-			    width: 270px;
109
-			    height: 25px;
110
-			    overflow: hidden;
111
-			    white-space: nowrap;
112
-			    text-overflow: ellipsis;
113
-			    text-align: left;
114
-			}
115
-			.radio-inline input[type=radio]{
116
-				margin-top: 7px;
117
-			}
118
-			.editTimeBoxs,.timeBoxs{
119
-				display: none;
120
-			}
121
-		</style>
122
-	</head>
3
+<head>
4
+    <meta charset="UTF-8">
5
+    <script src="../Script/Common/huayi.load.js"></script>
6
+    <script src="../Script/Common/huayi.config.js"></script>
7
+    <link href="../css/layer/need/layer.css" />
8
+    <link rel="stylesheet" href="../js/zTree/zTreeStyle.css" />
9
+    <link rel="stylesheet" href="../css/laydate/need/laydate.css" />
10
+    <link rel="stylesheet" href="../css/init.css" />
11
+    <title>知识库管理</title>
12
+    <style>
13
+        .toolBar {
14
+            padding: 15px 0;
15
+            border-bottom: 1px solid #ccc;
16
+        }
123 17
 
124
-	<body>
125
-		<div class="container-fluid">
126
-			<div class="daoHang clearfix">
127
-				<div class="dhLeft">
128
-					<sapn><i class="syIcon"></i>位置:<a href="../index.html">首页</a>&gt;<a href="javaScript:;">知识库</a>&gt;<a href="" style="color: #000;">知识库管理</a></sapn>
129
-				</div>
130
-			</div>
131
-			<div class="toolBar clearfix">
132
-				<div class="toolLeft">
133
-					<button class="btns add">添加</button>
134
-					<button class="btns change">修改</button>
135
-					<button class="btns del">删除</button>
136
-				</div>
137
-				<div class="toolRight">
138
-					<span>搜索内容:<input type="text" class="searCon" /></span>
139
-					<button class="btns searchGo">搜索</button>
140
-				</div>
18
+        .boxCon table th {
19
+            width: 20%;
20
+        }
141 21
 
142
-			</div>
143
-			<div class="treeTable clearfix">
144
-				<div class="tree col-md-3">
145
-					<div class="trTitle">知识库分类</div>
146
-					<div class="treeCon">
147
-						<ul id="treeDemo" class="ztree">
148
-							<!--类名为ztree是必须的-->
149
-						</ul>
150
-					</div>
22
+        .boxCon table td textarea {
23
+            width: 100%;
24
+        }
151 25
 
152
-				</div>
153
-				<div class="tableCon col-md-9">
154
-					<div class="trTitle"> 知识库列表</div>
155
-					<table id="table1" data-row-style="rowStyle" data-query-params="queryParams" data-pagination="true">
156
-						<thead>
157
-							<tr>
158
-								<th data-field="state" data-checkbox="true" data-align="center"></th>
159
-								<th data-align="center" data-formatter="setCode">编号</th>
160
-								<!--<th data-align="center" data-field="id" data-formatter="setCode"></th>-->
161
-								<th data-field="F_Title" data-align="left">标题</th>
162
-								<th data-field="F_Description" data-align="left" data-formatter="oper">内容</th>
163
-								<th data-field="F_KeyWords" data-align="center">关键字</th>
164
-								<th data-field="F_CreateOn" data-align="center">创建时间</th>
165
-							</tr>
166
-						</thead>
167
-						<tbody id="tbody">
168
-						</tbody>
169
-					</table>
26
+        .inpBox {
27
+            border: 1px solid #a9a9a9;
28
+            height: 27px;
29
+            width: 55%;
30
+            ;
31
+            display: inline-block;
32
+            position: relative;
33
+            vertical-align: middle;
34
+        }
170 35
 
171
-				</div>
172
-			</div>
36
+        .inps1,
37
+        .inps4 {
38
+            width: 100%;
39
+            height: 24px;
40
+            outline: none;
41
+            border: 0;
42
+            border-image-width: 0;
43
+            padding: 0;
44
+            padding-left: 3px;
45
+        }
173 46
 
174
-		</div>
175
-		<!--添加弹出内容-->
176
-		<div class="model addModel">
177
-			<div class="box">
178
-				<div class="btop clearfix">
179
-					<p class="btl">添加知识库</p>
180
-					<p class="btr addBtr" title="关闭">X</p>
181
-				</div>
182
-				<div class="boxCon">
183
-					<table>
184
-						<tbody>
185
-							<tr>
186
-								<th>所属分类:</th>
187
-								<td colspan="3">
188
-									<div class="inpBox">
189
-										<input type="text" class="inps inps1" />
190
-										<i class="xl xl_one"></i>
191
-										<div class="addTree xlAdd">
192
-											<ul id="addTreeDemo" class="ztree">
47
+        .changeTitle, .changeKey, .addTitle, .addKey {
48
+            width: 55%;
49
+        }
193 50
 
194
-											</ul>
195
-										</div>
196
-									</div>
197
-								</td>
198
-							</tr>
199
-							<tr>
200
-								<th>标题:</th>
201
-								<td colspan="3"><input type="text" class="addTitle" /></td>
202
-							</tr>
203
-							<tr>
204
-								<th>关键字:</th>
205
-								<td colspan="3"><input type="text" class="addKey" /></td>
206
-							</tr>
207
-							<tr>
208
-								<th>是否永久生效:</th>
209
-								<td>
210
-									<label class="radio-inline">
211
-	                                    <input type="radio" checked="checked" name="canlastlong" value="1" style="vertical-align: middle;display: inline-block;">是
212
-	                                </label>
213
-	                                <label class="radio-inline">
214
-	                                    <input type="radio" name="canlastlong" value="0" style="vertical-align: middle;display: inline-block;">否
215
-	                                </label>
216
-                                </td>
217
-							</tr>
218
-							<tr class="timeBoxs">
219
-								<th>开始时间:</th>
220
-								<td>
221
-	                               <input type="text" id="startTime" class="laydate-icon"  placeholder="开始时间" style="width: 160px; padding-left: 10px;"/>
222
-	                               <input type="text" id="endTime" class="laydate-icon"  placeholder="结束时间" style="width: 160px; padding-left: 10px; margin-left: 5px;"/>
223
-                                </td>
224
-							</tr>
225
-							<tr>
226
-								<th>内容:</th>
227
-								<td colspan="3"><textarea id="addEditor" name="content" style="width: 100%;height: 100px;"></textarea></td>
228
-							</tr>
229
-						</tbody>
230
-					</table>
231
-					<div style="text-align: center;"><button class="btns addCun">保存</button></div>
232
-				</div>
233
-			</div>
51
+        .xl {
52
+            display: inline-block;
53
+            background: url(../img/dropDown.png) no-repeat;
54
+            height: 100%;
55
+            background-position: center center;
56
+            width: 20px;
57
+            position: absolute;
58
+            right: 0;
59
+            top: 0px;
60
+            background-color: #f7bc8b;
61
+            cursor: pointer;
62
+        }
234 63
 
235
-		</div>
236
-		<!--删除弹出内容-->
237
-		<div class="model delModel">
238
-			<div class="box">
239
-				<div class="btop clearfix">
240
-					<p class="btl"><span>删除提示</span></p>
241
-					<p class="btr delBtr" title="关闭">X</p>
242
-				</div>
243
-				<div class="boxCon" style="height: 150px;">
244
-					<p style="text-align: center;font-size: 16px;margin-top: 30px;">您确定要删除吗?</p>
245
-					<p style="margin-top: 30px;text-align: center;"><button class="btns sure">确定</button>
246
-						<button class="btns return">取消</button></p>
247
-					<!--<p style="color: red;">注:若该分类下包含知识库内容会一并删除</p>-->
248
-				</div>
64
+            .xl:hover {
65
+                background-color: #e6d523;
66
+            }
249 67
 
250
-			</div>
68
+        .addTree {
69
+            background: #fff;
70
+            position: absolute;
71
+            width: 100%;
72
+            border: 1px solid darkgrey;
73
+            right: 0;
74
+            top: 26px;
75
+            display: none;
76
+            height: 220px;
77
+            overflow-y: auto;
78
+        }
251 79
 
252
-		</div>
253
-	
254
-		<!--修改弹出内容-->
255
-		<div class="model changeModel">
256
-			
257
-					<div class="box">
258
-				<div class="btop clearfix">
259
-					<p class="btl">修改知识库</p>
260
-					<p class="btr changeBtr" title="关闭">X</p>
261
-				</div>
262
-				<div class="boxCon">
263
-					<table>
264
-						<tbody>
265
-							<tr>
266
-								<th>所属分类:</th>
267
-								<td colspan="3">
268
-									<div class="inpBox">
269
-										<input type="text" class="inps inps4" />
270
-										<i class="xl xl_two"></i>
271
-										<div class="addTree xlChange">
272
-											<ul id="changeTreeDemo" class="ztree">
273
-											</ul>
274
-										</div>
275
-									</div>
276
-								</td>
277
-							</tr>
278
-							<tr>
279
-								<th>标题:</th>
280
-								<td colspan="3"><input type="text" class="changeTitle" /></td>
281
-							</tr>
282
-							<tr>
283
-								<th>关键字:</th>
284
-								<td colspan="3"><input type="text" class="changeKey" /></td>
285
-							</tr>
286
-							<tr>
287
-								<th>是否永久生效:</th>
288
-								<td>
289
-									<label class="radio-inline">
290
-	                                    <input type="radio" checked="checked" name="editCanlastlong" value="1" style="vertical-align: middle;display: inline-block;">是
291
-	                                </label>
292
-	                                <label class="radio-inline">
293
-	                                    <input type="radio" name="editCanlastlong" value="0" style="vertical-align: middle;display: inline-block;">否
294
-	                                </label>
295
-                                </td>
296
-							</tr>
297
-							<tr class="editTimeBoxs">
298
-								<th>开始时间:</th>
299
-								<td>
300
-	                               <input type="text" id="editStartTime" class="laydate-icon"  placeholder="开始时间" style="width: 160px; padding-left: 10px;"/>
301
-	                               <input type="text" id="editEndTime" class="laydate-icon"  placeholder="结束时间" style="width: 160px; padding-left: 10px; margin-left: 5px;"/>
302
-                                </td>
303
-							</tr>
304
-							<tr>
305
-								<th>内容:</th>
306
-								<td colspan="3"><textarea id="changeEditor" name="content" style="width: 100%;height: 100px;"></textarea></td>
307
-							</tr>
308
-						</tbody>
309
-					</table>
310
-					<div style="text-align: center;"><button class="btns changeCun">保存</button></div>
311
-				</div>
312
-			</div>
80
+        .treeTable {
81
+            height: 400px;
82
+            /*overflow-y: auto;*/
83
+        }
313 84
 
314
-		</div>
315
-	<script src="../js/zTree/jquery.ztree.core.js"></script>
316
-	<script src="../js/kindeditor/kindeditor.js"></script>
317
-	<script src="../js/kindeditor/lang/zh_CN.js"></script>
318
-	<script src="./../css/laydate/laydate.js"></script>
319
-	<script src="./js/zhiShiKuManger.js"></script>
320
-	</body>
85
+        .tree {
86
+            height: 100%;
87
+        }
88
+
89
+        .trTitle {
90
+            width: 100%;
91
+            height: 34px;
92
+            line-height: 34px;
93
+            border-bottom: 1px solid #ebebeb;
94
+            color: red;
95
+            font-weight: 700;
96
+            margin-bottom: 15px;
97
+        }
98
+
99
+        .treeCon {
100
+            height: 90%;
101
+            border: 1px solid #ebebeb;
102
+            overflow-y: auto;
103
+        }
104
+
105
+        .ztree li {
106
+            width: 100%;
107
+            overflow: hidden;
108
+            white-space: nowrap;
109
+            text-overflow: ellipsis;
110
+        }
111
+
112
+        .content {
113
+            width: 270px;
114
+            height: 25px;
115
+            overflow: hidden;
116
+            white-space: nowrap;
117
+            text-overflow: ellipsis;
118
+            text-align: left;
119
+        }
120
+
121
+        .radio-inline input[type=radio] {
122
+            margin-top: 7px;
123
+        }
124
+
125
+        .editTimeBoxs, .timeBoxs {
126
+            display: none;
127
+        }
128
+    </style>
129
+</head>
130
+<body>
131
+    <div class="container-fluid">
132
+        <div class="daoHang clearfix">
133
+            <div class="dhLeft">
134
+                <sapn><i class="syIcon"></i>位置:<a href="../index.html">首页</a>&gt;<a href="javaScript:;">知识库</a>&gt;<a href="" style="color: #000;">知识库管理</a></sapn>
135
+            </div>
136
+        </div>
137
+        <div class="toolBar clearfix">
138
+            <div class="toolLeft">
139
+                <button class="btns add">添加</button>
140
+                <button class="btns change">修改</button>
141
+                <button class="btns del">删除</button>
142
+            </div>
143
+            <div class="toolRight">
144
+                <span>搜索内容:<input type="text" class="searCon" /></span>
145
+                <button class="btns searchGo">搜索</button>
146
+            </div>
147
+        </div>
148
+        <div class="treeTable clearfix">
149
+            <div class="tree col-md-3">
150
+                <div class="trTitle">知识库分类</div>
151
+                <div class="treeCon">
152
+                    <ul id="treeDemo" class="ztree">
153
+                        <!--类名为ztree是必须的-->
154
+                    </ul>
155
+                </div>
156
+            </div>
157
+            <div class="tableCon col-md-9">
158
+                <div class="trTitle"> 知识库列表</div>
159
+                <table id="table1" data-row-style="rowStyle" data-query-params="queryParams" data-pagination="true">
160
+                    <thead>
161
+                        <tr>
162
+                            <th data-field="state" data-checkbox="true" data-align="center"></th>
163
+                            <th data-align="center" data-formatter="setCode">编号</th>
164
+                            <th data-field="F_Title" data-align="left">标题</th>
165
+                            <th data-field="F_Time" data-align="left" data-formatter="oper">有效时间</th>
166
+                            <th data-field="F_KeyWords" data-align="center">关键字</th>
167
+                            <th data-field="F_CreateOn" data-align="center">创建时间</th>
168
+                        </tr>
169
+                    </thead>
170
+                    <tbody id="tbody"></tbody>
171
+                </table>
172
+            </div>
173
+        </div>
174
+    </div>
175
+    <!--添加弹出内容-->
176
+    <div class="model addModel">
177
+        <div class="box">
178
+            <div class="btop clearfix">
179
+                <p class="btl">添加知识库</p>
180
+                <p class="btr addBtr" title="关闭">X</p>
181
+            </div>
182
+            <div class="boxCon">
183
+                <table>
184
+                    <tbody>
185
+                        <tr>
186
+                            <th>所属分类:</th>
187
+                            <td colspan="3">
188
+                                <div class="inpBox">
189
+                                    <input type="text" class="inps inps1" />
190
+                                    <i class="xl xl_one"></i>
191
+                                    <div class="addTree xlAdd">
192
+                                        <ul id="addTreeDemo" class="ztree"></ul>
193
+                                    </div>
194
+                                </div>
195
+                            </td>
196
+                        </tr>
197
+                        <tr>
198
+                            <th>标题:</th>
199
+                            <td colspan="3"><input type="text" class="addTitle" /></td>
200
+                        </tr>
201
+                        <tr>
202
+                            <th>关键字:</th>
203
+                            <td colspan="3"><input type="text" class="addKey" /></td>
204
+                        </tr>
205
+                        <tr>
206
+                            <th>是否永久生效:</th>
207
+                            <td>
208
+                                <label class="radio-inline">
209
+                                    <input type="radio" checked="checked" name="canlastlong" value="1" style="vertical-align: middle;display: inline-block;">是
210
+                                </label>
211
+                                <label class="radio-inline">
212
+                                    <input type="radio" name="canlastlong" value="0" style="vertical-align: middle;display: inline-block;">否
213
+                                </label>
214
+                            </td>
215
+                        </tr>
216
+                        <tr class="timeBoxs">
217
+                            <th>开始时间:</th>
218
+                            <td>
219
+                                <input type="text" id="startTime" class="laydate-icon" placeholder="开始时间" style="width: 160px; padding-left: 10px;" />
220
+                                <input type="text" id="endTime" class="laydate-icon" placeholder="结束时间" style="width: 160px; padding-left: 10px; margin-left: 5px;" />
221
+                            </td>
222
+                        </tr>
223
+                        <tr>
224
+                            <th>内容:</th>
225
+                            <td colspan="3"><textarea id="addEditor" name="content" style="width: 100%;height: 100px;"></textarea></td>
226
+                        </tr>
227
+                    </tbody>
228
+                </table>
229
+                <div style="text-align: center;"><button class="btns addCun">保存</button></div>
230
+            </div>
231
+        </div>
232
+    </div>
233
+    <!--删除弹出内容-->
234
+    <div class="model delModel">
235
+        <div class="box">
236
+            <div class="btop clearfix">
237
+                <p class="btl"><span>删除提示</span></p>
238
+                <p class="btr delBtr" title="关闭">X</p>
239
+            </div>
240
+            <div class="boxCon" style="height: 150px;">
241
+                <p style="text-align: center;font-size: 16px;margin-top: 30px;">您确定要删除吗?</p>
242
+                <p style="margin-top: 30px;text-align: center;">
243
+                    <button class="btns sure">确定</button>
244
+                    <button class="btns return">取消</button>
245
+                </p>
246
+                <!--<p style="color: red;">注:若该分类下包含知识库内容会一并删除</p>-->
247
+            </div>
248
+        </div>
249
+    </div>
250
+
251
+    <!--修改弹出内容-->
252
+    <div class="model changeModel">
253
+
254
+        <div class="box">
255
+            <div class="btop clearfix">
256
+                <p class="btl">修改知识库</p>
257
+                <p class="btr changeBtr" title="关闭">X</p>
258
+            </div>
259
+            <div class="boxCon">
260
+                <table>
261
+                    <tbody>
262
+                        <tr>
263
+                            <th>所属分类:</th>
264
+                            <td colspan="3">
265
+                                <div class="inpBox">
266
+                                    <input type="text" class="inps inps4" />
267
+                                    <i class="xl xl_two"></i>
268
+                                    <div class="addTree xlChange">
269
+                                        <ul id="changeTreeDemo" class="ztree"></ul>
270
+                                    </div>
271
+                                </div>
272
+                            </td>
273
+                        </tr>
274
+                        <tr>
275
+                            <th>标题:</th>
276
+                            <td colspan="3"><input type="text" class="changeTitle" /></td>
277
+                        </tr>
278
+                        <tr>
279
+                            <th>关键字:</th>
280
+                            <td colspan="3"><input type="text" class="changeKey" /></td>
281
+                        </tr>
282
+                        <tr>
283
+                            <th>是否永久生效:</th>
284
+                            <td>
285
+                                <label class="radio-inline">
286
+                                    <input type="radio" checked="checked" name="editCanlastlong" value="1" style="vertical-align: middle;display: inline-block;">是
287
+                                </label>
288
+                                <label class="radio-inline">
289
+                                    <input type="radio" name="editCanlastlong" value="0" style="vertical-align: middle;display: inline-block;">否
290
+                                </label>
291
+                            </td>
292
+                        </tr>
293
+                        <tr class="editTimeBoxs">
294
+                            <th>开始时间:</th>
295
+                            <td>
296
+                                <input type="text" id="editStartTime" class="laydate-icon" placeholder="开始时间" style="width: 160px; padding-left: 10px;" />
297
+                                <input type="text" id="editEndTime" class="laydate-icon" placeholder="结束时间" style="width: 160px; padding-left: 10px; margin-left: 5px;" />
298
+                            </td>
299
+                        </tr>
300
+                        <tr>
301
+                            <th>内容:</th>
302
+                            <td colspan="3"><textarea id="changeEditor" name="content" style="width: 100%;height: 100px;"></textarea></td>
303
+                        </tr>
304
+                    </tbody>
305
+                </table>
306
+                <div style="text-align: center;"><button class="btns changeCun">保存</button></div>
307
+            </div>
308
+        </div>
309
+    </div>
310
+    <script src="../js/zTree/jquery.ztree.core.js"></script>
311
+    <script src="../js/kindeditor/kindeditor.js"></script>
312
+    <script src="../js/kindeditor/lang/zh_CN.js"></script>
313
+    <script src="./../css/laydate/laydate.js"></script>
314
+    <script src="./js/zhiShiKuManger.js"></script>
315
+</body>
321 316
 </html>