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

知识库样式、政策法规调整

liuzhen лет назад: 6
Родитель
Сommit
d9f3442355

+ 2 - 2
WebUI/CallCenterWeb.UI/Script/Common/huayi.config.js

@@ -45,8 +45,8 @@ huayi.config = {
45 45
                 "<a class='xg' onclick='tjcb(data)' title='提交重办'>提交重办</a>", //重办
46 46
                 "<a class='xg' onclick='bhcb(data)' title='驳回重办'>驳回重办</a>" //重办
47 47
 			],
48
-	 kapArr :["<a class='xg' onclick='goDetail(data)' title='查看'>查看</a>",
49
-				"<a class='xg' onclick='goEdit(data)' title='编辑'>编辑</a>",
48
+	 kapArr :["<a class='xg' onclick='goDetail(data,data_id)' title='查看'>查看</a>",
49
+				"<a class='xg' onclick='goEdit(data,data_id)' title='编辑'>编辑</a>",
50 50
 				"<a class='xg' onclick='goDel(data)' title='删除'>删除</a>",
51 51
 				"<a class='xg' onclick='tj(data)' title='提交'>提交</a>",
52 52
 				"<a class='xg' onclick='audit(data)' title='审核'>审核</a>", 

+ 64 - 1
WebUI/CallCenterWeb.UI/zhiShiKu/js/newRepository.js

@@ -85,8 +85,13 @@
85 85
 				};
86 86
 			function zTreeOnClick(event, treeId, treeNode) {
87 87
 				$('#urgent').css('color','red');
88
+				$('#policies').css('color','red');
89
+				$('.polices').css('display','none');
90
+        		$('.addTo').css('display','block');
88 91
 				$('#depID').val('');
89 92
 			    if (treeNode.level >= 2) {
93
+			    	console.log(treeNode);
94
+			    	$('#mechanism').val(treeNode.F_Remark);
90 95
 			    	var depId=treeNode.F_DeptId;
91 96
 					$('#depID').val(depId);
92 97
 			//      keyWord = $('.searCon').val();
@@ -142,9 +147,55 @@
142 147
         		//紧急事件添加
143 148
         		$('#urgent').click(function(){
144 149
         			$('#depID').val('99999');
150
+        			$('.polices').css('display','none');
151
+        			$('.addTo').css('display','block');
152
+        			$('#policies').css('color','red');
145 153
         			$('#urgent').css('color','#048aad');
146 154
         			initTable($('#depID').val());
147 155
         		})
156
+        		//政策法规添加
157
+        		$('#policies').click(function(){
158
+        			$('#depID').val('100000');
159
+        			$('.polices').css('display','block');
160
+        			$('.addTo').css('display','none');
161
+        			$('#urgent').css('color','red');
162
+        			$('#policies').css('color','#048aad');
163
+        			initTable($('#depID').val());
164
+        		})
165
+        		$('.polices').click(function(){
166
+        			var depid=$('#depID').val();
167
+        			policesAdd(depid)
168
+        			
169
+        		})
170
+        		//机构职能保存
171
+        		$('.btn_save').click(function(){
172
+        			$.ajax({
173
+						type: "post",
174
+						url: huayi.config.callcenter_url + "Department/UpdateDeptRemark",
175
+						async: true,
176
+						dataType: 'json',
177
+						data: {
178
+						    token: $.cookie("token"),
179
+							id: $('#depID').val(),
180
+							remark:$('#mechanism').val(),
181
+						},
182
+						success: function(data) {
183
+							if(data.state.toLowerCase() == 'success') {
184
+								layer.msg("保存成功!");
185
+//								location=location
186
+							}
187
+						}
188
+					});
189
+        		})
190
+        		function policesAdd(ids){
191
+					//iframe窗
192
+				    layer.open({
193
+				      	type: 2,
194
+				      	title: '新增知识库',
195
+				      	area: ['70%', '60%'],
196
+				      	content: 'policesAdd.html?depId='+ ids +''
197
+				    });
198
+				}
148 199
         		function goAdd(ids){
149 200
 					//iframe窗
150 201
 				    layer.open({
@@ -164,13 +215,23 @@
164 215
 	                var html1 = huayi.config.kapArr[Rows[i].key * 1 - 1];
165 216
 	                if (html1) {
166 217
 	                    html1 = html1.replace("data", row.F_Id);
218
+	                     html1 = html1.replace("data_id", row.F_DeptId);
167 219
 	                }
168 220
 	                html += html1;
169 221
 	            }
170 222
 	            return html;
171 223
 	        }
172 224
 			//详情
173
-			function goDetail(ids){
225
+			function goDetail(ids,DeptId){
226
+				if(DeptId==100000){
227
+					layer.open({
228
+				      	type: 2,
229
+				      	title: '查看知识库详情',
230
+				      	area: ['70%', '60%'],
231
+				      	maxmin:true,
232
+				      	content: 'policiesDetails.html?ids='+ ids
233
+				    });
234
+				}else{
174 235
 					//iframe窗
175 236
 				    layer.open({
176 237
 				      	type: 2,
@@ -179,6 +240,8 @@
179 240
 				      	maxmin:true,
180 241
 				      	content: 'newRepositoryDetail.html?ids='+ ids
181 242
 				    });
243
+				}
244
+					
182 245
 			}
183 246
 			//解决
184 247
 			function solve(id) {

+ 325 - 0
WebUI/CallCenterWeb.UI/zhiShiKu/js/policesAdd.js

@@ -0,0 +1,325 @@
1
+
2
+var ids=helper.request.queryString("ids");
3
+var depId=helper.request.queryString("depId");
4
+var demandsid=helper.request.queryString("wid");
5
+//编辑器配置
6
+		KindEditor.ready(function(K) {
7
+			window.baseon = K.create('#baseon', {
8
+				uploadJson: '../../js/kindeditor/asp.net/upload_json.ashx',
9
+				fileManagerJson: '../../js/kindeditor/asp.net/file_manager_json.ashx',
10
+				allowFileManager: true
11
+			}); //添加弹出框编辑器
12
+		});
13
+		KindEditor.ready(function(K) {
14
+			window.process = K.create('#process', {
15
+				uploadJson: '../../js/kindeditor/asp.net/upload_json.ashx',
16
+				fileManagerJson: '../../js/kindeditor/asp.net/file_manager_json.ashx',
17
+				allowFileManager: true
18
+			}); //添加弹出框编辑器
19
+		});
20
+		KindEditor.ready(function(K) {
21
+			window.material = K.create('#material', {
22
+				uploadJson: '../../js/kindeditor/asp.net/upload_json.ashx',
23
+				fileManagerJson: '../../js/kindeditor/asp.net/file_manager_json.ashx',
24
+				allowFileManager: true
25
+			}); //添加弹出框编辑器
26
+		});
27
+		KindEditor.ready(function(K) {
28
+			window.template = K.create('#template', {
29
+				uploadJson: '../../js/kindeditor/asp.net/upload_json.ashx',
30
+				fileManagerJson: '../../js/kindeditor/asp.net/file_manager_json.ashx',
31
+				allowFileManager: true
32
+			}); //添加弹出框编辑器
33
+		});
34
+		KindEditor.ready(function(K) {
35
+			window.payinfo = K.create('#payinfo', {
36
+				uploadJson: '../../js/kindeditor/asp.net/upload_json.ashx',
37
+				fileManagerJson: '../../js/kindeditor/asp.net/file_manager_json.ashx',
38
+				allowFileManager: true
39
+			}); //添加弹出框编辑器
40
+		});
41
+		
42
+$(document).ready(function() {
43
+		if(depId==99999){
44
+			var isurgent=1
45
+//			$('.radio-inline input').attr('checked','false');
46
+//			$('.radio-inline input:first').attr('checked','true');
47
+		}else{
48
+			var isurgent=0
49
+		}
50
+		$('.tab_list li').click(function() {
51
+			var index = $(this).index();
52
+			$(this).addClass('active').siblings().removeClass('active');
53
+			$('.tab_content>div').eq(index).show().siblings().hide();
54
+		})
55
+
56
+		
57
+		$('.save').click(function(){
58
+			issubmit=0;
59
+			saveCon(issubmit);
60
+		})
61
+		$('.savetj').click(function(){
62
+			issubmit=1;
63
+			saveCon(issubmit);
64
+		})
65
+		//上传附件
66
+		$("#scwj").click(function() {
67
+			$("#upFile").trigger("click");
68
+		})
69
+		$("#upFile").change(function() {
70
+			upload();
71
+		})
72
+		
73
+		//保存
74
+		function saveCon(){
75
+			if(!demandsid){
76
+				demandsid=''
77
+			}
78
+			var paymoney=$('#paymoney').val()*1;
79
+			var a=paymoney.toFixed(2)
80
+//			var reg=/^([+-]?)\d*\.?\d+$/;
81
+//			if($("#publicphone1").val()!==''){
82
+//				if(!reg.test($.trim($("#publicphone1").val()))) { 
83
+//	           		layer.confirm('请输入有效的公开电话!', {
84
+//						btn: ['确定'] //按钮
85
+//					});
86
+//	           		$("#publicphone1").val(''); 
87
+//	           		$("#publicphone1").focus(); 
88
+//	           		return; 
89
+//			}
90
+//			}if($("#publicphone2").val()!==''){
91
+//					if(!reg.test($.trim($("#publicphone2").val()))){
92
+//					layer.confirm('请输入有效的公开电话!', {
93
+//							btn: ['确定'] //按钮
94
+//						});
95
+//						$("#publicphone2").val(''); 
96
+//		           		$("#publicphone2").focus(); 
97
+//		           		return;
98
+//				}
99
+//			}if($("#privatephone1").val()!==''){
100
+//					if(!reg.test($.trim($("#privatephone1").val()))){
101
+//					layer.confirm('请输入有效的内部电话!', {
102
+//							btn: ['确定'] //按钮
103
+//						});
104
+//						$("#privatephone1").val(''); 
105
+//		           		$("#privatephone1").focus(); 
106
+//		           		return;
107
+//				}
108
+//			}if($("#privatephone2").val()!==''){
109
+//					 if(!reg.test($.trim($("#privatephone2").val()))){
110
+//					layer.confirm('请输入有效的内部电话!', {
111
+//							btn: ['确定'] //按钮
112
+//						});
113
+//		           		$("#privatephone2").val(''); 
114
+//		           		$("#privatephone2").focus(); 
115
+//		           		return;
116
+//				}
117
+//			}if($("#otherpublicphone").val()!==''){
118
+//					 if(!reg.test($.trim($("#otherpublicphone").val()))){
119
+//					layer.confirm('请输入有效的协办单位公开电话!', {
120
+//							btn: ['确定'] //按钮
121
+//						});
122
+//		           		$("#otherpublicphone").val(''); 
123
+//		           		$("#otherpublicphone").focus(); 
124
+//		           		return;
125
+//				}
126
+//			}if($("#otherprivatephone").val()!==''){
127
+//					 if(!reg.test($.trim($("#otherprivatephone").val()))){
128
+//					layer.confirm('请输入有效的协办单位内部电话!', {
129
+//							btn: ['确定'] //按钮
130
+//						});
131
+//		           		$("#otherprivatephone").val(''); 
132
+//		           		$("#otherprivatephone").focus(); 
133
+//		           		return;
134
+//				}
135
+//			}
136
+			$.ajax({
137
+				type:'post',
138
+				url:huayi.config.callcenter_url +'Repository/SaveRepository',
139
+				async:true,
140
+				dataType:'json',
141
+				data:{
142
+					token:$.cookie("token"),
143
+					demandsid:demandsid,//索要记录添加到知识库id
144
+					deptid:depId,//单位id
145
+					id:ids,//知识库id
146
+					key:$('#key').val(),//关键字
147
+					title:$('#title').val(),//事件名称
148
+					maindept:$('#maindept').val(),//主办单位
149
+					publicphone1:$('#publicphone1').val(),//公开电话1
150
+					publicphone2:$('#publicphone2').val(),//公开电话2
151
+					privatephone1:$('#privatephone1').val(),//内部电话1
152
+					privatephone2:$('#privatephone2').val(),//内部电话2
153
+					points:$('#points').val(),//询问要点
154
+					baseanswer:$('#baseanswer').val(),//标准话术
155
+					endanswer:$('#endanswer').val(),//结案参考
156
+					dealtype:$('#dealtype').val(),//办理方式
157
+					legallimittime:$('#legallimittime').val(),//法定办结时限
158
+					promiselimittime:$('#promiselimittime').val(),//承诺办结时限
159
+//					ispay: $('input[name="ispay"]:checked ').val(),//是否收费
160
+					issubmit: issubmit,//是否审核
161
+//					isurgent: $('input[name="isUrgency"]:checked ').val(),//是否紧急事项
162
+					isurgent: isurgent,//是否紧急事项 1是 0 否
163
+					paymoney: a,//收费标准
164
+					officeaddress: $('#officeaddress').val(),//办公地点
165
+					serobject: $('#serobject').val(),//办理对象
166
+					busline: $('#busline').val(),//乘车路线
167
+					officetime: $('#officetime').val(),//办公时间
168
+					otherdept: $('#otherdept').val(),//	协办单位
169
+					otherpublicphone: $('#otherpublicphone').val(),//	协办单位公开电话
170
+					otherprivatephone: $('#otherprivatephone').val(),//协办单位内部电话
171
+					remark: $('#remark').val(),//备注
172
+//					baseon: encodeURIComponent(baseon.html()),//设定依据
173
+//					process: encodeURIComponent(process.html()),//办理流程
174
+//					material: encodeURIComponent(material.html()),//办理材料
175
+//					template: encodeURIComponent(template.html()),//办理结果样本
176
+//					payinfo: encodeURIComponent(payinfo.html()),//收费标准及依据
177
+					files: $('#file').val() //收费标准及依据
178
+				},
179
+				success:function(data){
180
+					if(data.state.toLowerCase()=='success'){
181
+						debugger
182
+						var index = parent.layer.getFrameIndex(window.name); //先得到当前iframe层的索引
183
+						parent.layer.close(index); //再执行关闭  
184
+						parent.layer.msg(data.message); //再执行关闭  
185
+						parent.$('#table1').bootstrapTable('refresh'); //再执行关闭  
186
+						parent.$('#orderlist').bootstrapTable('refresh'); //再执行关闭  
187
+					}
188
+					
189
+				}
190
+			});
191
+		}
192
+	    //获取知识库详情
193
+	  if(ids){
194
+	  	 $.ajax({
195
+						type:"get",
196
+						url:huayi.config.callcenter_url +"Repository/GetRepository",
197
+						async:true,
198
+						dataType:'json',
199
+						data:{
200
+							token: $.cookie("token"),
201
+							id:ids
202
+						},
203
+						success:function(result){
204
+							if(result.state.toLowerCase()=='success'){
205
+								var con=result.data.data;
206
+								$('#key').val(con.F_Key);//关键字
207
+								$('#title').val(con.F_Title);//事件名称
208
+								$('#maindept').val(con.F_MainDept);//主办单位
209
+								$('#publicphone1').val(con.F_PublicPhone1);//公开电话1
210
+								$('#publicphone2').val(con.F_PublicPhone2);//公开电话2
211
+								$('#privatephone1').val(con.F_PrivatePhone1);//内部电话1
212
+								$('#privatephone2').val(con.F_PrivatePhone2);//内部电话2
213
+								$('#points').val(con.F_Points);//询问要点
214
+								$('#baseanswer').val(con.F_BaseAnswer);//标准话术
215
+								$('#endanswer').val(con.F_EndAnswer);//结案参考
216
+								$('#dealtype').val(con.F_DealType);//办理方式
217
+								$('#legallimittime').val(con.F_LegalLimitTime);//法定办结时限
218
+								$('#promiselimittime').val(con.F_PromiseLimitTime);//承诺办结时限
219
+//								$('input[name="ispay"]:checked ').val(F_PayMoney);//是否收费
220
+//								$('input[name="ispay"][value="'+con.F_IsPay+'"]').prop("checked","checked"),//是否收费
221
+								$('input[name="isUrgency"][value="'+con.F_IsPay+'"]').prop("checked","checked"),//是否紧急事项
222
+								$('#paymoney').val(con.F_PayMoney);//收费标准
223
+								$('#officeaddress').val(con.F_OfficeAddress);//办公地点
224
+								$('#serobject').val(con.F_Object);//办理对象
225
+								$('#busline').val(con.F_BusLine);//乘车路线
226
+								$('#officetime').val(con.F_OfficeTime);//办公时间
227
+								$('#otherdept').val(con.F_OtherDept);//	协办单位
228
+								$('#otherpublicphone').val(con.F_OtherPublicPhone);//	协办单位公开电话
229
+								$('#otherprivatephone').val(con.F_OtherPrivatePhone);//协办单位内部电话
230
+								$('#remark').val(con.F_Remark);//备注
231
+//								baseon.html(con.F_BaseOn);
232
+//								process.html(con.F_Process);
233
+//								material.html(con.F_Material);
234
+//								template.html(con.F_Template);
235
+//								payinfo.html(con.F_PayInfo);
236
+								depId=con.F_DeptId;
237
+								$(result.data.file).each(function(k,q){
238
+										var strs='<span class="files" fiel-num="'+ q.F_FileId +'">'+ q.F_FileName.substring(19) +'<i class="fa fa-remove del_file"></i></span>'
239
+										$(strs).appendTo($('.fileBox')).find('.del_file').click(function(event){
240
+											event.stopPropagation();
241
+											$(this).parent().remove();
242
+												file_num()
243
+												console.log($('.fileBox').find('.del_file'))
244
+										})
245
+										file_num()
246
+									})
247
+													
248
+							}
249
+												
250
+						}
251
+			});
252
+			
253
+	  }
254
+	  
255
+	
256
+})
257
+		
258
+		//上传文件
259
+		function upload() {
260
+			var Files = document.getElementById("upFile").files;
261
+			if(Files.length > 0) {
262
+				var formData = new FormData();
263
+				for(var i = 0; i < Files.length; i++) {
264
+					formData.append('file' + i, Files[i]);;
265
+				}
266
+				console.log(formData)
267
+				formData.append("token", $.cookie("token"));
268
+				var typeName=Files[0].name.split('.')[1];
269
+                if (typeName=="png"||typeName=='jpg'||typeName=='mp4'||typeName=='mp3'||typeName=='pdf'||typeName=='doc'||typeName=='docx'||typeName=='xls'||typeName=='xlsx') {
270
+					$.ajax({
271
+						url: huayi.config.callcenter_url + "/WorkOrder/UploadFile",
272
+						type: "POST",
273
+						data: formData,
274
+						/**
275
+						 *必须false才会自动加上正确的Content-Type
276
+						 */
277
+						contentType: false,
278
+						/**
279
+						 * 必须false才会避开jQuery对 formdata 的默认处理
280
+						 * XMLHttpRequest会对 formdata 进行正确的处理
281
+						 */
282
+						processData: false,
283
+						success: function(result) {
284
+							document.getElementById("upFile").outerHTML = document.getElementById("upFile").outerHTML;
285
+							$("#upFile").change(function() {
286
+								upload();
287
+							});
288
+							var r = $.parseJSON(result);
289
+							if(r.state.toLowerCase() == "success") {
290
+								//								$(".fjnr").text(r.data[0].F_FileName);
291
+								var a = r.data;
292
+								$(a).each(function(i, n) {
293
+									var strs = '<span class="files" fiel-num="' + n.F_FileId + '">' + n.F_FileName.substring(19) + '<i class="fa fa-remove del_file"></i></span>'
294
+									$(strs).appendTo($('.fileBox')).find('.del_file').click(function(event) {
295
+										event.stopPropagation();
296
+										$(this).parent().remove();
297
+										file_num()
298
+									})
299
+								})
300
+								file_num()
301
+							}
302
+						}
303
+					});
304
+				}else{
305
+		    		layer.msg("格式不正确");
306
+		    	}
307
+			} else {
308
+				layer.confirm('请上传文件!', {
309
+					btn: ['确定']
310
+				});
311
+			}
312
+		}
313
+		//上传文件隐藏域值
314
+		function file_num() {
315
+			var str = '';
316
+			var Str;
317
+			$('.fileBox .files').each(function(j, m) {
318
+				var aa = $(m).attr("fiel-num")
319
+				console.log(aa);
320
+				str += aa + ",";
321
+				Str = (str.substring(str.length - 1) == ',') ? str.substring(0, str.length - 1) : str;
322
+			})
323
+			$("#file").val(Str);
324
+		}
325
+		

+ 87 - 13
WebUI/CallCenterWeb.UI/zhiShiKu/js/repositoryDrafts.js

@@ -85,9 +85,13 @@
85 85
 				};
86 86
 			function zTreeOnClick(event, treeId, treeNode) {
87 87
 				$('#urgent').css('color','red');
88
+				$('#policies').css('color','red');
89
+				$('.polices').css('display','none');
90
+        		$('.addTo').css('display','block');
88 91
 				$('#depID').val('');
89 92
 			    if (treeNode.level >= 2) {
90 93
 			    	var depId=treeNode.F_DeptId;
94
+			    	$('#mechanism').val(treeNode.F_Remark);
91 95
 					$('#depID').val(depId);
92 96
 			//      keyWord = $('.searCon').val();
93 97
 			        initTable(depId);
@@ -142,9 +146,55 @@
142 146
         		//紧急事件添加
143 147
         		$('#urgent').click(function(){
144 148
         			$('#depID').val('99999');
149
+        			$('.polices').css('display','none');
150
+        			$('.addTo').css('display','block');
151
+        			$('#policies').css('color','red');
145 152
         			$('#urgent').css('color','#048aad');
146 153
         			initTable($('#depID').val());
147 154
         		})
155
+        		//政策法规添加
156
+        		$('#policies').click(function(){
157
+        			$('#depID').val('100000');
158
+        			$('.polices').css('display','block');
159
+        			$('.addTo').css('display','none');
160
+        			$('#urgent').css('color','red');
161
+        			$('#policies').css('color','#048aad');
162
+        			initTable($('#depID').val());
163
+        		})
164
+        		$('.polices').click(function(){
165
+        			var depid=$('#depID').val();
166
+        			policesAdd(depid)
167
+        			
168
+        		})
169
+        		//机构职能保存
170
+        		$('.btn_save').click(function(){
171
+        			$.ajax({
172
+						type: "post",
173
+						url: huayi.config.callcenter_url + "Department/UpdateDeptRemark",
174
+						async: true,
175
+						dataType: 'json',
176
+						data: {
177
+						    token: $.cookie("token"),
178
+							id: $('#depID').val(),
179
+							remark:$('#mechanism').val(),
180
+						},
181
+						success: function(data) {
182
+							if(data.state.toLowerCase() == 'success') {
183
+								layer.msg("保存成功!");
184
+//								location=location
185
+							}
186
+						}
187
+					});
188
+        		})
189
+        		function policesAdd(ids){
190
+					//iframe窗
191
+				    layer.open({
192
+				      	type: 2,
193
+				      	title: '新增知识库',
194
+				      	area: ['70%', '60%'],
195
+				      	content: 'policesAdd.html?depId='+ ids +''
196
+				    });
197
+				}
148 198
         		function goAdd(ids){
149 199
 					//iframe窗
150 200
 				    layer.open({
@@ -164,22 +214,34 @@
164 214
 	                var html1 = huayi.config.kapArr[Rows[i].key * 1 - 1];
165 215
 	                if (html1) {
166 216
 	                    html1 = html1.replace("data", row.F_Id);
217
+	                    html1 = html1.replace("data_id", row.F_DeptId);
167 218
 	                }
168 219
 	                html += html1;
169 220
 	            }
170 221
 	            return html;
171 222
 				
172 223
 	        }
173
-			//查看
174
-			function goDetail(ids){
224
+			//详情
225
+			function goDetail(ids,DeptId){
226
+				if(DeptId==100000){
227
+					layer.open({
228
+				      	type: 2,
229
+				      	title: '查看知识库详情',
230
+				      	area: ['70%', '60%'],
231
+				      	maxmin:true,
232
+				      	content: 'policiesDetails.html?ids='+ ids
233
+				    });
234
+				}else{
175 235
 					//iframe窗
176 236
 				    layer.open({
177 237
 				      	type: 2,
178 238
 				      	title: '查看知识库详情',
179 239
 				      	area: ['70%', '60%'],
180 240
 				      	maxmin:true,
181
-				      	content: 'newRepositoryDetail.html?ids='+ ids +''
241
+				      	content: 'newRepositoryDetail.html?ids='+ ids
182 242
 				    });
243
+				}
244
+					
183 245
 			}
184 246
 			//提交
185 247
 			function tj(id) {
@@ -211,16 +273,28 @@
211 273
 				});
212 274
 			}
213 275
 			//编辑
214
-			function goEdit(ids){
215
-						//iframe窗
216
-					    layer.open({
217
-					      	type: 2,
218
-					      	title: '编辑知识库',
219
-					      	area: ['70%', '60%'],
220
-					      	maxmin:true,
221
-					      	content: 'newRepositoryAdd.html?ids='+ ids +'&depId='+$('#depID').val() 
222
-					    });
223
-					}
276
+			function goEdit(ids,DeptId){
277
+				if(DeptId==100000){
278
+					 //iframe窗
279
+				    layer.open({
280
+				      	type: 2,
281
+				      	title: '编辑知识库',
282
+				      	area: ['70%', '60%'],
283
+				      	maxmin:true,
284
+				      	content: 'policesAdd.html?ids='+ ids +'&depId='+$('#depID').val() 
285
+				    });
286
+				}else{
287
+					//iframe窗
288
+				    layer.open({
289
+				      	type: 2,
290
+				      	title: '编辑知识库',
291
+				      	area: ['70%', '60%'],
292
+				      	maxmin:true,
293
+				      	content: 'newRepositoryAdd.html?ids='+ ids +'&depId='+$('#depID').val() 
294
+				    });
295
+				}
296
+						
297
+			}
224 298
 			//删除
225 299
 			function goDel(id) {
226 300
 				var arr=[];

+ 27 - 4
WebUI/CallCenterWeb.UI/zhiShiKu/newRepository.html

@@ -19,6 +19,7 @@
19 19
 				height: 15px;
20 20
 				width: 15px;
21 21
 			}
22
+			#policies,
22 23
 			#urgent{
23 24
 				color: red;
24 25
 				font-size: 12px;
@@ -32,6 +33,17 @@
32 33
 			.treeCon{
33 34
 				padding-top: 5px;
34 35
 			}
36
+			.mechanism{
37
+				padding: 20px 0;
38
+			}
39
+			#mechanism{
40
+				width: 70%;
41
+				height: 40px;
42
+				vertical-align: middle;
43
+			}
44
+			.line {
45
+				border: none;
46
+			}
35 47
 		</style>
36 48
 	</head>
37 49
 
@@ -52,16 +64,20 @@
52 64
 			<div class="reposCon clearfix">
53 65
 				<!--左侧-->
54 66
 				<div class="conleft col-md-3">
55
-					<div class="search " style="height: 30px;">
67
+					<!--<div class="search " style="height: 30px;">-->
56 68
 						<!--<div class="secon clearfix">
57 69
 							<p class="secl"><input type="text" placeholder="请输入关键字" class="searCon" /></p><button href="javaScript:;" class="stb"></button>
58 70
 						</div>-->
59
-					</div>
71
+					<!--</div>-->
60 72
 					<p style="color: #4c4c4c;font-size: 14px; margin: 10px 0;">服务单位列表</p>
61 73
 					<div class="line"></div>
62 74
 					<div class="treeCon">
63 75
 						<span id="urgent">
64
-							紧急事项
76
+							紧急公告
77
+						</span>
78
+						<br />
79
+						<span id="policies">
80
+							政策法规
65 81
 						</span>
66 82
 	                    <ul id="treeDemo" class="ztree">
67 83
 	                        <!--类名为ztree是必须的-->
@@ -75,6 +91,12 @@
75 91
 						<div class="secon clearfix" style="width: 80%; float:left;">
76 92
 							<p class="secl"><input type="text" placeholder="请输入关键字" class="searCon rightSearchKey" /></p><button href="javaScript:;" class="stb" id="rightSearch"></button></div>
77 93
 					        <button class="btns addTo" style="float: right;">添加</button>
94
+					        <button class="btns polices" style="float: right;display: none;">添加</button>
95
+					</div>
96
+					<div class="mechanism" >
97
+						机构职能:
98
+						<textarea type="" name="" id="mechanism" value="" ></textarea>
99
+						<button class="btns btn_save" >保存</button>
78 100
 					</div>
79 101
 					<!--<ul class="keyList clearfix" style="height: 38px;">
80 102
 						<li>市民反馈问题 </li>
@@ -98,7 +120,7 @@
98 120
 			                    <tr>
99 121
 			                    	<th data-field="F_Title" data-align="center">标题</th>
100 122
 			                        <!--<th data-field="F_Title" data-align="center">事件名称</th>-->
101
-			                        <th data-field="DeptName" data-align="center">单位名称</th>
123
+			                        <th data-field="F_Key" data-align="center">单位名称</th>
102 124
 			                        <th data-field="F_CreateTime" data-align="center">时间</th>
103 125
 			                        <th data-field="UserName" data-align="center">创建人</th>
104 126
 			                        <th data-formatter="CZ" data-align="center">操作</th>
@@ -109,6 +131,7 @@
109 131
 					
110 132
 				</div>
111 133
 				<input type="hidden" id="depID"/>
134
+				<input type="hidden" name="" id="remark" value="" />
112 135
 			</div>
113 136
 		</div>
114 137
 		<script src="js/swiper.min.js"></script>

+ 214 - 0
WebUI/CallCenterWeb.UI/zhiShiKu/policesAdd.html

@@ -0,0 +1,214 @@
1
+<!DOCTYPE html>
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 rel="stylesheet" href="../css/init.css" />
8
+		<title>新版知识库添加</title>
9
+		<style type="text/css">
10
+			ul,li{
11
+				padding: 0;
12
+				margin: 0;
13
+				list-style: none;
14
+			}
15
+			.tab_list{
16
+				border-bottom: 1px solid #d5d5d5;
17
+			}
18
+			.tab_list li{
19
+				padding: 10px 15px;
20
+				float: left;
21
+				color: #333333;
22
+				font-size: 14px;
23
+				position: relative;
24
+			}
25
+			.tab_list li.active{
26
+				color: #19aad0;
27
+			}
28
+			.tab_list li.active:after{
29
+				content: "";
30
+				width: 100%;
31
+				height: 2px;
32
+				background: #19aad0;
33
+				position: absolute;
34
+				bottom: -1px;
35
+				left: 0;
36
+			}
37
+			.tab_content{
38
+				font-size: 14px;
39
+				color: #4c4c4c;
40
+				padding: 15px 0;
41
+				/*text-indent: 28px;*/
42
+			}
43
+			.tab_content>div{
44
+				display: none;
45
+			}
46
+			.table tr td input[type="text"]{
47
+			    width: 100%;
48
+			    height: 34px;
49
+			    background: #f3f3f4;
50
+			    outline: none;
51
+		        border: 1px solid #e7e7e7;
52
+		        padding-left: 10px;
53
+			}
54
+			.radio-inline input[type=radio]{
55
+				margin-top: 2px;
56
+			}
57
+			.table tr td textarea{
58
+			    width: 100%;
59
+			    height: 100%;
60
+			    background: #f3f3f4;
61
+			    border: 1px solid #e7e7e7;
62
+			    resize: none;
63
+			}
64
+			#scwj{
65
+				    background-color: #FFF;
66
+			    background-image: none;
67
+			    border: 1px solid #ccc;
68
+			    border-radius: 1px;
69
+			    color: inherit;
70
+			    padding: 6px 12px!important;
71
+			}
72
+			.files{
73
+				    padding: 5px!important;
74
+			}
75
+			.time-box{
76
+			    position: relative;
77
+			    width: 197px!important;
78
+			    height: 34px;
79
+			    margin: 0;
80
+			}
81
+			.tub + input {
82
+			    padding-right: 30px;
83
+			    border: 1px solid #e5e6e7!important;
84
+			}
85
+			i.tub {
86
+			    position: absolute;
87
+			    right: 8px;
88
+			    top: 8px;
89
+			    font-size: 18px;
90
+			    color: #00a0ca;
91
+			}
92
+			
93
+		</style>
94
+	</head>
95
+		<body class="gray-bg">
96
+			<div class="container-fluid wrapper-content animated fadeInRight">
97
+				<table class="table table-bordered table-condensed">
98
+					<tr>
99
+						<td width="100">文件编号</td>
100
+						<td colspan="3"> <input type="text" id="title" /></td>
101
+					</tr>
102
+					<tr>
103
+						<td width="100">单位名称</td>
104
+						<td colspan="3"> <input type="text" id="maindept" /></td>
105
+					</tr>
106
+					<!--<tr>
107
+						<td width="100"> 办公地点</td>
108
+						<td colspan="3"><textarea name="" rows="" cols="" id="officeaddress"></textarea></td>
109
+					</tr>
110
+					<tr >
111
+						<td rowspan="2" width="100">公开电话</td>
112
+						<td> <input type="text" id="publicphone1" /></td>
113
+						<td rowspan="2" width="100">内部电话</td>
114
+						<td> <input type="text" id="privatephone1" /></td>
115
+						
116
+					</tr>
117
+					<tr>
118
+						<td>  <input type="text" id="publicphone2" /></td>
119
+						<td> <input type="text" id="privatephone2" /></td>
120
+					</tr>
121
+					<tr>
122
+						<td width="100"> 办理方式</td>
123
+						<td><input type="text" id="dealtype"/></td>
124
+						<td width="100"> 收费标准</td>
125
+						<td> <input type="text" id="paymoney" /></td>
126
+						
127
+					</tr>
128
+					<tr>
129
+						<td width="100"> 办理对象</td>
130
+						<td><input type="text" id="serobject" /></td>
131
+						<td width="100"> 乘车路线</td>
132
+						<td><textarea name="" rows="" cols=""id="busline"></textarea></td>
133
+					</tr>
134
+					<tr>
135
+						<td width="100" height="100"> 备注</td>
136
+						<td colspan="3" height="100">
137
+							<textarea name="" rows="" cols="" id="remark"></textarea>
138
+						</td>
139
+					</tr>-->
140
+					
141
+				</table>
142
+					<div class="cons">
143
+						<div class="fileBox">
144
+								<!--<span class="files">文件1<i class="fa fa-remove"></i></span>-->
145
+							</div>
146
+							<!--<input type="text" placeholder="输入附件详情" style="width:66%" />-->
147
+							<!--<span class="fjnr"></span>-->
148
+							<input class="input" type="file" name="upFile" id="upFile" multiple="multiple" style="display: none;">
149
+							<input class="input" type="button" value="上传" id="scwj" />
150
+							<input class="input" type="button" value="删除附件" id="scfj" style="display:none;" />
151
+							<input type="hidden" id="file" />
152
+							<span style="color:#FF0000; border: none;">
153
+                            	(文件格式为png,jpg,mp4,mp3,pdf,doc,docx,xls,xlsx)
154
+                            </span>
155
+					</div>
156
+					<!--<ul class="tab_list clearfix">
157
+						<li class="active">设定依据</li>
158
+						<li>办理流程</li>
159
+						<li>办理材料</li>
160
+						<li>办理结果样本</li>
161
+						<li>收费标准及依据</li>
162
+						<li>附件</li>
163
+					</ul>-->
164
+					<!--<div class="tab_content">
165
+						<div class="cons" style="display: block;">
166
+							<textarea name="" data-adaptheight id="baseon"  style="width: 100%;height: 300px;"></textarea> 
167
+						</div>
168
+						<div class="cons">
169
+							<textarea name="" data-adaptheight  id="process" style="width: 100%;height: 300px;"></textarea> 
170
+						</div>
171
+						<div class="cons">
172
+								<textarea name="" data-adaptheight id="material" style="width: 100%;height: 300px;"></textarea> 
173
+						</div>
174
+						<div class="cons">
175
+								<textarea name="" data-adaptheight id="template" style="width: 100%;height: 300px;"></textarea> 
176
+						</div>
177
+						<div class="cons">
178
+								<textarea name="" data-adaptheight id="payinfo" style="width: 100%;height: 300px;"></textarea> 
179
+						</div>
180
+						
181
+						<div class="cons">
182
+							<div class="fileBox">
183
+									<span class="files">文件1<i class="fa fa-remove"></i></span>
184
+								</div>
185
+								<input type="text" placeholder="输入附件详情" style="width:66%" />
186
+								<span class="fjnr"></span>
187
+								<input class="input" type="file" name="upFile" id="upFile" multiple="multiple" style="display: none;">
188
+								<input class="input" type="button" value="上传" id="scwj" />
189
+								<input class="input" type="button" value="删除附件" id="scfj" style="display:none;" />
190
+								<input type="hidden" id="file" />
191
+								<span style="color:#FF0000; border: none;">
192
+	                            	(文件格式为png,jpg,mp4,mp3,pdf,doc,docx,xls,xlsx)
193
+	                            </span>
194
+						</div>
195
+					</div>-->
196
+			
197
+			
198
+			   <p style="text-align: center;">
199
+			   	<button class="btns save">保存</button>
200
+			   	<button class="btns savetj">提交</button>
201
+			   </p>  
202
+			
203
+			
204
+			</div>
205
+			
206
+			
207
+			<script src="../js/kindeditor/kindeditor-all-min.js"></script>
208
+			<script src="../js/kindeditor/lang/zh-CN.js"></script>
209
+			<script src="../js/adjustHeight.js"></script>
210
+			<script src="../js/laydate/laydate.js"></script>
211
+			<script src="js/policesAdd.js"></script>
212
+			
213
+</body>
214
+</html>

+ 309 - 0
WebUI/CallCenterWeb.UI/zhiShiKu/policiesDetails.html

@@ -0,0 +1,309 @@
1
+<!DOCTYPE html>
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 rel="stylesheet" href="../css/init.css" />
8
+		<title>新版知识库添加</title>
9
+		<style type="text/css">
10
+			ul,li{
11
+				padding: 0;
12
+				margin: 0;
13
+				list-style: none;
14
+			}
15
+			.tab_list{
16
+				border-bottom: 1px solid #d5d5d5;
17
+			}
18
+			.tab_list li{
19
+				padding: 10px 15px;
20
+				float: left;
21
+				color: #333333;
22
+				font-size: 14px;
23
+				position: relative;
24
+			}
25
+			.tab_list li.active{
26
+				color: #19aad0;
27
+			}
28
+			.tab_list li.active:after{
29
+				content: "";
30
+				width: 100%;
31
+				height: 2px;
32
+				background: #19aad0;
33
+				position: absolute;
34
+				bottom: -1px;
35
+				left: 0;
36
+			}
37
+			.tab_content{
38
+				font-size: 14px;
39
+				color: #4c4c4c;
40
+				padding: 15px 0;
41
+				/*text-indent: 28px;*/
42
+			}
43
+			.tab_content>div{
44
+				display: none;
45
+			}
46
+			.table tr td input[type="text"]{
47
+			    width: 100%;
48
+			    height: 30px;
49
+			    background: #f3f3f4;
50
+			    border: 0;
51
+			    outline: none;
52
+			}
53
+			.radio-inline input[type=radio]{
54
+				margin-top: 2px;
55
+			}
56
+			.table tr td textarea{
57
+			    width: 100%;
58
+			    height: 100%;
59
+			    background: #f3f3f4;
60
+			    border: 0;
61
+			    resize: none;
62
+			}
63
+			#scwj{
64
+				    background-color: #FFF;
65
+			    background-image: none;
66
+			    border: 1px solid #ccc;
67
+			    border-radius: 1px;
68
+			    color: inherit;
69
+			    padding: 6px 12px!important;
70
+			}
71
+			.files{
72
+				    padding: 5px!important;
73
+			}
74
+			.time-box{
75
+			    position: relative;
76
+			    width: 197px!important;
77
+			    height: 34px;
78
+			    margin: 0;
79
+			}
80
+			.tub + input {
81
+			    padding-right: 30px;
82
+			    border: 1px solid #e5e6e7!important;
83
+			}
84
+			i.tub {
85
+			    position: absolute;
86
+			    right: 8px;
87
+			    top: 8px;
88
+			    font-size: 18px;
89
+			    color: #00a0ca;
90
+			}
91
+			.tab_content textarea{
92
+				display: block;
93
+			     background: #f3f3f4;
94
+			     width: 100%;
95
+			    height: 298px;
96
+			    box-sizing: border-box;
97
+			    text-indent: 28px;
98
+			}
99
+			.tab_content .cons >div{
100
+			     background: #f3f3f4;
101
+			     width: 100%;
102
+			    min-height: 298px;
103
+			    box-sizing: border-box;
104
+			    text-indent: 28px;
105
+			    word-break:break-all;
106
+			    word-wrap:break-word;
107
+			}
108
+			.tab_content .cons >div img{
109
+				    max-width: 100%;
110
+				    /*width: 95%;
111
+				    margin: 0 auto;*/
112
+			}
113
+			.shdetail table{
114
+				width: 100%;
115
+				line-height: 30px;
116
+				text-align: center;
117
+			}
118
+		</style>
119
+	</head>
120
+		<body class="gray-bg">
121
+			<div class="container-fluid wrapper-content animated fadeInRight">
122
+				<table class="table table-bordered table-condensed">
123
+					<tr>
124
+						<td width="100">文件编号</td>
125
+						<td colspan="3"> <input type="text" id="title" readonly="readonly" /></td>
126
+					</tr>
127
+					<tr>
128
+						<td width="100">单位名称</td>
129
+						<td colspan="3"> <input type="text" id="maindept" readonly="readonly" /></td>
130
+					</tr>
131
+					<!--<tr>
132
+						<td width="100"> 办公地点</td>
133
+						<td colspan="3"><textarea name="" rows="" cols="" id="officeaddress" readonly="readonly"></textarea></td>
134
+					</tr>
135
+					<tr >
136
+						<td rowspan="2" width="100">公开电话</td>
137
+						<td> <input type="text" id="publicphone1" readonly="readonly"/></td>
138
+						<td rowspan="2" width="100">内部电话</td>
139
+						<td> <input type="text" id="privatephone1" readonly="readonly" /></td>
140
+						
141
+					</tr>
142
+					<tr>
143
+						<td>  <input type="text" id="publicphone2" readonly="readonly" /></td>
144
+						<td> <input type="text" id="privatephone2" readonly="readonly" /></td>
145
+					</tr>
146
+					<tr>
147
+						<td width="100"> 办理方式</td>
148
+						<td><input type="text" id="dealtype" readonly="readonly"/></td>
149
+						<td width="100"> 收费标准</td>
150
+						<td> <input type="text" id="paymoney" readonly="readonly" /></td>
151
+					</tr>
152
+					<tr>
153
+						<td width="100"> 办理对象</td>
154
+						<td><input type="text" id="serobject" readonly="readonly" /></td>
155
+						<td width="100"> 乘车路线</td>
156
+						<td><textarea name="" rows="" cols=""id="busline" readonly="readonly"></textarea></td>
157
+					</tr>
158
+					<tr>
159
+						<td width="100" height="100"> 备注</td>
160
+						<td colspan="3" height="100"><textarea name="" rows="" cols=""  id="remark" readonly="readonly"></textarea> </td>
161
+					</tr>-->
162
+				</table>
163
+				<div class="cons">
164
+					<div>
165
+					<table class="table-bordered table-condensed feilTable" style="width: 100%;">
166
+						<thead>
167
+							<tr>
168
+								<th>文件名称</th>
169
+								<th>添加时间</th>
170
+								<th>文件大小</th>
171
+							</tr>
172
+						</thead>
173
+						<tbody>
174
+							
175
+						</tbody>
176
+						
177
+					</table>
178
+					</div>
179
+				</div>
180
+				<!--<ul class="tab_list clearfix">
181
+					<li class="active">设定依据</li>
182
+					<li>办理流程</li>
183
+					<li>办理材料</li>
184
+					<li>办理结果样本</li>
185
+					<li>收费标准及依据</li>
186
+					<li>附件</li>
187
+				</ul>-->
188
+				<!--<div class="tab_content">
189
+					<div class="cons">
190
+						<div>
191
+						<table class="table-bordered table-condensed feilTable" style="width: 100%;">
192
+							<thead>
193
+								<tr>
194
+									<th>文件名称</th>
195
+									<th>添加时间</th>
196
+									<th>文件大小</th>
197
+								</tr>
198
+							</thead>
199
+							<tbody>
200
+								
201
+							</tbody>
202
+							
203
+						</table>
204
+						</div>
205
+					</div>
206
+				</div>-->
207
+			
208
+			<script src="../js/kindeditor/kindeditor-all-min.js"></script>
209
+			<script src="../js/kindeditor/lang/zh-CN.js"></script>
210
+			<script src="../js/adjustHeight.js"></script>
211
+			<script src="../js/laydate/laydate.js"></script>
212
+			<script>
213
+				
214
+				var ids=helper.request.queryString("ids");
215
+				$(document).ready(function(){
216
+					$.ajax({
217
+						type:"get",
218
+						url:huayi.config.callcenter_url +"Repository/GetRepository",
219
+						async:true,
220
+						dataType:'json',
221
+						data:{
222
+							token: $.cookie("token"),
223
+							id:ids
224
+						},
225
+						success:function(res){
226
+							if(res.state.toLowerCase()=='success'){
227
+								var con=res.data.data;
228
+								$('#key').val(con.F_Key);//关键字
229
+								$('#title').val(con.F_Title);//事件名称
230
+								$('#maindept').val(con.F_MainDept);//主办单位
231
+								$('#publicphone1').val(con.F_PublicPhone1);//公开电话1
232
+								$('#publicphone2').val(con.F_PublicPhone2);//公开电话2
233
+								$('#privatephone1').val(con.F_PrivatePhone1);//内部电话1
234
+								$('#privatephone2').val(con.F_PrivatePhone2);//内部电话2
235
+								$('#points').val(con.F_Points);//询问要点
236
+								$('#baseanswer').val(con.F_BaseAnswer);//标准话术
237
+								$('#endanswer').val(con.F_EndAnswer);//结案参考
238
+								$('#dealtype').val(con.F_DealType);//办理方式
239
+								$('#legallimittime').val(con.F_LegalLimitTime);//法定办结时限
240
+								$('#promiselimittime').val(con.F_PromiseLimitTime);//承诺办结时限
241
+//								$('input[name="ispay"]:checked ').val(F_PayMoney);//是否收费
242
+								$('input[name="ispay"][value="'+con.F_IsPay+'"]').prop("checked","checked");//是否收费
243
+								$('input[name="isUrgency"][value="'+con.F_IsUrgent+'"]').prop("checked","checked"),//是否紧急事项
244
+								$('#paymoney').val(con.F_PayMoney);//收费标准
245
+								$('#officeaddress').val(con.F_OfficeAddress);//办公地点
246
+								$('#serobject').val(con.F_Object);//办理对象
247
+								$('#busline').val(con.F_BusLine);//乘车路线
248
+								$('#officetime').val(con.F_OfficeTime);//办公时间
249
+								$('#otherdept').val(con.F_OtherDept);//	协办单位
250
+								$('#otherpublicphone').val(con.F_OtherPublicPhone);//	协办单位公开电话
251
+								$('#otherprivatephone').val(con.F_OtherPrivatePhone);//协办单位内部电话
252
+								$('#remark').val(con.F_Remark);//备注
253
+//								$('#baseon').html(con.F_BaseOn);//设定依据
254
+//								$('#process').html(con.F_Process);//办理流程
255
+//								$('#material').html(con.F_Material);//办理材料
256
+//								$('#template').html(con.F_Template);//办理结果样本
257
+//								$('#payinfo').html(con.F_PayInfo);//收费标准及依据
258
+			//					$('#files').val() //收费标准及依据
259
+								console.log()
260
+								$(res.data.file).each(function(k,q){
261
+//										var strs='<span class="files" fiel-num="'+ q.F_FileId +'">'+ q.F_FileName.substring(19) +'</span>'
262
+										var size= (q.F_Size/1024).toFixed(2)
263
+										var strs='<tr>'+
264
+										          '<td><a href="'+ q.F_FileUrl+'" download="test.pdf">'+ q.F_FileName.substring(19) +'</a></td>'+
265
+										          '<td>'+ q.F_AddTime +'</td>'+
266
+										          '<td>'+ size +'kb</td>'+
267
+												'</tr>'
268
+										$(strs).appendTo($('.feilTable tbody'))
269
+									})
270
+								var shaudit;
271
+								$(res.data.shData).each(function(k,q){
272
+									if (q.F_ISPass==2) {
273
+										shaudit="未通过"
274
+									}else if(q.F_ISPass==1){
275
+										shaudit="通过"
276
+									}
277
+									var num=k+1;
278
+									var strs='<tr>'+
279
+									         '<td>'+ num +'</td>'+
280
+									         '<td>'+ q.F_AuditBy +'</td>'+
281
+									         '<td>'+ q.F_AuditRemark +'</td>'+
282
+									         '<td>'+ q.F_CreateOn +'</td>'+
283
+									         '<td>'+ shaudit +'</td>'+
284
+											'</tr>'
285
+									$(strs).appendTo($('.SHXX'))
286
+								})
287
+			
288
+			
289
+			
290
+			
291
+								
292
+							}
293
+							
294
+						}
295
+					});
296
+				
297
+				
298
+				
299
+				
300
+				
301
+				})
302
+
303
+				
304
+				
305
+				
306
+				
307
+			</script>
308
+</body>
309
+</html>

+ 25 - 3
WebUI/CallCenterWeb.UI/zhiShiKu/repositoryDrafts.html

@@ -19,6 +19,7 @@
19 19
 				height: 15px;
20 20
 				width: 15px;
21 21
 			}
22
+			#policies,
22 23
 			#urgent{
23 24
 				color: red;
24 25
 				font-size: 12px;
@@ -32,6 +33,17 @@
32 33
 			.treeCon{
33 34
 				padding-top: 5px;
34 35
 			}
36
+			.mechanism{
37
+				padding: 20px 0;
38
+			}
39
+			#mechanism{
40
+				width: 70%;
41
+				height: 40px;
42
+				vertical-align: middle;
43
+			}
44
+			.line {
45
+				border: none;
46
+			}
35 47
 		</style>
36 48
 	</head>
37 49
 
@@ -52,17 +64,21 @@
52 64
 			<div class="reposCon clearfix">
53 65
 				<!--左侧-->
54 66
 				<div class="conleft col-md-3">
55
-					<div class="search " style="height: 30px;">
67
+					<!--<div class="search " style="height: 30px;">-->
56 68
 						<!--<div class="secon clearfix">
57 69
 							<p class="secl"><input type="text" placeholder="请输入关键字" class="searCon" /></p><button href="javaScript:;" class="stb"></button>
58 70
 						</div>-->
59
-					</div>
71
+					<!--</div>-->
60 72
 					<p style="color: #4c4c4c;font-size: 14px; margin: 10px 0;">服务单位列表</p>
61 73
 					<div class="line"></div>
62 74
 					<div class="siderCon">
63 75
 						<span id="urgent">
64 76
 							紧急事项
65 77
 						</span>
78
+						<br />
79
+						<span id="policies">
80
+							政策法规
81
+						</span>
66 82
 	                    <ul id="treeDemo" class="ztree">
67 83
 	                        <!--类名为ztree是必须的-->
68 84
 	                    </ul>
@@ -75,6 +91,12 @@
75 91
 						<div class="secon clearfix" style="width: 80%; float:left;">
76 92
 							<p class="secl"><input type="text" placeholder="请输入关键字" class="searCon rightSearchKey" /></p><button href="javaScript:;" class="stb" id="rightSearch"></button></div>
77 93
 					        <button class="btns addTo" style="float: right;">添加</button>
94
+					        <button class="btns polices" style="float: right;display: none;">添加</button>
95
+					</div>
96
+					<div class="mechanism" >
97
+						机构职能:
98
+						<textarea type="" name="" id="mechanism" value="" ></textarea>
99
+						<button class="btns btn_save" >保存</button>
78 100
 					</div>
79 101
 					<!--<ul class="keyList clearfix" style="height: 38px;">
80 102
 						<li>市民反馈问题 </li>
@@ -98,7 +120,7 @@
98 120
 			                    <tr>
99 121
 			                    	<th data-field="F_Title" data-align="center">标题</th>
100 122
 			                        <!--<th data-field="F_Title" data-align="center">事件名称</th>-->
101
-			                        <th data-field="DeptName" data-align="center">单位名称</th>
123
+			                        <th data-field="F_Key" data-align="center">单位名称</th>
102 124
 			                        <th data-field="F_CreateTime" data-align="center">时间</th>
103 125
 			                        <th data-field="UserName" data-align="center">创建人</th>
104 126
 			                        <th data-formatter="CZ" data-align="center">操作</th>