3.18医生
This commit is contained in:
@@ -81,6 +81,7 @@ Component({
|
||||
license_cert_reason: "",
|
||||
qualification_cert_reason: "",
|
||||
work_cert_reason: "",
|
||||
email_reason:'',
|
||||
department_custom_name_reason: '',
|
||||
zhuanchang_note: '请选择专长',
|
||||
jianjie_show: false,
|
||||
@@ -923,6 +924,10 @@ Component({
|
||||
params.department_custom_name = this.data.custom_keshi;//自定义科室名称
|
||||
if(!this.data.office_phone){wx.showToast({title: '请输入科室电话',icon: "error"});return}
|
||||
params.department_custom_mobile = this.data.office_phone;//科室电话
|
||||
if(!(/^\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$/.test(this.data.email))){
|
||||
wx.showToast({title: '请输入正确格式的邮箱',icon: "error"});return
|
||||
}
|
||||
params.email=this.data.email;
|
||||
params.doctor_expertise = this.data.zhuanchang_columns.filter(e => e.is_selected == 1 ).map(e => e.expertise_id);//专长
|
||||
if(params.doctor_expertise.length == 0){wx.showToast({title: '请选择专长',icon: "error"});return}
|
||||
if(!this.data.select_zhicheng_id){wx.showToast({title: '请选择职称',icon: "error"});return}
|
||||
@@ -942,6 +947,7 @@ Component({
|
||||
if(this.data.zhicheng_file_list.length == 0){wx.showToast({title: '请上传职称证',icon: "error"});return}
|
||||
params.work_cert = this.data.zhicheng_file_list.map(e => e.url);//工作证,职称证
|
||||
}
|
||||
params.source=1;
|
||||
console.log(params);
|
||||
|
||||
let _this = this;
|
||||
@@ -963,6 +969,12 @@ Component({
|
||||
department_custom_mobile_reason: ""
|
||||
})
|
||||
},
|
||||
onEmailChange(){
|
||||
this.setData({
|
||||
email_reason: ""
|
||||
})
|
||||
},
|
||||
|
||||
doUploadFile(event) {
|
||||
console.log("index douploadFIle: ", event);
|
||||
const scene = event.currentTarget.dataset.scene;
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
|
||||
<view class="{{avatar_reason!=''?'photo':'photo_reason'}}">
|
||||
<view class="title">头像 <text class="required"> *</text></view>
|
||||
<van-uploader disabled="{{ indentity && iden_auth_disabled }}" bind:after-read="doUploadPhoto" data-scene="1" data-field_name="avatar" data-file_multiple="false">
|
||||
<van-uploader disabled="{{ (indentity && iden_auth_disabled ) || (!indentity && introduction_status==2)}}" bind:after-read="doUploadPhoto" data-scene="1" data-field_name="avatar" data-file_multiple="false">
|
||||
<view class="right">
|
||||
<view class="note">真人正脸</view>
|
||||
<t-avatar image="{{ avatar }}" />
|
||||
<view class="icon" wx:if="{{ !(indentity && iden_auth_disabled) }}">
|
||||
<view class="icon" wx:if="{{ !(indentity && iden_auth_disabled) || !(!indentity && introduction_status==2)}}">
|
||||
<t-icon name="chevron-right" size="48rpx" data-name="chevron-right" />
|
||||
</view>
|
||||
</view>
|
||||
@@ -21,7 +21,7 @@
|
||||
|
||||
<!-- <t-cell title="头像" hover required arrow note="真人正脸" /> -->
|
||||
<!-- {{!indentity && introduction_status==3}} -->
|
||||
<t-cell title="城市" hover required arrow="{{ !((indentity && iden_auth_disabled) || (!indentity && introduction_status==3)) }}" note="{{ city_note }}" bindtap="{{((indentity && iden_auth_disabled) || (!indentity && introduction_status==3))?'':'onCityShow'}}"/>
|
||||
<t-cell title="城市" hover required arrow="{{ !((indentity && iden_auth_disabled) || (!indentity && introduction_status!=2)) }}" note="{{ city_note }}" bindtap="{{((indentity && iden_auth_disabled) || (!indentity && introduction_status!=2))?'':'onCityShow'}}"/>
|
||||
|
||||
<t-cascader
|
||||
visible="{{ city_show }}"
|
||||
@@ -34,7 +34,7 @@
|
||||
bind:close="onCloseCity"
|
||||
></t-cascader>
|
||||
|
||||
<t-cell title="医院" hover required arrow="{{ !((indentity && iden_auth_disabled) || (!indentity && introduction_status==3)) }}" note="{{ yiyuan_note }}" bindtap="{{((indentity && iden_auth_disabled) || (!indentity && introduction_status==3))?'':'onYiYuanShow'}}"/>
|
||||
<t-cell title="医院" hover required arrow="{{ !((indentity && iden_auth_disabled) || (!indentity && introduction_status!=2)) }}" note="{{ yiyuan_note }}" bindtap="{{((indentity && iden_auth_disabled) || (!indentity && introduction_status!=2))?'':'onYiYuanShow'}}"/>
|
||||
<van-popup
|
||||
show="{{ yiyuan_show }}"
|
||||
position="bottom"
|
||||
@@ -64,8 +64,8 @@
|
||||
<van-empty description="暂无医院" wx:if="{{yiyuan_columns.length == 0}}"/>
|
||||
|
||||
</van-popup>
|
||||
<t-cell title="科室" hover required arrow="{{ !((indentity && iden_auth_disabled) || (!indentity && introduction_status==3)) }}" note="{{keshi_note}}"
|
||||
bindtap="{{((indentity && iden_auth_disabled) || (!indentity && introduction_status==3))?'':'onKeshiShow'}}" bordered="{{ select_keshi_id == '' }}"/>
|
||||
<t-cell title="科室" hover required arrow="{{ !((indentity && iden_auth_disabled) || (!indentity && introduction_status!=2)) }}" note="{{keshi_note}}"
|
||||
bindtap="{{((indentity && iden_auth_disabled) || (!indentity && introduction_status!=2))?'':'onKeshiShow'}}" bordered="{{ select_keshi_id == '' }}"/>
|
||||
|
||||
<view class="custom_keshi" wx:if="{{ select_keshi_id != ''}}">
|
||||
<van-field bind:change="onCustomKeshiChange"
|
||||
@@ -220,8 +220,8 @@
|
||||
</view>
|
||||
</t-popup>
|
||||
|
||||
<t-cell title="职称" hover required arrow="{{ !((indentity && iden_auth_disabled) || (!indentity && introduction_status==3)) }}" note="{{zhicheng_note}}"
|
||||
bindtap="{{((indentity && iden_auth_disabled) || (!indentity && introduction_status==3))?'':'onZhiChengShow'}}" />
|
||||
<t-cell title="职称" hover required arrow="{{ !((indentity && iden_auth_disabled) || (!indentity && introduction_status!=2)) }}" note="{{zhicheng_note}}"
|
||||
bindtap="{{((indentity && iden_auth_disabled) || (!indentity && introduction_status!=2))?'':'onZhiChengShow'}}" />
|
||||
<!-- <t-input
|
||||
label="科室电话"
|
||||
placeholder="请输入科室电话"
|
||||
@@ -239,7 +239,7 @@
|
||||
input-align="right"
|
||||
type="number"
|
||||
clearable
|
||||
disabled="{{(indentity && iden_auth_disabled) || (!indentity && introduction_status==3) }}"
|
||||
disabled="{{(indentity && iden_auth_disabled) || (!indentity && introduction_status!=2) }}"
|
||||
border="{{ department_custom_mobile_reason == '' }}"
|
||||
custom-style="font-size:30rpx;"
|
||||
>
|
||||
@@ -252,7 +252,27 @@
|
||||
<text class="error_msg">{{ department_custom_mobile_reason }}</text>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<van-field
|
||||
model:value="{{ email }}"
|
||||
bind:change="onEmailChange"
|
||||
placeholder="请输入个人邮箱"
|
||||
placeholder-style="font-size:30rpx;letter-spacing: 2rpx;color:rgba(0, 0, 0, 0.4);"
|
||||
input-align="right"
|
||||
type="text"
|
||||
clearable
|
||||
wx:if="{{indentity}}"
|
||||
disabled="{{(indentity && iden_auth_disabled)}}"
|
||||
border="{{ email_reason == '' }}"
|
||||
custom-style="font-size:30rpx;"
|
||||
>
|
||||
<text slot="label">个人邮箱 <text style="color: #e34d59;">*</text> </text>
|
||||
</van-field>
|
||||
<view class="has_error" wx:if="{{email_reason != '' }}" >
|
||||
<view class="error_box">
|
||||
<t-icon color="red" name="close-circle-filled" size="48rpx" data-name="close-circle-filled" />
|
||||
<text class="error_msg">{{ email_reason }}</text>
|
||||
</view>
|
||||
</view>
|
||||
<view class="zhuanchang" bindtap="{{(indentity && iden_auth_disabled)?'':'onZhuanChangShow'}}">
|
||||
<view class="title">专长 <text class="required"> *</text></view>
|
||||
<view class="content">
|
||||
@@ -362,7 +382,7 @@
|
||||
<van-button data-from="doctorauthiden" disabled="{{iden_auth_disabled}}" color="#3CC7C0" custom-style="border-radius: 20rpx;" type="primary" block bind:click="addDoctorAuthIden">{{iden_auth_status_txt}}</van-button>
|
||||
</view>
|
||||
<view class="sub_button" wx:else>
|
||||
<van-button color="#3CC7C0" data-from="myinfo" disabled="{{!(introduction_status==0 || introduction_status==3)}}" custom-style="border-radius: 20rpx;" type="primary" block bind:click="{{introduction_status==0?'addDoctorAuthIden':'handleUpdateIntroduction'}}">{{iden_auth_status_txt}}</van-button>
|
||||
<van-button color="#3CC7C0" data-from="myinfo" disabled="{{introduction_status==2}}" custom-style="border-radius: 20rpx;" type="primary" block bind:click="{{introduction_status==0?'addDoctorAuthIden':'handleUpdateIntroduction'}}">{{iden_auth_status_txt}}</van-button>
|
||||
</view>
|
||||
|
||||
|
||||
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
/// <reference types="miniprogram-api-typings" />
|
||||
/// <reference types="miniprogram-api-typings" />
|
||||
export declare type Action = 'confirm' | 'cancel' | 'overlay';
|
||||
declare type DialogContext = WechatMiniprogram.Page.TrivialInstance | WechatMiniprogram.Component.TrivialInstance;
|
||||
export type Action = 'confirm' | 'cancel' | 'overlay';
|
||||
type DialogContext = WechatMiniprogram.Page.TrivialInstance | WechatMiniprogram.Component.TrivialInstance;
|
||||
interface DialogOptions {
|
||||
lang?: string;
|
||||
show?: boolean;
|
||||
|
||||
@@ -6,6 +6,7 @@ var color_1 = require("../common/color");
|
||||
var utils_1 = require("../common/utils");
|
||||
(0, component_1.VantComponent)({
|
||||
mixins: [button_1.button],
|
||||
classes: ['cancle-button-class', 'confirm-button-class'],
|
||||
props: {
|
||||
show: {
|
||||
type: Boolean,
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
size="large"
|
||||
loading="{{ loading.cancel }}"
|
||||
class="van-dialog__button van-hairline--right"
|
||||
custom-class="van-dialog__cancel"
|
||||
custom-class="van-dialog__cancel cancle-button-class"
|
||||
custom-style="color: {{ cancelButtonColor }}"
|
||||
bind:click="onCancel"
|
||||
>
|
||||
@@ -44,7 +44,7 @@
|
||||
size="large"
|
||||
class="van-dialog__button"
|
||||
loading="{{ loading.confirm }}"
|
||||
custom-class="van-dialog__confirm"
|
||||
custom-class="van-dialog__confirm confirm-button-class"
|
||||
custom-style="color: {{ confirmButtonColor }}"
|
||||
|
||||
open-type="{{ confirmButtonOpenType }}"
|
||||
@@ -75,7 +75,7 @@
|
||||
size="large"
|
||||
loading="{{ loading.cancel }}"
|
||||
class="van-dialog__button van-hairline--right"
|
||||
custom-class="van-dialog__cancel"
|
||||
custom-class="van-dialog__cancel cancle-button-class"
|
||||
custom-style="color: {{ cancelButtonColor }}"
|
||||
bind:click="onCancel"
|
||||
>
|
||||
@@ -86,7 +86,7 @@
|
||||
size="large"
|
||||
class="van-dialog__button"
|
||||
loading="{{ loading.confirm }}"
|
||||
custom-class="van-dialog__confirm"
|
||||
custom-class="van-dialog__confirm confirm-button-class"
|
||||
custom-style="color: {{ confirmButtonColor }}"
|
||||
|
||||
open-type="{{ confirmButtonOpenType }}"
|
||||
|
||||
@@ -154,7 +154,7 @@ Page({
|
||||
url: next_url
|
||||
})
|
||||
}
|
||||
app.imInit({path:'Pages/login/index'},1,handleGo);
|
||||
app.imInit({path:'/user/pages/login/index'},1,handleGo);
|
||||
//跳转页面
|
||||
|
||||
}).catch(errors => {
|
||||
|
||||
@@ -12,13 +12,27 @@
|
||||
<view class="item_list">
|
||||
<view class="item" wx:for="{{appraise_list_1}}">
|
||||
<view class="top">
|
||||
<view class="name">{{item.name_mask}}</view>
|
||||
<view class="namebox">
|
||||
<view class="name">{{item.name_mask}}</view>
|
||||
<view class="comemntType" wx:if="item.inquiry_mode==1">
|
||||
图文
|
||||
</view>
|
||||
<view class="comemntType video" wx:elif="item.inquiry_mode==2 && item.inquiry_type==1">
|
||||
视频
|
||||
</view>
|
||||
<view class="comemntType yinan" wx:elif="item.inquiry_mode==6 && item.inquiry_type==1">
|
||||
疑难会诊
|
||||
</view>
|
||||
</view>
|
||||
<view class="start">
|
||||
<t-rate value="{{item.avg_score}}" count="5" color="#ED9C00"/>
|
||||
</view>
|
||||
</view>
|
||||
<view class="content">{{item.content}}</view>
|
||||
<view class="date">{{dateSubstr.substring(item.created_at,0,16)}}</view>
|
||||
<view class="datebox">
|
||||
<view class="sick_name">{{item.disease_class_name}}</view>
|
||||
<view class="date">{{dateSubstr.substring(item.created_at,0,16)}}</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<van-empty description="暂无数据" wx:if="{{appraise_list_1.length == 0}}" />
|
||||
@@ -28,13 +42,27 @@
|
||||
<view class="item_list">
|
||||
<view class="item" wx:for="{{appraise_list_2}}">
|
||||
<view class="top">
|
||||
<view class="name">{{item.name_mask}}</view>
|
||||
<view class="namebox">
|
||||
<view class="name">{{item.name_mask}}</view>
|
||||
<view class="comemntType" wx:if="item.inquiry_mode==1">
|
||||
图文
|
||||
</view>
|
||||
<view class="comemntType video" wx:elif="item.inquiry_mode==2 && item.inquiry_type==1">
|
||||
视频
|
||||
</view>
|
||||
<view class="comemntType yinan" wx:elif="item.inquiry_mode==6 && item.inquiry_type==1">
|
||||
疑难会诊
|
||||
</view>
|
||||
</view>
|
||||
<view class="start">
|
||||
<t-rate value="{{item.avg_score}}" count="5" color="#ED9C00"/>
|
||||
</view>
|
||||
</view>
|
||||
<view class="content">{{item.content}}</view>
|
||||
<view class="date">{{dateSubstr.substring(item.created_at,0,16)}}</view>
|
||||
<view class="datebox">
|
||||
<view class="sick_name">{{item.disease_class_name}}</view>
|
||||
<view class="date">{{dateSubstr.substring(item.created_at,0,16)}}</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<van-empty description="暂无数据" wx:if="{{appraise_list_2.length == 0}}" />
|
||||
@@ -44,13 +72,27 @@
|
||||
<view class="item_list">
|
||||
<view class="item" wx:for="{{appraise_list_3}}">
|
||||
<view class="top">
|
||||
<view class="name">{{item.name_mask}}</view>
|
||||
<view class="namebox">
|
||||
<view class="name">{{item.name_mask}}</view>
|
||||
<view class="comemntType" wx:if="item.inquiry_mode==1">
|
||||
图文
|
||||
</view>
|
||||
<view class="comemntType video" wx:elif="item.inquiry_mode==2 && item.inquiry_type==1">
|
||||
视频
|
||||
</view>
|
||||
<view class="comemntType yinan" wx:elif="item.inquiry_mode==6 && item.inquiry_type==1">
|
||||
疑难会诊
|
||||
</view>
|
||||
</view>
|
||||
<view class="start">
|
||||
<t-rate value="{{item.avg_score}}" count="5" color="#ED9C00"/>
|
||||
</view>
|
||||
</view>
|
||||
<view class="content">{{item.content}}</view>
|
||||
<view class="date">{{dateSubstr.substring(item.created_at,0,16)}}</view>
|
||||
<view class="datebox">
|
||||
<view class="sick_name">{{item.disease_class_name}}</view>
|
||||
<view class="date">{{dateSubstr.substring(item.created_at,0,16)}}</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<van-empty description="暂无数据" wx:if="{{appraise_list_3.length == 0}}" />
|
||||
|
||||
@@ -44,7 +44,50 @@ page{
|
||||
margin: 20rpx 0;
|
||||
}
|
||||
.date{
|
||||
flex: 1;
|
||||
|
||||
font-size: 28rpx;
|
||||
color: #666666;
|
||||
}
|
||||
}
|
||||
.comemntType{
|
||||
margin-left: 10rpx;
|
||||
font-size: 20rpx;
|
||||
height: 34rpx;
|
||||
line-height: 34rpx;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
padding:0 10rpx;
|
||||
background: #E3EEFF;
|
||||
border-radius: 8rpx;
|
||||
color: #1E6EFF;
|
||||
justify-content: center;
|
||||
}
|
||||
.comemntType.video{
|
||||
color: #00C885;
|
||||
background: #E3FFF5;
|
||||
}
|
||||
.comemntType.yinan{
|
||||
color: #ED9C00;
|
||||
background: #FFF5E0;
|
||||
}
|
||||
.datebox{
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: flex-end;
|
||||
}
|
||||
.sick_name{
|
||||
|
||||
font-size: 20rpx;
|
||||
font-weight: 400;
|
||||
display: flex;
|
||||
border-radius: 20rpx;
|
||||
height: 38rpx;
|
||||
padding:0 15rpx;
|
||||
border: 1rpx solid #3CC7C0;
|
||||
align-items: center;
|
||||
color: #3CC7C0;
|
||||
}
|
||||
.namebox{
|
||||
align-items: center;
|
||||
display: flex;
|
||||
}
|
||||
@@ -16,7 +16,7 @@ Page({
|
||||
static_host:api.getStaticHost(),
|
||||
showDialog:false,
|
||||
avatar: '',
|
||||
currentData:0,
|
||||
currentData:2,
|
||||
user_name: '',
|
||||
doctor_title: '',
|
||||
doctor_id: '',
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
<view class="switch_box_note">{{ note }}</view>
|
||||
</view>
|
||||
<view class="help">
|
||||
<van-cell size="large" url="/user/pages/yishi/manual_detail/index?manual_id=5" custom-style="font-size:32rpx;" title="图文问诊操作手册" is-link border="{{false}}" />
|
||||
<van-cell size="large" url="/user/pages/yishi/manual_detail/index?manual_id=5" custom-style="font-size:32rpx;" title="快速问诊操作手册" is-link border="{{false}}" />
|
||||
</view>
|
||||
</view>
|
||||
|
||||
|
||||
@@ -44,7 +44,7 @@
|
||||
<van-empty description="暂无账单" wx:if="{{ bill.length == 0 }}" />
|
||||
</view>
|
||||
|
||||
<van-image bind:click="go" data-url="/user/user/pages/agreement_page/index?agreement_id=13" style="position: fixed; right: 0;bottom: 262rpx;" src="{{static_host}}/applet/doctor/static/images/yishi/account_rule.png" fit="heightFix" height="84rpx" aria-label="role" />
|
||||
<van-image bind:click="go" data-url="/user/pages/agreement_page/index?agreement_id=13" style="position: fixed; right: 0;bottom: 262rpx;" src="{{static_host}}/applet/doctor/static/images/yishi/account_rule.png" fit="heightFix" height="84rpx" aria-label="role" />
|
||||
|
||||
<t-picker
|
||||
visible="{{dateVisible}}"
|
||||
|
||||
@@ -26,6 +26,7 @@ Page({
|
||||
search_drug_list: [],
|
||||
product_name: "",
|
||||
select_drug_id: "",
|
||||
select_drug_stock:0,
|
||||
save_durg_product_id: "",
|
||||
save_durg_prescription_product_num: "",
|
||||
save_durg_single_unit: "",
|
||||
@@ -89,6 +90,7 @@ Page({
|
||||
prescription_num:e.currentTarget.dataset.prescription_num,
|
||||
product_name: e.currentTarget.dataset.product_name,
|
||||
select_drug_id: e.currentTarget.dataset.product_id,
|
||||
select_drug_stock: e.currentTarget.dataset.stock,
|
||||
save_durg_product_id: e.currentTarget.dataset.product_id,
|
||||
save_durg_single_use: e.currentTarget.dataset.single_use,
|
||||
save_durg_frequency_use: e.currentTarget.dataset.frequency_use,
|
||||
@@ -155,8 +157,20 @@ Page({
|
||||
save_durg_prescription_product_num: ""
|
||||
})
|
||||
});
|
||||
return
|
||||
return false
|
||||
};
|
||||
console.log(typeof this.data.prescription_num);
|
||||
console.log(typeof this.data.select_drug_stock)
|
||||
if(Number(this.data.prescription_num)>Number(this.data.select_drug_stock)){
|
||||
Dialog.alert({
|
||||
message: '输入药品数量不能大于库存',
|
||||
}).then(() => {
|
||||
this.setData({
|
||||
save_durg_prescription_product_num: ""
|
||||
})
|
||||
});
|
||||
return
|
||||
}
|
||||
let prescription_num=this.data.prescription_num?this.data.prescription_num:5
|
||||
if(save_durg_prescription_product_num>prescription_num){
|
||||
Dialog.alert({
|
||||
|
||||
@@ -92,7 +92,9 @@
|
||||
<van-image width="300rpx" height="300rpx" fit="contain" src="{{static_host}}/applet/doctor/static/images/yishi/search_drugs.png" />
|
||||
</view>
|
||||
<view class="search_drug_list_noempty" wx:if="{{ !search_drug_list_empty }}">
|
||||
<view class="search_drug_list_item" data-product_name="{{item.product_name}}" data-product_id="{{item.product_id}}" data-single_use="{{item.single_use}}" data-frequency_use="{{item.frequency_use}}" data-single_unit="{{item.single_unit}}" data-available_days="{{item.available_days}}" data-packaging_unit="{{item.packaging_unit}}" data-prescription_num="{{item.prescription_num}}" bindtap="select_drug" wx:for="{{search_drug_list}}">
|
||||
<view class="search_drug_list_item" data-product_name="{{item.product_name}}" data-product_id="{{item.product_id}}" data-single_use="{{item.single_use}}" data-frequency_use="{{item.frequency_use}}" data-single_unit="{{item.single_unit}}" data-available_days="{{item.available_days}}" data-packaging_unit="{{item.packaging_unit}}" data-prescription_num="{{item.prescription_num}}"
|
||||
data-stock="{{item.stock}}"
|
||||
bindtap="select_drug" wx:for="{{search_drug_list}}">
|
||||
<view>{{item.product_name}}</view>
|
||||
<view style="font-size: 26rpx;color: #3CC7C0;">{{item.manufacturer}}</view>
|
||||
</view>
|
||||
@@ -135,4 +137,4 @@
|
||||
<view style="height: 50rpx;">
|
||||
|
||||
</view>
|
||||
<van-dialog id="van-dialog" confirm-button-color="#3CC7C0" />
|
||||
<van-dialog id="van-dialog" zIndex="9999" confirm-button-color="#3CC7C0" />
|
||||
@@ -38,10 +38,7 @@
|
||||
<view class="bottom" style="padding-bottom: 30rpx;">
|
||||
<text class="bottom_txt">
|
||||
提示:服务开启后,患者按照所设置的价格向您购买图文问诊服务
|
||||
1、接诊后,患者可与您在<text class="green">{{config.duration/60}}小时内进行{{config.times_number}}回合沟通\n</text>
|
||||
2、若开启公益问诊,图文问诊价格以公益问诊价格为准
|
||||
3、每日接诊数量和问诊价格<text class="green">每日仅限调整1次,每月仅限调整5次\n</text>
|
||||
4、价格修改后立即生效,不影响修改之前已生成的问诊订单\n
|
||||
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>
|
||||
@@ -127,15 +124,17 @@
|
||||
<view class="price_title">价格设置</view>
|
||||
<view class="price_steup_box">
|
||||
<van-cell size="large" url="/user/pages/yishi/onlinesetupprice/index?inquiry_mode=6" custom-style="font-size:32rpx;" title="每日接诊数量" is-link border="{{true}}">
|
||||
<view class="cell_value">
|
||||
<view class="cell_value" wx:if="{{info.work_num_day}}">
|
||||
{{info.work_num_day}}
|
||||
</view>
|
||||
<view class="cell_value_seting" wx:else>去设置</view>
|
||||
</van-cell>
|
||||
<van-cell size="large" url="/user/pages/yishi/onlinesetupprice/index?inquiry_mode=6" custom-style="font-size:32rpx;" title="问诊单价" is-link border="{{false}}">
|
||||
<view class="cell_value">
|
||||
<view class="cell_value" wx:if="{{info.inquiry_price}}">
|
||||
<text style="color: red;">{{info.inquiry_price}}</text>
|
||||
<text style="color: #000;"> 元</text>
|
||||
</view>
|
||||
<view class="cell_value_seting" wx:else>设置单价,建议800元</view>
|
||||
</van-cell>
|
||||
</view>
|
||||
</view>
|
||||
@@ -163,7 +162,7 @@
|
||||
</van-cell>
|
||||
<van-cell size="large" url="{{config_setting.config_service_id?'/user/pages/yishi/service_setting/index?config_service_id='+config_setting.config_service_id:'/user/pages/yishi/service_setting/index'}}" custom-style="font-size:32rpx;" title="服务周期" is-link border="{{true}}">
|
||||
<view class="cell_value" wx:if="{{config_setting.service_period}}">
|
||||
{{config_setting.service_period}}
|
||||
{{config_setting.service_period}}天
|
||||
</view>
|
||||
<view class="cell_value_seting" wx:else>
|
||||
去设置
|
||||
@@ -171,7 +170,7 @@
|
||||
</van-cell>
|
||||
<van-cell size="large" url="{{config_setting.config_service_id?'/user/pages/yishi/service_setting/index?config_service_id='+config_setting.config_service_id:'/user/pages/yishi/service_setting/index'}}" custom-style="font-size:32rpx;" title="服务回合数" is-link border="{{true}}">
|
||||
<view class="cell_value" wx:if="{{config_setting.service_rounds}}">
|
||||
{{config_setting.service_rounds}}
|
||||
{{config_setting.service_rounds==0?'不限回合数':config_setting.service_rounds}}
|
||||
</view>
|
||||
<view class="cell_value_seting" wx:else>
|
||||
去设置
|
||||
|
||||
@@ -166,7 +166,7 @@ page{
|
||||
.tabcon{
|
||||
overflow-y: scroll;
|
||||
-webkit-overflow-scrolling: touch;
|
||||
height: calc(100vh - 400rpx);
|
||||
height: calc(100vh - 430rpx);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
|
||||
@@ -105,6 +105,16 @@ Page({
|
||||
return;
|
||||
}
|
||||
}
|
||||
if(this.data.inquiry_mode==2){
|
||||
console.log(parseFloat(this.data.info.inquiry_price))
|
||||
if(!(parseFloat(this.data.info.inquiry_price)>=10 && parseFloat(this.data.info.inquiry_price)<=2999)){
|
||||
wx.showToast({
|
||||
title: '问诊单价为10~2999元',
|
||||
icon:'none'
|
||||
})
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
//修改医生问诊配置
|
||||
let params = {};
|
||||
|
||||
@@ -26,19 +26,10 @@
|
||||
4、价格修改后立即生效,不影响修改之前已生成的问诊订单
|
||||
</text>
|
||||
<text wx:elif="{{inquiry_mode==2}}">
|
||||
提示:服务开通后,患者可以向您购买视频问诊服务,接诊后<text class="green">需要您主动和患者预约视频时间并同步设置预约时间</text>
|
||||
1、视频问诊价格<text class="green">每日仅限调整1次,每自然月仅限调整5次</text>
|
||||
2、单价修改后立即生效,不影响当日已生成的问诊订单
|
||||
3、<text class="green">24小时不接诊,订单自动取消</text>,并不展示在您的接诊列表中
|
||||
4、接诊后,您与患者<text class="green">沟通有效期为48小时</text>,同时提供无回合限制图文、语音形式交流
|
||||
5、患者因服务不满意等原因要求退款时,平台会和您协商处理
|
||||
提示:服务开通后,患者可以向您购买视频问诊服务,接诊后<text class="green">需要您主动和患者预约视频时间并同步设置预约时间\n</text>1、视频问诊价格<text class="green">每日仅限调整1次,每自然月仅限调整5次\n</text>2、单价修改后立即生效,不影响当日已生成的问诊订单3、<text class="green">24小时不接诊,订单自动取消</text>,并不展示在您的接诊列表中\n4、接诊后,您与患者<text class="green">沟通有效期为48小时</text>,同时提供无回合限制图文、语音形式交流\n5、患者因服务不满意等原因要求退款时,平台会和您协商处理\n
|
||||
</text>
|
||||
<text wx:else>
|
||||
提示:服务开通后,患者可以向您购买疑难会诊服务,接诊后需要与患者进行图文沟通。
|
||||
1、问诊价格<text style="color:#3CC7C0">每日仅限调整1次,每自然月仅限调整5次</text>
|
||||
2、单价修改后立即生效,不影响当日已生成的问诊订单
|
||||
3、接诊后,患者根据您设定的服务周期和服务次数进行问诊沟通
|
||||
4、接诊后出现争议时,平台客服会根据实际问诊情况与您协商进行退款
|
||||
提示:服务开通后,患者可以向您购买疑难会诊服务,接诊后需要与患者进行图文沟通。\n1、问诊价格<text style="color:#3CC7C0">每日仅限调整1次,每自然月仅限调整5次\n</text>2、单价修改后立即生效,不影响当日已生成的问诊订单\n3、接诊后,患者根据您设定的服务周期和服务次数进行问诊沟通\n4、接诊后出现争议时,平台客服会根据实际问诊情况与您协商进行退款\n
|
||||
</text>
|
||||
</view>
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"usingComponents": {
|
||||
|
||||
"te-nav-bar": "../../../../commpents/te_navbar/index",
|
||||
"van-radio": "@vant/weapp/radio/index",
|
||||
"van-radio-group": "@vant/weapp/radio-group/index"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user