修复门诊医生站模块中医tab页面无法加载的问题
This commit is contained in:
@@ -224,6 +224,12 @@ public class RequestBaseDto {
|
|||||||
*/
|
*/
|
||||||
private Integer sortNumber;
|
private Integer sortNumber;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 账户id (费用性质/合同)
|
||||||
|
*/
|
||||||
|
@JsonSerialize(using = ToStringSerializer.class)
|
||||||
|
private Long accountId;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 用药说明
|
* 用药说明
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -62,7 +62,8 @@
|
|||||||
T1.suffering_flag AS suffering_flag,
|
T1.suffering_flag AS suffering_flag,
|
||||||
T1.dosage_instruction AS dosage_instruction,
|
T1.dosage_instruction AS dosage_instruction,
|
||||||
T2.part_percent AS part_percent,
|
T2.part_percent AS part_percent,
|
||||||
ccd.name AS condition_definition_name
|
ccd.name AS condition_definition_name,
|
||||||
|
T4.account_id AS account_id
|
||||||
FROM med_medication_request AS T1
|
FROM med_medication_request AS T1
|
||||||
LEFT JOIN med_medication_definition AS T2 ON T2.ID = T1.medication_id
|
LEFT JOIN med_medication_definition AS T2 ON T2.ID = T1.medication_id
|
||||||
AND T2.delete_flag = '0'
|
AND T2.delete_flag = '0'
|
||||||
@@ -115,7 +116,8 @@
|
|||||||
T1.chinese_herbs_dose_quantity AS chinese_herbs_dose_quantity,
|
T1.chinese_herbs_dose_quantity AS chinese_herbs_dose_quantity,
|
||||||
T1.suffering_flag AS suffering_flag,
|
T1.suffering_flag AS suffering_flag,
|
||||||
T2.part_percent AS part_percent,
|
T2.part_percent AS part_percent,
|
||||||
ccd.name AS condition_definition_name
|
ccd.name AS condition_definition_name,
|
||||||
|
T4.account_id AS account_id
|
||||||
FROM med_medication_request AS T1
|
FROM med_medication_request AS T1
|
||||||
LEFT JOIN med_medication_definition AS T2 ON T2.ID = T1.medication_id
|
LEFT JOIN med_medication_definition AS T2 ON T2.ID = T1.medication_id
|
||||||
AND T2.delete_flag = '0'
|
AND T2.delete_flag = '0'
|
||||||
|
|||||||
@@ -130,7 +130,7 @@
|
|||||||
</el-select>
|
</el-select>
|
||||||
<span class="doctor-station"> 煎药方式: </span>
|
<span class="doctor-station"> 煎药方式: </span>
|
||||||
<el-select
|
<el-select
|
||||||
v-model="decoctionMethod"
|
v-model="prescription.dosageInstruction"
|
||||||
placeholder=""
|
placeholder=""
|
||||||
style="width: 120px"
|
style="width: 120px"
|
||||||
>
|
>
|
||||||
@@ -569,6 +569,7 @@ const tcmPrescriptionList = ref([
|
|||||||
rateCode: '',
|
rateCode: '',
|
||||||
dispensePerDuration: '',
|
dispensePerDuration: '',
|
||||||
chineseHerbsDoseQuantity: '',
|
chineseHerbsDoseQuantity: '',
|
||||||
|
dosageInstruction: '',
|
||||||
sufferingFlag: '0',
|
sufferingFlag: '0',
|
||||||
checkAll: false,
|
checkAll: false,
|
||||||
groupIndexList: [],
|
groupIndexList: [],
|
||||||
@@ -688,11 +689,12 @@ async function getListInfo(addNewRow) {
|
|||||||
id: generatePrescriptionId(),
|
id: generatePrescriptionId(),
|
||||||
prescriptionList: [],
|
prescriptionList: [],
|
||||||
conditionDefinitionId: '',
|
conditionDefinitionId: '',
|
||||||
accountId: contractList.value[0].accountId,
|
accountId: contractList.value?.[0]?.accountId || '',
|
||||||
methodCode: '',
|
methodCode: '',
|
||||||
rateCode: '',
|
rateCode: '',
|
||||||
dispensePerDuration: '',
|
dispensePerDuration: '',
|
||||||
chineseHerbsDoseQuantity: '',
|
chineseHerbsDoseQuantity: '',
|
||||||
|
dosageInstruction: '',
|
||||||
sufferingFlag: '0',
|
sufferingFlag: '0',
|
||||||
checkAll: false,
|
checkAll: false,
|
||||||
groupIndexList: [],
|
groupIndexList: [],
|
||||||
@@ -729,6 +731,9 @@ async function getListInfo(addNewRow) {
|
|||||||
if (firstItem.sufferingFlag !== undefined && firstItem.sufferingFlag !== null) {
|
if (firstItem.sufferingFlag !== undefined && firstItem.sufferingFlag !== null) {
|
||||||
prescription.sufferingFlag = firstItem.sufferingFlag;
|
prescription.sufferingFlag = firstItem.sufferingFlag;
|
||||||
}
|
}
|
||||||
|
if (firstItem.dosageInstruction !== undefined && firstItem.dosageInstruction !== null) {
|
||||||
|
prescription.dosageInstruction = firstItem.dosageInstruction;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return prescription;
|
return prescription;
|
||||||
@@ -740,11 +745,12 @@ async function getListInfo(addNewRow) {
|
|||||||
id: generatePrescriptionId(),
|
id: generatePrescriptionId(),
|
||||||
prescriptionList: [],
|
prescriptionList: [],
|
||||||
conditionDefinitionId: '',
|
conditionDefinitionId: '',
|
||||||
accountId: contractList.value[0].accountId,
|
accountId: contractList.value?.[0]?.accountId || '',
|
||||||
methodCode: '',
|
methodCode: '',
|
||||||
rateCode: '',
|
rateCode: '',
|
||||||
dispensePerDuration: '',
|
dispensePerDuration: '',
|
||||||
chineseHerbsDoseQuantity: '',
|
chineseHerbsDoseQuantity: '',
|
||||||
|
dosageInstruction: '',
|
||||||
sufferingFlag: '0',
|
sufferingFlag: '0',
|
||||||
checkAll: false,
|
checkAll: false,
|
||||||
groupIndexList: [],
|
groupIndexList: [],
|
||||||
@@ -754,7 +760,7 @@ async function getListInfo(addNewRow) {
|
|||||||
isAdding: false,
|
isAdding: false,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
tcmPrescriptionList.value.accountId = contractList.value[0].accountId;
|
tcmPrescriptionList.value.accountId = contractList.value?.[0]?.accountId || '';
|
||||||
if (props.activeTab == 'prescription' && addNewRow) {
|
if (props.activeTab == 'prescription' && addNewRow) {
|
||||||
handleAddMedicine(0);
|
handleAddMedicine(0);
|
||||||
}
|
}
|
||||||
@@ -898,6 +904,7 @@ function addNewPrescription() {
|
|||||||
rateCode: '',
|
rateCode: '',
|
||||||
dispensePerDuration: '',
|
dispensePerDuration: '',
|
||||||
chineseHerbsDoseQuantity: '',
|
chineseHerbsDoseQuantity: '',
|
||||||
|
dosageInstruction: '',
|
||||||
sufferingFlag: '0',
|
sufferingFlag: '0',
|
||||||
checkAll: false,
|
checkAll: false,
|
||||||
groupIndexList: [],
|
groupIndexList: [],
|
||||||
@@ -1160,7 +1167,7 @@ function handleSave(pIndex) {
|
|||||||
groupId: item.groupId,
|
groupId: item.groupId,
|
||||||
patientId: props.patientInfo.patientId,
|
patientId: props.patientInfo.patientId,
|
||||||
encounterId: props.patientInfo.encounterId,
|
encounterId: props.patientInfo.encounterId,
|
||||||
accountId: accountId.value,
|
accountId: prescription.accountId,
|
||||||
conditionId: prescription.conditionId,
|
conditionId: prescription.conditionId,
|
||||||
encounterDiagnosisId: prescription.encounterDiagnosisId,
|
encounterDiagnosisId: prescription.encounterDiagnosisId,
|
||||||
diagnosisName: prescription.diagnosisName,
|
diagnosisName: prescription.diagnosisName,
|
||||||
@@ -1237,7 +1244,7 @@ function handleSaveBatch(pIndex) {
|
|||||||
.map((item, index) => {
|
.map((item, index) => {
|
||||||
return {
|
return {
|
||||||
...item,
|
...item,
|
||||||
accountId: accountId.value,
|
accountId: prescription.accountId,
|
||||||
conditionId: prescription.conditionId,
|
conditionId: prescription.conditionId,
|
||||||
encounterDiagnosisId: prescription.encounterDiagnosisId,
|
encounterDiagnosisId: prescription.encounterDiagnosisId,
|
||||||
conditionDefinitionId: prescription.conditionDefinitionId,
|
conditionDefinitionId: prescription.conditionDefinitionId,
|
||||||
@@ -1249,6 +1256,7 @@ function handleSaveBatch(pIndex) {
|
|||||||
rateCode: prescription.rateCode,
|
rateCode: prescription.rateCode,
|
||||||
dispensePerDuration: prescription.dispensePerDuration,
|
dispensePerDuration: prescription.dispensePerDuration,
|
||||||
chineseHerbsDoseQuantity: prescription.chineseHerbsDoseQuantity,
|
chineseHerbsDoseQuantity: prescription.chineseHerbsDoseQuantity,
|
||||||
|
dosageInstruction: prescription.dosageInstruction,
|
||||||
dbOpType: item.requestId ? '2' : '1',
|
dbOpType: item.requestId ? '2' : '1',
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -159,7 +159,7 @@ const searchKey = ref('')
|
|||||||
const patientList = ref([])
|
const patientList = ref([])
|
||||||
const patientTotal = ref(0)
|
const patientTotal = ref(0)
|
||||||
const pageNo = ref(1)
|
const pageNo = ref(1)
|
||||||
const $110)
|
const pageSize = ref(10)
|
||||||
const currentPatient = ref(null)
|
const currentPatient = ref(null)
|
||||||
const feeItems = ref([])
|
const feeItems = ref([])
|
||||||
const feeLoading = ref(false)
|
const feeLoading = ref(false)
|
||||||
|
|||||||
@@ -300,7 +300,7 @@ const patientInfo = ref('');
|
|||||||
|
|
||||||
// 分页相关
|
// 分页相关
|
||||||
const currentPage = ref(1);
|
const currentPage = ref(1);
|
||||||
const $110);
|
const pageSize = ref(10)
|
||||||
const total = ref(0);
|
const total = ref(0);
|
||||||
|
|
||||||
// 打印相关
|
// 打印相关
|
||||||
|
|||||||
@@ -84,7 +84,7 @@ const loading = ref(false)
|
|||||||
const tableData = ref([])
|
const tableData = ref([])
|
||||||
const total = ref(0)
|
const total = ref(0)
|
||||||
const pageNo = ref(1)
|
const pageNo = ref(1)
|
||||||
const $110)
|
const pageSize = ref(10)
|
||||||
const keyword = ref('')
|
const keyword = ref('')
|
||||||
const showEdit = ref(false)
|
const showEdit = ref(false)
|
||||||
const showSteps = ref(false)
|
const showSteps = ref(false)
|
||||||
|
|||||||
@@ -82,7 +82,7 @@ const loading = ref(false)
|
|||||||
const tableData = ref([])
|
const tableData = ref([])
|
||||||
const total = ref(0)
|
const total = ref(0)
|
||||||
const pageNo = ref(1)
|
const pageNo = ref(1)
|
||||||
const $110)
|
const pageSize = ref(10)
|
||||||
const showForm = ref(false)
|
const showForm = ref(false)
|
||||||
|
|
||||||
const filters = ref({ sourceType: '', targetType: '', relationType: '' })
|
const filters = ref({ sourceType: '', targetType: '', relationType: '' })
|
||||||
|
|||||||
@@ -666,7 +666,7 @@ const tableData = ref([]);
|
|||||||
// 当前页码
|
// 当前页码
|
||||||
const pageNum = ref(1);
|
const pageNum = ref(1);
|
||||||
// 每页显示数据
|
// 每页显示数据
|
||||||
const $110);
|
const pageSize = ref(10)
|
||||||
const purchaseinventoryList = ref([]);
|
const purchaseinventoryList = ref([]);
|
||||||
const open = ref(false);
|
const open = ref(false);
|
||||||
const loading = ref(false);
|
const loading = ref(false);
|
||||||
|
|||||||
Reference in New Issue
Block a user