This commit is contained in:
zoujiandong 2024-03-27 17:35:55 +08:00
parent 989bd99911
commit 5d03a05186
4 changed files with 104 additions and 3 deletions

View File

@ -81,6 +81,7 @@ Component({
license_cert_reason: "", license_cert_reason: "",
qualification_cert_reason: "", qualification_cert_reason: "",
work_cert_reason: "", work_cert_reason: "",
expertise_reason:"",
email_reason:'', email_reason:'',
department_custom_name_reason: '', department_custom_name_reason: '',
zhuanchang_note: '请选择专长', zhuanchang_note: '请选择专长',
@ -184,6 +185,7 @@ Component({
this.setData({ this.setData({
avatar_reason: response.data.avatar, avatar_reason: response.data.avatar,
brief_introduction_reason: response.data.brief_introduction, brief_introduction_reason: response.data.brief_introduction,
expertise_reason:response.data.expertise,
be_good_at_reason: response.data.be_good_at, be_good_at_reason: response.data.be_good_at,
}) })

View File

@ -342,7 +342,7 @@
</view> </view>
</view> </view>
<view wx:if="{{indentity}}"> <view wx:if="{{indentity}}">
<view class="zhuanchang" bindtap="{{iden_auth_disabled?'':'onZhuanChangShow'}}"> <view class="zhuanchang {{expertise_reason?'hasnoborder':''}}" bindtap="{{iden_auth_disabled?'':'onZhuanChangShow'}}">
<view class="title">专长 <text class="required"> *</text></view> <view class="title">专长 <text class="required"> *</text></view>
<view class="content"> <view class="content">
<view class="content_item" wx:key="expertise_name" wx:if="{{data.is_selected == 1}}" wx:for="{{ zhuanchang_columns }}" wx:for-item="data"> <view class="content_item" wx:key="expertise_name" wx:if="{{data.is_selected == 1}}" wx:for="{{ zhuanchang_columns }}" wx:for-item="data">
@ -359,7 +359,7 @@
</view> </view>
</view> </view>
<view wx:else> <view wx:else>
<view class="zhuanchang" bindtap="{{introduction_status==2?'':'onZhuanChangShow'}}"> <view class="zhuanchang {{expertise_reason?'hasnoborder':''}}" bindtap="{{introduction_status==2?'':'onZhuanChangShow'}}">
<view class="title">专长 <text class="required"> *</text></view> <view class="title">专长 <text class="required"> *</text></view>
<view class="content"> <view class="content">
<view class="content_item" wx:key="expertise_name" wx:if="{{data.is_selected == 1}}" wx:for="{{ zhuanchang_columns }}" wx:for-item="data"> <view class="content_item" wx:key="expertise_name" wx:if="{{data.is_selected == 1}}" wx:for="{{ zhuanchang_columns }}" wx:for-item="data">
@ -375,7 +375,12 @@
</view> </view>
</view> </view>
</view> </view>
<view class="has_error" wx:if="{{ expertise_reason != '' }}" >
<view class="error_box">
<t-icon color="red" name="close-circle-filled" size="48rpx" data-name="close-circle-filled" />
<text class="error_msg">{{ expertise_reason }}</text>
</view>
</view>
<m-textarea-cell <m-textarea-cell
textarea_cell_name="个人简介" textarea_cell_name="个人简介"
t_icon_name="view-module" t_icon_name="view-module"

View File

@ -74,6 +74,9 @@
transform: scaleY(0.5); transform: scaleY(0.5);
left: 32rpx; left: 32rpx;
} }
.zhuanchang.hasnoborder::after{
border-bottom:none
}
.zhuanchang .content{ .zhuanchang .content{
flex: 1; flex: 1;
display: flex; display: flex;

View File

@ -46,6 +46,97 @@
<van-button disabled="{{info.is_open!=1}}" bind:click="putDoctorInquiryConfig" color="#3CC7C0" custom-style="border-radius: 20rpx;font-size:30rpx;" type="primary" block>去接诊</van-button> <van-button disabled="{{info.is_open!=1}}" bind:click="putDoctorInquiryConfig" color="#3CC7C0" custom-style="border-radius: 20rpx;font-size:30rpx;" type="primary" block>去接诊</van-button>
</view> </view>
</van-tab> </van-tab>
<van-tab title="随访包">
<view class="tabcon">
<view class="switch_box">
<view class="switch_box_top">
<view class="switch_box_item" bindtap="changeON">
<view class="switch_box_item_name">接诊开关</view>
<view class="switch_box_item_btn">
<van-switch active-color="#3CC7C0" inactive-color="#E7E7E7" size="40rpx" checked="{{ info.is_open==1 }}" />
</view>
</view>
<view class="switch_box_note">{{ (info.is_open==1 && active==0)?'已开启,患者可以向您发起图文问诊':'已关闭,暂不接诊' }}</view>
</view>
<view class="help">
<van-cell size="large" url="/user/pages/yishi/manual_detail/index?manual_id=6" custom-style="font-size:32rpx;" title="图文问诊操作手册" is-link border="{{false}}" />
</view>
</view>
<view class="checked_box">
<view class="price_title">价格设置</view>
<view class="price_steup_box">
<van-cell size="large" url="/user/pages/yishi/onlinesetupprice/index?inquiry_mode=1" custom-style="font-size:32rpx;" title="每日接诊数量" is-link border="{{true}}">
<view class="cell_value">
{{info.work_num_day}}
</view>
</van-cell>
<van-cell size="large" url="/user/pages/yishi/onlinesetupprice/index?inquiry_mode=1" custom-style="font-size:32rpx;" title="问诊单价" is-link border="{{false}}">
<view class="cell_value">
<text style="color: red;">{{info.inquiry_price}}</text>
<text style="color: #000;"> 元</text>
</view>
</van-cell>
</view>
</view>
<view class="bottom" style="padding-bottom: 30rpx;">
<text class="bottom_txt">
提示:服务开启后,患者按照所设置的价格向您购买图文问诊服务
1、接诊后患者可与您在<text class="green">{{config.duration/60}}小时内进行{{config.times_number}}回合沟通\n</text>2、若开启公益问诊图文问诊价格以公益问诊价格为准\n3、每日接诊数量和问诊价格<text class="green">每日仅限调整1次每月仅限调整5次\n</text>4、价格修改后立即生效不影响修改之前已生成的问诊订单\n
</text>
</view>
</view>
<view class="go">
<van-button disabled="{{info.is_open!=1}}" bind:click="putDoctorInquiryConfig" color="#3CC7C0" custom-style="border-radius: 20rpx;font-size:30rpx;" type="primary" block>去接诊</van-button>
</view>
</van-tab>
<van-tab title="健康包">
<view class="tabcon">
<view class="switch_box">
<view class="switch_box_top">
<view class="switch_box_item" bindtap="changeON">
<view class="switch_box_item_name">接诊开关</view>
<view class="switch_box_item_btn">
<van-switch active-color="#3CC7C0" inactive-color="#E7E7E7" size="40rpx" checked="{{ info.is_open==1 }}" />
</view>
</view>
<view class="switch_box_note">{{ (info.is_open==1 && active==0)?'已开启,患者可以向您发起图文问诊':'已关闭,暂不接诊' }}</view>
</view>
<view class="help">
<van-cell size="large" url="/user/pages/yishi/manual_detail/index?manual_id=6" custom-style="font-size:32rpx;" title="图文问诊操作手册" is-link border="{{false}}" />
</view>
</view>
<view class="checked_box">
<view class="price_title">价格设置</view>
<view class="price_steup_box">
<van-cell size="large" url="/user/pages/yishi/onlinesetupprice/index?inquiry_mode=1" custom-style="font-size:32rpx;" title="每日接诊数量" is-link border="{{true}}">
<view class="cell_value">
{{info.work_num_day}}
</view>
</van-cell>
<van-cell size="large" url="/user/pages/yishi/onlinesetupprice/index?inquiry_mode=1" custom-style="font-size:32rpx;" title="问诊单价" is-link border="{{false}}">
<view class="cell_value">
<text style="color: red;">{{info.inquiry_price}}</text>
<text style="color: #000;"> 元</text>
</view>
</van-cell>
</view>
</view>
<view class="bottom" style="padding-bottom: 30rpx;">
<text class="bottom_txt">
提示:服务开启后,患者按照所设置的价格向您购买图文问诊服务
1、接诊后患者可与您在<text class="green">{{config.duration/60}}小时内进行{{config.times_number}}回合沟通\n</text>2、若开启公益问诊图文问诊价格以公益问诊价格为准\n3、每日接诊数量和问诊价格<text class="green">每日仅限调整1次每月仅限调整5次\n</text>4、价格修改后立即生效不影响修改之前已生成的问诊订单\n
</text>
</view>
</view>
<view class="go">
<van-button disabled="{{info.is_open!=1}}" bind:click="putDoctorInquiryConfig" color="#3CC7C0" custom-style="border-radius: 20rpx;font-size:30rpx;" type="primary" block>去接诊</van-button>
</view>
</van-tab>
<van-tab title="视频问诊"> <van-tab title="视频问诊">
<view class="tabcon"> <view class="tabcon">
<view class="switch_box"> <view class="switch_box">