dev
This commit is contained in:
parent
1204833f14
commit
e51828fc98
|
|
@ -12,7 +12,7 @@ const socialCard: any = defineModel();
|
||||||
const ReadSocialCard = async (readType: string) => {
|
const ReadSocialCard = async (readType: string) => {
|
||||||
emit("changeLoading", true)
|
emit("changeLoading", true)
|
||||||
isReading.value = 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 = {}
|
let config: any = {}
|
||||||
config.ACCESS_KEY = config_db.social_ACCESS_KEY;
|
config.ACCESS_KEY = config_db.social_ACCESS_KEY;
|
||||||
config.SECRETKEY = config_db.social_SECRETKEY;
|
config.SECRETKEY = config_db.social_SECRETKEY;
|
||||||
|
|
|
||||||
|
|
@ -352,7 +352,7 @@ const getDoctorList = () => {
|
||||||
let query = {
|
let query = {
|
||||||
role: 1
|
role: 1
|
||||||
}
|
}
|
||||||
post('organization/member/search', {query: query}).then((res: any) => {
|
post(API.Organization.Member.Search, {query: query}).then((res: any) => {
|
||||||
doctorList.value = res
|
doctorList.value = res
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
@ -373,7 +373,7 @@ const init = (doctorId: any = "", id: any = null, show: any = false) => {
|
||||||
edit_data.value.type = 1
|
edit_data.value.type = 1
|
||||||
isBtnShow.value = dateName.value == '现在';
|
isBtnShow.value = dateName.value == '现在';
|
||||||
if (id) {
|
if (id) {
|
||||||
post('registration/getById', {id: id}).then((res: any) => {
|
post(API.Patient.Registration.Get, {id: id}).then((res: any) => {
|
||||||
edit_data.value = res
|
edit_data.value = res
|
||||||
time.value = edit_data.value.timeList[edit_data.value.timeList.length - 1]
|
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
|
tableData.value = e.data.insuinfo
|
||||||
edit_data.value.type = 2
|
edit_data.value.type = 2
|
||||||
if (!edit_data.value.certNo) return;
|
if (!edit_data.value.certNo) return;
|
||||||
post('vip/vip/list', {
|
post(API.Patient.Base.List, {
|
||||||
keyword: edit_data.value.certNo,
|
keyword: edit_data.value.certNo,
|
||||||
page: 1,
|
page: 1,
|
||||||
pageSize: 50
|
pageSize: 50
|
||||||
|
|
|
||||||
|
|
@ -56,6 +56,7 @@
|
||||||
import {defineProps, onMounted, ref} from 'vue'
|
import {defineProps, onMounted, ref} from 'vue'
|
||||||
import {formatDate} from "@/utils/dateUtils.ts";
|
import {formatDate} from "@/utils/dateUtils.ts";
|
||||||
import {post} from "@/utils/request.ts";
|
import {post} from "@/utils/request.ts";
|
||||||
|
import {API} from "@/assets/config/API.ts";
|
||||||
|
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
patientList: {
|
patientList: {
|
||||||
|
|
@ -78,7 +79,7 @@ const initDoctor = () => {
|
||||||
keyword: null,
|
keyword: null,
|
||||||
role: 1
|
role: 1
|
||||||
}
|
}
|
||||||
post('organization/member/search', {query: query}).then((res: any) => {
|
post(API.Organization.Member.Search, {query: query}).then((res: any) => {
|
||||||
roleList.value = res
|
roleList.value = res
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
@ -87,7 +88,7 @@ const rowClick = (row: any) => {
|
||||||
emit('rowClick', row)
|
emit('rowClick', row)
|
||||||
}
|
}
|
||||||
const initSection = () => {
|
const initSection = () => {
|
||||||
post('organization/section/allList').then((res: any) => {
|
post(API.Organization.Section.AllList).then((res: any) => {
|
||||||
sectionList.value = res
|
sectionList.value = res
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -97,7 +97,6 @@ import {post} from "@/utils/request";
|
||||||
import {getEndOfDay, getToday, formatDateArray, getPrevious30Days} from "@/utils/dateUtils.ts";
|
import {getEndOfDay, getToday, formatDateArray, getPrevious30Days} from "@/utils/dateUtils.ts";
|
||||||
import Calendar from "@/components/common/Calendar.vue";
|
import Calendar from "@/components/common/Calendar.vue";
|
||||||
import Panel from "@/components/common/Panel.vue";
|
import Panel from "@/components/common/Panel.vue";
|
||||||
import {apiConfig} from "@/assets/config/apiConfig.ts";
|
|
||||||
import {Search} from "@element-plus/icons-vue";
|
import {Search} from "@element-plus/icons-vue";
|
||||||
import {API} from "@/assets/config/API.ts";
|
import {API} from "@/assets/config/API.ts";
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue