diff --git a/src/api/patient/family.js b/src/api/patient/family.js new file mode 100644 index 0000000..887b8c0 --- /dev/null +++ b/src/api/patient/family.js @@ -0,0 +1,26 @@ +import request from '../../utils/request' + +const url = '/admin/patient/family'; + + +export function getFamilyList(params){ + return request({ + url:'/admin/patient/family', + method: 'get', + params + }) +} +export function getFamilyDetail(id){ + return request({ + url:'/admin/patient/family/'+id, + method: 'get' + }) + } + export function decryptMobile(params){ + return request({ + url:'/decrypt/mobile', + method: 'get', + params + }) + } + \ No newline at end of file diff --git a/src/api/patient/list.js b/src/api/patient/list.js index ee95432..8564b2b 100644 --- a/src/api/patient/list.js +++ b/src/api/patient/list.js @@ -10,80 +10,16 @@ export function getPatientList(params){ params }) } - -export function addPatient(data) { - return request({ - url, - method: 'post', - data - }) -} - -export function removePatient(data) { - return request({ - url, - method: 'delete', - data - }) -} - -export function updatePatient(data, id) { - return request({ - url: `${url}/${id}`, - method: 'put', - data - }) -} export function getPatientDetail(id){ return request({ - url:'/admin/doctor/'+id, + url:'/admin/patient/'+id, method: 'get' }) } - export function departmentList(){ //获取科室列表 + export function changeStatus(id,data){ return request({ - url:'/basic/department/custom/list', - method: 'get' + url:'/admin/patient/status/'+id, + method: 'put', + data }) - } - export function decryptCard(params){ - return request({ - url:'/decrypt/card/num', - method: 'get', - params - }) - } - export function decryptBank(doctor_id){ - return request({ - url:'/decrypt/bank/'+doctor_id, - method: 'get' - }) - } - - export function hospitalList(params){ //获取医院地址列表 - return request({ - url:'/basic/hospital/list', - method: 'get', - params - }) - } - export function expertiseList(){ //获取专长列表 - return request({ - url:'/basic/expertise/list', - method: 'get' - }) - } - export function bankList(){ //获取银行列表 - return request({ - url:'/basic/bank/list', - method: 'get' - }) - } - export function areaList(params){ //获取银行列表 - return request({ - url:'/basic/area/list', - method: 'get', - params - }) - } - \ No newline at end of file + } \ No newline at end of file diff --git a/src/api/prescription/list.js b/src/api/prescription/list.js new file mode 100644 index 0000000..d1536a0 --- /dev/null +++ b/src/api/prescription/list.js @@ -0,0 +1,18 @@ +import request from '../../utils/request' + +const url = '/admin/prescription'; + + +export function getPrescriptionList(params){ + return request({ + url:'/admin/prescription', + method: 'get', + params + }) +} +export function getPrescriptionDetail(id){ + return request({ + url:'/admin/prescription/'+id, + method: 'get' + }) + } diff --git a/src/components/familyModal.vue b/src/components/familyModal.vue new file mode 100644 index 0000000..ef20ca9 --- /dev/null +++ b/src/components/familyModal.vue @@ -0,0 +1,193 @@ + + + \ No newline at end of file diff --git a/src/components/isOkModal.vue b/src/components/isOkModal.vue index 4b70c02..f353ee8 100644 --- a/src/components/isOkModal.vue +++ b/src/components/isOkModal.vue @@ -40,28 +40,17 @@ const {isVisible,title,id,api} = toRefs(props); // Akiraka 20230210 关闭弹窗 const handleClose = () => { emits('closeChangeOk',false); - // alert(flag) } // Akiraka 20230210 确认按钮 => 开始数据检查 const handleConfirm = async () => { - const {code}=api.value(id.value); - if(code==200){ + const data=title.value=="确定启用吗?"?await api.value(id.value,{status:1}):await api.value(id.value); + if(data.code==200){ Message.success("成功"); - proxy.$refs.modalFormRef.resetFields(); + //proxy.$refs.modalFormRef.resetFields(); }else{ proxy.$notification.error(response.message); } emits('closeChangeOk',true); - // api.value(id.value).then(response => { - // // Akiraka 20230210 关闭弹窗 - // if(response.code==200){ - // Message.success("成功"); - // proxy.$refs.modalFormRef.resetFields(); - // }else{ - // proxy.$notification.error(response.message); - // } - // emits('closeChangeOk',true); - // }) } \ No newline at end of file diff --git a/src/components/tableUnit.vue b/src/components/tableUnit.vue index 0a2f90a..89e4a60 100644 --- a/src/components/tableUnit.vue +++ b/src/components/tableUnit.vue @@ -1,13 +1,26 @@ + @@ -516,6 +519,7 @@ const columns = [ { title: '联系电话', dataIndex: 'patient_mobile',width: 130 }, { title: '订单金额', dataIndex: 'amount_total',slotName:'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_pay_channel',slotName: 'inquiry_pay_channel'}, { title: '订单状态', dataIndex: 'inquiry_status', slotName:'inquiry_status' }, { title: '支付时间', dataIndex: 'pay_time', slotName: 'pay_time',width:200 }, diff --git a/src/views/patient/family-list/index.vue b/src/views/patient/family-list/index.vue new file mode 100644 index 0000000..9d204ed --- /dev/null +++ b/src/views/patient/family-list/index.vue @@ -0,0 +1,348 @@ + + + + + \ No newline at end of file diff --git a/src/views/patient/patient-list/index.vue b/src/views/patient/patient-list/index.vue index 8fd2745..f50e7b1 100644 --- a/src/views/patient/patient-list/index.vue +++ b/src/views/patient/patient-list/index.vue @@ -2,79 +2,26 @@
- - + + - - - - - - - - 主任医师 - 主任中医师 - 副主任医师 - 副主任中医师 - 主治医师 - 住院医师 + + + + 禁用 + 正常 + 删除 - - - - 专家问诊 - 快速问诊 - 公益问诊 - 问诊购药 - + + - - - - 未认证 - 认证通过 - 审核中 - 认证失败 - - - - - - 未认证 - 认证通过 - 审核中 - 认证失败 - - - - - - 未认证 - 认证通过 - 认证失败 - - - - - - - - - - - - - - - - - 搜索 @@ -86,15 +33,15 @@ -
+ + 新增 + 批量删除 -
+
--> -
{{(rowIndex+1)+(pager.page-1)*10}}
- - - - - - - - + + + +
+ @close="() => {$refs.modalFormRef.resetFields(); modalForm.patient_id = null;}">
-
医生信息
+
用户信息
+ " ref="modalFormRef" :auto-label-width="true"> - + - - - - - - - - + + {{modalForm.user_name}} - - - - -
-
{{modalForm.user_doctor_info.card_num_mask}}
- + + +
+
{{modalForm.mobile}}
+
-
+ - - - - - {{item.hospital_name+'('+item.province+item.city+item.county+')'}} - - + + + 禁用 + 正常 + 删除 + + + + + {{modalForm.created_at}} + - + + + + + + + + {{modalForm.disable_reason}} - - - - - - - - - - - - {{item.department_custom_name}} - - - - - - - - - - - - - - - - {{item.doctor_title_name}} - - - - - - - - - - - - - - - - {{item.expertise_name}} - - - - - - - - - - - - - - - - -
-
是否推荐
+
就诊人信息
- - - - - - - - -
理由:平台合作
+
+
-
+
-
平台合作
+
收货地址
- - - - - - - - - - - - - - - - - - - -
-
-
银行卡信息
-
- +
+
+ - - - 省 - {{item.area_name}} - - - - 市 - {{item.area_name}} - - - - 区 - {{item.area_name}} - - + + {{ item.consignee_name}} - - - - - - - + + {{ item.consignee_tel}} - - - - + + + + {{ item.province}} {{item.city}}{{item.county}}{{item.address}} - -
-
-
医师证件
- - - -
*医师执业证(点击图片查看大图)
- - - - - - - - - -
-
- - -
*医师资格证(点击图片查看大图)
- - - - - - - - - - - -
-
资格证编号:
- -
-
- -
-
- - -
*医师职称证(点击图片查看大图)
- - - - - - - - - -
-
- - -
医师身份证正面(点击图片查看大图)
- - - - - - - - - -
-
- - - -
医师身份证反面(点击图片查看大图)
- - - - - - - -
-
-
- - - -
医师手写签名(点击图片查看大图)
- - - - - - - - -
-
-
- - - -
医师二维码(点击图片查看大图)
- - - - - -
-
-
- +
+ -
+
操作
- + - - 保存 + + 禁用 + 启用 - + + + - + -
确定保存当前信息?
+ + + + + +
+
@@ -1503,17 +497,22 @@ .arco-form-item-layout-horizontal:nth-child(2) { align-items: center; } - - .upload { - margin-left: 20px; + .cellbox{ + margin-top: 35px; } - - .eye { - margin-left: 20px; - cursor: pointer; - font-size: 18px; + .cellbox .cell{ + width:50%; + border-bottom:1px dashed #efefef; + margin-bottom: 20px; + } + .cellbox .cell:first-child{ + border: none; + } + .cell{ + .arco-form-item{ + margin-bottom: 10px; + } } - .box { display: flex; align-items: center; @@ -1538,4 +537,10 @@ display: flex; align-items: center; } + .reason{ + max-width:250px; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; + } \ No newline at end of file diff --git a/src/views/prescription/prescription-list/index.vue b/src/views/prescription/prescription-list/index.vue new file mode 100644 index 0000000..56e569c --- /dev/null +++ b/src/views/prescription/prescription-list/index.vue @@ -0,0 +1,425 @@ + + + + + \ No newline at end of file