Compare commits
No commits in common. "9b999fe6c637ea6c50835661cd29e3059b8d2426" and "fcb536753e72f5a6a580784497e2637ba4930ef7" have entirely different histories.
9b999fe6c6
...
fcb536753e
|
|
@ -85,7 +85,7 @@ const addIdCode = () => {
|
|||
return;
|
||||
}
|
||||
let idCode = traceabilityCode.value.slice(0, 7);
|
||||
post(API.Charge.Order.Save, {goodsId: selected.value, idCode: idCode}).then((res: any) => {
|
||||
post(API.Goods.Base.AddIdCode, {goodsId: selected.value, idCode: idCode}).then((res: any) => {
|
||||
for (let subItem of tableData.value) {
|
||||
if (subItem.id === selected.value) {
|
||||
if (subItem.idCode == null) {
|
||||
|
|
|
|||
|
|
@ -45,12 +45,11 @@ import {formatDate} from "@/utils/dateUtils.ts"
|
|||
import Panel from "@/components/common/Panel.vue";
|
||||
import {onMounted, ref} from "vue";
|
||||
import {post} from "@/utils/request.ts";
|
||||
import {API} from "@/assets/config/API.ts";
|
||||
|
||||
const seeDockerInfo = ref<any>();
|
||||
const getSeeDockerInfo = (newValue: any) => {
|
||||
if (!newValue) return;
|
||||
post(API.Diagnosis.Base.GetRegistrationDetail, {regisId: newValue}).then((res: any) => {
|
||||
post('medical/record/getSeeDockerInfo', {regisId: newValue}).then((res: any) => {
|
||||
seeDockerInfo.value = res
|
||||
})
|
||||
}
|
||||
|
|
|
|||
|
|
@ -26,7 +26,6 @@ import Detail from './RecordsLog/Detail.vue';
|
|||
import {post} from "@/utils/request.ts";
|
||||
import {ref} from "vue";
|
||||
import {formatListTime} from "@/utils/dateUtils.ts";
|
||||
import {API} from "@/assets/config/API.ts";
|
||||
|
||||
const list = ref<any>([])
|
||||
const init = (patientId: any) => {
|
||||
|
|
@ -34,7 +33,7 @@ const init = (patientId: any) => {
|
|||
patientId: patientId,
|
||||
pageSize: 20
|
||||
}
|
||||
post(API.Charge.Order.ListWithDetail, {query}).then((res: any) => {
|
||||
post('charge/listDetail', {query}).then((res: any) => {
|
||||
list.value = res.list
|
||||
})
|
||||
}
|
||||
|
|
|
|||
|
|
@ -226,7 +226,7 @@ interface childCheck {
|
|||
}
|
||||
|
||||
const addLine = (row: any) => {
|
||||
post(API.Inventory.Goods.ListByIds, {idList: row.selectList}).then((list: any) => {
|
||||
post('inventory/goods/getListByIds', {idList: row.selectList}).then((list: any) => {
|
||||
let children = [];
|
||||
for (let i = 0; i < list.length; i++) {
|
||||
let inventoryGoods = list[i];
|
||||
|
|
|
|||
|
|
@ -175,7 +175,7 @@ interface childCheck {
|
|||
}
|
||||
|
||||
const addLine = (row: any) => {
|
||||
post(API.Inventory.Goods.ListByIds, {idList: row.selectList}).then((list: any) => {
|
||||
post('inventory/goods/getListByIds', {idList: row.selectList}).then((list: any) => {
|
||||
let children = [];
|
||||
for (let i = 0; i < list.length; i++) {
|
||||
let inventoryGoods = list[i];
|
||||
|
|
|
|||
|
|
@ -56,7 +56,6 @@ import {ref, defineEmits, defineProps, onMounted} from 'vue'
|
|||
import {post} from "@/utils/request.ts";
|
||||
import {ElFormItem, ElMessage} from "element-plus";
|
||||
import Mask from "@/components/common/Mask.vue";
|
||||
import {API} from "@/assets/config/API.ts";
|
||||
|
||||
const isGrant = defineModel()
|
||||
const emit = defineEmits(['close'])
|
||||
|
|
@ -86,7 +85,7 @@ const grant = async () => {
|
|||
ruleFormRef.value?.validate((valid: any) => {
|
||||
if (!valid) return
|
||||
data.value.vipId = props.info.id
|
||||
post(API.Patient.Integral.Add, data.value).then((res: any) => {
|
||||
post('vip/integral/add', data.value).then((res: any) => {
|
||||
ElMessage.success('已发放')
|
||||
close()
|
||||
})
|
||||
|
|
|
|||
|
|
@ -128,6 +128,11 @@ const initFormData = () => {
|
|||
const statusDisabled = ref(0)
|
||||
const diagnosisKeyword = ref("")
|
||||
const chargeQueueRef = ref()
|
||||
const delDraft = () => {
|
||||
nextTick(() => {
|
||||
chargeQueueRef.value?.delDraft()
|
||||
})
|
||||
}
|
||||
const settlementRef = ref()
|
||||
const charge = () => {
|
||||
if (checkTraceCode(formData.value.goodsDetail)) {
|
||||
|
|
@ -171,7 +176,7 @@ const openCheckoutDetail = (goodsList: any[], psnNo: string) => {
|
|||
}
|
||||
|
||||
const saveAndCharge = () => {
|
||||
post(API.Charge.Order.Save, {data: {...formData.value, doctorId: doctorId.value}}).then((res: any) => {
|
||||
post('charge/save', {data: {...formData.value, doctorId: doctorId.value}}).then((res: any) => {
|
||||
formData.value.orderCode = res
|
||||
nextTick(() => {
|
||||
settlementRef.value?.init(res, formData.value.patientRegistration.psnNo)
|
||||
|
|
@ -200,7 +205,7 @@ const patientCardRef = ref()
|
|||
const disabled = ref(false)
|
||||
const clickItem = async (item: any, status: any) => {
|
||||
statusDisabled.value = status
|
||||
formData.value = await post(API.Diagnosis.Base.GetByDiagnosisCode, {diagnosisCode: item.code})
|
||||
formData.value = await post(API.Charge.Order.GetByDiagnosisCode, {diagnosisCode: item.code})
|
||||
//添加追溯码应采字段
|
||||
for (let i = 0; i < formData.value.goodsDetail.length; i++) {
|
||||
let goodsItem = formData.value.goodsDetail[i]
|
||||
|
|
@ -226,7 +231,7 @@ const getDockerList = () => {
|
|||
let query = {
|
||||
role: 1
|
||||
}
|
||||
post(API.Organization.Member.Search, {query: query}).then((res: any) => {
|
||||
post('organization/member/search', {query: query}).then((res: any) => {
|
||||
dockerList.value = res
|
||||
})
|
||||
}
|
||||
|
|
|
|||
|
|
@ -180,7 +180,6 @@ import {formatListTime} from "@/utils/dateUtils.ts";
|
|||
import antys from "@/assets/config/directory/antys.json"
|
||||
import area from "@/assets/config/area.json"
|
||||
import psnCertTypes from "@/assets/config/directory/psnCertTypes.json"
|
||||
import {API} from "@/assets/config/API.ts";
|
||||
|
||||
|
||||
const isGrant = ref(false)
|
||||
|
|
@ -225,14 +224,14 @@ const init = () => {
|
|||
page: 1,
|
||||
pageSize: 100
|
||||
};
|
||||
post(API.Patient.Base.List, query).then((res: any) => {
|
||||
post("vip/vip/list", query).then((res: any) => {
|
||||
list.value = res.list;
|
||||
totalCount.value = res.total_count
|
||||
listItem.value = res.list[0];
|
||||
// 向每个对象添加新的属性
|
||||
list.value.forEach((item: any) => {
|
||||
if (!item.levelId) return
|
||||
post(API.Patient.LevelConfig.Get, {levelId: item.levelId}).then((res: any) => {
|
||||
post("vip/vipLevel/get", {levelId: item.levelId}).then((res: any) => {
|
||||
item.levelName = res.name;
|
||||
});
|
||||
});
|
||||
|
|
@ -240,7 +239,7 @@ const init = () => {
|
|||
});
|
||||
};
|
||||
const getVipIntegral = (id: any) => {
|
||||
post(API.Patient.LevelConfig.Get, {id: id}).then((res: any) => {
|
||||
post("vip/vip/get", {id: id}).then((res: any) => {
|
||||
listItem.value.integralBalance = res.integralBalance;
|
||||
});
|
||||
};
|
||||
|
|
@ -317,7 +316,7 @@ const getChargeList = (id: any) => {
|
|||
pageSize: 20,
|
||||
patientId: id
|
||||
}
|
||||
post(API.Charge.Order.List, {query}).then((res: any) => {
|
||||
post('charge/list', {query}).then((res: any) => {
|
||||
tableData.value = res.list
|
||||
total.value = res.total_count
|
||||
})
|
||||
|
|
@ -361,7 +360,7 @@ const getPayTypeStr = (payType: number): string => {
|
|||
|
||||
|
||||
const searchVip = () => {
|
||||
post(API.Patient.Base.List, {
|
||||
post("vip/vip/list", {
|
||||
page: 1,
|
||||
pageSize: 50,
|
||||
keyword: input3.value,
|
||||
|
|
|
|||
Loading…
Reference in New Issue