yyghDoctorList.wxml 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. <view class="container {{dialogIsShow?'fixed':''}}" hidden="{{!showCon}}">
  2. <view class="content">
  3. <view class="userInfoTopFixe">
  4. <view class="date_list" wx:if="{{serviceId != 009}}">
  5. <view class="date_item date_item_hasList date_item_all {{timeActive===''?'backgroundCustom':''}}" bindtap="timeClick" wx:if="{{pageConfig.hasAllSchedules}}">
  6. 全部
  7. </view>
  8. <view class="date_item date_item_hasList {{timeActive===index?'backgroundCustom':''}} {{item.HasSchedule != 1 && 'colorCustom_999'}}" wx:for="{{timeList}}" wx:key="index" bindtap="{{item.HasSchedule == 1 && 'timeClick'}}" data-item="{{item}}" data-index="{{index}}">
  9. <text>{{item.WeekName}}</text>
  10. <text class="month">{{item.RegDateNotYear}}</text>
  11. </view>
  12. </view>
  13. <view class="nav">
  14. <view class="nav_inner">
  15. <view class="nav_tit_val">是否仅显示可约医生</view>
  16. <switch class="public_switch" value="{{reducibleOnly}}" color="var(--dominantColor)" bindchange="switchChange"></switch>
  17. </view>
  18. </view>
  19. </view>
  20. <view class="doctor_list {{serviceId == 009 && 'doctor_list100'}}" wx:if="{{!showNoData}}">
  21. <view class="doctor_item" wx:for="{{doctorList}}" wx:for-index="doctorIndex" wx:for-item="doctorItem" wx:key="doctorIndex">
  22. <view class="doctor_item_nav" bindtap="doctorInfoClick" data-item="{{doctorItem}}">
  23. <view class="doctor_item_nav_img">
  24. <image src="{{doctorItem.PhotoUrl || iconUrl.icon_doctor}}" mode="widthFix"></image>
  25. </view>
  26. <view class="doctor_item_nav_tit">
  27. <view class="doctor_item_nav_subtit">
  28. <text class="doctor_item_nav_subtit_val">{{doctorItem.DoctorName}}</text>
  29. <text wx:if="{{doctorItem.DoctorTitle || doctorItem.Title}}" class="doctor_item_nav_subtit_txt">{{doctorItem.DoctorTitle||doctorItem.Title}}</text>
  30. </view>
  31. <view wx:if="{{doctorItem.Spec}}" class="doctor_item_nav_info">
  32. {{doctorItem.Spec}}
  33. </view>
  34. </view>
  35. </view>
  36. <view class="scheduling_box" wx:for="{{doctorItem.Scheduling}}" wx:for-item="schedulItem" wx:for-index="schedulIndex" wx:key="schedulIndex">
  37. <view class="scheduling_dept_box displayFlexBetween" data-doctorIndex="{{doctorIndex}}" data-schedulIndex="{{schedulIndex}}" bindtap="foldList">
  38. <view class="scheduling_deptName_box displayFlexRow">
  39. <view class="backgroundCustom "></view>
  40. <text>{{schedulItem.DeptName}}</text>
  41. </view>
  42. <image class="arrow {{schedulItem.Check ? 'transform_rotate_90' : ''}}" src="{{iconUrl.icon_right}}"></image>
  43. </view>
  44. <view class="time_list" wx:if="{{schedulItem.Check}}">
  45. <view class="time_item displayFlexCol {{(item.IsHalt==7 && item.WaitLeaveCount <= 0) || item.IsHalt==2?'time_item_stop':''}}" wx:for="{{schedulItem.showAllSchedu?schedulItem.Data_1:schedulItem.Data_1_Diy}}" wx:key="index" bindtap="toClinic" data-item="{{schedulItem}}" data-index="{{index}}" data-dataItem="{{item}}">
  46. <view>{{item.RegDateDiy}}</view>
  47. <view style="margin-top: 12rpx;">{{item.WeekName}} {{item.TimeSliceStr}}</view>
  48. <image wx:if="{{item.IsHalt==7}}" class="time_item_img" src="{{iconUrl.full2}}"></image>
  49. <image wx:if="{{item.IsHalt==2}}" class="time_item_img" src="{{iconUrl.stop}}"></image>
  50. <image wx:if="{{item.IsHalt == 7 && item.WaitLeaveCount > 0}}" class="time_item_img" src="{{iconUrl.yyghWait}}"></image>
  51. </view>
  52. <view class="time_item colorCustom" bindtap="showAll" data-doctorIndex="{{doctorIndex}}" data-schedulIndex="{{schedulIndex}}" wx:if="{{schedulItem.Data_1.length > 6}}">{{schedulItem.showAllSchedu?'收起':'全部排班'}}</view>
  53. </view>
  54. </view>
  55. <view class="other_dept_box" wx:if="{{!doctorItem.ShowDeptSwitch }}">
  56. <view class="displayFlexRow border_top displayFlexBetween">
  57. <text>本院所有科室排班</text>
  58. <switch color="var(--dominantColor)" class="public_switch" data-index="{{doctorIndex}}" data-doctorItem="{{doctorItem}}" bindchange="queryScheduleList" />
  59. </view>
  60. </view>
  61. <view class="other_dept_box displayFlexRow border_top" wx:if="{{doctorItem.Scheduling.length == 1 && doctorItem.ShowDeptSwitch}}">
  62. <text class="non_schedul">暂无其他科室排班</text>
  63. </view>
  64. </view>
  65. </view>
  66. <view wx:else class="noData">
  67. <noData value="{{noDataTip}}"></noData>
  68. </view>
  69. </view>
  70. <doctorInfo doctorInfoIsShow="{{doctorInfoIsShow}}" doctorInfo="{{doctorInfo}}"></doctorInfo>
  71. </view>
  72. <!-- AI数智客服入口-->
  73. <aiCustomerEntry currentUser="{{currentUser}}"></aiCustomerEntry>