更改医生详情
This commit is contained in:
@@ -417,7 +417,7 @@
|
||||
</a-col>
|
||||
</a-row>
|
||||
<a-divider v-if="modalForm.doctor_bank_card"/>
|
||||
<div class="titlebox" v-if="(modalForm.user_doctor_info.license_cert && modalForm.user_doctor_info.license_cert.length>0) || modalSatus!='detail'">
|
||||
<div class="titlebox" v-if="Object.keys(modalForm.user_doctor_info).length != 0">
|
||||
<div class="bar"></div>
|
||||
<div class="name">医师证件</div>
|
||||
</div>
|
||||
@@ -557,15 +557,15 @@
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
</a-row>
|
||||
<a-divider v-if="(modalForm.user_doctor_info.license_cert && modalForm.user_doctor_info.license_cert.length>0) || modalSatus!='detail'"/>
|
||||
<div class="titlebox" v-if="modalForm.department_custom_name && modalForm.iden_auth_status==1 && modalForm.user_doctor_info.sign_image">
|
||||
<a-divider v-if="Object.keys(modalForm.user_doctor_info).length != 0"/>
|
||||
<div class="titlebox" v-if="modalForm.department_custom_name && modalForm.iden_auth_status==1 && modalForm.user_doctor_info.sign_image && modalForm.multi_point_status==1">
|
||||
<div class="bar"></div>
|
||||
<div class="name">CA证书配置</div>
|
||||
</div>
|
||||
<a-row :gutter="24" style="margin-top: 35px;" v-if="modalForm.department_custom_name && modalForm.iden_auth_status==1 && modalForm.user_doctor_info.sign_image">
|
||||
<a-row :gutter="24" style="margin-top: 35px;" v-if="modalForm.department_custom_name && modalForm.iden_auth_status==1 && modalForm.user_doctor_info.sign_image && modalForm.multi_point_status==1">
|
||||
<a-col :span="24">
|
||||
<a-form-item field="" label="" no-style>
|
||||
<div>证书有效期:2023.02.01-2023.08.01</div>
|
||||
<div>证书有效期:{{parseTime(modalForm.user_ca_cert.cert_application_time,'{y}-{m}-{d}')}}-{{parseTime(modalForm.user_ca_cert.cert_expire_time,'{y}-{m}-{d}')}}</div>
|
||||
<a-space style="margin-top: 15px;">
|
||||
<!-- <a-button type="primary" >证书申请</a-button> -->
|
||||
<a-button type="primary" status="success" @click="()=>{okVisible=true;okStatus=2;}">证书续期</a-button>
|
||||
@@ -575,16 +575,14 @@
|
||||
<a-divider />
|
||||
<div class="title">签章配置</div>
|
||||
<a-space style="margin-top: 15px;">
|
||||
<!-- <a-button type="primary" >证书申请</a-button> -->
|
||||
<a-button type="primary" status="success" @click="()=>{okVisible=true;okStatus=4;}">签章申请</a-button>
|
||||
<a-button type="primary" status="danger" @click="()=>{okVisible=true;okStatus=5;}">签章更新</a-button>
|
||||
|
||||
<!-- <a-button type="primary" status="danger" @click="()=>{okVisible=true;okStatus=5;}">签章更新</a-button> -->
|
||||
</a-space>
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
</a-row>
|
||||
</a-form>
|
||||
<a-divider v-show="modalSatus!='detail' " v-if="modalForm.department_custom_name && modalForm.iden_auth_status==1 && modalForm.user_doctor_info.sign_image"/>
|
||||
<a-divider v-show="modalSatus!='detail' " v-if="modalForm.department_custom_name && modalForm.iden_auth_status==1 && modalForm.user_doctor_info.sign_image && modalForm.multi_point_status==1"/>
|
||||
<div class="titlebox" v-if="modalSatus!='detail'">
|
||||
<div class="bar"></div>
|
||||
<div class="name">操作</div>
|
||||
@@ -623,10 +621,11 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { reactive, ref, getCurrentInstance, onMounted, nextTick, watch, computed } from 'vue';
|
||||
import { reactive, ref, getCurrentInstance, onMounted, watch } from 'vue';
|
||||
import { getDoctorList, addDoctor, removeDoctor, updateDoctor, getDoctorDetail, departmentList, decryptCard, hospitalList, expertiseList, areaList, bankList, decryptBank } from '@/api/doctor/list';
|
||||
import { updateCA,removeCA,updateSign,applySign } from '@/api/doctor/ca';
|
||||
import { ossSign, ossUpload } from '@/api/oss';
|
||||
import { parseTime } from '@/utils/parseTime';
|
||||
import dayjs from 'dayjs'
|
||||
// Akiraka 20230210 删除数据
|
||||
const deleteData = ref([])
|
||||
@@ -665,6 +664,9 @@
|
||||
},
|
||||
user_doctor_info: {
|
||||
card_num_mask:''
|
||||
},
|
||||
user_ca_cert:{
|
||||
|
||||
},
|
||||
doctor_bank_card: {
|
||||
province_id:'',
|
||||
@@ -1161,7 +1163,10 @@
|
||||
})
|
||||
}
|
||||
const handleApplySign=()=>{
|
||||
applySign(modalForm.user_doctor_info.user_id).then(data=>{
|
||||
applySign({
|
||||
type:2,
|
||||
user_id:modalForm.user_doctor_info.user_id
|
||||
}).then(data=>{
|
||||
let result=data.data;
|
||||
if(result.code==200){
|
||||
proxy.$message.success('签章申请成功');
|
||||
|
||||
Reference in New Issue
Block a user