Kaynağa Gözat

患者回访

yangjunfeng 3 yıl önce
ebeveyn
işleme
be255f4db5

+ 15 - 15
CallCenterWeb.UI/.project

@@ -1,6 +1,6 @@
1 1
 <?xml version="1.0" encoding="UTF-8"?>
2 2
 <projectDescription>
3
-	<name>CallCenterWeb.UI</name>
3
+	<name>随访报表</name>
4 4
 	<comment></comment>
5 5
 	<projects>
6 6
 	</projects>
@@ -16,7 +16,7 @@
16 16
 	</natures>
17 17
 	<filteredResources>
18 18
 		<filter>
19
-			<id>1499962560129</id>
19
+			<id>0</id>
20 20
 			<name></name>
21 21
 			<type>26</type>
22 22
 			<matcher>
@@ -25,7 +25,7 @@
25 25
 			</matcher>
26 26
 		</filter>
27 27
 		<filter>
28
-			<id>1499962627366</id>
28
+			<id>0</id>
29 29
 			<name></name>
30 30
 			<type>26</type>
31 31
 			<matcher>
@@ -34,7 +34,7 @@
34 34
 			</matcher>
35 35
 		</filter>
36 36
 		<filter>
37
-			<id>1500016710765</id>
37
+			<id>0</id>
38 38
 			<name></name>
39 39
 			<type>26</type>
40 40
 			<matcher>
@@ -43,7 +43,7 @@
43 43
 			</matcher>
44 44
 		</filter>
45 45
 		<filter>
46
-			<id>1502436648911</id>
46
+			<id>0</id>
47 47
 			<name></name>
48 48
 			<type>26</type>
49 49
 			<matcher>
@@ -52,7 +52,7 @@
52 52
 			</matcher>
53 53
 		</filter>
54 54
 		<filter>
55
-			<id>1503537748469</id>
55
+			<id>0</id>
56 56
 			<name></name>
57 57
 			<type>26</type>
58 58
 			<matcher>
@@ -61,7 +61,7 @@
61 61
 			</matcher>
62 62
 		</filter>
63 63
 		<filter>
64
-			<id>1508741256859</id>
64
+			<id>0</id>
65 65
 			<name></name>
66 66
 			<type>26</type>
67 67
 			<matcher>
@@ -70,7 +70,7 @@
70 70
 			</matcher>
71 71
 		</filter>
72 72
 		<filter>
73
-			<id>1516325161832</id>
73
+			<id>0</id>
74 74
 			<name></name>
75 75
 			<type>26</type>
76 76
 			<matcher>
@@ -79,7 +79,7 @@
79 79
 			</matcher>
80 80
 		</filter>
81 81
 		<filter>
82
-			<id>1527666620398</id>
82
+			<id>0</id>
83 83
 			<name></name>
84 84
 			<type>26</type>
85 85
 			<matcher>
@@ -88,7 +88,7 @@
88 88
 			</matcher>
89 89
 		</filter>
90 90
 		<filter>
91
-			<id>1529976264429</id>
91
+			<id>0</id>
92 92
 			<name></name>
93 93
 			<type>26</type>
94 94
 			<matcher>
@@ -97,7 +97,7 @@
97 97
 			</matcher>
98 98
 		</filter>
99 99
 		<filter>
100
-			<id>1556614843883</id>
100
+			<id>0</id>
101 101
 			<name></name>
102 102
 			<type>26</type>
103 103
 			<matcher>
@@ -106,7 +106,7 @@
106 106
 			</matcher>
107 107
 		</filter>
108 108
 		<filter>
109
-			<id>1571964645847</id>
109
+			<id>0</id>
110 110
 			<name></name>
111 111
 			<type>26</type>
112 112
 			<matcher>
@@ -115,7 +115,7 @@
115 115
 			</matcher>
116 116
 		</filter>
117 117
 		<filter>
118
-			<id>1576834879314</id>
118
+			<id>0</id>
119 119
 			<name></name>
120 120
 			<type>26</type>
121 121
 			<matcher>
@@ -124,7 +124,7 @@
124 124
 			</matcher>
125 125
 		</filter>
126 126
 		<filter>
127
-			<id>1582853514861</id>
127
+			<id>0</id>
128 128
 			<name></name>
129 129
 			<type>26</type>
130 130
 			<matcher>
@@ -133,7 +133,7 @@
133 133
 			</matcher>
134 134
 		</filter>
135 135
 		<filter>
136
-			<id>1606554161199</id>
136
+			<id>0</id>
137 137
 			<name></name>
138 138
 			<type>26</type>
139 139
 			<matcher>

+ 1 - 1
CallCenterWeb.UI/commonTpl/LookHZMessage.html

@@ -3,7 +3,7 @@
3 3
 
4 4
 	<head>
5 5
 		<meta charset="UTF-8">
6
-		<title>问卷信息</title>
6
+		<title>回访</title>
7 7
 		<meta name="viewport" content="width=device-width, initial-scale=1.0">
8 8
 		<script src="../Script/Common/huayi.load.js"></script>
9 9
 		<script src="../Script/Common/huayi.config.js"></script>

+ 58 - 3
CallCenterWeb.UI/visit/hzHavevisit.html

@@ -51,6 +51,7 @@
51 51
 
52 52
 				<div class="pull-right">
53 53
 					<button class="btns" id="sc_btns">搜索</button>
54
+					<a class="btns" onclick="dcexcel(this)">导出</a>
54 55
 				</div>
55 56
 			</div>
56 57
 
@@ -62,7 +63,7 @@
62 63
 							<th data-field="Sex" data-align="center">性别</th>
63 64
 							<th data-field="Age" data-align="center">年龄</th>
64 65
 							<th data-field="Address" data-align="center">家庭地址</th>
65
-							<th data-field="Tel" data-align="center">联系方式</th>
66
+							<th data-field="Tel" data-align="center" data-formatter="formatterTel">联系方式</th>
66 67
 							<th data-field="Admloc" data-align="center">就诊科室</th>
67 68
 							<th data-field="Admdoc" data-align="center">就诊医生</th>
68 69
 							<th data-field="DinoseT" data-align="center">就诊内容</th>
@@ -112,6 +113,60 @@
112 113
 				initTableLogs();
113 114
 			}
114 115
 
116
+			function formatterTel(val, row) {
117
+				if(row.Name == ' ') {
118
+					row.Name = ''
119
+				}
120
+				if(row.Tel == ' ') {
121
+					row.Tel = ''
122
+				}
123
+				if(row.Age == ' ') {
124
+					row.Age = ''
125
+				}
126
+				if(row.Sex == ' ') {
127
+					row.Sex = ''
128
+				}
129
+				if(row.Address == ' ') {
130
+					row.Address = ''
131
+				}
132
+				if(row.Admloc == ' ') {
133
+					row.Admloc = ''
134
+				}
135
+				if(row.DinoseT == ' ') {
136
+					row.DinoseT = ''
137
+				}
138
+				console.log(row.DinoseT)
139
+				console.log(row.Name)
140
+				return '<div class="imgs" ><a class="xg" onclick= "btn_visit(\'' + row.EpisodID + '\',\'' + row.Name + '\',\'' + row.Tel +
141
+					'\',\'' + row.Age + '\',\'' + row.Sex + '\',\'' + row.Address + '\',\'' + row.Admloc + '\',\'' + row.Admdoc + '\',\'' + row.DinoseT + '\')" >' + val + '</a></div>';
142
+			}
143
+
144
+			function btn_visit(oid, Name, Tel, Age, Sex, Address, Admloc, Admdoc, DinoseT) {
145
+				console.log(Name)
146
+				let stime = $('#sc_time').val() && $('#sc_time').val().split(' ~ ')[0]
147
+				let etime = $('#sc_time').val() && $('#sc_time').val().split(' ~ ')[1]
148
+				layer.open({
149
+					type: 2,
150
+					title: '回访信息',
151
+					maxmin: true, //开启最大化最小化按钮
152
+					shade: 0,
153
+					area: ['80%', '90%'],
154
+					content: '../commonTpl/LookHZYFMessage.html?oid=' + oid + '&stime=' + stime + '&etime=' + etime + '&Name=' + Name + '&Tel=' + Tel + '&Age=' + Age + '&Sex=' + Sex + '&Address=' + Address + '&Admloc=' + Admloc + '&Admdoc=' + Admdoc + '&DinoseT=' + DinoseT
155
+				});
156
+			}
157
+
158
+			function dcexcel(obj) {
159
+				console.log(1)
160
+				var url = huayi.config.callcenter_url + "CustomerNew/ReturnVisitRecordListS?token=" + $.cookie("token");
161
+				url += "&isexport=" + 1;
162
+				url += "&dinoseT=" + $('#dinoseT').val();
163
+				url += "&callresult=" + $("#callresult").val();
164
+				url += "&admloc=" + $("#department").val();
165
+				url += "&starttime=" + ($('#sc_time').val() && $('#sc_time').val().split(' ~ ')[0]);
166
+				url += "&endtime=" + ($('#sc_time').val() && $('#sc_time').val().split(' ~ ')[1]);
167
+				obj.href = url;
168
+			}
169
+
115 170
 			function initTableLogs() {
116 171
 				//先销毁表格
117 172
 				$('#visitlist').bootstrapTable('destroy');
@@ -136,8 +191,8 @@
136 191
 						var param = {
137 192
 							PageIndex: params.pageNumber, //否	int	当前页
138 193
 							PageSize: params.pageSize, //否	int	每页数
139
-							dinoseT:$('#dinoseT').val(), 
140
-							callresult:$('#callresult').val(), 
194
+							dinoseT: $('#dinoseT').val(),
195
+							callresult: $('#callresult').val(),
141 196
 							admloc: $('#department').val(), //否	string	模糊搜索(
142 197
 							starttime: $('#sc_time').val() && $('#sc_time').val().split(' ~ ')[0], //否	string	工单起止时间
143 198
 							endtime: $('#sc_time').val() && $('#sc_time').val().split(' ~ ')[1], //否	string	工单起止时间

+ 2 - 0
CallCenterWeb.UI/visit/js/LookhzMessage.js

@@ -94,6 +94,8 @@ $('#btn_submit').click(function(){
94 94
 			Advice: $('#Advice').val(),
95 95
 			ProcessingResults:$('#ProcessingResults').val(),
96 96
 			CallResult: $('input[name="check"]:checked').val(), //呼叫结果ID
97
+			stime:stime,
98
+			etime:etime,
97 99
 			token: $.cookie("token")
98 100
 		},
99 101
 		async: true,