问诊类型
This commit is contained in:
parent
dc261b418c
commit
087b0a3663
@ -8,29 +8,8 @@
|
|||||||
:footer="false"
|
:footer="false"
|
||||||
@cancel="handleClose"
|
@cancel="handleClose"
|
||||||
>
|
>
|
||||||
<div class="titlebox">
|
|
||||||
<div class="bar"></div>
|
|
||||||
<div class="name">添加医生</div>
|
|
||||||
</div>
|
|
||||||
<a-form :model="modalForm" ref="modalFormRefConfig" :auto-label-width="true" :rules="rules">
|
<a-form :model="modalForm" ref="modalFormRefConfig" :auto-label-width="true" :rules="rules">
|
||||||
<a-row :gutter="24" style="margin-top: 35px">
|
|
||||||
<a-col :span="12">
|
|
||||||
<a-form-item field="doctor_id" :hide-label="true">
|
|
||||||
<a-space direction="vertical" size="large">
|
|
||||||
<a-select :style="{width:'420px'}" allow-search placeholder="请输入医生姓名" :disabled="inquiry_config_id?true:false" v-model="modalForm.doctor_id" allow-clear
|
|
||||||
:loading="loading" @change="changeDoctor" @search="handleDoctorList">
|
|
||||||
<a-option size="large" style="max-width:500px" v-for="item in doctorData" :key="item.hospital_id"
|
|
||||||
:value="item.doctor_id" :label="item.user_name">
|
|
||||||
<span v-if="item.doctor_title || item.hospital_name || item.department_custom_name" :title="item.user_name+'('+formatDoctorTitle(item.doctor_title)+'—'+item.hospital_name+'—'+item.department_custom_name+')'"> {{item.user_name+'('+formatDoctorTitle(item.doctor_title)+'—'+item.hospital_name+'—'+item.department_custom_name+')'}}</span>
|
|
||||||
<span v-else :title="item.user_name"> {{item.user_name}}</span>
|
|
||||||
</a-option>
|
|
||||||
</a-select>
|
|
||||||
</a-space>
|
|
||||||
</a-form-item>
|
|
||||||
</a-col>
|
|
||||||
</a-row>
|
|
||||||
|
|
||||||
<a-divider />
|
|
||||||
<div class="titlebox">
|
<div class="titlebox">
|
||||||
<div class="bar"></div>
|
<div class="bar"></div>
|
||||||
<div class="name">问诊类型</div>
|
<div class="name">问诊类型</div>
|
||||||
@ -54,6 +33,30 @@
|
|||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-col>
|
</a-col>
|
||||||
</a-row>
|
</a-row>
|
||||||
|
<a-divider />
|
||||||
|
<div class="titlebox">
|
||||||
|
<div class="bar"></div>
|
||||||
|
<div class="name">添加医生</div>
|
||||||
|
</div>
|
||||||
|
<a-row :gutter="24" style="margin-top: 35px">
|
||||||
|
<a-col :span="12">
|
||||||
|
<a-form-item field="doctor_id" :hide-label="true">
|
||||||
|
<a-space direction="vertical" size="large">
|
||||||
|
<a-select :style="{width:'420px'}" allow-search placeholder="请输入医生姓名" :disabled="inquiry_config_id?true:false" v-model="modalForm.doctor_id" allow-clear
|
||||||
|
:loading="loading" @change="changeDoctor" @search="handleDoctorList">
|
||||||
|
<a-option size="large" style="max-width:500px" v-for="item in doctorData" :key="item.hospital_id"
|
||||||
|
:value="item.doctor_id" :label="item.user_name">
|
||||||
|
<span v-if="item.doctor_title || item.hospital_name || item.department_custom_name" :title="item.user_name+'('+formatDoctorTitle(item.doctor_title)+'—'+item.hospital_name+'—'+item.department_custom_name+')'"> {{item.user_name+'('+formatDoctorTitle(item.doctor_title)+'—'+item.hospital_name+'—'+item.department_custom_name+')'}}</span>
|
||||||
|
<span v-else :title="item.user_name"> {{item.user_name}}</span>
|
||||||
|
</a-option>
|
||||||
|
</a-select>
|
||||||
|
</a-space>
|
||||||
|
</a-form-item>
|
||||||
|
</a-col>
|
||||||
|
</a-row>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<a-divider />
|
<a-divider />
|
||||||
<!-- <div class="typebox" v-if="toggleType">
|
<!-- <div class="typebox" v-if="toggleType">
|
||||||
|
|
||||||
@ -231,6 +234,7 @@ import { formatDoctorTitle } from '@/utils/format';
|
|||||||
import { parseTime } from '@/utils/parseTime';
|
import { parseTime } from '@/utils/parseTime';
|
||||||
import zhCn from 'element-plus/dist/locale/zh-cn.mjs'
|
import zhCn from 'element-plus/dist/locale/zh-cn.mjs'
|
||||||
const { proxy } = getCurrentInstance();
|
const { proxy } = getCurrentInstance();
|
||||||
|
let multi_point_status='';
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
// 是否显示
|
// 是否显示
|
||||||
modalVisible: {
|
modalVisible: {
|
||||||
@ -284,12 +288,28 @@ const handleDetail=(id)=>{
|
|||||||
|
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
};
|
||||||
|
|
||||||
const handleDoctorList=(value)=>{
|
const handleDoctorList=(value)=>{
|
||||||
loading.value=true;
|
loading.value=true;
|
||||||
getDoctorList({
|
let formData=null;
|
||||||
user_name:value
|
if(modalForm.inquiry_type==4){
|
||||||
}).then(data=>{
|
formData={
|
||||||
|
user_name:value,
|
||||||
|
idcard_status:1,
|
||||||
|
iden_auth_status:1,
|
||||||
|
is_bind_bank:1,
|
||||||
|
multi_point_status: 1
|
||||||
|
}
|
||||||
|
}else{
|
||||||
|
formData= {
|
||||||
|
user_name:value,
|
||||||
|
idcard_status:1,
|
||||||
|
iden_auth_status:1,
|
||||||
|
is_bind_bank:1,
|
||||||
|
}
|
||||||
|
}
|
||||||
|
getDoctorList(formData).then(data=>{
|
||||||
if(data.code=200){
|
if(data.code=200){
|
||||||
doctorData.value=data.data;
|
doctorData.value=data.data;
|
||||||
if(!value){
|
if(!value){
|
||||||
@ -408,6 +428,7 @@ const changeType=(value)=>{
|
|||||||
}else{
|
}else{
|
||||||
toggleType.value=false
|
toggleType.value=false
|
||||||
};
|
};
|
||||||
|
doctorData.value=[];
|
||||||
modalForm.doctor_inquiry_time=[];
|
modalForm.doctor_inquiry_time=[];
|
||||||
modalForm.inquiry_price=null;
|
modalForm.inquiry_price=null;
|
||||||
slect_all_date.value=[];
|
slect_all_date.value=[];
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user