Bladeren bron

大屏展示、PC工单编辑修改

liuzhen 6 jaren geleden
bovenliggende
commit
c7057fc6f9

+ 12 - 10
WebChart_2.0/js/complaintsReport.js

@@ -136,12 +136,12 @@ $(function() {
136 136
 					},
137 137
 					success:function(data){
138 138
 						if(data.state.toLowerCase()=='success'){
139
-							$('.thead tr').html('');
139
+							$('thead tr').html('');
140 140
 							$('#scroll_table tbody').html('');
141 141
 							var con=data.data;
142 142
 							var thead=con[0];
143 143
 							$.each(thead, function(k, val) {
144
-								$('<td>'+ k +'</td>').appendTo('.thead tr');
144
+								$('<td>'+ k +'</td>').appendTo('thead tr');
145 145
 							})
146 146
 							$(con).each(function(j, n) {
147 147
 								var str = '<tr>'
@@ -246,14 +246,16 @@ $(function() {
246 246
 							var part_1_legend = [];
247 247
 							var part_1_ser = [];
248 248
 							$(con).each(function(i, n) {
249
-								part_1_legend.push(n.TypeName)
250
-								var part_1_obj = {};
251
-								part_1_obj.value = n.Count;
252
-								part_1_obj.name = n.TypeName;
253
-								part_1_ser.push(part_1_obj)
254
-								$('<li>' +
255
-									'<span class="type_name">' + n.TypeName + '</span>   <span class="type_count">' + n.Count + '</span>' +
256
-									'</li>').appendTo('.complaint_type')
249
+								if(i<6){
250
+									part_1_legend.push(n.TypeName)
251
+									var part_1_obj = {};
252
+									part_1_obj.value = n.Count;
253
+									part_1_obj.name = n.TypeName;
254
+									part_1_ser.push(part_1_obj)
255
+									$('<li>' +
256
+										'<span class="type_name">' + n.TypeName + '</span>   <span class="type_count">' + n.Count + '</span>' +
257
+										'</li>').appendTo('.complaint_type')
258
+								}
257 259
 							})
258 260
 							part3.setOption({
259 261
 								//							legend: {

+ 3 - 1
WebChart_2.0/js/index.js

@@ -317,7 +317,8 @@ function turn(aa) {
317 317
 						if(n.TypeName.indexOf('其他') != -1) {
318 318
 							img_name = 'order_QT.png'
319 319
 						}
320
-						$('<li>' +
320
+						if(i<6){
321
+							$('<li>' +
321 322
 							'<div class="typeWord">' + n.TypeName + '</div>' +
322 323
 							'<img src="img/' + img_name + '" alt="" />' +
323 324
 							'<p class="typeWord_line">数据展示</p>' +
@@ -332,6 +333,7 @@ function turn(aa) {
332 333
 							'</div>' +
333 334
 							'<p class="persent_word">总计类型占比</p>' +
334 335
 							'</li>').appendTo('.orderTtype_Con ul');
336
+						}
335 337
 
336 338
 					})
337 339
 				}

+ 1 - 1
WebChart_2.0/js/sourceChannel.js

@@ -283,7 +283,7 @@ $(function() {
283 283
 					name: '数据',
284 284
 					type: 'pie',
285 285
 					radius: ['30%', '60%'],
286
-					center: ['50%', '50%'],
286
+					center: ['50%', '60%'],
287 287
 					data: [],
288 288
 					itemStyle: {
289 289
 						emphasis: {

+ 59 - 20
WebUI/CallCenterWeb.UI/CommonHtml/AddAppeal.html

@@ -118,8 +118,18 @@
118 118
 							</td>
119 119
 							<th>来源:</th>
120 120
 							<td>
121
-								<select class="select_" id="source">
122
-								</select>
121
+								<div class="inpBox" style="width: 172px;">
122
+									<input type="text" style="width: 170px;" class="inps3" placeholder="请选择来源" />
123
+									<i class="Cleans3  fa fa-close"></i>
124
+									<i class="xl3 xl_one"></i>
125
+									<div class="addTree xlAdd3">
126
+										<ul id="addTreeDemo3" class="ztree">
127
+		
128
+										</ul>
129
+									</div>
130
+								</div>
131
+								<!--<select class="select_" id="source">
132
+								</select>-->
123 133
 							</td>
124 134
 							<th class="Importent">投诉电话:</th>
125 135
 							<td>
@@ -139,7 +149,23 @@
139 149
 							<td>
140 150
 								<input type="text" id="conphone" />
141 151
 							</td>
142
-							
152
+							<th class="Importent">主题词:</th>
153
+							<td>
154
+								<div class="inpBox" style="width: 132px;">
155
+									<input type="text" style="width: 130px;" class="inps4" placeholder="请选择主题词" />
156
+									<i class="Cleans4  fa fa-close"></i>
157
+									<i class="xl4 xl_one"></i>
158
+									<div class="addTree xlAdd4">
159
+										<ul id="addTreeDemo4" class="ztree">
160
+		
161
+										</ul>
162
+									</div>
163
+								</div>
164
+								<!--<input id="keys" type="text" placeholder="输入主题词" style="width:100%" />-->
165
+								<!--<select class="select_" id="keys">
166
+									<option value=""></option>
167
+								</select>-->
168
+							</td>
143 169
 						</tr>
144 170
 						<tr>
145 171
 							<th>诉求分类:</th>
@@ -203,17 +229,20 @@
203 229
 							</td>
204 230
 						</tr>
205 231
 						<tr>
206
-							<th class="Importent">主题词:</th>
207
-							<td>
208
-								<!--<input id="keys" type="text" placeholder="输入主题词" style="width:100%" />-->
209
-								<select class="select_" id="keys">
210
-									<option value=""></option>
211
-								</select>
212
-							</td>
213 232
 							<th>类型:</th>
214 233
 							<td>
215
-								<select class="select_" id="type">
216
-								</select>
234
+								<div class="inpBox" style="width: 132px;">
235
+									<input type="text" style="width: 130px;" class="inps2" placeholder="请选择类型" />
236
+									<i class="Cleans2  fa fa-close"></i>
237
+									<i class="xl2 xl_one"></i>
238
+									<div class="addTree xlAdd2">
239
+										<ul id="addTreeDemo2" class="ztree">
240
+		
241
+										</ul>
242
+									</div>
243
+								</div>
244
+								<!--<select class="select_" id="type">
245
+								</select>-->
217 246
 							</td>
218 247
 							<th>密级:</th>
219 248
 							<td>
@@ -230,17 +259,21 @@
230 259
 							</td>
231 260
 						</tr>
232 261
 					</table>
233
-					<div class="btn_box">
262
+					<div class="btn_box" style="margin-top: 80px;">
234 263
 						<button class="btns BC">保存</button>
235 264
 						<button class="btns SavedSubmit">保存并提交</button>
236 265
 					</div>
237 266
 					<input type="hidden" id="PID" />
267
+					<input type="hidden" id="type_id" />
268
+					<input type="hidden" id="source_id" />
269
+					<input type="hidden" id="theme_word_id" />
238 270
 				</div>
239 271
 			</div>
240 272
 		</div>
241 273
 		<script src="../css/laydate/laydate.js"></script>
242 274
 		<script src="../js/adjustHeight.js"></script>
243 275
 		<script src="../js/zTree/jquery.ztree.core.js"></script>
276
+		<script src="../js/pull_down.js"></script>
244 277
 		<script>
245 278
 			var wid = helper.request.queryString("wid");
246 279
 			var submit;
@@ -314,13 +347,19 @@
314 347
 							//x性别
315 348
 							$("#SEX").val(Data[0].F_CusSex + '');
316 349
 							//来源
317
-							$("#source").val(Data[0].F_InfoSource + '');
350
+//							$("#source").val(Data[0].F_InfoSource + '');
351
+							$(".inps3").val(Data[0].SourceName);
352
+							$("#source_id").val(Data[0].F_InfoSource+'');
318 353
 							//事件地址
319 354
 							$("#sourcearea").val(Data[0].F_SourceArea + '');
320 355
 							//主题词
321
-							$("#keys").val(Data[0].F_Key + '');
356
+//							$("#keys").val(Data[0].F_Key + '');
357
+							$(".inps4").val(Data[0].KeyName);
358
+							$("#theme_word_id").val(Data[0].F_Key+'');
322 359
 							//类型
323
-							$("#type").val(Data[0].F_InfoType + '');
360
+//							$("#type").val(Data[0].F_InfoType + '');
361
+							$(".inps2").val(Data[0].TypeName1);
362
+							$("#type_id").val(Data[0].F_InfoType+'');
324 363
 							//紧急程度
325 364
 							$("#level").val(Data[0].F_Level + '');
326 365
 							$(".inps").val(Data[0].DemandsTypeName);
@@ -359,7 +398,7 @@
359 398
 					layer.msg("请输入标题");
360 399
 				} else if(!$("#content").val()) {
361 400
 					layer.msg("请输入内容");
362
-				} else if(!$("#keys").val()) {
401
+				} else if(!$("#theme_word_id").val()) {
363 402
 					layer.msg("请选择主题词");
364 403
 				} else if(!$("#sourcearea").val()) {
365 404
 					layer.msg("请选择事发区域");
@@ -385,11 +424,11 @@
385 424
 							files: $("#file").val(), //(多个用英文逗号,隔开)
386 425
 							sourcearea: $("#sourcearea").val(), //=事发地域id
387 426
 							sourceaddress: $('#sourceaddress').val(), //=事发详细地址
388
-							source: $("#source").val(), //=来源
427
+							source: $("#source_id").val(), //=来源
389 428
 							isresult: $(' input[name="banli"]:checked ').val(), //=(0转办1直办)
390 429
 							result: $('#result').val(),
391
-							keys: $("#keys").val(), //=关键词id(多个用英文逗号,隔开)
392
-							type: $("#type").val(), //=类型
430
+							keys: $("#theme_word_id").val(), //=关键词id(多个用英文逗号,隔开)
431
+							type: $("#type_id").val(), //=类型
393 432
 							bigtype: $("#bigtype").val(), //=大类别
394 433
 							smalltype: $("#smalltype").val(), //=小类别
395 434
 							isprotect: $(' input[name="mj"]:checked ').val(), //=(0普通1保密)