diff --git a/src/api/inquiry/list.js b/src/api/inquiry/list.js new file mode 100644 index 0000000..cdf9985 --- /dev/null +++ b/src/api/inquiry/list.js @@ -0,0 +1,18 @@ +import request from '../../utils/request' + +const url = '/admin/order/inquiry/record'; + + +export function getInquiryList(params){ + return request({ + url:'/admin/order/inquiry/record', + method: 'get', + params + }) +} +export function getInquiryDetail(id){ + return request({ + url:'/admin/order/inquiry/record/'+id, + method: 'get' + }) + } \ No newline at end of file diff --git a/src/api/order/list.js b/src/api/order/list.js index 57f5020..6c8110a 100644 --- a/src/api/order/list.js +++ b/src/api/order/list.js @@ -65,3 +65,11 @@ export function inquiryCase(id){//病例详情 method: 'get' }) } +export function getIm(id,params){//获取im分页 + return request({ + url:`/admin/order/inquiry/im/${id}`, + method: 'get', + params + }) +} + diff --git a/src/api/prescription/list.js b/src/api/prescription/list.js index d1536a0..f369922 100644 --- a/src/api/prescription/list.js +++ b/src/api/prescription/list.js @@ -16,3 +16,9 @@ export function getPrescriptionDetail(id){ method: 'get' }) } + export function getCase(id){ + return request({ + url:'/admin/case/inquiry/'+id, + method: 'get' + }) + } diff --git a/src/components/inquiryDetailModal.vue b/src/components/inquiryDetailModal.vue new file mode 100644 index 0000000..47b2d0b --- /dev/null +++ b/src/components/inquiryDetailModal.vue @@ -0,0 +1,468 @@ + + + \ No newline at end of file diff --git a/src/components/medinceModal.vue b/src/components/medinceModal.vue new file mode 100644 index 0000000..ada14f0 --- /dev/null +++ b/src/components/medinceModal.vue @@ -0,0 +1,629 @@ + + + \ No newline at end of file diff --git a/src/components/patientModal.vue b/src/components/patientModal.vue index ae9a9ef..2869190 100644 --- a/src/components/patientModal.vue +++ b/src/components/patientModal.vue @@ -127,13 +127,16 @@ const props = defineProps({ type: Boolean, default: false, }, + modalTitle:{ + type: String, + default:'就诊人详情' + }, data: { type: Object, }, }); const emits = defineEmits(['patientVisibleChange']); -const { patientVisible, data } = toRefs(props); -const modalTitle = ref('就诊人详情'); +const { patientVisible, data,modalTitle } = toRefs(props); const modalSatus = ref('detail'); const loading = ref(false); @@ -256,4 +259,10 @@ const handleClose = () => { patientVisible.value = false; //otherList.value=[]; }; - \ No newline at end of file + + \ No newline at end of file diff --git a/src/components/prescriptionModal.vue b/src/components/prescriptionModal.vue new file mode 100644 index 0000000..9285ff7 --- /dev/null +++ b/src/components/prescriptionModal.vue @@ -0,0 +1,396 @@ + + + \ No newline at end of file diff --git a/src/utils/format.js b/src/utils/format.js index b4c5fd3..badd837 100644 --- a/src/utils/format.js +++ b/src/utils/format.js @@ -69,4 +69,23 @@ export const formatRelation=(val)=>{ }else{ return '' } + } + + export const formatInquiryType=(val)=>{ + //类型(1:专家问诊 2:快速问诊 3:公益问诊 4:问诊购药 5:检测) + let data={1:'专家问诊', 2:'快速问诊', 3:'公益问诊', 4:'问诊购药',5:'糖组检测'} + if(val){ + return data[val] + }else{ + return '' + } + } + export const formatInquiryStatus=(val)=>{ + // 1:待支付 2:待分配 3:待接诊 4:已接诊 5:已完成 6:已结束 7:已取消 + let data={1:'待支付', 2:'待分配', 3:'待接诊', 4:'已接诊',5:'已完成',6:'已结束',7:'已取消'} + if(val){ + return data[val] + }else{ + return '' + } } \ No newline at end of file diff --git a/src/views/admin/sys-menu/index.vue b/src/views/admin/sys-menu/index.vue index 6e3f739..5c6dd05 100644 --- a/src/views/admin/sys-menu/index.vue +++ b/src/views/admin/sys-menu/index.vue @@ -286,6 +286,9 @@ const handleSubmit = (done) => { }; if (!modalForm.menu_id) { console.log("dasdasd",modalForm) + if(modalForm.menu_type==''){ + modalForm.menu_type=0; + }; const {code,message} = await addMenu(modalForm); if (code==200) { proxy.$message.success('新增成功'); diff --git a/src/views/doctor/doctor-examine/index.vue b/src/views/doctor/doctor-examine/index.vue index 4c51116..405a901 100644 --- a/src/views/doctor/doctor-examine/index.vue +++ b/src/views/doctor/doctor-examine/index.vue @@ -701,6 +701,7 @@ const { data, code, message } = res; if (code == 200) { departmentData.value = data; + } }); } diff --git a/src/views/doctor/doctor-list/index.vue b/src/views/doctor/doctor-list/index.vue index faa8933..542abeb 100644 --- a/src/views/doctor/doctor-list/index.vue +++ b/src/views/doctor/doctor-list/index.vue @@ -945,7 +945,7 @@ { title: '多点审核状态', dataIndex: 'multi_point_status', slotName: 'multi_point_status', width: 140 }, { title: '是否推荐', dataIndex: 'is_recommend', slotName: 'is_recommend' }, { title: '深度合作', dataIndex: 'is_platform_deep_cooperation', slotName: 'is_platform_deep_cooperation' }, - { title: '申请人', dataIndex: 'user_name' }, + { title: '申请人', dataIndex: 'created_by' }, { title: '审核状态', dataIndex: 'iden_auth_status', slotName: 'iden_auth_status' }, { title: '实名认证', dataIndex: 'idcard_status', slotName: 'iden_auth_status' }, diff --git a/src/views/inquiry/inquiry-list/index.vue b/src/views/inquiry/inquiry-list/index.vue new file mode 100644 index 0000000..c54fe7e --- /dev/null +++ b/src/views/inquiry/inquiry-list/index.vue @@ -0,0 +1,350 @@ + + + + + \ No newline at end of file diff --git a/src/views/order/inquiry-record/index.vue b/src/views/order/inquiry-record/index.vue new file mode 100644 index 0000000..b4cc2a7 --- /dev/null +++ b/src/views/order/inquiry-record/index.vue @@ -0,0 +1,392 @@ + + + + + \ No newline at end of file diff --git a/src/views/prescription/prescription-list/index.vue b/src/views/prescription/prescription-list/index.vue index 56e569c..773d79a 100644 --- a/src/views/prescription/prescription-list/index.vue +++ b/src/views/prescription/prescription-list/index.vue @@ -127,25 +127,26 @@ - - + + -
确定保存当前信息?
-
+ -->