Selaa lähdekoodia

政策法规查看详情页面

liuzhen 6 vuotta sitten
vanhempi
commit
77833eeff2
1 muutettua tiedostoa jossa 309 lisäystä ja 0 poistoa
  1. 309 0
      WebUI/CallCenterWeb.UI/zhiShiKu/policiesDetails.html

+ 309 - 0
WebUI/CallCenterWeb.UI/zhiShiKu/policiesDetails.html

@@ -0,0 +1,309 @@
1
+<!DOCTYPE html>
2
+<html>
3
+	<head>
4
+		<meta charset="UTF-8">
5
+		<script src="../Script/Common/huayi.load.js"></script>
6
+		<script src="../Script/Common/huayi.config.js"></script>
7
+		<link rel="stylesheet" href="../css/init.css" />
8
+		<title>新版知识库添加</title>
9
+		<style type="text/css">
10
+			ul,li{
11
+				padding: 0;
12
+				margin: 0;
13
+				list-style: none;
14
+			}
15
+			.tab_list{
16
+				border-bottom: 1px solid #d5d5d5;
17
+			}
18
+			.tab_list li{
19
+				padding: 10px 15px;
20
+				float: left;
21
+				color: #333333;
22
+				font-size: 14px;
23
+				position: relative;
24
+			}
25
+			.tab_list li.active{
26
+				color: #19aad0;
27
+			}
28
+			.tab_list li.active:after{
29
+				content: "";
30
+				width: 100%;
31
+				height: 2px;
32
+				background: #19aad0;
33
+				position: absolute;
34
+				bottom: -1px;
35
+				left: 0;
36
+			}
37
+			.tab_content{
38
+				font-size: 14px;
39
+				color: #4c4c4c;
40
+				padding: 15px 0;
41
+				/*text-indent: 28px;*/
42
+			}
43
+			.tab_content>div{
44
+				display: none;
45
+			}
46
+			.table tr td input[type="text"]{
47
+			    width: 100%;
48
+			    height: 30px;
49
+			    background: #f3f3f4;
50
+			    border: 0;
51
+			    outline: none;
52
+			}
53
+			.radio-inline input[type=radio]{
54
+				margin-top: 2px;
55
+			}
56
+			.table tr td textarea{
57
+			    width: 100%;
58
+			    height: 100%;
59
+			    background: #f3f3f4;
60
+			    border: 0;
61
+			    resize: none;
62
+			}
63
+			#scwj{
64
+				    background-color: #FFF;
65
+			    background-image: none;
66
+			    border: 1px solid #ccc;
67
+			    border-radius: 1px;
68
+			    color: inherit;
69
+			    padding: 6px 12px!important;
70
+			}
71
+			.files{
72
+				    padding: 5px!important;
73
+			}
74
+			.time-box{
75
+			    position: relative;
76
+			    width: 197px!important;
77
+			    height: 34px;
78
+			    margin: 0;
79
+			}
80
+			.tub + input {
81
+			    padding-right: 30px;
82
+			    border: 1px solid #e5e6e7!important;
83
+			}
84
+			i.tub {
85
+			    position: absolute;
86
+			    right: 8px;
87
+			    top: 8px;
88
+			    font-size: 18px;
89
+			    color: #00a0ca;
90
+			}
91
+			.tab_content textarea{
92
+				display: block;
93
+			     background: #f3f3f4;
94
+			     width: 100%;
95
+			    height: 298px;
96
+			    box-sizing: border-box;
97
+			    text-indent: 28px;
98
+			}
99
+			.tab_content .cons >div{
100
+			     background: #f3f3f4;
101
+			     width: 100%;
102
+			    min-height: 298px;
103
+			    box-sizing: border-box;
104
+			    text-indent: 28px;
105
+			    word-break:break-all;
106
+			    word-wrap:break-word;
107
+			}
108
+			.tab_content .cons >div img{
109
+				    max-width: 100%;
110
+				    /*width: 95%;
111
+				    margin: 0 auto;*/
112
+			}
113
+			.shdetail table{
114
+				width: 100%;
115
+				line-height: 30px;
116
+				text-align: center;
117
+			}
118
+		</style>
119
+	</head>
120
+		<body class="gray-bg">
121
+			<div class="container-fluid wrapper-content animated fadeInRight">
122
+				<table class="table table-bordered table-condensed">
123
+					<tr>
124
+						<td width="100">文件编号</td>
125
+						<td colspan="3"> <input type="text" id="title" readonly="readonly" /></td>
126
+					</tr>
127
+					<tr>
128
+						<td width="100">单位名称</td>
129
+						<td colspan="3"> <input type="text" id="maindept" readonly="readonly" /></td>
130
+					</tr>
131
+					<!--<tr>
132
+						<td width="100"> 办公地点</td>
133
+						<td colspan="3"><textarea name="" rows="" cols="" id="officeaddress" readonly="readonly"></textarea></td>
134
+					</tr>
135
+					<tr >
136
+						<td rowspan="2" width="100">公开电话</td>
137
+						<td> <input type="text" id="publicphone1" readonly="readonly"/></td>
138
+						<td rowspan="2" width="100">内部电话</td>
139
+						<td> <input type="text" id="privatephone1" readonly="readonly" /></td>
140
+						
141
+					</tr>
142
+					<tr>
143
+						<td>  <input type="text" id="publicphone2" readonly="readonly" /></td>
144
+						<td> <input type="text" id="privatephone2" readonly="readonly" /></td>
145
+					</tr>
146
+					<tr>
147
+						<td width="100"> 办理方式</td>
148
+						<td><input type="text" id="dealtype" readonly="readonly"/></td>
149
+						<td width="100"> 收费标准</td>
150
+						<td> <input type="text" id="paymoney" readonly="readonly" /></td>
151
+					</tr>
152
+					<tr>
153
+						<td width="100"> 办理对象</td>
154
+						<td><input type="text" id="serobject" readonly="readonly" /></td>
155
+						<td width="100"> 乘车路线</td>
156
+						<td><textarea name="" rows="" cols=""id="busline" readonly="readonly"></textarea></td>
157
+					</tr>
158
+					<tr>
159
+						<td width="100" height="100"> 备注</td>
160
+						<td colspan="3" height="100"><textarea name="" rows="" cols=""  id="remark" readonly="readonly"></textarea> </td>
161
+					</tr>-->
162
+				</table>
163
+				<div class="cons">
164
+					<div>
165
+					<table class="table-bordered table-condensed feilTable" style="width: 100%;">
166
+						<thead>
167
+							<tr>
168
+								<th>文件名称</th>
169
+								<th>添加时间</th>
170
+								<th>文件大小</th>
171
+							</tr>
172
+						</thead>
173
+						<tbody>
174
+							
175
+						</tbody>
176
+						
177
+					</table>
178
+					</div>
179
+				</div>
180
+				<!--<ul class="tab_list clearfix">
181
+					<li class="active">设定依据</li>
182
+					<li>办理流程</li>
183
+					<li>办理材料</li>
184
+					<li>办理结果样本</li>
185
+					<li>收费标准及依据</li>
186
+					<li>附件</li>
187
+				</ul>-->
188
+				<!--<div class="tab_content">
189
+					<div class="cons">
190
+						<div>
191
+						<table class="table-bordered table-condensed feilTable" style="width: 100%;">
192
+							<thead>
193
+								<tr>
194
+									<th>文件名称</th>
195
+									<th>添加时间</th>
196
+									<th>文件大小</th>
197
+								</tr>
198
+							</thead>
199
+							<tbody>
200
+								
201
+							</tbody>
202
+							
203
+						</table>
204
+						</div>
205
+					</div>
206
+				</div>-->
207
+			
208
+			<script src="../js/kindeditor/kindeditor-all-min.js"></script>
209
+			<script src="../js/kindeditor/lang/zh-CN.js"></script>
210
+			<script src="../js/adjustHeight.js"></script>
211
+			<script src="../js/laydate/laydate.js"></script>
212
+			<script>
213
+				
214
+				var ids=helper.request.queryString("ids");
215
+				$(document).ready(function(){
216
+					$.ajax({
217
+						type:"get",
218
+						url:huayi.config.callcenter_url +"Repository/GetRepository",
219
+						async:true,
220
+						dataType:'json',
221
+						data:{
222
+							token: $.cookie("token"),
223
+							id:ids
224
+						},
225
+						success:function(res){
226
+							if(res.state.toLowerCase()=='success'){
227
+								var con=res.data.data;
228
+								$('#key').val(con.F_Key);//关键字
229
+								$('#title').val(con.F_Title);//事件名称
230
+								$('#maindept').val(con.F_MainDept);//主办单位
231
+								$('#publicphone1').val(con.F_PublicPhone1);//公开电话1
232
+								$('#publicphone2').val(con.F_PublicPhone2);//公开电话2
233
+								$('#privatephone1').val(con.F_PrivatePhone1);//内部电话1
234
+								$('#privatephone2').val(con.F_PrivatePhone2);//内部电话2
235
+								$('#points').val(con.F_Points);//询问要点
236
+								$('#baseanswer').val(con.F_BaseAnswer);//标准话术
237
+								$('#endanswer').val(con.F_EndAnswer);//结案参考
238
+								$('#dealtype').val(con.F_DealType);//办理方式
239
+								$('#legallimittime').val(con.F_LegalLimitTime);//法定办结时限
240
+								$('#promiselimittime').val(con.F_PromiseLimitTime);//承诺办结时限
241
+//								$('input[name="ispay"]:checked ').val(F_PayMoney);//是否收费
242
+								$('input[name="ispay"][value="'+con.F_IsPay+'"]').prop("checked","checked");//是否收费
243
+								$('input[name="isUrgency"][value="'+con.F_IsUrgent+'"]').prop("checked","checked"),//是否紧急事项
244
+								$('#paymoney').val(con.F_PayMoney);//收费标准
245
+								$('#officeaddress').val(con.F_OfficeAddress);//办公地点
246
+								$('#serobject').val(con.F_Object);//办理对象
247
+								$('#busline').val(con.F_BusLine);//乘车路线
248
+								$('#officetime').val(con.F_OfficeTime);//办公时间
249
+								$('#otherdept').val(con.F_OtherDept);//	协办单位
250
+								$('#otherpublicphone').val(con.F_OtherPublicPhone);//	协办单位公开电话
251
+								$('#otherprivatephone').val(con.F_OtherPrivatePhone);//协办单位内部电话
252
+								$('#remark').val(con.F_Remark);//备注
253
+//								$('#baseon').html(con.F_BaseOn);//设定依据
254
+//								$('#process').html(con.F_Process);//办理流程
255
+//								$('#material').html(con.F_Material);//办理材料
256
+//								$('#template').html(con.F_Template);//办理结果样本
257
+//								$('#payinfo').html(con.F_PayInfo);//收费标准及依据
258
+			//					$('#files').val() //收费标准及依据
259
+								console.log()
260
+								$(res.data.file).each(function(k,q){
261
+//										var strs='<span class="files" fiel-num="'+ q.F_FileId +'">'+ q.F_FileName.substring(19) +'</span>'
262
+										var size= (q.F_Size/1024).toFixed(2)
263
+										var strs='<tr>'+
264
+										          '<td><a href="'+ q.F_FileUrl+'" download="test.pdf">'+ q.F_FileName.substring(19) +'</a></td>'+
265
+										          '<td>'+ q.F_AddTime +'</td>'+
266
+										          '<td>'+ size +'kb</td>'+
267
+												'</tr>'
268
+										$(strs).appendTo($('.feilTable tbody'))
269
+									})
270
+								var shaudit;
271
+								$(res.data.shData).each(function(k,q){
272
+									if (q.F_ISPass==2) {
273
+										shaudit="未通过"
274
+									}else if(q.F_ISPass==1){
275
+										shaudit="通过"
276
+									}
277
+									var num=k+1;
278
+									var strs='<tr>'+
279
+									         '<td>'+ num +'</td>'+
280
+									         '<td>'+ q.F_AuditBy +'</td>'+
281
+									         '<td>'+ q.F_AuditRemark +'</td>'+
282
+									         '<td>'+ q.F_CreateOn +'</td>'+
283
+									         '<td>'+ shaudit +'</td>'+
284
+											'</tr>'
285
+									$(strs).appendTo($('.SHXX'))
286
+								})
287
+			
288
+			
289
+			
290
+			
291
+								
292
+							}
293
+							
294
+						}
295
+					});
296
+				
297
+				
298
+				
299
+				
300
+				
301
+				})
302
+
303
+				
304
+				
305
+				
306
+				
307
+			</script>
308
+</body>
309
+</html>