-<<<<<<< HEAD
-
-
-=======
->>>>>>> v1.3
selectRow(row, index)"
@@ -300,11 +282,7 @@
"
/>
-<<<<<<< HEAD
- {{ item.name || '' }}
-=======
->>>>>>> v1.3
@@ -409,10 +387,6 @@ const diagnosisTreatmentList = ref([]);
const data = reactive({
form: {},
rules: {
-<<<<<<< HEAD
- busNo: [{ required: true, message: "编码不能为空", trigger: "blur" }],
-=======
->>>>>>> v1.3
name: [{ required: true, message: '名称不能为空', trigger: 'blur' }],
categoryCode: [{ required: true, message: '诊疗目录不能为空', trigger: 'blur' }],
permittedUnitCode: [{ required: true, message: '使用单位不能为空', trigger: 'blur' }],
@@ -678,8 +652,6 @@ function handleSearch(value) {
medicineSearchKey.value = value;
}
-<<<<<<< HEAD
-=======
function popoverListhandleFocus(value) {
// debugger;
console.log(value);
@@ -689,15 +661,11 @@ function popoverListhandleFocus(value) {
medicineSearchKey.value = value;
}
->>>>>>> v1.3
function selectRow(row, index) {
treatmentItems.value[index].name = row.name;
treatmentItems.value[index].adviceDefinitionId = row.id;
treatmentItems.value[index].retailPrice = row.retailPrice || 0;
-<<<<<<< HEAD
-=======
medicineSearchKey.value = '';
->>>>>>> v1.3
calculateTotalPrice();
}
diff --git a/openhis-ui-vue3/src/views/catalog/disease/index.vue b/openhis-ui-vue3/src/views/catalog/disease/index.vue
index f639e7a5..34716e85 100644
--- a/openhis-ui-vue3/src/views/catalog/disease/index.vue
+++ b/openhis-ui-vue3/src/views/catalog/disease/index.vue
@@ -101,86 +101,6 @@
-->
-<<<<<<< HEAD
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 编辑
-
-
-
-
-
@@ -259,7 +179,6 @@
>>>>>> v1.3
v-show="total > 0"
:total="total"
v-model:page="queryParams.pageNo"
diff --git a/openhis-ui-vue3/src/views/catalog/medicine/components/medicineDialog.vue b/openhis-ui-vue3/src/views/catalog/medicine/components/medicineDialog.vue
index 53e4bc94..9dee19a5 100644
--- a/openhis-ui-vue3/src/views/catalog/medicine/components/medicineDialog.vue
+++ b/openhis-ui-vue3/src/views/catalog/medicine/components/medicineDialog.vue
@@ -121,15 +121,7 @@
-<<<<<<< HEAD
-
-=======
->>>>>>> v1.3
@@ -464,11 +456,7 @@
clearable
filterable
style="width: 240px"
-<<<<<<< HEAD
- :disabled="form.isEditInfoDisable === 1"
-=======
:disabled="form.isEditInfoDisable === 1 || form.isEditInfoDisable === 2"
->>>>>>> v1.3
>
>>>>>> v1.3
restrictedFlag: formatValue(row.restrictedFlag), // 限制使用
restrictedScope: formatValue(row.restrictedScope), // 限制使用范围
rxFlag: formatValue(row.rxFlag), // 处方标志
chrgitmLv: formatValue(
row.insuranceClass == '甲' ? '1' : row.insuranceClass == '乙' ? '2' : '3'
), // 医保等级
-<<<<<<< HEAD
- // antibioticFlag: row., // 抗生素
- };
-=======
};
->>>>>>> v1.3
setFlag(form.value);
}
@@ -912,11 +888,6 @@ function formatValue(str) {
// 显示弹框
function edit() {
-<<<<<<< HEAD
- // getList();
- console.log(props, '22222');
-=======
->>>>>>> v1.3
title.value = '编辑药品';
reset();
activeName.value = 'basic';
@@ -973,20 +944,10 @@ function setFlag(data) {
function reset() {
form.value = {
id: undefined,
-<<<<<<< HEAD
- medicineCode: '',
- medicineName: '',
- tradeName: '',
- spec: '',
- manufacturer: '',
- rxFlag: '0', // 默认设置为非处方
- dose: undefined,
-=======
medicationDefId: undefined,
locationId: undefined,
activeFlag: undefined,
doseFrom: undefined,
->>>>>>> v1.3
rateCode: undefined,
approvalNumber: undefined,
name: undefined,
@@ -1032,12 +993,8 @@ function reset() {
thoPartAttributeEnum: undefined,
usageLimit: undefined,
basicFlag: undefined,
-<<<<<<< HEAD
- chrgitmLv: '3',
-=======
rxFlag: undefined,
chrgitmLv: '3', // 默认设置为自费
->>>>>>> v1.3
};
antibioticForm.value = {
antibioticCode: undefined,
@@ -1084,16 +1041,9 @@ function submitForm() {
proxy.$refs['medicationRef'].validate((valid) => {
if (valid) {
-<<<<<<< HEAD
- // 处理抗生素相关字段
- if (form.value.activeFlag == 1) {
- form.value.antibioticCode = antibioticForm.value.antibioticCode === undefined ? '3' : antibioticForm.value.antibioticCode;
- form.value.restrictedEnum = antibioticForm.value.restrictedEnum === undefined ? '4' : antibioticForm.value.restrictedEnum;
-=======
if (form.value.activeFlag == true) {
form.value.antibioticCode = antibioticForm.value.antibioticCode;
form.value.restrictedEnum = antibioticForm.value.restrictedEnum;
->>>>>>> v1.3
form.value.minRateCode = antibioticForm.value.minRateCode;
form.value.maxRateCode = antibioticForm.value.maxRateCode;
form.value.dddUnitCode = antibioticForm.value.dddUnitCode;
diff --git a/openhis-ui-vue3/src/views/catalog/medicine/index.vue b/openhis-ui-vue3/src/views/catalog/medicine/index.vue
index 3bc46056..1dc4f79f 100644
--- a/openhis-ui-vue3/src/views/catalog/medicine/index.vue
+++ b/openhis-ui-vue3/src/views/catalog/medicine/index.vue
@@ -155,11 +155,8 @@
:show-overflow-tooltip="true"
min-width="110"
width="200px"
-<<<<<<< HEAD
-=======
sortable
:sort-by="(row) => getPinyinFirstLetter(row)"
->>>>>>> v1.3
/>
>>>>>> v1.3
diff --git a/openhis-ui-vue3/src/views/charge/cliniccharge/components/chargeDialog.vue b/openhis-ui-vue3/src/views/charge/cliniccharge/components/chargeDialog.vue
index 307c0ed4..3c64b9b8 100644
--- a/openhis-ui-vue3/src/views/charge/cliniccharge/components/chargeDialog.vue
+++ b/openhis-ui-vue3/src/views/charge/cliniccharge/components/chargeDialog.vue
@@ -31,43 +31,6 @@
支付方式:
-<<<<<<< HEAD
-
-
-
-
支付金额:
-
-
- 元
-
-
-=======
![]()
->>>>>>> v1.3
@@ -136,8 +98,6 @@
/>
-<<<<<<< HEAD
-=======
{{ payTypeText }}支付:
@@ -149,7 +109,6 @@
/>
扫码支付
查看结果
->>>>>>> v1.3
@@ -194,9 +153,6 @@
@@ -724,8 +688,4 @@ function printCharge(row) {
:deep(.el-table__body) tr:hover td.no-hover-column {
background-color: inherit !important;
}
-<<<<<<< HEAD
-=======
-
->>>>>>> v1.3
diff --git a/openhis-ui-vue3/src/views/charge/outpatientregistration/components/chargeDialog.vue b/openhis-ui-vue3/src/views/charge/outpatientregistration/components/chargeDialog.vue
index 18bd604d..5044f000 100644
--- a/openhis-ui-vue3/src/views/charge/outpatientregistration/components/chargeDialog.vue
+++ b/openhis-ui-vue3/src/views/charge/outpatientregistration/components/chargeDialog.vue
@@ -166,16 +166,6 @@ const props = defineProps({
type: Object,
default: undefined,
},
-<<<<<<< HEAD
- medfee_paymtd_code: {
- type: Array,
- default: () => [],
- },
- feeType: {
- type: String,
- default: '',
- }
-=======
orgId: {
type: String,
default: '',
@@ -184,7 +174,6 @@ const props = defineProps({
type: String,
default: '',
},
->>>>>>> v1.3
});
const { proxy } = getCurrentInstance();
diff --git a/openhis-ui-vue3/src/views/charge/outpatientregistration/components/outpatientregistration.js b/openhis-ui-vue3/src/views/charge/outpatientregistration/components/outpatientregistration.js
index 17f3ccd8..18f158eb 100644
--- a/openhis-ui-vue3/src/views/charge/outpatientregistration/components/outpatientregistration.js
+++ b/openhis-ui-vue3/src/views/charge/outpatientregistration/components/outpatientregistration.js
@@ -228,38 +228,6 @@ export function gerPreInfo(userMaessage) {
return request({
url: '/yb-request/per-info',
method: 'post',
-<<<<<<< HEAD
- params: userMaessage
- })
-}
-
-/**
- * 根据就诊卡号查询挂号记录
- * 注意:此接口可能不存在,实际使用getOutpatientRegistrationCurrent接口
- * 保留此函数以便将来使用,目前使用getOutpatientRegistrationCurrent替代
- */
-export function getRegistrationByCardNo(query) {
- // 如果后端提供了专门的接口,可以取消注释使用
- // return request({
- // url: '/charge-manage/register/encounter-by-card',
- // method: 'get',
- // params: query
- // })
- // 暂时使用现有的接口
- return getOutpatientRegistrationCurrent(query);
-}
-
-/**
- * 补打挂号
- */
-export function reprintRegistration(data) {
- return request({
- url: '/charge-manage/register/reprint',
- method: 'post',
- data: data
- })
-}
-=======
params: userMaessage,
});
}
@@ -285,4 +253,3 @@ export function WxPayResult(data) {
data: data,
});
}
->>>>>>> v1.3
diff --git a/openhis-ui-vue3/src/views/charge/outpatientregistration/components/patientAddDialog.vue b/openhis-ui-vue3/src/views/charge/outpatientregistration/components/patientAddDialog.vue
index ecf3af61..ab8eb783 100644
--- a/openhis-ui-vue3/src/views/charge/outpatientregistration/components/patientAddDialog.vue
+++ b/openhis-ui-vue3/src/views/charge/outpatientregistration/components/patientAddDialog.vue
@@ -10,10 +10,6 @@
-<<<<<<< HEAD
-
-
-=======
@@ -66,7 +62,6 @@
->>>>>>> v1.3
-<<<<<<< HEAD
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 岁
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-=======
->>>>>>> v1.3
-<<<<<<< HEAD
-=======
->>>>>>> v1.3
@@ -423,11 +340,7 @@
@@ -152,8 +128,6 @@ defineExpose({ queryList });
& + .scrollbar-item {
margin-top: 8px;
}
-<<<<<<< HEAD
-=======
transition: all 0.3s ease;
}
.selected-history-item {
@@ -164,7 +138,6 @@ defineExpose({ queryList });
color: #d9d9d9;
cursor: not-allowed;
opacity: 0.6;
->>>>>>> v1.3
}
}
}
diff --git a/openhis-ui-vue3/src/views/doctorstation/components/hospitalizationEmr/components/template.vue b/openhis-ui-vue3/src/views/doctorstation/components/hospitalizationEmr/components/template.vue
index 54cbfdf1..fe155902 100644
--- a/openhis-ui-vue3/src/views/doctorstation/components/hospitalizationEmr/components/template.vue
+++ b/openhis-ui-vue3/src/views/doctorstation/components/hospitalizationEmr/components/template.vue
@@ -9,19 +9,6 @@
-->
@@ -41,19 +27,11 @@
diff --git a/openhis-ui-vue3/src/views/doctorstation/components/prescription/refundListDialog.vue b/openhis-ui-vue3/src/views/doctorstation/components/prescription/refundListDialog.vue
index 105ac014..85ce95b0 100644
--- a/openhis-ui-vue3/src/views/doctorstation/components/prescription/refundListDialog.vue
+++ b/openhis-ui-vue3/src/views/doctorstation/components/prescription/refundListDialog.vue
@@ -59,17 +59,6 @@
-<<<<<<< HEAD
-
-
-
- {{ scope.row.dispenseStatus_enumText }}
-
- {{ scope.row.serviceStatus_enumText }}
-
-
-=======
->>>>>>> v1.3
>>>>>> v1.3
>
@@ -93,15 +74,8 @@
:value="item.accountId"
/>
-<<<<<<< HEAD
- 配方名称:
-
- 用药途径:
-
-=======
用法:
->>>>>>> v1.3
-<<<<<<< HEAD
- 脚注:
-
-
-
-
-=======
->>>>>>> v1.3
总金额:{{
@@ -474,13 +430,9 @@ import { calculateQuantityByDays, formatNumber } from '@/utils/his';
import Decimal from 'decimal.js';
import tcmdiagnosisDialog from './tcmdiagnosisDialog';
import { Delete, Minus } from '@element-plus/icons-vue';
-<<<<<<< HEAD
-
-=======
import { ElMessage } from 'element-plus';
import printUtils, { PRINT_TEMPLATE } from '@/utils/printUtils';
import { advicePrint } from '@/api/public';
->>>>>>> v1.3
const emit = defineEmits(['selectDiagnosis']);
const total = ref(0);
const queryParams = ref({});
@@ -494,10 +446,6 @@ const encounterId = ref('');
const accountId = ref('');
const encounterDiagnosisId = ref('');
-<<<<<<< HEAD
-const tcmPrescriptionList = ref([
- {
-=======
let prescriptionIdCounter = 1;
const generatePrescriptionId = () => {
return `prescription_${Date.now()}_${prescriptionIdCounter++}`;
@@ -506,7 +454,6 @@ const generatePrescriptionId = () => {
const tcmPrescriptionList = ref([
{
id: generatePrescriptionId(),
->>>>>>> v1.3
prescriptionList: [],
conditionDefinitionId: '',
accountId: '',
@@ -526,35 +473,9 @@ const tcmPrescriptionList = ref([
const unitCodeList = ref([]);
const adviceTableRef = ref([]);
const organization = ref([]);
-<<<<<<< HEAD
-const conditionDefinitionId = ref('');
-const diagnosisName = ref('');
-const diagnosisInfo = ref({});
-const rateCode = ref('');
-const footNote = ref('');
-const decoctionMethod = ref('');
-const chineseHerbsDoseQuantity = ref('');
-const dispensePerDuration = ref('');
-const formulaName = ref('');
-const sufferingFlag = ref(false);
-const methodCode = ref('');
-const loading = ref(false);
-const rowRules = ref({
- conditionDefinitionId: [{ required: true, message: '请选择诊断', trigger: 'change' }],
- minUnitQuantity: [{ required: true, message: '请输入单次剂量', trigger: 'change' }],
- doseQuantity: [{ required: true, message: '请输入单次剂量单位', trigger: 'change' }],
- quantity: [{ required: true, message: '请输入数量', trigger: 'change' }],
- dispensePerDuration: [{ required: true, message: '请输入用药天数', trigger: 'change' }],
- formulaName: [{ required: true, message: '请输入配方名称', trigger: 'change' }],
- executeNum: [{ required: true, message: '请输入执行次数', trigger: 'change' }],
- rateCode: [{ required: true, message: '请选择频次', trigger: 'change' }],
- methodCode: [{ required: true, message: '请选择给药途径', trigger: 'change' }],
- orgId: [{ required: true, message: '请选择执行科室', trigger: 'change' }],
-=======
const loading = ref(false);
const rowRules = ref({
minUnitQuantity: [{ required: true, message: '请输入单次剂量', trigger: 'change' }],
->>>>>>> v1.3
});
const unitMap = ref({
dose: 'dose',
@@ -584,39 +505,6 @@ const inputRefs = ref({}); // 存储输入框实例
const requiredProps = ref([]); // 存储必填项 prop 顺序
const totalAmount = ref(0);
const tcmDianosis = ref();
-<<<<<<< HEAD
-const { method_code, unit_code, rate_code, method_of_decocting_medicine,hjerbal_footnotes,distribution_category_code } = proxy.useDict(
- 'method_code',
- 'unit_code',
- 'rate_code',
- 'method_of_decocting_medicine',
- 'hjerbal_footnotes',
- 'distribution_category_code'
-);
-
-const adviceTypeList = ref([
- {
- label: '西药',
- value: 1,
- },
- {
- label: '中成药',
- value: 2,
- },
- {
- label: '耗材',
- value: 3,
- },
- {
- label: '诊疗',
- value: 4,
- },
- {
- label: '全部',
- value: '',
- },
-]);
-=======
const { method_code, unit_code, rate_code, distribution_category_code, dosage_instruction } =
proxy.useDict(
'method_code',
@@ -626,7 +514,6 @@ const { method_code, unit_code, rate_code, distribution_category_code, dosage_in
'dosage_instruction'
);
->>>>>>> v1.3
onMounted(() => {
document.addEventListener('keydown', escKeyListener);
});
@@ -652,64 +539,6 @@ function getList() {
});
}
-<<<<<<< HEAD
-function getListInfo(addNewRow) {
- // 确保isAdding变量存在
- if (typeof isAdding !== 'undefined') {
- isAdding.value = false;
- }
-
- // 确保有患者信息
- if (!props.patientInfo || !props.patientInfo.encounterId) {
- console.error('患者信息不完整');
- return;
- }
-
- getTcmAdviceList({ encounterId: props.patientInfo.encounterId }).then((res) => {
- if (res && res.data && Array.isArray(res.data)) {
- // 处理返回的数据
- if (res.data.length > 0) {
- // 如果有数据,清空当前列表并重新添加
- tcmPrescriptionList.value = [];
-
- res.data.forEach((item) => {
- try {
- // 解析contentJson获取完整的医嘱数据
- const contentData = item.contentJson ? JSON.parse(item.contentJson) : {};
-
- // 创建一个新的处方对象
- const newPrescription = {
- ...item,
- ...contentData,
- // 确保关键显示字段存在
- adviceName: contentData.adviceName || item.adviceName || '',
- quantity: contentData.quantity || item.quantity || '',
- totalPrice: contentData.totalPrice || item.totalPrice || '',
- diagnosisName: contentData.diagnosisName || item.diagnosisName || '',
- positionName: contentData.positionName || item.positionName || '',
- doseUnitCode_dictText: contentData.doseUnitCode_dictText || item.doseUnitCode_dictText || '',
- chineseHerbsDoseQuantity: contentData.chineseHerbsDoseQuantity || item.chineseHerbsDoseQuantity || '',
- prescriptionList: [contentData]
- };
-
- // 添加到处方列表
- tcmPrescriptionList.value.push(newPrescription);
- } catch (error) {
- console.error('解析医嘱数据失败:', error, '数据项:', item);
- }
- });
- }
-
- // 重新计算总金额
- handleTotalAmount();
-
- if (props.activeTab == 'prescription' && addNewRow) {
- handleAddMedicine();
- }
- } else {
- console.error('获取医嘱列表失败或数据格式错误:', res);
- // 保持当前列表不变,不要清空
-=======
async function getListInfo(addNewRow) {
// 重置所有处方的添加状态
tcmPrescriptionList.value.forEach((prescription) => {
@@ -785,28 +614,14 @@ async function getListInfo(addNewRow) {
tcmPrescriptionList.value.accountId = contractList.value[0].accountId;
if (props.activeTab == 'prescription' && addNewRow) {
handleAddMedicine(0);
->>>>>>> v1.3
}
}).catch(error => {
console.error('获取医嘱列表异常:', error);
// 保持当前列表不变,不要清空
});
-<<<<<<< HEAD
-
- tcmDiagnosisList.value = getFromDiagnosis(props.patientInfo.encounterId);
-
- getContract({ encounterId: props.patientInfo.encounterId }).then((res) => {
- contractList.value = res?.data || [];
- }).catch(error => {
- console.error('获取合同信息失败:', error);
- });
-
- accountId.value = props.patientInfo.accountId || '';
-=======
tcmDiagnosisList.value = getFromDiagnosis(props.patientInfo.encounterId);
accountId.value = props.patientInfo.accountId;
->>>>>>> v1.3
}
function getDiagnosisInfo() {
@@ -822,11 +637,7 @@ function getDiagnosisInfo() {
});
});
}
-<<<<<<< HEAD
- // 默认选择第一个诊断
-=======
// 默认选择第一个诊断
->>>>>>> v1.3
if (diagnosisList.value.length > 0) {
const firstDiagnosis = diagnosisList.value[0];
tcmPrescriptionList.value.forEach((prescription) => {
@@ -1156,18 +967,8 @@ function handleDelete(pIndex) {
prescription.expandOrder = [];
prescription.isAdding = false;
adviceQueryParams.value.adviceType = undefined;
-<<<<<<< HEAD
- // 删除行会出现组号混乱的情况,所以这里重新更新标记
- const allPrescriptions = tcmPrescriptionList.value.flatMap(p => p.prescriptionList);
- groupMarkers.value = getGroupMarkers(allPrescriptions);
}
-
-
-=======
-}
-
->>>>>>> v1.3
function handleNumberClick(item, index, pIndex) {
const prescription = tcmPrescriptionList.value[pIndex];
prescription.prescriptionList[index].unitPrice = item.price;
@@ -1247,117 +1048,6 @@ function handleSave(pIndex) {
}
// 单行处方保存
-<<<<<<< HEAD
-function handleSaveSign(row, index) {
- try {
- // 直接执行保存逻辑,不再进行表单验证
- row.isEdit = false;
- isAdding.value = false;
- expandOrder.value = [];
-
- // 确保必要的字段有值
- if (props.patientInfo) {
- row.patientId = props.patientInfo.patientId;
- row.encounterId = props.patientInfo.encounterId;
- }
-
- row.accountId = accountId.value || '';
- row.quantity = row.minUnitQuantity || 1; // 确保数量有值
- row.conditionId = conditionId.value || '';
- row.conditionDefinitionId = conditionDefinitionId.value || '';
- row.encounterDiagnosisId = encounterDiagnosisId.value || '';
- row.diagnosisName = diagnosisName.value || '';
-
- // 计算单价
- if (row.unitCodeList && row.unitCode) {
- const unitItem = row.unitCodeList.find((item) => item.value === row.unitCode);
- if (unitItem?.type !== 'unit' && row.unitPrice) {
- row.unitPrice = new Decimal(row.unitPrice).div(row.partPercent || 1).toFixed(2);
- }
- }
-
- // 计算总金额
- if (row.minUnitQuantity && row.unitPrice) {
- row.totalPrice = new Decimal(row.minUnitQuantity).mul(row.unitPrice).toFixed(2);
- }
-
- // 确保显示所需的字段都有值
- row.adviceName = row.adviceName || '未命名药品';
- row.positionName = row.positionName || '默认药房';
-
- // 创建要保存的数据对象,避免循环引用
- const saveData = {
- ...row,
- // 排除可能导致循环引用的复杂对象
- unitCodeList: undefined,
- stockList: undefined,
- contentJson: undefined
- };
-
- // 序列化数据用于存储
- saveData.contentJson = JSON.stringify(saveData);
-
- // 只保存当前行的数据,而不是整个列表
- savePrescription({ adviceSaveList: [saveData] }).then((res) => {
- if (res && res.code === 200) {
- proxy.$modal.msgSuccess('保存成功');
- // 此处错误调用getListInfo,导致医嘱信息被覆盖,从而不显示。
- // getListInfo(true);
- nextId.value = 1;
- } else {
- proxy.$modal.msgError('保存失败,请重试');
- console.error('保存失败响应:', res);
- }
- }).catch(error => {
- console.error('保存处方失败:', error);
- proxy.$modal.msgError('保存失败,请检查网络或联系管理员');
- });
- } catch (error) {
- console.error('处理保存时出错:', error);
- proxy.$modal.msgError('操作异常,请重试');
- }
-}
-
-
-function handleSaveBatch() {
- // 收集所有需要保存的处方项目
- let saveList = [];
-
- // 遍历所有处方
- for (const prescription of tcmPrescriptionList.value) {
- if (prescription.prescriptionList) {
- // 检查处方是否有必填的付数
- if (!prescription.chineseHerbsDoseQuantity || prescription.chineseHerbsDoseQuantity == 0) {
- proxy.$modal.msgWarning('请输入付数');
- return;
- }
-
- // 收集该处方下需要保存的项目
- const itemsToSave = prescription.prescriptionList
- .filter((item) => item.statusEnum == 1)
- .map((item, index) => {
- return {
- ...item,
- accountId: accountId.value,
- conditionId: prescription.conditionId,
- encounterDiagnosisId: prescription.encounterDiagnosisId,
- conditionDefinitionId: prescription.conditionDefinitionId,
- encounterId: props.patientInfo.encounterId,
- patientId: props.patientInfo.patientId,
- requestId: item.requestId,
- groupId: item.groupId ? item.groupId : timestamp.toString(),
- chineseHerbsDoseQuantity: prescription.chineseHerbsDoseQuantity,
- dbOpType: item.requestId ? '2' : '1',
- };
- });
-
- // 将项目添加到保存列表
- saveList = saveList.concat(itemsToSave);
- }
- }
-
- // 检查是否有可保存的项目
-=======
function handleSaveSign(row, index, pIndex) {
const prescription = tcmPrescriptionList.value[pIndex];
const formRefName = 'formRef' + pIndex + '-' + index;
@@ -1408,15 +1098,10 @@ function handleSaveBatch(pIndex) {
dbOpType: item.requestId ? '2' : '1',
};
});
->>>>>>> v1.3
if (saveList.length == 0) {
proxy.$modal.msgWarning('当前没有可保存医嘱');
return;
}
-<<<<<<< HEAD
-
- // 保存处方
-=======
if (
prescription.chineseHerbsDoseQuantity == undefined ||
prescription.chineseHerbsDoseQuantity == 0
@@ -1424,22 +1109,11 @@ function handleSaveBatch(pIndex) {
proxy.$modal.msgWarning('请输入付数');
return;
}
->>>>>>> v1.3
saveTcmAdvice({ adviceSaveList: saveList }).then((res) => {
if (res.code === 200) {
proxy.$modal.msgSuccess('保存成功');
getListInfo(true);
-<<<<<<< HEAD
-
- // 重置所有处方的nextId
- tcmPrescriptionList.value.forEach(prescription => {
- if (prescription.nextId) {
- prescription.nextId = 1;
- }
- });
-=======
prescription.nextId = 1;
->>>>>>> v1.3
}
});
}
@@ -1607,21 +1281,6 @@ function validateGroups(saveList) {
return true;
}
-<<<<<<< HEAD
-
-
-
-
-
-
-
-
-
-
-
-
-
-=======
async function handlePrint(pIndex) {
const prescription = tcmPrescriptionList.value[pIndex];
const selectedRows = prescription.prescriptionList.filter((item) => item.check);
@@ -1683,7 +1342,6 @@ async function handlePrint(pIndex) {
ElMessage.error('中药处方打印失败: ' + error.message);
}
}
->>>>>>> v1.3
defineExpose({ getListInfo, getDiagnosisInfo });
@@ -1799,29 +1457,4 @@ defineExpose({ getListInfo, getDiagnosisInfo });
.add-icon:hover {
background-color: #ecf5ff;
}
-<<<<<<< HEAD
-
-.delete-icon {
- cursor: pointer;
- border-radius: 50%;
- padding: 4px;
- transition: all 0.3s ease;
-}
-
-.delete-icon:hover {
- background-color: #fef0f0;
-}
-
-.delete-icon.disabled-icon {
- cursor: not-allowed;
- color: #c0c4cc !important;
- opacity: 0.6;
-}
-
-.delete-icon.disabled-icon:hover {
- background-color: transparent;
-}
-=======
-
->>>>>>> v1.3
diff --git a/openhis-ui-vue3/src/views/doctorstation/index.vue b/openhis-ui-vue3/src/views/doctorstation/index.vue
index 7e2eabe9..f1582dd8 100644
--- a/openhis-ui-vue3/src/views/doctorstation/index.vue
+++ b/openhis-ui-vue3/src/views/doctorstation/index.vue
@@ -15,11 +15,6 @@
-<<<<<<< HEAD
-
-=======
->>>>>>> v1.3
@@ -87,14 +81,6 @@
{{
Object.keys(patientInfo).length !== 0
? patientInfo.patientName +
-<<<<<<< HEAD
- ' / ' +
- patientInfo.age +
- ' / ' +
- patientInfo.genderEnum_enumText +
- ' / ' +
- patientInfo.contractName
-=======
' / ' +
patientInfo.age +
' / ' +
@@ -105,29 +91,16 @@
patientInfo.phone +
'/' +
patientInfo.busNo
->>>>>>> v1.3
: '-'
}}
{{ Object.keys(patientInfo).length !== 0 ? formatDate(patientInfo.registerTime) : '-' }}
-<<<<<<< HEAD
- {{
- userStore.name
- }}
-
-
- 初诊
- 复诊
-
-
-=======
{{ userStore.nickName }}
->>>>>>> v1.3
完诊
@@ -140,31 +113,11 @@
处方单
-<<<<<<< HEAD
-
- 办理住院
-
-
- 取消接诊
-
-=======
办理住院
->>>>>>> v1.3
-<<<<<<< HEAD
-
-
- {
- saveStatus = value;
- }
- " :visitType="visitType" :firstVisitDate="firstVisitDate" />
-
-=======
-->
->>>>>>> v1.3
{
@@ -199,16 +151,12 @@
" />
-<<<<<<< HEAD
-
-=======
->>>>>>> v1.3
@@ -226,14 +174,6 @@
-<<<<<<< HEAD
-
-
-
-=======
->>>>>>> v1.3
\ No newline at end of file
diff --git a/openhis-ui-vue3/src/views/hospitalRecord/components/medicalRecordFirst.vue b/openhis-ui-vue3/src/views/hospitalRecord/components/medicalRecordFirst.vue
index 39af38a6..d62639f5 100644
--- a/openhis-ui-vue3/src/views/hospitalRecord/components/medicalRecordFirst.vue
+++ b/openhis-ui-vue3/src/views/hospitalRecord/components/medicalRecordFirst.vue
@@ -542,210 +542,6 @@ const sexOptions = gend;
// 入院途径
const admissionOptions = adm_way;
-<<<<<<< HEAD
-// 表单数据
-const formData = reactive({
- //组织机构代码
- medins_orgcode: '',
-
- //医疗付费方式
-
-
- //健康卡号
-
-
- //姓名--患者姓名
- patient_name: '',
-
- //性别--患者性别
- gend: '',
-
- //出生日期
- brdy: '',
-
- //年龄
- age: '',
-
- //国籍
- ntly: '',
-
- //籍贯
- napl: '',
-
- //民族
- naty: '',
-
- //身份证号
- certNo: '',
-
- //户口地址
- resd_addr:'',
-
- //工作单位及地址
- empr_addr: '',
-
- //联系人姓名
- coner_name: '',
-
- //关系
- patn_rlts: '',
-
- //地址
- addr: '',
-
- //电话
- tel: '',
-
- //第几次住院
- patn_ipt_cnt: '',
-
- //住院号 mdtrtsn
- ipt_no: '',
-
- //病案号
- medcasno: '',
-
- //入院途径
- adm_way: '',
-
- //入院时间
- adm_time: '',
-
- //入院科室 adm_dept_codg
- adm_dept_name: '',
-
- //病房 入院病房
- adm_ward: '',
-
- //实际住院天数
- act_ipt_days: '',
-
- //主要诊断----不确定
- diag_code: '',
-
- //其他诊断
-
-
- //是否输血
-
-
- //血型
-
-
- //Rh
-
-
- //药物过敏史
-
-
- //科主任 科主任姓名--deptort_name:
- deptort: '',
-
- //主任(副主任)医师
- chfdr_name: '',
-
- //主治医师 主诊医师姓名--chfpdr_name
- atddr_no: '',
-
- //住院医师 住院医师姓名--ipdr_name
- ipdr_code: '',
-
- //责任护士 责任护士姓名--resp_nurs_name
- resp_nurs_code: '',
-
- //住院总医师
-
-
- //实习医师
- intn_dr_name: '',
-
- //病案质量 病案质量名称--medcas_qlt_name
- medcas_qlt_code: '',
-
- //编码员
- codr_name: '',
-
- //质控日期
- qltctrl_date: '',
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- hospital: {
- orgCode: '41275054-7',
- paymentMethod: '城乡居民基本医疗保险'
- },
- patient: {
- healthCardNo: '',
- name: '',
- gender: '',
- birthDate: '',
- age: '',
- nationality: '中国',
- nativePlace: '',
- ethnicity: '汉族',
- idCardNo: '',
- householdAddress: '',
- workUnit: '',
- contactName: '',
- contactRelation: '',
- contactAddress: '',
- contactPhone: ''
- },
- admission: {
- times: 1,
- hospitalNo: '',
- recordNo: '',
- channel: '',
- admitTime: '',
- department: '',
- ward: '',
- confirmDate: '',
- dischargeTime: '',
- dischargeDepartment: '',
- dischargeWard: '',
- hospitalDays: ''
- },
- diagnosis: {
- mainDiagnosis: '',
- otherDiagnosis: ''
- },
- medicalInfo: {
- bloodTransfusion: '2',
- bloodType: '',
- rhType: '',
- drugAllergy: '1'
- },
- doctorInfo: {
- departmentDirector: '',
- chiefPhysician: '',
- attendingPhysician: '',
- residentPhysician: '',
- chargeNurse: '',
- chiefResident: '',
- intern: '',
- recordQuality: '1',
- coder: '',
- qualityControlDate: ''
- }
-=======
// 是否输血
const bloodOption = sys_yes_no;
// 血型
@@ -806,7 +602,6 @@ const rules = ref({
name: [{ required: true, message: '请选择诊断', trigger: 'change' }],
medTypeCode: [{ required: true, message: '请选择诊断类型', trigger: 'change' }],
diagSrtNo: [{ required: true, message: '请输入诊断序号', trigger: 'change' }],
->>>>>>> v1.3
});
diff --git a/openhis-ui-vue3/src/views/hospitalRecord/components/medicalRecordSecond.vue b/openhis-ui-vue3/src/views/hospitalRecord/components/medicalRecordSecond.vue
index 8c26c03f..8e874f04 100644
--- a/openhis-ui-vue3/src/views/hospitalRecord/components/medicalRecordSecond.vue
+++ b/openhis-ui-vue3/src/views/hospitalRecord/components/medicalRecordSecond.vue
@@ -1,23 +1,11 @@
-<<<<<<< HEAD
-
-
- 新增
-
-=======
新增
->>>>>>> v1.3
删除
-<<<<<<< HEAD
-
@@ -216,16 +123,6 @@
>>>>>> v1.3
row-key="uniqueKey"
border
@cell-click="clickRow"
@row-dblclick="clickRowDb"
v-loading="loading"
:expand-row-keys="expandOrder"
-<<<<<<< HEAD
- >
-
-
-
-
-
-
-
- {{
- scope.row.adviceName +
- ' ' +
- scope.row.volume +
- ' [' +
- Number(scope.row.unitPrice).toFixed(2) +
- ' 元' +
- '/' +
- scope.row.unitCode_dictText +
- ']'
- }}
-
-
-
-
-
-
-
-
-
- x 诊断:{{ diagnosisName }} x
- 皮试:{{ scope.row.skinTestFlag_enumText }}
-
- 注射药品:{{ scope.row.injectFlag_enumText }}
-
-
- 总金额:{{ scope.row.totalPrice ? scope.row.totalPrice + ' 元' : '0.00 元' }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- =
-
-
-
-
-
-
-
-
-
-
-
- {
- inputRefs.methodCode.blur();
- }
- "
- @visible-change="
- (value) => {
- if (!value) {
- handleEnter('methodCode', scope.row, scope.$index);
- }
- }
- "
- >
-
-
-
-
- {
- inputRefs.rateCode.blur();
- }
- "
- @change="calculateTotalAmount(scope.row, scope.$index)"
- @visible-change="
- (value) => {
- if (!value) {
- handleEnter('rateCode', scope.row, scope.$index);
- }
- }
- "
- :ref="(el) => (inputRefs.rateCode = el)"
- >
-
-
-
-
-
-
-
-
-
- 天
-
-
-
-
-
-
-
-
-
-
-
-
-
- 确定
-
-
-
-
-
-
- {{
- scope.row.adviceName +
- ' ' +
- scope.row.volume +
- ' ' +
- scope.row.unitPrice +
- ' 元/' +
- scope.row.unitCode_dictText
- }}
-
-
-
-
-
-
-
-
-
-
- {
- scope.row.unitCode_dictText = item.label;
- }
- "
- />
-
-
-
- 总金额:{{
- scope.row.totalPrice ? scope.row.totalPrice + ' 元' : '0.00 元'
- }}
-
-
-
- 确定
-
-
-
-
-
-
- {{ scope.row.adviceName }}
- {{
- scope.row.unitPrice
- ? Number(scope.row.unitPrice).toFixed(2) + '/次'
- : '-' + '元'
- }}
-
-
-
-
-
-
- handleOrgChange(value, scope.$index)"
- placeholder="请选择执行科室"
- />
-
-
- 总金额:{{
- scope.row.totalPrice ? scope.row.totalPrice + ' 元' : '0.00 元'
- }}
-
-
-
-
-
-
- 确定
-
-
-
-
-
-
-
-
-
- {
- prescriptionList.forEach((item, index) => {
- groupIndexList.push(index);
- item.check = value;
- });
- }
- "
- />
-
-
- handleCheckBoxChange(value, scope.$index, scope.row)"
- />
-
-
-
-
- ┏
- ┗
- ┃
-
-
-
-
-
-
-=======
@select="handleSelectionChange"
>
@@ -630,31 +123,20 @@
{{ console.log(scope.row, 1111) }}
->>>>>>> v1.3
-
-
-=======
@change="(val) => handleTherapyChange(val, scope.row)"
>
长期
临时
->>>>>>> v1.3
-<<<<<<< HEAD
- {{ scope.row.therapyEnum_enumText }}
-=======
{{ scope.row.therapyEnum === '1' ? '长期' : '临时' }}
->>>>>>> v1.3
@@ -662,11 +144,7 @@
>>>>>> v1.3
v-model="scope.row.adviceType"
:ref="'adviceTypeRef' + scope.$index"
@change="
@@ -676,10 +154,7 @@
adviceQueryParams.adviceType = value;
}
"
-<<<<<<< HEAD
-=======
clearable
->>>>>>> v1.3
>
>>>>>> v1.3
v-model="scope.row.adviceName"
placeholder="请选择项目"
@input="handleChange"
@@ -791,16 +262,6 @@
{{ console.log(scope.row) }}
{{
-<<<<<<< HEAD
- scope.row.rateCode_dictText
- ? scope.row.rateCode_dictText +
- ' ' +
- scope.row.dispensePerDuration +
- '天' +
- ' ' +
- scope.row.methodCode_dictText
- : ''
-=======
[
scope.row.rateCode_dictText,
scope.row.dispensePerDuration ? scope.row.dispensePerDuration + '天' : '',
@@ -808,7 +269,6 @@
]
.filter(Boolean)
.join(' ')
->>>>>>> v1.3
}}
@@ -848,10 +308,6 @@
:diagnosis="diagnosisInfo"
:patientInfo="patientInfo"
@userPrescriptionHistory="handleSaveHistory"
-<<<<<<< HEAD
- /> -->
-
-=======
/>
->>>>>>> v1.3
-<<<<<<< HEAD
-
-
-=======
->>>>>>> v1.3
@@ -35,15 +30,6 @@
>>>>>> v1.3
>
@@ -91,31 +76,18 @@
>>>>>> v1.3
/>
>>>>>> v1.3
/>
@@ -176,9 +148,6 @@ const emrComponentRef = ref(null);
const quicklyactiveName = ref('history');
const leftShow = ref(true);
const rightShow = ref(true);
-<<<<<<< HEAD
-
-=======
watch(patientInfo, () => {
historyRef.value?.queryList();
templateRef.value?.queryList();
@@ -187,7 +156,6 @@ const templateTree = ref(null);
// 当前选中的历史病历ID,用于在History组件中高亮显示
const selectedHistoryRecordId = ref('');
->>>>>>> v1.3
// 树配置(模板树)
const defaultProps = {
@@ -790,17 +758,10 @@ defineExpose({ state });
const disNode = () => {
leftShow.value = !leftShow.value;
-<<<<<<< HEAD
-}
-const disNode_R = () => {
- rightShow.value = !rightShow.value;
-}
-=======
};
const disNode_R = () => {
rightShow.value = !rightShow.value;
};
->>>>>>> v1.3
-=======
-
->>>>>>> v1.3
diff --git a/openhis-ui-vue3/src/views/inpatientNurse/InpatientBilling/components/OrderBilling.vue b/openhis-ui-vue3/src/views/inpatientNurse/InpatientBilling/components/OrderBilling.vue
index 7d568566..443943cb 100644
--- a/openhis-ui-vue3/src/views/inpatientNurse/InpatientBilling/components/OrderBilling.vue
+++ b/openhis-ui-vue3/src/views/inpatientNurse/InpatientBilling/components/OrderBilling.vue
@@ -213,11 +213,7 @@
-=======
/* 基础样式 */
.font-bold {
font-weight: 600;
@@ -1270,4 +917,3 @@ onMounted(() => {
text-overflow: ellipsis;
}
->>>>>>> v1.3
diff --git a/openhis-ui-vue3/src/views/inpatientNurse/InpatientBilling/components/depositQuery.vue b/openhis-ui-vue3/src/views/inpatientNurse/InpatientBilling/components/depositQuery.vue
index a64ca9d0..6f872bfb 100644
--- a/openhis-ui-vue3/src/views/inpatientNurse/InpatientBilling/components/depositQuery.vue
+++ b/openhis-ui-vue3/src/views/inpatientNurse/InpatientBilling/components/depositQuery.vue
@@ -170,11 +170,7 @@
\ No newline at end of file
diff --git a/openhis-ui-vue3/src/views/medicationmanagement/statisticalManagement/outPatientCharge.vue b/openhis-ui-vue3/src/views/medicationmanagement/statisticalManagement/outPatientCharge.vue
index bcfd9d3b..29b0088a 100644
--- a/openhis-ui-vue3/src/views/medicationmanagement/statisticalManagement/outPatientCharge.vue
+++ b/openhis-ui-vue3/src/views/medicationmanagement/statisticalManagement/outPatientCharge.vue
@@ -61,21 +61,6 @@
:value="supplyStatus.id"
/>
-<<<<<<< HEAD
-
-
-
-
-
-
-
-
-=======
->>>>>>> v1.3
-<<<<<<< HEAD
-
- 查询
-
-
-
- 重置
-=======
查询
@@ -132,7 +108,6 @@
导出
->>>>>>> v1.3
@@ -143,14 +118,7 @@
@selection-change="handleSelectionChange"
:span-method="arraySpanMethod"
>
-<<<<<<< HEAD
-
-
-
-=======
->>>>>>> v1.3
-<<<<<<< HEAD
-
-=======
->>>>>>> v1.3
-<<<<<<< HEAD
-
-=======
->>>>>>> v1.3
>>>>>> v1.3
import { watch } from 'vue';
const userStore = useUserStore();
const router = useRouter();
const { proxy } = getCurrentInstance();
const totalAmount = ref(0);
-<<<<<<< HEAD
-// const {
-// item_category_code,
-// hosp_lv
-// } = proxy.useDict(
-// "item_category_code",
-// "hosp_lv"
-// );
-=======
->>>>>>> v1.3
const purchaseinventoryListAll = ref([]);
const xiaojiTotal = ref([]);
const rowSpan = ref(1);
@@ -369,9 +316,6 @@ const multiple = ref(true);
const total = ref(0);
const occurrenceTime = ref([]);
const getDepartmentOptions = ref([]);
-<<<<<<< HEAD
-// const queryParams.value.statisticsType = ref(1)
-=======
// 树形结构相关变量
const selectedTypeIds = ref([]); // 选中的节点ID集合
@@ -389,7 +333,6 @@ const { device_category_code, med_category_code, activity_category_code } = prox
'med_category_code',
'activity_category_code'
);
->>>>>>> v1.3
const data = reactive({
form: {},
@@ -398,23 +341,13 @@ const data = reactive({
pageSize: 10,
statisticsType: 1,
searchKey: undefined,
-<<<<<<< HEAD
- // ybCode: undefined,
- // busNo:undefined,
- // name: undefined,
-=======
->>>>>>> v1.3
departmentId: undefined,
issuerId: undefined,
payeeId: undefined,
clinicalType: undefined,
-<<<<<<< HEAD
- // clinicalName:undefined,
-=======
medicationCategoryCode: undefined,
deviceCategoryCode: undefined,
activityCategoryCode: undefined,
->>>>>>> v1.3
chargeTimeSTime: undefined,
chargeTimeETime: undefined,
},
@@ -426,13 +359,8 @@ const { queryParams, form, rules } = toRefs(data);
// 监听表格数据变化计算合计金额
watch(
() => purchaseinventoryList.value,
-<<<<<<< HEAD
- (newVlaue) => {
- if (newVlaue && newVlaue.length > 0) {
-=======
(newValue) => {
if (newValue && newValue.length > 0) {
->>>>>>> v1.3
handleTotalAmount();
}
},
@@ -442,54 +370,6 @@ watch(
// 监听统计类型变化
watch(
() => queryParams.value.statisticsType,
-<<<<<<< HEAD
- (newVlaue) => {
- queryParams.value.statisticsType = newVlaue;
- },
- { immediate: true }
-);
-/**计算合计金额 */
-function handleTotalAmount() {
- totalAmount.value = purchaseinventoryList.value.reduce((accumulator, currentRow) => {
- return accumulator + (Number(currentRow.totalPrice) || 0);
- }, 0);
-}
-function getTotals(row, i) {
- let totalPriceSums = Number(purchaseinventoryList.value[i].totalPrice);
- // let totalReturnPriceSums = Number(purchaseinventoryList.value[i].refundPrice)
- for (let j = 1; i - j >= 0; j++) {
- if (purchaseinventoryList.value[i].busNo == purchaseinventoryList.value[i - j].busNo) {
- totalPriceSums += Number(purchaseinventoryList.value[i - j].totalPrice);
- // totalReturnPriceSums += Number(purchaseinventoryList.value[i-j].refundPrice)
- }
- }
- xiaojiTotal.value.push({
- inde: i + 1,
- busNo: row.busNo,
- genderEnum_enumText: row.genderEnum_enumText,
- totalPrice: totalPriceSums.toFixed(4) || 0.0,
- });
- // var totalPrice2 = 0
- // var refundPrice2 = 0
- purchaseinventoryList.value.splice(i + 1, 0, {
- busNo: row.busNo,
- genderEnum_enumText: row.genderEnum_enumText,
- departmentName: '小计',
- totalPrice: totalPriceSums.toFixed(4) || 0.0,
- });
- // purchaseinventoryList.value.map(k=>{
- // if(k.departmentName!='小计'){
- // totalPrice2 += Number(k.totalPrice)
- // refundPrice2 += Number(k.refundPrice)
- // }
- // })
- // totalPrice2 = totalPrice2?totalPrice2.toFixed(4):totalPrice2
- // refundPrice2 = refundPrice2?refundPrice2.toFixed(4):refundPrice2
- // purchaseinventoryList.value.push({departmentName:'合计',totalPrice:totalPrice2,refundPrice:refundPrice2})
-}
-const arraySpanMethod = ({ row, column, rowIndex, columnIndex }) => {
- // 合并一样的列住院号 outpatientNumber属性&&(queryParams.value.statisticsType==1||queryParams.value.statisticsType==4||queryParams.value.statisticsType==6)
-=======
(newValue) => {
queryParams.value.statisticsType = newValue;
},
@@ -700,7 +580,6 @@ function getTotals(row, i) {
// 表格合并行方法
const arraySpanMethod = ({ row, column, rowIndex, columnIndex }) => {
->>>>>>> v1.3
if (columnIndex === 1 && purchaseinventoryList.value.length > 0) {
if (
rowIndex === 0 ||
@@ -708,11 +587,7 @@ const arraySpanMethod = ({ row, column, rowIndex, columnIndex }) => {
) {
let rowspan = 1;
let totalPriceSum = 0;
-<<<<<<< HEAD
- // let totalReturnPriceSum = 0
-=======
->>>>>>> v1.3
for (let i = rowIndex + 1; i < purchaseinventoryList.value.length + 1; i++) {
if (purchaseinventoryList.value[i - 1].departmentName != '合计') {
if (
@@ -721,30 +596,17 @@ const arraySpanMethod = ({ row, column, rowIndex, columnIndex }) => {
) {
rowspan++;
totalPriceSum += Number(purchaseinventoryList.value[i].totalPrice);
-<<<<<<< HEAD
- // totalReturnPriceSum += Number(purchaseinventoryList.value[i].refundPrice)
-=======
->>>>>>> v1.3
if (i == purchaseinventoryList.value.length - 1) {
let findIndexTotal = xiaojiTotal.value.findIndex((k) => k.busNo == row.busNo);
if (findIndexTotal < 0) {
getTotals(row, i);
}
-<<<<<<< HEAD
- } else {
- }
- } else {
- totalPriceSum += Number(row.totalPrice);
- // totalReturnPriceSum += Number(row.refundPrice)
- let findIndexTotal = xiaojiTotal.value.findIndex((k) => k.busNo == row.busNo);
-=======
}
} else {
totalPriceSum += Number(row.totalPrice);
let findIndexTotal = xiaojiTotal.value.findIndex((k) => k.busNo == row.busNo);
->>>>>>> v1.3
if (findIndexTotal < 0) {
xiaojiTotal.value.push({
inde: i,
@@ -752,84 +614,19 @@ const arraySpanMethod = ({ row, column, rowIndex, columnIndex }) => {
busNo: row.busNo,
totalPrice: totalPriceSum,
});
-<<<<<<< HEAD
-=======
->>>>>>> v1.3
purchaseinventoryList.value.splice(i, 0, {
busNo: row.busNo,
genderEnum_enumText: row.genderEnum_enumText,
departmentName: '小计',
totalPrice: totalPriceSum.toFixed(4) || 0.0,
});
-<<<<<<< HEAD
- // console.log(purchaseinventoryList.value,"12121")
-=======
->>>>>>> v1.3
}
break;
}
}
rowspan++;
}
-<<<<<<< HEAD
- return { rowspan, colspan: 1 };
- } else {
- // 非起始行不显示
- return { rowspan: 0, colspan: 0 };
- }
- // }else{ // 姓名列patientName
- // if (columnIndex ===2&&purchaseinventoryList.value.length>0) {
- // if (rowIndex === 0 || (rowIndex > 0 && row.name !== purchaseinventoryList.value[rowIndex - 1]?.name)) {
- // let rowspan = 1;
- // for (let i = rowIndex + 1; i < purchaseinventoryList.value.length; i++) {
- // if (purchaseinventoryList.value[i].name === row.name) {
- // rowspan++;
- // } else {
- // break;
- // }
- // }
- // return { rowspan:rowspan, colspan: 1 };
- // } else {
- // return { rowspan: 0, colspan: 0 };
- // }
- // }
- }
-};
-const getSummaries = (param) => {
- const { columns, data } = param;
- const sums = [];
- columns.forEach((column, index) => {
- if (index === 0) {
- sums[index] = h('div', { style: { textDecoration: 'underline' } }, ['合计']);
- return;
- }
- const values = data.map(
- (item) => item.departmentName != '小计' && Number(item[column.property])
- );
- if (column.property == 'totalPrice') {
- sums[index] = `${values.reduce((prev, curr) => {
- const value = Number(curr);
- if (!Number.isNaN(value)) {
- return (Number(prev) + Number(curr)).toFixed(4) || 0.0;
- } else {
- return Number(prev);
- }
- }, 0.0)}`;
- } else {
- sums[index] = ' ';
- }
- });
- return sums;
-};
-
-function inventoryChange(val) {
- queryParams.value.statisticsType = val;
- xiaojiTotal.value = [];
- purchaseinventoryList.value = [];
- getList();
-}
-=======
return { rowspan, colspan: 1 };
} else {
@@ -847,22 +644,12 @@ function inventoryChange(val) {
}
// 初始化数据加载
->>>>>>> v1.3
function getPharmacyCabinetLists() {
getReportChargeInit().then((response) => {
inventoryOptions.value = response.data.statisticsTypeOptions;
queryParams.value.statisticsType = 1;
issuerOptions.value = response.data.issuerOptions;
payeeOptions.value = response.data.payeeOptions;
-<<<<<<< HEAD
- clinicalTypeOptions.value = response.data.clinicalTypeOptions;
- });
- getDepartmentList().then((response) => {
- getDepartmentOptions.value = response.data; // 科室
- });
-}
-/** 查询调拨管理项目列表 */
-=======
clinicalTypeOptions.value = response.data.clinicalTypeOptions || [];
// 确保字典数据加载完成后再构建树形
@@ -877,7 +664,6 @@ function getPharmacyCabinetLists() {
}
// 查询列表数据
->>>>>>> v1.3
function getList(type) {
if (type) {
xiaojiTotal.value = [];
@@ -885,60 +671,6 @@ function getList(type) {
}
loading.value = true;
-<<<<<<< HEAD
- // purchaseinventoryList.value = [
- // {busNo:'M2505070009100304',name:"张三",departmentName:'CF2505070009101361',birthDate:'2025-05-07 16:28',practitionerName:'张三',practitionerName:'王东收费',clinicalName:'依折麦布片',busNo:'yp3065',medicalName:'依折麦布片',ybNo:'XC10AXY097A0010',totalVolume:'10mg*10',salePrice:'63.56',price:'63.56',totalPrice:'63.56',number:'1盒',totalPrice:'63.56',refundQuantity:'0.00盒',refundPrice:'0.00',lotNumber:'Y013201',manufacturerText:'杭州默沙东制药有限公司',supplierName:'旧系统批量'},
- // {busNo:'M2505070009100304',name:"张三",departmentName:'CF2505070009101362',birthDate:'2025-05-07 16:28',practitionerName:'张三',practitionerName:'王东收费',clinicalName:'布洛芬缓释胶囊',busNo:'yp3065',medicalName:'布洛芬缓释胶囊',ybNo:'XC10AXY097A0010',totalVolume:'0.3g*24',salePrice:'4.8',price:'4.8',totalPrice:'4.8',number:'1盒',totalPrice:'4.8',refundQuantity:'0.00盒',refundPrice:'0.00',lotNumber:'72240709',manufacturerText:'上海信谊天平药业有限公司',supplierName:'旧系统批量'},
- // {busNo:'M2505070009100305',name:"李四",departmentName:'CF2505070009101363',birthDate:'2025-05-07 16:28',practitionerName:'张三',practitionerName:'王东收费',clinicalName:'布洛芬缓释胶囊',busNo:'yp3065',medicalName:'布洛芬缓释胶囊',ybNo:'XC10AXY097A0010',totalVolume:'0.3g*24',salePrice:'4.8',price:'4.8',totalPrice:'4.8',number:'1盒',totalPrice:'4.8',refundQuantity:'0.00盒',refundPrice:'0.00',lotNumber:'72240709',manufacturerText:'上海信谊天平药业有限公司',supplierName:'旧系统批量'},
- // {busNo:'M2505070009100305',name:"李四",departmentName:'CF2505070009101364',birthDate:'2025-05-07 16:28',practitionerName:'张三',practitionerName:'王东收费',clinicalName:'依折麦布片',busNo:'yp3065',medicalName:'依折麦布片',ybNo:'XC10AXY097A0010',totalVolume:'10mg*10',salePrice:'63.56',price:'63.56',totalPrice:'63.56',number:'1盒',totalPrice:'63.56',refundQuantity:'0.00盒',refundPrice:'0.00',lotNumber:'Y013201',manufacturerText:'杭州默沙东制药有限公司',supplierName:'旧系统批量'},
- // {busNo:'M2505070009100305',name:"李四",departmentName:'CF2505070009101365',birthDate:'2025-05-07 16:28',practitionerName:'张三',practitionerName:'王东收费',clinicalName:'布洛芬缓释胶囊',busNo:'yp3065',medicalName:'布洛芬缓释胶囊',ybNo:'XC10AXY097A0010',totalVolume:'0.3g*24',salePrice:'4.8',price:'4.8',totalPrice:'4.8',number:'1盒',totalPrice:'4.8',refundQuantity:'0.00盒',refundPrice:'0.00',lotNumber:'72240709',manufacturerText:'上海信谊天平药业有限公司',supplierName:'旧系统批量'},
- // {busNo:'M2505070009100305',name:"李四",departmentName:'CF2505070009101366',birthDate:'2025-05-07 16:28',practitionerName:'张三',practitionerName:'王东收费',clinicalName:'布洛芬缓释胶囊',busNo:'yp3065',medicalName:'布洛芬缓释胶囊',ybNo:'XC10AXY097A0010',totalVolume:'0.3g*24',salePrice:'4.8',price:'4.8',totalPrice:'4.8',number:'1盒',totalPrice:'4.8',refundQuantity:'0.00盒',refundPrice:'0.00',lotNumber:'72240709',manufacturerText:'上海信谊天平药业有限公司',supplierName:'旧系统批量'},
- // {busNo:'M2505070009100306',name:"王五",departmentName:'CF2505070009101367',birthDate:'2025-05-07 16:28',practitionerName:'张三',practitionerName:'王东收费',clinicalName:'依折麦布片',busNo:'yp3065',medicalName:'依折麦布片',ybNo:'XC10AXY097A0010',totalVolume:'10mg*10',salePrice:'63.56',price:'63.56',totalPrice:'63.56',number:'1盒',totalPrice:'63.56',refundQuantity:'0.00盒',refundPrice:'0.00',lotNumber:'Y013201',manufacturerText:'杭州默沙东制药有限公司',supplierName:'旧系统批量'},
- // {busNo:'M2505070009100306',name:"王五",departmentName:'CF2505070009101368',birthDate:'2025-05-07 16:28',practitionerName:'张三',practitionerName:'王东收费',clinicalName:'布洛芬缓释胶囊',busNo:'yp3065',medicalName:'布洛芬缓释胶囊',ybNo:'XC10AXY097A0010',totalVolume:'0.3g*24',salePrice:'4.8',price:'4.8',totalPrice:'4.8',number:'1盒',totalPrice:'4.8',refundQuantity:'0.00盒',refundPrice:'0.00',lotNumber:'72240709',manufacturerText:'上海信谊天平药业有限公司',supplierName:'旧系统批量'},
- // {busNo:'M2505070009100306',name:"王五",departmentName:'CF2505070009101369',birthDate:'2025-05-07 16:28',practitionerName:'张三',practitionerName:'王东收费',clinicalName:'布洛芬缓释胶囊',busNo:'yp3065',medicalName:'布洛芬缓释胶囊',ybNo:'XC10AXY097A0010',totalVolume:'0.3g*24',salePrice:'4.8',price:'4.8',totalPrice:'4.8',number:'1盒',totalPrice:'4.8',refundQuantity:'0.00盒',refundPrice:'0.00',lotNumber:'72240709',manufacturerText:'上海信谊天平药业有限公司',supplierName:'旧系统批量'},
- // {busNo:'M2505070009100307',name:"赵六",departmentName:'CF2505070009101368',birthDate:'2025-05-07 16:28',practitionerName:'张三',practitionerName:'王东收费',clinicalName:'布洛芬缓释胶囊',busNo:'yp3065',medicalName:'布洛芬缓释胶囊',ybNo:'XC10AXY097A0010',totalVolume:'0.3g*24',salePrice:'4.8',price:'4.8',totalPrice:'4.8',number:'1盒',totalPrice:'4.8',refundQuantity:'0.00盒',refundPrice:'0.00',lotNumber:'72240709',manufacturerText:'上海信谊天平药业有限公司',supplierName:'旧系统批量'},
- // {busNo:'M2505070009100307',name:"赵六",departmentName:'CF2505070009101369',birthDate:'2025-05-07 16:28',practitionerName:'张三',practitionerName:'王东收费',clinicalName:'布洛芬缓释胶囊',busNo:'yp3065',medicalName:'布洛芬缓释胶囊',ybNo:'XC10AXY097A0010',totalVolume:'0.3g*24',salePrice:'2.8',price:'2.8',totalPrice:'2.8',number:'1盒',totalPrice:'2.8',refundQuantity:'0.00盒',refundPrice:'0.00',lotNumber:'72240709',manufacturerText:'上海信谊天平药业有限公司',supplierName:'旧系统批量'},
- // ]
- var totalPrice2 = 0;
- // var refundPrice2 = 0
- // var purchaseinventoryLists = []
- // var purchaseinventoryListsArray = []
- getReportChargePage(queryParams.value).then((res) => {
- console.log('API返回数据:', res.data.records && res.data.records.length > 0 ? res.data.records[0] : {}); // 调试日志
- // purchaseinventoryLists = res.data.records||[] //转换数据结构
- // if(purchaseinventoryLists.length>0){
- // purchaseinventoryLists.map(p=>{
- // purchaseinventoryListsArray = [...purchaseinventoryListsArray, ...p.reportPageItemDto]
- // // purchaseinventoryList.value.concat(p.reportPageItemDto)
- // })
- // }
- // purchaseinventoryList.value = purchaseinventoryListsArray
- purchaseinventoryList.value = res.data.records || [];
- total.value = res.data.total;
- purchaseinventoryList.value.map((k) => {
- k.totalPrice = k.totalPrice ? k.totalPrice.toFixed(4) : '0.0000';
- k.price = k.price ? k.price.toFixed(4) : '0.0000';
- // k.refundPrice = k.refundPrice || '0.00'
- k.number = k.number
- ? k.number + (k.quantityUnit_dictText ? k.quantityUnit_dictText : '')
- : '0.0000' + k.quantityUnit_dictText
- ? k.quantityUnit_dictText
- : '';
- // k.refundQuantity = k.refundQuantity?(k.refundQuantity+k.refundUnitCode_dictText):('0.00'+ k.quantityUnit_dictText)
- if (total.value && total.value <= queryParams.value.pageSize) {
- totalPrice2 += Number(k.totalPrice);
- // refundPrice2 += Number(k.refundPrice)
- }
- });
- if (total.value <= res.data.size) {
- loading.value = false;
- }
- // 1页数据
- if (total.value && total.value <= queryParams.value.pageSize) {
- totalPrice2 = totalPrice2 ? totalPrice2.toFixed(4) : totalPrice2;
- // refundPrice2 = refundPrice2?refundPrice2.toFixed(4):refundPrice2
- let pageNoAll = total.value / queryParams.value.pageSize;
-=======
var totalPrice2 = 0;
// 构建请求参数(自动排除undefined/null属性)
@@ -997,31 +729,11 @@ function getList(type) {
totalPrice2 = totalPrice2 ? totalPrice2.toFixed(4) : totalPrice2;
let pageNoAll = total.value / queryParams.value.pageSize;
->>>>>>> v1.3
if (Math.ceil(pageNoAll) == queryParams.value.pageNo) {
purchaseinventoryList.value.push({ departmentName: '合计', totalPrice: totalPrice2 });
}
}
-<<<<<<< HEAD
- // 带分页数据
- if (total.value && total.value > queryParams.value.pageSize) {
- // var purchaseinventoryListsAll = []
- // var purchaseinventoryListsArrayAll = []
- let queryParamsValue = { ...queryParams.value };
- queryParamsValue.pageSize = total.value;
- queryParamsValue.pageNo = 1;
- getReportChargePage(queryParamsValue).then((res) => {
- // purchaseinventoryListsAll = res.data.records||[]
- // if(purchaseinventoryListsAll.length>0){
- // purchaseinventoryListsAll.map(p=>{
- // purchaseinventoryListsArrayAll = [...purchaseinventoryListsArrayAll, ...p.reportPageItemDto]
- // // purchaseinventoryList.value.concat(p.reportPageItemDto)
- // })
- // }
- // purchaseinventoryListAll.value = purchaseinventoryListsArrayAll
- purchaseinventoryListAll.value = res.data.records || [];
-=======
// 多页数据处理
if (total.value && total.value > queryParams.value.pageSize && !queryParams.value.searchKey) {
let queryParamsValue = { ...queryParams.value };
@@ -1038,26 +750,10 @@ function getList(type) {
getReportChargePage(queryParamsValue).then((res) => {
purchaseinventoryListAll.value = res.data.records || [];
->>>>>>> v1.3
if (purchaseinventoryListAll.value.length > 0) {
purchaseinventoryListAll.value.map((k, index) => {
k.totalPrice = k.totalPrice ? k.totalPrice.toFixed(4) : '0.0000';
k.price = k.price ? k.price.toFixed(4) : '0.0000';
-<<<<<<< HEAD
- // k.refundPrice = k.refundPrice || '0.00'
- k.number = k.number
- ? k.number + k.quantityUnit_dictText
- ? k.quantityUnit_dictText
- : ''
- : '0.0000' + k.quantityUnit_dictText
- ? k.quantityUnit_dictText
- : '';
- // k.refundQuantity = k.refundQuantity?(k.refundQuantity+k.refundUnitCode_dictText):('0.00'+ k.quantityUnit_dictText)
- totalPrice2 += Number(k.totalPrice);
- // refundPrice2 += Number(k.refundPrice)
- //处理不同页门诊号相同小计在最后回显问题start
- // m>>>>>> v1.3
for (let m = 1; m < index; m++) {
if (
queryParams.value.pageNo > 1 &&
index == queryParams.value.pageSize * (queryParams.value.pageNo - 1) &&
k.busNo == purchaseinventoryListAll.value[index - m]?.busNo
) {
-<<<<<<< HEAD
- // purchaseinventoryList.value.unshift(purchaseinventoryListAll.value[index-m]) // 加
- // //修改计算的小计缺少加过来的部分
- let dispenseNoIndex1 = purchaseinventoryList.value.findIndex(
- (o) =>
- o.departmentName == '小计' &&
- o.busNo == purchaseinventoryListAll.value[index - m].busNo
-=======
let dispenseNoIndex1 = purchaseinventoryList.value.findIndex(
(o) => o.departmentName == '小计' && o.busNo == purchaseinventoryListAll.value[index - m].busNo
->>>>>>> v1.3
);
if (dispenseNoIndex1 > 0) {
purchaseinventoryList.value[dispenseNoIndex1].totalPrice =
-<<<<<<< HEAD
- Number(purchaseinventoryList.value[dispenseNoIndex1].totalPrice) +
- Number(purchaseinventoryListAll.value[index - m].totalPrice);
- purchaseinventoryList.value[dispenseNoIndex1].totalPrice = purchaseinventoryList
- .value[dispenseNoIndex1].totalPrice
- ? purchaseinventoryList.value[dispenseNoIndex1].totalPrice.toFixed(4)
- : '0.0000';
- }
- }
-=======
(Number(purchaseinventoryList.value[dispenseNoIndex1].totalPrice) +
Number(purchaseinventoryListAll.value[index - m].totalPrice)).toFixed(4) || '0.0000';
}
}
->>>>>>> v1.3
if (
index + m == queryParams.value.pageSize * queryParams.value.pageNo &&
k.busNo == purchaseinventoryListAll.value[index + m]?.busNo
@@ -1111,22 +786,6 @@ function getList(type) {
purchaseinventoryList.value[purchaseinventoryList.value.length - 1]
.departmentName == '小计'
) {
-<<<<<<< HEAD
- purchaseinventoryList.value.splice(purchaseinventoryList.value.length - 1, 1); // 减掉第二页还有相同门诊号的第一页的小计
- }
- // let dispenseNoIndex = purchaseinventoryList.value.findIndex(o=>o.paymentId==k.paymentId&&o.chargeId==k.chargeId) //通过唯一主键进行区分
- // purchaseinventoryList.value.splice(dispenseNoIndex,1) // 减
- // if(purchaseinventoryList.value[dispenseNoIndex-1]&&purchaseinventoryList.value[dispenseNoIndex-1].departmentName=='小计'){
- // purchaseinventoryList.value.splice(dispenseNoIndex+1,1) // 减掉带小计的
- // }
- }
- }
- // end
- });
- totalPrice2 = totalPrice2 ? totalPrice2.toFixed(4) : totalPrice2;
- // refundPrice2 = refundPrice2?refundPrice2.toFixed(4):refundPrice2
- loading.value = false;
-=======
purchaseinventoryList.value.splice(purchaseinventoryList.value.length - 1, 1);
}
}
@@ -1136,7 +795,6 @@ function getList(type) {
totalPrice2 = totalPrice2 ? totalPrice2.toFixed(4) : totalPrice2;
loading.value = false;
->>>>>>> v1.3
let pageNoAll = total.value / queryParams.value.pageSize;
if (Math.ceil(pageNoAll) == queryParams.value.pageNo) {
purchaseinventoryList.value.push({ departmentName: '合计', totalPrice: totalPrice2 });
@@ -1147,40 +805,24 @@ function getList(type) {
});
}
-<<<<<<< HEAD
-/** 搜索按钮操作 */
-=======
// 查询按钮点击事件
->>>>>>> v1.3
function handleQuery() {
queryParams.value.chargeTimeSTime =
occurrenceTime.value && occurrenceTime.value.length == 2
? occurrenceTime.value[0] + ' 00:00:00'
: '';
-<<<<<<< HEAD
-=======
->>>>>>> v1.3
queryParams.value.chargeTimeETime =
occurrenceTime.value && occurrenceTime.value.length == 2
? occurrenceTime.value[1] + ' 23:59:59'
: '';
-<<<<<<< HEAD
-=======
->>>>>>> v1.3
queryParams.value.pageNo = 1;
getList(1);
}
// 重置按钮点击事件
function handleClear() {
-<<<<<<< HEAD
- // 清空查询条件
- occurrenceTime.value = '';
- queryParams.value.chargeTimeSTime = '';
- queryParams.value.chargeTimeETime = '';
-=======
occurrenceTime.value = [];
queryParams.value.chargeTimeSTime = '';
queryParams.value.chargeTimeETime = '';
@@ -1194,7 +836,6 @@ function handleClear() {
queryParams.value.activityCategoryCode = undefined;
selectedTypeIds.value = [];
->>>>>>> v1.3
proxy.resetForm('queryRef');
getList(1);
}
@@ -1206,28 +847,15 @@ function handleSelectionChange(selection) {
multiple.value = !selection.length;
}
-<<<<<<< HEAD
-// 初始化日期范围为当前月第一天到今天
-=======
// 初始化日期范围为当月
->>>>>>> v1.3
function initDefaultDateRange() {
const now = new Date();
const year = now.getFullYear();
const month = now.getMonth();
-<<<<<<< HEAD
- // 当前月第一天
- const firstDay = new Date(year, month, 1);
- // 今天
- const today = now;
-
- // 格式化为YYYY-MM-DD格式
-=======
const firstDay = new Date(year, month, 1);
const today = now;
->>>>>>> v1.3
const formatDate = (date) => {
const y = date.getFullYear();
const m = String(date.getMonth() + 1).padStart(2, '0');
@@ -1237,16 +865,10 @@ function initDefaultDateRange() {
occurrenceTime.value = [formatDate(firstDay), formatDate(today)];
-<<<<<<< HEAD
- // 同时设置到queryParams中,确保首次加载时传递时间参数
-=======
->>>>>>> v1.3
queryParams.value.chargeTimeSTime = occurrenceTime.value[0] + ' 00:00:00';
queryParams.value.chargeTimeETime = occurrenceTime.value[1] + ' 23:59:59';
}
-<<<<<<< HEAD
-=======
// 导出Excel
function handleExport() {
// 构建导出参数(移除分页参数)
@@ -1268,7 +890,6 @@ function handleExport() {
);
}
->>>>>>> v1.3
// 初始化页面
getPharmacyCabinetLists();
initDefaultDateRange();
diff --git a/openhis-ui-vue3/src/views/medicationmanagement/statisticalManagement/patientDetails.vue b/openhis-ui-vue3/src/views/medicationmanagement/statisticalManagement/patientDetails.vue
index 39ea329e..1784a5e1 100644
--- a/openhis-ui-vue3/src/views/medicationmanagement/statisticalManagement/patientDetails.vue
+++ b/openhis-ui-vue3/src/views/medicationmanagement/statisticalManagement/patientDetails.vue
@@ -1,7 +1,5 @@
-<<<<<<< HEAD
-=======
导出
->>>>>>> v1.3
>>>>>> v1.3
:show-overflow-tooltip="true"
/>
>>>>>> v1.3
:show-overflow-tooltip="true"
/>
>>>>>> v1.3
:show-overflow-tooltip="true"
/>
>>>>>> v1.3
:show-overflow-tooltip="true"
/>
-
>>>>>> v1.3
label="生产企业"
align="center"
key="manufacturerText"
prop="manufacturerText"
-<<<<<<< HEAD
- width="100"
-=======
width="240"
->>>>>>> v1.3
:show-overflow-tooltip="true"
/>
>>>>>> v1.3
:show-overflow-tooltip="true"
/>
>>>>>> v1.3
:show-overflow-tooltip="true"
/>
>>>>>> v1.3
:show-overflow-tooltip="true"
/>
@@ -205,35 +163,16 @@
-=======
->>>>>>> v1.3
\ No newline at end of file
diff --git a/openhis-ui-vue3/src/views/medicationmanagement/statisticalManagement/patientMasterDetails.vue b/openhis-ui-vue3/src/views/medicationmanagement/statisticalManagement/patientMasterDetails.vue
index 0e9c03da..8097f397 100644
--- a/openhis-ui-vue3/src/views/medicationmanagement/statisticalManagement/patientMasterDetails.vue
+++ b/openhis-ui-vue3/src/views/medicationmanagement/statisticalManagement/patientMasterDetails.vue
@@ -148,13 +148,8 @@ const queryParams = ref({
pageNo: 1,
pageSize: 10,
searchKey: undefined,
-<<<<<<< HEAD
- occurrenceTimeSTime: undefined,
- occurrenceTimeETime: undefined,
-=======
encounterBusNo: undefined,
patientName: undefined,
->>>>>>> v1.3
});
/** 查询调拨管理项目列表 */
diff --git a/openhis-ui-vue3/src/views/medicationmanagement/statisticalManagement/statisticalManagent.js b/openhis-ui-vue3/src/views/medicationmanagement/statisticalManagement/statisticalManagent.js
index 1fc07ca5..c4796e95 100644
--- a/openhis-ui-vue3/src/views/medicationmanagement/statisticalManagement/statisticalManagent.js
+++ b/openhis-ui-vue3/src/views/medicationmanagement/statisticalManagement/statisticalManagent.js
@@ -313,20 +313,11 @@ export function ybRequestFileUp(data) {
});
}
export function getExpirationWarning(query) {
-<<<<<<< HEAD
- // return request({
- // url: '/inventory-manage/product/expiration-warning',
- // method: 'get',
- // params: query
- // })
- return null;
-=======
return request({
url: '/inventory-manage/product/expiration-warning',
method: 'get',
params: query,
});
->>>>>>> v1.3
}
export function getClroptins(query) {
return request({
@@ -401,13 +392,6 @@ export function handOperatedApplyReconcileAccounts(data) {
}
export function productPageTotal(query) {
-<<<<<<< HEAD
- return request({
- url: '/inventory-manage/product/product-statistics',
- method: 'get',
- params: query
- })
-=======
return request({
url: '/inventory-manage/product/product-statistics',
method: 'get',
@@ -420,7 +404,6 @@ export function productBackupPageTotal(query) {
method: 'get',
params: query,
});
->>>>>>> v1.3
}
export function getMedDevInfo(query) {
@@ -440,239 +423,123 @@ export function getMedDevAll(query) {
}
export function getReportStocktakingPageAuto(query) {
-<<<<<<< HEAD
- return request({
- url: '/report-manage/stocktaking/report-stocktaking-page-auto',
- method: 'get',
- params: query
- })
-=======
return request({
url: '/report-manage/stocktaking/report-stocktaking-page-auto',
method: 'get',
params: query,
});
->>>>>>> v1.3
}
//报表导出
export function exportRecords(params) {
-<<<<<<< HEAD
- return request({
- url: '/pharmacy-manage/medication-details/excel-out',
- method: 'get',
- params: qparamsuery
- })
-
-=======
return request({
url: '/pharmacy-manage/medication-details/excel-out',
method: 'get',
params: qparamsuery,
});
->>>>>>> v1.3
}
//查看单据详情
export function getDocumentDetails(params) {
-<<<<<<< HEAD
- return request({
- url: '/inventory-manage/purchase/inventory-receipt',
- method: 'get',
- params: params
- })
-
-=======
return request({
url: '/inventory-manage/purchase/inventory-receipt',
method: 'get',
params: params,
});
->>>>>>> v1.3
}
//药剂科报表_常规报表:出库明细表(例子)
export function getStockOutDetail(query) {
-<<<<<<< HEAD
- return request({
- url: '/report-manage/report/stock-out-detail-page',
- method: 'get',
- params: query
- })
-
-=======
return request({
url: '/report-manage/report/stock-out-detail-page',
method: 'get',
params: query,
});
->>>>>>> v1.3
}
//查询患者明细主报表--20251106追加
export function getReportPatientMasterDetail(query) {
-<<<<<<< HEAD
- return request({
- url: '/report-manage/report/patient-master-detail',
- method: 'get',
- params: query
- })
-=======
return request({
url: '/report-manage/report/patient-master-detail',
method: 'get',
params: query,
});
->>>>>>> v1.3
}
//线下采购占比报表--20251106追加
export function getReportOfflinePurchaseRatio(query) {
-<<<<<<< HEAD
- return request({
- url: '/report-manage/report/offline-purchase-ratio',
- method: 'get',
- params: query
- })
-=======
return request({
url: '/report-manage/report/offline-purchase-ratio',
method: 'get',
params: query,
});
->>>>>>> v1.3
}
//药品使用情况报表--20251106追加
export function getReportMedicationUsage(query) {
-<<<<<<< HEAD
- return request({
- url: '/report-manage/report/medication-usage',
- method: 'get',
- params: query
- })
-=======
return request({
url: '/report-manage/report/medication-usage',
method: 'get',
params: query,
});
->>>>>>> v1.3
}
//查询患者明细报表--20251106追加
export function getReportPatientDetails(query) {
-<<<<<<< HEAD
- return request({
- url: '/report-manage/report/patient-details',
- method: 'get',
- params: query
- })
-=======
return request({
url: '/report-manage/report/patient-details',
method: 'get',
params: query,
});
->>>>>>> v1.3
}
//药剂科报表:药品费用增长率--20251106追加
export function getDrugExpensesGrowthRate(query) {
-<<<<<<< HEAD
- return request({
- url: '/report-manage/report/drug-expenses-growth-rate',
- method: 'get',
- params: query
- })
-=======
return request({
url: '/report-manage/report/drug-expenses-growth-rate',
method: 'get',
params: query,
});
->>>>>>> v1.3
}
//药剂科报表:30天回款率--20251106追加
export function getThirtyDayCollectionRate(query) {
-<<<<<<< HEAD
- return request({
- url: '/report-manage/report/thirty-day-collection-rate',
- method: 'get',
- params: query
- })
-=======
return request({
url: '/report-manage/report/thirty-day-collection-rate',
method: 'get',
params: query,
});
->>>>>>> v1.3
}
//药剂科报表:基本情况--20251106追加
export function getReportBasicInformationDetails(query) {
-<<<<<<< HEAD
- return request({
- url: '/report-manage/report/basic-information-details',
- method: 'get',
- params: query
- })
-=======
return request({
url: '/report-manage/report/basic-information-details',
method: 'get',
params: query,
});
->>>>>>> v1.3
}
//药剂科报表:药品出库情况--20251106追加
export function getReportMedicationStockOutDetails(query) {
-<<<<<<< HEAD
- return request({
- url: '/report-manage/report/medication-stock-out-details',
- method: 'get',
- params: query
- })
-=======
return request({
url: '/report-manage/report/medication-stock-out-details',
method: 'get',
params: query,
});
->>>>>>> v1.3
}
//药剂科报表:产品使用情况--20251106追加
export function getReportProductUsageDetails(query) {
-<<<<<<< HEAD
- return request({
- url: '/report-manage/report/product-usage-details',
- method: 'get',
- params: query
- })
-=======
return request({
url: '/report-manage/report/product-usage-details',
method: 'get',
params: query,
});
->>>>>>> v1.3
}
//药剂科报表:非中选产品采购量占比--20251106追加
export function getReportNonWinQtyRatio(query) {
-<<<<<<< HEAD
- return request({
- url: '/report-manage/report/non-win-qty-ratio',
- method: 'get',
- params: query
- })
-}
-
-=======
return request({
url: '/report-manage/report/non-win-qty-ratio',
method: 'get',
@@ -741,4 +608,3 @@ export function tracePatient(query) {
params: query,
});
}
->>>>>>> v1.3
diff --git a/openhis-ui-vue3/src/views/medicationmanagement/statisticalManagement/traceabilityCodeManagement.vue b/openhis-ui-vue3/src/views/medicationmanagement/statisticalManagement/traceabilityCodeManagement.vue
index ab82b81a..cc00b29c 100644
--- a/openhis-ui-vue3/src/views/medicationmanagement/statisticalManagement/traceabilityCodeManagement.vue
+++ b/openhis-ui-vue3/src/views/medicationmanagement/statisticalManagement/traceabilityCodeManagement.vue
@@ -169,15 +169,7 @@ import traceabilityPersonInfo from './traceabilityPersonInfo.vue';
const { proxy } = getCurrentInstance();
-<<<<<<< HEAD
-const {
- item_category_code,
-} = proxy.useDict(
- "item_category_code",
-);
-=======
const { item_category_code } = proxy.useDict('item_category_code');
->>>>>>> v1.3
const purchaseinventoryList = ref([]);
const loading = ref(true);
diff --git a/openhis-ui-vue3/src/views/medicationmanagement/transferManagent/batchTransfer/index.vue b/openhis-ui-vue3/src/views/medicationmanagement/transferManagent/batchTransfer/index.vue
index 411478e9..eb9e89cf 100644
--- a/openhis-ui-vue3/src/views/medicationmanagement/transferManagent/batchTransfer/index.vue
+++ b/openhis-ui-vue3/src/views/medicationmanagement/transferManagent/batchTransfer/index.vue
@@ -1,11 +1,6 @@
-<<<<<<< HEAD
-
-
-=======
->>>>>>> v1.3
-<<<<<<< HEAD
-=======
->>>>>>> v1.3
>>>>>> v1.3
const tagsViewStore = useTagsViewStore();
const store = useStore();
const router = useRouter();
@@ -600,16 +584,7 @@ const forms = reactive({
});
const receiptHeaderForm = reactive({
busNo: undefined,
-<<<<<<< HEAD
- occurrence_time: formatDate(new Date()),
- sourceTypeEnum: 16, // 默认药房类型
- purposeTypeEnum: 16, // 默认药房类型
- sourceLocationId: '',
- purposeLocationId: '',
- medicationType: '',
-=======
occurrenceTime: formatDate(new Date()),
->>>>>>> v1.3
});
const data = reactive({
@@ -654,25 +629,9 @@ const data = reactive({
});
const { queryParams, rules, tableRules } = toRefs(data);
-<<<<<<< HEAD
-const purposeTypeListOptions = ref([]);
-const sourceTypeListOptions = ref([]);
-// 立即初始化模拟仓库数据
-const mockWarehouses = [
- { id: '1', name: '药房1号' },
- { id: '2', name: '药房2号' },
- { id: '3', name: '药房3号' },
- { id: '4', name: '中心药房' },
- { id: '5', name: '门诊药房' }
-];
-// 设置模拟数据到仓库列表选项
-// 通过onMounted中调用的handleChangeSourceTypeEnum和handleChangePurposeTypeEnum函数动态获取仓库数据
-const sourceLocationStoreIdListOptions = ref(undefined);
-=======
const purposeTypeListOptions = ref(undefined);
const sourceTypeListOptions = ref(undefined);
const sourceLocationStoreIdListOptions = ref(undefined);
->>>>>>> v1.3
const purposeLocationStoreIdListOptions = ref(undefined);
const categoryListOptions = ref(undefined);
@@ -712,143 +671,6 @@ watch(
{ immediate: true }
);
-<<<<<<< HEAD
-// 挂载时绑定事件
-onMounted(() => {
- document.addEventListener("click", handleClickOutside);
- // 初始化仓库数据,默认加载药房类型(16)的仓库
- handleChangeSourceTypeEnum(receiptHeaderForm.sourceTypeEnum, 1);
- handleChangePurposeTypeEnum(receiptHeaderForm.purposeTypeEnum, 1);
-});
-
-// 卸载时移除事件
-onUnmounted(() => {
- document.removeEventListener("click", handleClickOutside);
-});
-
-function addNewRow() {
- proxy.$refs["receiptHeaderRef"].validate((valid) => {
- if (valid) {
- if (data.isAdding) {
- proxy.$message.warning("请先保存当前行后再新增!");
- return;
- }
- const newRow = {
- id: "",
- supplyBusNo:"",
- occurrence_time:"",
- typeEnum_enumText:"",
- statusEnum_enumText:"",
- sourceLocationId:"", // 源仓库
- purposeLocationId:"", //目的仓库
- sourceLocationName:"",
- purposeLocationName:"",
- approverId_dictText:"",
- applicantId_dictText:"",
- approvalTime:"",
- createTime:"",
- itemTable: "",
- itemQuantity: "",
- itemMaxQuantity:"",
- itemId: "",
- unitCode: "",
- remake: "",
- supplierId: "",
- purposeTypeEnum: "",
- purposeLocationId: null,
- purposeLocationStoreId: null,
- practitionerId: "",
- traceNo: "",
- invoiceNo: "",
- startTime: "",
- endTime: "",
- price: "",
- totalPrice: "",
- objQuantity:"",
- orgQuantity:"",
- // sellPrice: "",
- // minSellPrice: "",
- // locationInventoryList: [{value:1,label:'药房'},{value:2,label:'仓库'}], // 库房列表
- unitList: {}, // 单位列表
- isEditing: true, // 标记当前行是否正在编辑
- error: false, // 新增 error 字段
- isSave: false, // 当前行是否保存
- };
- form.purchaseinventoryList.push(newRow);
- data.isAdding = true; // 设置标志位为 true,表示有未保存的
- }
- });
-}
-
-function handleBlur(row, index) {
- let hasError = false;
- for (let key in row) {
- if(!row[key]){
- if(key=='itemQuantity'||key=='totalSourceQuantity'||key=='totalPurposeQuantity'||key=='price'||key=='totalPrice'){
- row[key] = 0
- }else{
- row[key] = ''
- }
- }
- }
- if(receiptHeaderForm.medicationType){
- if(!row.itemTable){
- if (receiptHeaderForm.medicationType == 1) {
- row.itemTable = "med_medication_definition";
- } else {
- console.log('Unknown warehouse type:', value);
- row.itemTable = "adm_device_definition";
- }
- }
- }
- row.sourceLocationId =receiptHeaderForm.sourceLocationId
- row.sourceLocationStoreId = receiptHeaderForm.sourceLocationStoreId;
- row.purposeLocationId = receiptHeaderForm.purposeLocationId
- row.purposeLocationStoreId = receiptHeaderForm.purposeLocationStoreId;
- row.busNo = receiptHeaderForm.busNo;
- row.applyTime = formatDate(row.applyTime)
- row.startTime = formatDateymd(row.startTime)
- row.endTime = formatDateymd(row.endTime)
- row.occurrence_time = receiptHeaderForm.occurrence_time;
-
- let sourceTypeEnum = warehous_type.value.filter(e=>{return e.label==receiptHeaderForm.sourceTypeEnum})
-
- row.sourceTypeEnum = (sourceTypeEnum&&sourceTypeEnum[0])?sourceTypeEnum[0].value:receiptHeaderForm.sourceTypeEnum
- let purposeTypeEnum = warehous_type.value.filter(e=>{return e.label==receiptHeaderForm.purposeTypeEnum})
-
- row.purposeTypeEnum = (purposeTypeEnum&&purposeTypeEnum[0])?purposeTypeEnum[0].value:receiptHeaderForm.purposeTypeEnum
-
- let sourceLocationId = sourceTypeListOptions.value.filter(e=>{return e.name==receiptHeaderForm.sourceLocationId})
- row.sourceLocationId = (sourceLocationId&&sourceLocationId[0])?sourceLocationId[0].id:receiptHeaderForm.sourceLocationId
-
- let purposeLocationId = purposeTypeListOptions.value.filter(e=>{return e.name==receiptHeaderForm.purposeLocationId})
- row.purposeLocationId = (purposeLocationId&&purposeLocationId[0])?purposeLocationId[0].id:receiptHeaderForm.purposeLocationId
-
- row.applicantId = userStore.id;
-}
-
-// 取消行编辑
-function cancelEditRow(){
- const findIndexId = form.purchaseinventoryList.findIndex(e=>e.id==currentRow.value.id)
- form.purchaseinventoryList[findIndexId] = {}
-}
-// 点击行时记录当前行
-function handleRowClick(row) {
- // getMedicineList({ itemId: row.itemId,sourceLocationId:row.sourceLocationId,purposeLocationId:row.purposeLocationId }).then((res) => {
- // });
- currentRow.value = row;
-}
-
-// 监听表格外的点击事件
-function handleClickOutside(event) {
- // if (tableRef.value && !tableRef.value.$el.contains(event.target)) {
- // if (currentRow.value) {
- // handleSave(currentRow.value);
- // currentRow.value = null; // 清空当前行
- // }
- // }
-}
-=======
// 监听路由变化
watch(
() => route.query,
@@ -877,7 +699,6 @@ watch(
},
{ immediate: true }
);
->>>>>>> v1.3
function handelApply() {
pageLoading.value = true;
@@ -936,19 +757,6 @@ function handleSubmitApproval() {
}
// 切换仓库类型获取药房/药库列表 目的仓库切换
-<<<<<<< HEAD
-function handleChangePurposeTypeEnum(value,type) {
- console.log('handleChangePurposeTypeEnum called with value:', value, 'type:', type);
- receiptHeaderForm.purposeLocationId = '';
- if(value === 16){ // 药房类型
- getPharmacyList().then(res => {
- console.log('getPharmacyList response:', res);
- if (res && res.data) {
- purposeTypeListOptions.value = res.data;
- if(!type && res.data.length > 0) {
- receiptHeaderForm.purposeLocationId = res.data[0].id;
- }
-=======
function handleChangePurposeTypeEnum(value, type) {
if (value == 16) {
getPharmacyList().then((res) => {
@@ -956,28 +764,16 @@ function handleChangePurposeTypeEnum(value, type) {
if (!route.query.supplyBusNo && !type) {
receiptHeaderForm.purposeLocationId = '';
receiptHeaderForm.purposeLocationId1 = '';
->>>>>>> v1.3
}
}).catch(error => {
console.error('Error fetching pharmacy list:', error);
});
-<<<<<<< HEAD
- } else if(value === 17){ // 药库类型
- getDispensaryList().then(res => {
- console.log('getDispensaryList response:', res);
- if (res && res.data) {
- purposeTypeListOptions.value = res.data;
- if(!type && res.data.length > 0) {
- receiptHeaderForm.purposeLocationId = res.data[0].id;
- }
-=======
} else if (value == 11) {
getDispensaryList().then((res) => {
purposeTypeListOptions.value = res.data;
if (!route.query.supplyBusNo && !type) {
receiptHeaderForm.purposeLocationId = '';
receiptHeaderForm.purposeLocationId1 = '';
->>>>>>> v1.3
}
}).catch(error => {
console.error('Error fetching dispensary list:', error);
@@ -986,20 +782,6 @@ function handleChangePurposeTypeEnum(value, type) {
purposeTypeListOptions.value = [];
}
}
-<<<<<<< HEAD
- // 源仓库切换
-function handleChangeSourceTypeEnum(value,type) {
- console.log('handleChangeSourceTypeEnum called with value:', value, 'type:', type);
- receiptHeaderForm.sourceLocationId = '';
- if(value === 16){ // 药房类型
- getPharmacyList().then(res => {
- console.log('getPharmacyList response:', res);
- if (res && res.data) {
- sourceTypeListOptions.value = res.data;
- if(!type && res.data.length > 0) {
- receiptHeaderForm.sourceLocationId = res.data[0].id;
- }
-=======
// 源仓库切换
function handleChangeSourceTypeEnum(value, type) {
if (value == 16) {
@@ -1008,28 +790,16 @@ function handleChangeSourceTypeEnum(value, type) {
if (!route.query.supplyBusNo && !type) {
receiptHeaderForm.sourceLocationId = '';
receiptHeaderForm.sourceLocationId1 = '';
->>>>>>> v1.3
}
}).catch(error => {
console.error('Error fetching pharmacy list:', error);
});
-<<<<<<< HEAD
- } else if(value === 17){ // 药库类型
- getDispensaryList().then(res => {
- console.log('getDispensaryList response:', res);
- if (res && res.data) {
- sourceTypeListOptions.value = res.data;
- if(!type && res.data.length > 0) {
- receiptHeaderForm.sourceLocationId = res.data[0].id;
- }
-=======
} else if (value == 11) {
getDispensaryList().then((res) => {
sourceTypeListOptions.value = res.data;
if (!route.query.supplyBusNo && !type) {
receiptHeaderForm.sourceLocationId = '';
receiptHeaderForm.sourceLocationId1 = '';
->>>>>>> v1.3
}
}).catch(error => {
console.error('Error fetching dispensary list:', error);
@@ -1440,52 +1210,6 @@ function getTransferProductTypeList() {
categoryListOptions.value = response.data.categoryListOptions;
});
}
-<<<<<<< HEAD
-function getBusNoInitList() {
- if(route.query.supplyBusNo||(forms.purchaseinventoryList&&forms.purchaseinventoryList[0]&&forms.purchaseinventoryList[0].id)){ // 编辑
- store.clearCurrentDataPLDB()
- store.clearCurrentDataPLDBAll()
- receiptHeaderForm.busNo = route.query.supplyBusNo?route.query.supplyBusNo:receiptHeaderForm.busNo
- viewStatus.value = route.query.view
- data.isEdit = true;
- queryParams.value.busNo = receiptHeaderForm.busNo
- getTransferProductDetail(queryParams.value).then((res) => {
- form.purchaseinventoryList = res.data.records?res.data.records:res.data
- receiptHeaderForm.occurrenceTime = res.data.records[0].occurrenceTime ? formatDate(res.data.records[0].occurrenceTime) : new Date()
- total.value = res.data.total
- getDetail(1)
- getAllBatchList(2)
- })
- sessionStorage.setItem('busNopl',"")
- }else{ //新增
- data.isEdit = false;
- if(!sessionStorage.getItem('busNopl')){
- store.clearCurrentDataPLDB()
- store.clearCurrentDataPLDBAll()
- getBusNoInit().then((response) => {
- receiptHeaderForm.busNo = response.data.busNo;
- sessionStorage.setItem('busNopl', receiptHeaderForm.busNo)
- })
- }else{
- receiptHeaderForm.busNo = sessionStorage.getItem('busNopl')
- }
- }
-}
-
-// 初始化函数
-function initComponent() {
- console.log('initComponent called');
- getTransferProductTypeList();
- getBusNoInitList();
-
- console.log('组件初始化完成,仓库列表数据已预先设置');
-}
-
-
-
-// 调用初始化函数
-initComponent();
-=======
getTransferProductTypeList();
// 导出
@@ -1503,7 +1227,6 @@ function handleExport() {
`批量调拨单据明细记录_${proxy.formatDateStr(new Date(), 'YYYY-MM-DD')}.xlsx`
);
}
->>>>>>> v1.3
-=======
import { reactive, ref, watch } from 'vue';
const props = defineProps({
registerForm: {
@@ -888,4 +448,3 @@ const validateData = async (callback) => {
defineExpose({ validateData, submitForm, resetForm });
->>>>>>> v1.3
diff --git a/openhis-ui-vue3/src/views/ybmanagement/inhospital/register/index.vue b/openhis-ui-vue3/src/views/ybmanagement/inhospital/register/index.vue
index 74f7a827..5ea795c4 100644
--- a/openhis-ui-vue3/src/views/ybmanagement/inhospital/register/index.vue
+++ b/openhis-ui-vue3/src/views/ybmanagement/inhospital/register/index.vue
@@ -1,36 +1,5 @@
-<<<<<<< HEAD
-
-
-
-
-
-
-
-
-
-
-
-
-
-=======
->>>>>>> v1.3
diff --git a/openhis-ui-vue3/vite.config.js b/openhis-ui-vue3/vite.config.js
index c03b1ebb..d601f1c9 100644
--- a/openhis-ui-vue3/vite.config.js
+++ b/openhis-ui-vue3/vite.config.js
@@ -19,11 +19,7 @@ export default defineConfig(({ mode, command }) => {
// 部署生产环境和开发环境下的URL。
// 默认情况下,vite 会假设你的应用是被部署在一个域名的根路径上
// 例如 https://www.openHIS.vip/。如果应用被部署在一个子路径上,你就需要用这个选项指定这个子路径。例如,如果你的应用被部署在 https://www.openhis.vip/admin/,则设置 baseUrl 为 /admin/。
-<<<<<<< HEAD
- base: VITE_APP_ENV === 'prod' ? '/' : '/',
-=======
base: VITE_APP_ENV === 'production' ? '/' : '/',
->>>>>>> v1.3
plugins: createVitePlugins(env, command === 'build'),
resolve: {
// https://cn.vitejs.dev/config/#resolve-alias
@@ -44,36 +40,15 @@ export default defineConfig(({ mode, command }) => {
proxy: {
// https://cn.vitejs.dev/config/#server-proxy
'/dev-api': {
-<<<<<<< HEAD
- target: 'http://localhost:18080/openhis',
- changeOrigin: true,
- rewrite: p => p.replace(/^\/dev-api/, ''),
-=======
target: 'http://localhost:18080/openhis',
changeOrigin: true,
rewrite: (p) => p.replace(/^\/dev-api/, ''),
->>>>>>> v1.3
},
'/ybplugin': {
target: 'http://localhost:5000',
changeOrigin: true,
-<<<<<<< HEAD
- rewrite: p => p.replace(/^\/ybplugin/, ''),
- },
- '/prd-api': {
- target: 'http://localhost:18082/openhis',
- changeOrigin: true,
- rewrite: p => p.replace(/^\/prd-api/, ''),
- },
- '/test-api': {
- target: 'http://localhost:18081/openhis',
- changeOrigin: true,
- rewrite: p => p.replace(/^\/test-api/, ''),
- }
-=======
rewrite: (p) => p.replace(/^\/ybplugin/, ''),
},
->>>>>>> v1.3
},
},
//fix:error:stdin>:7356:1: warning: "@charset" must be the first rule in the file
diff --git a/迁移记录-DB变更记录/0000清库脚本.sql b/迁移记录-DB变更记录/0000清库脚本.sql
index c4e377fa..2cf07848 100644
--- a/迁移记录-DB变更记录/0000清库脚本.sql
+++ b/迁移记录-DB变更记录/0000清库脚本.sql
@@ -1,17 +1,11 @@
-<<<<<<< HEAD
-=======
--注执行以下脚本会删除所有相关数据,请谨慎使用(一般是在试运行后正式使用前清理业务数据)
->>>>>>> v1.3
TRUNCATE TABLE adm_encounter ;-- 清空就诊记录表
TRUNCATE TABLE adm_encounter_location;-- 清空就诊地点表
TRUNCATE TABLE adm_encounter_reason;-- 清空就诊原因表
TRUNCATE TABLE adm_encounter_diagnosis;-- 清空就诊诊断表
TRUNCATE TABLE adm_encounter_participant;-- 清空就诊参与者表
TRUNCATE TABLE adm_charge_item;-- 清空费用项目表
-<<<<<<< HEAD
-TRUNCATE TABLE elep_medication_request;-- 清空用药申请表
-=======
TRUNCATE TABLE elep_medication_request;-- 清空用药申请表
@@ -24,4 +18,3 @@ TRUNCATE TABLE elep_medication_request;-- 清空用药申请表
-- TRUNCATE TABLE wor_activity_definition;-- 清空诊疗定义表
-- TRUNCATE TABLE adm_charge_item_definition;-- 清空费用定义表
-- TRUNCATE TABLE adm_charge_item_def_detail;-- 清空费用定义明细表
->>>>>>> v1.3
diff --git a/迁移记录-DB变更记录/202509081020add_table_tmp_orders_group_package.sql b/迁移记录-DB变更记录/202509081020add_table_tmp_orders_group_package.sql
index d5aacb36..0a25302b 100644
--- a/迁移记录-DB变更记录/202509081020add_table_tmp_orders_group_package.sql
+++ b/迁移记录-DB变更记录/202509081020add_table_tmp_orders_group_package.sql
@@ -7,11 +7,7 @@
CACHE 1;
-<<<<<<< HEAD
-CREATE TABLE "tmp_orders_group_package" (
-=======
CREATE TABLE "public"."tmp_orders_group_package" (
->>>>>>> v1.3
"id" int8 NOT NULL DEFAULT nextval('tmp_orders_group_package_id_seq'::regclass),
"name" varchar(255) COLLATE "pg_catalog"."default" DEFAULT ''::character varying,
"package_type_enum" int4 NOT NULL,
@@ -27,34 +23,6 @@ CREATE TABLE "public"."tmp_orders_group_package" (
)
;
-<<<<<<< HEAD
-ALTER TABLE "tmp_orders_group_package"
- OWNER TO "postgres";
-
-COMMENT ON COLUMN "tmp_orders_group_package"."id" IS 'ID';
-
-COMMENT ON COLUMN "tmp_orders_group_package"."name" IS '名称';
-
-COMMENT ON COLUMN "tmp_orders_group_package"."package_type_enum" IS '组套包类型';
-
-COMMENT ON COLUMN "tmp_orders_group_package"."organization_id" IS '科室id';
-
-COMMENT ON COLUMN "tmp_orders_group_package"."practitioner_id" IS '参与者id';
-
-COMMENT ON COLUMN "tmp_orders_group_package"."tenant_id" IS '租户ID';
-
-COMMENT ON COLUMN "tmp_orders_group_package"."delete_flag" IS '删除状态';
-
-COMMENT ON COLUMN "tmp_orders_group_package"."create_by" IS '创建人';
-
-COMMENT ON COLUMN "tmp_orders_group_package"."create_time" IS '创建时间';
-
-COMMENT ON COLUMN "tmp_orders_group_package"."update_by" IS '更新人';
-
-COMMENT ON COLUMN "tmp_orders_group_package"."update_time" IS '更新时间';
-
-COMMENT ON TABLE "tmp_orders_group_package" IS '医嘱组合套餐';
-=======
ALTER TABLE "public"."tmp_orders_group_package"
OWNER TO "postgres";
@@ -81,7 +49,6 @@ COMMENT ON COLUMN "public"."tmp_orders_group_package"."update_by" IS '更新人'
COMMENT ON COLUMN "public"."tmp_orders_group_package"."update_time" IS '更新时间';
COMMENT ON TABLE "public"."tmp_orders_group_package" IS '医嘱组合套餐';
->>>>>>> v1.3
-- 插入添加临时订单分组包表的迁移记录
INSERT INTO __MigrationsHistory (MigrationId, ProductVersion)
diff --git a/迁移记录-DB变更记录/202509081022add_table_tmp_orders_group_package_detail.sql b/迁移记录-DB变更记录/202509081022add_table_tmp_orders_group_package_detail.sql
index 6667b15c..e46e460f 100644
--- a/迁移记录-DB变更记录/202509081022add_table_tmp_orders_group_package_detail.sql
+++ b/迁移记录-DB变更记录/202509081022add_table_tmp_orders_group_package_detail.sql
@@ -7,11 +7,7 @@
CACHE 1;
-<<<<<<< HEAD
-CREATE TABLE "tmp_orders_group_package_detail" (
-=======
CREATE TABLE "public"."tmp_orders_group_package_detail" (
->>>>>>> v1.3
"id" int8 NOT NULL DEFAULT nextval('tmp_orders_group_package_detail_id_seq'::regclass),
"group_package_id" int8 NOT NULL,
"order_definition_id" int8 NOT NULL,
@@ -28,36 +24,6 @@ CREATE TABLE "public"."tmp_orders_group_package_detail" (
)
;
-<<<<<<< HEAD
-ALTER TABLE "tmp_orders_group_package_detail"
- OWNER TO "postgres";
-
-COMMENT ON COLUMN "tmp_orders_group_package_detail"."id" IS 'ID';
-
-COMMENT ON COLUMN "tmp_orders_group_package_detail"."group_package_id" IS '组合套餐id';
-
-COMMENT ON COLUMN "tmp_orders_group_package_detail"."order_definition_id" IS '医嘱定义id';
-
-COMMENT ON COLUMN "tmp_orders_group_package_detail"."order_definition_table" IS '医嘱定义表名';
-
-COMMENT ON COLUMN "tmp_orders_group_package_detail"."quantity" IS '数量';
-
-COMMENT ON COLUMN "tmp_orders_group_package_detail"."unit_code" IS '单位编码';
-
-COMMENT ON COLUMN "tmp_orders_group_package_detail"."tenant_id" IS '租户ID';
-
-COMMENT ON COLUMN "tmp_orders_group_package_detail"."delete_flag" IS '删除状态';
-
-COMMENT ON COLUMN "tmp_orders_group_package_detail"."create_by" IS '创建人';
-
-COMMENT ON COLUMN "tmp_orders_group_package_detail"."create_time" IS '创建时间';
-
-COMMENT ON COLUMN "tmp_orders_group_package_detail"."update_by" IS '更新人';
-
-COMMENT ON COLUMN "tmp_orders_group_package_detail"."update_time" IS '更新时间';
-
-COMMENT ON TABLE "tmp_orders_group_package_detail" IS '医嘱组合套餐明细';
-=======
ALTER TABLE "public"."tmp_orders_group_package_detail"
OWNER TO "postgres";
@@ -86,7 +52,6 @@ COMMENT ON COLUMN "public"."tmp_orders_group_package_detail"."update_by" IS '更
COMMENT ON COLUMN "public"."tmp_orders_group_package_detail"."update_time" IS '更新时间';
COMMENT ON TABLE "public"."tmp_orders_group_package_detail" IS '医嘱组合套餐明细';
->>>>>>> v1.3
-- 插入添加临时订单分组包详情表的迁移记录
INSERT INTO __MigrationsHistory (MigrationId, ProductVersion)
diff --git a/迁移记录-DB变更记录/202509101025add_column_adm_practitioner.sql b/迁移记录-DB变更记录/202509101025add_column_adm_practitioner.sql
index 2adb1b53..c4275494 100644
--- a/迁移记录-DB变更记录/202509101025add_column_adm_practitioner.sql
+++ b/迁移记录-DB变更记录/202509101025add_column_adm_practitioner.sql
@@ -1,12 +1,6 @@
-<<<<<<< HEAD
- ALTER TABLE "adm_practitioner"
- ADD COLUMN "signature" text COLLATE "pg_catalog"."default" DEFAULT ''::character varying;
- COMMENT ON COLUMN "adm_practitioner"."signature" IS '签名图片';
-=======
ALTER TABLE "public"."adm_practitioner"
ADD COLUMN "signature" text COLLATE "pg_catalog"."default" DEFAULT ''::character varying;
COMMENT ON COLUMN "public"."adm_practitioner"."signature" IS '签名图片';
->>>>>>> v1.3
-- 插入为adm_practitioner表添加列的迁移记录
INSERT INTO __MigrationsHistory (MigrationId, ProductVersion)
diff --git a/迁移记录-DB变更记录/202509101030add_column_wor_service_request.sql b/迁移记录-DB变更记录/202509101030add_column_wor_service_request.sql
index d6206993..f66513b3 100644
--- a/迁移记录-DB变更记录/202509101030add_column_wor_service_request.sql
+++ b/迁移记录-DB变更记录/202509101030add_column_wor_service_request.sql
@@ -1,13 +1,7 @@
-<<<<<<< HEAD
- ALTER TABLE "wor_service_request"
- ADD COLUMN "parent_id" int8 DEFAULT NULL;
- COMMENT ON COLUMN "wor_service_request"."parent_id" IS '父id(适用诊疗套餐)';
-=======
ALTER TABLE "public"."wor_service_request"
ADD COLUMN "parent_id" int8 DEFAULT NULL;
COMMENT ON COLUMN "public"."wor_service_request"."parent_id" IS '父id(适用诊疗套餐)';
->>>>>>> v1.3
-- 插入为wor_service_request表添加列的迁移记录
INSERT INTO __MigrationsHistory (MigrationId, ProductVersion)
diff --git a/迁移记录-DB变更记录/202509161311 add_column_cli_reservation_record.sql b/迁移记录-DB变更记录/202509161311 add_column_cli_reservation_record.sql
index 5f81ff59..280f35e9 100644
--- a/迁移记录-DB变更记录/202509161311 add_column_cli_reservation_record.sql
+++ b/迁移记录-DB变更记录/202509161311 add_column_cli_reservation_record.sql
@@ -1,13 +1,7 @@
-<<<<<<< HEAD
- ALTER TABLE "cli_reservation_record"
- ADD COLUMN "tooth_position" varchar(500) COLLATE "pg_catalog"."default" DEFAULT ''::character varying;
- COMMENT ON COLUMN "cli_reservation_record"."tooth_position" IS '牙位';
-=======
ALTER TABLE "public"."cli_reservation_record"
ADD COLUMN "tooth_position" varchar(500) COLLATE "pg_catalog"."default" DEFAULT ''::character varying;
COMMENT ON COLUMN "public"."cli_reservation_record"."tooth_position" IS '牙位';
->>>>>>> v1.3
-- 插入为cli_reservation_record表添加列的迁移记录
INSERT INTO __MigrationsHistory (MigrationId, ProductVersion)
diff --git a/迁移记录-DB变更记录/202509191411 add_column_tmp_activity_device.sql b/迁移记录-DB变更记录/202509191411 add_column_tmp_activity_device.sql
index 3655062e..053b1600 100644
--- a/迁移记录-DB变更记录/202509191411 add_column_tmp_activity_device.sql
+++ b/迁移记录-DB变更记录/202509191411 add_column_tmp_activity_device.sql
@@ -1,12 +1,6 @@
-<<<<<<< HEAD
- ALTER TABLE "tmp_activity_device"
- ADD COLUMN "unit_code" varchar(3) COLLATE "pg_catalog"."default" DEFAULT ''::character varying;
- COMMENT ON COLUMN "tmp_activity_device"."unit_code" IS '单位';
-=======
ALTER TABLE "public"."tmp_activity_device"
ADD COLUMN "unit_code" varchar(3) COLLATE "pg_catalog"."default" DEFAULT ''::character varying;
COMMENT ON COLUMN "public"."tmp_activity_device"."unit_code" IS '单位';
->>>>>>> v1.3
-- 插入为tmp_activity_device表添加列的迁移记录
INSERT INTO __MigrationsHistory (MigrationId, ProductVersion)
diff --git a/迁移记录-DB变更记录/202509231011 add_table_nd_review_prescription_records.sql b/迁移记录-DB变更记录/202509231011 add_table_nd_review_prescription_records.sql
index e11d999c..49f5c2bc 100644
--- a/迁移记录-DB变更记录/202509231011 add_table_nd_review_prescription_records.sql
+++ b/迁移记录-DB变更记录/202509231011 add_table_nd_review_prescription_records.sql
@@ -9,11 +9,7 @@
CACHE 1;
-<<<<<<< HEAD
-CREATE TABLE "nd_review_prescription_records" (
-=======
CREATE TABLE "public"."nd_review_prescription_records" (
->>>>>>> v1.3
"id" int8 NOT NULL DEFAULT nextval('nd_review_prescription_records_id_seq'::regclass),
"prescription_no" varchar(255) COLLATE "pg_catalog"."default" DEFAULT ''::character varying,
"encounter_id" int8 DEFAULT NULL,
@@ -31,38 +27,6 @@ CREATE TABLE "public"."nd_review_prescription_records" (
)
;
-<<<<<<< HEAD
-ALTER TABLE "nd_review_prescription_records"
- OWNER TO "postgres";
-
-COMMENT ON COLUMN "nd_review_prescription_records"."id" IS 'ID';
-
-COMMENT ON COLUMN "nd_review_prescription_records"."prescription_no" IS '处方号';
-
-COMMENT ON COLUMN "nd_review_prescription_records"."encounter_id" IS '就诊id';
-
-COMMENT ON COLUMN "nd_review_prescription_records"."med_request_ids" IS '药品请求ids';
-
-COMMENT ON COLUMN "nd_review_prescription_records"."pass_flag" IS '通过标识';
-
-COMMENT ON COLUMN "nd_review_prescription_records"."reason_text" IS '原因';
-
-COMMENT ON COLUMN "nd_review_prescription_records"."practitioner_id" IS '审方人id';
-
-COMMENT ON COLUMN "nd_review_prescription_records"."tenant_id" IS '租户ID';
-
-COMMENT ON COLUMN "nd_review_prescription_records"."delete_flag" IS '删除状态';
-
-COMMENT ON COLUMN "nd_review_prescription_records"."create_by" IS '创建人';
-
-COMMENT ON COLUMN "nd_review_prescription_records"."create_time" IS '创建时间';
-
-COMMENT ON COLUMN "nd_review_prescription_records"."update_by" IS '更新人';
-
-COMMENT ON COLUMN "nd_review_prescription_records"."update_time" IS '更新时间';
-
-COMMENT ON TABLE "nd_review_prescription_records" IS '农大审方记录';
-=======
ALTER TABLE "public"."nd_review_prescription_records"
OWNER TO "postgres";
@@ -93,7 +57,6 @@ COMMENT ON COLUMN "public"."nd_review_prescription_records"."update_by" IS '更
COMMENT ON COLUMN "public"."nd_review_prescription_records"."update_time" IS '更新时间';
COMMENT ON TABLE "public"."nd_review_prescription_records" IS '农大审方记录';
->>>>>>> v1.3
diff --git a/迁移记录-DB变更记录/202509261212 add_column _doc_statistics_definition.sql b/迁移记录-DB变更记录/202509261212 add_column _doc_statistics_definition.sql
index 082c5584..1cab1228 100644
--- a/迁移记录-DB变更记录/202509261212 add_column _doc_statistics_definition.sql
+++ b/迁移记录-DB变更记录/202509261212 add_column _doc_statistics_definition.sql
@@ -1,12 +1,3 @@
-<<<<<<< HEAD
-ALTER TABLE "doc_statistics_definition"
- ADD COLUMN "dict_name" varchar(50),
- ADD COLUMN "dict_type" varchar(50);
-
-COMMENT ON COLUMN "doc_statistics_definition"."dict_name" IS '字典名称';
-
-COMMENT ON COLUMN "doc_statistics_definition"."dict_type" IS '字典类型';
-=======
ALTER TABLE "public"."doc_statistics_definition"
ADD COLUMN "dict_name" varchar(50),
ADD COLUMN "dict_type" varchar(50);
@@ -14,7 +5,6 @@ ALTER TABLE "public"."doc_statistics_definition"
COMMENT ON COLUMN "public"."doc_statistics_definition"."dict_name" IS '字典名称';
COMMENT ON COLUMN "public"."doc_statistics_definition"."dict_type" IS '字典类型';
->>>>>>> v1.3
diff --git a/迁移记录-DB变更记录/202510131311 add_column_elep_medication_request.sql b/迁移记录-DB变更记录/202510131311 add_column_elep_medication_request.sql
index f9b7b786..dc8b641d 100644
--- a/迁移记录-DB变更记录/202510131311 add_column_elep_medication_request.sql
+++ b/迁移记录-DB变更记录/202510131311 add_column_elep_medication_request.sql
@@ -1,12 +1,3 @@
-<<<<<<< HEAD
-ALTER TABLE "elep_medication_request"
- ADD COLUMN "condition_def_id" int8,
- ADD COLUMN "opsp_dise_code" varchar(255);
-
-COMMENT ON COLUMN "elep_medication_request"."condition_def_id" IS '诊断定义id';
-
-COMMENT ON COLUMN "elep_medication_request"."opsp_dise_code" IS '慢病编码';
-=======
ALTER TABLE "public"."elep_medication_request"
ADD COLUMN "condition_def_id" int8,
ADD COLUMN "opsp_dise_code" varchar(255);
@@ -14,7 +5,6 @@ ALTER TABLE "public"."elep_medication_request"
COMMENT ON COLUMN "public"."elep_medication_request"."condition_def_id" IS '诊断定义id';
COMMENT ON COLUMN "public"."elep_medication_request"."opsp_dise_code" IS '慢病编码';
->>>>>>> v1.3
-- 插入为tmp_activity_device表添加列的迁移记录
diff --git a/迁移记录-DB变更记录/202510131411 add_column_adm_charge_item.sql b/迁移记录-DB变更记录/202510131411 add_column_adm_charge_item.sql
index 19ccac23..0549c9e8 100644
--- a/迁移记录-DB变更记录/202510131411 add_column_adm_charge_item.sql
+++ b/迁移记录-DB变更记录/202510131411 add_column_adm_charge_item.sql
@@ -1,10 +1,5 @@
-<<<<<<< HEAD
-ALTER TABLE adm_charge_item ADD procedure_id int8 NULL;
-COMMENT ON COLUMN adm_charge_item.procedure_id IS '执行id';
-=======
ALTER TABLE public.adm_charge_item ADD procedure_id int8 NULL;
COMMENT ON COLUMN public.adm_charge_item.procedure_id IS '执行id';
->>>>>>> v1.3
-- 插入为tmp_activity_device表添加列的迁移记录
diff --git a/迁移记录-DB变更记录/202510151011 alter_table_request.sql b/迁移记录-DB变更记录/202510151011 alter_table_request.sql
index 6fb495a1..ee7452b0 100644
--- a/迁移记录-DB变更记录/202510151011 alter_table_request.sql
+++ b/迁移记录-DB变更记录/202510151011 alter_table_request.sql
@@ -1,22 +1,3 @@
-<<<<<<< HEAD
-ALTER TABLE wor_device_request ADD based_on_table varchar(255) NULL;
-COMMENT ON COLUMN wor_device_request.based_on_table IS '请求基于什么';
-
-ALTER TABLE wor_device_request ADD based_on_id int8 NULL;
-COMMENT ON COLUMN wor_device_request.based_on_id IS '请求基于什么的ID';
-
-ALTER TABLE wor_device_dispense ADD procedure_id int8 NULL;
-COMMENT ON COLUMN wor_device_dispense.procedure_id IS '执行id';
-
-ALTER TABLE med_medication_request ADD based_on_table varchar(255) NULL;
-COMMENT ON COLUMN med_medication_request.based_on_table IS '请求基于什么';
-
-ALTER TABLE med_medication_request ADD based_on_id int8 NULL;
-COMMENT ON COLUMN med_medication_request.based_on_id IS '请求基于什么的ID';
-
-ALTER TABLE med_medication_dispense ADD procedure_id int8 NULL;
-COMMENT ON COLUMN med_medication_dispense.procedure_id IS '执行id';
-=======
ALTER TABLE public.wor_device_request ADD based_on_table varchar(255) NULL;
COMMENT ON COLUMN public.wor_device_request.based_on_table IS '请求基于什么';
@@ -34,7 +15,6 @@ COMMENT ON COLUMN public.med_medication_request.based_on_id IS '请求基于什
ALTER TABLE public.med_medication_dispense ADD procedure_id int8 NULL;
COMMENT ON COLUMN public.med_medication_dispense.procedure_id IS '执行id';
->>>>>>> v1.3
-- 插入为tmp_activity_device表添加列的迁移记录
diff --git a/迁移记录-DB变更记录/202510151413 add_talble_cli_condition_no_definition.sql b/迁移记录-DB变更记录/202510151413 add_talble_cli_condition_no_definition.sql
index ace48bf9..7bcfdc30 100644
--- a/迁移记录-DB变更记录/202510151413 add_talble_cli_condition_no_definition.sql
+++ b/迁移记录-DB变更记录/202510151413 add_talble_cli_condition_no_definition.sql
@@ -1,10 +1,6 @@
-<<<<<<< HEAD
-CREATE TABLE cli_condition_no_definition (
-=======
CREATE TABLE PUBLIC.cli_condition_no_definition (
->>>>>>> v1.3
gl_no VARCHAR (255) NULL,
id bigserial NOT NULL,
tenant_id INT8 NULL,
@@ -17,21 +13,6 @@ CREATE TABLE PUBLIC.cli_condition_no_definition (
icd10_no VARCHAR (255) NULL,
icd10_name VARCHAR (255) NULL
);
-<<<<<<< HEAD
-COMMENT ON TABLE cli_condition_no_definition IS '诊断各种编码定义表';
--- Column comments
-COMMENT ON COLUMN cli_condition_no_definition.gl_no IS '国临疾病编码';
-COMMENT ON COLUMN cli_condition_no_definition.id IS 'ID';
-COMMENT ON COLUMN cli_condition_no_definition.tenant_id IS '租户id';
-COMMENT ON COLUMN cli_condition_no_definition.delete_flag IS '删除状态';
-COMMENT ON COLUMN cli_condition_no_definition.create_by IS '创建人';
-COMMENT ON COLUMN cli_condition_no_definition.create_time IS '创建时间';
-COMMENT ON COLUMN cli_condition_no_definition.update_by IS '更新人';
-COMMENT ON COLUMN cli_condition_no_definition.update_time IS '更新时间';
-COMMENT ON COLUMN cli_condition_no_definition.gl_name IS '国临疾病名称';
-COMMENT ON COLUMN cli_condition_no_definition.icd10_no IS 'icd10编码';
-COMMENT ON COLUMN cli_condition_no_definition.icd10_name IS 'icd10名称';
-=======
COMMENT ON TABLE PUBLIC.cli_condition_no_definition IS '诊断各种编码定义表';
-- Column comments
COMMENT ON COLUMN PUBLIC.cli_condition_no_definition.gl_no IS '国临疾病编码';
@@ -45,7 +26,6 @@ COMMENT ON COLUMN PUBLIC.cli_condition_no_definition.update_time IS '更新时
COMMENT ON COLUMN PUBLIC.cli_condition_no_definition.gl_name IS '国临疾病名称';
COMMENT ON COLUMN PUBLIC.cli_condition_no_definition.icd10_no IS 'icd10编码';
COMMENT ON COLUMN PUBLIC.cli_condition_no_definition.icd10_name IS 'icd10名称';
->>>>>>> v1.3
-- 插入为tmp_activity_device表添加列的迁移记录
diff --git a/迁移记录-DB变更记录/202510211012 add_column_tmp_orders_group_package_detail.sql b/迁移记录-DB变更记录/202510211012 add_column_tmp_orders_group_package_detail.sql
index f2524b8b..ed6fe6f6 100644
--- a/迁移记录-DB变更记录/202510211012 add_column_tmp_orders_group_package_detail.sql
+++ b/迁移记录-DB变更记录/202510211012 add_column_tmp_orders_group_package_detail.sql
@@ -1,20 +1,4 @@
-<<<<<<< HEAD
-ALTER TABLE tmp_orders_group_package_detail ADD dose numeric(20,6) NULL;
-COMMENT ON COLUMN tmp_orders_group_package_detail.dose IS '单次剂量';
-
-
-ALTER TABLE tmp_orders_group_package_detail ADD rate_code varchar(255) NULL;
-COMMENT ON COLUMN tmp_orders_group_package_detail.rate_code IS '用药频次';
-
-
-ALTER TABLE tmp_orders_group_package_detail ADD dispense_per_duration int4 NULL;
-COMMENT ON COLUMN tmp_orders_group_package_detail.dispense_per_duration IS '用药天数';
-
-
-ALTER TABLE tmp_orders_group_package_detail ADD method_code varchar(255) NULL;
-COMMENT ON COLUMN tmp_orders_group_package_detail.method_code IS '给药途径';
-=======
ALTER TABLE public.tmp_orders_group_package_detail ADD dose numeric(20,6) NULL;
COMMENT ON COLUMN public.tmp_orders_group_package_detail.dose IS '单次剂量';
@@ -29,7 +13,6 @@ COMMENT ON COLUMN public.tmp_orders_group_package_detail.dispense_per_duration I
ALTER TABLE public.tmp_orders_group_package_detail ADD method_code varchar(255) NULL;
COMMENT ON COLUMN public.tmp_orders_group_package_detail.method_code IS '给药途径';
->>>>>>> v1.3
-- 插入为tmp_activity_device表添加列的迁移记录
diff --git a/迁移记录-DB变更记录/202510211414 add_column_med_medication_dispense.sql b/迁移记录-DB变更记录/202510211414 add_column_med_medication_dispense.sql
index f6f8833e..bfe7406d 100644
--- a/迁移记录-DB变更记录/202510211414 add_column_med_medication_dispense.sql
+++ b/迁移记录-DB变更记录/202510211414 add_column_med_medication_dispense.sql
@@ -1,10 +1,5 @@
-<<<<<<< HEAD
-ALTER TABLE med_medication_dispense ADD summary_no varchar(255) DEFAULT ''::character varying NULL;
-COMMENT ON COLUMN med_medication_dispense.summary_no IS '汇总编号';
-=======
ALTER TABLE public.med_medication_dispense ADD summary_no varchar(255) DEFAULT ''::character varying NULL;
COMMENT ON COLUMN public.med_medication_dispense.summary_no IS '汇总编号';
->>>>>>> v1.3
-- 插入为tmp_activity_device表添加列的迁移记录
diff --git a/迁移记录-DB变更记录/202510211414 alter_table_med_medication_dispense.sql b/迁移记录-DB变更记录/202510211414 alter_table_med_medication_dispense.sql
index f6f8833e..bfe7406d 100644
--- a/迁移记录-DB变更记录/202510211414 alter_table_med_medication_dispense.sql
+++ b/迁移记录-DB变更记录/202510211414 alter_table_med_medication_dispense.sql
@@ -1,10 +1,5 @@
-<<<<<<< HEAD
-ALTER TABLE med_medication_dispense ADD summary_no varchar(255) DEFAULT ''::character varying NULL;
-COMMENT ON COLUMN med_medication_dispense.summary_no IS '汇总编号';
-=======
ALTER TABLE public.med_medication_dispense ADD summary_no varchar(255) DEFAULT ''::character varying NULL;
COMMENT ON COLUMN public.med_medication_dispense.summary_no IS '汇总编号';
->>>>>>> v1.3
-- 插入为tmp_activity_device表添加列的迁移记录
diff --git a/迁移记录-DB变更记录/202510211511 alter_column_wor_supply_delivery.sql b/迁移记录-DB变更记录/202510211511 alter_column_wor_supply_delivery.sql
index c76b1c23..d6e106d8 100644
--- a/迁移记录-DB变更记录/202510211511 alter_column_wor_supply_delivery.sql
+++ b/迁移记录-DB变更记录/202510211511 alter_column_wor_supply_delivery.sql
@@ -1,8 +1,4 @@
-<<<<<<< HEAD
-ALTER TABLE wor_supply_delivery ALTER COLUMN supplier_id DROP NOT NULL;
-=======
ALTER TABLE public.wor_supply_delivery ALTER COLUMN supplier_id DROP NOT NULL;
->>>>>>> v1.3
-- 插入为tmp_activity_device表添加列的迁移记录
diff --git a/迁移记录-DB变更记录/202510221011 add_column_tmp_orders_group_package_detail.sql b/迁移记录-DB变更记录/202510221011 add_column_tmp_orders_group_package_detail.sql
index bfe3c8ae..bc2f59ed 100644
--- a/迁移记录-DB变更记录/202510221011 add_column_tmp_orders_group_package_detail.sql
+++ b/迁移记录-DB变更记录/202510221011 add_column_tmp_orders_group_package_detail.sql
@@ -1,10 +1,5 @@
-<<<<<<< HEAD
-ALTER TABLE tmp_orders_group_package_detail ADD dose_quantity numeric(20,6) NULL;
-COMMENT ON COLUMN tmp_orders_group_package_detail.dose_quantity IS '小单位单次剂量';
-=======
ALTER TABLE public.tmp_orders_group_package_detail ADD dose_quantity numeric(20,6) NULL;
COMMENT ON COLUMN public.tmp_orders_group_package_detail.dose_quantity IS '小单位单次剂量';
->>>>>>> v1.3
-- 插入为tmp_activity_device表添加列的迁移记录
diff --git a/迁移记录-DB变更记录/202510271011 add_column_ med_medication_definition&med_medication_request.sql b/迁移记录-DB变更记录/202510271011 add_column_ med_medication_definition&med_medication_request.sql
index b2da19de..b33db798 100644
--- a/迁移记录-DB变更记录/202510271011 add_column_ med_medication_definition&med_medication_request.sql
+++ b/迁移记录-DB变更记录/202510271011 add_column_ med_medication_definition&med_medication_request.sql
@@ -1,18 +1,9 @@
-<<<<<<< HEAD
- ALTER TABLE med_medication_definition ADD dosage_instruction varchar(255) NULL;
- COMMENT ON COLUMN med_medication_definition.dosage_instruction IS '用药说明';
-
-
- ALTER TABLE med_medication_request ADD dosage_instruction varchar(255) NULL;
- COMMENT ON COLUMN med_medication_request.dosage_instruction IS '用药说明';
-=======
ALTER TABLE public.med_medication_definition ADD dosage_instruction varchar(255) NULL;
COMMENT ON COLUMN public.med_medication_definition.dosage_instruction IS '用药说明';
ALTER TABLE public.med_medication_request ADD dosage_instruction varchar(255) NULL;
COMMENT ON COLUMN public.med_medication_request.dosage_instruction IS '用药说明';
->>>>>>> v1.3
-- 插入为tmp_activity_device表添加列的迁移记录
diff --git a/迁移记录-DB变更记录/202510271311 add_column_requests.sql b/迁移记录-DB变更记录/202510271311 add_column_requests.sql
index ed58e2cb..27e5b9af 100644
--- a/迁移记录-DB变更记录/202510271311 add_column_requests.sql
+++ b/迁移记录-DB变更记录/202510271311 add_column_requests.sql
@@ -1,13 +1,3 @@
-<<<<<<< HEAD
- ALTER TABLE med_medication_request ADD generate_source_enum int4 NOT NULL DEFAULT 1;
- COMMENT ON COLUMN med_medication_request.generate_source_enum IS '生成来源';
-
- ALTER TABLE wor_device_request ADD generate_source_enum int4 NOT NULL DEFAULT 1;
- COMMENT ON COLUMN wor_device_request.generate_source_enum IS '生成来源';
-
- ALTER TABLE wor_service_request ADD generate_source_enum int4 NOT NULL DEFAULT 1;
- COMMENT ON COLUMN wor_service_request.generate_source_enum IS '生成来源';
-=======
ALTER TABLE public.med_medication_request ADD generate_source_enum int4 NOT NULL DEFAULT 1;
COMMENT ON COLUMN public.med_medication_request.generate_source_enum IS '生成来源';
@@ -16,7 +6,6 @@
ALTER TABLE public.wor_service_request ADD generate_source_enum int4 NOT NULL DEFAULT 1;
COMMENT ON COLUMN public.wor_service_request.generate_source_enum IS '生成来源';
->>>>>>> v1.3
-- 插入为tmp_activity_device表添加列的迁移记录
INSERT INTO __MigrationsHistory (MigrationId, ProductVersion)
diff --git a/迁移记录-DB变更记录/202510281101 add_column_adm_practitioner.sql b/迁移记录-DB变更记录/202510281101 add_column_adm_practitioner.sql
index e62e560d..995646a6 100644
--- a/迁移记录-DB变更记录/202510281101 add_column_adm_practitioner.sql
+++ b/迁移记录-DB变更记录/202510281101 add_column_adm_practitioner.sql
@@ -1,14 +1,7 @@
-<<<<<<< HEAD
-ALTER TABLE "adm_practitioner"
- ADD COLUMN "pos_no" varchar(255) DEFAULT '';
-
-COMMENT ON COLUMN "adm_practitioner"."pos_no" IS 'pos机编号';
-=======
ALTER TABLE "public"."adm_practitioner"
ADD COLUMN "pos_no" varchar(255) DEFAULT '';
COMMENT ON COLUMN "public"."adm_practitioner"."pos_no" IS 'pos机编号';
->>>>>>> v1.3
-- 插入为tmp_activity_device表添加列的迁移记录
INSERT INTO __MigrationsHistory (MigrationId, ProductVersion)
VALUES ('202510281101 add_column_adm_practitioner', '1.0.0');
\ No newline at end of file
diff --git a/迁移记录-DB变更记录/202510301113 add_column adm_healthcare_service.sql b/迁移记录-DB变更记录/202510301113 add_column adm_healthcare_service.sql
index 21651b17..da0a66cd 100644
--- a/迁移记录-DB变更记录/202510301113 add_column adm_healthcare_service.sql
+++ b/迁移记录-DB变更记录/202510301113 add_column adm_healthcare_service.sql
@@ -1,14 +1,7 @@
-<<<<<<< HEAD
-ALTER TABLE "adm_healthcare_service"
- ADD COLUMN "bus_no" varchar(255);
-
-COMMENT ON COLUMN "adm_healthcare_service"."bus_no" IS '编码';
-=======
ALTER TABLE "public"."adm_healthcare_service"
ADD COLUMN "bus_no" varchar(255);
COMMENT ON COLUMN "public"."adm_healthcare_service"."bus_no" IS '编码';
->>>>>>> v1.3
-- 插入为tmp_activity_device表添加列的迁移记录
INSERT INTO __MigrationsHistory (MigrationId, ProductVersion)
VALUES ('202510301113 add_column adm_healthcare_service', '1.0.0');
\ No newline at end of file
diff --git a/迁移记录-DB变更记录/202511031415 add_column tmp_orders_group_package_detail.sql b/迁移记录-DB变更记录/202511031415 add_column tmp_orders_group_package_detail.sql
index ce60ae82..9df9308f 100644
--- a/迁移记录-DB变更记录/202511031415 add_column tmp_orders_group_package_detail.sql
+++ b/迁移记录-DB变更记录/202511031415 add_column tmp_orders_group_package_detail.sql
@@ -1,10 +1,5 @@
-<<<<<<< HEAD
-ALTER TABLE tmp_orders_group_package_detail ADD group_id int8 NULL;
-COMMENT ON COLUMN tmp_orders_group_package_detail.group_id IS '组号';
-=======
ALTER TABLE public.tmp_orders_group_package_detail ADD group_id int8 NULL;
COMMENT ON COLUMN public.tmp_orders_group_package_detail.group_id IS '组号';
->>>>>>> v1.3
-- 插入为tmp_activity_device表添加列的迁移记录
INSERT INTO __MigrationsHistory (MigrationId, ProductVersion)
VALUES ('202511031415 add_column tmp_orders_group_package_detail', '1.0.0');
\ No newline at end of file
diff --git a/迁移记录-DB变更记录/202511031515 add_column adm_charge_item.sql b/迁移记录-DB变更记录/202511031515 add_column adm_charge_item.sql
index 0e8988cf..22d35e09 100644
--- a/迁移记录-DB变更记录/202511031515 add_column adm_charge_item.sql
+++ b/迁移记录-DB变更记录/202511031515 add_column adm_charge_item.sql
@@ -1,16 +1,8 @@
-<<<<<<< HEAD
-ALTER TABLE adm_charge_item ADD dispense_table varchar(255) DEFAULT ''::character varying NULL;
-COMMENT ON COLUMN adm_charge_item.dispense_table IS '发放所在表';
-
-ALTER TABLE adm_charge_item ADD dispense_id int8 NULL;
-COMMENT ON COLUMN adm_charge_item.dispense_id IS '发放ID';
-=======
ALTER TABLE public.adm_charge_item ADD dispense_table varchar(255) DEFAULT ''::character varying NULL;
COMMENT ON COLUMN public.adm_charge_item.dispense_table IS '发放所在表';
ALTER TABLE public.adm_charge_item ADD dispense_id int8 NULL;
COMMENT ON COLUMN public.adm_charge_item.dispense_id IS '发放ID';
->>>>>>> v1.3
-- 插入为tmp_activity_device表添加列的迁移记录
INSERT INTO __MigrationsHistory (MigrationId, ProductVersion)
VALUES ('202511031515 add_column adm_charge_item', '1.0.0');
\ No newline at end of file
diff --git a/迁移记录-DB变更记录/202511041214 add_table doc_inventory_item_static.sql b/迁移记录-DB变更记录/202511041214 add_table doc_inventory_item_static.sql
index 8333ebbc..5f003a8b 100644
--- a/迁移记录-DB变更记录/202511041214 add_table doc_inventory_item_static.sql
+++ b/迁移记录-DB变更记录/202511041214 add_table doc_inventory_item_static.sql
@@ -1,52 +1,3 @@
-<<<<<<< HEAD
--- doc_inventory_item_static definition
-
--- Drop table
-
--- DROP TABLE doc_inventory_item_static;
-
-CREATE TABLE doc_inventory_item_static ( id bigserial NOT NULL, category_code varchar(255) DEFAULT '0'::character varying NOT NULL, "name" varchar(255) DEFAULT ''::character varying NOT NULL, inventory_status_enum int4 DEFAULT 0 NOT NULL, supplier_id int8 NOT NULL, description_text varchar(2000) NULL, unit_code varchar(255) DEFAULT ''::character varying NOT NULL, quantity numeric(20, 6) DEFAULT 0 NOT NULL, lot_number varchar(255) DEFAULT ''::character varying NOT NULL, production_date timestamptz(6) NULL, expiration_date timestamptz(6) NULL, location_store_id int8 NULL, location_id int8 NOT NULL, trace_no varchar(50000) DEFAULT ''::character varying NOT NULL, packaging_levels int4 DEFAULT 1 NOT NULL, tenant_id int8 NOT NULL, delete_flag int4 DEFAULT 0 NOT NULL, create_by varchar(32) DEFAULT ''::character varying NOT NULL, create_time timestamptz(6) NOT NULL, update_by varchar(32) NULL, update_time timestamptz(6) NULL, item_table varchar(255) DEFAULT ''::character varying NOT NULL, item_id int8 NOT NULL, price numeric(20, 6) NULL, sale_price numeric(20, 6) NULL, bus_no varchar(255) DEFAULT ''::character varying NOT NULL, min_unit_code varchar(255) DEFAULT ''::character varying NOT NULL, part_percent numeric(20, 6) DEFAULT 0 NOT NULL, supplier_name varchar(255) DEFAULT ''::character varying NOT NULL, location_name varchar(255) DEFAULT ''::character varying NOT NULL, location_store_name varchar(255) DEFAULT ''::character varying NOT NULL, manufacturer_text varchar(2000) NULL, chrgitm_lv int4 DEFAULT 3 NOT NULL, total_volume varchar(255) DEFAULT ''::character varying NOT NULL, py_str varchar(255) DEFAULT ''::character varying NOT NULL, wb_str varchar(255) DEFAULT ''::character varying NOT NULL, CONSTRAINT doc_inventory_item_static_pkey PRIMARY KEY (id));
-COMMENT ON TABLE doc_inventory_item_static IS '库存项目管理';
-
--- Column comments
-
-COMMENT ON COLUMN doc_inventory_item_static.id IS 'ID';
-COMMENT ON COLUMN doc_inventory_item_static.category_code IS '物品类别';
-COMMENT ON COLUMN doc_inventory_item_static."name" IS '名称';
-COMMENT ON COLUMN doc_inventory_item_static.inventory_status_enum IS '库存状态';
-COMMENT ON COLUMN doc_inventory_item_static.supplier_id IS '供应商id';
-COMMENT ON COLUMN doc_inventory_item_static.description_text IS '说明书';
-COMMENT ON COLUMN doc_inventory_item_static.unit_code IS '最小单位';
-COMMENT ON COLUMN doc_inventory_item_static.quantity IS '当前库存数量(最小单位数量)';
-COMMENT ON COLUMN doc_inventory_item_static.lot_number IS '产品批号';
-COMMENT ON COLUMN doc_inventory_item_static.production_date IS '生产日期';
-COMMENT ON COLUMN doc_inventory_item_static.expiration_date IS '失效日期';
-COMMENT ON COLUMN doc_inventory_item_static.location_store_id IS '库位';
-COMMENT ON COLUMN doc_inventory_item_static.location_id IS '仓库';
-COMMENT ON COLUMN doc_inventory_item_static.trace_no IS '追溯码';
-COMMENT ON COLUMN doc_inventory_item_static.packaging_levels IS '追溯码包装层级';
-COMMENT ON COLUMN doc_inventory_item_static.tenant_id IS '租户ID';
-COMMENT ON COLUMN doc_inventory_item_static.delete_flag IS '删除状态';
-COMMENT ON COLUMN doc_inventory_item_static.create_by IS '创建人';
-COMMENT ON COLUMN doc_inventory_item_static.create_time IS '创建时间';
-COMMENT ON COLUMN doc_inventory_item_static.update_by IS '更新人';
-COMMENT ON COLUMN doc_inventory_item_static.update_time IS '更新时间';
-COMMENT ON COLUMN doc_inventory_item_static.item_table IS '项目';
-COMMENT ON COLUMN doc_inventory_item_static.item_id IS '物品编码';
-COMMENT ON COLUMN doc_inventory_item_static.price IS '采购单价(包装单位)';
-COMMENT ON COLUMN doc_inventory_item_static.sale_price IS '销售单价(包装单位)';
-COMMENT ON COLUMN doc_inventory_item_static.bus_no IS '项目编号';
-COMMENT ON COLUMN doc_inventory_item_static.min_unit_code IS '最小单位';
-COMMENT ON COLUMN doc_inventory_item_static.part_percent IS '拆零比';
-COMMENT ON COLUMN doc_inventory_item_static.supplier_name IS '供应商名称';
-COMMENT ON COLUMN doc_inventory_item_static.location_name IS '库房名称';
-COMMENT ON COLUMN doc_inventory_item_static.location_store_name IS '货位名称';
-COMMENT ON COLUMN doc_inventory_item_static.manufacturer_text IS '生产厂商文本';
-COMMENT ON COLUMN doc_inventory_item_static.chrgitm_lv IS '医保等级';
-COMMENT ON COLUMN doc_inventory_item_static.total_volume IS '规格';
-COMMENT ON COLUMN doc_inventory_item_static.py_str IS '药品名称拼音码';
-COMMENT ON COLUMN doc_inventory_item_static.wb_str IS '药品五笔码';
-=======
-- public.doc_inventory_item_static definition
-- Drop table
@@ -94,7 +45,6 @@ COMMENT ON COLUMN public.doc_inventory_item_static.chrgitm_lv IS '医保等级';
COMMENT ON COLUMN public.doc_inventory_item_static.total_volume IS '规格';
COMMENT ON COLUMN public.doc_inventory_item_static.py_str IS '药品名称拼音码';
COMMENT ON COLUMN public.doc_inventory_item_static.wb_str IS '药品五笔码';
->>>>>>> v1.3
-- 插入为tmp_activity_device表添加列的迁移记录
INSERT INTO __MigrationsHistory (MigrationId, ProductVersion)
VALUES ('202511041214 add_table doc_inventory_item_static', '1.0.0');
\ No newline at end of file
diff --git a/迁移记录-DB变更记录/202511051215 add_table adm_change_price_record.sql b/迁移记录-DB变更记录/202511051215 add_table adm_change_price_record.sql
index 58cc53ca..91b216b1 100644
--- a/迁移记录-DB变更记录/202511051215 add_table adm_change_price_record.sql
+++ b/迁移记录-DB变更记录/202511051215 add_table adm_change_price_record.sql
@@ -1,40 +1,3 @@
-<<<<<<< HEAD
--- adm_change_price_record definition
-
--- Drop table
-
--- DROP TABLE adm_change_price_record;
-
-CREATE TABLE adm_change_price_record ( id bigserial NOT NULL, location_id int8 NULL, applicant_id int8 NULL, item_category_enum int4 NULL, item_id int8 NULL, origin_buying_price numeric(20, 6) NULL, origin_retail_price numeric(20, 6) NULL, approver_id int8 NULL, approval_time timestamptz(6) NULL, tenant_id int8 NULL, delete_flag bpchar(1) DEFAULT '0' NULL, create_by varchar(32) DEFAULT ''::character varying NOT NULL, create_time timestamptz(6) NOT NULL, update_by varchar NULL, update_time timestamptz(6) NULL, item_quantity numeric(20, 6) NULL, difference_retail_price numeric(20, 6) NULL, bus_no varchar(255) DEFAULT ''::character varying NULL, description varchar(255) NULL, applicant_time timestamptz NULL, item_table varchar(50) DEFAULT ''::character varying NULL, new_buying_price numeric(20, 6) NULL, new_retail_price numeric(20, 6) NULL, unit_code varchar(255) DEFAULT ''::character varying NULL, status_enum int4 DEFAULT 0 NULL, lot_number varchar(255) DEFAULT ''::character varying NULL, reason varchar(2000) NULL, difference_buying_price numeric(20, 6) NULL, CONSTRAINT adm_change_price_record_pkey PRIMARY KEY (id));
-COMMENT ON TABLE adm_change_price_record IS '修改价格记录表';
-
--- Column comments
-
-COMMENT ON COLUMN adm_change_price_record.id IS '本表id';
-COMMENT ON COLUMN adm_change_price_record.location_id IS '批次号';
-COMMENT ON COLUMN adm_change_price_record.applicant_id IS '改价申请人id';
-COMMENT ON COLUMN adm_change_price_record.item_category_enum IS '目标枚举 药品、耗材、诊疗、挂号';
-COMMENT ON COLUMN adm_change_price_record.item_id IS '药品ID、耗材ID、诊疗ID、挂号ID';
-COMMENT ON COLUMN adm_change_price_record.origin_buying_price IS '原进货价';
-COMMENT ON COLUMN adm_change_price_record.origin_retail_price IS '原新价格';
-COMMENT ON COLUMN adm_change_price_record.approver_id IS '审批人ID';
-COMMENT ON COLUMN adm_change_price_record.approval_time IS '审批时间';
-COMMENT ON COLUMN adm_change_price_record.tenant_id IS '租户ID';
-COMMENT ON COLUMN adm_change_price_record.delete_flag IS '删除标识 默认 0 未删除';
-COMMENT ON COLUMN adm_change_price_record.item_quantity IS '当前品库存量';
-COMMENT ON COLUMN adm_change_price_record.difference_retail_price IS '零售价盈负差';
-COMMENT ON COLUMN adm_change_price_record.bus_no IS '当前业务批次号';
-COMMENT ON COLUMN adm_change_price_record.description IS '改价原因';
-COMMENT ON COLUMN adm_change_price_record.applicant_time IS '改价申请时间';
-COMMENT ON COLUMN adm_change_price_record.item_table IS '业务表名药品、耗材、诊疗、挂号';
-COMMENT ON COLUMN adm_change_price_record.new_buying_price IS '新进货价';
-COMMENT ON COLUMN adm_change_price_record.new_retail_price IS '新零售价';
-COMMENT ON COLUMN adm_change_price_record.unit_code IS '物品计量单位';
-COMMENT ON COLUMN adm_change_price_record.status_enum IS '审批状态';
-COMMENT ON COLUMN adm_change_price_record.lot_number IS '批次号';
-COMMENT ON COLUMN adm_change_price_record.reason IS '条件理由';
-COMMENT ON COLUMN adm_change_price_record.difference_buying_price IS '进货价盈负差';
-=======
-- public.adm_change_price_record definition
-- Drop table
@@ -70,7 +33,6 @@ COMMENT ON COLUMN public.adm_change_price_record.status_enum IS '审批状态';
COMMENT ON COLUMN public.adm_change_price_record.lot_number IS '批次号';
COMMENT ON COLUMN public.adm_change_price_record.reason IS '条件理由';
COMMENT ON COLUMN public.adm_change_price_record.difference_buying_price IS '进货价盈负差';
->>>>>>> v1.3
-- 插入为tmp_activity_device表添加列的迁移记录
INSERT INTO __MigrationsHistory (MigrationId, ProductVersion)
VALUES ('202511051215 add_table adm_change_price_record', '1.0.0');
\ No newline at end of file