miaofuhao 2 yıl önce
ebeveyn
işleme
2b65497107

+ 412 - 369
CallCenterWeb.UI/Appeal/AddAppeal.html

@@ -1,381 +1,424 @@
1 1
 <!DOCTYPE html>
2 2
 <html>
3 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 href="../css/layer/need/layer.css" />
9
-    <link rel="stylesheet" href="../css/init.css" />
10
-    <link rel="stylesheet" href="../js/zTree/zTreeStyle.css" />
11
-    <link rel="stylesheet" href="./css/appeal.css" />
12
-    <title>新增诉求工单</title>
13
-</head>
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 href="../css/layer/need/layer.css" />
9
+		<link rel="stylesheet" href="../css/init.css" />
10
+		<link rel="stylesheet" href="../js/zTree/zTreeStyle.css" />
11
+		<link rel="stylesheet" href="./css/appeal.css" />
12
+		<title>新增诉求工单</title>
13
+	</head>
14 14
 
15
-<body>
15
+	<body>
16 16
 
17
-    <div class="wrapper wrapper-content animated fadeInRight">
18
-        <div class="daoHang clearfix" style="display: none;">
19
-            <div class="dhLeft">
20
-                <sapn>
21
-                    <i class="syIcon"></i>位置:
22
-                    <a href="javaScript:;" id="ReIndex">首页</a>&gt;
23
-                    <a href="javaScript:;">工单处理</a>&gt;
24
-                    <a href="" class="nowPosition">舆情工单创建</a>
25
-                </sapn>
26
-            </div>
27
-            <div class="dhRight">
28
-                <a href="" title="刷新"><i class="fa fa-refresh"></i></a>
29
-            </div>
30
-        </div>
31
-        <div style="padding: 10px;" class="tj_content clearFix">
32
-            <div class="Common">
33
-                <table>
34
-                    <tr>
35
-                        <th class="Importent">题目:</th>
36
-                        <td>
37
-                            <input type="text" id="title" />
38
-                        </td>
39
-                        <th class="Importent">作者:</th>
40
-                        <td>
41
-                            <input type="text" id="cusname" />
42
-                        </td>
43
-                    </tr>
44
-                    <tr>
45
-                    	<th class="Importent">内容简介:</th>
46
-                        <td colspan="3">
47
-                        	<textarea id="keys" name="" rows="" cols="" placeholder="输入内容简介"></textarea>
48
-                        </td>
49
-                    </tr>
50
-                    <tr>
51
-                    	<th class="Importent">主要网址:</th>
52
-                        <td colspan="3">
53
-                            <input type="text" id="cusaddress" />
54
-                        </td>
55
-                    </tr>
56
-                    <tr>
57
-                        <th>精准地域:</th>
58
-                        <td>
59
-                            <select class="select_" id="sourcearea"></select>
60
-                        </td>
61
-                        <th>网络发布时间:</th>
62
-                        <td>
17
+		<div class="wrapper wrapper-content animated fadeInRight">
18
+			<div class="daoHang clearfix" style="display: none;">
19
+				<div class="dhLeft">
20
+					<sapn>
21
+						<i class="syIcon"></i>位置:
22
+						<a href="javaScript:;" id="ReIndex">首页</a>&gt;
23
+						<a href="javaScript:;">工单处理</a>&gt;
24
+						<a href="" class="nowPosition">舆情工单创建</a>
25
+					</sapn>
26
+				</div>
27
+				<div class="dhRight">
28
+					<a href="" title="刷新"><i class="fa fa-refresh"></i></a>
29
+				</div>
30
+			</div>
31
+			<div style="padding: 10px;" class="tj_content clearFix">
32
+				<div class="Common">
33
+					<table>
34
+						<tr>
35
+							<th class="Importent">题目:</th>
36
+							<td>
37
+								<input type="text" id="title" />
38
+							</td>
39
+							<th class="Importent">作者:</th>
40
+							<td>
41
+								<input type="text" id="cusname" />
42
+							</td>
43
+						</tr>
44
+						<tr>
45
+							<th class="Importent">内容简介:</th>
46
+							<td colspan="3">
47
+								<textarea id="keys" name="" rows="" cols="" placeholder="输入内容简介"></textarea>
48
+							</td>
49
+						</tr>
50
+						<tr>
51
+							<th class="Importent">主要网址:</th>
52
+							<td colspan="3">
53
+								<input type="text" id="cusaddress" />
54
+							</td>
55
+						</tr>
56
+						<tr>
57
+							<th>精准地域:</th>
58
+							<td>
59
+								<select class="select_" id="sourcearea"></select>
60
+							</td>
61
+							<th>网络发布时间:</th>
62
+							<td>
63 63
 
64
-                            <input type="text" id="publishtime" placeholder="请选择时间"/>
65
-                        </td>
66
-                    </tr>
67
-                    <tr>
68
-                    	<th></th>
69
-                        <td colspan="3">
70
-                        	<textarea id="sourceaddress" name="" rows="" cols="" placeholder="输入详细地址"></textarea>
71
-                            <!--<input id="sourceaddress" type="text" placeholder="输入详细地址"/>-->
72
-                        </td>
73
-                    </tr>
74
-                    <tr>
75
-                    	<th class="Importent">舆情来源:</th>
76
-                        <td>
77
-                        	<input type="text" id="source" />
78
-                        </td>
79
-                        <th>信息属性:</th>
80
-                        <td>
81
-                            <select class="select_" id="infoproperty"></select>
82
-                        </td>
83
-                    </tr>
84
-                    <tr>
85
-                    	<th>舆情等级:</th>
86
-                        <td>
87
-                            <select class="select_" id="level">
88
-          
89
-                                <option value="1">普通</option>
90
-                                <option value="2">紧急</option>
91
-                            </select>
92
-                        </td>
93
-                        <th>舆情类型:</th>
94
-                        <td>
95
-                            <select class="select_" id="type"></select>
96
-                        </td>
97
-                    </tr>
98
-                    <tr>
99
-                        <th>附件上传:</th>
100
-                        <td colspan="3">
101
-                            <div class="fileBox"></div>
102
-                            <input class="input" type="file" name="upFile" id="upFile" multiple="multiple"
103
-                                style="display: none;"/>
104
-                            <button class="input" type="button" id="scwj">上传</button>
105
-                            <input class="input" type="button" value="删除附件" id="scfj" style="display:none;" />
106
-                            <input type="hidden" id="file" />
107
-                            </br>
108
-                            <span style="color:#FF0000; border: none;">
64
+								<input type="text" id="publishtime" placeholder="请选择时间" />
65
+							</td>
66
+						</tr>
67
+						<tr>
68
+							<th></th>
69
+							<td colspan="3">
70
+								<textarea id="sourceaddress" name="" rows="" cols="" placeholder="输入详细地址"></textarea>
71
+								<!--<input id="sourceaddress" type="text" placeholder="输入详细地址"/>-->
72
+							</td>
73
+						</tr>
74
+						<tr>
75
+							<th class="Importent">舆情来源:</th>
76
+							<td>
77
+								<input type="text" id="source" />
78
+							</td>
79
+							<th>信息属性:</th>
80
+							<td>
81
+								<select class="select_" id="infoproperty"></select>
82
+							</td>
83
+						</tr>
84
+						<tr>
85
+							<th>舆情等级:</th>
86
+							<td>
87
+								<select class="select_" id="level">
88
+
89
+									<option value="1">普通</option>
90
+									<option value="2">紧急</option>
91
+								</select>
92
+							</td>
93
+							<th>舆情类型:</th>
94
+							<td>
95
+								<select class="select_" id="type"></select>
96
+							</td>
97
+						</tr>
98
+						<tr>
99
+							<th>附件上传:</th>
100
+							<td colspan="3">
101
+								<div class="fileBox"></div>
102
+								<input class="input" type="file" name="upFile" id="upFile" multiple="multiple" style="display: none;" />
103
+								<button class="input" type="button" id="scwj">上传</button>
104
+								<input class="input" type="button" value="删除附件" id="scfj" style="display:none;" />
105
+								<input type="hidden" id="file" />
106
+								</br>
107
+								<span style="color:#FF0000; border: none;">
109 108
                                 (文件格式为png,jpg,mp4,avi,wmv,mp3,pdf,doc,docx,xls,xlsx)
110 109
                             </span>
111
-                        </td>
112
-                    </tr>
113
-                    <tr class="secondBanli">
114
-                        <th>处理类型:</th>
115
-                        <td style="display: flex;">
116
-                        	<input type="radio" value="1" name="banli" class="Nows" style="width: 30px;"/>当即办理
117
-                    		<input checked="true" type="radio" value="0" name="banli" class="Nows_" style="width: 30px;"/>网络转办
118
-                        </td>
119
-                    </tr>
120
-                    <tr class="Nows_box Hidens">
121
-                        <th>办理内容:</th>
122
-                        <td colspan="3">
123
-                            <textarea type="text" id="result"  placeholder="输入办理内容"></textarea>
124
-                        </td>
125
-                    </tr>
126
-                </table>
127
-                <div class="btn_box">
128
-                    <button class="btns SavedSubmit">提交</button>
129
-                </div>
130
-            </div>
131
-            
132
-        </div>
133
-    </div>
134
-    <script src="https://api.map.baidu.com/api?v=2.0&ak=ZG4gLQZUD6Eq1K11cqlYAR4by8CKgLyu&callback=mapinit"></script>
135
-    <script src="../js/laydate/laydate.js"></script>
136
-    <script src="../js/zTree/jquery.ztree.core.js"></script>
137
-    <script src="../js/adjustHeight.js"></script>
138
-    <script src="./js/common.js"></script>
139
-    <script src="./js/appeal.js"></script>
140
-    <script>
141
-        var submit,sourceareaObj,sourceObj,typeObj,infopropertyObj,banliValue;
142
-        var wid = helper.request.queryString("wid");
143
-        $(document).ready(function () {
144
-        	sourceareaObj = {
145
-	        	ele:"#sourcearea",
146
-	        	apiUrl:"Area/GetAreaListById",
147
-	        	data:{
148
-	        		textKey:'F_AreaName',
149
-	        		valueKey:'F_AreaId'
150
-	        	}
151
-	        }
152
-        	typeObj = {
153
-        		ele:"#type",
154
-        		id: 2
155
-        	}
156
-        	infopropertyObj = {
157
-        		ele:"#infoproperty",
158
-        		id: 406
159
-        	}
160
-        	if ($.cookie("code") === "WLDW") {
161
-        		$(".secondBanli").hide()
162
-        	}else{
163
-        		$(".secondBanli").show()
164
-        	}
165
-        	if (wid) {
166
-        		$(".daoHang").hide()
167
-        		getDetail()
168
-        	}else{
169
-        		$(".daoHang").show()
170
-        		//精准地域	
171
-            	selectCommonFn(sourceareaObj)
172
-	            //舆情类型
173
-	            selectCommonFn(getDicObjFn(typeObj))
174
-	            //信息属性
175
-	            selectCommonFn(getDicObjFn(infopropertyObj))
176
-        	}
177
-        	laydate.render({
178
-                elem: '#publishtime', //指定元素
179
-            });
180
-        	
181
-            //舆情来源
182
-//          selectCommonFn(getDicObjFn("#source",1))
183
-            
184
-            tree()
185
-            //当即办理
186
-            $('input[name="banli"]').change(function () {
187
-                var val = $(this).val();
188
-                console.log(val)
189
-                if (val == "1") {
190
-                    $(".Nows_box").show();
191
-                } else {
192
-                    $(".Nows_box").hide();
193
-                }
194
-            })
195
-            $('.SavedSubmit').click(function () {
196
-                submit = 1;
197
-                Add();
198
-            })
199
-            //上传附件
200
-            $("#scwj").click(function () {
201
-                $("#upFile").trigger("click");
202
-            })
203
-            $("#upFile").change(function () {
204
-                upload();
205
-            })
206
-        });
207
-		
208
-        //添加工单
209
-        function Add() {
210
-            banliValue = $('input[name="banli"]:checked').val();
211
-            if (!$("#title").val()) {
212
-                layer.msg("请输入题目");
213
-            } else if (!$("#cusname").val()) {
214
-                layer.msg("请输入作者");
215
-            } else if (!$("#keys").val()) {
216
-                layer.msg("请输入内容简介");
217
-            } else if (!$("#cusaddress").val()) {
218
-                layer.msg("请输入主要地址");
219
-            } else if (!$("#source").val()) {
220
-                layer.msg("请输入舆情来源"); 
221
-            } else if (banliValue == 1 && !$('#result').val()) {
222
-                layer.msg("请输入直办内容");
223
-            } else {
224
-            	if (wid) {
225
-            		apiUrl = "/WorkOrder/EditWorkOrder"
226
-            	}else {
227
-            		apiUrl = "/WorkOrder/AddWorkOrder"
228
-            	}
229
-            	addHandle(apiUrl)
230
-            }
231
-        }
110
+							</td>
111
+						</tr>
112
+						<tr class="secondBanli">
113
+							<th>处理类型:</th>
114
+							<td style="display: flex;">
115
+								<input type="radio" value="1" name="banli" class="Nows" style="width: 30px;" />当即办理
116
+								<input checked="true" type="radio" value="0" name="banli" class="Nows_" style="width: 30px;" />网络转办
117
+							</td>
118
+						</tr>
119
+						<tr class="Nows_box Hidens">
120
+							<th>办理内容:</th>
121
+							<td colspan="3">
122
+								<textarea type="text" id="result" placeholder="输入办理内容"></textarea>
123
+							</td>
124
+						</tr>
125
+					</table>
126
+					<div class="btn_box">
127
+						<button class="btns SavedSubmit">提交</button>
128
+					</div>
129
+					<div class="cutEvent">
130
+						<button class="btns">粘贴</button>
131
+					</div>
132
+
133
+				</div>
134
+
135
+			</div>
136
+		</div>
137
+		<div class="cutPop">
138
+			<textarea id="cutText" rows="12"></textarea>
139
+			<button class="btns cutTrue" style="margin-left: 46%;">确定</button>
140
+		</div>
141
+		<script src="https://api.map.baidu.com/api?v=2.0&ak=ZG4gLQZUD6Eq1K11cqlYAR4by8CKgLyu&callback=mapinit"></script>
142
+		<script src="../js/laydate/laydate.js"></script>
143
+		<script src="../js/zTree/jquery.ztree.core.js"></script>
144
+		<script src="../js/adjustHeight.js"></script>
145
+		<script src="../js/module/clipboard.min.js"></script>
146
+		<script src="./js/common.js"></script>
147
+		<script src="./js/appeal.js"></script>
148
+		<script>
149
+			var pasteText
150
+			var submit, sourceareaObj, sourceObj, typeObj, infopropertyObj, banliValue;
151
+			var wid = helper.request.queryString("wid");
152
+			window.addEventListener("paste", function (e) {
153
+		      const clipdata = e.clipboardData || window.clipboardData;
154
+		      pasteText = clipdata.getData("text/plain")
155
+		    });
156
+		    
157
+			$(document).ready(function() {
158
+				$(document).mouseup(function(e){
159
+				  var _con = $('.cutPop ');   // 设置目标区域
160
+				  if(!_con.is(e.target) && _con.has(e.target).length === 0){ // Mark 1
161
+						$(".cutPop").hide()
162
+				  }
163
+				});
164
+				//确定按钮
165
+				$(".cutTrue").click(function(){
166
+					$(".cutPop").hide()
167
+					setSubmitText()
168
+				})
169
+				//粘贴按钮
170
+				$(".cutEvent").click(function(){
171
+					$(".cutPop").show()
172
+					$("#cutText").val('')
173
+				})
174
+				sourceareaObj = {
175
+					ele: "#sourcearea",
176
+					apiUrl: "Area/GetAreaListById",
177
+					data: {
178
+						textKey: 'F_AreaName',
179
+						valueKey: 'F_AreaId'
180
+					}
181
+				}
182
+				typeObj = {
183
+					ele: "#type",
184
+					id: 2
185
+				}
186
+				infopropertyObj = {
187
+					ele: "#infoproperty",
188
+					id: 406
189
+				}
190
+				if($.cookie("code") === "WLDW") {
191
+					$(".secondBanli").hide()
192
+				} else {
193
+					$(".secondBanli").show()
194
+				}
195
+				if(wid) {
196
+					$(".daoHang").hide()
197
+					getDetail()
198
+				} else {
199
+					$(".daoHang").show()
200
+					//精准地域	
201
+					selectCommonFn(sourceareaObj)
202
+					//舆情类型
203
+					selectCommonFn(getDicObjFn(typeObj))
204
+					//信息属性
205
+					selectCommonFn(getDicObjFn(infopropertyObj))
206
+				}
207
+				laydate.render({
208
+					elem: '#publishtime', //指定元素
209
+				});
210
+
211
+				//舆情来源
212
+				//	selectCommonFn(getDicObjFn("#source",1))
213
+
214
+				tree()
215
+				//当即办理
216
+				$('input[name="banli"]').change(function() {
217
+					var val = $(this).val();
218
+					if(val == "1") {
219
+						$(".Nows_box").show();
220
+					} else {
221
+						$(".Nows_box").hide();
222
+					}
223
+				})
224
+				$('.SavedSubmit').click(function() {
225
+					submit = 1;
226
+					Add();
227
+				})
228
+				//上传附件
229
+				$("#scwj").click(function() {
230
+					$("#upFile").trigger("click");
231
+				})
232
+				$("#upFile").change(function() {
233
+					upload();
234
+				})
235
+			});
236
+
237
+			
238
+
239
+			//添加工单
240
+			function Add() {
241
+				banliValue = $('input[name="banli"]:checked').val();
242
+				if(!$("#title").val()) {
243
+					layer.msg("请输入题目");
244
+				} else if(!$("#cusname").val()) {
245
+					layer.msg("请输入作者");
246
+				} else if(!$("#keys").val()) {
247
+					layer.msg("请输入内容简介");
248
+				} else if(!$("#cusaddress").val()) {
249
+					layer.msg("请输入主要地址");
250
+				} else if(!$("#source").val()) {
251
+					layer.msg("请输入舆情来源");
252
+				} else if(banliValue == 1 && !$('#result').val()) {
253
+					layer.msg("请输入直办内容");
254
+				} else {
255
+					if(wid) {
256
+						apiUrl = "/WorkOrder/EditWorkOrder"
257
+					} else {
258
+						apiUrl = "/WorkOrder/AddWorkOrder"
259
+					}
260
+					addHandle(apiUrl)
261
+				}
262
+			}
263
+
264
+			function addHandle(apiUrl) {
265
+				var dataParam = {
266
+					title: $("#title").val(), //题目
267
+					cusname: $("#cusname").val(), //投诉人姓名
268
+					keys: $("#keys").val(), //内容简介
269
+					cusaddress: $("#cusaddress").val(), //主要地址
270
+					sourcearea: $("#sourcearea").val(), //精准地域
271
+					publishtime: $("#publishtime").val(), //网络发布时间
272
+					sourceaddress: $("#sourceaddress").val(), //详细地址
273
+					source: $("#source").val(), //舆情来源
274
+					infoproperty: $("#infoproperty").val(), //信息属性
275
+					level: $("#level").val(), //舆情等级
276
+					type: $("#type").val(), //舆情类型
277
+					files: $("#file").val(), //附件(多个用英文逗号,隔开)
278
+					isresult: $.cookie("code") === "WLDW" ? 1 : banliValue, //=(0转办1直办)
279
+					result: $('#result').val(),
280
+					issubmit: 1,
281
+					token: $.cookie("token")
282
+				}
283
+				if(wid) {
284
+					resultParam = Object.assign(dataParam, {
285
+						workorderid: wid
286
+					})
287
+				} else {
288
+					resultParam = dataParam
289
+				}
290
+				$.ajax({
291
+					type: "post",
292
+					url: huayi.config.callcenter_url + apiUrl,
293
+					dataType: 'json',
294
+					async: true,
295
+					beforeSend: function() { //触发ajax请求开始时执行
296
+						$('.SavedSubmit').attr("disabled", true);
297
+						$('.SavedSubmit').text('提交中...');
298
+						$(document).off('click', '.SavedSubmit', Add);
299
+					},
300
+					data: dataParam,
301
+					success: function(data) {
302
+						$('.SavedSubmit').attr("disabled", false);
303
+						$('.SavedSubmit').text('保存并提交');
304
+						$(document).on('click', '.SavedSubmit', Add);
305
+						Clean();
306
+						$('.fileBox').html('');
307
+						if(wid) {
308
+							var index = parent.layer.getFrameIndex(window.name); //先得到当前iframe层的索引
309
+							parent.layer.close(index); //再执行关闭
310
+							parent.$('#orderlist').bootstrapTable('refresh');
311
+							parent.layer.msg("修改工单成功");
312
+						} else {
313
+							layer.msg("创建工单成功");
314
+						}
315
+
316
+					}
317
+				});
318
+			}
319
+
320
+			function Clean() {
321
+				$("#title").val('')
322
+				$("#cusname").val('');
323
+				$("#keys").val('');
324
+				$("#cusaddress").val('');
325
+				$("#sourcearea").val('');
326
+				$("#publishtime").val('');
327
+				$('#sourceaddress').val('');
328
+				$("#source").val('');
329
+				$("#infoproperty").val('')
330
+				$("#level option:first").prop("selected", 'selected');
331
+				$("#type option:first").prop("selected", 'selected');
332
+				$("#file").val('')
333
+				$(".fileBox").html('')
334
+				$("input[name='baomi'][value='0']").prop("checked", true)
335
+				$('#result').val('');
336
+			}
337
+
338
+			function getDetail() {
339
+				$.ajax({
340
+					type: "get",
341
+					url: huayi.config.callcenter_url + "WorkOrder/GetWorkOrder",
342
+					dataType: 'json',
343
+					async: false,
344
+					data: {
345
+						workorderid: wid,
346
+						token: $.cookie("token")
347
+					},
348
+					success: function(data) {
349
+						if(data.state.toLowerCase() == "success") {
350
+							var Data = data.data.data;
351
+							$("#title").val(Data[0].F_ComTitle);
352
+							$("#cusname").val(Data[0].F_CusName);
353
+							$('#keys').val(Data[0].F_ComContent);
354
+							$("#cusaddress").val(Data[0].F_CusAddress)
355
+							$("#publishtime").val(Data[0].F_Hcdatetime)
356
+							$('#sourceaddress').val(Data[0].F_SourceAddress);
357
+							$("#source").val(Data[0].F_Event);
358
+							//精准地域
359
+							sourceareaObj.getText = Data[0].AreaName
360
+							sourceareaObj.getValue = Data[0].F_SourceArea + ''
361
+							selectCommonFn(sourceareaObj)
362
+							//信息属性 
363
+							infopropertyObj.getValue = Data[0].F_InfoConBigType
364
+							infopropertyObj.getText = Data[0].infopropertyname
365
+							selectCommonFn(getDicObjFn(infopropertyObj))
366
+							//舆情类型  
367
+							typeObj.getValue = Data[0].F_InfoType + ''
368
+							typeObj.getText = Data[0].TypeName1
369
+							selectCommonFn(getDicObjFn(typeObj))
370
+
371
+							$("#level").val(Data[0].F_Level + '');
372
+							if(Data[0].F_Level == "1") {
373
+								$("#level option:selected").text("普通"); //乡镇
374
+							} else {
375
+								$("#level option:selected").text("紧急");
376
+							}
232 377
 
233
-        function addHandle(apiUrl){
234
-        	var dataParam = {
235
-            	title: $("#title").val(),	//题目
236
-                cusname: $("#cusname").val(),	//投诉人姓名
237
-                keys: $("#keys").val(),	//内容简介
238
-                cusaddress:$("#cusaddress").val(),	//主要地址
239
-                sourcearea: $("#sourcearea").val(),	//精准地域
240
-                publishtime:$("#publishtime").val(),	//网络发布时间
241
-                sourceaddress:$("#sourceaddress").val(),	//详细地址
242
-                source: $("#source").val(), //舆情来源
243
-                infoproperty: $("#infoproperty").val(), //信息属性
244
-                level: $("#level").val(), //舆情等级
245
-                type: $("#type").val(), //舆情类型
246
-                files: $("#file").val(), //附件(多个用英文逗号,隔开)
247
-                isresult:  $.cookie("code") === "WLDW" ?1:banliValue, //=(0转办1直办)
248
-                result: $('#result').val(),
249
-                issubmit:1,
250
-                token: $.cookie("token")
251
-            }
252
-        	if (wid) {
253
-        		resultParam = Object.assign(dataParam, {workorderid: wid})
254
-        	} else {
255
-        		resultParam = dataParam
256
-        	}
257
-        	$.ajax({
258
-                type: "post",
259
-                url: huayi.config.callcenter_url + apiUrl,
260
-                dataType: 'json',
261
-                async: true,
262
-                beforeSend: function () { //触发ajax请求开始时执行
263
-                    $('.SavedSubmit').attr("disabled", true);
264
-                    $('.SavedSubmit').text('提交中...');
265
-                    $(document).off('click', '.SavedSubmit', Add);
266
-                },
267
-                data:dataParam,
268
-                success: function (data) {
269
-                    $('.SavedSubmit').attr("disabled", false);
270
-                    $('.SavedSubmit').text('保存并提交');
271
-                    $(document).on('click', '.SavedSubmit', Add);
272
-                    Clean();
273
-                    $('.fileBox').html('');
274
-                    if (wid) {
275
-                    	var index = parent.layer.getFrameIndex(window.name); //先得到当前iframe层的索引
276
-                        parent.layer.close(index); //再执行关闭
277
-                        parent.$('#orderlist').bootstrapTable('refresh');
278
-                        parent.layer.msg("修改工单成功");
279
-                    }else{
280
-                    	layer.msg("创建工单成功");
281
-                    }
282
-                    
283
-                }
284
-            });
285
-        }
286
-        function Clean() {
287
-        	$("#title").val('')
288
-            $("#cusname").val(''); 
289
-            $("#keys").val('');
290
-            $("#cusaddress").val('');
291
-            $("#sourcearea").val('');
292
-            $("#publishtime").val('');
293
-            $('#sourceaddress').val('');
294
-            $("#source").val('');
295
-            $("#infoproperty").val('')
296
-            $("#level option:first").prop("selected", 'selected');
297
-            $("#type option:first").prop("selected", 'selected');
298
-            $("#file").val('')
299
-            $(".fileBox").html('')
300
-            $("input[name='baomi'][value='0']").prop("checked", true)
301
-            $('#result').val('');
302
-        }
303
-        
304
-		function getDetail(){
305
-			$.ajax({
306
-                    type: "get",
307
-                    url: huayi.config.callcenter_url + "WorkOrder/GetWorkOrder",
308
-                    dataType: 'json',
309
-                    async: false,
310
-                    data: {
311
-                    	workorderid: wid,
312
-                    	token: $.cookie("token")
313
-                    },
314
-                    success: function (data) {
315
-                        if (data.state.toLowerCase() == "success") {
316
-                            var Data = data.data.data;
317
-                            $("#title").val(Data[0].F_ComTitle);
318
-                            $("#cusname").val(Data[0].F_CusName);
319
-                            $('#keys').val(Data[0].F_ComContent);
320
-                            $("#cusaddress").val(Data[0].F_CusAddress)
321
-                            $("#publishtime").val(Data[0].F_Hcdatetime)
322
-                            $('#sourceaddress').val(Data[0].F_SourceAddress);
323
-	                        $("#source").val(Data[0].F_Event);
324
-                            //精准地域
325
-                            sourceareaObj.getText = Data[0].AreaName
326
-                            sourceareaObj.getValue = Data[0].F_SourceArea + ''
327
-                            selectCommonFn(sourceareaObj)
328
-	                        //信息属性 
329
-	                        infopropertyObj.getValue = Data[0].F_InfoConBigType
330
-	                        infopropertyObj.getText = Data[0].infopropertyname
331
-                            selectCommonFn(getDicObjFn(infopropertyObj)) 
332
-                             //舆情类型  
333
-                            typeObj.getValue = Data[0].F_InfoType+ ''
334
-	                        typeObj.getText = Data[0].TypeName1
335
-	                        selectCommonFn(getDicObjFn(typeObj))
336
-                            
337
-                            $("#level").val(Data[0].F_Level + '');
338
-	                        if (Data[0].F_Level=="1") {
339
-	                        	$("#level option:selected").text("普通"); //乡镇
340
-	                        } else{
341
-	                        	$("#level option:selected").text("紧急"); 
342
-	                        }
343
-                           
344
-	                        
345
-	                        $(Data[0].File).each(function (k, q) {
346
-	                            var strs = '<span class="files" fiel-num="' + q.F_FileId + '">' + q.F_FileName.substring(19) + '<i class="fa fa-remove del_file"></i></span>'
347
-	                            $(strs).appendTo($('.fileBox')).find('.del_file').click(function (event) {
348
-	                                event.stopPropagation();
349
-	                                $(this).parent().remove();
350
-	                                file_num()
351
-	                            })
352
-	                            file_num()
353
-	                        })
354
-	                        if (Data[0].F_IsResult == 1) {
355
-	                            $(".Nows_box").toggle();
356
-	                        }
357
-	                        $('input[name="banli"][value="' + Data[0].F_IsResult + '"]').prop("checked", "checked");
358
-	                        $('input[name="banli"]').prop("disabled","disabled")
359
-	                        $("#result").val(Data[0].F_Result);
360
-                        }
378
+							$(Data[0].File).each(function(k, q) {
379
+								var strs = '<span class="files" fiel-num="' + q.F_FileId + '">' + q.F_FileName.substring(19) + '<i class="fa fa-remove del_file"></i></span>'
380
+								$(strs).appendTo($('.fileBox')).find('.del_file').click(function(event) {
381
+									event.stopPropagation();
382
+									$(this).parent().remove();
383
+									file_num()
384
+								})
385
+								file_num()
386
+							})
387
+							if(Data[0].F_IsResult == 1) {
388
+								$(".Nows_box").toggle();
389
+							}
390
+							$('input[name="banli"][value="' + Data[0].F_IsResult + '"]').prop("checked", "checked");
391
+							$('input[name="banli"]').prop("disabled", "disabled")
392
+							$("#result").val(Data[0].F_Result);
393
+						}
361 394
 
362
-                    }
363
-                });
364
-		}
365
-		//上传文件隐藏域值
366
-        function file_num() {
367
-            var str = '';
368
-            var Str;
369
-            $('.fileBox .files').each(function (j, m) {
370
-                var aa = $(m).attr("fiel-num")
371
-                console.log(aa);
372
-                str += aa + ",";
373
-                Str = (str.substring(str.length - 1) == ',') ? str.substring(0, str.length - 1) : str;
374
-            })
375
-            $("#file").val(Str);
376
-        }
377
-        
378
-    </script>
379
-</body>
395
+					}
396
+				});
397
+			}
398
+			function setSubmitText(){
399
+				
400
+		    	var code = pasteText.split(/[\r\n\t]/)
401
+				code = code.filter(item => item)
402
+				code.forEach(function(n){
403
+					var getValue = n.split(':').slice(-(n.split(':').length-1))
404
+					var newValue = getValue.join(':')
405
+					if (n.indexOf('原文链接')!== -1) {
406
+						$("#cusaddress").val(newValue)
407
+					}else if (n.indexOf('来源网站')!== -1) {
408
+						$("#source").val(newValue)
409
+					}else if (n.indexOf('内容')!== -1) {
410
+						$("#keys").val(newValue)
411
+					}else if (n.indexOf('发布时间')!== -1) {
412
+						$("#publishtime").val(newValue)
413
+					}else if (n.indexOf('标题')!== -1) {
414
+						$("#title").val(newValue)
415
+					}else if (n.indexOf('作者')!== -1) {
416
+						$("#cusname").val(newValue)
417
+					}
418
+					
419
+				})
420
+		    }
421
+		</script>
422
+	</body>
380 423
 
381 424
 </html>

+ 418 - 0
CallCenterWeb.UI/Appeal/AddAppealBF.html

@@ -0,0 +1,418 @@
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 href="../css/layer/need/layer.css" />
9
+		<link rel="stylesheet" href="../css/init.css" />
10
+		<link rel="stylesheet" href="../js/zTree/zTreeStyle.css" />
11
+		<link rel="stylesheet" href="./css/appeal.css" />
12
+		<title>新增诉求工单</title>
13
+	</head>
14
+
15
+	<body>
16
+
17
+		<div class="wrapper wrapper-content animated fadeInRight">
18
+			<div class="daoHang clearfix" style="display: none;">
19
+				<div class="dhLeft">
20
+					<sapn>
21
+						<i class="syIcon"></i>位置:
22
+						<a href="javaScript:;" id="ReIndex">首页</a>&gt;
23
+						<a href="javaScript:;">工单处理</a>&gt;
24
+						<a href="" class="nowPosition">舆情工单创建</a>
25
+					</sapn>
26
+				</div>
27
+				<div class="dhRight">
28
+					<a href="" title="刷新"><i class="fa fa-refresh"></i></a>
29
+				</div>
30
+			</div>
31
+			<div style="padding: 10px;" class="tj_content clearFix">
32
+				<div class="Common">
33
+					<table>
34
+						<tr>
35
+							<th class="Importent">题目:</th>
36
+							<td>
37
+								<input type="text" id="title" />
38
+							</td>
39
+							<th class="Importent">作者:</th>
40
+							<td>
41
+								<input type="text" id="cusname" />
42
+							</td>
43
+						</tr>
44
+						<tr>
45
+							<th class="Importent">内容简介:</th>
46
+							<td colspan="3">
47
+								<textarea id="keys" name="" rows="" cols="" placeholder="输入内容简介"></textarea>
48
+							</td>
49
+						</tr>
50
+						<tr>
51
+							<th class="Importent">主要网址:</th>
52
+							<td colspan="3">
53
+								<input type="text" id="cusaddress" />
54
+							</td>
55
+						</tr>
56
+						<tr>
57
+							<th>精准地域:</th>
58
+							<td>
59
+								<select class="select_" id="sourcearea"></select>
60
+							</td>
61
+							<th>网络发布时间:</th>
62
+							<td>
63
+
64
+								<input type="text" id="publishtime" placeholder="请选择时间" />
65
+							</td>
66
+						</tr>
67
+						<tr>
68
+							<th></th>
69
+							<td colspan="3">
70
+								<textarea id="sourceaddress" name="" rows="" cols="" placeholder="输入详细地址"></textarea>
71
+								<!--<input id="sourceaddress" type="text" placeholder="输入详细地址"/>-->
72
+							</td>
73
+						</tr>
74
+						<tr>
75
+							<th class="Importent">舆情来源:</th>
76
+							<td>
77
+								<input type="text" id="source" />
78
+							</td>
79
+							<th>信息属性:</th>
80
+							<td>
81
+								<select class="select_" id="infoproperty"></select>
82
+							</td>
83
+						</tr>
84
+						<tr>
85
+							<th>舆情等级:</th>
86
+							<td>
87
+								<select class="select_" id="level">
88
+
89
+									<option value="1">普通</option>
90
+									<option value="2">紧急</option>
91
+								</select>
92
+							</td>
93
+							<th>舆情类型:</th>
94
+							<td>
95
+								<select class="select_" id="type"></select>
96
+							</td>
97
+						</tr>
98
+						<tr>
99
+							<th>附件上传:</th>
100
+							<td colspan="3">
101
+								<div class="fileBox"></div>
102
+								<input class="input" type="file" name="upFile" id="upFile" multiple="multiple" style="display: none;" />
103
+								<button class="input" type="button" id="scwj">上传</button>
104
+								<input class="input" type="button" value="删除附件" id="scfj" style="display:none;" />
105
+								<input type="hidden" id="file" />
106
+								</br>
107
+								<span style="color:#FF0000; border: none;">
108
+                                (文件格式为png,jpg,mp4,avi,wmv,mp3,pdf,doc,docx,xls,xlsx)
109
+                            </span>
110
+							</td>
111
+						</tr>
112
+						<tr class="secondBanli">
113
+							<th>处理类型:</th>
114
+							<td style="display: flex;">
115
+								<input type="radio" value="1" name="banli" class="Nows" style="width: 30px;" />当即办理
116
+								<input checked="true" type="radio" value="0" name="banli" class="Nows_" style="width: 30px;" />网络转办
117
+							</td>
118
+						</tr>
119
+						<tr class="Nows_box Hidens">
120
+							<th>办理内容:</th>
121
+							<td colspan="3">
122
+								<textarea type="text" id="result" placeholder="输入办理内容"></textarea>
123
+							</td>
124
+						</tr>
125
+					</table>
126
+					<div class="btn_box">
127
+						<button class="btns SavedSubmit">提交</button>
128
+					</div>
129
+					
130
+					<div class="cutEvent">
131
+						<button class="btns">粘贴</button>
132
+					</div>
133
+					
134
+					
135
+					<!--<div>
136
+						<button class="btn" data-clipboard-text="Just because you can doesn't mean you should — clipboard.js">
137
+						    Copy to clipboard
138
+						</button>
139
+						<textarea id="bar">Mussum ipsum cacilds...</textarea>
140
+						<button class="btn" data-clipboard-action="cut" data-clipboard-target="#bar">
141
+						    Cut to clipboard
142
+						</button>
143
+					</div>-->
144
+					<!--<textarea id="bar">需要复制的内容</textarea>
145
+					<button class="btn" data-clipboard-action="cut" data-clipboard-target="#bar">
146
+						复制到剪切板
147
+					</button>-->
148
+
149
+				</div>
150
+
151
+			</div>
152
+		</div>
153
+		<div class="cutPop">
154
+			<textarea id="cutText" rows="12"></textarea>
155
+			<button class="btns cutTrue" style="margin-left: 46%;">确定</button>
156
+		</div>
157
+		<script src="https://api.map.baidu.com/api?v=2.0&ak=ZG4gLQZUD6Eq1K11cqlYAR4by8CKgLyu&callback=mapinit"></script>
158
+		<script src="../js/laydate/laydate.js"></script>
159
+		<script src="../js/zTree/jquery.ztree.core.js"></script>
160
+		<script src="../js/adjustHeight.js"></script>
161
+		<script src="../js/module/clipboard.min.js"></script>
162
+		<script src="./js/common.js"></script>
163
+		<script src="./js/appeal.js"></script>
164
+		<script>
165
+			var pasteText
166
+			 var clipboard = new ClipboardJS('.btn');
167
+//			window.addEventListener("paste", function (e) {
168
+//		      const clipdata = e.clipboardData || window.clipboardData;
169
+//		      console.log("主动粘贴", clipdata.getData("text/plain"));
170
+//		      pasteText = clipdata.getData("text/plain")
171
+//		    });
172
+//			function readClipText(){
173
+//				$(".cutPop").hide()
174
+//			}
175
+			var submit, sourceareaObj, sourceObj, typeObj, infopropertyObj, banliValue;
176
+			var wid = helper.request.queryString("wid");
177
+			$(document).ready(function() {
178
+				$(document).mouseup(function(e){
179
+				  var _con = $('.cutPop ');   // 设置目标区域
180
+				  if(!_con.is(e.target) && _con.has(e.target).length === 0){ // Mark 1
181
+						$(".cutPop").hide()
182
+				  }
183
+				});
184
+				$(".cutTrue").click(function(){
185
+					$(".cutPop").hide()
186
+				})
187
+				$(".cutEvent").click(function(){
188
+					$(".cutPop").show()
189
+				})
190
+				sourceareaObj = {
191
+					ele: "#sourcearea",
192
+					apiUrl: "Area/GetAreaListById",
193
+					data: {
194
+						textKey: 'F_AreaName',
195
+						valueKey: 'F_AreaId'
196
+					}
197
+				}
198
+				typeObj = {
199
+					ele: "#type",
200
+					id: 2
201
+				}
202
+				infopropertyObj = {
203
+					ele: "#infoproperty",
204
+					id: 406
205
+				}
206
+				if($.cookie("code") === "WLDW") {
207
+					$(".secondBanli").hide()
208
+				} else {
209
+					$(".secondBanli").show()
210
+				}
211
+				if(wid) {
212
+					$(".daoHang").hide()
213
+					getDetail()
214
+				} else {
215
+					$(".daoHang").show()
216
+					//精准地域	
217
+					selectCommonFn(sourceareaObj)
218
+					//舆情类型
219
+					selectCommonFn(getDicObjFn(typeObj))
220
+					//信息属性
221
+					selectCommonFn(getDicObjFn(infopropertyObj))
222
+				}
223
+				laydate.render({
224
+					elem: '#publishtime', //指定元素
225
+				});
226
+
227
+				//舆情来源
228
+				//          selectCommonFn(getDicObjFn("#source",1))
229
+
230
+				tree()
231
+				//当即办理
232
+				$('input[name="banli"]').change(function() {
233
+					var val = $(this).val();
234
+					console.log(val)
235
+					if(val == "1") {
236
+						$(".Nows_box").show();
237
+					} else {
238
+						$(".Nows_box").hide();
239
+					}
240
+				})
241
+				$('.SavedSubmit').click(function() {
242
+					submit = 1;
243
+					Add();
244
+				})
245
+				//上传附件
246
+				$("#scwj").click(function() {
247
+					$("#upFile").trigger("click");
248
+				})
249
+				$("#upFile").change(function() {
250
+					upload();
251
+				})
252
+			});
253
+
254
+			
255
+
256
+			//添加工单
257
+			function Add() {
258
+				banliValue = $('input[name="banli"]:checked').val();
259
+				if(!$("#title").val()) {
260
+					layer.msg("请输入题目");
261
+				} else if(!$("#cusname").val()) {
262
+					layer.msg("请输入作者");
263
+				} else if(!$("#keys").val()) {
264
+					layer.msg("请输入内容简介");
265
+				} else if(!$("#cusaddress").val()) {
266
+					layer.msg("请输入主要地址");
267
+				} else if(!$("#source").val()) {
268
+					layer.msg("请输入舆情来源");
269
+				} else if(banliValue == 1 && !$('#result').val()) {
270
+					layer.msg("请输入直办内容");
271
+				} else {
272
+					if(wid) {
273
+						apiUrl = "/WorkOrder/EditWorkOrder"
274
+					} else {
275
+						apiUrl = "/WorkOrder/AddWorkOrder"
276
+					}
277
+					addHandle(apiUrl)
278
+				}
279
+			}
280
+
281
+			function addHandle(apiUrl) {
282
+				var dataParam = {
283
+					title: $("#title").val(), //题目
284
+					cusname: $("#cusname").val(), //投诉人姓名
285
+					keys: $("#keys").val(), //内容简介
286
+					cusaddress: $("#cusaddress").val(), //主要地址
287
+					sourcearea: $("#sourcearea").val(), //精准地域
288
+					publishtime: $("#publishtime").val(), //网络发布时间
289
+					sourceaddress: $("#sourceaddress").val(), //详细地址
290
+					source: $("#source").val(), //舆情来源
291
+					infoproperty: $("#infoproperty").val(), //信息属性
292
+					level: $("#level").val(), //舆情等级
293
+					type: $("#type").val(), //舆情类型
294
+					files: $("#file").val(), //附件(多个用英文逗号,隔开)
295
+					isresult: $.cookie("code") === "WLDW" ? 1 : banliValue, //=(0转办1直办)
296
+					result: $('#result').val(),
297
+					issubmit: 1,
298
+					token: $.cookie("token")
299
+				}
300
+				if(wid) {
301
+					resultParam = Object.assign(dataParam, {
302
+						workorderid: wid
303
+					})
304
+				} else {
305
+					resultParam = dataParam
306
+				}
307
+				$.ajax({
308
+					type: "post",
309
+					url: huayi.config.callcenter_url + apiUrl,
310
+					dataType: 'json',
311
+					async: true,
312
+					beforeSend: function() { //触发ajax请求开始时执行
313
+						$('.SavedSubmit').attr("disabled", true);
314
+						$('.SavedSubmit').text('提交中...');
315
+						$(document).off('click', '.SavedSubmit', Add);
316
+					},
317
+					data: dataParam,
318
+					success: function(data) {
319
+						$('.SavedSubmit').attr("disabled", false);
320
+						$('.SavedSubmit').text('保存并提交');
321
+						$(document).on('click', '.SavedSubmit', Add);
322
+						Clean();
323
+						$('.fileBox').html('');
324
+						if(wid) {
325
+							var index = parent.layer.getFrameIndex(window.name); //先得到当前iframe层的索引
326
+							parent.layer.close(index); //再执行关闭
327
+							parent.$('#orderlist').bootstrapTable('refresh');
328
+							parent.layer.msg("修改工单成功");
329
+						} else {
330
+							layer.msg("创建工单成功");
331
+						}
332
+
333
+					}
334
+				});
335
+			}
336
+
337
+			function Clean() {
338
+				$("#title").val('')
339
+				$("#cusname").val('');
340
+				$("#keys").val('');
341
+				$("#cusaddress").val('');
342
+				$("#sourcearea").val('');
343
+				$("#publishtime").val('');
344
+				$('#sourceaddress').val('');
345
+				$("#source").val('');
346
+				$("#infoproperty").val('')
347
+				$("#level option:first").prop("selected", 'selected');
348
+				$("#type option:first").prop("selected", 'selected');
349
+				$("#file").val('')
350
+				$(".fileBox").html('')
351
+				$("input[name='baomi'][value='0']").prop("checked", true)
352
+				$('#result').val('');
353
+			}
354
+
355
+			function getDetail() {
356
+				$.ajax({
357
+					type: "get",
358
+					url: huayi.config.callcenter_url + "WorkOrder/GetWorkOrder",
359
+					dataType: 'json',
360
+					async: false,
361
+					data: {
362
+						workorderid: wid,
363
+						token: $.cookie("token")
364
+					},
365
+					success: function(data) {
366
+						if(data.state.toLowerCase() == "success") {
367
+							var Data = data.data.data;
368
+							$("#title").val(Data[0].F_ComTitle);
369
+							$("#cusname").val(Data[0].F_CusName);
370
+							$('#keys').val(Data[0].F_ComContent);
371
+							$("#cusaddress").val(Data[0].F_CusAddress)
372
+							$("#publishtime").val(Data[0].F_Hcdatetime)
373
+							$('#sourceaddress').val(Data[0].F_SourceAddress);
374
+							$("#source").val(Data[0].F_Event);
375
+							//精准地域
376
+							sourceareaObj.getText = Data[0].AreaName
377
+							sourceareaObj.getValue = Data[0].F_SourceArea + ''
378
+							selectCommonFn(sourceareaObj)
379
+							//信息属性 
380
+							infopropertyObj.getValue = Data[0].F_InfoConBigType
381
+							infopropertyObj.getText = Data[0].infopropertyname
382
+							selectCommonFn(getDicObjFn(infopropertyObj))
383
+							//舆情类型  
384
+							typeObj.getValue = Data[0].F_InfoType + ''
385
+							typeObj.getText = Data[0].TypeName1
386
+							selectCommonFn(getDicObjFn(typeObj))
387
+
388
+							$("#level").val(Data[0].F_Level + '');
389
+							if(Data[0].F_Level == "1") {
390
+								$("#level option:selected").text("普通"); //乡镇
391
+							} else {
392
+								$("#level option:selected").text("紧急");
393
+							}
394
+
395
+							$(Data[0].File).each(function(k, q) {
396
+								var strs = '<span class="files" fiel-num="' + q.F_FileId + '">' + q.F_FileName.substring(19) + '<i class="fa fa-remove del_file"></i></span>'
397
+								$(strs).appendTo($('.fileBox')).find('.del_file').click(function(event) {
398
+									event.stopPropagation();
399
+									$(this).parent().remove();
400
+									file_num()
401
+								})
402
+								file_num()
403
+							})
404
+							if(Data[0].F_IsResult == 1) {
405
+								$(".Nows_box").toggle();
406
+							}
407
+							$('input[name="banli"][value="' + Data[0].F_IsResult + '"]').prop("checked", "checked");
408
+							$('input[name="banli"]').prop("disabled", "disabled")
409
+							$("#result").val(Data[0].F_Result);
410
+						}
411
+
412
+					}
413
+				});
414
+			}
415
+		</script>
416
+	</body>
417
+
418
+</html>

+ 19 - 1
CallCenterWeb.UI/Appeal/css/appeal.css

@@ -16,7 +16,9 @@
16 16
  select {
17 17
  	vertical-align: middle;
18 18
  }
19
- 
19
+ .Common{
20
+ 	position: relative;
21
+ }
20 22
  .Common table td textarea,.Common table td input {
21 23
  	width: 100%; 
22 24
  	vertical-align: middle;
@@ -29,3 +31,19 @@
29 31
  .secondBanli{
30 32
  	display: none;
31 33
  }
34
+ .cutEvent{
35
+ 	position: absolute;
36
+ 	right: 60px;
37
+ 	bottom: 90px;
38
+ }
39
+ .cutPop{
40
+ 	display: none;
41
+ 	position: fixed;
42
+ 	z-index: 11;
43
+ 	right: 150px;
44
+ 	bottom: 90px;
45
+ 	width: 500px;
46
+ }
47
+ .cutPop textarea {
48
+ 	width: 100%;
49
+ }

+ 1 - 1
CallCenterWeb.UI/Script/Common/huayi.http.js

@@ -837,7 +837,7 @@ helper.DateFormat = {
837 837
 		myDate.toLocaleDateString(); //获取当前日期    
838 838
 		var mytime = myDate.toLocaleTimeString(); //获取当前时间    
839 839
 		myDate.toLocaleString(); //获取日期与时间    
840
-		NowDate = YY + "-" + (MM<10?"0"+MM:MM) + "-" + (DD<10?DD+"0":DD);
840
+		NowDate = YY + "-" + (MM<10?"0"+MM:MM) + "-" + (DD<10?"0"+DD:DD);
841 841
 
842 842
 		return NowDate;
843 843
 	},

Dosya farkı çok büyük olduğundan ihmal edildi
+ 7 - 0
CallCenterWeb.UI/js/module/clipboard.min.js


+ 2 - 2
CallCenterWeb.UI/widgets.html

@@ -117,8 +117,8 @@
117 117
 		<script src="./js/content.min.js?v=1.0.0"></script>
118 118
 		<script src="./js/echarts.common.min.js"></script>
119 119
 		<script src="./js/laydate/laydate.js"></script>
120
-		<script src="https://img.hcharts.cn/highcharts/highcharts.js"></script>
121
-		<script src="https://img.hcharts.cn/highcharts-plugins/highcharts-zh_CN.js"></script>
120
+		<!--<script src="https://img.hcharts.cn/highcharts/highcharts.js"></script>
121
+		<script src="https://img.hcharts.cn/highcharts-plugins/highcharts-zh_CN.js"></script>-->
122 122
 		<!--<script src="./js/highcharts.js"></script>-->
123 123
 		<script>
124 124