瀏覽代碼

问题修改

yangjunfeng 5 年之前
父節點
當前提交
f8490f308b

+ 3 - 3
WebUI/CallCenterWeb.UI/equipmentOperationManage/template/EvaluateEquipmentRepair.html

@@ -131,11 +131,11 @@
131 131
 			    	<label for="score" class="col-sm-3 control-label text-right"><b class="text_require">*</b>得分</label>
132 132
 			    	<div class="col-sm-9 clearfix">
133 133
 			    		<ul id="ratingScores" class="rating clearfix">
134
-			    			<li class="rating-item" title=""></li>
134
+			    			<li class="rating-item" title="不满意"></li>
135 135
 			    			<!-- <li class="rating-item" title="不满意"></li>
136 136
 			    			<li class="rating-item" title="一般"></li> -->
137
-			    			<li class="rating-item" title="满意"></li>
138
-			    			<li class="rating-item" title="非常满意 "></li>
137
+			    			<li class="rating-item" title="基本满意"></li>
138
+			    			<li class="rating-item" title="满意 "></li>
139 139
 			    		</ul>
140 140
 			    		<span id="ratingTips" class="ratingTips"></span>
141 141
 			    	</div>

+ 1 - 1
WebUI/CallCenterWeb.UI/medicalAssociation/company.html

@@ -37,7 +37,7 @@
37 37
 				<div class="form-inline th-bar clearfix">
38 38
 					<div class="form-group tool_bars pull-right">
39 39
 						<input type="button" class="btn_gray" authorize="yes" id="HY_add" onclick="btn_add()" value="添加" />
40
-						<input type="button" class="btn_gray" authorize="yes" id="HY_import" onclick="btn_export()" value="导入" />
40
+						<!-- <input type="button" class="btn_gray" authorize="yes" id="HY_import" onclick="btn_export()" value="导入" /> -->
41 41
 						<input type="button" class="btn_gray" authorize="yes" id="HY_add" onclick="btn_edit()" value="修改" />
42 42
 						<input type="button" class="btn_gray" authorize="yes" id="HY_deletes" onclick="btn_deletes()" value="删除" />
43 43
 					</div>

+ 146 - 123
WebUI/CallCenterWeb.UI/twoWayReferralSystem/add1.html

@@ -42,8 +42,8 @@
42 42
 		.selDpart1{
43 43
 		    display: none;
44 44
 			position: absolute;
45
-		        left: 360px;
46
-		        top: 145px;
45
+		    left: 205px;
46
+		    top: 145px;
47 47
 		    z-index: 11111;
48 48
 		    width: 280px;
49 49
 		    line-height: 30px;
@@ -73,8 +73,8 @@
73 73
 		.selDpart2{
74 74
 		    display: none;
75 75
 			position: absolute;
76
-		        left: 360px;
77
-		        top: 298px;
76
+		    left: 205px;
77
+		    top: 306px;
78 78
 		    z-index: 11111;
79 79
 		    width: 280px;
80 80
 		    line-height: 30px;
@@ -151,67 +151,81 @@
151 151
 	<body class="gray-bg">
152 152
 		<div class="ckxq">
153 153
 			<div class="gdxq">
154
-				<div style="width: 100%;">
155
-					<ul>
156
-						<li id="djtime">
157
-							<div class="left">登记时间:</div>
158
-							<div class="right">
159
-								<input id="Szzydjsj" type="datetime" class="laydate-icon" name="timeBegin" required  value="" ></input>
160
-								</div>
161
-						</li>
162
-						<li>
163
-							<div class="left">转诊单位:</div>
164
-							<div class="right">
165
-								<select id="Szzyzzdw" class="dis" >
166
-									<option  value="">请选择转诊单位</option>
167
-						
154
+				<div class="container wrapper-content animated fadeInRight">
155
+					<div class="form-horizontal">
156
+						<div class="form-group" id="djtime">
157
+							<label for="Szzydjsj" class="col-sm-3 control-label text-right">登记时间</label>
158
+
159
+							<div class="col-sm-9">
160
+								<input id="Szzydjsj" type="datetime" class="laydate-icon" name="timeBegin" required value=""></input>
161
+							</div>
162
+						</div>
163
+						<div class="form-group">
164
+							<label for="Szzyzzdw" class="col-sm-3 control-label text-right">转诊单位</label>
165
+
166
+							<div class="col-sm-5">
167
+								<select id="Szzyzzdw" class="form-control selectpicker dis" data-live-search="true">
168
+									<option value="">请选择转诊单位</option>
169
+
168 170
 								</select>
169
-								</div>
170
-						</li>
171
-						<li>
172
-							<div class="left">转诊医师:</div>
173
-							<div class="right"><input id="Szzyzzys" class="dis" type="text" value=""></input></div>
174
-						</li>
171
+							</div>
172
+						</div>
173
+						<div class="form-group">
174
+							<label for="Szzyzzys" class="col-sm-3 control-label text-right">转诊医师</label>
175
+							<div class="col-sm-9">
176
+								<input id="Szzyzzys" class="dis" type="text" value=""></input>
177
+							</div>
178
+						</div>
175 179
 						<!-- <li>
176 180
 							<div class="left">联系方式:</div>
177 181
 							<div class="right"><input id="Yslxfs" type="text" value="" ></input></div>
178 182
 							
179 183
 						</li> -->
180
-						<li>
181
-							<div class="left">患者姓名:</div>
182
-							<div class="right"><input id="Hzname" type="text" class="dis" onkeyup="darptSearch()"></input></div>
184
+						<div class="form-group">
185
+							<label for="Hzname" class="col-sm-3 control-label text-right">患者姓名</label>
186
+							<div class="col-sm-9">
187
+								<input id="Hzname" type="text" class="dis" onkeyup="darptSearch()"></input>
188
+							</div>
183 189
 							<div class="selDpart1">
184 190
 								<ul id="sponsor">
185 191
 								</ul>
186 192
 							</div>
187
-						</li>
188
-						<li>
189
-							<div class="left">性别:</div>
190
-							<div class="right"><input id="HzGender" type="text" class="dis" value=""></input></div>
191
-						</li>
192
-						<li>
193
-							<div class="left">年龄:</div>
194
-							<div class="right"><input id="Hzage" type="text" class="dis" value=""></input></div>
195
-						</li>
196
-						<li>
197
-							<div class="left">诊断:</div>
198
-							<div class="right"><input id="Hzzd" type="text"  class="dis" value=""></input></div>
199
-						</li>
200
-						<li>
201
-							<div class="left"><b class="text_require">*</b>住院科室:</div>
202
-							<div class="right">
203
-							<input type="text"  id="Hzzyks" placeholder="请输入" class="dis" value="" onkeyup="darptSearch2()"
204
-							 autocomplete="off" />
193
+						</div>
194
+						<div class="form-group">
195
+							<label for="HzGender" class="col-sm-3 control-label text-right">性别</label>
196
+
197
+							<div class="col-sm-9">
198
+								<input id="HzGender" type="text" class="dis" value=""></input>
199
+							</div>
200
+						</div>
201
+						<div class="form-group">
202
+							<label for="Hzage" class="col-sm-3 control-label text-right">年龄</label>
203
+							<div class="col-sm-9">
204
+								<input id="Hzage" type="text" class="dis" value=""></input>
205
+							</div>
206
+						</div>
207
+						<div class="form-group">
208
+							<label for="Hzzd" class="col-sm-3 control-label text-right">诊断</label>
209
+							<div class="col-sm-9">
210
+								<input id="Hzzd" type="text" class="dis" value=""></input>
211
+							</div>
212
+						</div>
213
+						<div class="form-group">
214
+							<label for="Hzzyks" class="col-sm-3 control-label text-right"><b class="text_require">*</b>住院科室</label>
215
+							<div class="col-sm-9">
216
+								<input type="text" id="Hzzyks" placeholder="请输入" class="dis" value="" onkeyup="darptSearch2()" autocomplete="off" />
205 217
 							</div>
206 218
 							<div class="selDpart2">
207 219
 								<ul id="sponsor2">
208 220
 								</ul>
209 221
 							</div>
210
-						</li>
211
-						<li>
212
-							<div class="left">住院号:</div>
213
-							<div class="right"><input id="Hzzyh" type="text"  class="dis" value=""></input></div>
214
-						</li>
222
+						</div>
223
+						<div class="form-group">
224
+							<label for="Hzzyh" class="col-sm-3 control-label text-right">住院号</label>
225
+							<div class="col-sm-9">
226
+								<input id="Hzzyh" type="text" class="dis" value=""></input>
227
+							</div>
228
+						</div>
215 229
 						<!-- <li>
216 230
 							<div class="left">联系方式:</div>
217 231
 							<div class="right"><input id="Hzlxfs" type="text" value=""></input></div>
@@ -220,37 +234,43 @@
220 234
 							<div class="left">转诊目的:</div>
221 235
 							<div class="right"><input id="Syzzzzmd" type="text" value=""></input></div>
222 236
 						</li> -->
223
-						<li>
224
-							<div class="left">住院时间:</div>
225
-							<div class="right"><input id="Syzysj" type="date" class="dis" value=""></input></div>
226
-						</li>
227
-						<li>
228
-							<div class="left">住院费用:</div>
229
-							<div class="right"><input id="Syzyfy" type="text" value=""></input></div>
230
-						</li>
237
+						<div class="form-group">
238
+							<label for="Hzzyh" class="col-sm-3 control-label text-right">住院时间</label>
239
+							<div class="col-sm-9">
240
+								<input id="Syzysj" type="date" class="dis" value=""></input>
241
+							</div>
242
+						</div>
243
+						<div class="form-group">
244
+							<label for="Syzyfy" class="col-sm-3 control-label text-right">住院费用</label>
245
+							<div class="col-sm-9">
246
+								<input id="Syzyfy" type="text" value=""></input>
247
+							</div>
248
+						</div>
231 249
 						<!-- <li>
232 250
 							<div class="left">责任人:</div>
233 251
 							<div class="right"><input id="Syzzzrr" type="text" value=""></input></div>
234 252
 						</li> -->
235
-						<li>
236
-							<div class="left">诊中服务:</div>
237
-							<div class="right"></input>
238
-							<select id="Syzzzzfw" class="dis">
239
-								<option  value ="患者自来">患者自来</option>
240
-								<option  value ="120接回">120接回</option>
241
-								<option  value ="科室人员陪同">科室人员陪同</option>
242
-							</select>
253
+						<div class="form-group">
254
+							<label for="Syzzzzfw" class="col-sm-3 control-label text-right">诊中服务</label>
255
+							<div class="col-sm-9">
256
+								<select id="Syzzzzfw" class="dis">
257
+									<option value="患者自来">患者自来</option>
258
+									<option value="120接回">120接回</option>
259
+									<option value="科室人员陪同">科室人员陪同</option>
260
+								</select>
243 261
 							</div>
244
-						</li>
245
-						<li>
246
-							<div class="left">责任人:</div>
247
-							<div class="right"><input id="Syzzzrrs"  class="dis" type="text" value=""></input></div>
248
-						</li>
262
+						</div>
263
+						<div class="form-group">
264
+							<label for="Syzzzrrs" class="col-sm-3 control-label text-right">责任人</label>
265
+							<div class="col-sm-9">
266
+								<input id="Syzzzrrs" class="dis" type="text" value=""></input>
267
+							</div>
268
+						</div>
249 269
 						<!-- <li>
250 270
 							<div class="left">责任人:</div>
251 271
 							<div class="right"><input id="Syzzzrrss" type="text" value=""></input></div>
252 272
 						</li> -->
253
-					</ul>
273
+					</div>
254 274
 				</div>
255 275
 			</div>
256 276
 
@@ -259,30 +279,32 @@
259 279
 			<button class="btns" id="HY_save">提&nbsp;交</button>
260 280
 		</div>
261 281
 		<script src="../js/laydate/laydate.js"></script>
262
-        <script src="../js/bootstrap-select/js/bootstrap-select.js"></script>
282
+		<script src="../js/bootstrap-select/js/bootstrap-select.js"></script>
263 283
 		<script src="../js/bootstrap-select/js/i18n/defaults-zh_CN.js"></script>
264 284
 		<!-- <script src="../js/WorkOrder/WorkOrderDetails.js"></script> -->
265 285
 		<script src="../js/download/download.js"></script>
266 286
 		<script>
267 287
 			$(document).ready(function() {
288
+				// 转诊单位
289
+				getdept()
268 290
 				var ajaxUrl;
269 291
 				var ids = helper.request.queryString("edit_id");
270 292
 				if (ids) {
271 293
 					ajaxUrl = "testusertypeapi/api/TestUserType/upSzzy";
272 294
 					getValue(ids);
273 295
 					$('#djtime').show()
274
-					$(".dis").attr('disabled','disabled')
296
+					$(".dis").attr('disabled', 'disabled')
275 297
 				} else {
276 298
 					ajaxUrl = "testusertypeapi/api/TestUserType/AddSzzy";
277 299
 					$('#djtime').hide()
278 300
 				}
279
-              
280
-			   laydate.render({
281
-			   	elem: '#Szzydjsj',
282
-			   	theme: '#249fea',
283
-			   	value: $('#Szzydjsj').val()
284
-			   });
285
-         
301
+
302
+				laydate.render({
303
+					elem: '#Szzydjsj',
304
+					theme: '#249fea',
305
+					value: $('#Szzydjsj').val()
306
+				});
307
+
286 308
 				//保存
287 309
 				$("#HY_save").click(function() {
288 310
 					// if(!$("#projectid").val()) {
@@ -301,16 +323,14 @@
301 323
 					// }
302 324
 					addValue(ajaxUrl, ids);
303 325
 				})
304
-				
305
-				
306
-				
307
-			})
308
-			// 转诊单位
309
-			$(function(){
310
-				getdept()
326
+
327
+
328
+
311 329
 			})
330
+		
331
+
312 332
 			function getdept() {
313
-			
333
+
314 334
 				$("#Szzyzzdw").html('');
315 335
 				equipmentdata = []
316 336
 				$("#Szzyzzdw").append('<option value="">请选择转诊单位</option>');
@@ -319,30 +339,30 @@
319 339
 					url: huayi.config.callcenter_url + "testusertypeapi/api/TestUserType/getyltdeptmanagetwo",
320 340
 					async: true,
321 341
 					dataType: 'json',
322
-			
342
+
323 343
 					success: function(data) {
324
-			
344
+
325 345
 						var leveldata = []
326 346
 						if (data.state.toLowerCase() == 'success') {
327 347
 							leveldata = data.data
328 348
 							// console.log(leveldata)
329 349
 							$(leveldata).each(function(q, p) {
330 350
 								// console.log(p)
331
-								$("<option value='" + p.name + "'>" + p.name+ "</option>").appendTo("#Szzyzzdw");
332
-								// $("#Szzyzzdw").selectpicker('refresh');
333
-			
351
+								$("<option value='" + p.name + "'>" + p.name + "</option>").appendTo("#Szzyzzdw");
352
+								$("#Szzyzzdw").selectpicker('refresh');
353
+
334 354
 							});
335
-			
355
+
336 356
 						} else {
337 357
 							$("#Szzyzzdw").empty();
338
-							// $("#Szzyzzdw").selectpicker('refresh');
358
+							$("#Szzyzzdw").selectpicker('refresh');
339 359
 						}
340
-			
360
+
341 361
 					}
342 362
 				});
343
-			
363
+
344 364
 			}
345
-    //患者姓名
365
+			//患者姓名
346 366
 			function darptSearch() {
347 367
 				if ($('#Hzname').val() == '') {
348 368
 					$(".selDpart1").css('display', 'none');
@@ -352,10 +372,10 @@
352 372
 				}
353 373
 			}
354 374
 			$("#sponsor").on('click', 'li', function() {
355
-				
375
+
356 376
 				$(".selDpart1").css('display', 'none');
357 377
 				$("#Hzname").val($(this).html());
358
-				var a=$(this).attr('index')
378
+				var a = $(this).attr('index')
359 379
 				console.log(a)
360 380
 				// 获取患者信息
361 381
 				$.ajax({
@@ -373,7 +393,7 @@
373 393
 							$('#Hzage').val(data.data[0].Hzage); //
374 394
 							$('#Hzzd').val(data.data[0].Hzzd); //
375 395
 							$('#Hzzyh').val(data.data[0].Hzzyh); //
376
-						    $('#Szzyzzdw').val(data.data[0].Szzyzzdw); //
396
+							$('#Szzyzzdw').val(data.data[0].Szzyzzdw); //
377 397
 							$('#Hzlxfs').val(data.data[0].Hzlxfs); //
378 398
 						}
379 399
 					}
@@ -382,13 +402,14 @@
382 402
 
383 403
 			function getFormComplainedUnit() {
384 404
 				$("#sponsor").empty();
405
+				console.log($("#Hzname").val())
385 406
 				$.ajax({
386 407
 					type: "get",
387 408
 					url: huayi.config.callcenter_url + "testusertypeapi/api/TestUserType/gethzinflists",
388 409
 					dataType: 'json',
389 410
 					async: true,
390 411
 					data: {
391
-
412
+        
392 413
 						name: $("#Hzname").val(),
393 414
 
394 415
 					},
@@ -406,22 +427,22 @@
406 427
 					}
407 428
 				});
408 429
 			}
409
-			
430
+
410 431
 			//住院科室
411 432
 			function darptSearch2() {
412 433
 				if ($('#Hzzyks').val() == '') {
413 434
 					$(".selDpart2").css('display', 'none');
414 435
 				} else {
415 436
 					$(".selDpart2").css('display', 'block');
416
-					getFormComplainedUnit();
437
+					getFormComplainedUnit2();
417 438
 				}
418 439
 			}
419 440
 			$("#sponsor2").on('click', 'li', function() {
420 441
 				$(".selDpart2").css('display', 'none');
421 442
 				$("#Hzzyks").val($(this).html());
422 443
 			})
423
-			
424
-			function getFormComplainedUnit() {
444
+
445
+			function getFormComplainedUnit2() {
425 446
 				$("#sponsor2").empty();
426 447
 				$.ajax({
427 448
 					type: "get",
@@ -429,9 +450,9 @@
429 450
 					dataType: 'json',
430 451
 					async: true,
431 452
 					data: {
432
-			
453
+
433 454
 						name: $("#Hzzyks").val(),
434
-			
455
+
435 456
 					},
436 457
 					success: function(data) {
437 458
 						if (data.state.toLowerCase() == "success") {
@@ -458,16 +479,18 @@
458 479
 						id: ids
459 480
 					},
460 481
 					success: function(data) {
461
-						if (data.state.toLowerCase() == 'success') {	
462
-							if(data.data[0].Szzydjsj){
463
-								var djsj=data.data[0].Szzydjsj.split(' ')
464
-								for(var i=0;i<djsj.length;i++){
482
+						if (data.state.toLowerCase() == 'success') {
483
+							if (data.data[0].Szzydjsj) {
484
+								var djsj = data.data[0].Szzydjsj.split(' ')
485
+								for (var i = 0; i < djsj.length; i++) {
465 486
 									$('#Szzydjsj').val(djsj[0]); //
466 487
 								}
467
-								
488
+
468 489
 							}
469
-							
470
-							$('#Szzyzzdw option:selected' ).text(data.data[0].Szzyzzdw); //
490
+
491
+							$('#Szzyzzdw option:selected').text(data.data[0].Szzyzzdw); //
492
+							$('#Szzyzzdw').selectpicker('refresh');
493
+							$('#Szzyzzdw').selectpicker('render');
471 494
 							$('#Szzyzzys').val(data.data[0].Szzyzzys); //
472 495
 							$('#Yslxfs').val(data.data[0].Yslxfs); //
473 496
 							$('#Hzname').val(data.data[0].Hzname); //
@@ -478,8 +501,8 @@
478 501
 							$('#Hzzyh').val(data.data[0].Hzzyh); //
479 502
 							$('#Hzlxfs').val(data.data[0].Hzlxfs); //
480 503
 							$('#Syzzzzmd').val(data.data[0].Syzzzzmd); //
481
-							if(data.data[0].Syzysj){
482
-								var zysj=data.data[0].Syzysj.slice(0,10)
504
+							if (data.data[0].Syzysj) {
505
+								var zysj = data.data[0].Syzysj.slice(0, 10)
483 506
 								$('#Syzysj').val(zysj); //
484 507
 							}
485 508
 							$('#Syzyfy').val(data.data[0].Syzyfy); //
@@ -496,9 +519,9 @@
496 519
 
497 520
 			//添加
498 521
 			function addValue(ajaxUrl, ids) {
499
-				if($('#Hzzyks').val()==''){
522
+				if ($('#Hzzyks').val() == '') {
500 523
 					layer.msg('住院科室不能为空!')
501
-				}else{
524
+				} else {
502 525
 					var $storages = window.localStorage;
503 526
 					$.ajax({
504 527
 						type: "get",
@@ -509,7 +532,7 @@
509 532
 						data: {
510 533
 							id: ids,
511 534
 							Szzydjsj: $('#Szzydjsj').val(), //登记时间
512
-							Szzyzzdw: $('#Szzyzzdw').val(), //转诊单位
535
+							Szzyzzdw: $('#Szzyzzdw option:selected').text(), //转诊单位
513 536
 							Szzyzzys: $('#Szzyzzys').val(), //转诊医师
514 537
 							Yslxfs: $('#Yslxfs').val(), //联系方式
515 538
 							Hzname: $('#Hzname').val(), //患者姓名
@@ -526,7 +549,7 @@
526 549
 							Syzzzzfw: $('#Syzzzzfw').val(), //诊中服务
527 550
 							Syzzzrrs: $('#Syzzzrrs').val(), //责任人
528 551
 							Syzzzrrss: $('#Syzzzrrss').val() //责任人
529
-					
552
+
530 553
 						},
531 554
 						success: function(data) {
532 555
 							console.log(1)
@@ -539,7 +562,7 @@
539 562
 						}
540 563
 					});
541 564
 				}
542
-				
565
+
543 566
 			}
544 567
 		</script>
545 568