医生开启服务显示

This commit is contained in:
zoujiandong 2023-10-13 16:20:32 +08:00
parent e5865423c4
commit 69c2f8c24c

View File

@ -120,9 +120,7 @@
<template #hospital_name="{record}"> <template #hospital_name="{record}">
<div class="hospital_name" :title="record.hospital_name">{{record.hospital_name}}</div> <div class="hospital_name" :title="record.hospital_name">{{record.hospital_name}}</div>
</template> </template>
<template #inquiry_service="{ record }">
<span>{{filterService(record)}}</span>
</template>
<template #iden_auth_status="{ record }"> <template #iden_auth_status="{ record }">
<!-- 身份认证状态0:未认证 1:认证通过 2:审核中 3:认证失败 --> <!-- 身份认证状态0:未认证 1:认证通过 2:审核中 3:认证失败 -->
<a-tag v-if="record.iden_auth_status == 0" color="gray">未认证</a-tag> <a-tag v-if="record.iden_auth_status == 0" color="gray">未认证</a-tag>
@ -941,7 +939,7 @@
{ title: '手机号码', dataIndex: 'mobile', width: 125 }, { title: '手机号码', dataIndex: 'mobile', width: 125 },
{ title: '医院', dataIndex: 'hospital_name', width: '150', slotName: 'hospital_name' }, { title: '医院', dataIndex: 'hospital_name', width: '150', slotName: 'hospital_name' },
{ title: '职称', dataIndex: 'doctor_title', slotName: 'doctor_title' }, { title: '职称', dataIndex: 'doctor_title', slotName: 'doctor_title' },
{ title: '开启服务', dataIndex: 'inquiry_service', slotName: 'inquiry_service' }, { title: '开启服务', dataIndex: 'inquiry_type' },
{ title: '多点审核状态', dataIndex: 'multi_point_status', slotName: 'multi_point_status', width: 140 }, { title: '多点审核状态', dataIndex: 'multi_point_status', slotName: 'multi_point_status', width: 140 },
{ title: '是否推荐', dataIndex: 'is_recommend', slotName: 'is_recommend' }, { title: '是否推荐', dataIndex: 'is_recommend', slotName: 'is_recommend' },
{ title: '深度合作', dataIndex: 'is_platform_deep_cooperation', slotName: 'is_platform_deep_cooperation' }, { title: '深度合作', dataIndex: 'is_platform_deep_cooperation', slotName: 'is_platform_deep_cooperation' },
@ -1116,30 +1114,30 @@
}; };
// //
const filterService = (record) => { // const filterService = (record) => {
let arr = []; // let arr = [];
let str = ''; // let str = '';
if (record.is_img_expert_reception == 1) { // if (record.is_img_expert_reception == 1) {
arr.push("专家问诊"); // arr.push("");
} // }
if (record.is_img_welfare_reception == 1) { // if (record.is_img_welfare_reception == 1) {
arr.push("公益问诊") // arr.push("")
} // }
if (record.is_img_quick_reception == 1) { // if (record.is_img_quick_reception == 1) {
arr.push("快速问诊") // arr.push("")
}; // };
if (record.multi_point_status == 1) { // if (record.multi_point_status == 1) {
arr.push("问诊购药") // arr.push("")
} // }
arr.forEach((item) => { // arr.forEach((item) => {
if (!str) { // if (!str) {
str += item // str += item
} else { // } else {
str += ',' + item // str += ',' + item
} // }
}) // })
return str ? str : "暂无" // return str ? str : ""
} // }
// Modal ok // Modal ok
// Modal done() // Modal done()
const handleSubmit = (done) => { const handleSubmit = (done) => {