- {{ modalForm.user_doctor.user_name }} {{
- formatDoctorTitle(modalForm.user_doctor.doctor_title)
+ {{ modalForm.inquiry_doctor.user_name }} {{
+ formatDoctorTitle(modalForm.inquiry_doctor.doctor_title)
}}
就诊人信息
@@ -839,6 +900,7 @@ const doctor_id = ref('');
const isVisible = ref(false);
const order_product_id = ref('');
let express = []; //物流信息;
+const showTransferDoctor = ref(false);
const cur_express = ref([]);
const isExpand = ref(false);
const patientVisible = ref(false);
@@ -895,11 +957,14 @@ const pager = {
// form
const queryForm = reactive({});
const modalForm = reactive({
- order_product_refund: {},
+ order_product_refund:{
+ product_refund_no:'',
+
+ },
order_product_item: [],
- order_product_logistics: null,
- user_doctor: null,
- order_prescription: null,
+ order_product_logistics: {},
+ user_doctor: {},
+ order_prescription: {},
});
watch(
@@ -969,7 +1034,7 @@ const columns = [
{ title: '排序', dataIndex: 'post_id', slotName: 'post_id', width: 90 },
{ title: '订单编号', dataIndex: 'order_product_no', width: 200 },
{ title: '处方编号', dataIndex: 'prescription_code', slotName: 'prescription_code', width: 200 },
- { title: '医生姓名', dataIndex: 'doctor_name', width: 100 },
+ { title: '医生姓名', dataIndex: 'doctor_name', slotName: 'doctor_name', width: 100 },
{
title: '就诊人',
dataIndex: 'patient_name_mask',
@@ -1054,6 +1119,12 @@ const getDetail = async (order_product_id) => {
if (code == 200) {
Object.assign(modalForm, data);
let result = data.order_prescription;
+ if(!data.order_product_refund){
+ modalForm.order_product_refund={}
+ }
+ if(!data.user_doctor){
+ modalForm.user_doctor = {}
+ }
express = data.order_product_logistics
? JSON.parse(data.order_product_logistics.logistics_content)
: [];
@@ -1179,7 +1250,11 @@ const handleResetQuery = () => {
handleQuery();
};
const openDcotor = () => {
- doctor_id.value = modalForm.doctor_id;
+ doctor_id.value = modalForm.inquiry_doctor.doctor_id;
+ doctorVisible.value = true;
+};
+const openDcotorTransfer = () => {
+ doctor_id.value = modalForm.transfer_prescription_doctor.doctor_id;
doctorVisible.value = true;
};
const openPatient = () => {
@@ -1224,6 +1299,8 @@ const handlExport=async(type)=>{
proxy.$loading.hide();
}
onMounted(() => {
+ let userInfo=localStorage.getItem('manage-userInfo')?JSON.parse(localStorage.getItem('manage-userInfo')):{};
+ showTransferDoctor.value=userInfo.role_name!='处方流转平台';
getProductInfo(pager);
});
diff --git a/src/views/prescription/prescription-list/index.vue b/src/views/prescription/prescription-list/index.vue
index ef64d34..aa2602b 100644
--- a/src/views/prescription/prescription-list/index.vue
+++ b/src/views/prescription/prescription-list/index.vue
@@ -240,7 +240,7 @@ watch(() => queryForm.expired_range_time,
// Table Columns
const columns = [
{ title: '编号', dataIndex: 'doctor_id', slotName: 'doctor_id', width: '90' },
- { title: '处方编号', dataIndex: 'order_prescription_id',width:180 },
+ { title: '处方编号', dataIndex: 'prescription_code',width:180 },
{ title: '医生姓名', dataIndex: 'doctor_name',slotName: 'doctor_name', width: 150 },
{ title: '药师姓名', dataIndex: 'pharmacist_name',slotName:'pharmacist_name' },
{ title: '就诊人', dataIndex: 'patient_name', slotName: 'patient_name',width:180 },
diff --git a/src/views/prescription/transferPrescription-list/index.vue b/src/views/prescription/transferPrescription-list/index.vue
new file mode 100644
index 0000000..a6570d9
--- /dev/null
+++ b/src/views/prescription/transferPrescription-list/index.vue
@@ -0,0 +1,467 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 待审核
+ 待使用
+ 已失效
+ 已使用
+
+
+
+
+
+ 审核中
+ 审核成功
+ 审核驳回
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 搜索
+ 重置
+
+
+
+
+
+
+
+
+
+ 选择数据导出
+ 当前搜索全部导出
+ 全部导出
+
+
+
+
+
{deleteData = selection;console.log(selection)}"
+ @page-change="handlePageChange" @page-size-change="handlepage_sizeChange">
+
+ {{(rowIndex+1)+(pager.page-1)*pager.page_size}}
+
+
+ {{formatPrescriptionStatus(record.prescription_status)}}
+
+
+ 否
+ 是
+
+
+
+ {{ showTransferDoctor?record.inquiry_doctor.user_name:record.transfer_prescription_doctor.user_name }}
+
+
+ {{record.pharmacist_name}}
+
+
+ {{record.patient_name}}({{
+ record.patient_sex == 1 ? '男,' : '女,'
+ }}{{ record.patient_age }}岁)
+
+
+ {{record.order_prescription_icd}}
+
+
+
+ 详情
+
+
+
+
+
+
{modalVisible=false}">
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file