Browse Source

医院修改

miaofuhao 7 years ago
parent
commit
37f7c8dc72
26 changed files with 11415 additions and 39 deletions
  1. 23 23
      CallCenterWeb.UI/OnDuty/Follow-Reminder.html
  2. 24 3
      CallCenterWeb.UI/OnDuty/SeatsMessage.html
  3. 9 0
      CallCenterWeb.UI/Questionnaire/AddQuestion.html
  4. 191 0
      CallCenterWeb.UI/Questionnaire/AddRight.html
  5. 193 0
      CallCenterWeb.UI/Questionnaire/City.html
  6. 305 0
      CallCenterWeb.UI/Questionnaire/QuestionSetting.html
  7. 158 0
      CallCenterWeb.UI/Questionnaire/QuestionsManagement.html
  8. 142 0
      CallCenterWeb.UI/Questionnaire/Safety.html
  9. 149 0
      CallCenterWeb.UI/Questionnaire/SafetyTable.html
  10. 278 0
      CallCenterWeb.UI/Questionnaire/Table.html
  11. 272 0
      CallCenterWeb.UI/Questionnaire/Tasks.html
  12. 199 0
      CallCenterWeb.UI/Questionnaire/XgRight.html
  13. 131 0
      CallCenterWeb.UI/Questionnaire/aaaa.html
  14. 16 0
      CallCenterWeb.UI/Questionnaire/aaaaaa.json
  15. 66 0
      CallCenterWeb.UI/Questionnaire/add.html
  16. 296 0
      CallCenterWeb.UI/Questionnaire/addCheck.html
  17. 183 0
      CallCenterWeb.UI/Questionnaire/addSWenjuanxinxi.html
  18. 358 0
      CallCenterWeb.UI/Questionnaire/addSetting.html
  19. 298 0
      CallCenterWeb.UI/Questionnaire/bbb.js
  20. 663 0
      CallCenterWeb.UI/Questionnaire/bootstrap-editable.css
  21. 6807 0
      CallCenterWeb.UI/Questionnaire/bootstrap-editable.js
  22. 325 0
      CallCenterWeb.UI/Questionnaire/detailReportForm.html
  23. 89 0
      CallCenterWeb.UI/Questionnaire/modify.html
  24. 207 0
      CallCenterWeb.UI/Questionnaire/xgWenjuanxinxi.html
  25. 3 3
      CallCenterWeb.UI/keHuManager/ContactPersonManger.html
  26. 30 10
      CallCenterWeb.UI/keHuManager/LookMessage.html

+ 23 - 23
CallCenterWeb.UI/OnDuty/Follow-Reminder.html

@@ -190,51 +190,51 @@
190 190
 						<td onclick="XX()" style="color:#337ab7; cursor: pointer;">13788888888 </td>
191 191
 						<td data-align="center" >2018-06-20</td>
192 192
 						<td data-align="center">系统管理</td>
193
-						<td data-align="center">呼叫</td>
194
-						<td data-align="center">已接通</td>
195
-						<td data-align="center">已回访</td>
193
+						<td data-align="center">呼叫</td>
194
+						<td data-align="center">--</td>
195
+						<td data-align="center">--</td>
196 196
 						<td data-align="center"></td>
197
-						<td data-align="center">2018-01-08 11:55:36</td>
198
-						<td data-align="center">2018-05-08 11:55:36</td>
197
+						<td data-align="center">--</td>
198
+						<td data-align="center">--</td>
199 199
 					</tr>
200 200
 					<tr>
201 201
 						<td data-align="center">王丽芳</td>
202 202
 						<td data-align="center">女</td>
203
-						<td onclick="XX()" style="color:#337ab7; cursor: pointer;">13788888888</td>
203
+						<td onclick="XX()" style="color:#337ab7; cursor: pointer;">13788888888 </td>
204 204
 						<td data-align="center" >2018-06-20</td>
205 205
 						<td data-align="center">系统管理</td>
206
-						<td data-align="center">呼叫</td>
207
-						<td data-align="center">未接通</td>
208
-						<td data-align="center">空号</td>
206
+						<td data-align="center">呼叫</td>
207
+						<td data-align="center">--</td>
208
+						<td data-align="center">--</td>
209 209
 						<td data-align="center"></td>
210
-						<td data-align="center">2018-01-08 11:55:36</td>
211
-						<td data-align="center">2018-05-08 11:55:36</td>
210
+						<td data-align="center">--</td>
211
+						<td data-align="center">--</td>
212 212
 					</tr>
213 213
 					<tr>
214 214
 						<td data-align="center">王丽芳</td>
215 215
 						<td data-align="center">女</td>
216
-						<td onclick="XX()" style="color:#337ab7; cursor: pointer;">13788888888</td>
216
+						<td onclick="XX()" style="color:#337ab7; cursor: pointer;">13788888888 </td>
217 217
 						<td data-align="center" >2018-06-20</td>
218 218
 						<td data-align="center">系统管理</td>
219
-						<td data-align="center">呼叫</td>
220
-						<td data-align="center">未接通</td>
221
-						<td data-align="center">停机</td>
219
+						<td data-align="center">呼叫</td>
220
+						<td data-align="center">--</td>
221
+						<td data-align="center">--</td>
222 222
 						<td data-align="center"></td>
223
-						<td data-align="center">2018-01-08 11:55:36</td>
224
-						<td data-align="center">2018-05-08 11:55:36</td>
223
+						<td data-align="center">--</td>
224
+						<td data-align="center">--</td>
225 225
 					</tr>
226 226
 					<tr>
227 227
 						<td data-align="center">王丽芳</td>
228 228
 						<td data-align="center">女</td>
229
-						<td onclick="XX()" style="color:#337ab7; cursor: pointer;">13788888888</td>
229
+						<td onclick="XX()" style="color:#337ab7; cursor: pointer;">13788888888 </td>
230 230
 						<td data-align="center" >2018-06-20</td>
231 231
 						<td data-align="center">系统管理</td>
232
-						<td data-align="center">呼叫</td>
233
-						<td data-align="center">未接通</td>
234
-						<td data-align="center">关机</td>
232
+						<td data-align="center">呼叫</td>
233
+						<td data-align="center">--</td>
234
+						<td data-align="center">--</td>
235 235
 						<td data-align="center"></td>
236
-						<td data-align="center">2018-01-08 11:55:36</td>
237
-						<td data-align="center">2018-05-08 11:55:36</td>
236
+						<td data-align="center">--</td>
237
+						<td data-align="center">--</td>
238 238
 					</tr>
239 239
 				</table>
240 240
 			</div>

+ 24 - 3
CallCenterWeb.UI/OnDuty/SeatsMessage.html

@@ -73,6 +73,13 @@
73 73
 			}
74 74
 			.table th{ line-height: 40px; text-align: center;}
75 75
 			.table{ line-height: 40px; text-align: center;}
76
+			
77
+			.page_num{ margin:0 auto; width:980px; }
78
+			.page_num_fr{ margin:50px 0px;}
79
+			.page_num_fr  li{ float:left; margin-right:10px; line-height:30px; border:#ccc 1px solid;}
80
+			.page_num_ys{ width:38px; height:38px; }
81
+			.page_num_fr  li a{ padding:0px 10px;} 
82
+			.page_num_fr  li a:hover{ background:#bfbfbf; color:#fff; text-decoration:underline;}
76 83
 		</style>
77 84
 
78 85
 	</head>
@@ -158,10 +165,24 @@
158 165
 						<td data-align="center" data-align="center">2018-06-20</td>
159 166
 					</tr>
160 167
 				</table>
161
-				<tbody>
162
-					
163
-				</tbody>
164 168
 			</div>
169
+			<div>
170
+	        	<ul class="page_num_fr fr">
171
+	            	<li><a href="#">首页</a></li>
172
+	            	<li><a href="#">1</a></li>
173
+	            	<li><a href="#">2</a></li>
174
+	            	<li><a href="#">3</a></li>
175
+	            	<li><a href="#">4</a></li>
176
+	            	<li><a href="#">5</a></li>
177
+	            	<li><a href="#">6</a></li>
178
+	            	<li><a href="#">7</a></li>
179
+	            	<li><a href="#">8</a></li>
180
+	            	<li><a href="#">9</a></li>
181
+	            	<li><a href="#">10</a></li>
182
+	            	<li><a href="#">末页</a></li>
183
+	            </ul>
184
+	            <ul class="clearfix"></ul>
185
+	    	</div> 
165 186
 		</div>
166 187
 		<script src="../js/laydate/laydate.js"></script>
167 188
 		<script src="../js/bootstrap-select/js/bootstrap-select.js"></script>

+ 9 - 0
CallCenterWeb.UI/Questionnaire/AddQuestion.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>

+ 191 - 0
CallCenterWeb.UI/Questionnaire/AddRight.html

@@ -0,0 +1,191 @@
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/Table/table1.css" rel="stylesheet" />
9
+		<link href="../css/init.css" rel="stylesheet" />
10
+		<link rel="stylesheet" href="../css/Quality/bootstrap-editable.css" />
11
+		<script src="../js/Questions/bootstrap-editable.js"></script>
12
+		<title></title>
13
+		<style>
14
+			table tr {
15
+				margin-bottom: 20px;
16
+			}
17
+			
18
+			table tr td {
19
+				text-align: left;
20
+				padding: 5px;
21
+			}
22
+			
23
+			.Content {
24
+				padding: 10px;
25
+			}
26
+			
27
+			.btn {
28
+				background: #1ab394;
29
+			}
30
+			
31
+			.Btn_box {
32
+				margin-top: 20px;
33
+				color: #fff;
34
+			}
35
+			
36
+			.inpBox select {
37
+				width: 150px;
38
+				padding: 3px 6px;
39
+			}
40
+			
41
+			.F_Remark {
42
+				width: 100%;
43
+				resize: none;
44
+			}
45
+			
46
+			.tab {
47
+				border-bottom: 1px solid #ccc;
48
+			}
49
+			
50
+			.Check_box {
51
+				display: none;
52
+			}
53
+			
54
+			.Show {
55
+				display: block;
56
+			}
57
+		</style>
58
+	</head>
59
+
60
+	<body>
61
+		<div class="Content">
62
+			<div class="tab">
63
+				<table id="sqzx" style="width: 100%;" border="0" cellspacing="0" cellpadding="0">
64
+					<tr>
65
+						<th class="text-danger">试题分类:</th>
66
+						<td>
67
+							<div class="inpBox">
68
+								<select name="" id="Select">
69
+									<option value="">请选择试题分类</option>
70
+								</select>
71
+							</div>
72
+						</td>
73
+						<th>试题题型:</th>
74
+						<td>
75
+							<div class="inpBox">
76
+								<select name="" id="CheckQuestion">
77
+									<option value="1">问答题</option>
78
+									<option value="2">单选题</option>
79
+									<option value="3">多选题</option>
80
+								</select>
81
+							</div>
82
+						</td>
83
+					</tr>
84
+					<tr>
85
+						<th class="text-danger">试题标题:</th>
86
+						<td colspan="5">
87
+							<textarea name="" rows="1" cols="20" id="qTitle" class="F_Remark"></textarea>
88
+						</td>
89
+					</tr>
90
+					<tr>
91
+						<th>试题说明:</th>
92
+						<td colspan="5">
93
+							<textarea name="" rows="4" cols="20" id="remarks" class="F_Remark"></textarea>
94
+						</td>
95
+					</tr>
96
+
97
+				</table>
98
+
99
+			</div>
100
+
101
+			<div style="text-align: center; margin-top: 50px;">
102
+				<button class="btns add size-14">保存</button>
103
+			</div>
104
+		</div>
105
+		<script src="../js/autosize/autosize.js"></script>
106
+		<script>
107
+			var wid = helper.request.queryString("Str");
108
+			$(document).ready(function() {
109
+				autosize($('textarea'));
110
+				getQCategoryAlllist()
111
+				.then(function() {
112
+					if(wid != "undefined") {
113
+						$('#Select').val(wid);
114
+					}
115
+				});
116
+
117
+			});
118
+
119
+			//增加
120
+			$(".add").click(function() {
121
+				var CategoryId = $("#Select").val(); //试题分类
122
+				var Title = $("#qTitle").val(); //试题标题
123
+				if(!$.trim(CategoryId)) {
124
+					layer.confirm('试题分类不能为空!', {
125
+						icon: 2,
126
+						btn: ['确定']
127
+					});
128
+					return;
129
+				}
130
+				if(!$.trim(Title)) {
131
+					layer.confirm('试题标题不能为空!', {
132
+						icon: 2,
133
+						btn: ['确定']
134
+					});
135
+					return;
136
+				}
137
+
138
+				$.ajax({
139
+					type: "post",
140
+					url: huayi.config.callcenter_url + "Questionnaire/CreateOrUpdateQuestion",
141
+					async: true,
142
+					dataType: "json",
143
+					data: {
144
+						//						F_QuestionId://试题ID
145
+						F_CategoryId: CategoryId, //分类ID
146
+						F_Title: Title, //试题标题
147
+						//						F_Content://试题内容
148
+						F_Type: $("#CheckQuestion").val(), //题型(1.问答题;2.单选题;3.多选题)
149
+						F_Remark: $("#remarks").val(), //试题说明
150
+						token: $.cookie("token"),
151
+					},
152
+					success: function(data) {
153
+						if(data.state.toLowerCase() == 'success') {
154
+							var index = parent.layer.getFrameIndex(window.name); //先得到当前iframe层的索引
155
+							parent.layer.close(index); //再执行关闭
156
+							parent.Finish();
157
+							parent.layer.msg(data.message);
158
+
159
+						}
160
+					}
161
+				});
162
+			})
163
+
164
+			//获取试题分类
165
+			function getQCategoryAlllist() {
166
+				var dtd = $.Deferred(); //在函数内部,新建一个Deferred对象
167
+				$.ajax({
168
+					type: "get",
169
+					url: huayi.config.callcenter_url + "Questionnaire/GetQCategoryAlllist",
170
+					dataType: 'json',
171
+					async: true,
172
+					data: {
173
+						token: $.cookie("token")
174
+					},
175
+					success: function(data) {
176
+						/*验证请求*/
177
+						if(data.state == "success") {
178
+							for(var i = 0; i < data.data.length; i++) {
179
+								var html = '<option value="' + data.data[i].F_CategoryId + '">' + data.data[i].F_CategoryName + '</option>'
180
+								$(html).appendTo("#Select");
181
+							}
182
+							dtd.resolve(); // 改变Deferred对象的执行状态
183
+						}
184
+					}
185
+				});
186
+				return dtd.promise(); // 返回promise对象
187
+			}
188
+		</script>
189
+	</body>
190
+
191
+</html>

+ 193 - 0
CallCenterWeb.UI/Questionnaire/City.html

@@ -0,0 +1,193 @@
1
+<!DOCTYPE html>
2
+<html>
3
+
4
+	<head>
5
+		<meta charset="UTF-8">
6
+		<title>乡镇排名报表查询</title>
7
+		<meta name="viewport" content="width=device-width, initial-scale=1.0">
8
+		<link href="../css/init.css" rel="stylesheet" />
9
+		<script src="../Script/Common/huayi.load.js"></script>
10
+		<script src="../Script/Common/huayi.config.js"></script>
11
+		<link href="../css/Table/table1.css" rel="stylesheet" />
12
+		<script src="../js/laydate/laydate.js"></script>
13
+		<style>
14
+			.LY:hover {
15
+				color: #fff;
16
+			}
17
+			
18
+			.LY:active {
19
+				color: #fff!important;
20
+			}
21
+			
22
+			#Task thead td {
23
+				color: #fff;
24
+				background-color: #1ab394;
25
+				text-align: center;
26
+			}
27
+			
28
+			.table-head table thead {
29
+				width: calc( 100% - 5px);
30
+			}
31
+			
32
+			table thead,
33
+			tbody tr {
34
+				display: table;
35
+				width: 100%;
36
+				table-layout: fixed;
37
+				text-align: center;
38
+			}
39
+			
40
+			.table {
41
+				margin-bottom: 0;
42
+			}
43
+			
44
+			.table-body {
45
+				width: 100%;
46
+				height: 515px;
47
+				overflow-y: scroll;
48
+				overflow-x: scroll;
49
+			}
50
+			
51
+			.sc_btn {
52
+				line-height: 34px;
53
+			}
54
+			
55
+			.laydate-icon {
56
+				font-size: 14px;
57
+			}
58
+		</style>
59
+	</head>
60
+
61
+	<body class="gray-bg">
62
+		<div class="wrapper wrapper-content animated fadeInRight">
63
+			<div class="daoHang clearfix">
64
+				<div class="dhLeft">
65
+					<sapn><i class="syIcon"></i>位置:
66
+						<a href="javaScript:;" id="ReIndex">首页</a>&gt;
67
+						<a href="javaScript:;">外呼管理</a>&gt;
68
+						<a href="javaScript:;">外呼报表</a>&gt;
69
+						<a href="" style="color: #000;">乡镇排名报表查询</a>
70
+					</sapn>
71
+				</div>
72
+			</div>
73
+			<div class="th-box">
74
+				<div class="th-bar">
75
+					<div class="seach-box fr">
76
+						<ul>
77
+							<li>
78
+								<label for="">时间:</label>
79
+
80
+								<input type="text" id="ss_kssj" class="photo laydate-icon" placeholder="请选择开始时间和结束时间" />
81
+							</li>
82
+
83
+							<li>
84
+								<a class="sc_btn seach">搜索</a>
85
+							</li>
86
+							<li>
87
+								<a class="sc_btn export">导出</a>
88
+							</li>
89
+						</ul>
90
+					</div>
91
+				</div>
92
+			</div>
93
+			<div style="width: 100%;padding: 10px;">
94
+				<div class="table-head">
95
+					<table id="Task" class="table table-hover table-striped table-bordered table-condensed">
96
+						<colgroup>
97
+							<col style="width: 80px;" />
98
+							<col/>
99
+						</colgroup>
100
+						<thead>
101
+							<tr>
102
+								<td>排名</td>
103
+								<td>乡镇</td>
104
+								<td>总数</td>
105
+							</tr>
106
+						</thead>
107
+					</table>
108
+				</div>
109
+				<div class="table-body">
110
+					<table class="thTable hwbb table table-hover table-striped table-bordered table-condensed">
111
+						<colgroup>
112
+							<col style="width: 80px;" />
113
+							<col/>
114
+						</colgroup>
115
+						<tbody>
116
+
117
+						</tbody>
118
+					</table>
119
+				</div>
120
+			</div>
121
+		</div>
122
+		<script>
123
+			$(document).ready(function() {
124
+				/*var nt = helper.DateFormat.getNowDate();
125
+				var pr = helper.DateFormat.getPreMonth(nt);
126
+				var st = pr + ' ~ ' + nt;*/
127
+				laydate.render({
128
+					elem: '#ss_kssj',
129
+					range: '~',
130
+					//value: st,
131
+					calendar: true,
132
+					theme: '#1ab394',
133
+				});
134
+				getRankList()
135
+				$(".seach").click(function() {
136
+					getRankList();
137
+
138
+				});
139
+				$('#ReIndex').click(function() {
140
+					top.home_index();
141
+				});
142
+			});
143
+
144
+			//获取数据
145
+			function getRankList() {
146
+				/*var nt = helper.DateFormat.getNowDate();
147
+				var pr = helper.DateFormat.getPreMonth(nt);
148
+				var st = $("#ss_kssj").val() == "" ? pr : $("#ss_kssj").val() && $("#ss_kssj").val().split(' ~ ')[0];
149
+				var et = $("#ss_kssj").val() == "" ? nt : $("#ss_kssj").val() && $("#ss_kssj").val().split(' ~ ')[1];*/
150
+				$.ajax({
151
+					type: "get",
152
+					url: huayi.config.callcenter_url + "CallOutReport/GetRank",
153
+					dataType: 'json',
154
+					data: {
155
+						sdate: $("#ss_kssj").val() && $("#ss_kssj").val().split(' ~ ')[0],
156
+						edate: $("#ss_kssj").val() && $("#ss_kssj").val().split(' ~ ')[1],
157
+						token: $.cookie("token")
158
+					},
159
+					async: true,
160
+					success: function(data) {
161
+						$(".hwbb tbody").empty();
162
+						var Count = data.data;
163
+						var countLength = Count.length;
164
+						for(var i = 0; i < countLength - 1; i++) {
165
+							$('<tr>' +
166
+								'<td>' + (i + 1) + ' </td>' +
167
+								'<td>' + Count[i].xiangzhen + ' </td>' +
168
+								'<td> ' + Count[i].zongshu + ' </td>' +
169
+								'</tr>').appendTo(".hwbb tbody");
170
+						}
171
+						$('<tr>' +
172
+							'<td colspan="2">' + Count[i].xiangzhen + ' </td>' +
173
+							'<td> ' + Count[countLength - 1].zongshu + ' </td>' +
174
+							'</tr>').appendTo(".hwbb tbody");
175
+					}
176
+				});
177
+			}
178
+
179
+			//导出功能
180
+			$('.export').click(function() {
181
+				dcexcel(this);
182
+			})
183
+
184
+			function dcexcel(obj) {
185
+				var url = huayi.config.callcenter_url + "CallOutReport/GetRankExpt?token=" + $.cookie("token");
186
+				url += "&sdate=" + ($("#ss_kssj").val() && $("#ss_kssj").val().split(' ~ ')[0]) + "&edate=" + ($("#ss_kssj").val() && $("#ss_kssj").val().split(' ~ ')[1]);
187
+				obj.href = url;
188
+			}
189
+		</script>
190
+
191
+	</body>
192
+
193
+</html>

+ 305 - 0
CallCenterWeb.UI/Questionnaire/QuestionSetting.html

@@ -0,0 +1,305 @@
1
+<!DOCTYPE html>
2
+<html>
3
+
4
+	<head>
5
+		<meta charset="UTF-8">
6
+		<meta name="viewport" content="width=device-width, initial-scale=1.0">
7
+		<link href="../css/bootstrap.min14ed.css?v=3.3.6" rel="stylesheet">
8
+		<link href="../css/bootstrap.min.css" />
9
+		<link href="../css/init.css" rel="stylesheet" />
10
+		<link rel="stylesheet" href="../css/boot/bootstrap-table.css" />
11
+		<link href="../css/font-awesome.min93e3.css?v=4.4.0" rel="stylesheet">
12
+		<link href="../css/animate.min.css" rel="stylesheet">
13
+		<link href="../css/style.min862f.css?v=4.1.0" rel="stylesheet">
14
+		<link href="../css/layer/need/layer.css" />
15
+		<link rel="stylesheet" href="../css/zhibiaoguanli.css" />
16
+		<link rel="stylesheet" href="../css/init.css" />
17
+		<script src="../Script/Common/huayi.load.js"></script>
18
+		<script src="../Script/Common/huayi.config.js"></script>
19
+		<title>问卷设置</title>
20
+		<style>
21
+			.fr {
22
+				float: right;
23
+			}
24
+			
25
+			.fr li {
26
+				float: left;
27
+			}
28
+			
29
+			.size-14 {
30
+				font-size: 14px!important;
31
+			}
32
+			
33
+			.size-16 {
34
+				font-size: 16px;
35
+			}
36
+			
37
+			.anniu i {
38
+				margin-right: 5px;
39
+			}
40
+			
41
+			.x-color {
42
+				width: 100px;
43
+				background-color: #FFF;
44
+				background-image: none;
45
+				border: 1px solid #e5e6e7;
46
+				border-radius: 1px;
47
+				color: inherit;
48
+				padding: 14px 12px;
49
+			}
50
+			
51
+			.inputs {
52
+				border: 1px solid #e5e6e7;
53
+				width: 150px;
54
+				padding: 6px 12px;
55
+			}
56
+			
57
+			#tbr {
58
+				border: 1px solid #ccc;
59
+			}
60
+			
61
+			#tbr td {
62
+				padding: 10px;
63
+				padding: 6px 0 5px 10px;
64
+				color: #717171;
65
+				line-height: 200%;
66
+				border-top: 1px dotted #cccccc;
67
+			}
68
+			
69
+			#tbr th {
70
+				border-right: 1px dotted #cccccc;
71
+				border-top: 1px dotted #cccccc;
72
+				background: #f9f9f9;
73
+				text-align: right;
74
+			}
75
+			
76
+			.Back {
77
+				background-color: #999!important;
78
+			}
79
+			
80
+			label {
81
+				margin-right: 10px;
82
+			}
83
+			
84
+			#tbr {
85
+				display: none;
86
+			}
87
+			
88
+			.WJmessage {
89
+				line-height: 20px;
90
+				border-bottom: 1px solid #ccc;
91
+				padding-bottom: 10px;
92
+			}
93
+			
94
+			.IMG_box {
95
+				text-align: center;
96
+				padding: 10px;
97
+				margin-top: 5%;
98
+			}
99
+			
100
+			.Qus_box li {
101
+				list-style: none;
102
+				border: 1px solid #ccc;
103
+				border-bottom: none;
104
+			}
105
+			
106
+			.Qus_box {
107
+				padding-left: 0!important;
108
+				margin-bottom: 0;
109
+			}
110
+			
111
+			.Qus_box div {
112
+				padding: 10px;
113
+				border-bottom: 1px solid #ccc;
114
+			}
115
+			
116
+			.title_ul {
117
+				padding-left: 0;
118
+				margin-bottom: 0;
119
+			}
120
+			
121
+			.title_ul li {
122
+				border: 1px solid #ccc;
123
+			}
124
+			
125
+			.title_ul li label {
126
+				border-right: 1px solid #ccc;
127
+				margin: 0;
128
+				padding: 10px;
129
+			}
130
+			
131
+			.WJ_box {
132
+				display: none;
133
+			}
134
+			
135
+			.WJ_box span {
136
+				margin-left: 20px;
137
+				width: 80%;
138
+			}
139
+			
140
+			.fl {
141
+				float: left;
142
+			}
143
+			
144
+			table {
145
+				border: 1px solid #ccc;
146
+			}
147
+			
148
+			tr td {
149
+				border: 1px solid #ccc;
150
+			}
151
+			
152
+			td label {
153
+				width: 80px;
154
+			}
155
+			textarea{
156
+				resize: none;
157
+			}
158
+		</style>
159
+	</head>
160
+
161
+	<body>
162
+		<div class="daoHang clearfix">
163
+			<div class="dhLeft">
164
+				<sapn><i class="syIcon"></i>位置:
165
+					<a id="ReIndex">首页</a>&gt;
166
+					<a href="javaScript:;">问卷调查</a>&gt;
167
+					<a href="" style="color: #000;">问卷设置</a>
168
+				</sapn>
169
+			</div>
170
+		</div>
171
+
172
+		<div class='wrap'>
173
+
174
+			<div class="tbleft" style="width: 25%;">
175
+				<h4 style="line-height: 20px;"><i class="fa fa-file-text-o size-14"></i>试题问卷</h4>
176
+				<div class="top clearfix ">
177
+					<div class="fr">
178
+
179
+						<span>&nbsp;试卷名称:<input class=" inputs" type="text" id="KeyWords" /></span>
180
+						<button class="btns searchGo size-14"> <i class="fa fa-search size-14"></i>&nbsp;搜索</button>
181
+					</div>
182
+
183
+				</div>
184
+				<div class="anniu " class="toolbar1  ">
185
+					<button class="leftAdd btn size-14"><i class="fa fa-plus size-14"></i>增加</button>
186
+					<button class="leftChange btn size-14"><i class="fa fa-pencil size-14"></i>修改</button>
187
+					<button class="leftDelete btn size-14"><i class="fa fa-remove size-14"></i>删除</button>
188
+				</div>
189
+				<table id="tb1">
190
+					<thead>
191
+						<tr>
192
+							<th data-field="checkbox" data-align="center" data-formatter="setCode"></th>
193
+							<th data-align="center" data-field="F_Title">试卷名称</th>
194
+							<th data-align="center" data-field="F_PagerId" data-formatter="Code">操作</th>
195
+
196
+						</tr>
197
+					</thead>
198
+					<tbody>
199
+					</tbody>
200
+				</table>
201
+			</div>
202
+			<!--右边/-->
203
+			<div class="tbright" style="width: 70%;">
204
+				<h4 style="" class="WJmessage">问卷信息</h4>
205
+				<div class="IMG_content">
206
+					<div class="IMG_box">
207
+						<img src="../img/wjdc.jpg" alt="" />
208
+					</div>
209
+				</div>
210
+				<!--<table id="tbr" style="width: 100%;">
211
+					<thead>
212
+						<tr>
213
+
214
+							<th style='width: 150px;'>问卷名称:</th>
215
+							<td colspan="7" ><span class="Title">555555555</span></td>
216
+
217
+						</tr>
218
+						<tr>
219
+
220
+							<th style='width: 150px;'>问卷说明:</th>
221
+							<td  ><span class="F_Remark">55555555555</span></td>
222
+
223
+						</tr>
224
+					</thead>
225
+					<tbody class="tbody">
226
+						<tr class="Back">
227
+							<td colspan="2">
228
+								<h3 class="size-14">1、对我们的产品是否满意? </h3>
229
+							</td>
230
+						</tr>
231
+						<tr class="">
232
+							<td colspan="2">
233
+								<div class="Message_box">
234
+									<label style="font-weight: normal;">1.<input type="checkbox" value="一般" name="ltype" > 一般</label>
235
+									<label style="font-weight: normal;"><input type="checkbox" value="538" name="ltype" > 满意</label>
236
+									<label style="font-weight: normal;"><input type="checkbox" value="539" name="ltype" >不满意</label>
237
+								</div>
238
+							</td>
239
+						</tr>
240
+						<tr class="Back">
241
+							<td colspan="2">
242
+								<h3 class="size-14">2、您好,你是?  </h3>
243
+							</td>
244
+						</tr>
245
+						<tr>
246
+							<td colspan="2">
247
+								<div class="Message_box">
248
+									<textarea name="" rows="" cols="" style="width: 100%;"></textarea>
249
+								</div>
250
+							</td>
251
+						</tr>
252
+					</tbody>
253
+				</table>-->
254
+				<div class="WJ_box">
255
+					<!--<ul style="padding-left: 0;" class="title_ul">
256
+						<li style="overflow: hidden;">
257
+							<label for="" class="fl">问卷名称</label><div class="Title fl" style="width: 80%;padding: 5px;line-height: 40px;"></div>
258
+						</li>
259
+						<li style="overflow: hidden;">
260
+							<label for="" class="fl">问卷说明</label><div class="F_Remark fl" style="width: 80%;padding: 5px;"></div>
261
+						</li>
262
+						
263
+					</ul>-->
264
+					<table style="width: 100%;">
265
+						<tr>
266
+							<td style="text-align: center; padding-top: 10px; width: 90px;">
267
+								<label for="" class="fl">问卷名称</label>
268
+							</td>
269
+							<td>
270
+								<div class="Title fl" style="width: 80%;padding: 5px;"></div>
271
+
272
+							</td>
273
+						</tr>
274
+						<tr>
275
+							<td style="text-align: center;padding-top: 10px;"><label for="" class="fl">问卷开场语</label></td>
276
+							<td>
277
+								<div id="startText" class="F_Remark fl" style="width: 80%;padding: 5px;"></div>
278
+							</td>
279
+						</tr>
280
+						<tr>
281
+							<td style="text-align: center;padding-top: 10px;"><label for="" class="fl">问卷说明</label></td>
282
+							<td>
283
+								<div id="F_Remark" class="F_Remark fl" style="width: 80%;padding: 5px;"></div>
284
+							</td>
285
+						</tr>
286
+					</table>
287
+					<ul class="Qus_box">
288
+
289
+					</ul>
290
+					<table style="width: 100%; margin-top: -1px; margin-bottom: 20px;">
291
+						<tr>
292
+							<td style="text-align: center;padding-top: 10px; width: 90px;"><label for="" class="fl">问卷结束语</label></td>
293
+							<td>
294
+								<div id="endText" class="F_Remark fl" style="width: 80%;padding: 5px;"></div>
295
+							</td>
296
+						</tr>
297
+					</table>
298
+					
299
+				</div>
300
+			</div>
301
+		</div>
302
+
303
+	</body>
304
+	<script src="../js/Questions/QuestionSetting.js"></script>
305
+</html>

+ 158 - 0
CallCenterWeb.UI/Questionnaire/QuestionsManagement.html

@@ -0,0 +1,158 @@
1
+<!DOCTYPE html>
2
+<html>
3
+
4
+	<head>
5
+		<meta charset="UTF-8">
6
+		<meta name="viewport" content="width=device-width, initial-scale=1.0">
7
+		<link href="../css/bootstrap.min14ed.css?v=3.3.6" rel="stylesheet">
8
+		<link href="../css/bootstrap.min.css" />
9
+		<link href="../css/init.css" rel="stylesheet" />
10
+		<link rel="stylesheet" href="../css/boot/bootstrap-table.css" />
11
+		<link href="../css/font-awesome.min93e3.css?v=4.4.0" rel="stylesheet">
12
+		<link href="../css/animate.min.css" rel="stylesheet">
13
+		<link href="../css/style.min862f.css?v=4.1.0" rel="stylesheet">
14
+		<link href="../css/layer/need/layer.css" />
15
+		<link rel="stylesheet" href="../css/zhibiaoguanli.css" />
16
+		<link rel="stylesheet" href="../css/init.css" />
17
+		<script src="../Script/Common/huayi.load.js"></script>
18
+		<script src="../Script/Common/huayi.config.js"></script>
19
+		<title>问卷调查</title>
20
+		<style>
21
+			.fr {
22
+				float: right;
23
+			}
24
+			
25
+			.fr li {
26
+				float: left;
27
+			}
28
+			
29
+			.size-14 {
30
+				font-size: 14px!important;
31
+			}
32
+			
33
+			.size-16 {
34
+				font-size: 16px;
35
+			}
36
+			
37
+			.anniu i {
38
+				margin-right: 5px;
39
+			}
40
+			
41
+			.x-color {
42
+				height: 34px;
43
+				line-height: 34px;
44
+				width: 100px;
45
+				background-color: #FFF;
46
+				background-image: none;
47
+				border: 1px solid #e5e6e7;
48
+				border-radius: 1px;
49
+				color: inherit;
50
+			}
51
+			
52
+			.inputs {
53
+				border: 1px solid #e5e6e7;
54
+				width: 150px;
55
+				padding: 6px 12px;
56
+			}
57
+			
58
+			.d {
59
+				color: forestgreen;
60
+			}
61
+			
62
+			.du {
63
+				color: #0064B6;
64
+			}
65
+			
66
+			.w {
67
+				color: #e43926;
68
+			}
69
+			
70
+			.Title_box {
71
+				line-height: 20px;
72
+				border-bottom: 1px solid #ccc;
73
+				padding-bottom: 10px;
74
+			}
75
+			
76
+			.ce {
77
+				width: 50px;
78
+			}
79
+		</style>
80
+	</head>
81
+
82
+	<body>
83
+		<div class="daoHang clearfix">
84
+			<div class="dhLeft">
85
+				<sapn><i class="syIcon"></i>位置:
86
+					<a id="ReIndex">首页</a>&gt;
87
+					<a href="javaScript:;">问卷调查</a>&gt;
88
+					<a href="" style="color: #000;">试题管理</a>
89
+				</sapn>
90
+			</div>
91
+		</div>
92
+		<div class="top clearfix ">
93
+			<div class="fr">
94
+				<span>&nbsp;题型:
95
+					<select name="" id="Quetions" class="x-color">
96
+						<option value="">所有试题</option>
97
+						<option value="1">问答题</option>
98
+						<option value="2">单选题</option>
99
+						<option value="3">多选题</option>
100
+					</select>
101
+				</span>
102
+				<span>&nbsp;试题标题:<input class="inputs" type="text" id="KeyWords" /></span>
103
+				<button class="btns searchGo size-14"> <i class="fa fa-search size-14"></i>&nbsp;搜索</button>
104
+			</div>
105
+
106
+		</div>
107
+		<div class='wrap'>
108
+			<div class="tbleft">
109
+				<h4 class="Title_box">试题分类</h4>
110
+				<div class="anniu " class="toolbar1  ">
111
+					<button class="leftAdd btn size-14"><i class="fa fa-plus size-14"></i>增加</button>
112
+					<button class="leftChange btn size-14"><i class="fa fa-pencil size-14"></i>修改</button>
113
+					<button class="leftDelete btn size-14"><i class="fa fa-remove size-14"></i>删除</button>
114
+				</div>
115
+				<table id="tb1">
116
+					<thead>
117
+						<tr>
118
+							<th data-field="checkbox" data-align="center" data-formatter="setCode"></th>
119
+							<th data-align="center" data-field="F_CategoryName">试题分类</th>
120
+						</tr>
121
+					</thead>
122
+					<tbody>
123
+					</tbody>
124
+				</table>
125
+			</div>
126
+			<!--右边/-->
127
+			<div class="tbright">
128
+				<h4 class="Title_box">试题列表</h4>
129
+				<div class="anniu" class="toolbar2">
130
+					<button class="rightAdd btn size-14"><i class="fa fa-plus size-14"></i>增加</button>
131
+					<button class="rightChange btn size-14"><i class="fa fa-pencil size-14"></i>修改</button>
132
+					<button class="rightDelete btn size-14"><i class="fa fa-remove size-14"></i>删除</button>
133
+					<button class="rightAll btn size-14"><i class="fa fa-file size-14"></i>所有试题</button>
134
+				</div>
135
+				<table id="tbr">
136
+					<thead>
137
+						<tr>
138
+							<th data-align="center" data-field="id" data-formatter="setCode"></th>
139
+							<th data-align="center" data-field="F_CategoryName">试题分类</th>
140
+							<th data-align="center" data-field="F_Type" data-formatter="Type">试题类型</th>
141
+							<th data-align="center" data-field="F_Title">试题标题</th>
142
+							<th data-align="center" data-field="F_Content">试题内容</th>
143
+							<th data-align="center" data-field="F_Remark">试题说明</th>
144
+							<th data-align="center" data-field="F_Type" data-formatter="Code">操作</th>
145
+						</tr>
146
+					</thead>
147
+					<tbody>
148
+					</tbody>
149
+				</table>
150
+			</div>
151
+		</div>
152
+
153
+	</body>
154
+	<script src="../css/layer/layer.js"></script>
155
+	<script src="../js/Questions/QuestionsManagement.js"></script>
156
+	</script>
157
+
158
+</html>

+ 142 - 0
CallCenterWeb.UI/Questionnaire/Safety.html

@@ -0,0 +1,142 @@
1
+<!DOCTYPE html>
2
+<html>
3
+
4
+	<head>
5
+		<meta charset="UTF-8">
6
+		<title>不安全信息统计表</title>
7
+		<meta name="viewport" content="width=device-width, initial-scale=1.0">
8
+		<link href="../css/init.css" rel="stylesheet" />
9
+		<script src="../Script/Common/huayi.load.js"></script>
10
+		<script src="../Script/Common/huayi.config.js"></script>
11
+		<link href="../css/Table/table1.css" rel="stylesheet" />
12
+		<script src="../js/laydate/laydate.js"></script>
13
+		<style>
14
+			.LY:hover {
15
+				color: #fff;
16
+			}
17
+			
18
+			.LY:active {
19
+				color: #fff!important;
20
+			}
21
+			
22
+			#Task thead tr th {
23
+				color: #fff;
24
+				background-color: #1ab394;
25
+				text-align: center;
26
+			}
27
+			
28
+			.sc_btn {
29
+				line-height: 34px;
30
+			}
31
+			
32
+			.laydate-icon {
33
+				font-size: 14px;
34
+			}
35
+		</style>
36
+	</head>
37
+
38
+	<body class="gray-bg">
39
+		<div class="wrapper wrapper-content animated fadeInRight">
40
+			<div class="daoHang clearfix">
41
+				<div class="dhLeft">
42
+					<sapn><i class="syIcon"></i>位置:
43
+						<a id="ReIndex">首页</a>&gt;
44
+						<a href="javaScript:;">外呼管理</a>&gt;
45
+						<a href="javaScript:;">外呼报表</a>&gt;
46
+						<a href="" style="color: #000;">不安全原因比例报表</a>
47
+					</sapn>
48
+				</div>
49
+			</div>
50
+			<div class="th-box">
51
+				<div class="seach-box fr">
52
+					<ul>
53
+						<li>
54
+							<label for="">时间:</label>
55
+
56
+							<input type="text" id="ss_kssj" class="photo laydate-icon" placeholder="请选择开始时间和结束时间" />
57
+						</li>
58
+						<li>
59
+							<a class="sc_btn seach">搜索</a>
60
+						</li>
61
+						<li>
62
+							<a class="sc_btn export">导出</a>
63
+						</li>
64
+
65
+					</ul>
66
+				</div>
67
+			</div>
68
+			<div style="width: 100%;padding: 10px;">
69
+				<div class="table-head">
70
+					<table id="Task" class="table table-hover table-striped table-bordered table-condensed">
71
+						<thead>
72
+							<tr>
73
+								<th data-field="Reasons" data-align="center">原因</th>
74
+								<th data-field="Counts" data-align="center"> 数量</th>
75
+								<th data-field="Rates" data-align="center"> 比例(%)</th>
76
+							</tr>
77
+						</thead>
78
+					</table>
79
+				</div>
80
+
81
+			</div>
82
+		</div>
83
+		<script>
84
+			$(document).ready(function() {
85
+				laydate.render({
86
+					elem: '#ss_kssj',
87
+					range: '~',
88
+					calendar: true,
89
+					theme: '#1ab394',
90
+				});
91
+
92
+				IndexCategoryGe();
93
+				$(".seach").click(function() {
94
+					IndexCategoryGe();
95
+				})
96
+				//$('#ReIndex').click(function(){
97
+				//top.home_index();
98
+				//})
99
+
100
+			})
101
+
102
+			//问卷列表
103
+			function IndexCategoryGe() {
104
+				$.ajax({
105
+					url: huayi.config.callcenter_url + '/Questionnaire/GetUnsafeRate',
106
+					type: 'get',
107
+					data: {
108
+						startdate: $("#ss_kssj").val() && $("#ss_kssj").val().split(' ~ ')[0],
109
+						enddate: $("#ss_kssj").val() && $("#ss_kssj").val().split(' ~ ')[1],
110
+						token: $.cookie("token")
111
+					},
112
+					dataType: "json",
113
+					async: true,
114
+					success: function(returnValue) {
115
+						//异步获取数据
116
+						//console.log(returnValue); 
117
+						var resultData1 = returnValue.data;
118
+						//console.log(resultData1);
119
+						$('#Task').bootstrapTable('load', resultData1);
120
+					}
121
+				});
122
+				$('#Task').bootstrapTable('destroy').bootstrapTable({
123
+					striped: true
124
+				});
125
+			}
126
+			//导出功能
127
+			$('.export').click(function() {
128
+				dcexcel(this);
129
+
130
+			})
131
+
132
+			function dcexcel(obj) {
133
+				var url = huayi.config.callcenter_url + "/Questionnaire/GetUnsafeRateExpt?token=" + $.cookie("token");
134
+				url += "&startdate=" + ($("#ss_kssj").val() && $("#ss_kssj").val().split(' ~ ')[0]) + "&enddate=" + ($("#ss_kssj").val() && $("#ss_kssj").val().split(' ~ ')[1]);
135
+				obj.href = url;
136
+				console.log(url);
137
+			}
138
+		</script>
139
+
140
+	</body>
141
+
142
+</html>

+ 149 - 0
CallCenterWeb.UI/Questionnaire/SafetyTable.html

@@ -0,0 +1,149 @@
1
+<!DOCTYPE html>
2
+<html>
3
+
4
+	<head>
5
+		<meta charset="UTF-8">
6
+		<title>不安全信息统计表</title>
7
+		<meta name="viewport" content="width=device-width, initial-scale=1.0">
8
+		<link href="../css/init.css" rel="stylesheet" />
9
+		<script src="../Script/Common/huayi.load.js"></script>
10
+		<script src="../Script/Common/huayi.config.js"></script>
11
+		<link href="../css/Table/table1.css" rel="stylesheet" />
12
+		<script src="../js/laydate/laydate.js"></script>
13
+		<style>
14
+			.LY:hover {
15
+				color: #fff;
16
+			}
17
+			
18
+			.LY:active {
19
+				color: #fff!important;
20
+			}
21
+			
22
+			#Task thead tr th {
23
+				color: #fff;
24
+				background-color: #1ab394;
25
+				text-align: center;
26
+			}
27
+			
28
+			.sc_btn {
29
+				line-height: 34px;
30
+			}
31
+			
32
+			.laydate-icon {
33
+				font-size: 14px;
34
+			}
35
+		</style>
36
+	</head>
37
+
38
+	<body class="gray-bg">
39
+		<div class="wrapper wrapper-content animated fadeInRight">
40
+			<div class="daoHang clearfix">
41
+				<div class="dhLeft">
42
+					<sapn><i class="syIcon"></i>位置:
43
+						<a id="ReIndex">首页</a>&gt;
44
+						<a href="javaScript:;">外呼管理</a>&gt;
45
+						<a href="javaScript:;">报表管理</a>&gt;
46
+						<a href="" style="color: #000;">不安全信息统计表</a>
47
+					</sapn>
48
+				</div>
49
+			</div>
50
+			<div class="th-box">
51
+				<div class="seach-box fr">
52
+					<ul>
53
+						<li>
54
+							<label for="">时间:</label>
55
+
56
+							<input type="text" id="ss_kssj" class="photo laydate-icon" placeholder="请选择开始时间和结束时间" />
57
+						</li>
58
+						<li>
59
+							<a class="sc_btn seach">搜索</a>
60
+						</li>
61
+						<li>
62
+							<a class="sc_btn export">导出</a>
63
+						</li>
64
+
65
+					</ul>
66
+				</div>
67
+			</div>
68
+			<div style="width: 100%;padding: 10px;">
69
+				<div class="table-head">
70
+					<table id="Task" class="table table-hover table-striped table-bordered table-condensed">
71
+						<thead>
72
+							<tr>
73
+								<th data-field="xiangzhen" data-align="center">乡镇</th>
74
+								<th data-field="dianhua" data-align="center"> 电话</th>
75
+								<th data-field="zhiye" data-align="center"> 职业</th>
76
+								<th data-field="yuanyin" data-align="center">原因</th>
77
+							</tr>
78
+						</thead>
79
+					</table>
80
+				</div>
81
+
82
+			</div>
83
+		</div>
84
+		<script>
85
+			$(document).ready(function() {
86
+				laydate.render({
87
+					elem: '#ss_kssj',
88
+					range: '~',
89
+					calendar: true,
90
+					theme: '#1ab394',
91
+				});
92
+
93
+				IndexCategoryGe();
94
+				$(".seach").click(function() {
95
+					IndexCategoryGe();
96
+				})
97
+				//$('#ReIndex').click(function(){
98
+				//top.home_index();
99
+				//})
100
+
101
+			})
102
+
103
+			//问卷列表
104
+			function IndexCategoryGe() {
105
+				$.ajax({
106
+					url: huayi.config.callcenter_url + 'Questionnaire/GetUnsafeInfo',
107
+					type: 'get',
108
+					data: {
109
+						startdate: $("#ss_kssj").val() && $("#ss_kssj").val().split(' ~ ')[0],
110
+						enddate: $("#ss_kssj").val() && $("#ss_kssj").val().split(' ~ ')[1],
111
+						token: $.cookie("token")
112
+					},
113
+					dataType: "json",
114
+					async: true,
115
+					success: function(returnValue) {
116
+						//异步获取数据
117
+						//console.log(returnValue); 
118
+						var resultData1 = returnValue.data;
119
+						//console.log(resultData1);
120
+						$('#Task').bootstrapTable('load', resultData1);
121
+					}
122
+				});
123
+				$('#Task').bootstrapTable('destroy').bootstrapTable({
124
+					striped: true
125
+				});
126
+			}
127
+			//导出功能
128
+			$('.export').click(function() {
129
+				//        		var S= $("#ss_kssj").val();
130
+				//        		var E=$("#ss_jssj").val();
131
+				//        		if(!S&&!E){
132
+				//        			layer.alert("选择时间");
133
+				//        		}else{
134
+				dcexcel(this);
135
+				//        		}
136
+
137
+			})
138
+
139
+			function dcexcel(obj) {
140
+				var url = huayi.config.callcenter_url + "/Questionnaire/GetUnsafeInfoExpt?token=" + $.cookie("token");
141
+				url += "&startdate=" + ($("#ss_kssj").val() && $("#ss_kssj").val().split(' ~ ')[0]) + "&enddate=" + ($("#ss_kssj").val() && $("#ss_kssj").val().split(' ~ ')[1]);
142
+				obj.href = url;
143
+				console.log(url);
144
+			}
145
+		</script>
146
+
147
+	</body>
148
+
149
+</html>

+ 278 - 0
CallCenterWeb.UI/Questionnaire/Table.html

@@ -0,0 +1,278 @@
1
+<!DOCTYPE html>
2
+<html>
3
+
4
+	<head>
5
+		<meta charset="UTF-8">
6
+		<title>外呼任务报表</title>
7
+		<meta name="viewport" content="width=device-width, initial-scale=1.0">
8
+		<link href="../css/init.css" rel="stylesheet" />
9
+		<script src="../Script/Common/huayi.load.js"></script>
10
+		<script src="../Script/Common/huayi.config.js"></script>
11
+		<link href="../css/Table/table1.css" rel="stylesheet" />
12
+		<style>
13
+			.LY:hover {
14
+				color: #fff;
15
+			}
16
+			
17
+			.LY:active {
18
+				color: #fff!important;
19
+			}
20
+			
21
+			.table {
22
+				margin-bottom: 0;
23
+			}
24
+			
25
+			.table-body {
26
+				width: 100%;
27
+				/*height: 300px;
28
+				overflow-y: scroll;*/
29
+				overflow-x: scroll;
30
+			}
31
+			
32
+			.tds {
33
+				background-color: #1ab394!important;
34
+				color: #fff;
35
+				padding: ;
36
+			}
37
+			
38
+			.hwbb tbody td {
39
+				min-width: 100px;
40
+				overflow: hidden;
41
+				text-overflow: ellipsis;
42
+				white-space: nowrap;
43
+			}
44
+			
45
+			.hwbb td {
46
+				text-align: center;
47
+			}
48
+		</style>
49
+	</head>
50
+
51
+	<body class="gray-bg">
52
+		<div class="wrapper wrapper-content animated fadeInRight">
53
+			<div class="daoHang clearfix">
54
+				<div class="dhLeft">
55
+					<sapn><i class="syIcon"></i>位置:
56
+						<a href="javaScript:;" id="ReIndex">首页</a>&gt;
57
+						<a href="javaScript:;">外呼管理</a>&gt;
58
+						<a href="javaScript:;">外呼报表</a>&gt;
59
+						<a href="" style="color: #000;">外呼问题查询报表</a>
60
+					</sapn>
61
+				</div>
62
+			</div>
63
+			<div class="th-box clearfix">
64
+				<div class="th-bar">
65
+					<div class="seach-box fr">
66
+						<ul>
67
+							<li>任务列表:
68
+								<select name="" id="cljg" class="x-color select"></select>
69
+							</li>
70
+							<li>问题列表:
71
+								<select name="" id="Wt" class="x-color select"></select>
72
+							</li>
73
+							<li>乡镇:
74
+								<select name="" id="country" class="x-color select">
75
+									<option value="">--全部--</option>
76
+								</select>
77
+							</li>
78
+							<li>
79
+								时间:
80
+								<input type="text" id="ss_kssj" class="photo size-14 laydate-icon" placeholder="请选择开始时间和结束时间" />
81
+							</li>
82
+							<li>
83
+								<a class="sc_btn seach">搜索</a>
84
+							</li>
85
+							<li>
86
+								<a class=" sc_btn  export ">导出</a>
87
+							</li>
88
+						</ul>
89
+					</div>
90
+				</div>
91
+			</div>
92
+			<div style="width: 100%;padding: 10px;">
93
+				<div class="table-body">
94
+					<table class="thTable hwbb table table-hover table-striped table-bordered table-condensed">
95
+						<thead>
96
+							<tr>
97
+
98
+							</tr>
99
+						</thead>
100
+						<tbody>
101
+
102
+						</tbody>
103
+					</table>
104
+				</div>
105
+			</div>
106
+		</div>
107
+		<script src="../js/laydate/laydate.js"></script>
108
+		<script>
109
+			$(document).ready(function() {
110
+				taskSelect(); //查询条件中获取任务列表
111
+				questionnaireSelect(); //查询条件问题任务列表
112
+				getCountry();
113
+				laydate.render({
114
+					elem: '#ss_kssj',
115
+					range: '~',
116
+					//value: st,
117
+					calendar: true,
118
+					theme: '#1ab394',
119
+				});
120
+
121
+				$(".sc_btn").click(function() {
122
+					getColumnList()
123
+						.then(function() {
124
+							getDataList();
125
+						});
126
+				})
127
+
128
+				//导出功能
129
+				$('.export').click(function() {
130
+					dcexcel(this);
131
+				})
132
+
133
+			});
134
+
135
+			//获取表头
136
+			function getColumnList() {
137
+				var dtd = $.Deferred(); //在函数内部,新建一个Deferred对象
138
+				$(".hwbb thead tr").empty();
139
+				$.ajax({
140
+					type: "get",
141
+					url: huayi.config.callcenter_url + "CallOutReport/GetColumnList",
142
+					dataType: 'json',
143
+					data: {
144
+						taskID: $("#cljg").val(), //string	是	任务id
145
+						quesid: $("#Wt").val(), //string	是	问题id
146
+						token: $.cookie("token")
147
+					},
148
+					async: true,
149
+					success: function(data) {
150
+						if(data.state.toLowerCase() == "success") {
151
+							var Count = data.data;
152
+							if(Count.length > 0) {
153
+								$('<td class="tds"> </td>').appendTo(".hwbb thead tr");
154
+								for(var i = 0; i < Count.length; i++) {
155
+									$('<td class="tds" colspan="' + Count[i].fenxiangshu + '">' + Count[i].wenti + ' </td>').appendTo(".hwbb thead tr");
156
+								}
157
+								dtd.resolve(); // 改变Deferred对象的执行状态
158
+							}
159
+						}
160
+					}
161
+				});
162
+				return dtd.promise(); // 返回promise对象
163
+			}
164
+
165
+			function getDataList() {
166
+				$(".hwbb tbody ").empty()
167
+				$.ajax({
168
+					type: "get",
169
+					url: huayi.config.callcenter_url + "CallOutReport/GetDataList",
170
+					dataType: 'json',
171
+					data: {
172
+						TaskID: $("#cljg").val(), //string	是	任务id
173
+						quesid: $('#Wt').val(), // string 是 问题id
174
+						countryid: $('#country').val(), // string 否 乡镇id
175
+						sdate: $("#ss_kssj").val() && $("#ss_kssj").val().split(' ~ ')[0],// string 否 开始时间
176
+						edate: $("#ss_kssj").val() && $("#ss_kssj").val().split(' ~ ')[1],//string 否 结束时间						
177
+						token: $.cookie("token")
178
+					},
179
+					async: true,
180
+					success: function(data) {
181
+						if(data.state.toLowerCase() == "success") {
182
+							var dataList = data.data;
183
+							for(var i = 0, dataListLength = dataList.length; i < dataListLength; i++){
184
+								var $tr = $('<tr></tr>');
185
+								var dataTd = dataList[i];
186
+								for(var j = 0, dataTdLength = dataTd.length; j < dataTdLength; j++){
187
+									$('<td class="td">' + dataTd[j] + ' </td>').appendTo($tr);
188
+								}
189
+								$tr.appendTo(".hwbb tbody");
190
+							}
191
+						}
192
+					}
193
+				});
194
+			}
195
+			//导出
196
+			function dcexcel(obj) {
197
+				var url = huayi.config.callcenter_url + "Questionnaire/GetDataListExpt?token=" + $.cookie("token");
198
+				url += "&taskname=" + $("#cljg").val() + "&question=" + $("#Wt").val();
199
+				obj.href = url;
200
+			}
201
+
202
+			//查询条件中获取任务列表
203
+			function taskSelect() {
204
+				$.ajax({
205
+					type: "get",
206
+					url: huayi.config.callcenter_url + "Questionnaire/GetTaskList",
207
+					dataType: 'json',
208
+					data: {
209
+						token: $.cookie("token")
210
+					},
211
+					async: true,
212
+					success: function(data) {
213
+						if(data.state.toLowerCase() == "success") {
214
+							var Count = data.data;
215
+							if(Count.length > 0) {
216
+								$("<option value=''>--全部--</option>").appendTo($("#cljg"));
217
+								for(var i = 0; i < Count.length; i++) {
218
+									$("<option value='" + Count[i].F_TaskID + "'>" + Count[i].F_TaskName + "</option>").appendTo($("#cljg"));
219
+								}
220
+							} else {
221
+								$("<option value=''>--暂无数据--</option>").appendTo($("#cljg"));
222
+							}
223
+						}
224
+					}
225
+				});
226
+			}
227
+			///查询条件问题任务列表
228
+			function questionnaireSelect() {
229
+				$.ajax({
230
+					type: "get",
231
+					url: huayi.config.callcenter_url + "Questionnaire/GetQList",
232
+					dataType: 'json',
233
+					data: {
234
+						token: $.cookie("token")
235
+					},
236
+					async: true,
237
+					success: function(data) {
238
+						if(data.state.toLowerCase() == "success") {
239
+							var Count = data.data;
240
+							//$("<option value=''>--全部--</option>").appendTo($("#Wt"));
241
+							for(var i = 0; i < Count.length; i++) {
242
+								$("<option value='" + Count[i].F_CategoryId + "'>" + Count[i].F_Title + "</option>").appendTo($("#Wt"));
243
+							}
244
+						} else {
245
+							$("<option value=''>--暂无数据--</option>").appendTo($("#Wt"));
246
+						}
247
+					}
248
+				});
249
+			}
250
+
251
+			//获取乡镇下拉
252
+			function getCountry() {
253
+				$.ajax({
254
+					type: "get",
255
+					url: huayi.config.callcenter_url + "Dictionary/GetDicValueListByFlag",
256
+					dataType: 'json',
257
+					data: {
258
+						flag: 'JBDW',
259
+						token: $.cookie("token")
260
+					},
261
+					async: true,
262
+					success: function(data) {
263
+						if(data.state.toLowerCase() == "success") {
264
+							var res = data.data;
265
+							for(var i = 0; i < res.length; i++) {
266
+								$('<option value="' + res[i].F_DictionaryValueId + '">' + res[i].F_Name + '</option>').appendTo($("#country"));
267
+							}
268
+						} else {
269
+							$("<option value=''>--暂无数据--</option>").appendTo($("#country"));
270
+						}
271
+					}
272
+				});
273
+			}
274
+		</script>
275
+
276
+	</body>
277
+
278
+</html>

+ 272 - 0
CallCenterWeb.UI/Questionnaire/Tasks.html

@@ -0,0 +1,272 @@
1
+<!DOCTYPE html>
2
+<html>
3
+
4
+	<head>
5
+		<meta charset="UTF-8">
6
+		<title>外呼报表</title>
7
+		<meta name="viewport" content="width=device-width, initial-scale=1.0">
8
+		<link href="../css/init.css" rel="stylesheet" />
9
+		<script src="../Script/Common/huayi.load.js"></script>
10
+		<script src="../Script/Common/huayi.config.js"></script>
11
+		<link href="../css/Table/table1.css" rel="stylesheet" />
12
+		<style>
13
+			.LY:hover {
14
+				color: #fff;
15
+			}
16
+			
17
+			.LY:active {
18
+				color: #fff!important;
19
+			}
20
+			
21
+			#Task thead td {
22
+				color: #fff;
23
+				background-color: #1ab394;
24
+				text-align: center;
25
+			}
26
+			
27
+			.table-head table thead {
28
+				width: calc( 100% - 5px);
29
+			}
30
+			
31
+			table thead,
32
+			tbody tr {
33
+				display: table;
34
+				width: 100%;
35
+				table-layout: fixed;
36
+				text-align: center;
37
+			}
38
+			
39
+			.table {
40
+				margin-bottom: 0;
41
+			}
42
+			
43
+			.table-body {
44
+				width: 100%;
45
+				height: 515px;
46
+				overflow-y: scroll;
47
+				overflow-x: scroll;
48
+			}
49
+		</style>
50
+	</head>
51
+
52
+	<body class="gray-bg">
53
+		<div class="wrapper wrapper-content animated fadeInRight">
54
+			<div class="daoHang clearfix">
55
+				<div class="dhLeft">
56
+					<sapn><i class="syIcon"></i>位置:
57
+						<a href="javaScript:;" id="ReIndex">首页</a>&gt;
58
+						<a href="javaScript:;">外呼管理</a>&gt;
59
+						<a href="javaScript:;">外呼报表</a>&gt;
60
+						<a href="" style="color: #000;">外呼任务报表</a>
61
+					</sapn>
62
+				</div>
63
+			</div>
64
+			<div class="th-box  clearfix">
65
+				<div class="th-bar">
66
+					<div class="seach-box fr">
67
+						<ul>
68
+							<li>任务列表:
69
+								<select id="cljg" class="x-color select"></select>
70
+							</li>
71
+							<li>问题列表:
72
+								<select id="Wt" class="x-color select"></select>
73
+							</li>
74
+							<!--<li>乡镇:
75
+								<select id="country" class="x-color select">
76
+									<option value="">--全部--</option>
77
+								</select>
78
+							</li>-->
79
+							<li>
80
+								时间:
81
+								<input type="text" id="ss_kssj" class="photo size-14 laydate-icon" placeholder="请选择开始时间和结束时间" />
82
+							</li>
83
+							<li>
84
+								<a class="sc_btn seach">搜索</a>
85
+							</li>
86
+							<li>
87
+								<a class="sc_btn export">导出</a>
88
+							</li>
89
+						</ul>
90
+					</div>
91
+				</div>
92
+			</div>
93
+			<div style="width: 100%;padding: 10px;">
94
+				<div class="table-head">
95
+					<table id="Task" class="table table-hover table-striped table-bordered table-condensed">
96
+						<colgroup>
97
+							<col style="width: 80px;" />
98
+							<col/>
99
+						</colgroup>
100
+						<thead>
101
+							<tr>
102
+								<td>问题</td>
103
+								<td>选项</td>
104
+								<td>数量</td>
105
+								<td>比例</td>
106
+							</tr>
107
+						</thead>
108
+					</table>
109
+				</div>
110
+				<div class="table-body">
111
+					<table class="thTable hwbb table table-hover table-striped table-bordered table-condensed">
112
+						<colgroup>
113
+							<col style="width: 80px;" />
114
+							<col/>
115
+						</colgroup>
116
+						<tbody>
117
+
118
+						</tbody>
119
+					</table>
120
+				</div>
121
+			</div>
122
+		</div>
123
+		<script src="../js/laydate/laydate.js"></script>
124
+		<script>
125
+			$(document).ready(function() {
126
+				taskSelect();
127
+				questionnaireSelect();
128
+				//getCountry();
129
+				laydate.render({
130
+					elem: '#ss_kssj',
131
+					range: '~',
132
+					//value: st,
133
+					calendar: true,
134
+					theme: '#1ab394',
135
+				});
136
+				$(".sc_btn").click(function() {
137
+					getDataList();
138
+				})
139
+				//导出功能
140
+				$('.export').click(function() {
141
+					dcexcel(this);
142
+				})
143
+
144
+			});
145
+			//查询条件中获取任务列表
146
+			function taskSelect() {
147
+				$.ajax({
148
+					type: "get",
149
+					url: huayi.config.callcenter_url + "Questionnaire/GetTaskList",
150
+					dataType: 'json',
151
+					data: {
152
+						token: $.cookie("token")
153
+					},
154
+					async: true,
155
+					success: function(data) {
156
+						if(data.state.toLowerCase() == "success") {
157
+							var Count = data.data;
158
+							if(Count.length > 0) {
159
+								//$("<option value=''>--全部--</option>").appendTo($("#cljg"));
160
+								for(var i = 0; i < Count.length; i++) {
161
+									$("<option value='" + Count[i].F_TaskID + "'>" + Count[i].F_TaskName + "</option>").appendTo($("#cljg"));
162
+								}
163
+							} else {
164
+								$("<option value=''>--暂无数据--</option>").appendTo($("#cljg"));
165
+							}
166
+						}
167
+					}
168
+				});
169
+			}
170
+			///查询条件问题任务列表
171
+			function questionnaireSelect() {
172
+				$.ajax({
173
+					type: "get",
174
+					url: huayi.config.callcenter_url + "Questionnaire/GetQList",
175
+					dataType: 'json',
176
+					data: {
177
+						token: $.cookie("token")
178
+					},
179
+					async: true,
180
+					success: function(data) {
181
+						if(data.state.toLowerCase() == "success") {
182
+							var Count = data.data;
183
+//							$("<option value=''>--全部--</option>").appendTo($("#Wt"));
184
+							for(var i = 0; i < Count.length; i++) {
185
+								$("<option value='" + Count[i].F_QuestionId + "'>" + Count[i].F_Title + "</option>").appendTo($("#Wt"));
186
+							}
187
+						} else {
188
+							$("<option value=''>--暂无数据--</option>").appendTo($("#Wt"));
189
+						}
190
+					}
191
+				})
192
+				.then(function(){
193
+					getDataList();
194
+				});
195
+			}
196
+			
197
+			//获取乡镇下拉
198
+//			function getCountry(){
199
+//				$.ajax({
200
+//					type: "get",
201
+//					url: huayi.config.callcenter_url + "Dictionary/GetDicValueListByFlag",
202
+//					dataType: 'json',
203
+//					data: {
204
+//						flag: 'JBDW',
205
+//						token: $.cookie("token")
206
+//					},
207
+//					async: true,
208
+//					success: function(data) {
209
+//						if(data.state.toLowerCase() == "success") {
210
+//							var res = data.data;
211
+//							for(var i = 0; i < res.length; i++) {
212
+//								$('<option value="'+ res[i].F_DictionaryValueId +'">'+ res[i].F_Name +'</option>').appendTo($("#country"));
213
+//							}
214
+//						}else{
215
+//							$("<option value=''>--暂无数据--</option>").appendTo($("#country"));
216
+//						}
217
+//					}
218
+//				});
219
+//			}
220
+			
221
+			//获取数据			
222
+			function getDataList() {
223
+				
224
+				$.ajax({
225
+					type: "get",
226
+					url: huayi.config.callcenter_url + "CallOutReport/GetReport",
227
+					dataType: 'json',
228
+					data: {
229
+						TaskID: $("#cljg").val(), //string	是	任务id
230
+						quesid: $('#Wt').val(), // string 是 问题id
231
+						//countryid: $('#country').val(), // string 否 乡镇id
232
+						sdate: $("#ss_kssj").val() && $("#ss_kssj").val().split(' ~ ')[0],// string 否 开始时间
233
+						edate: $("#ss_kssj").val() && $("#ss_kssj").val().split(' ~ ')[1],//string 否 结束时间
234
+						token: $.cookie("token")
235
+					},
236
+					async: true,
237
+					success: function(data) {
238
+						$(".thTable tbody").empty();
239
+						if(data.state.toLowerCase() == "success") {
240
+							var Count = data.data;
241
+							if(Count.length > 0) {
242
+								for(var i = 0; i < Count.length; i++) {
243
+									$('<tr><td>' + Count[i].wenti + ' </td>' +
244
+										'<td> ' + Count[i].xuanxiang + ' </td>' +
245
+										'<td> ' + Count[i].shuliang + ' </td>' +
246
+										'<td> ' + Count[i].bili + ' </td>' +
247
+										'</tr>').appendTo(".hwbb tbody");
248
+								}
249
+							} else {
250
+								$(".thTable tbody").html('<p class="text-center">没有找到您想要的记录呢!我会努力的...</p>');
251
+							}
252
+						} else {
253
+							$(".thTable tbody").html('<p class="text-center">没有找到您想要的记录呢!我会努力的...</p>');
254
+						}
255
+					}
256
+				});
257
+			}
258
+
259
+			function dcexcel(obj) {
260
+				var url = huayi.config.callcenter_url + "CallOutReport/GetReportExpt?token=" + $.cookie("token");
261
+				url += "&TaskID=" + $("#cljg").val();
262
+				url += "&quesid=" + $("#Wt").val();
263
+				//url += "&countryid=" + $("#country").val();
264
+				url += "&sdate=" + ($("#ss_kssj").val() && $("#ss_kssj").val().split(' ~ ')[0]);// string 否 开始时间
265
+				url += "&edate=" + ($("#ss_kssj").val() && $("#ss_kssj").val().split(' ~ ')[1]);// string 否 开始时间
266
+				obj.href = url;
267
+			}
268
+		</script>
269
+
270
+	</body>
271
+
272
+</html>

+ 199 - 0
CallCenterWeb.UI/Questionnaire/XgRight.html

@@ -0,0 +1,199 @@
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/Table/table1.css" rel="stylesheet" />
9
+		<link href="../css/init.css" rel="stylesheet" />
10
+		<link rel="stylesheet" href="../css/Quality/bootstrap-editable.css" />
11
+		<script src="../js/Questions/bootstrap-editable.js"></script>
12
+		<title></title>
13
+		<style>
14
+			table tr {
15
+				margin-bottom: 20px;
16
+			}
17
+			
18
+			table tr td {
19
+				text-align: left;
20
+				padding: 5px;
21
+			}
22
+			
23
+			.Content {
24
+				padding: 10px;
25
+			}
26
+			
27
+			.btn {
28
+				background: #1ab394;
29
+			}
30
+			
31
+			.Btn_box {
32
+				margin-top: 20px;
33
+				color: #fff;
34
+			}
35
+			
36
+			.inpBox select {
37
+				width: 150px;
38
+				padding: 3px 6px;
39
+			}
40
+			
41
+			.F_Remark {
42
+				width: 100%;
43
+				resize: none;
44
+			}
45
+		</style>
46
+	</head>
47
+
48
+	<body>
49
+		<div>
50
+			<div class="Content">
51
+				<div class="tab">
52
+					<table id="sqzx" style="width: 100%;" border="0" cellspacing="0" cellpadding="0">
53
+
54
+						<tr>
55
+							<th class="text-danger">试题分类:</th>
56
+							<td>
57
+								<div class="inpBox">
58
+									<select name="" id="Select">
59
+										<option value="">请选择试题分类</option>
60
+									</select>
61
+								</div>
62
+							</td>
63
+							<th>试题题型:</th>
64
+							<td>
65
+								<div class="inpBox">
66
+									<select name="" id="CheckQuestion">
67
+										<option value="1">问答题</option>
68
+										<option value="2">单选题</option>
69
+										<option value="3">多选题</option>
70
+									</select>
71
+								</div>
72
+							</td>
73
+						</tr>
74
+						<tr>
75
+							<th class="text-danger">试题标题:</th>
76
+							<td colspan="5">
77
+								<textarea name="" rows="1" cols="20" id="qTitle" class="F_Remark"></textarea>
78
+							</td>
79
+						</tr>
80
+						<tr>
81
+							<th>试题说明:</th>
82
+							<td colspan="5">
83
+								<textarea name="" rows="3" cols="20" id="remarks" class="F_Remark"></textarea>
84
+							</td>
85
+						</tr>
86
+
87
+					</table>
88
+
89
+				</div>
90
+				<div style="text-align: center; margin-top: 50px;">
91
+					<button class="btns add size-14">保存</button>
92
+				</div>
93
+			</div>
94
+		</div>
95
+		<script>
96
+			var Cids = helper.request.queryString("Cids");
97
+			var QuestionId;
98
+			$(document).ready(function() {
99
+				Select();
100
+			});
101
+			//修改
102
+			$(".add").click(function() {
103
+				var CategoryId = $("#Select").val(); //试题分类
104
+				var Title = $("#qTitle").val(); //试题标题
105
+				if(!$.trim(CategoryId)) {
106
+					layer.confirm('试题分类不能为空!', {
107
+						icon: 2,
108
+						btn: ['确定']
109
+					});
110
+					return;
111
+				}
112
+				if(!$.trim(Title)) {
113
+					layer.confirm('试题标题不能为空!', {
114
+						icon: 2,
115
+						btn: ['确定']
116
+					});
117
+					return;
118
+				}
119
+				$.ajax({
120
+					type: "post",
121
+					url: huayi.config.callcenter_url + "Questionnaire/CreateOrUpdateQuestion",
122
+					async: true,
123
+					dataType: "json",
124
+					data: {
125
+						F_QuestionId: QuestionId, //试题ID
126
+						F_CategoryId: CategoryId, //分类ID
127
+						F_Title: Title, //试题标题
128
+						//						F_Content://试题内容
129
+						F_Type: $("#CheckQuestion").val(), //题型(1.问答题;2.单选题;3.多选题)
130
+						F_Remark: $("#remarks").val(), //试题说明
131
+						token: $.cookie("token"),
132
+
133
+					},
134
+					success: function(data) {
135
+						if(data.state.toLowerCase() == 'success') {
136
+							var index = parent.layer.getFrameIndex(window.name); //先得到当前iframe层的索引
137
+							parent.layer.close(index); //再执行关闭
138
+							parent.Finish();
139
+							parent.layer.msg("修改成功");
140
+
141
+						}
142
+					}
143
+				});
144
+			})
145
+
146
+			//下拉
147
+			function Select() {
148
+				$.ajax({
149
+						type: "get",
150
+						url: huayi.config.callcenter_url + "Questionnaire/GetQCategoryAlllist",
151
+						dataType: 'json',
152
+						async: true,
153
+						data: {
154
+							token: $.cookie("token")
155
+						},
156
+						success: function(data) {
157
+							/*验证请求*/
158
+							if(data.state == "success") {
159
+								var html = ''
160
+								for(var i = 0; i < data.data.length; i++) {
161
+									html += '<option value="' + data.data[i].F_CategoryId + '">' + data.data[i].F_CategoryName + '</option>'
162
+								}
163
+								$(html).appendTo("#Select");
164
+
165
+							}
166
+						}
167
+					})
168
+					.then(function() {
169
+						//获取详情
170
+						$.ajax({
171
+							type: "get",
172
+							url: huayi.config.callcenter_url + "Questionnaire/GetQuestionModel",
173
+							dataType: 'json',
174
+							async: true,
175
+							data: {
176
+								id: Cids,
177
+								token: $.cookie("token")
178
+							},
179
+							success: function(data) {
180
+								/*验证请求*/
181
+								if(data.state == "success") {
182
+									$("#Select").val(data.data.F_CategoryId); //试题分类
183
+									console.log(data.data.F_CategoryId);
184
+									QuestionId = data.data.F_QuestionId;
185
+									$("#CheckQuestion").val(data.data.F_Type); //问题类型F_Title
186
+									$('#qTitle').val(data.data.F_Title) //标题
187
+									$('#remarks').val(data.data.F_Remark) //说明
188
+
189
+								}
190
+
191
+							}
192
+						});
193
+
194
+					});
195
+			}
196
+		</script>
197
+	</body>
198
+
199
+</html>

+ 131 - 0
CallCenterWeb.UI/Questionnaire/aaaa.html

@@ -0,0 +1,131 @@
1
+<!DOCTYPE html>
2
+<html>
3
+
4
+	<head>
5
+		<meta charset="UTF-8">
6
+		<meta name="viewport" content="width=device-width, initial-scale=1.0">
7
+		<link href="../css/bootstrap.min14ed.css?v=3.3.6" rel="stylesheet">
8
+		<link href="../css/bootstrap.min.css" />
9
+		<link href="../css/init.css" rel="stylesheet" />
10
+		<link rel="stylesheet" href="../css/boot/bootstrap-table.css" />
11
+		<link href="../css/font-awesome.min93e3.css?v=4.4.0" rel="stylesheet">
12
+		<link href="../css/animate.min.css" rel="stylesheet">
13
+		<link href="../css/style.min862f.css?v=4.1.0" rel="stylesheet">
14
+		<link href="../css/layer/need/layer.css" />
15
+		<link rel="stylesheet" href="../css/zhibiaoguanli.css" />
16
+		<link rel="stylesheet" href="../css/init.css" />
17
+			<script src="../Script/Common/huayi.load.js"></script>
18
+	<script src="../Script/Common/huayi.config.js"></script>
19
+		<title>问卷调查</title>
20
+		<style>
21
+			.fr {
22
+				float: right;
23
+			}
24
+			
25
+			.fr li {
26
+				float: left;
27
+			}
28
+			
29
+			.size-14 {
30
+				font-size: 14px!important;
31
+			}
32
+			
33
+			.size-16 {
34
+				font-size: 16px;
35
+			}
36
+			
37
+			.anniu i {
38
+				margin-right: 5px;
39
+			}
40
+			
41
+			.x-color {
42
+				width: 100px;
43
+				background-color: #FFF;
44
+				background-image: none;
45
+				border: 1px solid #e5e6e7;
46
+				border-radius: 1px;
47
+				color: inherit;
48
+				
49
+			}
50
+			
51
+			.inputs {
52
+				border: 1px solid #e5e6e7;
53
+				width: 150px;
54
+				padding: 6px 12px;
55
+			}
56
+			.d{
57
+				color: forestgreen;
58
+			}
59
+			.du{
60
+				color: #0064B6;
61
+			}
62
+			.w{
63
+				color: #e43926;
64
+			}
65
+			.Title_box{
66
+				line-height: 20px;
67
+				border-bottom: 1px solid #ccc;
68
+				padding-bottom: 10px;
69
+			}
70
+			.ce{
71
+				width: 50px;
72
+			}
73
+		</style>
74
+	</head>
75
+
76
+	<body>
77
+		<div class="daoHang clearfix">
78
+			<div class="dhLeft">
79
+				<sapn><i class="syIcon"></i>位置:
80
+					<a  id="ReIndex">首页</a>&gt;
81
+					<a href="javaScript:;">问卷调查</a>&gt;
82
+					<a href="" style="color: #000;">试题管理</a>
83
+				</sapn>
84
+			</div>
85
+		</div>
86
+		<div class="top clearfix ">
87
+			<div class="fr">
88
+				<span>&nbsp;题型:
89
+					<select name="" id="Quetions" class="x-color">
90
+						<option value="">所有试题</option>
91
+						<option value="1">问答题</option>
92
+						<option value="2">单选题</option>
93
+						<option value="3">多选题</option>
94
+					</select>
95
+				</span>
96
+				<span>&nbsp;试题标题:<input class="inputs" type="text" id="KeyWords" /></span>
97
+				<button class="btns searchGo size-14"> <i class="fa fa-search size-14"></i>&nbsp;搜索</button>
98
+			</div>
99
+
100
+		</div>
101
+		<div class='wrap'>
102
+			<!--右边/-->
103
+			<div class="" style="padding: 20px;">
104
+				<div class="anniu" class="toolbar2">
105
+					<button class="rightAdd btn size-14"><i class="fa fa-plus size-14"></i>增加</button>
106
+					<button class="rightChange btn size-14"><i class="fa fa-pencil size-14"></i>修改</button>
107
+					<button class="rightDelete btn size-14"><i class="fa fa-remove size-14"></i>删除</button>
108
+					<button class="rightAll btn size-14"><i class="fa fa-file size-14"></i>所有试题</button>
109
+				</div>
110
+				<table id="tbr">
111
+					<thead>
112
+						<tr>
113
+							<th data-align="center" data-field="id" data-formatter="setCode"></th>
114
+							<th data-align="center" data-field="F_CategoryName" >试题分类</th>
115
+							<th data-align="center"  data-field="F_Type"  data-formatter="Type">试题类型</th>
116
+							<th data-align="center" data-field="F_Title">试题标题</th>
117
+							<th data-align="center" data-field="F_Content">试题内容</th>
118
+							<th data-align="center" data-field="F_Type"data-formatter="Code">操作</th>
119
+						</tr>
120
+					</thead>
121
+					<tbody>
122
+					</tbody>
123
+				</table>
124
+			</div>
125
+		</div>
126
+		
127
+	</body>
128
+	<script src="../css/layer/layer.js"></script>
129
+	<script src="bbb.js"></script>
130
+</script>
131
+</html>

+ 16 - 0
CallCenterWeb.UI/Questionnaire/aaaaaa.json

@@ -0,0 +1,16 @@
1
+{
2
+	"state": "success",
3
+	"message": "获取调查问卷报表数据成功",
4
+	"data": [
5
+	    {"name":"测试","age":"18839115206","sex":"学生","sesson":"测试测试"},
6
+	     {"name":"测试","age":"18839115206","sex":"学生","sesson":"测试测试"},
7
+	      {"name":"测试","age":"18839115206","sex":"学生","sesson":"测试测试"},
8
+	       {"name":"测试","age":"18839115206","sex":"学生","sesson":"测试测试"},
9
+	        {"name":"测试","age":"18839115206","sex":"学生","sesson":"测试测试"},
10
+	         {"name":"测试","age":"18839115206","sex":"学生","sesson":"测试测试"},
11
+	          {"name":"测试","age":"18839115206","sex":"学生","sesson":"测试测试"},
12
+	           {"name":"测试","age":"18839115206","sex":"学生","sesson":"测试测试"},
13
+	            {"name":"测试","age":"18839115206","sex":"学生","sesson":"测试测试"},
14
+	             {"name":"测试","age":"18839115206","sex":"学生","sesson":"测试测试"}
15
+	]
16
+}

+ 66 - 0
CallCenterWeb.UI/Questionnaire/add.html

@@ -0,0 +1,66 @@
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/Table/table1.css" rel="stylesheet" />
9
+		<link href="../css/init.css" rel="stylesheet" />
10
+		<title>增加试题分类</title>
11
+		<style>
12
+			.Content {
13
+				text-align: center;
14
+				padding: 10px;
15
+			}
16
+			
17
+			.btn {
18
+				background: #1ab394;
19
+			}
20
+			
21
+			.Btn_box {
22
+				margin-top: 20px;
23
+				color: #fff;
24
+			}
25
+		</style>
26
+	</head>
27
+
28
+	<body>
29
+		<div>
30
+			<div class="Content">
31
+				<span>名称:<input type="text"  class="name"/></span>
32
+				<div class="Btn_box">
33
+					<button class="rightAll btn size-14">保存</button>
34
+				</div>
35
+			</div>
36
+		</div>
37
+		<script>
38
+			$(".rightAll").click(function() {
39
+				if(!$(".name").val()) {
40
+					layer.msg("名称不能为空");
41
+				}
42
+				//增加分类
43
+				$.ajax({
44
+					type: "post",
45
+					url: huayi.config.callcenter_url + "/Questionnaire/CreateOrUpdateQCategory",
46
+					dataType: 'json',
47
+					data: {
48
+						name: $(".name").val(),
49
+						token: $.cookie("token")
50
+					},
51
+					async: true,
52
+					success: function(data) {
53
+						if(data.state == "success") {
54
+							var index = parent.layer.getFrameIndex(window.name); //先得到当前iframe层的索引
55
+							parent.layer.close(index); //再执行关闭
56
+							parent.IndexCategoryGe();
57
+							parent.layer.msg(data.message);
58
+						}
59
+
60
+					}
61
+				});
62
+			})
63
+		</script>
64
+	</body>
65
+
66
+</html>

+ 296 - 0
CallCenterWeb.UI/Questionnaire/addCheck.html

@@ -0,0 +1,296 @@
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/Table/table1.css" rel="stylesheet" />
9
+		<link rel="stylesheet" href="bootstrap-editable.css" />
10
+		<link href="../css/init.css" rel="stylesheet" />
11
+		<link rel="stylesheet" href="../css/Quality/bootstrap-editable.css" />
12
+		<script src="bootstrap-editable.js"></script>
13
+		<title></title>
14
+		<style>
15
+			.Content {
16
+				padding: 10px;
17
+			}
18
+			
19
+			.Btn_box {
20
+				margin-top: 20px;
21
+				color: #fff;
22
+			}
23
+			
24
+			.inpBox select {
25
+				width: 150px;
26
+				padding: 3px 6px;
27
+			}
28
+			
29
+			.F_Remark {
30
+				width: 100%;
31
+			}
32
+			
33
+			.tab {
34
+				border-bottom: 1px solid #ccc;
35
+			}
36
+			
37
+			.rightAdd {
38
+				margin-bottom: 20px;
39
+				background: #1ab394;
40
+				color: #fff;
41
+			}
42
+		</style>
43
+	</head>
44
+
45
+	<body>
46
+		<div>
47
+			<div class="Content">
48
+				<div class="Check_box">
49
+					<button class="rightAdd btn size-14"><i class="fa fa-plus size-14"></i>增加</button>
50
+					<table id="tbr" style="width: 100%;">
51
+						<thead>
52
+							<tr>
53
+								<th data-align="center" data-field="id" data-formatter="setCode">序号</th>
54
+								<th data-align="center" data-field="F_ItemName" data-formatter="Check">选项</th>
55
+								<th data-align="center" data-field="F_ItemId" data-formatter="Removes">操作</th>
56
+							</tr>
57
+						</thead>
58
+						<tbody>
59
+						</tbody>
60
+					</table>
61
+				</div>
62
+
63
+			</div>
64
+		</div>
65
+		<script>
66
+			var wid = helper.request.queryString("Str");
67
+			console.log(wid);
68
+
69
+			$(document).ready(function() {
70
+
71
+				if(wid) {
72
+					var $tableLeft = $('#tbr');
73
+					//销毁表格
74
+					$tableLeft.bootstrapTable('destroy');
75
+					//			初始化表格,动态从服务器加载数据
76
+					$tableLeft.bootstrapTable({
77
+						method: "get", //使用get请求到服务器获取数据
78
+						url: huayi.config.callcenter_url + "Questionnaire/GetQuestionItemList",
79
+						//			url: "//117.158.196.116:8878/IndexBase/GetList",
80
+						striped: true, //表格显示条纹
81
+						pagination: true, //启动分页
82
+						pageSize: 5, //每页显示的记录数
83
+						pageNumber: 1, //当前第几页
84
+						pageList: [5, 10, 50, 100], //记录数可选列表
85
+						contentType: 'application/x-www-form-urlencoded',
86
+						search: false, //是否启用查询
87
+						showColumns: false, //显示下拉框勾选要显示的列
88
+						showRefresh: false, //显示刷新按钮
89
+						sidePagination: "server", //表示服务端请求
90
+						//设置为undefined可以获取pageNumber,pageSize,searchText,sortName,sortOrder
91
+						//设置为limit可以获取limit, offset, search, sort, order
92
+						queryParamsType: "undefined",
93
+						queryParams: function queryParams(params) { //设置查询参数
94
+							var param = {
95
+								pageindex: params.pageNumber,
96
+								pagesize: params.pageSize,
97
+								id: wid,
98
+								token: $.cookie("token"),
99
+
100
+							};
101
+							return param;
102
+						},
103
+						onLoadSuccess: function() { //加载成功时执行
104
+							//							layer.msg("加载成功");
105
+							$("#tbr a.username").editable({
106
+								url: function(params) {
107
+									var id = $(this).attr("id");
108
+									var QuestionId = $(this).attr("index");
109
+									console.log(params.value);
110
+									$.ajax({
111
+										type: 'POST',
112
+										url: huayi.config.callcenter_url + "Questionnaire/CreateOrUpdateQuestionItem",
113
+										data: {
114
+											Id: id,
115
+											name: params.value,
116
+											QuestionId: QuestionId,
117
+											token: $.cookie("token")
118
+										},
119
+										dataType: 'JSON',
120
+										success: function(data) {
121
+											if(data.state.toLowerCase() == 'success') {
122
+												var index = parent.layer.getFrameIndex(window.name); //先得到当前iframe层的索引
123
+												//												parent.layer.close(index); //再执行关闭
124
+												parent.Finish();
125
+												parent.layer.msg("保存成功");
126
+
127
+											}
128
+										},
129
+										error: function() {
130
+											alert("error");
131
+										}
132
+									});
133
+								},
134
+								type: 'text'
135
+							});
136
+						},
137
+						onLoadError: function() { //加载失败时执行
138
+							//layer.msg("加载数据失败", { time: 1500, icon: 2 });
139
+						}
140
+					});
141
+					//添加行
142
+					$(".rightAdd ").click(function() {
143
+						var index = $tableLeft.bootstrapTable('getData').length;
144
+						$.ajax({
145
+							type: 'POST',
146
+							url: huayi.config.callcenter_url + "Questionnaire/CreateOrUpdateQuestionItem",
147
+							data: {
148
+								QuestionId: wid,
149
+								token: $.cookie("token")
150
+							},
151
+							dataType: 'JSON',
152
+							success: function(data) {
153
+								if(data.state.toLowerCase() == 'success') {
154
+									console.log(data.data);
155
+
156
+									$tableLeft.bootstrapTable('insertRow', {
157
+										index: -1,
158
+										row: {
159
+
160
+										}
161
+									});
162
+									$tableLeft.bootstrapTable('refresh');
163
+								}
164
+							},
165
+							error: function() {
166
+								alert("error");
167
+							}
168
+						});
169
+
170
+					});
171
+				}
172
+
173
+				//列表
174
+
175
+			});
176
+
177
+			//序号
178
+			function setCode(value, row, index) {
179
+				return index + 1;
180
+			}
181
+			//修改
182
+			function Check(value, row, index) {
183
+				return '<a title="点击移入"  class="username" id="' + row.F_ItemId + '" index="' + row.F_QuestionId + '">' + value + '</a>'
184
+
185
+			}
186
+			//操作
187
+			function Removes(value, row, index) {
188
+				return '<div><a onclick="Remove(' + value + ')" ><i class="fa fa-remove size-14"></i></a></div>'
189
+			}
190
+
191
+			;
192
+			//删除
193
+			function Remove(val) {
194
+				layer.confirm('确定删除当前选项?', {
195
+					btn: ['是', '否'] //按钮
196
+				}, function(index) {
197
+					$.ajax({
198
+						type: 'POST',
199
+						url: huayi.config.callcenter_url + "Questionnaire/DeleteQuestionItme",
200
+						data: {
201
+							id: val,
202
+							token: $.cookie("token")
203
+						},
204
+						dataType: 'JSON',
205
+						success: function(data) {
206
+							if(data.state.toLowerCase() == 'success') {
207
+								//								var index = parent.layer.getFrameIndex(window.name); //先得到当前iframe层的索引
208
+								//								layer.close(index); //再执行关闭
209
+								parent.Finish();
210
+								parent.layer.msg("删除成功");
211
+								initTable();
212
+								layer.close(index);
213
+							}
214
+						},
215
+						error: function() {
216
+							alert("error");
217
+						}
218
+					});
219
+				});
220
+			}
221
+
222
+			function initTable() {
223
+				var $tableLeft = $('#tbr');
224
+				//销毁表格
225
+				$tableLeft.bootstrapTable('destroy');
226
+				//			初始化表格,动态从服务器加载数据
227
+				$tableLeft.bootstrapTable({
228
+					method: "get", //使用get请求到服务器获取数据
229
+					url: huayi.config.callcenter_url + "Questionnaire/GetQuestionItemList",
230
+					//			url: "//117.158.196.116:8878/IndexBase/GetList",
231
+					striped: true, //表格显示条纹
232
+					pagination: true, //启动分页
233
+					pageSize: 5, //每页显示的记录数
234
+					pageNumber: 1, //当前第几页
235
+					pageList: [5, 10, 50, 100], //记录数可选列表
236
+					contentType: 'application/x-www-form-urlencoded',
237
+					search: false, //是否启用查询
238
+					showColumns: false, //显示下拉框勾选要显示的列
239
+					showRefresh: false, //显示刷新按钮
240
+					sidePagination: "server", //表示服务端请求
241
+					//设置为undefined可以获取pageNumber,pageSize,searchText,sortName,sortOrder
242
+					//设置为limit可以获取limit, offset, search, sort, order
243
+					queryParamsType: "undefined",
244
+					queryParams: function queryParams(params) { //设置查询参数
245
+						var param = {
246
+							pageindex: params.pageNumber,
247
+							pagesize: params.pageSize,
248
+							id: wid,
249
+							token: $.cookie("token"),
250
+
251
+						};
252
+						return param;
253
+					},
254
+					onLoadSuccess: function() { //加载成功时执行
255
+						//							layer.msg("加载成功");
256
+						$("#tbr a.username").editable({
257
+							url: function(params) {
258
+								var id = $(this).attr("id");
259
+								var QuestionId = $(this).attr("index");
260
+								console.log(params.value);
261
+								$.ajax({
262
+									type: 'POST',
263
+									url: huayi.config.callcenter_url + "Questionnaire/CreateOrUpdateQuestionItem",
264
+									data: {
265
+										Id: id,
266
+										name: params.value,
267
+										QuestionId: QuestionId,
268
+										token: $.cookie("token")
269
+									},
270
+									dataType: 'JSON',
271
+									success: function(data) {
272
+										if(data.state.toLowerCase() == 'success') {
273
+											var index = parent.layer.getFrameIndex(window.name); //先得到当前iframe层的索引
274
+											//												parent.layer.close(index); //再执行关闭
275
+											parent.Finish();
276
+											parent.layer.msg("保存成功");
277
+
278
+										}
279
+									},
280
+									error: function() {
281
+										alert("error");
282
+									}
283
+								});
284
+							},
285
+							type: 'text'
286
+						});
287
+					},
288
+					onLoadError: function() { //加载失败时执行
289
+						//layer.msg("加载数据失败", { time: 1500, icon: 2 });
290
+					}
291
+				});
292
+			}
293
+		</script>
294
+	</body>
295
+
296
+</html>

+ 183 - 0
CallCenterWeb.UI/Questionnaire/addSWenjuanxinxi.html

@@ -0,0 +1,183 @@
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/Table/table1.css" rel="stylesheet" />
9
+		<link href="../css/init.css" rel="stylesheet" />
10
+		<link rel="stylesheet" href="../css/Quality/bootstrap-editable.css" />
11
+		<script src="../js/Questions/bootstrap-editable.js"></script>
12
+		<title></title>
13
+		<style>
14
+			table tr {
15
+				margin-bottom: 20px;
16
+			}
17
+			
18
+			table tr td {
19
+				text-align: left;
20
+				padding: 5px;
21
+			}
22
+			
23
+			.Content {
24
+				padding: 10px;
25
+			}
26
+			
27
+			.btn {
28
+				background: #1ab394;
29
+			}
30
+			
31
+			.Btn_box {
32
+				margin-top: 20px;
33
+				color: #fff;
34
+			}
35
+			
36
+			.inpBox select {
37
+				width: 150px;
38
+				padding: 3px 6px;
39
+			}
40
+			
41
+			.F_Remark {
42
+				width: 100%;
43
+				resize: none;
44
+			}
45
+			
46
+			.tab {
47
+				border-bottom: 1px solid #ccc;
48
+			}
49
+			
50
+			.Check_box {
51
+				display: none;
52
+			}
53
+			
54
+			.Show {
55
+				display: block;
56
+			}
57
+			
58
+			#sqzx th {
59
+				width: 100px;
60
+			}
61
+			
62
+			.d {
63
+				color: forestgreen;
64
+			}
65
+			
66
+			.du {
67
+				color: #0064B6;
68
+			}
69
+			
70
+			.w {
71
+				color: #e43926;
72
+			}
73
+		</style>
74
+	</head>
75
+
76
+	<body>
77
+		<div>
78
+			<div class="Content">
79
+				<div class="tab">
80
+
81
+					<table id="sqzx" style="width: 100%;" border="0" cellspacing="0" cellpadding="0">
82
+						<tr>
83
+							<th>问卷名称:</th>
84
+							<td colspan="5">
85
+								<input type="text" class="Title form-control" />
86
+							</td>
87
+						</tr>
88
+						<tr>
89
+							<th>问卷开场语:</th>
90
+							<td colspan="5">
91
+								<textarea name="" class="F_Remark form-control" rows="3" cols="20" id="startText"></textarea>
92
+
93
+							</td>
94
+						</tr>
95
+						<tr>
96
+							<th>问卷说明:</th>
97
+							<td colspan="5">
98
+								<textarea name="" rows="3" cols="20" class="F_Remark form-control" id="F_Remark"></textarea>
99
+
100
+							</td>
101
+						</tr>
102
+						<tr>
103
+							<th>问卷结束语:</th>
104
+							<td colspan="5">
105
+								<textarea name="" class="F_Remark form-control" rows="3" cols="20" id="endText"></textarea>
106
+
107
+							</td>
108
+						</tr>
109
+
110
+					</table>
111
+
112
+				</div>
113
+				<div style="text-align: center; margin-top: 50px;">
114
+					<button class="btns add size-14">保存</button>
115
+				</div>
116
+			</div>
117
+		</div>
118
+		<script src="../js/autosize/autosize.js"></script>
119
+		<script>
120
+			$(document).ready(function() {
121
+				autosize($('textarea'));
122
+				//增加
123
+				$(".add").click(function() {
124
+					var CategoryId = $(".Title").val(); //问卷名称
125
+					var Title = $("#F_Remark").val(); //问卷内容
126
+					if(!$.trim(CategoryId)) {
127
+						layer.confirm('问卷名称不能为空!', {
128
+							icon: 2,
129
+							btn: ['确定'] //按钮
130
+						});
131
+						return;
132
+					}
133
+					if(!$.trim($('#startText').val())) {
134
+						layer.confirm('问卷开场语不能为空!', {
135
+							icon: 2,
136
+							btn: ['确定'] //按钮
137
+						});
138
+						return;
139
+					}
140
+					if(!$.trim(Title)) {
141
+						layer.confirm('问卷说明不能为空!', {
142
+							icon: 2,
143
+							btn: ['确定'] //按钮
144
+						});
145
+						return;
146
+					}
147
+					if(!$.trim($('#endText').val())) {
148
+						layer.confirm('问卷结束语不能为空!', {
149
+							icon: 2,
150
+							btn: ['确定'] //按钮
151
+						});
152
+						return;
153
+					}
154
+
155
+					$.ajax({
156
+						type: "post",
157
+						url: huayi.config.callcenter_url + "/Questionnaire/CreateOrUpdatePager",
158
+						async: true,
159
+						dataType: "json",
160
+						data: {
161
+							Title: CategoryId, //问卷标题
162
+							StartText: $('#startText').val(), //问卷开场语
163
+							EndText: $('#endText').val(), //问卷结束语
164
+							Remark: Title, //问卷备注
165
+							token: $.cookie("token"),
166
+
167
+						},
168
+						success: function(data) {
169
+							if(data.state.toLowerCase() == 'success') {
170
+								var index = parent.layer.getFrameIndex(window.name); //先得到当前iframe层的索引
171
+								parent.layer.close(index); //再执行关闭
172
+								parent.IndexCategoryGe()
173
+								parent.layer.msg(data.message);
174
+
175
+							}
176
+						}
177
+					});
178
+				})
179
+			});
180
+		</script>
181
+	</body>
182
+
183
+</html>

+ 358 - 0
CallCenterWeb.UI/Questionnaire/addSetting.html

@@ -0,0 +1,358 @@
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/Table/table1.css" rel="stylesheet" />
9
+		<link href="../css/init.css" rel="stylesheet" />
10
+		<link rel="stylesheet" href="../css/Quality/bootstrap-editable.css" />
11
+		<script src="../js/Questions/bootstrap-editable.js"></script>
12
+		<title></title>
13
+		<style>
14
+			.Content {
15
+				padding: 10px;
16
+			}
17
+			
18
+			.Btn_box {
19
+				margin-top: 20px;
20
+				color: #fff;
21
+			}
22
+			
23
+			.inpBox select {
24
+				width: 150px;
25
+				padding: 3px 6px;
26
+			}
27
+			
28
+			.F_Remark {
29
+				width: 100%;
30
+			}
31
+			
32
+			.tab {
33
+				border-bottom: 1px solid #ccc;
34
+			}
35
+			
36
+			.Check_box {
37
+				display: none;
38
+			}
39
+			
40
+			.Show {
41
+				display: block;
42
+			}
43
+			
44
+			#sqzx th {
45
+				width: 100px;
46
+			}
47
+			
48
+			.d {
49
+				color: forestgreen;
50
+			}
51
+			
52
+			.du {
53
+				color: #0064B6;
54
+			}
55
+			
56
+			.w {
57
+				color: #e43926;
58
+			}
59
+		</style>
60
+	</head>
61
+
62
+	<body>
63
+		<div>
64
+			<div class="Content clearfix">
65
+
66
+				<div style="width: 50%;padding: 10px;" class="fl clearfix">
67
+					<div class="fr form-inline">
68
+						<select class="form-control" id="Select" style="width: 120px;">
69
+							<option value="">请选择问卷</option>
70
+						</select>
71
+						<span>&nbsp;题型:
72
+							<select class="form-control" id="Quetions" class="x-color">
73
+								<option value="">所有试题</option>
74
+								<option value="1">问答题</option>
75
+								<option value="2">单选题</option>
76
+								<option value="3">多选题</option>
77
+							</select>
78
+						</span>
79
+						<span>&nbsp;关键字:<input class="form-control inputs" type="text" id="KeyWords"  style="width: 100px;"/></span>
80
+						<button class="btns searchGo size-14"> <i class="fa fa-search size-14"></i>&nbsp;搜索</button>
81
+					</div>
82
+					<div>
83
+						<p><button class="btns" id="leftMove">移入<i class="fa fa-angle-double-right" style="margin-left: 5px;"></i></button></p>
84
+					</div>
85
+
86
+					<table id="list" data-row-style="rowStyle" data-query-params="queryParams" data-pagination="true">
87
+						<thead>
88
+							<tr>
89
+								<th data-field="state" data-align="center" data-checkbox="true"></th>
90
+								<th data-align="center" data-field="F_CategoryName">试题分类</th>
91
+								<th data-align="center" data-field="F_Type" data-formatter="Type">试题类型</th>
92
+								<th data-align="center" data-field="F_Title">试题标题</th>
93
+								<th data-align="center" data-field="F_Content" data-formatter="Content">试题内容</th>
94
+							</tr>
95
+						</thead>
96
+						<tbody id="tbody"></tbody>
97
+					</table>
98
+				</div>
99
+				<div style="width: 50%;padding: 10px;float: right;">
100
+					<p>
101
+						<button class="btns" onclick="rightMove()"><i class="fa fa-angle-double-left" style="margin-right: 5px;"></i>移出</button>
102
+
103
+					</p>
104
+					<table id="lists" data-row-style="rowStyle" data-query-params="queryParams" data-pagination="true">
105
+						<thead>
106
+							<tr>
107
+								<th data-field="state" data-align="center" data-checkbox="true"></th>
108
+								<th data-align="center" data-field="F_CategoryName">试题分类</th>
109
+								<th data-align="center" data-field="F_Type" data-formatter="Type">试题类型</th>
110
+								<th data-align="center" data-field="F_Title">试题标题</th>
111
+								<th data-align="center" data-field="F_Content" data-formatter="Content">试题内容</th>
112
+							</tr>
113
+						</thead>
114
+						<tbody id="tbody"></tbody>
115
+					</table>
116
+				</div>
117
+			</div>
118
+		</div>
119
+		<script>
120
+			var wid = helper.request.queryString("Str");
121
+			console.log(wid);
122
+			var $tableLeft = $('#list');
123
+			var $tableLeft1 = $('#lists');
124
+			$(document).ready(function() {
125
+				List();
126
+				Right();
127
+				//搜索
128
+				$(".searchGo").click(function() {
129
+					List();
130
+				})
131
+				Select();
132
+
133
+				//列表
134
+				function Select() {
135
+					$.ajax({
136
+						type: "get",
137
+						url: huayi.config.callcenter_url + "Questionnaire/GetQCategoryAlllist",
138
+						dataType: 'json',
139
+						async: true,
140
+						data: {
141
+							token: $.cookie("token")
142
+						},
143
+						success: function(data) {
144
+							/*验证请求*/
145
+							if(data.state == "success") {
146
+								for(var i = 0; i < data.data.length; i++) {
147
+									var html = '<option value="' + data.data[i].F_CategoryId + '">' + data.data[i].F_CategoryName + '</option>'
148
+									$(html).appendTo("#Select");
149
+								}
150
+							}
151
+						}
152
+					});
153
+				}
154
+			});
155
+
156
+			function List() {
157
+				//销毁表格
158
+				$tableLeft.bootstrapTable('destroy');
159
+				//			初始化表格,动态从服务器加载数据
160
+				$tableLeft.bootstrapTable({
161
+					method: "get", //使用get请求到服务器获取数据
162
+					url: huayi.config.callcenter_url + "Questionnaire/GetQuestionNotItemsList",
163
+					striped: true, //表格显示条纹
164
+					pagination: true, //启动分页
165
+					pageSize: 5, //每页显示的记录数
166
+					pageNumber: 1, //当前第几页
167
+					pageList: [5, 10, 50, 100], //记录数可选列表
168
+					contentType: 'application/x-www-form-urlencoded',
169
+					search: false, //是否启用查询
170
+					showColumns: false, //显示下拉框勾选要显示的列
171
+					showRefresh: false, //显示刷新按钮
172
+					sidePagination: "server", //表示服务端请求
173
+					//设置为undefined可以获取pageNumber,pageSize,searchText,sortName,sortOrder
174
+					//设置为limit可以获取limit, offset, search, sort, order
175
+					queryParamsType: "undefined",
176
+					queryParams: function queryParams(params) { //设置查询参数
177
+						var param = {
178
+							PagerId: wid,
179
+							PageIndex: params.pageNumber,
180
+							PageSize: params.pageSize,
181
+							token: $.cookie("token"),
182
+							Key: $("#KeyWords").val(),
183
+							CategoryId: $("#Select").val(),
184
+							SelectType: $("#Quetions").val(),
185
+
186
+						};
187
+						return param;
188
+					},
189
+					onLoadSuccess: function() { //加载成功时执行
190
+						//								layer.msg("加载成功");
191
+					},
192
+					onLoadError: function() { //加载失败时执行
193
+						//layer.msg("加载数据失败", { time: 1500, icon: 2 });
194
+					}
195
+				});
196
+			}
197
+
198
+			function Right() {
199
+				$tableLeft1.bootstrapTable('destroy');
200
+				//			初始化表格,动态从服务器加载数据
201
+				$tableLeft1.bootstrapTable({
202
+					method: "get", //使用get请求到服务器获取数据
203
+					url: huayi.config.callcenter_url + "Questionnaire/GetQuestionPageList",
204
+					striped: true, //表格显示条纹
205
+					pagination: true, //启动分页
206
+					pageSize: 5, //每页显示的记录数
207
+					pageNumber: 1, //当前第几页
208
+					pageList: [5, 10, 50, 100], //记录数可选列表
209
+					contentType: 'application/x-www-form-urlencoded',
210
+					search: false, //是否启用查询
211
+					showColumns: false, //显示下拉框勾选要显示的列
212
+					showRefresh: false, //显示刷新按钮
213
+					sidePagination: "server", //表示服务端请求
214
+					//设置为undefined可以获取pageNumber,pageSize,searchText,sortName,sortOrder
215
+					//设置为limit可以获取limit, offset, search, sort, order
216
+					queryParamsType: "undefined",
217
+					queryParams: function queryParams(params) { //设置查询参数
218
+						var param = {
219
+							PagerId: wid,
220
+							PageIndex: params.pageNumber,
221
+							PageSize: params.pageSize,
222
+							token: $.cookie("token"),
223
+
224
+						};
225
+						return param;
226
+					},
227
+					onLoadSuccess: function() { //加载成功时执行
228
+						//								layer.msg("加载成功");
229
+					},
230
+					onLoadError: function() { //加载失败时执行
231
+						//layer.msg("加载数据失败", { time: 1500, icon: 2 });
232
+					}
233
+				});
234
+			}
235
+			//序号
236
+			function setCode(value, row, index) {
237
+				return index + 1;
238
+			}
239
+			//修改
240
+			function Check(value, row, index) {
241
+				return '<a title="点击移入"  class="username">' + value + '</a>'
242
+
243
+			}
244
+
245
+			function Content(val) {
246
+				if(val) {
247
+					var str = '<div '
248
+					if(val.length > 10) {
249
+						str = str + ' title="' + val + '" ';
250
+						val = val.substr(0, 10) + "...";
251
+					}
252
+					return str + '>' + val + '</div>';
253
+				} else {
254
+					return '';
255
+				}
256
+			}
257
+			//分类
258
+			function Type(val) {
259
+				var cs = '';
260
+				var vals = '';
261
+				if(val == 1) {
262
+					cs = 'w';
263
+					vals = "问答题"
264
+				} else if(val == 2) {
265
+					cs = 'd';
266
+					vals = "单选题"
267
+				} else {
268
+					cs = 'du'
269
+					vals = "多选题"
270
+				}
271
+
272
+				return '<a class="' + cs + '">' + vals + '</a>'
273
+				console.log(val);
274
+			}
275
+			//左边移动
276
+			$("#leftMove").click(function() {
277
+				var ids = $.map($('#list').bootstrapTable('getSelections'),
278
+					function(row) {
279
+						return row.F_QuestionId;
280
+					});
281
+				console.log(ids);
282
+				if(ids.length <= 0) {
283
+					layer.confirm('请选择一项移入!', {
284
+						btn: ['确定']
285
+					});
286
+					return;
287
+				}
288
+				goRight();
289
+			})
290
+
291
+			//                   
292
+
293
+			function goRight() {
294
+
295
+				/*执行删除*/
296
+				var ids = $.map($('#list').bootstrapTable('getSelections'),
297
+					function(row) {
298
+						return row.F_QuestionId;
299
+					});
300
+				$.ajax({
301
+					type: 'POST',
302
+					url: huayi.config.callcenter_url + "Questionnaire/AddPagerItems",
303
+					data: {
304
+						ids: ids,
305
+						pid: wid,
306
+						token: $.cookie("token")
307
+					},
308
+					dataType: 'JSON',
309
+					success: function(data, textStatus, jqXHR) {
310
+						$('#list').bootstrapTable('refresh');
311
+						$('#lists').bootstrapTable('refresh');
312
+					},
313
+					error: function() {
314
+						alert("error");
315
+					}
316
+				});
317
+
318
+			}
319
+			//右边移动
320
+			function rightMove() {
321
+				var changes = $.map($('#lists').bootstrapTable('getSelections'), function(row) {
322
+					return row.F_ItemId;
323
+
324
+				});
325
+				if(changes.length <= 0) {
326
+					layer.confirm('请选择一项移出!', {
327
+						btn: ['确定']
328
+					});
329
+					return;
330
+				} else {
331
+					goLeft(changes)
332
+				}
333
+
334
+			}
335
+
336
+			function goLeft(ids) {
337
+				$.ajax({
338
+					type: 'POST',
339
+					url: huayi.config.callcenter_url + "Questionnaire/DelPagerItems",
340
+					data: {
341
+						ids: ids,
342
+						token: $.cookie("token")
343
+					},
344
+					dataType: 'JSON',
345
+					success: function(data, textStatus, jqXHR) {
346
+						$('#list').bootstrapTable('refresh');
347
+						$('#lists').bootstrapTable('refresh');
348
+					},
349
+					error: function() {
350
+						alert("error");
351
+					}
352
+				});
353
+
354
+			}
355
+		</script>
356
+	</body>
357
+
358
+</html>

+ 298 - 0
CallCenterWeb.UI/Questionnaire/bbb.js

@@ -0,0 +1,298 @@
1
+var keys;
2
+var Cids; //分类id
3
+var ids; //指标id
4
+var CategoryName; //分类名称
5
+var Sort; //排序
6
+var Score; //分数
7
+var Title; //标题
8
+var Remark; //备注
9
+var Pid; //父id
10
+var Left_Cids;
11
+var Left_Sort;
12
+var Left_Score;
13
+var Left_Pid;
14
+var $tableLeft = $('#tbr');
15
+var $tableLeft1 = $('#tb1');
16
+var token = $.cookie("token");
17
+var Str;
18
+var Type;
19
+
20
+$(document).ready(function() {
21
+	Finish();
22
+	IndexCategoryGe();
23
+
24
+})
25
+
26
+//所有指标
27
+$(".rightAll").click(function() {
28
+	Finish();
29
+
30
+});
31
+//搜索功能
32
+$(".searchGo").click(function() {
33
+	Finish();
34
+});
35
+//下拉框
36
+$("#Quetions").on("change", function() {
37
+	Finish();
38
+})
39
+
40
+//清空选项
41
+function Clean() {
42
+	$(".model").hide();
43
+	$("._CategoryName").val("");
44
+	$("._Score").val('');
45
+	$("._Sort").val('');
46
+	$(".F_Title").val('');
47
+	$(".F_Remark").val('');
48
+}
49
+
50
+////左边表格
51
+/*获取选中行对象*/
52
+$tableLeft1.on("click-row.bs.table", function(e, row, ele) {
53
+	$('.success').removeClass('success'); //去除之前选中的行的,选中样式
54
+	$(ele).addClass('success'); //添加当前选中的 success样式用于区别
55
+	Left_Cids = row.F_CategoryId; //分类ID
56
+	console.log(Left_Cids);
57
+	Finish(Left_Cids); //右边列表
58
+});
59
+//获取试题分类列表	    ///左边列表
60
+function IndexCategoryGe() {
61
+	//销毁表格
62
+	$tableLeft1.bootstrapTable('destroy');
63
+	//初始化表格,动态从服务器加载数据
64
+	$tableLeft1.bootstrapTable({
65
+		method: "get", //使用get请求到服务器获取数据
66
+		url: huayi.config.callcenter_url + "Questionnaire/GetQCategoryList",
67
+		contentType: 'application/x-www-form-urlencoded',
68
+		striped: true, //表格显示条纹
69
+		pagination: true, //启动分页
70
+		pageSize: 10, //每页显示的记录数
71
+		pageNumber: 1, //当前第几页
72
+		pageList: [5, 20, 50, 100], //记录数可选列表
73
+		search: false, //是否启用查询
74
+		showColumns: false, //显示下拉框勾选要显示的列
75
+		showRefresh: false, //显示刷新按钮
76
+		sidePagination: "server", //表示服务端请求
77
+		//设置为undefined可以获取pageNumber,pageSize,searchText,sortName,sortOrder
78
+		//设置为limit可以获取limit, offset, search, sort, order
79
+		queryParamsType: "undefined",
80
+		queryParams: function queryParams(params) { //设置查询参数
81
+			var param = {
82
+				pageindex: params.pageNumber,
83
+				pagesize: params.pageSize,
84
+				token: token
85
+			};
86
+			return param;
87
+		},
88
+		onLoadSuccess: function() { //加载成功时执行
89
+			//								layer.msg("加载成功");
90
+		},
91
+		onLoadError: function() { //加载失败时执行
92
+			//layer.msg("加载数据失败", { time: 1500, icon: 2 });
93
+		}
94
+	});
95
+}
96
+
97
+//删除左边删除
98
+$('.leftDelete').click(function() {
99
+	if(Left_Cids) {
100
+
101
+		DelIndexCategory(Left_Cids);
102
+	} else {
103
+		layer.msg('没有可删除的选项!');
104
+	}
105
+})
106
+//删除功能
107
+function DelIndexCategory(Left_Cids) {
108
+	$.ajax({
109
+		type: "get",
110
+		url: huayi.config.callcenter_url + "Questionnaire/DeleteQCategory",
111
+		//url: '//117.158.196.116:8878/IndexCategory/DelIndexCategory',
112
+		dataType: 'json',
113
+		data: {
114
+			id: Left_Cids,
115
+			token: token
116
+		},
117
+		async: true,
118
+		success: function(data) {
119
+			layer.msg("删除成功");
120
+			IndexCategoryGe();
121
+		}
122
+	});
123
+}
124
+///左边修改功能
125
+$(".leftChange ").click(function() {
126
+	if(Left_Cids) {
127
+		Str = Left_Cids;
128
+		console.log(Str);
129
+		layer.open({
130
+			type: 2,
131
+			content: "../Questionnaire/modify.html?str=" + Str, //iframe的url,no代表不显示滚动条
132
+			title: '修改分类',
133
+			area: ['35%', '30%'], //宽高
134
+		});
135
+		//			GetIndexCategory(Left_Cids);
136
+
137
+	} else {
138
+		layer.msg('没有可修改的选项!');
139
+	}
140
+})
141
+
142
+//增加
143
+$(".leftAdd").click(function() {
144
+	layer.open({
145
+		type: 2,
146
+		content: "../Questionnaire/add.html", //iframe的url,no代表不显示滚动条
147
+		title: '添加分类',
148
+		area: ['35%', '30%'], //宽高
149
+	});
150
+});
151
+
152
+/////////////////////////右边表格
153
+function Finish() {
154
+	//销毁表格
155
+	$tableLeft.bootstrapTable('destroy');
156
+	//初始化表格,动态从服务器加载数据
157
+	$tableLeft.bootstrapTable({
158
+		method: "get", //使用get请求到服务器获取数据
159
+		url: huayi.config.callcenter_url + "QCSettings/GetList",
160
+		//			url: "//117.158.196.116:8878/IndexBase/GetList",
161
+		contentType: 'application/x-www-form-urlencoded',
162
+		striped: true, //表格显示条纹
163
+		pagination: true, //启动分页
164
+		pageSize: 10, //每页显示的记录数
165
+		pageNumber: 1, //当前第几页
166
+		pageList: [5, 20, 50, 100], //记录数可选列表
167
+		search: false, //是否启用查询
168
+		showColumns: false, //显示下拉框勾选要显示的列
169
+		showRefresh: false, //显示刷新按钮
170
+		sidePagination: "server", //表示服务端请求
171
+		//设置为undefined可以获取pageNumber,pageSize,searchText,sortName,sortOrder
172
+		//设置为limit可以获取limit, offset, search, sort, order
173
+		queryParamsType: "undefined",
174
+		queryParams: function queryParams(params) { //设置查询参数
175
+			var param = {
176
+				pageindex: params.pageNumber,
177
+				pagesize: params.pageSize,
178
+				CategoryId: Left_Cids,
179
+				SelectType: $("#Quetions").val(),
180
+				Key: $("#KeyWords").val(),
181
+				token: token,
182
+
183
+			};
184
+			return param;
185
+		},
186
+		onLoadSuccess: function() { //加载成功时执行
187
+			//								layer.msg("加载成功");
188
+
189
+		},
190
+		onLoadError: function() { //加载失败时执行
191
+			//layer.msg("加载数据失败", { time: 1500, icon: 2 });
192
+		}
193
+	});
194
+}
195
+
196
+/*获取选中行对象*/
197
+$tableLeft.on("click-row.bs.table", function(e, row, ele) {
198
+	$('.success').removeClass('success'); //去除之前选中的行的,选中样式
199
+	$(ele).addClass('success'); //添加当前选中的 success样式用于区别
200
+	Cids = row.F_QuestionId; //试题ID
201
+	console.log(Cids);
202
+	ids = row.F_CategoryId; //分类ID
203
+
204
+});
205
+//增加
206
+$(".rightAdd").click(function() {
207
+	Str = Left_Cids;
208
+	console.log(Str);
209
+	layer.open({
210
+		type: 2,
211
+		content: "../Questionnaire/AddRight.html?str=" + Str, //iframe的url,no代表不显示滚动条
212
+		title: '添加分类',
213
+		area: ['45%', '60%'], //宽高
214
+	});
215
+
216
+})
217
+//修改功能
218
+$(".rightChange ").click(function() {
219
+	if(Cids) {
220
+		layer.open({
221
+			type: 2,
222
+			content: "../Questionnaire/XgRight.html?Cids=" + Cids, //iframe的url,no代表不显示滚动条
223
+			title: '修改试题',
224
+			area: ['45%', '60%'], //宽高
225
+		});
226
+
227
+	} else {
228
+		layer.msg('没有可修改的选项!');
229
+	}
230
+})
231
+//删除
232
+$('.rightDelete').click(function() {
233
+	if(Cids) {
234
+		console.log(Cids);
235
+		Delet(Cids);
236
+	} else {
237
+		layer.msg('没有可删除的选项!');
238
+
239
+	}
240
+})
241
+//编号
242
+function setCode(val, row, index) {
243
+	return index + 1;
244
+}
245
+//类型操作
246
+function Type(val) {
247
+	var cs = '';
248
+	var vals = '';
249
+	if(val == 1) {
250
+		cs = 'w';
251
+		vals = "问答题"
252
+	} else if(val == 2) {
253
+		cs = 'd';
254
+		vals = "单选题"
255
+	} else {
256
+		cs = 'du'
257
+		vals = "多选题"
258
+	}
259
+
260
+	return '<a class="' + cs + '">' + vals + '</a>'
261
+	console.log(val);
262
+}
263
+//操作
264
+function Code(val, row) {
265
+	if(val > 1) {
266
+		return '<a onclick="XG(' + row.F_QuestionId + ')">操作</a>'
267
+	}
268
+}
269
+
270
+function XG(val) {
271
+	layer.open({
272
+		type: 2,
273
+		content: "../Questionnaire/addCheck.html?str=" + val, //iframe的url,no代表不显示滚动条
274
+		title: '试题选项',
275
+		area: ['45%', '60%'], //宽高
276
+	});
277
+}
278
+
279
+//删除试题
280
+function Delet(Cids) {
281
+	$.ajax({
282
+		type: "get",
283
+		url: huayi.config.callcenter_url + "/Questionnaire/DeleteQuestion",
284
+		dataType: 'json',
285
+		data: {
286
+			id: Cids,
287
+			token: token
288
+		},
289
+		async: true,
290
+		success: function(data) {
291
+			if(data.state.toLowerCase() == 'success') {
292
+				layer.msg("删除成功");
293
+				Finish();
294
+			}
295
+
296
+		}
297
+	});
298
+}

+ 663 - 0
CallCenterWeb.UI/Questionnaire/bootstrap-editable.css

@@ -0,0 +1,663 @@
1
+/*! X-editable - v1.5.1 
2
+* In-place editing with Twitter Bootstrap, jQuery UI or pure jQuery
3
+* http://github.com/vitalets/x-editable
4
+* Copyright (c) 2013 Vitaliy Potapov; Licensed MIT */
5
+.editableform {
6
+    margin-bottom: 0; /* overwrites bootstrap margin */
7
+}
8
+
9
+.editableform .control-group {
10
+    margin-bottom: 0; /* overwrites bootstrap margin */
11
+    white-space: nowrap; /* prevent wrapping buttons on new line */
12
+    line-height: 20px; /* overwriting bootstrap line-height. See #133 */
13
+}
14
+
15
+/* 
16
+  BS3 width:1005 for inputs breaks editable form in popup 
17
+  See: https://github.com/vitalets/x-editable/issues/393
18
+*/
19
+.editableform .form-control {
20
+    width: auto;
21
+}
22
+
23
+.editable-buttons {
24
+   display: inline-block; /* should be inline to take effect of parent's white-space: nowrap */
25
+   vertical-align: top;
26
+   margin-left: 7px;
27
+   /* inline-block emulation for IE7*/
28
+   zoom: 1; 
29
+   *display: inline;
30
+}
31
+
32
+.editable-buttons.editable-buttons-bottom {
33
+   display: block; 
34
+   margin-top: 7px;
35
+   margin-left: 0;
36
+}
37
+
38
+.editable-input {
39
+    vertical-align: top; 
40
+    display: inline-block; /* should be inline to take effect of parent's white-space: nowrap */
41
+    width: auto; /* bootstrap-responsive has width: 100% that breakes layout */
42
+    white-space: normal; /* reset white-space decalred in parent*/
43
+   /* display-inline emulation for IE7*/
44
+   zoom: 1; 
45
+   *display: inline;   
46
+}
47
+
48
+.editable-buttons .editable-cancel {
49
+   margin-left: 7px; 
50
+}
51
+
52
+/*for jquery-ui buttons need set height to look more pretty*/
53
+.editable-buttons button.ui-button-icon-only {
54
+   height: 24px; 
55
+   width: 30px;
56
+}
57
+
58
+.editableform-loading {
59
+    background: url('../img/loading.gif') center center no-repeat;  
60
+    height: 25px;
61
+    width: auto; 
62
+    min-width: 25px; 
63
+}
64
+
65
+.editable-inline .editableform-loading {
66
+    background-position: left 5px;      
67
+}
68
+
69
+ .editable-error-block {
70
+    max-width: 300px;
71
+    margin: 5px 0 0 0;
72
+    width: auto;
73
+    white-space: normal;
74
+}
75
+
76
+/*add padding for jquery ui*/
77
+.editable-error-block.ui-state-error {
78
+    padding: 3px;  
79
+}  
80
+
81
+.editable-error {
82
+   color: red;  
83
+}
84
+
85
+/* ---- For specific types ---- */
86
+
87
+.editableform .editable-date {
88
+    padding: 0; 
89
+    margin: 0;
90
+    float: left;
91
+}
92
+
93
+/* move datepicker icon to center of add-on button. See https://github.com/vitalets/x-editable/issues/183 */
94
+.editable-inline .add-on .icon-th {
95
+   margin-top: 3px;
96
+   margin-left: 1px; 
97
+}
98
+
99
+
100
+/* checklist vertical alignment */
101
+.editable-checklist label input[type="checkbox"], 
102
+.editable-checklist label span {
103
+    vertical-align: middle;
104
+    margin: 0;
105
+}
106
+
107
+.editable-checklist label {
108
+    white-space: nowrap; 
109
+}
110
+
111
+/* set exact width of textarea to fit buttons toolbar */
112
+.editable-wysihtml5 {
113
+    width: 566px; 
114
+    height: 250px; 
115
+}
116
+
117
+/* clear button shown as link in date inputs */
118
+.editable-clear {
119
+   clear: both;
120
+   font-size: 0.9em;
121
+   text-decoration: none;
122
+   text-align: right;
123
+}
124
+
125
+/* IOS-style clear button for text inputs */
126
+.editable-clear-x {
127
+   background: url('../img/clear.png') center center no-repeat;
128
+   display: block;
129
+   width: 13px;    
130
+   height: 13px;
131
+   position: absolute;
132
+   opacity: 0.6;
133
+   z-index: 100;
134
+   
135
+   top: 50%;
136
+   right: 6px;
137
+   margin-top: -6px;
138
+   
139
+}
140
+
141
+.editable-clear-x:hover {
142
+   opacity: 1;
143
+}
144
+
145
+.editable-pre-wrapped {
146
+   white-space: pre-wrap;
147
+}
148
+.editable-container.editable-popup {
149
+    max-width: none !important; /* without this rule poshytip/tooltip does not stretch */
150
+}  
151
+
152
+.editable-container.popover {
153
+    width: auto; /* without this rule popover does not stretch */
154
+}
155
+
156
+.editable-container.editable-inline {
157
+    display: inline-block; 
158
+    vertical-align: middle;
159
+    width: auto;
160
+    /* inline-block emulation for IE7*/
161
+    zoom: 1; 
162
+    *display: inline;    
163
+}
164
+
165
+.editable-container.ui-widget {
166
+   font-size: inherit;  /* jqueryui widget font 1.1em too big, overwrite it */
167
+   z-index: 9990; /* should be less than select2 dropdown z-index to close dropdown first when click */
168
+}
169
+.editable-click, 
170
+a.editable-click, 
171
+a.editable-click:hover {
172
+    text-decoration: none;
173
+    border-bottom: dashed 1px #0088cc;
174
+}
175
+
176
+.editable-click.editable-disabled, 
177
+a.editable-click.editable-disabled, 
178
+a.editable-click.editable-disabled:hover {
179
+   color: #585858;  
180
+   cursor: default;
181
+   border-bottom: none;
182
+}
183
+
184
+.editable-empty, .editable-empty:hover, .editable-empty:focus{
185
+  font-style: italic; 
186
+  color: #DD1144;  
187
+  /* border-bottom: none; */
188
+  text-decoration: none;
189
+}
190
+
191
+.editable-unsaved {
192
+  font-weight: bold; 
193
+}
194
+
195
+.editable-unsaved:after {
196
+/*    content: '*'*/
197
+}
198
+
199
+.editable-bg-transition {
200
+  -webkit-transition: background-color 1400ms ease-out;
201
+  -moz-transition: background-color 1400ms ease-out;
202
+  -o-transition: background-color 1400ms ease-out;
203
+  -ms-transition: background-color 1400ms ease-out;
204
+  transition: background-color 1400ms ease-out;  
205
+}
206
+
207
+/*see https://github.com/vitalets/x-editable/issues/139 */
208
+.form-horizontal .editable
209
+{ 
210
+    padding-top: 5px;
211
+    display:inline-block;
212
+}
213
+
214
+
215
+/*!
216
+ * Datepicker for Bootstrap
217
+ *
218
+ * Copyright 2012 Stefan Petre
219
+ * Improvements by Andrew Rowls
220
+ * Licensed under the Apache License v2.0
221
+ * http://www.apache.org/licenses/LICENSE-2.0
222
+ *
223
+ */
224
+.datepicker {
225
+  padding: 4px;
226
+  -webkit-border-radius: 4px;
227
+  -moz-border-radius: 4px;
228
+  border-radius: 4px;
229
+  direction: ltr;
230
+  /*.dow {
231
+		border-top: 1px solid #ddd !important;
232
+	}*/
233
+
234
+}
235
+.datepicker-inline {
236
+  width: 220px;
237
+}
238
+.datepicker.datepicker-rtl {
239
+  direction: rtl;
240
+}
241
+.datepicker.datepicker-rtl table tr td span {
242
+  float: right;
243
+}
244
+.datepicker-dropdown {
245
+  top: 0;
246
+  left: 0;
247
+}
248
+.datepicker-dropdown:before {
249
+  content: '';
250
+  display: inline-block;
251
+  border-left: 7px solid transparent;
252
+  border-right: 7px solid transparent;
253
+  border-bottom: 7px solid #ccc;
254
+  border-bottom-color: rgba(0, 0, 0, 0.2);
255
+  position: absolute;
256
+  top: -7px;
257
+  left: 6px;
258
+}
259
+.datepicker-dropdown:after {
260
+  content: '';
261
+  display: inline-block;
262
+  border-left: 6px solid transparent;
263
+  border-right: 6px solid transparent;
264
+  border-bottom: 6px solid #ffffff;
265
+  position: absolute;
266
+  top: -6px;
267
+  left: 7px;
268
+}
269
+.datepicker > div {
270
+  display: none;
271
+}
272
+.datepicker.days div.datepicker-days {
273
+  display: block;
274
+}
275
+.datepicker.months div.datepicker-months {
276
+  display: block;
277
+}
278
+.datepicker.years div.datepicker-years {
279
+  display: block;
280
+}
281
+.datepicker table {
282
+  margin: 0;
283
+}
284
+.datepicker td,
285
+.datepicker th {
286
+  text-align: center;
287
+  width: 20px;
288
+  height: 20px;
289
+  -webkit-border-radius: 4px;
290
+  -moz-border-radius: 4px;
291
+  border-radius: 4px;
292
+  border: none;
293
+}
294
+.table-striped .datepicker table tr td,
295
+.table-striped .datepicker table tr th {
296
+  background-color: transparent;
297
+}
298
+.datepicker table tr td.day:hover {
299
+  background: #eeeeee;
300
+  cursor: pointer;
301
+}
302
+.datepicker table tr td.old,
303
+.datepicker table tr td.new {
304
+  color: #999999;
305
+}
306
+.datepicker table tr td.disabled,
307
+.datepicker table tr td.disabled:hover {
308
+  background: none;
309
+  color: #999999;
310
+  cursor: default;
311
+}
312
+.datepicker table tr td.today,
313
+.datepicker table tr td.today:hover,
314
+.datepicker table tr td.today.disabled,
315
+.datepicker table tr td.today.disabled:hover {
316
+  background-color: #fde19a;
317
+  background-image: -moz-linear-gradient(top, #fdd49a, #fdf59a);
318
+  background-image: -ms-linear-gradient(top, #fdd49a, #fdf59a);
319
+  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#fdd49a), to(#fdf59a));
320
+  background-image: -webkit-linear-gradient(top, #fdd49a, #fdf59a);
321
+  background-image: -o-linear-gradient(top, #fdd49a, #fdf59a);
322
+  background-image: linear-gradient(top, #fdd49a, #fdf59a);
323
+  background-repeat: repeat-x;
324
+  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fdd49a', endColorstr='#fdf59a', GradientType=0);
325
+  border-color: #fdf59a #fdf59a #fbed50;
326
+  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
327
+  filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
328
+  color: #000;
329
+}
330
+.datepicker table tr td.today:hover,
331
+.datepicker table tr td.today:hover:hover,
332
+.datepicker table tr td.today.disabled:hover,
333
+.datepicker table tr td.today.disabled:hover:hover,
334
+.datepicker table tr td.today:active,
335
+.datepicker table tr td.today:hover:active,
336
+.datepicker table tr td.today.disabled:active,
337
+.datepicker table tr td.today.disabled:hover:active,
338
+.datepicker table tr td.today.active,
339
+.datepicker table tr td.today:hover.active,
340
+.datepicker table tr td.today.disabled.active,
341
+.datepicker table tr td.today.disabled:hover.active,
342
+.datepicker table tr td.today.disabled,
343
+.datepicker table tr td.today:hover.disabled,
344
+.datepicker table tr td.today.disabled.disabled,
345
+.datepicker table tr td.today.disabled:hover.disabled,
346
+.datepicker table tr td.today[disabled],
347
+.datepicker table tr td.today:hover[disabled],
348
+.datepicker table tr td.today.disabled[disabled],
349
+.datepicker table tr td.today.disabled:hover[disabled] {
350
+  background-color: #fdf59a;
351
+}
352
+.datepicker table tr td.today:active,
353
+.datepicker table tr td.today:hover:active,
354
+.datepicker table tr td.today.disabled:active,
355
+.datepicker table tr td.today.disabled:hover:active,
356
+.datepicker table tr td.today.active,
357
+.datepicker table tr td.today:hover.active,
358
+.datepicker table tr td.today.disabled.active,
359
+.datepicker table tr td.today.disabled:hover.active {
360
+  background-color: #fbf069 \9;
361
+}
362
+.datepicker table tr td.today:hover:hover {
363
+  color: #000;
364
+}
365
+.datepicker table tr td.today.active:hover {
366
+  color: #fff;
367
+}
368
+.datepicker table tr td.range,
369
+.datepicker table tr td.range:hover,
370
+.datepicker table tr td.range.disabled,
371
+.datepicker table tr td.range.disabled:hover {
372
+  background: #eeeeee;
373
+  -webkit-border-radius: 0;
374
+  -moz-border-radius: 0;
375
+  border-radius: 0;
376
+}
377
+.datepicker table tr td.range.today,
378
+.datepicker table tr td.range.today:hover,
379
+.datepicker table tr td.range.today.disabled,
380
+.datepicker table tr td.range.today.disabled:hover {
381
+  background-color: #f3d17a;
382
+  background-image: -moz-linear-gradient(top, #f3c17a, #f3e97a);
383
+  background-image: -ms-linear-gradient(top, #f3c17a, #f3e97a);
384
+  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#f3c17a), to(#f3e97a));
385
+  background-image: -webkit-linear-gradient(top, #f3c17a, #f3e97a);
386
+  background-image: -o-linear-gradient(top, #f3c17a, #f3e97a);
387
+  background-image: linear-gradient(top, #f3c17a, #f3e97a);
388
+  background-repeat: repeat-x;
389
+  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f3c17a', endColorstr='#f3e97a', GradientType=0);
390
+  border-color: #f3e97a #f3e97a #edde34;
391
+  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
392
+  filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
393
+  -webkit-border-radius: 0;
394
+  -moz-border-radius: 0;
395
+  border-radius: 0;
396
+}
397
+.datepicker table tr td.range.today:hover,
398
+.datepicker table tr td.range.today:hover:hover,
399
+.datepicker table tr td.range.today.disabled:hover,
400
+.datepicker table tr td.range.today.disabled:hover:hover,
401
+.datepicker table tr td.range.today:active,
402
+.datepicker table tr td.range.today:hover:active,
403
+.datepicker table tr td.range.today.disabled:active,
404
+.datepicker table tr td.range.today.disabled:hover:active,
405
+.datepicker table tr td.range.today.active,
406
+.datepicker table tr td.range.today:hover.active,
407
+.datepicker table tr td.range.today.disabled.active,
408
+.datepicker table tr td.range.today.disabled:hover.active,
409
+.datepicker table tr td.range.today.disabled,
410
+.datepicker table tr td.range.today:hover.disabled,
411
+.datepicker table tr td.range.today.disabled.disabled,
412
+.datepicker table tr td.range.today.disabled:hover.disabled,
413
+.datepicker table tr td.range.today[disabled],
414
+.datepicker table tr td.range.today:hover[disabled],
415
+.datepicker table tr td.range.today.disabled[disabled],
416
+.datepicker table tr td.range.today.disabled:hover[disabled] {
417
+  background-color: #f3e97a;
418
+}
419
+.datepicker table tr td.range.today:active,
420
+.datepicker table tr td.range.today:hover:active,
421
+.datepicker table tr td.range.today.disabled:active,
422
+.datepicker table tr td.range.today.disabled:hover:active,
423
+.datepicker table tr td.range.today.active,
424
+.datepicker table tr td.range.today:hover.active,
425
+.datepicker table tr td.range.today.disabled.active,
426
+.datepicker table tr td.range.today.disabled:hover.active {
427
+  background-color: #efe24b \9;
428
+}
429
+.datepicker table tr td.selected,
430
+.datepicker table tr td.selected:hover,
431
+.datepicker table tr td.selected.disabled,
432
+.datepicker table tr td.selected.disabled:hover {
433
+  background-color: #9e9e9e;
434
+  background-image: -moz-linear-gradient(top, #b3b3b3, #808080);
435
+  background-image: -ms-linear-gradient(top, #b3b3b3, #808080);
436
+  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#b3b3b3), to(#808080));
437
+  background-image: -webkit-linear-gradient(top, #b3b3b3, #808080);
438
+  background-image: -o-linear-gradient(top, #b3b3b3, #808080);
439
+  background-image: linear-gradient(top, #b3b3b3, #808080);
440
+  background-repeat: repeat-x;
441
+  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#b3b3b3', endColorstr='#808080', GradientType=0);
442
+  border-color: #808080 #808080 #595959;
443
+  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
444
+  filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
445
+  color: #fff;
446
+  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
447
+}
448
+.datepicker table tr td.selected:hover,
449
+.datepicker table tr td.selected:hover:hover,
450
+.datepicker table tr td.selected.disabled:hover,
451
+.datepicker table tr td.selected.disabled:hover:hover,
452
+.datepicker table tr td.selected:active,
453
+.datepicker table tr td.selected:hover:active,
454
+.datepicker table tr td.selected.disabled:active,
455
+.datepicker table tr td.selected.disabled:hover:active,
456
+.datepicker table tr td.selected.active,
457
+.datepicker table tr td.selected:hover.active,
458
+.datepicker table tr td.selected.disabled.active,
459
+.datepicker table tr td.selected.disabled:hover.active,
460
+.datepicker table tr td.selected.disabled,
461
+.datepicker table tr td.selected:hover.disabled,
462
+.datepicker table tr td.selected.disabled.disabled,
463
+.datepicker table tr td.selected.disabled:hover.disabled,
464
+.datepicker table tr td.selected[disabled],
465
+.datepicker table tr td.selected:hover[disabled],
466
+.datepicker table tr td.selected.disabled[disabled],
467
+.datepicker table tr td.selected.disabled:hover[disabled] {
468
+  background-color: #808080;
469
+}
470
+.datepicker table tr td.selected:active,
471
+.datepicker table tr td.selected:hover:active,
472
+.datepicker table tr td.selected.disabled:active,
473
+.datepicker table tr td.selected.disabled:hover:active,
474
+.datepicker table tr td.selected.active,
475
+.datepicker table tr td.selected:hover.active,
476
+.datepicker table tr td.selected.disabled.active,
477
+.datepicker table tr td.selected.disabled:hover.active {
478
+  background-color: #666666 \9;
479
+}
480
+.datepicker table tr td.active,
481
+.datepicker table tr td.active:hover,
482
+.datepicker table tr td.active.disabled,
483
+.datepicker table tr td.active.disabled:hover {
484
+  background-color: #006dcc;
485
+  background-image: -moz-linear-gradient(top, #0088cc, #0044cc);
486
+  background-image: -ms-linear-gradient(top, #0088cc, #0044cc);
487
+  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0044cc));
488
+  background-image: -webkit-linear-gradient(top, #0088cc, #0044cc);
489
+  background-image: -o-linear-gradient(top, #0088cc, #0044cc);
490
+  background-image: linear-gradient(top, #0088cc, #0044cc);
491
+  background-repeat: repeat-x;
492
+  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#0088cc', endColorstr='#0044cc', GradientType=0);
493
+  border-color: #0044cc #0044cc #002a80;
494
+  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
495
+  filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
496
+  color: #fff;
497
+  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
498
+}
499
+.datepicker table tr td.active:hover,
500
+.datepicker table tr td.active:hover:hover,
501
+.datepicker table tr td.active.disabled:hover,
502
+.datepicker table tr td.active.disabled:hover:hover,
503
+.datepicker table tr td.active:active,
504
+.datepicker table tr td.active:hover:active,
505
+.datepicker table tr td.active.disabled:active,
506
+.datepicker table tr td.active.disabled:hover:active,
507
+.datepicker table tr td.active.active,
508
+.datepicker table tr td.active:hover.active,
509
+.datepicker table tr td.active.disabled.active,
510
+.datepicker table tr td.active.disabled:hover.active,
511
+.datepicker table tr td.active.disabled,
512
+.datepicker table tr td.active:hover.disabled,
513
+.datepicker table tr td.active.disabled.disabled,
514
+.datepicker table tr td.active.disabled:hover.disabled,
515
+.datepicker table tr td.active[disabled],
516
+.datepicker table tr td.active:hover[disabled],
517
+.datepicker table tr td.active.disabled[disabled],
518
+.datepicker table tr td.active.disabled:hover[disabled] {
519
+  background-color: #0044cc;
520
+}
521
+.datepicker table tr td.active:active,
522
+.datepicker table tr td.active:hover:active,
523
+.datepicker table tr td.active.disabled:active,
524
+.datepicker table tr td.active.disabled:hover:active,
525
+.datepicker table tr td.active.active,
526
+.datepicker table tr td.active:hover.active,
527
+.datepicker table tr td.active.disabled.active,
528
+.datepicker table tr td.active.disabled:hover.active {
529
+  background-color: #003399 \9;
530
+}
531
+.datepicker table tr td span {
532
+  display: block;
533
+  width: 23%;
534
+  height: 54px;
535
+  line-height: 54px;
536
+  float: left;
537
+  margin: 1%;
538
+  cursor: pointer;
539
+  -webkit-border-radius: 4px;
540
+  -moz-border-radius: 4px;
541
+  border-radius: 4px;
542
+}
543
+.datepicker table tr td span:hover {
544
+  background: #eeeeee;
545
+}
546
+.datepicker table tr td span.disabled,
547
+.datepicker table tr td span.disabled:hover {
548
+  background: none;
549
+  color: #999999;
550
+  cursor: default;
551
+}
552
+.datepicker table tr td span.active,
553
+.datepicker table tr td span.active:hover,
554
+.datepicker table tr td span.active.disabled,
555
+.datepicker table tr td span.active.disabled:hover {
556
+  background-color: #006dcc;
557
+  background-image: -moz-linear-gradient(top, #0088cc, #0044cc);
558
+  background-image: -ms-linear-gradient(top, #0088cc, #0044cc);
559
+  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0044cc));
560
+  background-image: -webkit-linear-gradient(top, #0088cc, #0044cc);
561
+  background-image: -o-linear-gradient(top, #0088cc, #0044cc);
562
+  background-image: linear-gradient(top, #0088cc, #0044cc);
563
+  background-repeat: repeat-x;
564
+  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#0088cc', endColorstr='#0044cc', GradientType=0);
565
+  border-color: #0044cc #0044cc #002a80;
566
+  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
567
+  filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
568
+  color: #fff;
569
+  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
570
+}
571
+.datepicker table tr td span.active:hover,
572
+.datepicker table tr td span.active:hover:hover,
573
+.datepicker table tr td span.active.disabled:hover,
574
+.datepicker table tr td span.active.disabled:hover:hover,
575
+.datepicker table tr td span.active:active,
576
+.datepicker table tr td span.active:hover:active,
577
+.datepicker table tr td span.active.disabled:active,
578
+.datepicker table tr td span.active.disabled:hover:active,
579
+.datepicker table tr td span.active.active,
580
+.datepicker table tr td span.active:hover.active,
581
+.datepicker table tr td span.active.disabled.active,
582
+.datepicker table tr td span.active.disabled:hover.active,
583
+.datepicker table tr td span.active.disabled,
584
+.datepicker table tr td span.active:hover.disabled,
585
+.datepicker table tr td span.active.disabled.disabled,
586
+.datepicker table tr td span.active.disabled:hover.disabled,
587
+.datepicker table tr td span.active[disabled],
588
+.datepicker table tr td span.active:hover[disabled],
589
+.datepicker table tr td span.active.disabled[disabled],
590
+.datepicker table tr td span.active.disabled:hover[disabled] {
591
+  background-color: #0044cc;
592
+}
593
+.datepicker table tr td span.active:active,
594
+.datepicker table tr td span.active:hover:active,
595
+.datepicker table tr td span.active.disabled:active,
596
+.datepicker table tr td span.active.disabled:hover:active,
597
+.datepicker table tr td span.active.active,
598
+.datepicker table tr td span.active:hover.active,
599
+.datepicker table tr td span.active.disabled.active,
600
+.datepicker table tr td span.active.disabled:hover.active {
601
+  background-color: #003399 \9;
602
+}
603
+.datepicker table tr td span.old,
604
+.datepicker table tr td span.new {
605
+  color: #999999;
606
+}
607
+.datepicker th.datepicker-switch {
608
+  width: 145px;
609
+}
610
+.datepicker thead tr:first-child th,
611
+.datepicker tfoot tr th {
612
+  cursor: pointer;
613
+}
614
+.datepicker thead tr:first-child th:hover,
615
+.datepicker tfoot tr th:hover {
616
+  background: #eeeeee;
617
+}
618
+.datepicker .cw {
619
+  font-size: 10px;
620
+  width: 12px;
621
+  padding: 0 2px 0 5px;
622
+  vertical-align: middle;
623
+}
624
+.datepicker thead tr:first-child th.cw {
625
+  cursor: default;
626
+  background-color: transparent;
627
+}
628
+.input-append.date .add-on i,
629
+.input-prepend.date .add-on i {
630
+  display: block;
631
+  cursor: pointer;
632
+  width: 16px;
633
+  height: 16px;
634
+}
635
+.input-daterange input {
636
+  text-align: center;
637
+}
638
+.input-daterange input:first-child {
639
+  -webkit-border-radius: 3px 0 0 3px;
640
+  -moz-border-radius: 3px 0 0 3px;
641
+  border-radius: 3px 0 0 3px;
642
+}
643
+.input-daterange input:last-child {
644
+  -webkit-border-radius: 0 3px 3px 0;
645
+  -moz-border-radius: 0 3px 3px 0;
646
+  border-radius: 0 3px 3px 0;
647
+}
648
+.input-daterange .add-on {
649
+  display: inline-block;
650
+  width: auto;
651
+  min-width: 16px;
652
+  height: 18px;
653
+  padding: 4px 5px;
654
+  font-weight: normal;
655
+  line-height: 18px;
656
+  text-align: center;
657
+  text-shadow: 0 1px 0 #ffffff;
658
+  vertical-align: middle;
659
+  background-color: #eeeeee;
660
+  border: 1px solid #ccc;
661
+  margin-left: -5px;
662
+  margin-right: -5px;
663
+}

File diff suppressed because it is too large
+ 6807 - 0
CallCenterWeb.UI/Questionnaire/bootstrap-editable.js


+ 325 - 0
CallCenterWeb.UI/Questionnaire/detailReportForm.html

@@ -0,0 +1,325 @@
1
+<!DOCTYPE html>
2
+<html>
3
+
4
+	<head>
5
+		<meta charset="UTF-8">
6
+		<title>详情报表</title>
7
+		<meta name="viewport" content="width=device-width, initial-scale=1.0">
8
+		<link href="../css/init.css" rel="stylesheet" />
9
+		<script src="../Script/Common/huayi.load.js"></script>
10
+		<script src="../Script/Common/huayi.config.js"></script>
11
+		<link href="../css/Table/table1.css" rel="stylesheet" />
12
+		<link href="../js/bootstrap-select/css/bootstrap-select.css" rel="stylesheet" />
13
+		<style>
14
+			.LY:hover {
15
+				color: #fff;
16
+			}
17
+			
18
+			.LY:active {
19
+				color: #fff!important;
20
+			}
21
+			
22
+			#Task thead td {
23
+				color: #fff;
24
+				background-color: #1ab394;
25
+				text-align: center;
26
+			}
27
+			
28
+			.table-head table thead {
29
+				width: calc( 100% - 5px);
30
+			}
31
+			
32
+			table thead,
33
+			tbody tr {
34
+				display: table;
35
+				width: 100%;
36
+				table-layout: fixed;
37
+				text-align: center;
38
+			}
39
+			
40
+			.table {
41
+				margin-bottom: 0;
42
+			}
43
+			
44
+			.table-body {
45
+				width: 100%;
46
+				height: 515px;
47
+				overflow-y: scroll;
48
+				overflow-x: scroll;
49
+			}
50
+			
51
+			.seach-box ul {
52
+				overflow: inherit;
53
+			}
54
+			
55
+			.dropdown-menu li {
56
+				float: none;
57
+			}
58
+		</style>
59
+	</head>
60
+
61
+	<body class="gray-bg">
62
+		<div class="wrapper wrapper-content animated fadeInRight">
63
+			<div class="daoHang clearfix">
64
+				<div class="dhLeft">
65
+					<sapn><i class="syIcon"></i>位置:
66
+						<a href="javaScript:;" id="ReIndex">首页</a>&gt;
67
+						<a href="javaScript:;">外呼管理</a>&gt;
68
+						<a href="javaScript:;">外呼报表</a>&gt;
69
+						<a href="" style="color: #000;">详情报表</a>
70
+					</sapn>
71
+				</div>
72
+			</div>
73
+			<div class="th-box">
74
+				<div class="th-bar">
75
+					<div class="seach-box">
76
+						<ul class="clearfix">
77
+							<li>
78
+								<select class="form-control selectpicker" id="taskList" data-live-search="true"></select>
79
+							</li>
80
+							<li>
81
+								<select class="form-control selectpicker" id="questionList" data-live-search="true"></select>
82
+							</li>
83
+							<li>
84
+								<!--<select id="" multiple class="x-color select"></select>-->
85
+								<select class="form-control selectpicker" id="optionsList" multiple data-live-search="true"></select>
86
+							</li>
87
+							<li>
88
+								<input type="text" id="stime" class="photo size-14 laydate-icon" placeholder="请选择开始时间和结束时间" />
89
+							</li>
90
+							<li>
91
+								<a class="sc_btn seach">搜索</a>
92
+							</li>
93
+							<li>
94
+								<a class="sc_btn export">导出</a>
95
+							</li>
96
+						</ul>
97
+					</div>
98
+				</div>
99
+			</div>
100
+			<div style="width: 100%;padding: 10px;">
101
+				<div class="table-head">
102
+					<table id="Task" class="table table-hover table-striped table-bordered table-condensed">
103
+						<colgroup>
104
+							<col style="width: 80px;" />
105
+							<col/>
106
+						</colgroup>
107
+						<thead>
108
+
109
+						</thead>
110
+					</table>
111
+				</div>
112
+				<div class="table-body">
113
+					<table class="thTable hwbb table table-hover table-striped table-bordered table-condensed">
114
+						<colgroup>
115
+							<col style="width: 80px;" />
116
+							<col/>
117
+						</colgroup>
118
+						<tbody>
119
+
120
+						</tbody>
121
+					</table>
122
+				</div>
123
+			</div>
124
+		</div>
125
+		<script src="../js/laydate/laydate.js"></script>
126
+		<script src="../js/bootstrap-select/js/bootstrap-select.js"></script>
127
+		<script src="../js/bootstrap-select/js/i18n/defaults-zh_CN.js"></script>
128
+		<script>
129
+			$(document).ready(function() {
130
+				getProLocations($('#taskList'), $('#questionList'), $('#optionsList'));
131
+				laydate.render({
132
+					elem: '#stime',
133
+					range: '~',
134
+					calendar: true,
135
+					theme: '#1ab394',
136
+				});
137
+				$(".sc_btn").click(function() {
138
+					if(!$.trim($('#taskList').val())) {
139
+						layer.msg('请选择任务');
140
+						return;
141
+					}
142
+					if(!$.trim($('#questionList').val())) {
143
+						layer.msg('请选择任务');
144
+						return;
145
+					}
146
+					$("#Task thead").empty();
147
+					$(".thTable tbody").empty();
148
+					getDataLists();
149
+				})
150
+				//导出功能
151
+				$('.export').click(function() {
152
+					if(!$.trim($('#taskList').val())) {
153
+						layer.msg('请选择任务');
154
+						return;
155
+					}
156
+					if(!$.trim($('#questionList').val())) {
157
+						layer.msg('请选择任务');
158
+						return;
159
+					}
160
+					dcexcel(this);
161
+				})
162
+
163
+			});
164
+			//获取表头 和 数据
165
+			function getDataLists() {
166
+				$.ajax({
167
+						type: "get",
168
+						url: huayi.config.callcenter_url + "CallOutReport/GetColoumnBMY",
169
+						dataType: 'json',
170
+						data: {
171
+							TaskID: $("#taskList").val(), //任务id(必选)
172
+							quesid: $("#questionList").val(), //问题id(必选)
173
+							token: $.cookie("token")
174
+						},
175
+						success: function(data) {
176
+							$("#Task thead").empty();
177
+							if(data.state.toLowerCase() == "success") {
178
+								data = data.data;
179
+								if(data && data.length > 0) {
180
+									var $tr = $('<tr></tr>');
181
+									for(var i = 0; i < data.length; i++) {
182
+										$tr.append('<td>' + data[i] + '</td>');
183
+										$("#Task thead").append($tr);
184
+									}
185
+								}
186
+							}
187
+						}
188
+					})
189
+					.then(function() {
190
+						$.ajax({
191
+							type: "get",
192
+							url: huayi.config.callcenter_url + "CallOutReport/GetReportBMY",
193
+							dataType: 'json',
194
+							data: {
195
+								TaskID: $("#taskList").val(), //任务id(必选)
196
+								quesid: $("#questionList").val(), //问题id(必选)
197
+								ansids: $("#optionsList").val() && $("#optionsList").val().join(','), //选项id(多选,默认可以不选,随着选中的问题id做联动)
198
+								sdate: $("#stime").val() && $("#stime").val().split(' ~ ')[0], // 开始时间
199
+								edate: $("#stime").val() && $("#stime").val().split(' ~ ')[1], // 结束时间
200
+								token: $.cookie("token")
201
+							},
202
+							success: function(data) {
203
+								$(".thTable tbody").empty();
204
+								if(data.state.toLowerCase() == "success") {
205
+									data = data.data;
206
+									if(data && data.length > 0) {
207
+										for(var i = 0; i < data.length; i++) {
208
+											$('<tr><td>' + data[i].name + ' </td>' +
209
+												'<td> ' + data[i].phone + ' </td>' +
210
+												'<td> ' + data[i].answer + ' </td>' +
211
+												'</tr>').appendTo(".hwbb tbody");
212
+										}
213
+									} else {
214
+										$(".thTable tbody").html('<p class="text-center">没有找到您想要的记录呢!我会努力的...</p>');
215
+									}
216
+								} else {
217
+									$(".thTable tbody").html('<p class="text-center">没有找到您想要的记录呢!我会努力的...</p>');
218
+								}
219
+							}
220
+						});
221
+					});
222
+			}
223
+
224
+			function dcexcel(obj) {
225
+				var url = huayi.config.callcenter_url + "CallOutReport/GetReportBMYExpt?token=" + $.cookie("token");
226
+				url += "&TaskID=" + $("#taskList").val();
227
+				url += "&quesid=" + $("#questionList").val();
228
+				url += "&ansids=" + ($("#optionsList").val()  && $("#optionsList").val().join(','));
229
+				url += "&sdate=" + ($("#stime").val() && $("#stime").val().split(' ~ ')[0]); // string 否 开始时间
230
+				url += "&edate=" + ($("#stime").val() && $("#stime").val().split(' ~ ')[1]); // string 否 开始时间
231
+				obj.href = url;
232
+			}
233
+
234
+			//任务列表 问题列表 问题选项 三级联动
235
+			function getProLocations(obj, obj1, obj2) {
236
+				obj.empty();
237
+				obj1.empty();
238
+				obj2.empty();
239
+				obj.append('<option selected="selected" value="">请选择任务</option>');
240
+				obj1.append('<option selected="selected" value="">请选择问题</option>');
241
+				obj2.append('<option selected="selected" value="">请选择选项</option>');
242
+
243
+				$.ajax({
244
+					type: "get",
245
+					url: huayi.config.callcenter_url + "CallOutReport/GetTaskDDL",
246
+					dataType: 'json',
247
+					data: {
248
+						token: $.cookie('token')
249
+					},
250
+					success: function(data) {
251
+						var content = data.data; //任务列表
252
+						//初始化 任务列表
253
+						if(content && content.length > 0) {
254
+							$(content).each(function(i, n) {
255
+								$("<option value='" + n.F_TaskID + "'>" + n.F_TaskName + "</option>").appendTo(obj);
256
+							});
257
+							obj.selectpicker('refresh');
258
+						}
259
+
260
+						//问题列表
261
+						obj.change(function() {
262
+							obj1.empty();
263
+							//获取问题列表
264
+							$.ajax({
265
+								type: "get",
266
+								url: huayi.config.callcenter_url + "CallOutReport/GetQuesDDL",
267
+								dataType: 'json',
268
+								data: {
269
+									taskid: obj.val(), //任务id(默认显示全部)
270
+									token: $.cookie("token")
271
+								},
272
+								success: function(data) {
273
+									if(data.state.toLowerCase() == "success") {
274
+										var Count = data.data;
275
+										if(Count && Count.length > 0) {
276
+											for(var i = 0; i < Count.length; i++) {
277
+												$(Count[i]).each(function(j, v) {
278
+													$("<option value='" + v.F_QuestionId + "'>" + v.F_Title + "</option>").appendTo(obj1);
279
+												});
280
+											}
281
+										}
282
+										obj1.selectpicker('refresh');
283
+										obj1.trigger('change');
284
+									}
285
+								}
286
+							});
287
+						});
288
+
289
+						//选项
290
+						obj1.change(function() {
291
+							obj2.empty();
292
+							//获取选项列表
293
+							$.ajax({
294
+								type: "get",
295
+								url: huayi.config.callcenter_url + "CallOutReport/GetQuesItemDDL",
296
+								dataType: 'json',
297
+								data: {
298
+									quesid: obj1.val(), //问题id(需选中问题后显示)
299
+									token: $.cookie("token")
300
+								},
301
+								success: function(data) {
302
+									if(data.state.toLowerCase() == "success") {
303
+										var Count = data.data;
304
+										if(Count && Count.length > 0) {
305
+											for(var i = 0; i < Count.length; i++) {
306
+												$(Count[i]).each(function(j, v) {
307
+													$("<option value='" + v.F_ItemId + "'>" + v.F_ItemName + "</option>").appendTo(obj2);
308
+												});
309
+											}
310
+											obj2.selectpicker('refresh');
311
+										}
312
+									}
313
+								}
314
+							});
315
+
316
+						});
317
+
318
+					},
319
+				});
320
+			}
321
+		</script>
322
+
323
+	</body>
324
+
325
+</html>

+ 89 - 0
CallCenterWeb.UI/Questionnaire/modify.html

@@ -0,0 +1,89 @@
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/Table/table1.css" rel="stylesheet" />
9
+		<link href="../css/init.css" rel="stylesheet" />
10
+		<title></title>
11
+		<style>
12
+			.Content {
13
+				text-align: center;
14
+				padding: 10px;
15
+			}
16
+			
17
+			.btn {
18
+				background: #1ab394;
19
+			}
20
+			
21
+			.Btn_box {
22
+				margin-top: 20px;
23
+				color: #fff;
24
+			}
25
+		</style>
26
+	</head>
27
+
28
+	<body>
29
+		<div>
30
+			<div class="Content">
31
+				<span>名称:<input type="text" class="name" /></span>
32
+				<div class="Btn_box">
33
+					<button class="rightAll btn size-14">保存</button>
34
+				</div>
35
+			</div>
36
+		</div>
37
+		<script>
38
+			var wid = helper.request.queryString("Str");
39
+			console.log(wid);
40
+			if(wid) {
41
+				//增加分类
42
+					$.ajax({
43
+						type: "post",
44
+						url: huayi.config.callcenter_url + "Questionnaire/GetQCategoryModel",
45
+						dataType: 'json',
46
+						data: {
47
+							id: wid,
48
+							token: $.cookie("token")
49
+						},
50
+						async: true,
51
+						success: function(data) {
52
+							if(data.state == "success") {
53
+								$(".name").val(data.data.F_CategoryName);
54
+								
55
+							}
56
+
57
+						}
58
+					});
59
+				$(".rightAll").click(function() {
60
+					if(!$(".name").val()) {
61
+						layer.msg("名称不能为空");
62
+					}
63
+					//修改分类
64
+					$.ajax({
65
+						type: "post",
66
+						url: huayi.config.callcenter_url + "Questionnaire/CreateOrUpdateQCategory",
67
+						dataType: 'json',
68
+						data: {
69
+							id: wid,
70
+							name: $(".name").val(),
71
+							token: $.cookie("token")
72
+						},
73
+						async: true,
74
+						success: function(data) {
75
+							if(data.state == "success") {
76
+								var index = parent.layer.getFrameIndex(window.name); //先得到当前iframe层的索引
77
+								parent.layer.close(index); //再执行关闭
78
+								parent.IndexCategoryGe();
79
+								parent.layer.msg("修改成功");
80
+							}
81
+
82
+						}
83
+					});
84
+				})
85
+			}
86
+		</script>
87
+	</body>
88
+
89
+</html>

+ 207 - 0
CallCenterWeb.UI/Questionnaire/xgWenjuanxinxi.html

@@ -0,0 +1,207 @@
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/Table/table1.css" rel="stylesheet" />
9
+		<link href="../css/init.css" rel="stylesheet" />
10
+		<link rel="stylesheet" href="../css/Quality/bootstrap-editable.css" />
11
+		<script src="../js/Questions/bootstrap-editable.js"></script>
12
+		<title></title>
13
+		<style>
14
+			table tr {
15
+				margin-bottom: 20px;
16
+			}
17
+			
18
+			table tr td {
19
+				text-align: left;
20
+				padding: 5px;
21
+			}
22
+			
23
+			.Content {
24
+				padding: 10px;
25
+			}
26
+			
27
+			.btn {
28
+				background: #1ab394;
29
+			}
30
+			
31
+			.Btn_box {
32
+				margin-top: 20px;
33
+				color: #fff;
34
+			}
35
+			
36
+			.inpBox select {
37
+				width: 150px;
38
+				padding: 3px 6px;
39
+			}
40
+			
41
+			.F_Remark {
42
+				width: 100%;
43
+				resize: none;
44
+			}
45
+			
46
+			.tab {
47
+				border-bottom: 1px solid #ccc;
48
+			}
49
+			
50
+			.Check_box {
51
+				display: none;
52
+			}
53
+			
54
+			.Show {
55
+				display: block;
56
+			}
57
+			
58
+			#sqzx th {
59
+				width: 100px;
60
+			}
61
+			
62
+			.d {
63
+				color: forestgreen;
64
+			}
65
+			
66
+			.du {
67
+				color: #0064B6;
68
+			}
69
+			
70
+			.w {
71
+				color: #e43926;
72
+			}
73
+		</style>
74
+	</head>
75
+
76
+	<body>
77
+		<div>
78
+			<div class="Content">
79
+				<div class="tab">
80
+
81
+					<table id="sqzx" style="width: 100%;" border="0" cellspacing="0" cellpadding="0">
82
+						<tr>
83
+							<th>问卷名称:</th>
84
+							<td colspan="5">
85
+								<input type="text" class="Title" />
86
+							</td>
87
+						</tr>
88
+						<tr>
89
+							<th>问卷开场语:</th>
90
+							<td colspan="5">
91
+								<textarea name="" class="F_Remark" rows="3" cols="20" id="startText"></textarea>
92
+
93
+							</td>
94
+						</tr>
95
+						<tr>
96
+							<th>问卷说明:</th>
97
+							<td colspan="5">
98
+								<textarea name="" rows="3" cols="20" class="F_Remark" id="F_Remark"></textarea>
99
+
100
+							</td>
101
+						</tr>
102
+						<tr>
103
+							<th>问卷结束语:</th>
104
+							<td colspan="5">
105
+								<textarea name="" class="F_Remark" rows="3" cols="20" id="endText"></textarea>
106
+
107
+							</td>
108
+						</tr>
109
+
110
+					</table>
111
+
112
+				</div>
113
+				<div style="text-align: center; margin-top: 50px;">
114
+					<button class="btns add size-14">保存</button>
115
+				</div>
116
+			</div>
117
+		</div>
118
+		<script src="../js/autosize/autosize.js"></script>
119
+		<script>
120
+			var wid = helper.request.queryString("Str");
121
+			$(document).ready(function() {
122
+				autosize($('textarea'));
123
+				//获取问卷信息
124
+				if(wid) {
125
+					$.ajax({
126
+						type: "get",
127
+						url: huayi.config.callcenter_url + "/Questionnaire/GetPagerInfoModel",
128
+						async: true,
129
+						dataType: "json",
130
+						data: {
131
+							pid: wid,
132
+							token: $.cookie("token"),
133
+
134
+						},
135
+						success: function(data) {
136
+							if(data.state.toLowerCase() == 'success') {
137
+								$('.Title').val(data.data.F_Title);
138
+								$("#startText").val(data.data.F_StartText);
139
+								$("#F_Remark").val(data.data.F_Remark);
140
+								$("#endText").val(data.data.F_EndText);
141
+
142
+							}
143
+						}
144
+					});
145
+				}
146
+				//修改
147
+				$(".add").click(function() {
148
+					var Title = $(".Title").val(); //问卷名称
149
+					var Remark = $("#F_Remark").val(); //问卷说明
150
+					if(!$.trim(Title)) {
151
+						layer.confirm('问卷名称不能为空!', {
152
+							icon: 2,
153
+							btn: ['确定'] //按钮
154
+						});
155
+						return;
156
+					}
157
+					if(!$.trim($('#startText').val())) {
158
+						layer.confirm('问卷开场语不能为空!', {
159
+							icon: 2,
160
+							btn: ['确定'] //按钮
161
+						});
162
+						return;
163
+					}
164
+					if(!$.trim(Remark)) {
165
+						layer.confirm('问卷说明不能为空!', {
166
+							icon: 2,
167
+							btn: ['确定'] //按钮
168
+						});
169
+						return;
170
+					}
171
+					if(!$.trim($('#endText').val())) {
172
+						layer.confirm('问卷结束语不能为空!', {
173
+							icon: 2,
174
+							btn: ['确定'] //按钮
175
+						});
176
+						return;
177
+					}
178
+					$.ajax({
179
+						type: "post",
180
+						url: huayi.config.callcenter_url + "/Questionnaire/CreateOrUpdatePager",
181
+						async: true,
182
+						dataType: "json",
183
+						data: {
184
+							Id: wid,
185
+							Title: Title, //问卷标题
186
+							StartText: $('#startText').val(), //问卷开场语
187
+							EndText: $('#endText').val(), //问卷结束语
188
+							Remark: Remark, //问卷备注
189
+							token: $.cookie("token"),
190
+
191
+						},
192
+						success: function(data) {
193
+							if(data.state.toLowerCase() == 'success') {
194
+								var index = parent.layer.getFrameIndex(window.name); //先得到当前iframe层的索引
195
+								parent.layer.close(index); //再执行关闭
196
+								parent.IndexCategoryGe();
197
+								parent.layer.msg(data.message);
198
+
199
+							}
200
+						}
201
+					});
202
+				})
203
+			});
204
+		</script>
205
+	</body>
206
+
207
+</html>

+ 3 - 3
CallCenterWeb.UI/keHuManager/ContactPersonManger.html

@@ -131,8 +131,8 @@
131 131
 							<div class="form-group" style="width: 200px;  margin-right: 30px;">
132 132
 								<select class="form-control selectpicker" id="orderSource" data-live-search="true">
133 133
 									<option value="">全部</option>
134
-									<option value="">已出</option>
135
-									<option value="">未出</option>
134
+									<option value="">已出</option>
135
+									<option value="">未出</option>
136 136
 								</select>
137 137
 							</div>
138 138
 							时间:
@@ -172,7 +172,7 @@
172 172
 						<td>张文武 </td>
173 173
 						<td data-align="center" >赵明晶</td>
174 174
 						<td data-align="center">6</td>
175
-						<td data-align="center">2018-06-15</td>
175
+						<td data-align="center">2018-06-15 12:22</td>
176 176
 						<td data-align="center">扶沟县</td>
177 177
 						<td data-align="center" style="color:#337ab7; cursor: pointer;" onclick="XX()">已出车</td>
178 178
 					</tr>

+ 30 - 10
CallCenterWeb.UI/keHuManager/LookMessage.html

@@ -21,24 +21,44 @@
21 21
 				<div>
22 22
 					<ul style="padding-left: 0; margin-top: 30px;" class="title_ul">
23 23
 						<li>
24
-							<label for="">问卷名称</label>
25
-							<span class="Title">息县安全感满意度调查问卷</span>
24
+							<label for="">车辆类型</label>
25
+							<span class="Title">紧急车辆</span>
26 26
 						</li>
27 27
 						<li>
28
-							<label for="startText">问卷开场语</label>
28
+							<label for="">派车人</label>
29
+							<span class="Title">张文武</span>
30
+						</li>
31
+						<li>
32
+							<label for="startText">出车人</label>
29 33
 							<span id="startText" class="F_Remark">
30
-								你好!我是息县安全感满意度调查中心(站)的访问员,我们正在全县进行社会治安工作满意度方面的调查,想听听您或您家人的意见,您的意见对于我们的研究非常宝贵,希望能耽误您一点时间跟您谈谈好吗?
34
+								赵明晶
31 35
 							</span>
32 36
 						</li>
33 37
 						<li>
34
-							<label for="F_Remark">问卷说明</label>
35
-							<span id="F_Remark" class="F_Remark">问卷说明</span>
38
+							<label for="startText">车牌号</label>
39
+							<span id="startText" class="F_Remark">
40
+								123456
41
+							</span>
42
+						</li>
43
+						<li>
44
+							<label for="F_Remark">出车时间</label>
45
+							<span id="F_Remark" class="F_Remark">2018-06-15 12:22</span>
46
+						</li>
47
+						<li>
48
+							<label for="F_Remark">出车地点</label>
49
+							<span id="F_Remark" class="F_Remark">扶沟县</span>
50
+						</li>
51
+						<li>
52
+							<label for="F_Remark">出车缘由</label>
53
+							<span id="F_Remark" class="F_Remark">
54
+								测试测试测试测试测试测试测试测试测试测试测试测试
55
+								测试测试测试测试测试测试测试测试测试测试测试测试
56
+								测试测试测试测试测试测试测试测试测试测试测试测试
57
+							</span>
36 58
 						</li>
37
-					</ul>
38
-					<ul style="padding-left: 0;" class="title_ul">
39 59
 						<li>
40
-							<label for="">问卷结束语</label>
41
-							<span id="endText" class="F_Remark">访问到此结束,谢谢您的合作!</span>
60
+							<label for="F_Remark">出车医生</label>
61
+							<span id="F_Remark" class="F_Remark">赵明晶,赵明晶,赵明晶,赵明晶</span>
42 62
 						</li>
43 63
 					</ul>
44 64
 				</div>