列表添加问诊方式
This commit is contained in:
parent
1c0fa985ee
commit
773feb7b5d
@ -63,7 +63,7 @@
|
|||||||
|
|
||||||
<!-- table -->
|
<!-- table -->
|
||||||
<a-table :columns="columns" :data="tableData"
|
<a-table :columns="columns" :data="tableData"
|
||||||
:scroll="{ x: 1400 }"
|
:scroll="{ x: 1500 }"
|
||||||
:row-selection="{ type: 'checkbox', showCheckedAll: true }"
|
:row-selection="{ type: 'checkbox', showCheckedAll: true }"
|
||||||
:pagination="{ 'show-total': true, 'show-jumper': true, 'show-page-size': true, total: pager.total, current: currentPage }"
|
: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)}"
|
row-key="doctor_id" @selection-change="(selection) => {deleteData = selection;console.log(selection)}"
|
||||||
@ -74,6 +74,9 @@
|
|||||||
<template #inquiry_type="{record}">
|
<template #inquiry_type="{record}">
|
||||||
<div>{{formatInquiryType(record.inquiry_type)}}</div>
|
<div>{{formatInquiryType(record.inquiry_type)}}</div>
|
||||||
</template>
|
</template>
|
||||||
|
<template #inquiry_mode="{ record }">
|
||||||
|
{{ formatMode(record.inquiry_mode) }}
|
||||||
|
</template>
|
||||||
<template #inquiry_status="{record}">
|
<template #inquiry_status="{record}">
|
||||||
<div>{{formatInquiryStatus(record.inquiry_status)}}</div>
|
<div>{{formatInquiryStatus(record.inquiry_status)}}</div>
|
||||||
</template>
|
</template>
|
||||||
@ -99,7 +102,7 @@
|
|||||||
<script setup>
|
<script setup>
|
||||||
import { reactive, ref, getCurrentInstance, onMounted, nextTick, watch, computed } from 'vue';
|
import { reactive, ref, getCurrentInstance, onMounted, nextTick, watch, computed } from 'vue';
|
||||||
import { getInquiryList,getInquiryDetail} from '@/api/inquiry/list';
|
import { getInquiryList,getInquiryDetail} from '@/api/inquiry/list';
|
||||||
import {formatInquiryType,formatInquiryStatus} from "@/utils/format"
|
import {formatInquiryType,formatInquiryStatus,formatMode} from "@/utils/format"
|
||||||
import { parseTime } from '@/utils/parseTime';
|
import { parseTime } from '@/utils/parseTime';
|
||||||
// Akiraka 20230210 删除数据
|
// Akiraka 20230210 删除数据
|
||||||
const deleteData = ref([])
|
const deleteData = ref([])
|
||||||
@ -216,6 +219,7 @@ watch(()=>queryForm.create_range_time,(value)=>{
|
|||||||
{ title: '就诊人', dataIndex:'patient_name_mask',slotName: 'patient_name_mask',width:100 },
|
{ title: '就诊人', dataIndex:'patient_name_mask',slotName: 'patient_name_mask',width:100 },
|
||||||
{ title: '所属患者', dataIndex: 'user_name', slotName: 'user_name',width: 150 },
|
{ title: '所属患者', dataIndex: 'user_name', slotName: 'user_name',width: 150 },
|
||||||
{ title: '问诊类型', dataIndex: 'inquiry_type', slotName: 'inquiry_type' },
|
{ title: '问诊类型', dataIndex: 'inquiry_type', slotName: 'inquiry_type' },
|
||||||
|
{ title: '问诊方式', dataIndex: 'inquiry_mode',slotName:'inquiry_mode',width:100 },
|
||||||
{ title: '订单状态', dataIndex: 'inquiry_status', slotName: 'inquiry_status' },
|
{ title: '订单状态', dataIndex: 'inquiry_status', slotName: 'inquiry_status' },
|
||||||
{ title: '接诊时间', dataIndex: 'reception_time', slotName: 'reception_time',width:200 },
|
{ title: '接诊时间', dataIndex: 'reception_time', slotName: 'reception_time',width:200 },
|
||||||
{ title: '操作', slotName: 'action', fixed: "right", width: 180 },
|
{ title: '操作', slotName: 'action', fixed: "right", width: 180 },
|
||||||
|
|||||||
@ -94,7 +94,7 @@
|
|||||||
<!-- table -->
|
<!-- table -->
|
||||||
<a-table
|
<a-table
|
||||||
:columns="columns"
|
:columns="columns"
|
||||||
:scroll="{ x: 1600 }"
|
:scroll="{ x: 1700 }"
|
||||||
:data="tableData"
|
:data="tableData"
|
||||||
:pagination="{ 'show-total': true, 'show-jumper': true, 'show-page-size': true, total: pager.total, current: currentPage }"
|
:pagination="{ 'show-total': true, 'show-jumper': true, 'show-page-size': true, total: pager.total, current: currentPage }"
|
||||||
:row-selection="{ type: 'checkbox', showCheckedAll: true }"
|
:row-selection="{ type: 'checkbox', showCheckedAll: true }"
|
||||||
@ -134,6 +134,9 @@
|
|||||||
<template #inquiry_type="{ record }">
|
<template #inquiry_type="{ record }">
|
||||||
{{ formatInquiryType(record.inquiry_type) }}
|
{{ formatInquiryType(record.inquiry_type) }}
|
||||||
</template>
|
</template>
|
||||||
|
<template #inquiry_mode="{ record }">
|
||||||
|
{{ formatMode(record.inquiry_mode) }}
|
||||||
|
</template>
|
||||||
<template #pay_time="{ record }">
|
<template #pay_time="{ record }">
|
||||||
{{ parseTime(record.pay_time) }}
|
{{ parseTime(record.pay_time) }}
|
||||||
</template>
|
</template>
|
||||||
@ -554,6 +557,7 @@ const columns = [
|
|||||||
{ title: '订单金额', dataIndex: 'amount_total',slotName:'amount_total',width:100 },
|
{ title: '订单金额', dataIndex: 'amount_total',slotName:'amount_total',width:100 },
|
||||||
{ title: '实付金额', dataIndex: 'payment_amount_total',slotName:'payment_amount_total',width:100 },
|
{ title: '实付金额', dataIndex: 'payment_amount_total',slotName:'payment_amount_total',width:100 },
|
||||||
{ title: '服务类型', dataIndex: 'inquiry_type',slotName:'inquiry_type',width:100 },
|
{ title: '服务类型', dataIndex: 'inquiry_type',slotName:'inquiry_type',width:100 },
|
||||||
|
{ title: '问诊方式', dataIndex: 'inquiry_mode',slotName:'inquiry_mode',width:100 },
|
||||||
{ title: '支付方式', dataIndex: 'inquiry_pay_channel',slotName: 'inquiry_pay_channel'},
|
{ title: '支付方式', dataIndex: 'inquiry_pay_channel',slotName: 'inquiry_pay_channel'},
|
||||||
{ title: '订单状态', dataIndex: 'inquiry_status', slotName:'inquiry_status' },
|
{ title: '订单状态', dataIndex: 'inquiry_status', slotName:'inquiry_status' },
|
||||||
{ title: '支付时间', dataIndex: 'pay_time', slotName: 'pay_time',width:200 },
|
{ title: '支付时间', dataIndex: 'pay_time', slotName: 'pay_time',width:200 },
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user