This commit is contained in:
LiJianZhao 2025-05-27 17:03:17 +08:00
parent 1204833f14
commit e51828fc98
4 changed files with 7 additions and 7 deletions

View File

@ -12,7 +12,7 @@ const socialCard: any = defineModel();
const ReadSocialCard = async (readType: string) => {
emit("changeLoading", true)
isReading.value = true;
let config_db: any = await post('common/config/getall');
let config_db: any = await post(API.Common.Config.GetAll);
let config: any = {}
config.ACCESS_KEY = config_db.social_ACCESS_KEY;
config.SECRETKEY = config_db.social_SECRETKEY;

View File

@ -352,7 +352,7 @@ const getDoctorList = () => {
let query = {
role: 1
}
post('organization/member/search', {query: query}).then((res: any) => {
post(API.Organization.Member.Search, {query: query}).then((res: any) => {
doctorList.value = res
})
}
@ -373,7 +373,7 @@ const init = (doctorId: any = "", id: any = null, show: any = false) => {
edit_data.value.type = 1
isBtnShow.value = dateName.value == '现在';
if (id) {
post('registration/getById', {id: id}).then((res: any) => {
post(API.Patient.Registration.Get, {id: id}).then((res: any) => {
edit_data.value = res
time.value = edit_data.value.timeList[edit_data.value.timeList.length - 1]
})
@ -396,7 +396,7 @@ const socialCardUpdate = (e: any) => {
tableData.value = e.data.insuinfo
edit_data.value.type = 2
if (!edit_data.value.certNo) return;
post('vip/vip/list', {
post(API.Patient.Base.List, {
keyword: edit_data.value.certNo,
page: 1,
pageSize: 50

View File

@ -56,6 +56,7 @@
import {defineProps, onMounted, ref} from 'vue'
import {formatDate} from "@/utils/dateUtils.ts";
import {post} from "@/utils/request.ts";
import {API} from "@/assets/config/API.ts";
const props = defineProps({
patientList: {
@ -78,7 +79,7 @@ const initDoctor = () => {
keyword: null,
role: 1
}
post('organization/member/search', {query: query}).then((res: any) => {
post(API.Organization.Member.Search, {query: query}).then((res: any) => {
roleList.value = res
})
}
@ -87,7 +88,7 @@ const rowClick = (row: any) => {
emit('rowClick', row)
}
const initSection = () => {
post('organization/section/allList').then((res: any) => {
post(API.Organization.Section.AllList).then((res: any) => {
sectionList.value = res
})
}

View File

@ -97,7 +97,6 @@ import {post} from "@/utils/request";
import {getEndOfDay, getToday, formatDateArray, getPrevious30Days} from "@/utils/dateUtils.ts";
import Calendar from "@/components/common/Calendar.vue";
import Panel from "@/components/common/Panel.vue";
import {apiConfig} from "@/assets/config/apiConfig.ts";
import {Search} from "@element-plus/icons-vue";
import {API} from "@/assets/config/API.ts";