Explorar el Código

增加工单 工单查询 公告通知

d123 %!s(int64=8) %!d(string=hace) años
padre
commit
9f340713d0

+ 221 - 216
WebUI/CallCenterWeb.UI/Announcement/AnnManagement.html

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

+ 179 - 102
WebUI/CallCenterWeb.UI/Appeal/AddAppeal.html

@@ -11,7 +11,7 @@
11 11
 	</head>
12 12
 
13 13
 	<body>
14
-	
14
+
15 15
 		<div class="wrapper wrapper-content animated fadeInRight">
16 16
 			<div class="daoHang clearfix">
17 17
 				<div class="dhLeft">
@@ -23,117 +23,194 @@
23 23
 					</sapn>
24 24
 				</div>
25 25
 				<div class="dhRight">
26
-					<i class="fa fa-refresh"></i>					
26
+					<i class="fa fa-refresh"></i>
27 27
 				</div>
28 28
 			</div>
29
-		<div style="padding: 10px;" class="tj_content clearFix">
30
-			<div class="Common">
31
-				<table>
32
-					<tr>
33
-						<th class="Importent">诉求人:</th>
34
-						<td>
35
-							<input type="text" />
36
-						</td>
37
-						<th>性别:</th>
38
-						<td>
39
-							<select class="select_"></select>
40
-						</td>
41
-						<th>来源:</th>
42
-						<td>
43
-							<select class="select_"></select>
44
-						</td>
45
-						<th>联系电话:</th>
46
-						<td>
47
-							<input type="text" />
48
-						</td>
49
-					</tr>
50
-					<tr>
51
-						<th class="Importent">标题:</th>
52
-						<td colspan="7"><input type="text" style="width: 100%;" /></td>
53
-					</tr>
54
-					<tr>
55
-						<th class="Importent">内容:</th>
56
-						<td colspan="7"><textarea name="" rows="" cols="" style="width: 100%;"></textarea></td>
57
-					</tr>
58
-					<tr>
59
-						<th>事件地址:</th>
60
-						<td colspan="7">
61
-							<select class="select_"></select>
62
-							<select class="select_"></select>
63
-							<input type="text" placeholder="输入详细地址" style="width:66%" />
64
-						</td>
65
-					</tr>
66
-					<tr>
67
-						<th>附件上传:</th>
68
-						<td colspan="7">
69
-							<input type="text" placeholder="输入附件详情" style="width:66%" />
70
-						</td>
71
-					</tr>
72
-					<tr>
73
-						<th>处理方式:</th>
74
-						<td colspan="7">
75
-							<input type="radio" name="banli" />当即办理
76
-							<input type="radio" name="banli" />网路转办
77
-						</td>
78
-					</tr>
79
-					<tr>
80
-						<th class="Importent">主题词:</th>
81
-						<td colspan="4">
82
-							<input type="text" placeholder="输入主题词" style="width:100%" />
83
-						</td>
84
-						<th class="">分管领导:</th>
85
-						<td colspan="4">
86
-							<input type="text" placeholder="输入详细地址" style="width:100%" />
87
-						</td>
88
-					</tr>
89
-					<tr>
90
-						<th>类型:</th>
91
-						<td>
92
-							<select class="select_"></select>
93
-						</td>
94
-						<th>类别:</th>
95
-						<td colspan="3">
96
-							<select class="select_"></select>
97
-							<select class="select_"></select>
98
-						</td>
99
-						<th>密级:</th>
100
-						<td colspan="3">
101
-							<input type="radio" name="mj" id="" value="" />普通
102
-							<input type="radio" name="mj" id="" value="" />保密
103
-						</td>
104
-					</tr>
105
-					<tr>
106
-						<th>紧急程度:</th>
107
-						<td>
108
-							<select class="select_"></select>
109
-						</td>
110
-						<th>受理时间:</th>
111
-						<td>
112
-							<input type="text" id="startTime" class="laydate-icon" style="height: 32px;" />
113
-						</td>
29
+			<div style="padding: 10px;" class="tj_content clearFix">
30
+				<div class="Common">
31
+					<table>
32
+						<tr>
33
+							<th class="Importent">诉求人:</th>
34
+							<td>
35
+								<input type="text" id="cusname" />
36
+							</td>
37
+							<th>性别:</th>
38
+							<td>
39
+								<select class="select_">
40
+									<option value="">请选择</option>
41
+									<option value="0">男</option>
42
+									<option value="0">女</option>
43
+								</select>
44
+							</td>
45
+							<th>来源:</th>
46
+							<td>
47
+								<select class="select_" id="source">
48
+									<option value="">全部</option>
49
+									<option value="电话">电话</option>
50
+									<option value="市长信箱">市长信箱</option>
51
+									<option value="微博">微博</option>
52
+									<option value="网站">网站</option>
53
+									<option value="微信">微信</option>
54
+									<option value="手机APP">手机APP</option>
55
+									<option value="在线客服">在线客服</option>
56
+								</select>
57
+							</td>
58
+							<th>联系电话:</th>
59
+							<td>
60
+								<input type="text" id="cusphone" />
61
+							</td>
62
+						</tr>
63
+						<tr>
64
+							<th class="Importent">标题:</th>
65
+							<td colspan="7">
66
+								<input id="title" type="text" style="width: 100%;" />
67
+							</td>
68
+						</tr>
69
+						<tr>
70
+							<th class="Importent">内容:</th>
71
+							<td colspan="7">
72
+								<textarea id="content" name="" rows="" cols="" style="width: 100%;"></textarea>
73
+							</td>
74
+						</tr>
75
+						<tr>
76
+							<th>事件地址:</th>
77
+							<td colspan="7">
78
+								<select class="select_" id="sourcearea">
79
+									<option value="0">市区</option>
80
+									<option value="1">市区1</option>
81
+									<option value="2">市区12</option>
82
+								</select>
83
+								<input id="sourceaddress" type="text" placeholder="输入详细地址" style="width:66%" />
84
+							</td>
85
+						</tr>
86
+						<tr>
87
+							<th>附件上传:</th>
88
+							<td colspan="7">
89
+								<input type="text" placeholder="输入附件详情" style="width:66%" />
90
+							</td>
91
+						</tr>
92
+						<tr>
93
+							<th>处理方式:</th>
94
+							<td colspan="7">
95
+								<input type="radio" value="0" name="banli" />当即办理
96
+								<input checked="true" type="radio" value="1" name="banli" />网络转办
97
+							</td>
98
+						</tr>
99
+						<tr>
100
+							<th class="Importent">主题词:</th>
101
+							<td colspan="4">
102
+								<input id="keys" type="text" placeholder="输入主题词" style="width:100%" />
103
+							</td>
104
+							<th class="">分管领导:</th>
105
+							<td colspan="4">
106
+								<input id="splituser" type="text" placeholder="输入详细地址" style="width:100%" />
107
+							</td>
108
+						</tr>
109
+						<tr>
110
+							<th>类型:</th>
111
+							<td>
112
+								<select class="select_" id="type">
113
+									<option value="咨询">咨询</option>
114
+									<option value="投诉">投诉</option>
115
+									<option value="求助">求助</option>
116
+									<option value="建议">建议</option>
117
+									<option value="其他">其他</option>
118
+								</select>
119
+							</td>
120
+							<th>类别:</th>
121
+							<td colspan="3">
122
+								<select class="select_" id="bigtype">
123
+
124
+								</select>
125
+								<select class="select_" id="smalltype">
114 126
 
115
-					</tr>
116
-				</table>
117
-				<div class="btn_box">
118
-					<button class="btns">保存</button>
119
-					<button class="btns">保存并提交</button>
127
+								</select>
128
+							</td>
129
+							<th>密级:</th>
130
+							<td colspan="3">
131
+								<input checked="true" type="radio" name="mj" id="" value="0" />普通
132
+								<input type="radio" name="mj" id="" value="1" />保密
133
+							</td>
134
+						</tr>
135
+						<tr>
136
+							<th>紧急程度:</th>
137
+							<td>
138
+								<select class="select_" id="level">
139
+									<option value="">选择</option>
140
+									<option value="0">普急</option>
141
+									<option value="1">紧急</option>
142
+									<option value="2">特急</option>
143
+								</select>
144
+							</td>
145
+
146
+						</tr>
147
+					</table>
148
+					<div class="btn_box">
149
+						<button class="btns BC">保存</button>
150
+						<button class="btns SavedSubmit">保存并提交</button>
151
+					</div>
120 152
 				</div>
121 153
 			</div>
122
-		</div>	
123
-	</div>	
154
+		</div>
124 155
 		<script src="../css/laydate/laydate.js"></script>
125 156
 		<script>
157
+			var submit;
126 158
 			$(document).ready(function() {
159
+
127 160
 				//返回首页
128
-				$('#ReIndex').click(function(){
129
-				 top.home_index();
130
-			})
131
-				laydate.skin('blue');
132
-				laydate({
133
-					elem: '#startTime',
134
-					event: 'focus'
135
-				});
161
+				$('#ReIndex').click(function() {
162
+					top.home_index();
163
+				})
164
+				$(".BC").click(function() {
165
+					submit = 0;
166
+					Add();
167
+				})
168
+                $('.SavedSubmit').click(function(){
169
+                	submit = 1;
170
+                		Add();
171
+                })
136 172
 			});
173
+
174
+			///添加工单
175
+			function Add() {
176
+				$.ajax({
177
+					type: "post",
178
+					url: huayi.config.callcenter_url + "/WorkOrder/AddWorkOrder",
179
+					dataType: 'json',
180
+					async: true,
181
+					data: {
182
+						cusname: $("#cusname").val(), //=投诉人姓名
183
+						cussex: $("#cussex").val(),
184
+						cusphone: $("#cusphone").val(), //=投诉人电话
185
+						//								zipcode=邮编
186
+						//								conphone=客户电话
187
+						//								title=标题
188
+						content: $("#content").val(),
189
+						//     							files=附件id(多个用英文逗号,隔开)
190
+						sourcearea: $("#sourcearea").val(), //=事发地域id
191
+						sourceaddress: $('#sourceaddress').val(), //=事发详细地址
192
+						source: $("#source").val(), //=来源
193
+						isresult: $(' input[name="banli"]:checked ').val(), //=(0转办1直办)
194
+						//      						result=直办内容&
195
+						keys: $("#keys").val(), //=关键词id(多个用英文逗号,隔开)
196
+						splituser: $("#splituser").val(), //分管领导id(多个用英文逗号,隔开)
197
+						type: $("#type").val(), //=类型
198
+						bigtype: $("#bigtype").val(), //=大类别
199
+						smalltype: $("#smalltype").val(), //=小类别
200
+						isprotect: $(' input[name="mj"]:checked ').val(), //=(0普通1保密)
201
+						level: $('#level').val(), //=(1普通2紧急3特急)
202
+						issubmit: submit, //=(0保存1保存并提交)
203
+						token: $.cookie("token")
204
+					},
205
+					success: function(data) {
206
+						
207
+							layer.msg("创建工单成功");
208
+						
209
+						
210
+
211
+					}
212
+				});
213
+			}
137 214
 		</script>
138 215
 	</body>
139 216
 

+ 9 - 0
WebUI/CallCenterWeb.UI/Appeal/Keys.html

@@ -0,0 +1,9 @@
1
+<!DOCTYPE html>
2
+<html>
3
+	<head>
4
+		<meta charset="UTF-8">
5
+		<title></title>
6
+	</head>
7
+	<body>
8
+	</body>
9
+</html>

+ 217 - 442
WebUI/CallCenterWeb.UI/Appeal/Lawsuit.html

@@ -159,11 +159,11 @@
159 159
 						<i class="syIcon"></i>位置:
160 160
 						<a href="javaScript:;" id="ReIndex">首页</a>&gt;
161 161
 						<a href="javaScript:;">登记</a>&gt;
162
-						<a  class="nowPosition">诉求查询</a>
162
+						<a class="nowPosition">查询</a>
163 163
 					</sapn>
164 164
 				</div>
165 165
 				<div class="dhRight">
166
-					<i class="fa fa-refresh"></i>					
166
+					<i class="fa fa-refresh"></i>
167 167
 				</div>
168 168
 			</div>
169 169
 			<div style="padding: 10px;" class="tj_content clearFix">
@@ -299,462 +299,237 @@
299 299
 				</div>
300 300
 			</div>
301 301
 		</div>
302
-			<script src="../css/laydate/laydate.js"></script>
303
-			<script src="../My97DatePicker/WdatePicker.js"></script>
304
-			<script>
305
-				$(document).ready(function() {
306
-					//返回首页
307
-				$('#ReIndex').click(function(){
308
-				 top.home_index();
309
-			})
310
-					
311
-					
312
-					load();
313
-					$(".GJ").click(function() {
314
-						$(".gj").toggle("hidens");
315
-					})
316
-					//坐席
317
-					$.getJSON(huayi.config.callcenter_url + "UserAccount/GetSeatList", {
318
-						"token": $.cookie("token")
319
-					}, function(data) {
320
-						if(data.state.toLowerCase() == "success") {
321
-							var content = data.data;
322
-							$(content).each(function(i, n) {
323
-								$("<option value='" + n.F_UserCode + "'>" + n.F_UserName + "</option>").appendTo($("#djr"));
324
-							})
325
-						}
326
-					})
327
-					//状态
328
-					$.getJSON(huayi.config.callcenter_url + "Dictionary/GetDicValueListById", {
329
-						"token": $.cookie("token"),
330
-						id: 5
331
-					}, function(data) {
332
-						if(data.state.toLowerCase() == "success") {
333
-							var content = data.data;
334
-							$(content).each(function(i, n) {
335
-								$("<option value='" + n.F_ValueId + "'>" + n.F_Value + "</option>").appendTo($("#zt"));
336
-							})
337
-						}
338
-					})
339
-					//信息来源
340
-					$("#xxly").empty();
341
-					$("#xxly").append('<option selected="selected" value="">请选择</option>');
342
-					$.getJSON(huayi.config.callcenter_url + "Dictionary/GetDicValueListById", {
343
-						"token": $.cookie("token"),
344
-						id: 6
345
-					}, function(data) {
346
-						if(data.state.toLowerCase() == "success") {
347
-							var content = data.data;
348
-							$(content).each(function(i, n) {
349
-								$("<option value='" + n.F_ValueId + "'>" + n.F_Value + "</option>").appendTo($("#xxly"));
350
-							})
351
-						}
352
-					});
353
-					//信息分类
354
-					$("#xxlb").empty();
355
-					$("#xxlb").append('<option selected="selected" value="">请选择</option>');
356
-					$.getJSON(huayi.config.callcenter_url + "Dictionary/GetDicValueListById", {
357
-						"token": $.cookie("token"),
358
-						id: 2
359
-					}, function(data) {
360
-						if(data.state.toLowerCase() == "success") {
361
-							var content = data.data;
362
-							$(content).each(function(i, n) {
363
-								$("<option value='" + n.F_ValueId + "'>" + n.F_Value + "</option>").appendTo($("#xxlb"));
364
-							})
365
-						}
366
-						$("#xxlb").change(function() {
367
-							$("#tsxl").empty();
368
-							$("#tsxl").append('<option selected="selected" value="">请选择</option>');
369
-							loadDic($("#tsdl"), $("#xxlb").val());
370
-						});
371
-
372
-						$("#tsdl").change(function() {
373
-							loadDic($("#tsxl"), $("#tsdl").val());
374
-						});
375
-					})
376
-					loadArea($("#FArea"));
377
-					loadArea($("#JArea"));
378
-					$("#FArea").change(function() {
379
-						$("#Twon").empty();
380
-						$("#Twon").append('<option selected="selected" value="">请选择</option>');
381
-						$.getJSON(huayi.config.callcenter_url + "Department/GetTownList", {
382
-							"token": $.cookie("token"),
383
-							aid: $("#FArea").val()
384
-						}, function(data) {
385
-							if(data.state.toLowerCase() == "success") {
386
-								var content = data.data;
387
-								$(content).each(function(i, n) {
388
-									$("<option value='" + n.F_TownId + "'>" + n.F_TownName + "</option>").appendTo($("#Twon"));
389
-								})
390
-							}
302
+		<script src="../css/laydate/laydate.js"></script>
303
+		<script src="../My97DatePicker/WdatePicker.js"></script>
304
+		<script>
305
+			$(document).ready(function() {
306
+						//返回首页
307
+						$('#ReIndex').click(function() {
308
+							top.home_index();
391 309
 						})
392
-					})
393
-					$("#JArea").change(function() {
394
-						$("#Jtype").empty();
395
-						$("#Jtype").append('<option selected="selected" value="">请选择</option>');
396
-						$("#Department").empty();
397
-						$("#Department").append('<option selected="selected" value="">请选择</option>');
398
-						$.getJSON(huayi.config.callcenter_url + "Department/GetDeptTypeList", {
399
-							"token": $.cookie("token"),
400
-							aid: $("#JArea").val()
401
-						}, function(data) {
402
-							if(data.state.toLowerCase() == "success") {
403
-								var content = data.data;
404
-								$(content).each(function(i, n) {
405
-									$("<option value='" + n.F_DeptTypeId + "'>" + n.F_DeptTypeName + "</option>").appendTo($("#Jtype"));
406
-								})
407
-							}
408
-						})
409
-					})
410
-					$("#Jtype").change(function() {
411
-						$("#Department").empty();
412
-						$("#Department").append('<option selected="selected" value="">请选择</option>');
413
-						$.getJSON(huayi.config.callcenter_url + "Department/GetDeptList", {
414
-							"token": $.cookie("token"),
415
-							tid: $("#Jtype").val()
416
-						}, function(data) {
417
-							if(data.state.toLowerCase() == "success") {
418
-								var content = data.data;
419
-								$(content).each(function(i, n) {
420
-									$("<option value='" + n.F_DeptId + "'>" + n.F_DeptName + "</option>").appendTo($("#Department"));
421
-								})
422
-							}
423
-						})
424
-					})
425
-					$("#FArea").change(function() {
426
-						$("#sfdz").val($("#FArea").find("option:selected").text());
427
-					})
428
-
429
-					$(".min_select").each(function() {
430
-						$(this).empty();
431
-						for(var i = 1; i <= 10; i++) {
432
-							if(i == 5) {
433
-								$("<option selected='selected' value='5'>5</option>").appendTo($(this));
434
-							} else {
435
-								$("<option value='" + i + "'>" + i + "</option>").appendTo($(this));
436
-							}
437
-						}
438
-					});
439 310
 
440
-					laydate.skin('blue');
441
-
442
-					laydate({
443
-						elem: '#startTime',
444
-						event: 'focus'
445
-					});
311
+						load();
312
+						$(".GJ").click(function() {
313
+							$(".gj").toggle("hidens");
314
+						})
446 315
 
447
-					laydate({
448
-						elem: '#endTime',
449
-						event: 'focus'
450
-					});
316
+						laydate.skin('blue');
451 317
 
452
-					$(".search").click(function() {
453
-						load();
454
-					})
455
-					//关闭录音弹出
456
-					$(".gbly").click(function() {
457
-						$(".lyxz").removeClass("cx");
458
-						$('audio')[0].pause();
459
-					});
460
-					var html = '<div >' +
461
-						'<ul class="nav nav-tabs">' +
462
-						'<li class="active">' +
463
-						'<a href="#">参数信息</a>' +
464
-						'</li>' +
465
-						'</ul>' +
466
-						'<div class="add_time">' +
467
-						'<label for="">发布标题:</label>' +
468
-						'<input type="text" id="title" class="photo"  />' +
469
-						'</div>' +
470
-						'<div class="add_time">' +
471
-						'<label for="">是否有期限:</label>' +
472
-						'<label style="font-weight:normal;width: 50px;"><input type="radio" value="1" name="limit" checked="checked" />无</label>' +
473
-						'<label style="font-weight:normal;width: 50px;"><input type="radio" value="2" name="limit" />有</label>' +
474
-						'</div>' +
475
-						'<div class="add_time">' +
476
-						'<label for="">发布期限:</label>' +
477
-						'<input type="text" class="photo laydate-icon" id="limittime" onclick="WdatePicker({ dateFmt: \'yyyy-MM-dd\' })" />' +
478
-						'</div>' +
479
-						'<div class="add_time tc" style="text-align: center;">' +
480
-						'<button type="button" class="btn sc_btn " id="tc" onclick="fbgd()">发&nbsp;&nbsp;布</button>' +
481
-						'</div>' +
482
-						'</div>';
318
+						laydate({
319
+							elem: '#startTime',
320
+							event: 'focus'
321
+						});
483 322
 
484
-					$(".release").click(function() {
485
-						tc = layer.open({
486
-							type: 1,
487
-							content: html, //iframe的url,no代表不显示滚动条
488
-							title: '发布工单',
489
-							area: ['40%', '60%'], //宽高
323
+						laydate({
324
+							elem: '#endTime',
325
+							event: 'focus'
490 326
 						});
491
-					})
492
-					$(".print").click(function() {
493
-						layer.open({
494
-							type: 2,
495
-							content: "PrintPreview.html?wid=" + $(".hidWid").val(), //iframe的url,no代表不显示滚动条
496
-							title: '打印',
497
-							area: ['60%', '80%'], //宽高
327
+
328
+						$(".search").click(function() {
329
+							load();
330
+						})
331
+			});			
332
+						//关闭录音弹出
333
+						$(".gbly").click(function() {
334
+							$(".lyxz").removeClass("cx");
335
+							$('audio')[0].pause();
498 336
 						});
499
-					})
500 337
 
501
-					$("#orderlist").on("click-row.bs.table", function(e, row, ele) {
502
-						$('.success').removeClass('success'); //去除之前选中的行的,选中样式
503
-						$(ele).addClass('success'); //添加当前选中的 success样式用于区别
504
-					});
338
+						$("#orderlist").on("click-row.bs.table", function(e, row, ele) {
339
+							$('.success').removeClass('success'); //去除之前选中的行的,选中样式
340
+							$(ele).addClass('success'); //添加当前选中的 success样式用于区别
341
+						});
505 342
 
506
-					$("#sqzx").bind("keydown", function(event) {
507
-						var keyCode = event.keyCode ? event.keyCode : event.which ? event.which : event.charCode;
508
-						if(keyCode == 13) {
509
-							load();
343
+						//获取查询信息
344
+						function load() {
345
+							//先销毁表格
346
+							$('#orderlist').bootstrapTable('destroy');
347
+							//初始化表格,动态从服务器加载数据
348
+							$("#orderlist").bootstrapTable({
349
+								method: "get", //使用get请求到服务器获取数据
350
+								url: huayi.config.callcenter_url + "WorkOrder/GetList", //获取数据的Servlet地址
351
+								contentType: "application/x-www-form-urlencoded",
352
+								striped: true, //表格显示条纹
353
+								pagination: true, //启动分页
354
+								pageSize: 10, //每页显示的记录数
355
+								pageNumber: 1, //当前第几页
356
+								pageList: [10, 20, 50, 100], //记录数可选列表
357
+								search: false, //是否启用查询
358
+								showColumns: false, //显示下拉框勾选要显示的列
359
+								showRefresh: false, //显示刷新按钮
360
+								sidePagination: "server", //表示服务端请求
361
+								//设置为undefined可以获取pageNumber,pageSize,searchText,sortName,sortOrder
362
+								//设置为limit可以获取limit, offset, search, sort, order
363
+								queryParamsType: "undefined",
364
+								queryParams: function queryParams(params) { //设置查询参数
365
+									var param = {
366
+										page: params.pageNumber,
367
+										pagesize: params.pageSize,
368
+										//								workid: $("#djbh").val(),
369
+										//								state: $("#zt").val(),
370
+										//								name: $("#name").val(),
371
+										//								tel: $("#tel").val(),
372
+										//								key: $("#key").val(),
373
+										//								usercode: $("#djr").val(),
374
+										//								type: $("#xxlb").val(),
375
+										//								bigtype: $("#tsdl").val(),
376
+										//								smalltype: $("#tsxl").val(),
377
+										//								sourcearea: $("#FArea").val(),
378
+										//								starttime: $("#startTime").val(),
379
+										//								endtime: $("#endTime").val(),
380
+										//								areaid: $("#JArea").val(),
381
+										//								depttype: $("#Jtype").val(),
382
+										//								deptid: $("#Department").val(),
383
+										token: $.cookie("token")
384
+									};
385
+									return param;
386
+								},
387
+								onLoadSuccess: function(data) { //加载成功时执行
388
+									layer.msg("加载成功");
389
+									//console.log(data);
390
+								},
391
+								onLoadError: function() { //加载失败时执行
392
+									//layer.msg("加载数据失败", { time: 1500, icon: 2 });
393
+								}
394
+							});
395
+						}
396
+						//音频
397
+						function setCode(val) {
398
+							if(val) {
399
+								return '<div class="imgs" style="cursor: pointer;">' +
400
+									'<img src="../img/vice.png" alt="" onclick= ck(this) item="' + val + '" />' +
401
+									'</div>';
402
+							} else {
403
+								return '';
404
+							}
405
+						}
406
+						//录音
407
+						function ck(val) {
408
+							var path = $(val).attr("item");
409
+							$(".lyxz").addClass("cx");
410
+							$(".Ly_box").empty();
411
+							$(".down").attr("href", path);
412
+							$('<audio style="width: 100%;"class=" " src="' + path + '" loop="loop" controls="controls" ></audio>').appendTo(".Ly_box");
510 413
 						}
511
-					})
512
-				})
513
-				var tc;
514 414
 
515
-				function fbgd() {
516
-					if(!$("#title").val()) {
517
-						layer.confirm('请输入发布标题!', {
518
-							btn: ['确定']
519
-						});
520
-						return;
521
-					}
522
-					$.post(huayi.config.callcenter_url + 'WorkOrder/ReleaseWorkOrder', {
523
-						workorderid: $(".hidWid").val(),
524
-						title: $("#title").val(),
525
-						islimit: $('input[name="limit"]:checked ').val(),
526
-						limittime: $("#limittime").val(),
527
-						"token": $.cookie("token")
528
-					}, function(result) {
529
-						result = JSON.parse(result);
530
-						if(result.state.toLowerCase() == "success") {
531
-							layer.msg("发布成功");
532
-							layer.close(tc); //关闭弹层
415
+						function GetCont(val) {
416
+							if(val) {
417
+								var str = '<div '
418
+								if(val.length > 10) {
419
+									str = str + ' title="' + val + '" ';
420
+									val = val.substr(0, 10) + "...";
421
+								}
422
+								return str + '>' + val + '</div>';
423
+							} else {
424
+								return '';
425
+							}
533 426
 						}
534
-					})
535
-				}
536
-				//加载字典
537
-				function loadDic(obj, pid) {
538
-					obj.empty();
539
-					obj.append('<option selected="selected" value="">请选择</option>');
540
-					$.getJSON(huayi.config.callcenter_url + "Dictionary/GetDicValueListByParentId", {
541
-						"token": $.cookie("token"),
542
-						pid: pid
543
-					}, function(data) {
544
-						if(data.state.toLowerCase() == "success") {
545
-							var content = data.data;
546
-							$(content).each(function(i, n) {
547
-								$("<option value='" + n.F_ValueId + "'>" + n.F_Value + "</option>").appendTo(obj);
548
-							})
427
+						//操作
428
+						function Dispose(val) {
429
+							//提交按钮
430
+							return '<div class="imgs" >' +
431
+								'<a class="xg"  title="查看" onclick="ckxq(' + val + ')"> <i class="fa fa-search"></i></a>' +
432
+								'<a class="xg"  title="编辑" onclick="bj(' + val + ')"> <i class="fa fa-pencil-square-o"></i></a>' +
433
+								'<a class="xg" title="回访" onclick="back(' + val + ')"> <i class="fa fa-mail-reply"></i></a>' +
434
+								'<a class="xg" "title="强回"onclick="recycles(' + val + ')"> <i class="fa fa-exchange"></i></a>' +
435
+								'<a class="xg"  title="结案" onclick="Lawsuit(' + val + ')"> <i class="fa fa-pie-chart"></i></a>' +
436
+								'<a class="xg" "title="交办"onclick="jb(' + val + ')"> <i class="fa fa-check-square-o"></i></a>' +
437
+								'<a class="xg" "title="回收"onclick="recycle(' + val + ')"> <i class="fa fa-retweet"></i></a>' +
438
+								'<a class="xg "title="督查" onclick="Supervision(' + val + ')"> <i class="fa fa-eye"></i></a>' +
439
+								'<a class="xg" "title="强制" onclick="StrongLawsuit(' + val + ')"> <i class="fa fa-check-circle"></i></a>' +
440
+								'<a class="xg" title="删除"onclick="move(' + val + ')"> <i class="fa fa-remove"></i></a>' +
441
+								'</div>';
549 442
 						}
550
-					})
551
-				}
552
-				//加载区域
553
-				function loadArea(obj) {
554
-					obj.empty();
555
-					obj.append('<option selected="selected" value="">请选择</option>');
556
-					$.getJSON(huayi.config.callcenter_url + "Department/GetAreaList", {
557
-						"token": $.cookie("token")
558
-					}, function(data) {
559
-						if(data.state.toLowerCase() == "success") {
560
-							var content = data.data;
561
-							$(content).each(function(i, n) {
562
-								$("<option value='" + n.F_AreaId + "'>" + n.F_AreaName + "</option>").appendTo(obj);
563
-							})
443
+						//查看详情
444
+						function ckxq(str) {
445
+							layer.open({
446
+								type: 2,
447
+								content: "../CommonHtml/WorkDatil.html?wid=" + str, //iframe的url,no代表不显示滚动条
448
+								title: '工单详情',
449
+								area: ['85%', '80%'], //宽高
450
+							});
564 451
 						}
565
-					})
566
-				};
567
-				//获取查询信息
568
-				function load() {
569
-					//先销毁表格
570
-					$('#orderlist').bootstrapTable('destroy');
571
-					//初始化表格,动态从服务器加载数据
572
-					$("#orderlist").bootstrapTable({
573
-						method: "get", //使用get请求到服务器获取数据
574
-						//              url: huayi.config.callcenter_url + "WorkOrder/GetList", //获取数据的Servlet地址
575
-						url: "gongdan.json",
576
-						contentType: "application/x-www-form-urlencoded",
577
-						striped: true, //表格显示条纹
578
-						pagination: true, //启动分页
579
-						pageSize: 10, //每页显示的记录数
580
-						pageNumber: 1, //当前第几页
581
-						pageList: [10, 20, 50, 100], //记录数可选列表
582
-						search: false, //是否启用查询
583
-						showColumns: false, //显示下拉框勾选要显示的列
584
-						showRefresh: false, //显示刷新按钮
585
-						sidePagination: "server", //表示服务端请求
586
-						//设置为undefined可以获取pageNumber,pageSize,searchText,sortName,sortOrder
587
-						//设置为limit可以获取limit, offset, search, sort, order
588
-						queryParamsType: "undefined",
589
-						queryParams: function queryParams(params) { //设置查询参数
590
-							var param = {
591
-								page: params.pageNumber,
592
-								pagesize: params.pageSize,
593
-								workid: $("#djbh").val(),
594
-								state: $("#zt").val(),
595
-								name: $("#name").val(),
596
-								tel: $("#tel").val(),
597
-								key: $("#key").val(),
598
-								usercode: $("#djr").val(),
599
-								type: $("#xxlb").val(),
600
-								bigtype: $("#tsdl").val(),
601
-								smalltype: $("#tsxl").val(),
602
-								sourcearea: $("#FArea").val(),
603
-								starttime: $("#startTime").val(),
604
-								endtime: $("#endTime").val(),
605
-								areaid: $("#JArea").val(),
606
-								depttype: $("#Jtype").val(),
607
-								deptid: $("#Department").val(),
608
-								token: $.cookie("token")
609
-							};
610
-							return param;
611
-						},
612
-						onLoadSuccess: function(data) { //加载成功时执行
613
-							//layer.msg("加载成功");
614
-							//console.log(data);
615
-						},
616
-						onLoadError: function() { //加载失败时执行
617
-							//layer.msg("加载数据失败", { time: 1500, icon: 2 });
452
+						//编辑
453
+						function bj(str) {
454
+							layer.open({
455
+								type: 2,
456
+								content: "../CommonHtml/AddAppeal.html?wid=" + str, //iframe的url,no代表不显示滚动条
457
+								title: '编辑工单',
458
+								area: ['85%', '80%'], //宽高
459
+							});
618 460
 						}
619
-					});
620
-				}
621
-				//音频
622
-				function setCode(val) {
623
-					if(val) {
624
-						return '<div class="imgs" style="cursor: pointer;">' +
625
-							'<img src="../img/vice.png" alt="" onclick= ck(this) item="' + val + '" />' +
626
-							'</div>';
627
-					} else {
628
-						return '';
629
-					}
630
-				}
631
-				//录音
632
-				function ck(val) {
633
-					var path = $(val).attr("item");
634
-					$(".lyxz").addClass("cx");
635
-					$(".Ly_box").empty();
636
-					$(".down").attr("href", path);
637
-					$('<audio style="width: 100%;"class=" " src="' + path + '" loop="loop" controls="controls" ></audio>').appendTo(".Ly_box");
638
-				}
639
-
640
-				function GetCont(val) {
641
-					if(val) {
642
-						var str = '<div '
643
-						if(val.length > 10) {
644
-							str = str + ' title="' + val + '" ';
645
-							val = val.substr(0, 10) + "...";
461
+						//督查
462
+						function Supervision(str) {
463
+							layer.open({
464
+								type: 2,
465
+								content: "../CommonHtml/Supervision.html?wid=" + str, //iframe的url,no代表不显示滚动条
466
+								title: '督查',
467
+								area: ['35%', '30%'], //宽高
468
+							});
469
+						}
470
+						//强制结案
471
+						function StrongLawsuit(str) {
472
+							layer.open({
473
+								type: 2,
474
+								content: "../CommonHtml/StrongLawsuit.html?wid=" + str, //iframe的url,no代表不显示滚动条
475
+								title: '诉求单强制结案',
476
+								area: ['35%', '30%'], //宽高
477
+							});
478
+						}
479
+						//删除
480
+						function move() {
481
+							layer.confirm('确定删除工单?', {
482
+								btn: ['是', '否'] //按钮
483
+							});
484
+						}
485
+						//回收
486
+						function recycle() {
487
+							layer.confirm('确定要回收?', {
488
+								btn: ['是', '否'] //按钮
489
+							});
646 490
 						}
647
-						return str + '>' + val + '</div>';
648
-					} else {
649
-						return '';
650
-					}
651
-				}
652
-				//操作
653
-				function Dispose(val) {
654
-					//提交按钮
655
-					return '<div class="imgs" >' +
656
-						'<a class="xg"  title="查看" onclick="ckxq(' + val + ')"> <i class="fa fa-search"></i></a>' +
657
-						'<a class="xg"  title="编辑" onclick="bj(' + val + ')"> <i class="fa fa-pencil-square-o"></i></a>' +
658
-						'<a class="xg" title="回访" onclick="back(' + val + ')"> <i class="fa fa-mail-reply"></i></a>' +
659
-						'<a class="xg" "title="强回"onclick="recycles(' + val + ')"> <i class="fa fa-exchange"></i></a>' +
660
-						'<a class="xg"  title="结案" onclick="Lawsuit(' + val + ')"> <i class="fa fa-pie-chart"></i></a>' +
661
-						'<a class="xg" "title="交办"onclick="jb(' + val + ')"> <i class="fa fa-check-square-o"></i></a>' +
662
-						'<a class="xg" "title="回收"onclick="recycle(' + val + ')"> <i class="fa fa-retweet"></i></a>' +
663
-						'<a class="xg "title="督查" onclick="Supervision(' + val + ')"> <i class="fa fa-eye"></i></a>' +
664
-						'<a class="xg" "title="强制" onclick="StrongLawsuit(' + val + ')"> <i class="fa fa-check-circle"></i></a>' +
665
-						'<a class="xg" title="删除"onclick="move(' + val + ')"> <i class="fa fa-remove"></i></a>' +
666
-						'</div>';
667
-				}
668
-				//查看详情
669
-				function ckxq(str) {
670
-					layer.open({
671
-						type: 2,
672
-						content: "../CommonHtml/WorkDatil.html?wid=" + str, //iframe的url,no代表不显示滚动条
673
-						title: '工单详情',
674
-						area: ['85%', '80%'], //宽高
675
-					});
676
-				}
677
-				//编辑
678
-				function bj(str) {
679
-					layer.open({
680
-						type: 2,
681
-						content: "../CommonHtml/AddAppeal.html?wid=" + str, //iframe的url,no代表不显示滚动条
682
-						title: '编辑工单',
683
-						area: ['85%', '80%'], //宽高
684
-					});
685
-				}
686
-				//督查
687
-				function Supervision(str) {
688
-					layer.open({
689
-						type: 2,
690
-						content: "../CommonHtml/Supervision.html?wid=" + str, //iframe的url,no代表不显示滚动条
691
-						title: '督查',
692
-						area: ['35%', '30%'], //宽高
693
-					});
694
-				}
695
-				//强制结案
696
-				function StrongLawsuit(str) {
697
-					layer.open({
698
-						type: 2,
699
-						content: "../CommonHtml/StrongLawsuit.html?wid=" + str, //iframe的url,no代表不显示滚动条
700
-						title: '诉求单强制结案',
701
-						area: ['35%', '30%'], //宽高
702
-					});
703
-				}
704
-				//删除
705
-				function move() {
706
-					layer.confirm('确定删除工单?', {
707
-						btn: ['是', '否'] //按钮
708
-					});
709
-				}
710
-				//回收
711
-				function recycle() {
712
-					layer.confirm('确定要回收?', {
713
-						btn: ['是', '否'] //按钮
714
-					});
715
-				}
716
-				//强制回收
717
-				function recycles() {
718
-					layer.confirm('确定要强制退回吗?', {
719
-						btn: ['是', '否'] //按钮
720
-					});
721
-				}
722
-				//诉求回访
723
-				function back(str) {
724
-					layer.open({
725
-						type: 2,
726
-						content: "../CommonHtml/Back.html?wid=" + str, //iframe的url,no代表不显示滚动条
727
-						title: '诉求回访',
728
-						area: ['45%', '60%'], //宽高
729
-					});
730
-				}
731
-				//结案
732
-				function Lawsuit(str) {
733
-					layer.open({
734
-						type: 2,
735
-						content: "../CommonHtml/lawsuits.html?wid=" + str, //iframe的url,no代表不显示滚动条
736
-						title: '诉求单结案',
737
-						area: ['45%', '40%'], //宽高
738
-					});
739
-				}
740
-				//交办
741
-				function jb(str) {
742
-					layer.open({
743
-						type: 2,
744
-						content: "../CommonHtml/yanshishenq.html?wid=" + str, //iframe的url,no代表不显示滚动条
745
-						title: '诉求单结案',
746
-						area: ['45%', '40%'], //宽高
747
-					});
748
-				}
749
-				$('.Appeal').click(function() {
750
-					layer.open({
751
-						type: 2,
752
-						content: "../CommonHtml/AddAppeal.html?wid=", //iframe的url,no代表不显示滚动条
753
-						title: '新增诉求',
754
-						area: ['85%', '80%'], //宽高
755
-					});
756
-				})
757
-			</script>
491
+						//强制回收
492
+						function recycles() {
493
+							layer.confirm('确定要强制退回吗?', {
494
+								btn: ['是', '否'] //按钮
495
+							});
496
+						}
497
+						//诉求回访
498
+						function back(str) {
499
+							layer.open({
500
+								type: 2,
501
+								content: "../CommonHtml/Back.html?wid=" + str, //iframe的url,no代表不显示滚动条
502
+								title: '诉求回访',
503
+								area: ['45%', '60%'], //宽高
504
+							});
505
+						}
506
+						//结案
507
+						function Lawsuit(str) {
508
+							layer.open({
509
+								type: 2,
510
+								content: "../CommonHtml/lawsuits.html?wid=" + str, //iframe的url,no代表不显示滚动条
511
+								title: '诉求单结案',
512
+								area: ['45%', '40%'], //宽高
513
+							});
514
+						}
515
+						//交办
516
+						function jb(str) {
517
+							layer.open({
518
+								type: 2,
519
+								content: "../CommonHtml/yanshishenq.html?wid=" + str, //iframe的url,no代表不显示滚动条
520
+								title: '诉求单结案',
521
+								area: ['45%', '40%'], //宽高
522
+							});
523
+						}
524
+						$('.Appeal').click(function() {
525
+							layer.open({
526
+								type: 2,
527
+								content: "../CommonHtml/AddAppeal.html?wid=", //iframe的url,no代表不显示滚动条
528
+								title: '新增诉求',
529
+								area: ['85%', '80%'], //宽高
530
+							});
531
+						})
532
+		</script>
758 533
 	</body>
759 534
 
760 535
 </html>