|
@@ -135,24 +135,8 @@
|
135
|
135
|
</div>
|
136
|
136
|
</div>
|
137
|
137
|
<div class="scroll" v-show="defalutshow">暂无数据</div>
|
138
|
|
- <!-- 医院介绍详情 -->
|
139
|
|
- <div class="scroll" v-show="hosshow" style="padding:15px 4%;" v-html="hospitalform.introduction"></div>
|
140
|
|
- <!-- 科室介绍详情 -->
|
141
|
|
- <div class="scroll" v-show="keshow" style="padding:15px 4%;" v-html="officeform.introduction"></div>
|
142
|
|
- <!-- 名医介绍详情 -->
|
143
|
|
- <div class="scroll" v-show="docshow" id="targetthree" style="padding:15px 4%">
|
144
|
|
- <div class="docone" v-for="item in this.editdocfrom" :key="item.id" @click="singleDoctorInfo(item.id,item.user_org_id)">
|
145
|
|
- <div class="doctwo">
|
146
|
|
- <img :src="item.dochead" style="width:80px;height:80px">
|
147
|
|
- </div>
|
148
|
|
- <div class="docthree">
|
149
|
|
- <span class="docfour">{{item.doc_name}}</span>
|
150
|
|
- </div>
|
151
|
|
- <div class="docfive">
|
152
|
|
- <span class="docsix" v-html="item.docintroduction"></span>
|
153
|
|
- </div>
|
154
|
|
- </div>
|
155
|
|
- </div>
|
|
138
|
+
|
|
139
|
+
|
156
|
140
|
|
157
|
141
|
<!--科室环境详情 -->
|
158
|
142
|
<div class="scroll" v-show="OfficeEnviromentShow" id="targetfour">
|
|
@@ -169,34 +153,9 @@
|
169
|
153
|
</div>
|
170
|
154
|
</div>
|
171
|
155
|
|
172
|
|
- <!-- 文章列表详情 -->
|
173
|
|
- <div class="scroll" v-show="ArticlelistShow" id="targetfive" style="padding:15px 4%;">
|
174
|
|
- <div class="actilist" v-for="it in Articlelist" :key="it.id" @click="singleArticleInfo(it.id,it.user_org_id)">
|
175
|
|
- <div class="acthead">
|
176
|
|
- <img :src="it.imgs" style="width:80px;height:80px">
|
177
|
|
- </div>
|
178
|
|
- <div class="actcontent">
|
179
|
|
- <div class="actname"><span>{{it.title}}</span></div>
|
180
|
|
- <!-- <div class="actcomments">阅读:{{it.real_read_num}}|评论:{{it.comment_num}}|点赞:{{it.star_num}}</div> -->
|
181
|
|
- </div>
|
182
|
|
- </div>
|
183
|
|
- </div>
|
|
156
|
+
|
184
|
157
|
|
185
|
|
- <!-- 活动列表详情 -->
|
186
|
|
- <div class="scroll" v-show="ActivitieslistShow" id="targetsix" style="padding:15px 4%;">
|
187
|
|
- <div class="actilist" v-for="it in Activitieslist" :key="it.id" @click="singleActivitInfo(it.id,it.user_org_id)">
|
188
|
|
- <div class="acthead">
|
189
|
|
- <img :src="it.poster_photo" style="width:80px;height:80px">
|
190
|
|
- </div>
|
191
|
|
- <div class="actcontent">
|
192
|
|
- <div class="actname"><span>{{it.title}}</span></div>
|
193
|
|
- <!-- <div class="actcomments">阅读:{{it.read_num}}|评论:{{it.comment_num}}|点赞:{{it.star_num}}</div>
|
194
|
|
- <div class="progress">
|
195
|
|
- <el-progress :percentage="0"></el-progress>
|
196
|
|
- </div> -->
|
197
|
|
- </div>
|
198
|
|
- </div>
|
199
|
|
- </div>
|
|
158
|
+
|
200
|
159
|
|
201
|
160
|
<!-- 联系我们页面 -->
|
202
|
161
|
<div class="scroll" v-show="contactShow" style="padding:15px 4%;">
|
|
@@ -229,69 +188,8 @@
|
229
|
188
|
<div><span>{{item.title}}: {{item.Rideway.ride_way}}</span></div>
|
230
|
189
|
</div>
|
231
|
190
|
</div>
|
232
|
|
- </div>
|
233
|
|
-
|
234
|
|
- <!-- 单个名医介绍 -->
|
235
|
|
- <div class="scroll" v-show="singleDoctorshow" style="padding:15px 4%;">
|
236
|
|
-
|
237
|
|
- <div class="doctorInfo">
|
238
|
|
- <div class="doctorhead">
|
239
|
|
- <img :src="doctors.dochead" style="width:100%;height:100%">
|
240
|
|
- </div>
|
241
|
|
- <div class="doctorname">
|
242
|
|
- 姓名:{{doctors.doc_name}}
|
243
|
|
- </div>
|
244
|
|
- <div class="doctorposition">
|
245
|
|
- 职位:{{doctors.doc_postion}}
|
246
|
|
- </div>
|
247
|
|
- </div>
|
248
|
|
- <div class="doctorintroduction">医生简介:</div>
|
249
|
|
- <div class="doctorintro" v-html="doctors.docintroduction"></div>
|
250
|
|
- </div>
|
251
|
|
-
|
252
|
|
- <!-- 单个文章列表详情 -->
|
253
|
|
- <div class="scroll" v-show="singleArticleshow" style="padding:15px 4%;">
|
254
|
|
- <div class="artictitle">
|
255
|
|
- {{articles.title}}
|
256
|
|
- </div>
|
257
|
|
- <div class="articcontent" v-html="articles.content">
|
258
|
|
-
|
259
|
|
- </div>
|
260
|
|
- </div>
|
261
|
|
-
|
262
|
|
- <!-- 单个活动列表详情 -->
|
263
|
|
- <div class="scroll" v-show="singleActiveshow" style="padding:15px 4%;">
|
264
|
|
- <div class="activityImages">
|
265
|
|
- <img :src="activitys.poster_photo" style="width:100%;height:100%">
|
266
|
|
- </div>
|
267
|
|
- <div class="activitycontent">
|
268
|
|
- 活动标题:{{activitys.title}}
|
269
|
|
- </div>
|
270
|
|
- <div class="activitycontent">
|
271
|
|
- 活动副标题:{{activitys.subtitle}}
|
272
|
|
- </div>
|
273
|
|
- <div class="activitycontent">
|
274
|
|
- 活动详细地址:{{activitys.address}}
|
275
|
|
- </div>
|
276
|
|
- <div class="activitycontent">
|
277
|
|
- 开始时间:开始时间: {{staffCreateTime(activitys.start_time)}}
|
278
|
|
- </div>
|
279
|
|
- <div class="activitycontent">
|
280
|
|
- 结束时间:{{staffCreateTime(activitys.end_time)}}
|
281
|
|
- </div>
|
282
|
|
- <div class="activitycontent">
|
283
|
|
- 报名须知:{{activitys.sign_up_notice}}
|
284
|
|
- </div>
|
285
|
|
- <div class="activitycontent">
|
286
|
|
- 联系方式:{{activitys.phone_number}}
|
287
|
|
- </div>
|
288
|
|
- <div class="activitycontent">
|
289
|
|
- 限制人数:{{activitys.limit_num}}
|
290
|
|
- </div>
|
291
|
|
- <div class="activitycontent">
|
292
|
|
- 已报名人数:{{activitys.join_num}}
|
293
|
|
- </div>
|
294
|
|
- </div>
|
|
191
|
+ </div>
|
|
192
|
+
|
295
|
193
|
<!-- 返回首页 -->
|
296
|
194
|
<div class="showindex" v-show="showindex" @click="returnIndex()">
|
297
|
195
|
<div class="rebackone">
|
|
@@ -329,8 +227,8 @@
|
329
|
227
|
import {uParseTime} from "@/utils/tools";
|
330
|
228
|
Vue.component(Swipe.name, Swipe);
|
331
|
229
|
Vue.component(SwipeItem.name, SwipeItem);
|
332
|
|
- import { getHospitaldata,getArticlelist,getActivities,hispitalmore,officemore,docmore,kemore,articlemore,Activitiesmore,getDefalutNavigationData,getOrderModel,getAllConnecWay,
|
333
|
|
- singleActivitInfo,singleArticleInfo,singleDoctorInfo,GetRotationLinkAddress} from '@/api/micro/micro'
|
|
230
|
+ import { getHospitaldata,getArticlelist,getActivities,officemore,docmore,kemore,articlemore,Activitiesmore,getDefalutNavigationData,getOrderModel,getAllConnecWay,
|
|
231
|
+ singleActivitInfo,singleDoctorInfo,GetRotationLinkAddress} from '@/api/micro/micro'
|
334
|
232
|
import { link } from 'fs';
|
335
|
233
|
export default {
|
336
|
234
|
name: "micro",
|
|
@@ -408,52 +306,36 @@ import { link } from 'fs';
|
408
|
306
|
})
|
409
|
307
|
},
|
410
|
308
|
|
411
|
|
- hispitalmore(){
|
412
|
|
- alert("aaa")
|
413
|
|
- this.$router.push({path:'/hospital'});
|
|
309
|
+ hispitalmore(id,orgid){
|
|
310
|
+ this.$router.push({
|
|
311
|
+ path:'/hospital',
|
|
312
|
+ query:{
|
|
313
|
+ id:id,
|
|
314
|
+ orgid,orgid,
|
|
315
|
+ }
|
|
316
|
+ })
|
414
|
317
|
},
|
415
|
|
- // hispitalmore(id,orgid){
|
416
|
|
- // hispitalmore(id,orgid).then(response=>{
|
417
|
|
- // if(response.data.state ==1){
|
418
|
|
- // var hospital = response.data.data.hospital;
|
419
|
|
- // console.log("hospital",hospital)
|
420
|
|
- // this.hospitalform = response.data.data.hospital;
|
421
|
|
- // this.modelshow = false;
|
422
|
|
- // this.hosshow = true;
|
423
|
|
- // this.showindex = true;
|
424
|
|
- // this.showtop = true;
|
425
|
|
- // }
|
426
|
|
- // })
|
427
|
|
- // },
|
428
|
|
- //查看科室详情
|
429
|
|
- officemore(id,orgid){
|
430
|
|
- officemore(id,orgid).then(response=>{
|
431
|
|
- if(response.data.state ==1){
|
432
|
|
- var offices = response.data.data.offices;
|
433
|
|
- this.officeform = response.data.data.offices;
|
434
|
|
- console.log("科室详情数据",offices)
|
435
|
|
- this.modelshow = false;
|
436
|
|
- this.keshow = true;
|
437
|
|
- this.showindex = true;
|
438
|
|
- this.showtop = true;
|
439
|
|
- }
|
440
|
|
- })
|
441
|
|
- },
|
442
|
318
|
|
443
|
|
- // 查看名医详情
|
444
|
|
- docmore(id,orgid){
|
445
|
|
- docmore(id,orgid).then(response=>{
|
446
|
|
- if(response.data.state == 1){
|
447
|
|
- var editdoctor = response.data.data.editdoctor;
|
448
|
|
- this.editdocfrom = response.data.data.editdoctor;
|
449
|
|
- this.modelshow = false;
|
450
|
|
- this.docshow = true;
|
451
|
|
- this.showindex = true;
|
452
|
|
- this.showtop = true;
|
453
|
|
- console.log("编辑医生返回数据",editdoctor)
|
454
|
|
- }
|
455
|
|
- })
|
456
|
|
- },
|
|
319
|
+ officemore(id,orgid){
|
|
320
|
+ this.$router.push({
|
|
321
|
+ path:'/office',
|
|
322
|
+ query:{
|
|
323
|
+ id:id,
|
|
324
|
+ orgid,orgid,
|
|
325
|
+ }
|
|
326
|
+ })
|
|
327
|
+ },
|
|
328
|
+
|
|
329
|
+ docmore(id,orgid){
|
|
330
|
+ this.$router.push({
|
|
331
|
+ path:'/doctor',
|
|
332
|
+ query:
|
|
333
|
+ {
|
|
334
|
+ id:id,
|
|
335
|
+ orgid,orgid,
|
|
336
|
+ }
|
|
337
|
+ })
|
|
338
|
+ },
|
457
|
339
|
|
458
|
340
|
// 查看科室环境详情
|
459
|
341
|
kemore(id,orgid){
|
|
@@ -469,37 +351,26 @@ import { link } from 'fs';
|
469
|
351
|
}
|
470
|
352
|
})
|
471
|
353
|
},
|
472
|
|
-
|
473
|
|
- articlemore(id,orgid){
|
474
|
|
- articlemore(id,orgid).then(response=>{
|
475
|
|
- if(response.data.state == 1){
|
476
|
|
- var articlelist = response.data.data.articlelists;
|
477
|
|
- console.log("文章列表数据",articlelist)
|
478
|
|
- this.articlelist = response.data.data.articlelists;
|
479
|
|
- this.modelshow = false;
|
480
|
|
- this.ArticlelistShow = true;
|
481
|
|
- this.showindex = true;
|
482
|
|
- this.showtop = true;
|
483
|
|
- }
|
484
|
|
- })
|
|
354
|
+ articlemore(id,orgid){
|
|
355
|
+ this.$router.push({
|
|
356
|
+ path:'/articlelist',
|
|
357
|
+ query:
|
|
358
|
+ {
|
|
359
|
+ id:id,
|
|
360
|
+ orgid,orgid,
|
|
361
|
+ }
|
|
362
|
+ })
|
485
|
363
|
},
|
486
|
|
-
|
487
|
|
-
|
488
|
|
- // 查看活动列表详情
|
489
|
|
- Activitiesmore(id,orgid){
|
490
|
|
- Activitiesmore(id,orgid).then(response=>{
|
491
|
|
- if(response.data.state == 1){
|
492
|
|
- var activity = response.data.data.activity;
|
493
|
|
- this.Activitieslist = response.data.data.activity;
|
494
|
|
- this.modelshow = false;
|
495
|
|
- this.ActivitieslistShow = true;
|
496
|
|
- this.showindex = true;
|
497
|
|
- this.showtop = true;
|
498
|
|
- console.log("获取活动列表",activity)
|
499
|
|
- }
|
500
|
|
- })
|
501
|
|
- },
|
502
|
|
-
|
|
364
|
+
|
|
365
|
+ Activitiesmore(id,orgid){
|
|
366
|
+ this.$router.push({
|
|
367
|
+ path:'/activitylist',
|
|
368
|
+ query:{
|
|
369
|
+ id:id,
|
|
370
|
+ orgid,orgid,
|
|
371
|
+ }
|
|
372
|
+ })
|
|
373
|
+ },
|
503
|
374
|
callPhone(title,address){
|
504
|
375
|
if(title == "首页"){
|
505
|
376
|
this.modelshow = true
|
|
@@ -1069,42 +940,7 @@ import { link } from 'fs';
|
1069
|
940
|
overflow: hidden;
|
1070
|
941
|
}
|
1071
|
942
|
|
1072
|
|
- .actilist{
|
1073
|
|
- width:100%;
|
1074
|
|
- height: 90px;
|
1075
|
|
- /* border:solid 1px red; */
|
1076
|
|
- margin-left: 5px;
|
1077
|
|
- }
|
1078
|
|
-
|
1079
|
|
- .acthead{
|
1080
|
|
- width: 80px;
|
1081
|
|
- height: 80px;
|
1082
|
|
- /* border: solid 1px red; */
|
1083
|
|
- margin-left: 5px;
|
1084
|
|
- margin-top: 5px;
|
1085
|
|
- }
|
1086
|
|
-
|
1087
|
|
- .actcontent{
|
1088
|
|
- width: 200px;
|
1089
|
|
- height: 80px;
|
1090
|
|
- /* border: solid 1px red; */
|
1091
|
|
- margin-left: 90px;
|
1092
|
|
- margin-top: -82px;
|
1093
|
|
- }
|
1094
|
|
-
|
1095
|
|
- .actname{
|
1096
|
|
- width:190px;
|
1097
|
|
- height: 15px;
|
1098
|
|
- /* border:solid 1px red; */
|
1099
|
|
- margin-left: 5px;
|
1100
|
|
- margin-top: 10px;
|
1101
|
|
- font-size: 14px;
|
1102
|
|
- overflow: hidden;
|
1103
|
|
- text-overflow: ellipsis;
|
1104
|
|
- display: -webkit-box;
|
1105
|
|
- -webkit-line-clamp: 1;
|
1106
|
|
- -webkit-box-orient: vertical;
|
1107
|
|
- }
|
|
943
|
+
|
1108
|
944
|
.actcomments{
|
1109
|
945
|
width: 190px;
|
1110
|
946
|
height: 20px;
|
|
@@ -1376,55 +1212,42 @@ import { link } from 'fs';
|
1376
|
1212
|
min-height: 200px;
|
1377
|
1213
|
/* border:solid 1px red; */
|
1378
|
1214
|
}
|
1379
|
|
-
|
1380
|
|
- .doctorInfo{
|
1381
|
|
- width: 100%;
|
1382
|
|
- height: 100px;
|
1383
|
|
- /* border: solid 1px red; */
|
1384
|
|
- }
|
1385
|
1215
|
|
1386
|
|
- .doctorhead{
|
1387
|
|
- position: absolute;
|
1388
|
|
- width: 80px;
|
1389
|
|
- height: 80px;
|
1390
|
|
- /* border: solid 1px red; */
|
1391
|
|
- margin-left: 10px;
|
1392
|
|
- margin-top: 10px;
|
1393
|
|
- }
|
1394
|
|
-
|
1395
|
|
- .doctorname{
|
1396
|
|
- position: absolute;
|
1397
|
|
- min-width: 100px;
|
1398
|
|
- height: 20px;
|
1399
|
|
- /* border: solid 1px red; */
|
1400
|
|
- margin-left: 100px;
|
1401
|
|
- margin-top: 20px;
|
1402
|
|
- font-size: 14px;
|
1403
|
|
- }
|
1404
|
|
- .doctorposition{
|
1405
|
|
- position: absolute;
|
1406
|
|
- min-width: 100px;
|
1407
|
|
- height: 20px;
|
|
1216
|
+ .actilist{
|
|
1217
|
+ width:100%;
|
|
1218
|
+ height: 90px;
|
|
1219
|
+ /* border:solid 1px red; */
|
|
1220
|
+ margin-left: 5px;
|
|
1221
|
+ }
|
|
1222
|
+
|
|
1223
|
+ .acthead{
|
|
1224
|
+ width: 80px;
|
|
1225
|
+ height: 80px;
|
1408
|
1226
|
/* border: solid 1px red; */
|
1409
|
|
- margin-left: 100px;
|
1410
|
|
- margin-top: 45px;
|
1411
|
|
- font-size: 14px;
|
1412
|
|
- }
|
|
1227
|
+ margin-left: 5px;
|
|
1228
|
+ margin-top: 5px;
|
|
1229
|
+ }
|
1413
|
1230
|
|
1414
|
|
- .doctorintroduction{
|
1415
|
|
- /* position: absolute; */
|
1416
|
|
- min-width: 100px;
|
1417
|
|
- min-height: 20px;
|
1418
|
|
- margin-left: 10px;
|
1419
|
|
- /* border:solid 1px red; */
|
1420
|
|
- font-size: 14px;
|
1421
|
|
- }
|
1422
|
|
- .doctorintro{
|
1423
|
|
- /* position: absolute; */
|
1424
|
|
- width: 100%;
|
1425
|
|
- min-height: 200px;
|
1426
|
|
- /* border:solid 1px red; */
|
1427
|
|
- font-size: 14px;
|
1428
|
|
- /* margin-left: 10px; */
|
1429
|
|
- }
|
|
1231
|
+ .actcontent{
|
|
1232
|
+ width: 200px;
|
|
1233
|
+ height: 80px;
|
|
1234
|
+ /* border: solid 1px red; */
|
|
1235
|
+ margin-left: 90px;
|
|
1236
|
+ margin-top: -82px;
|
|
1237
|
+ }
|
|
1238
|
+
|
|
1239
|
+ .actname{
|
|
1240
|
+ width:190px;
|
|
1241
|
+ height: 15px;
|
|
1242
|
+ /* border:solid 1px red; */
|
|
1243
|
+ margin-left: 5px;
|
|
1244
|
+ margin-top: 10px;
|
|
1245
|
+ font-size: 14px;
|
|
1246
|
+ overflow: hidden;
|
|
1247
|
+ text-overflow: ellipsis;
|
|
1248
|
+ display: -webkit-box;
|
|
1249
|
+ -webkit-line-clamp: 1;
|
|
1250
|
+ -webkit-box-orient: vertical;
|
|
1251
|
+ }
|
|
1252
|
+
|
1430
|
1253
|
</style>
|