更新医生问诊配置
This commit is contained in:
parent
c72645d079
commit
317be9528c
@ -16,17 +16,27 @@
|
||||
<a-option :value="3">公益问诊</a-option>
|
||||
<a-option :value="4">问诊购药</a-option>
|
||||
</a-select>
|
||||
|
||||
|
||||
</a-form-item>
|
||||
|
||||
<a-form-item field="inquiry_mode" label="问诊方式">
|
||||
<a-select v-model="queryForm.inquiry_mode" placeholder="请选择问诊方式" :style="{ width: '182px' }">
|
||||
<!-- 1:专家问诊 2:快速问诊 3:公益问诊 4:问诊购药 -->
|
||||
<a-option :value="1">图文</a-option>
|
||||
<a-option :value="2">视频</a-option>
|
||||
<a-option :value="3">语音</a-option>
|
||||
<a-option :value="4">电话</a-option>
|
||||
<a-option :value="5">会员</a-option>
|
||||
<a-option :value="6">疑难会诊</a-option>
|
||||
<a-option :value="7">附赠沟通</a-option>
|
||||
</a-select>
|
||||
</a-form-item>
|
||||
<a-form-item field="is_enable" label="启用状态">
|
||||
<a-select v-model="queryForm.is_enable" placeholder="请选择启用状态" :style="{ width: '182px' }">
|
||||
<a-option :value="0">关闭</a-option>
|
||||
<a-option :value="1">开启</a-option>
|
||||
|
||||
</a-select>
|
||||
</a-form-item>
|
||||
|
||||
<a-form-item>
|
||||
<a-space>
|
||||
<a-button type="primary" @click="handleQuery"><icon-search /> 搜索</a-button>
|
||||
@ -47,7 +57,7 @@
|
||||
|
||||
<!-- table -->
|
||||
<a-table :columns="columns" :data="tableData"
|
||||
:scroll="{ x: 1400 }"
|
||||
:scroll="{ x: 1500 }"
|
||||
:row-selection="{ type: 'checkbox', showCheckedAll: true }"
|
||||
:pagination="{ 'show-total': true, 'show-jumper': true, 'show-page-size': true, total: pager.total, current: currentPage }"
|
||||
row-key="doctor_id" @selection-change="(selection) => {deleteData = selection;console.log(selection)}"
|
||||
@ -65,6 +75,9 @@
|
||||
<template #inquiry_type="{record}">
|
||||
<div>{{ formatInquiryType(record.inquiry_type) }}</div>
|
||||
</template>
|
||||
<template #inquiry_mode="{record}">
|
||||
<div>{{ formatMode(record.inquiry_mode) }}</div>
|
||||
</template>
|
||||
<template #last_enable_method="{record}">
|
||||
<div class="reason" v-if="record.last_enable_method==1" >自己</div>
|
||||
<div v-else>后台</div>
|
||||
@ -109,7 +122,7 @@
|
||||
<script setup>
|
||||
import { reactive, ref, getCurrentInstance, onMounted, nextTick, watch, computed } from 'vue';
|
||||
import { getInquiryconfigList} from '@/api/inquiry/config';
|
||||
import {formatDoctorTitle,formatInquiryType,formatMultipoint} from "@/utils/format"
|
||||
import {formatDoctorTitle,formatInquiryType,formatMultipoint,formatMode} from "@/utils/format"
|
||||
|
||||
// Akiraka 20230210 删除数据
|
||||
const deleteData = ref([])
|
||||
@ -179,6 +192,7 @@
|
||||
{ title: '接诊数量', dataIndex: 'work_num_day' },
|
||||
{ title: '多点执业', dataIndex: 'multi_point_status',slotName:'multi_point_status' },
|
||||
{ title: '问诊类型', dataIndex: 'inquiry_type',slotName:'inquiry_type' },
|
||||
{ title: '问诊方式', dataIndex: 'inquiry_mode',slotName:'inquiry_mode' },
|
||||
{ title: '启用状态', dataIndex: 'is_enable',slotName:'is_enable' },
|
||||
{ title: '申请人', dataIndex: 'last_enable_method',slotName:'last_enable_method' },
|
||||
{ title: '操作', slotName: 'action', fixed: "right", width: 180 },
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user