@@ -63,6 +118,30 @@ const getRevenueOverview = () => {
\ No newline at end of file
diff --git a/src/components/registration/Edit.vue b/src/components/registration/Edit.vue
index 99039f2..dc7f891 100644
--- a/src/components/registration/Edit.vue
+++ b/src/components/registration/Edit.vue
@@ -21,12 +21,12 @@
+ :disabled="edit_data.status==1||edit_data.status==3||edit_data.status==0">
-
+
男
女
@@ -35,12 +35,12 @@
+ :disabled="edit_data.status==1||edit_data.status==3||edit_data.status==0">
-
+
@@ -49,7 +49,7 @@
v-model="edit_data.organizationDoctorId"
placeholder="请选择医生"
@change="getSectionList"
- :disabled="edit_data.status==3"
+ :disabled="edit_data.status==3||edit_data.status==0"
>
+ :disabled="edit_data.status==1||edit_data.status==3||edit_data.status==0">
+ :disabled="edit_data.status==1||edit_data.status==3||edit_data.status==0">
-
+
@@ -111,7 +111,7 @@
-
+
@@ -143,10 +143,10 @@
- 保存
+ 保存
取消
- 退号
+ 退号
@@ -181,7 +181,6 @@ import insutypes from "@/assets/config/directory/insutypes.json"
import depts from "@/assets/config/directory/depts.json";
import {apiConfig} from "@/assets/config/apiConfig.ts";
-
const height = ref(470)
const certTypeList = ref
(
Object.entries(psnCertTypes)
@@ -255,7 +254,7 @@ const save = () => {
mdtrtCertNo: socialCard.value.mdtrtCertNo,
mdtrtCertType: socialCard.value.mdtrtCertType
}).then(() => {
- ElMessage.success('新建成功')
+ ElMessage.success('挂号成功')
close()
})
}
@@ -263,9 +262,10 @@ const save = () => {
})
}
-const deleteDetail = () => {
- post('registration/delete', {id: edit_data.value.id}).then(() => {
- ElMessage.success('删除成功')
+//退出挂号
+const registrationCancel = () => {
+ post(apiConfig.RegistrationChangeStatus, {id: edit_data.value.id, status: 0}).then(() => {
+ ElMessage.success('退号成功')
close()
})
}
diff --git a/src/components/registration/List.vue b/src/components/registration/List.vue
index 76764f8..2d529dc 100644
--- a/src/components/registration/List.vue
+++ b/src/components/registration/List.vue
@@ -22,7 +22,7 @@
:type="scope.row.status === 1 ? 'warning' : scope.row.status === 2 ? 'success' : scope.row.status === 3 ? 'info' : 'danger'"
>
{{
- scope.row.status === 1 ? '待诊' : scope.row.status === 2 ? '在诊' : scope.row.status === 3 ? '已诊' : '-'
+ scope.row.status === 1 ? '待诊' : scope.row.status === 2 ? '在诊' : scope.row.status === 3 ? '已诊' : scope.row.status ===0 ? '已取消' : '-'
}}
diff --git a/src/components/statistics/over/Revenue.vue b/src/components/statistics/over/Revenue.vue
index 19c377f..3e74d6c 100644
--- a/src/components/statistics/over/Revenue.vue
+++ b/src/components/statistics/over/Revenue.vue
@@ -10,7 +10,7 @@
:class="{active:curDate?.name==item.name}"
@click="changeCheckDate(item)"
>
- {{ item.name }}
+ {{ item.name }}