Browse Source

ui 调整

main
kola-web 3 months ago
parent
commit
f0dececd35
  1. 4
      src/components/customRecord/index.scss
  2. 15
      src/echart/components/homeLevel1/index.scss
  3. 20
      src/echart/components/homeLevel1/index.wxml
  4. 17
      src/echart/components/homeLevel2/index.scss
  5. 19
      src/echart/components/homeLevel2/index.wxml
  6. 12
      src/echart/components/homeLevel3/index.scss
  7. 42
      src/echart/components/homeLevel3/index.wxml
  8. 21
      src/echart/components/homeLevel4/index.scss
  9. 4
      src/echart/components/homeLevel4/index.ts
  10. 33
      src/echart/components/homeLevel4/index.wxml
  11. BIN
      src/images/empty-3.png
  12. BIN
      src/images/home-banner-title-bg.png
  13. BIN
      src/images/icon-close.png
  14. 18
      src/module1/pages/casesDetail/index.scss
  15. 47
      src/module1/pages/casesDetail/index.wxml
  16. 24
      src/module1/pages/casesFeedback/index.scss
  17. 19
      src/module1/pages/casesFeedback/index.wxml
  18. 1
      src/module1/pages/doctorRankList/index.scss
  19. 26
      src/module1/pages/entryCases/index.scss
  20. 25
      src/module1/pages/entryCases/index.wxml
  21. 1
      src/module1/pages/entryCasesResult/index.scss
  22. 1
      src/module1/pages/org4/index.scss
  23. 1
      src/module1/pages/setCaseDoctor/index.scss
  24. 8
      src/module1/pages/setCaseDoctor/index.wxml
  25. 1
      src/module1/pages/setChatDoctor/index.wxml
  26. 12
      src/module1/pages/setDoctor/index.wxml
  27. 11
      src/pages/cases/index.scss
  28. 11
      src/pages/cases/index.ts
  29. 1
      src/pages/cases/index.wxml
  30. 3
      src/pages/chatRoomList/index.scss
  31. 20
      src/pages/home/index.ts
  32. 4
      src/pages/home/index.wxml

4
src/components/customRecord/index.scss

@ -1,12 +1,12 @@ @@ -1,12 +1,12 @@
.record {
border: 10rpx solid #e6f7f9;
border-radius: 50%;
&.record-slot {
border: none;
}
.icon {
width: 107rpx;
height: 107rpx;
border: 10rpx solid #e6f7f9;
border-radius: 50%;
}
.record-page {
position: fixed;

15
src/echart/components/homeLevel1/index.scss

@ -18,6 +18,7 @@ @@ -18,6 +18,7 @@
.name {
font-size: 36rpx;
color: rgba(0, 180, 197, 1);
font-weight: bold;
}
.desc {
font-size: 28rpx;
@ -58,17 +59,14 @@ @@ -58,17 +59,14 @@
.title {
position: relative;
z-index: 1;
padding: 14rpx;
padding: 18rpx 30rpx;
width: 262rpx;
height: 116rpx;
text-align: center;
font-size: 28rpx;
font-weight: bold;
color: rgba(0, 180, 197, 1);
line-height: 1;
box-sizing: border-box;
background: linear-gradient(180deg, #dcf5f7 0%, #ffffff 100%);
border-radius: 24rpx 24rpx 24rpx 24rpx;
border: 1px solid #ffffff;
}
.bg {
padding-top: 40rpx;
@ -131,9 +129,10 @@ @@ -131,9 +129,10 @@
position: absolute;
top: 0;
left: 0;
padding: 16rpx 24rpx;
padding: 16rpx 30rpx;
font-size: 28rpx;
color: #fff;
font-weight: bold;
}
.s-container {
display: flex;
@ -168,9 +167,10 @@ @@ -168,9 +167,10 @@
position: absolute;
top: 0;
left: 0;
padding: 16rpx 24rpx;
padding: 16rpx 30rpx;
font-size: 28rpx;
color: #fff;
font-weight: bold;
}
.s-container {
display: flex;
@ -212,6 +212,7 @@ @@ -212,6 +212,7 @@
.name {
font-size: 32rpx;
color: rgba(20, 21, 21, 1);
font-weight: bold;
}
.fold {
font-size: 28rpx;

20
src/echart/components/homeLevel1/index.wxml

@ -17,20 +17,24 @@ @@ -17,20 +17,24 @@
</view>
</view>
<view class="banner">
<view class="title">待处理事项</view>
<view
class="title"
style="background: url({{imageUrl}}home-banner-title-bg.png?r={{Timestamp}}) no-repeat top center/262rpx 116rpx;"
>
待处理事项
</view>
<view class="bg">
<view class="b-container" wx:if="{{take.notReadFeedBackCount>0 || take.notReadChatRoomCount>0}}">
<view class="b-container">
<view class="item" bind:tap="handleCaseUpdate">
<view class="name">病历更新</view>
<view class="num">{{take.notReadFeedBackCount}}</view>
<view class="num">{{take.notReadFeedBackCount*1 || '--'}}</view>
</view>
<view class="line"></view>
<view class="item" bind:tap="handleChat">
<view class="name">聊天室新消息</view>
<view class="num">{{take.notReadChatRoomCount}}</view>
<view class="num">{{take.notReadChatRoomCount*1 || '--'}}</view>
</view>
</view>
<view class="b-container-none" wx:else>暂时没有需要处理的事项哦~</view>
</view>
</view>
<view
@ -48,7 +52,7 @@ @@ -48,7 +52,7 @@
<view class="item">
<view class="name">
新病历
<van-icon name="question" color="rgba(224, 224, 224, 1)" />
<van-icon bind:tap="handleQuestion" data-index="1" name="question" color="rgba(224, 224, 224, 1)" />
</view>
<view class="num">{{case.newCaseCount}}</view>
</view>
@ -56,7 +60,7 @@ @@ -56,7 +60,7 @@
<view class="item">
<view class="name">
讨论中
<van-icon name="question" color="rgba(224, 224, 224, 1)" />
<van-icon bind:tap="handleQuestion" data-index="2" name="question" color="rgba(224, 224, 224, 1)" />
</view>
<view class="num">{{case.feedbackCaseCount}}</view>
</view>
@ -64,7 +68,7 @@ @@ -64,7 +68,7 @@
<view class="item">
<view class="name">
已归档
<van-icon name="question" color="rgba(224, 224, 224, 1)" />
<van-icon bind:tap="handleQuestion" data-index="3" name="question" color="rgba(224, 224, 224, 1)" />
</view>
<view class="num">{{case.archiveCaseCount}}</view>
</view>

17
src/echart/components/homeLevel2/index.scss

@ -31,6 +31,7 @@ @@ -31,6 +31,7 @@
.name {
font-size: 36rpx;
color: rgba(20, 21, 21, 1);
font-weight: bold;
}
.desc {
font-size: 28rpx;
@ -88,6 +89,7 @@ @@ -88,6 +89,7 @@
color: rgba(0, 180, 197, 1);
line-height: 32rpx;
border: 1px solid rgba(191, 239, 244, 1);
border-radius: 4rpx;
}
}
}
@ -97,17 +99,14 @@ @@ -97,17 +99,14 @@
.title {
position: relative;
z-index: 1;
padding: 14rpx;
padding: 18rpx 30rpx;
width: 262rpx;
height: 116rpx;
text-align: center;
font-size: 28rpx;
font-weight: bold;
color: rgba(0, 180, 197, 1);
line-height: 1;
box-sizing: border-box;
background: linear-gradient(180deg, #dcf5f7 0%, #ffffff 100%);
border-radius: 24rpx 24rpx 24rpx 24rpx;
border: 1px solid #ffffff;
}
.bg {
padding-top: 40rpx;
@ -170,9 +169,10 @@ @@ -170,9 +169,10 @@
position: absolute;
top: 0;
left: 0;
padding: 16rpx 24rpx;
padding: 16rpx 30rpx;
font-size: 28rpx;
color: #fff;
font-weight: bold;
}
.more {
position: absolute;
@ -215,9 +215,10 @@ @@ -215,9 +215,10 @@
position: absolute;
top: 0;
left: 0;
padding: 16rpx 24rpx;
padding: 16rpx 30rpx;
font-size: 28rpx;
color: #fff;
font-weight: bold;
}
.s-container {
display: flex;
@ -260,6 +261,7 @@ @@ -260,6 +261,7 @@
.name {
font-size: 32rpx;
color: rgba(20, 21, 21, 1);
font-weight: bold;
}
.fold {
font-size: 28rpx;
@ -390,6 +392,7 @@ @@ -390,6 +392,7 @@
color: rgba(0, 180, 197, 1);
line-height: 32rpx;
border: 1px solid rgba(191, 239, 244, 1);
border-radius: 4rpx;
}
}
}

19
src/echart/components/homeLevel2/index.wxml

@ -28,7 +28,12 @@ @@ -28,7 +28,12 @@
</view>
</view>
<view class="banner">
<view class="title">待处理事项</view>
<view
class="title"
style="background: url({{imageUrl}}home-banner-title-bg.png?r={{Timestamp}}) no-repeat top center/262rpx 116rpx;"
>
待处理事项
</view>
<view class="bg">
<view
class="b-container"
@ -36,19 +41,19 @@ @@ -36,19 +41,19 @@
>
<view class="item" bind:tap="handlePendCase">
<view class="name">待处理病历</view>
<view class="num">{{take.dealCaseCount}}</view>
<view class="num">{{take.dealCaseCount*1 || '--'}}</view>
</view>
<view class="item" bind:tap="handleCaseUpdate">
<view class="name">病历更新</view>
<view class="num">{{take.notReadFeedBackCount}}</view>
<view class="num">{{take.notReadFeedBackCount*1 || '--'}}</view>
</view>
<view class="item" bind:tap="handleChat">
<view class="name">聊天室消息</view>
<view class="num">{{take.notReadChatRoomCount}}</view>
<view class="num">{{take.notReadChatRoomCount*1 || '--'}}</view>
</view>
<view class="item" bind:tap="handleAudit">
<view class="name">医生待审核</view>
<view class="num">{{take.toAuditDoctorCount}}</view>
<view class="num">{{take.toAuditDoctorCount*1 || '--'}}</view>
</view>
</view>
<view class="b-container-none" wx:else>暂时没有需要处理的事项哦~</view>
@ -100,7 +105,7 @@ @@ -100,7 +105,7 @@
style="background: url({{imageUrl}}home-stat-bg.png?r={{Timestamp}}) no-repeat top center/100% 100%;"
wx:else
>
<view class="title">我提交的病历</view>
<view class="title">我管理病历</view>
<view class="s-container">
<image class="none" src="{{imageUrl}}empty-3.png?t={{Timestamp}}"></image>
<view class="tip">还没有提交病历</view>
@ -213,7 +218,7 @@ @@ -213,7 +218,7 @@
<view class="name">我邀约的医生</view>
</view>
<view class="none">
<image class="none-img1" src="{{imageUrl}}empty-5.png?t={{Timestamp}}"></image>
<image class="none-img1" src="{{imageUrl}}empty-4.png?t={{Timestamp}}"></image>
<view class="content">还没有邀约医生哦</view>
</view>
</view>

12
src/echart/components/homeLevel3/index.scss

@ -31,6 +31,7 @@ @@ -31,6 +31,7 @@
.name {
font-size: 36rpx;
color: rgba(20, 21, 21, 1);
font-weight: bold;
}
.desc {
font-size: 28rpx;
@ -88,6 +89,7 @@ @@ -88,6 +89,7 @@
color: rgba(0, 180, 197, 1);
line-height: 32rpx;
border: 1px solid rgba(191, 239, 244, 1);
border-radius: 4rpx;
}
}
}
@ -97,17 +99,14 @@ @@ -97,17 +99,14 @@
.title {
position: relative;
z-index: 1;
padding: 14rpx;
padding: 18rpx 30rpx;
width: 262rpx;
height: 116rpx;
text-align: center;
font-size: 28rpx;
font-weight: bold;
color: rgba(0, 180, 197, 1);
line-height: 1;
box-sizing: border-box;
background: linear-gradient(180deg, #dcf5f7 0%, #ffffff 100%);
border-radius: 24rpx 24rpx 24rpx 24rpx;
border: 1px solid #ffffff;
}
.bg {
padding-top: 40rpx;
@ -215,9 +214,10 @@ @@ -215,9 +214,10 @@
position: absolute;
top: 0;
left: 0;
padding: 16rpx 24rpx;
padding: 16rpx 30rpx;
font-size: 28rpx;
color: #fff;
font-weight: bold;
}
.s-container {
display: flex;

42
src/echart/components/homeLevel3/index.wxml

@ -28,30 +28,31 @@ @@ -28,30 +28,31 @@
</view>
</view>
<view class="banner">
<view class="title">待处理事项</view>
<view
class="title"
style="background: url({{imageUrl}}home-banner-title-bg.png?r={{Timestamp}}) no-repeat top center/262rpx 116rpx;"
>
待处理事项
</view>
<view class="bg">
<view
class="b-container"
wx:if="{{take.dealCaseCount>0 || take.notReadFeedBackCount>0 || take.notReadChatRoomCount>0 || take.toAuditDoctorCount>0}}"
>
<view class="b-container">
<view class="item" bind:tap="handlePendCase">
<view class="name">待处理病历</view>
<view class="num">{{take.dealCaseCount}}</view>
<view class="num">{{take.dealCaseCount*1 || '--'}}</view>
</view>
<view class="item" bind:tap="handleCaseUpdate">
<view class="name">病历更新</view>
<view class="num">{{take.notReadFeedBackCount}}</view>
<view class="num">{{take.notReadFeedBackCount*1 || '--'}}</view>
</view>
<view class="item" bind:tap="handleChat">
<view class="name">聊天室消息</view>
<view class="num">{{take.notReadChatRoomCount}}</view>
<view class="num">{{take.notReadChatRoomCount*1 || '--'}}</view>
</view>
<view class="item" bind:tap="handleAudit">
<view class="name">医生待审核</view>
<view class="num">{{take.toAuditDoctorCount}}</view>
<view class="num">{{take.toAuditDoctorCount*1 || '--'}}</view>
</view>
</view>
<view class="b-container-none" wx:else>暂时没有需要处理的事项哦~</view>
</view>
</view>
<view
@ -73,21 +74,21 @@ @@ -73,21 +74,21 @@
<view class="item">
<view class="name">
新病历
<van-icon name="question" color="rgba(224, 224, 224, 1)" />
<van-icon bind:tap="handleQuestion" data-index="1" name="question" color="rgba(224, 224, 224, 1)" />
</view>
<view class="num">{{case.newCaseCount}}</view>
</view>
<view class="item">
<view class="name">
讨论中
<van-icon name="question" color="rgba(224, 224, 224, 1)" />
<van-icon bind:tap="handleQuestion" data-index="2" name="question" color="rgba(224, 224, 224, 1)" />
</view>
<view class="num">{{case.feedbackCaseCount}}</view>
</view>
<view class="item">
<view class="name">
已归档
<van-icon name="question" color="rgba(224, 224, 224, 1)" />
<van-icon bind:tap="handleQuestion" data-index="3" name="question" color="rgba(224, 224, 224, 1)" />
</view>
<view class="num">{{case.archiveCaseCount}}</view>
</view>
@ -117,25 +118,16 @@ @@ -117,25 +118,16 @@
</view>
<view class="s-container">
<view class="item">
<view class="name">
全部
<van-icon name="question" color="rgba(224, 224, 224, 1)" />
</view>
<view class="name">全部</view>
<view class="num">{{doctorCount.TotalCount}}</view>
</view>
<view class="line"></view>
<view class="item">
<view class="name">
二级医生
<van-icon name="question" color="rgba(224, 224, 224, 1)" />
</view>
<view class="name">二级医生</view>
<view class="num">{{doctorCount.TwoCount}}</view>
</view>
<view class="item">
<view class="name">
一级医生
<van-icon name="question" color="rgba(224, 224, 224, 1)" />
</view>
<view class="name">一级医生</view>
<view class="num">{{doctorCount.OneCount}}</view>
</view>
</view>

21
src/echart/components/homeLevel4/index.scss

@ -30,6 +30,7 @@ @@ -30,6 +30,7 @@
.name {
font-size: 36rpx;
color: rgba(20, 21, 21, 1);
font-weight: bold;
}
.desc {
font-size: 28rpx;
@ -87,6 +88,7 @@ @@ -87,6 +88,7 @@
color: rgba(0, 180, 197, 1);
line-height: 32rpx;
border: 1px solid rgba(191, 239, 244, 1);
border-radius: 4rpx;
}
}
}
@ -96,17 +98,14 @@ @@ -96,17 +98,14 @@
.title {
position: relative;
z-index: 1;
padding: 14rpx;
width: 221rpx;
padding: 18rpx 30rpx;
width: 262rpx;
height: 116rpx;
text-align: center;
font-size: 28rpx;
font-weight: bold;
color: rgba(0, 180, 197, 1);
line-height: 1;
box-sizing: border-box;
background: linear-gradient(180deg, #dcf5f7 0%, #ffffff 100%);
border-radius: 24rpx 24rpx 24rpx 24rpx;
border: 1px solid #ffffff;
}
.bg {
padding-top: 40rpx;
@ -169,9 +168,10 @@ @@ -169,9 +168,10 @@
position: absolute;
top: 0;
left: 0;
padding: 16rpx 24rpx;
padding: 16rpx 30rpx;
font-size: 26rpx;
color: #fff;
font-weight: bold;
}
.picker {
position: absolute;
@ -182,6 +182,7 @@ @@ -182,6 +182,7 @@
display: flex;
gap: 18rpx;
font-size: 28rpx;
line-height: 40rpx;
color: rgba(133, 133, 133, 1);
background: #ffffff;
border-radius: 98rpx 98rpx 98rpx 98rpx;
@ -224,8 +225,9 @@ @@ -224,8 +225,9 @@
display: flex;
align-items: center;
justify-content: center;
gap: 26rpx;
.none {
width: 116rpx;
width: 102rpx;
height: 102rpx;
}
.tip {
@ -248,6 +250,7 @@ @@ -248,6 +250,7 @@
.name {
font-size: 32rpx;
color: rgba(20, 21, 21, 1);
font-weight: bold;
}
.more {
font-size: 28rpx;
@ -329,6 +332,7 @@ @@ -329,6 +332,7 @@
.name {
font-size: 32rpx;
color: rgba(20, 21, 21, 1);
font-weight: bold;
}
.picker {
.picker-content {
@ -381,6 +385,7 @@ @@ -381,6 +385,7 @@
.title {
font-size: 32rpx;
color: rgba(20, 21, 21, 1);
font-weight: bold;
}
.more {
font-size: 28rpx;

4
src/echart/components/homeLevel4/index.ts

@ -673,6 +673,10 @@ Component({ @@ -673,6 +673,10 @@ Component({
url: "/module1/pages/auditDoctorList/index",
});
},
handleQuestion(e) {
const { index } = e.currentTarget.dataset;
this.triggerEvent("question", index);
},
},
});

33
src/echart/components/homeLevel4/index.wxml

@ -28,26 +28,27 @@ @@ -28,26 +28,27 @@
</view>
</view>
<view class="banner">
<view class="title">待处理事项</view>
<view
class="title"
style="background: url({{imageUrl}}home-banner-title-bg.png?r={{Timestamp}}) no-repeat top center/262rpx 116rpx;"
>
待处理事项
</view>
<view class="bg">
<view
class="b-container"
wx:if="{{take.dealCaseCount>0 || take.notReadChatRoomCount>0 || take.toAuditDoctorCount>0}}"
>
<view class="b-container">
<view class="item" bind:tap="handlePendCase">
<view class="name">待处理病历</view>
<view class="num">{{take.dealCaseCount}}</view>
<view class="num">{{take.dealCaseCount*1 || '--'}}</view>
</view>
<view class="item" bind:tap="handleChat">
<view class="name">聊天室消息</view>
<view class="num">{{take.notReadChatRoomCount}}</view>
<view class="num">{{take.notReadChatRoomCount*1 || '--'}}</view>
</view>
<view class="item" bind:tap="handleAudit">
<view class="name">医生待审核</view>
<view class="num">{{take.toAuditDoctorCount}}</view>
<view class="num">{{take.toAuditDoctorCount*1 || '--'}}</view>
</view>
</view>
<view class="b-container-none" wx:else>暂时没有需要处理的事项哦~</view>
</view>
</view>
<view
@ -74,21 +75,21 @@ @@ -74,21 +75,21 @@
<view class="item">
<view class="name">
新病历
<van-icon name="question" color="rgba(224, 224, 224, 1)" />
<van-icon bind:tap="handleQuestion" data-index="1" name="question" color="rgba(224, 224, 224, 1)" />
</view>
<view class="num">{{case.newCaseCount}}</view>
</view>
<view class="item">
<view class="name">
讨论中
<van-icon name="question" color="rgba(224, 224, 224, 1)" />
<van-icon bind:tap="handleQuestion" data-index="2" name="question" color="rgba(224, 224, 224, 1)" />
</view>
<view class="num">{{case.feedbackCaseCount}}</view>
</view>
<view class="item">
<view class="name">
已归档
<van-icon name="question" color="rgba(224, 224, 224, 1)" />
<van-icon bind:tap="handleQuestion" data-index="3" name="question" color="rgba(224, 224, 224, 1)" />
</view>
<view class="num">{{case.archiveCaseCount}}</view>
</view>
@ -139,7 +140,7 @@ @@ -139,7 +140,7 @@
<view class="c-header">
<view class="name">
科室医生入驻情况
<van-icon name="question" color="rgba(224, 224, 224, 1)" />
<van-icon bind:tap="handleQuestion" data-index="4" name="question" color="rgba(224, 224, 224, 1)" />
</view>
<picker class="picker" mode="date" end="{{endYear}}" fields="year" bindchange="handleYear1">
<view class="picker-content">
@ -165,7 +166,7 @@ @@ -165,7 +166,7 @@
<view class="c-header">
<view class="name">
累计病历统计
<van-icon name="question" color="rgba(224, 224, 224, 1)" />
<van-icon bind:tap="handleQuestion" data-index="5" name="question" color="rgba(224, 224, 224, 1)" />
</view>
<picker class="picker" mode="date" end="{{endYear}}" fields="year" bindchange="handleYear2">
<view class="picker-content">
@ -188,7 +189,7 @@ @@ -188,7 +189,7 @@
<view class="c-header">
<view class="name">
科室新增病历统计
<van-icon name="question" color="rgba(224, 224, 224, 1)" />
<van-icon bind:tap="handleQuestion" data-index="6" name="question" color="rgba(224, 224, 224, 1)" />
</view>
<picker class="picker" mode="date" end="{{endYear}}" fields="year" bindchange="handleYear3">
<view class="picker-content">
@ -211,7 +212,7 @@ @@ -211,7 +212,7 @@
<view class="r-header">
<view class="title">
医院活跃排行榜
<van-icon name="question" color="rgba(224, 224, 224, 1)" />
<van-icon bind:tap="handleQuestion" data-index="7" name="question" color="rgba(224, 224, 224, 1)" />
</view>
<view class="more" bind:tap="handleRankDetail">
查看全部

BIN
src/images/empty-3.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.5 KiB

After

Width:  |  Height:  |  Size: 6.8 KiB

BIN
src/images/home-banner-title-bg.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

BIN
src/images/icon-close.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 733 B

18
src/module1/pages/casesDetail/index.scss

@ -316,15 +316,6 @@ page { @@ -316,15 +316,6 @@ page {
color: rgba(128, 128, 128, 1);
}
}
.option {
display: flex;
align-items: center;
.icon {
margin-left: 16rpx;
width: 36rpx;
height: 36rpx;
}
}
}
}
}
@ -634,15 +625,6 @@ page { @@ -634,15 +625,6 @@ page {
color: rgba(128, 128, 128, 1);
}
}
.option {
display: flex;
align-items: center;
.icon {
margin-left: 16rpx;
width: 36rpx;
height: 36rpx;
}
}
}
}
}

47
src/module1/pages/casesDetail/index.wxml

@ -80,25 +80,17 @@ @@ -80,25 +80,17 @@
<view class="files" wx:if="{{detail.caseFiles.length}}">
<view class="f-title">病历相关文件</view>
<view class="file-list">
<view class="fl-row" wx:for="{{detail.caseFiles}}" wx:key="url">
<view
class="fl-row"
wx:for="{{detail.caseFiles}}"
wx:key="url"
bind:tap="handlePreviewFile"
data-item="{{item}}"
>
<view class="wrap">
<image class="icon" src="{{imageUrl}}icon-file{{item.fileType}}.png?t={{Timestamp}}"></image>
<view class="name">{{item.name}}</view>
</view>
<view class="option">
<image
class="icon"
bind:tap="handlePreviewFile"
data-item="{{item}}"
src="{{imageUrl}}icon-eye.png?t={{Timestamp}}"
></image>
<!-- <image -->
<!-- bind:tap="handleDownloadFile" -->
<!-- data-item="{{item}}" -->
<!-- class="icon" -->
<!-- src="{{imageUrl}}icon-download.png?t={{Timestamp}}" -->
<!-- ></image> -->
</view>
</view>
</view>
</view>
@ -191,25 +183,18 @@ @@ -191,25 +183,18 @@
<view class="files" wx:if="{{item.feedbackFiles.length}}">
<view class="f-title">补充文件</view>
<view class="file-list">
<view class="fl-row" wx:for="{{item.feedbackFiles}}" wx:for-item="cItem" wx:key="url">
<view
class="fl-row"
wx:for="{{item.feedbackFiles}}"
wx:for-item="cItem"
wx:key="url"
bind:tap="handlePreviewFile"
data-item="{{cItem}}"
>
<view class="wrap">
<image class="icon" src="{{imageUrl}}icon-file{{cItem.fileType}}.png?t={{Timestamp}}"></image>
<view class="name">{{cItem.name}}</view>
</view>
<view class="option">
<image
class="icon"
bind:tap="handlePreviewFile"
data-item="{{cItem}}"
src="{{imageUrl}}icon-eye.png?t={{Timestamp}}"
></image>
<!-- <image -->
<!-- bind:tap="handleDownloadFile" -->
<!-- data-item="{{cItem}}" -->
<!-- class="icon" -->
<!-- src="{{imageUrl}}icon-download.png?t={{Timestamp}}" -->
<!-- ></image> -->
</view>
</view>
</view>
</view>
@ -470,7 +455,7 @@ @@ -470,7 +455,7 @@
confirm-button-color="rgba(0, 180, 197, 1)"
>
<view class="dialog6">
<van-icon name="cross" class="close" bind:tap="onClose"/>
<van-icon name="cross" class="close" bind:tap="onClose" />
<view class="title">确认创建聊天室</view>
<view class="btn1" wx:if="{{auth.canCreateChatRoomInvite}}" bind:tap="handleCreateRoomInvite">
邀约并创建

24
src/module1/pages/casesFeedback/index.scss

@ -102,7 +102,7 @@ page { @@ -102,7 +102,7 @@ page {
}
.remark {
margin-top: 32rpx;
padding: 32rpx;
padding: 16rpx 32rpx;
border-radius: 16rpx;
background-color: rgba(246, 246, 246, 1);
.textarea {
@ -189,12 +189,14 @@ page { @@ -189,12 +189,14 @@ page {
align-content: inherit;
justify-content: space-between;
.wrap {
position: relative;
flex: 1;
padding: 20rpx 24rpx;
border-radius: 16rpx;
background-color: rgba(246, 246, 246, 1);
display: flex;
align-items: center;
justify-content: space-between;
.icon {
flex-shrink: 0;
width: 56rpx;
@ -208,16 +210,18 @@ page { @@ -208,16 +210,18 @@ page {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
max-width: 10em;
max-width: 13em;
}
}
.option {
display: flex;
align-items: center;
.icon {
margin-left: 16rpx;
width: 36rpx;
height: 36rpx;
.preview{
font-size: 32rpx;
color: #01B4C5;
}
.del{
position: absolute;
top: -16rpx;
right: -16rpx;
width: 32rpx;
height: 32rpx;
}
}
}

19
src/module1/pages/casesFeedback/index.wxml

@ -62,30 +62,23 @@ @@ -62,30 +62,23 @@
</uploadFile>
</view>
<view class="file-list" wx:if="{{files.length}}">
<view class="fl-row" wx:for="{{files}}" wx:key="name">
<view class="fl-row" wx:for="{{files}}" wx:key="name" bind:tap="handlePreviewFile" data-index="{{index}}">
<view class="wrap">
<image class="icon" src="{{imageUrl}}icon-file{{item.fileType}}.png?t={{Timestamp}}"></image>
<view class="name">{{item.name}}</view>
</view>
<view class="option">
<image
class="icon"
bind:tap="handleDelFile"
data-index="{{index}}"
src="{{imageUrl}}icon-del.png?t={{Timestamp}}"
></image>
<view class="preview">预览</view>
<image
class="icon"
bind:tap="handlePreviewFile"
class="del"
catch:tap="handleDelFile"
data-index="{{index}}"
src="{{imageUrl}}icon-eye.png?t={{Timestamp}}"
src="{{imageUrl}}icon-close.png?t={{Timestamp}}"
></image>
</view>
</view>
</view>
<view class="none-file" wx:else>
<image class="nf-icon" src="{{imageUrl}}icon-nore-file.png?t={{Timestamp}}"></image>
<view class="nf-title">还没有文件哦</view>
<view class="nf-title">还没有文件哦!</view>
</view>
</view>
<view class="footer">

1
src/module1/pages/doctorRankList/index.scss

@ -29,7 +29,6 @@ page { @@ -29,7 +29,6 @@ page {
}
}
.tbody {
border-bottom: 1rpx solid rgba(224, 224, 224, 0.5);
.tr {
display: flex;
font-size: 28rpx;

26
src/module1/pages/entryCases/index.scss

@ -102,7 +102,7 @@ page { @@ -102,7 +102,7 @@ page {
}
.remark {
margin-top: 32rpx;
padding: 32rpx;
padding: 16rpx 32rpx;
border-radius: 16rpx;
background-color: rgba(246, 246, 246, 1);
.textarea {
@ -189,12 +189,14 @@ page { @@ -189,12 +189,14 @@ page {
align-content: inherit;
justify-content: space-between;
.wrap {
position: relative;
flex: 1;
padding: 20rpx 24rpx;
border-radius: 16rpx;
background-color: rgba(246, 246, 246, 1);
display: flex;
align-items: center;
justify-content: space-between;
.icon {
flex-shrink: 0;
width: 56rpx;
@ -208,16 +210,18 @@ page { @@ -208,16 +210,18 @@ page {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
max-width: 10em;
max-width: 13em;
}
}
.option {
display: flex;
align-items: center;
.icon {
margin-left: 16rpx;
width: 36rpx;
height: 36rpx;
.preview{
font-size: 32rpx;
color: #01B4C5;
}
.del{
position: absolute;
top: -16rpx;
right: -16rpx;
width: 32rpx;
height: 32rpx;
}
}
}
@ -301,7 +305,7 @@ page { @@ -301,7 +305,7 @@ page {
border-radius: 96rpx 96rpx 96rpx 96rpx;
border: 1px solid #01b4c5;
}
.disabled{
.disabled {
opacity: 0.3;
}
.submit {

25
src/module1/pages/entryCases/index.wxml

@ -66,36 +66,23 @@ @@ -66,36 +66,23 @@
</uploadFile>
</view>
<view class="file-list" wx:if="{{files.length}}">
<view class="fl-row" wx:for="{{files}}" wx:key="name">
<view class="fl-row" wx:for="{{files}}" wx:key="name" bind:tap="handlePreviewFile" data-index="{{index}}">
<view class="wrap">
<image class="icon" src="{{imageUrl}}icon-file{{item.fileType}}.png?t={{Timestamp}}"></image>
<view class="name">{{item.name}}</view>
</view>
<view class="option">
<image
class="icon"
bind:tap="handleDelFile"
data-index="{{index}}"
src="{{imageUrl}}icon-del.png?t={{Timestamp}}"
></image>
<view class="preview">预览</view>
<image
class="icon"
bind:tap="handlePreviewFile"
class="del"
catch:tap="handleDelFile"
data-index="{{index}}"
src="{{imageUrl}}icon-eye.png?t={{Timestamp}}"
src="{{imageUrl}}icon-close.png?t={{Timestamp}}"
></image>
<!-- <image -->
<!-- bind:tap="handleDownloadFile" -->
<!-- data-index="{{index}}" -->
<!-- class="icon" -->
<!-- src="{{imageUrl}}icon-download.png?t={{Timestamp}}" -->
<!-- ></image> -->
</view>
</view>
</view>
<view class="none-file" wx:else>
<image class="nf-icon" src="{{imageUrl}}icon-nore-file.png?t={{Timestamp}}"></image>
<view class="nf-title">还没有文件哦</view>
<view class="nf-title">还没有文件哦!</view>
</view>
</view>
<view class="tags">

1
src/module1/pages/entryCasesResult/index.scss

@ -40,7 +40,6 @@ @@ -40,7 +40,6 @@
}
.code {
margin: 90rpx auto 0;
padding: 20rpx;
display: block;
border: 4rpx solid rgba(1, 180, 197, 0.18);
width: 296rpx;

1
src/module1/pages/org4/index.scss

@ -113,6 +113,7 @@ page { @@ -113,6 +113,7 @@ page {
}
}
.wrap {
flex: 1;
padding-top: 8rpx;
.w-header {
display: flex;

1
src/module1/pages/setCaseDoctor/index.scss

@ -8,6 +8,7 @@ page { @@ -8,6 +8,7 @@ page {
.tip {
font-size: 28rpx;
color: rgba(20, 21, 21, 1);
text-align: center;
.link {
color: rgba(0, 180, 197, 1);
}

8
src/module1/pages/setCaseDoctor/index.wxml

@ -41,7 +41,13 @@ @@ -41,7 +41,13 @@
<radio-group>
<view class="list">
<view class="list-item" wx:for="{{list}}" wx:key="DoctorId">
<radio class="radio" value="{{item.DoctorId}}" bind:tap="handleRadio" data-index="{{index}}"></radio>
<radio
class="radio"
value="{{item.DoctorId}}"
bind:tap="handleRadio"
color="#00B4C5"
data-index="{{index}}"
></radio>
<view class="card" bind:tap="handlePopupDetail" data-index="{{index}}">
<doctorAvatar class="avatar" src="{{item.doctorImg}}" level="{{item.doctorLevel}}"></doctorAvatar>
<view class="wrap">

1
src/module1/pages/setChatDoctor/index.wxml

@ -46,6 +46,7 @@ @@ -46,6 +46,7 @@
checked="{{tools.include(item.doctorId,DoctorId)}}"
bind:tap="handleRadio"
data-index="{{index}}"
color="#00B4C5"
></radio>
<view class="card" bind:tap="handlePopupDetail" data-index="{{index}}">
<doctorAvatar class="avatar" src="{{item.doctorImg}}" level="{{item.doctorLevel}}"></doctorAvatar>

12
src/module1/pages/setDoctor/index.wxml

@ -45,7 +45,13 @@ @@ -45,7 +45,13 @@
<radio-group>
<view class="list">
<view class="list-item" wx:for="{{list}}" wx:key="DoctorId">
<radio class="radio" value="{{item.DoctorId}}" bind:tap="handleRadio" data-index="{{index}}"></radio>
<radio
class="radio"
value="{{item.DoctorId}}"
bind:tap="handleRadio"
data-index="{{index}}"
color="#00B4C5"
></radio>
<view class="card" bind:tap="handlePopupDetail" data-index="{{index}}">
<doctorAvatar class="avatar" src="{{item.DoctorImg}}" level="{{item.DoctorLevel}}"></doctorAvatar>
<view class="wrap">
@ -63,7 +69,9 @@ @@ -63,7 +69,9 @@
<view class="tag">
{{hospitalClassification[item.HospitalClassification]}}{{hospitalLevel[item.HospitalLevel]}}
</view>
<view class="site" wx:if="{{item.CityName}}">{{item.CityName}}{{item.CountyName?'/':''}}{{item.CountyName}}</view>
<view class="site" wx:if="{{item.CityName}}">
{{item.CityName}}{{item.CountyName?'/':''}}{{item.CountyName}}
</view>
</view>
<view class="w-footer">
<image class="wf-label" src="{{imageUrl}}text-specialty.png?t={{Timestamp}}" mode="aspectFit"></image>

11
src/pages/cases/index.scss

@ -127,7 +127,7 @@ page { @@ -127,7 +127,7 @@ page {
display: flex;
align-items: center;
justify-content: space-between;
font-size: 32rpx;
font-size: 28rpx;
color: rgba(20, 21, 21, 1);
.radio {
transform: scale(0.7);
@ -179,19 +179,20 @@ page { @@ -179,19 +179,20 @@ page {
}
.list-item {
margin-bottom: 24rpx;
padding-bottom: 16rpx;
position: relative;
border-radius: 16rpx 16rpx 16rpx 16rpx;
border: 2rpx solid #ffffff;
background: linear-gradient(180deg, #f1feff 0%, #ffffff 35%, #ffffff 100%);
.quality {
position: absolute;
right: 0;
right: 0;
top: -2rpx;
right: -2rpx;
width: 120rpx;
height: 50rpx;
}
.li-header {
padding: 32rpx 20rpx 0 0;
padding: 32rpx 20rpx 16rpx 0;
display: flex;
align-items: center;
&::before {
@ -349,6 +350,7 @@ page { @@ -349,6 +350,7 @@ page {
height: 280rpx;
}
.e-tip {
margin-top: -80rpx;
font-size: 32rpx;
color: rgba(153, 153, 153, 1);
}
@ -361,6 +363,7 @@ page { @@ -361,6 +363,7 @@ page {
height: 242rpx;
}
.e-tip {
margin-top: -80rpx;
font-size: 32rpx;
color: rgba(153, 153, 153, 1);
}

11
src/pages/cases/index.ts

@ -73,7 +73,7 @@ Page({ @@ -73,7 +73,7 @@ Page({
});
},
onShow() {
this.handleNav({ currentTarget: { dataset: { nav: "0" } } });
this.handleNav({ currentTarget: { dataset: { nav: "0", noSearch: true } } });
this.setData({
needDeal: app.globalData.needDeal,
});
@ -129,12 +129,13 @@ Page({ @@ -129,12 +129,13 @@ Page({
});
},
handleNav(e) {
const { nav } = e.currentTarget.dataset;
const { nav, noSearch } = e.currentTarget.dataset;
this.setData({
nav,
isOpen: nav === "1" ? "1" : "",
isHighQuality: nav === "2" ? "1" : "",
});
if (noSearch) return;
this.handleSearch();
},
getList(newPage = 1) {
@ -176,7 +177,7 @@ Page({ @@ -176,7 +177,7 @@ Page({
},
onReachBottom() {
const { page, pages } = this.data.pagination;
if (pages > page) {
if (pages > page && this.data.list.length) {
this.getList(page + 1);
}
},
@ -463,8 +464,8 @@ Page({ @@ -463,8 +464,8 @@ Page({
handleQuestion(e) {
const { index } = e.currentTarget.dataset;
const message = {
1: "属于您所在科室的公开的病历",
2: "属于您所在科室的优质的病历 ",
1: "设为公开的病历,病历所在科室医生均可访问",
2: "标为优质的病历,优质病历平台所有医生均可访问",
3: "属于您所在科室的所有病历",
}[index];
wx.showModal({

1
src/pages/cases/index.wxml

@ -179,6 +179,7 @@ @@ -179,6 +179,7 @@
<view class="list-total" wx:if="{{pagination.count}}">共有{{pagination.count}}条病历</view>
<view class="list-item" wx:for="{{list}}" bind:tap="handleDetail" wx:key="caseId" data-params="{{item}}">
<image wx:if="{{item.isHighQuality==='1'}}" class="quality" src="{{imageUrl}}quality.png?t={{Timestamp}}"></image>
<image class="quality" src="{{imageUrl}}quality.png?t={{Timestamp}}"></image>
<view class="li-header">
<view class="wrap">
<view class="id">ID:{{item.caseNo}}</view>

3
src/pages/chatRoomList/index.scss

@ -173,8 +173,8 @@ page { @@ -173,8 +173,8 @@ page {
background: #f6f6f6;
border-radius: 16rpx 16rpx 16rpx 16rpx;
display: flex;
align-items: center;
gap: 28rpx;
align-items: flex-start;
.photos {
position: relative;
padding: 4rpx;
@ -213,6 +213,7 @@ page { @@ -213,6 +213,7 @@ page {
color: rgba(148, 87, 30, 1);
background: #fae5ce;
border-radius: 4rpx 4rpx 4rpx 4rpx;
vertical-align: 3rpx;
}
.content {
margin-top: 8rpx;

20
src/pages/home/index.ts

@ -27,6 +27,7 @@ Page({ @@ -27,6 +27,7 @@ Page({
app.getUserInfo(this, (userInfo) => {
this.setData({
level: userInfo.IsSuper === 1 ? 4 : userInfo.DoctorLevel,
// level: 3,
});
this.getTabBar().setData({
userInfo,
@ -104,4 +105,23 @@ Page({ @@ -104,4 +105,23 @@ Page({
show1: false,
});
},
handleQuestion(e) {
const index = e.detail;
const tip = {
1: "无任何医生反馈、以及操作的病历",
2: "有医生反馈且未归档的病历",
3: "设为归档的病历,病历参与者不可反馈,仅可访问",
4: "科室医生入驻情况:按月统计所在科室注册平台的医生数,并以堆叠图显示一级医生、二级医生、三级医生数;其中,一级医生为全平台的一级医生,不区分科室",
5: "累计病历统计:按月统计所在科室累计提交的病历数,并以堆叠图显示一级医生、核心医生提交病历数",
6: "科室新增病历统计:按月统计所在科室新提交的病历 数,并以堆叠图显示一级医生、核心医生提交的病历数",
7: "医院活跃排行榜:按医院入驻医生数进行活跃排序,入驻医生数越多则活跃度越高,排序则越靠前",
}[index];
wx.showModal({
content: tip,
confirmColor: "#00B4C5",
cancelColor: "#141515",
showCancel: false,
});
},
});

4
src/pages/home/index.wxml

@ -10,6 +10,7 @@ @@ -10,6 +10,7 @@
hospitalLevel="{{hospitalLevel}}"
DoctorTitleType="{{DoctorTitleType}}"
userInfo="{{userInfo}}"
bind:question="handleQuestion"
></homeLevel1>
<homeLevel2
wx:elif="{{level===2}}"
@ -17,6 +18,7 @@ @@ -17,6 +18,7 @@
hospitalLevel="{{hospitalLevel}}"
DoctorTitleType="{{DoctorTitleType}}"
userInfo="{{userInfo}}"
bind:question="handleQuestion"
></homeLevel2>
<homeLevel3
wx:elif="{{level===3}}"
@ -24,6 +26,7 @@ @@ -24,6 +26,7 @@
hospitalLevel="{{hospitalLevel}}"
DoctorTitleType="{{DoctorTitleType}}"
userInfo="{{userInfo}}"
bind:question="handleQuestion"
></homeLevel3>
<homeLevel4
wx:elif="{{level===4}}"
@ -31,6 +34,7 @@ @@ -31,6 +34,7 @@
hospitalLevel="{{hospitalLevel}}"
DoctorTitleType="{{DoctorTitleType}}"
userInfo="{{userInfo}}"
bind:question="handleQuestion"
></homeLevel4>
</view>

Loading…
Cancel
Save