修正前端问题

This commit is contained in:
2025-12-11 14:47:17 +08:00
parent df7281a2d4
commit 3d797cc0e0
10 changed files with 2584 additions and 7497 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -103,7 +103,7 @@
:data="deviceList" :data="deviceList"
@selection-change="handleSelectionChange" @selection-change="handleSelectionChange"
width="90%" width="90%"
> />
<el-table v-loading="loading" :data="deviceList" @selection-change="handleSelectionChange" width="90%" border resizable-column> <el-table v-loading="loading" :data="deviceList" @selection-change="handleSelectionChange" width="90%" border resizable-column>
<el-table-column type="selection" width="50" align="center" /> <el-table-column type="selection" width="50" align="center" />
<el-table-column <el-table-column

View File

@@ -46,21 +46,6 @@
/> />
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="诊断类型" prop="typeCode">
<el-select
v-model="queryParams.typeCode"
placeholder="请选择"
style="width: 240px"
clearable
>
<el-option
v-for="dict in condition_type_code"
:key="dict.value"
:label="dict.label"
:value="dict.value"
></el-option>
</el-select>
</el-form-item>
<!-- <el-form-item> <!-- <el-form-item>
<el-button type="primary" icon="Search" @click="handleQuery">搜索</el-button> <el-button type="primary" icon="Search" @click="handleQuery">搜索</el-button>
<el-button icon="Refresh" @click="resetQuery">重置</el-button> <el-button icon="Refresh" @click="resetQuery">重置</el-button>
@@ -101,84 +86,6 @@
</el-col> --> </el-col> -->
</el-row> </el-row>
<el-table v-loading="loading" :data="diseaseList" @selection-change="handleSelectionChange">
<el-table-column type="selection" width="50" align="center" />
<el-table-column label="编码" align="center" key="conditionCode" prop="conditionCode" />
<el-table-column
label="名称"
align="center"
key="name"
prop="name"
:show-overflow-tooltip="true"
/>
<el-table-column
label="疾病分类"
align="center"
key="sourceEnum_enumText"
prop="sourceEnum_enumText"
:show-overflow-tooltip="true"
/>
<!-- <el-table-column
label="拼音助记码"
align="center"
key="pyStr"
prop="pyStr"
:show-overflow-tooltip="true"
/> -->
<el-table-column
label="类型"
align="center"
key="typeCode_dictText"
prop="typeCode_dictText"
:show-overflow-tooltip="true"
/>
<el-table-column
label="医保编码 "
align="center"
key="ybNo"
prop="ybNo"
:show-overflow-tooltip="true"
/>
<!-- <el-table-column
label="医保标记"
align="center"
key="ybMatchFlag"
prop="ybMatchFlag_enumText"
/>
<el-table-column
label="医保对码标志"
align="center"
key="ybMatchFlag"
prop="ybMatchFlag_enumText"
/> -->
<el-table-column
label="状态"
align="center"
key="statusEnum_enumText"
prop="statusEnum_enumText"
width="160"
/>
<el-table-column
label="描述"
align="center"
key="description"
prop="description"
width="160"
/>
<el-table-column
label="操作"
align="center"
width="150"
class-name="small-padding fixed-width"
>
<template #default="scope">
<el-button link type="primary" icon="Edit" @click="handleUpdate(scope.row)"
>编辑</el-button
>
</template>
</el-table-column>
</el-table>
<pagination
<!-- 添加外层滚动容器确保表格可以水平滚动 --> <!-- 添加外层滚动容器确保表格可以水平滚动 -->
<div class="table-scroll-container"> <div class="table-scroll-container">
<!-- 移除style="width: 100%"让Element UI表格根据内容自动调整 --> <!-- 移除style="width: 100%"让Element UI表格根据内容自动调整 -->
@@ -304,7 +211,7 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="诊断类型" prop="typeCode"> <el-form-item label="类型" prop="typeCode">
<el-select v-model="form.typeCode" placeholder="请选择" clearable> <el-select v-model="form.typeCode" placeholder="请选择" clearable>
<el-option <el-option
v-for="dict in condition_type_code" v-for="dict in condition_type_code"

View File

@@ -350,7 +350,6 @@
</template> </template>
<script setup name="PatientAddDialog"> <script setup name="PatientAddDialog">
import { watch } from 'vue';
import { watch, defineProps } from "vue"; import { watch, defineProps } from "vue";
import pcas from 'china-division/dist/pcas-code.json'; import pcas from 'china-division/dist/pcas-code.json';
import { addPatient, patientlLists, getOutpatientRegistrationList } from './outpatientregistration'; import { addPatient, patientlLists, getOutpatientRegistrationList } from './outpatientregistration';

View File

@@ -765,8 +765,6 @@ const patientInfoList = ref(undefined);
// 费用性质 // 费用性质
const contractList = ref(undefined); const contractList = ref(undefined);
// const locationOptions = ref(undefined); // 地点树选项 // const locationOptions = ref(undefined); // 地点树选项
const doctorList = ref(undefined); // 医生选项
const healthcareList = ref([]); // 挂号项目选项
const doctorList = ref(undefined); // 医生选项(过滤后的) const doctorList = ref(undefined); // 医生选项(过滤后的)
const allDoctorList = ref(undefined); // 所有医生选项(用于过滤) const allDoctorList = ref(undefined); // 所有医生选项(用于过滤)
const healthcareList = ref(undefined); // 挂号项目选项 const healthcareList = ref(undefined); // 挂号项目选项

View File

@@ -212,25 +212,25 @@ watch(
); );
getList(); getList();
function getList() { // function getList() {
queryParams.value.organizationId = props.patientInfo.orgId; // queryParams.value.organizationId = props.patientInfo.orgId;
getAdviceBaseInfo(queryParams.value).then((res) => { // getAdviceBaseInfo(queryParams.value).then((res) => {
if (res.data.records.length > 0) { // if (res.data.records.length > 0) {
adviceBaseList.value = res.data.records.filter((item) => { // adviceBaseList.value = res.data.records.filter((item) => {
if (item.adviceType == 1 || item.adviceType == 2) { // if (item.adviceType == 1 || item.adviceType == 2) {
return handleQuantity(item) != 0; // return handleQuantity(item) != 0;
} else { // } else {
return true; // return true;
} // }
}); // });
total.value = res.data.total; // total.value = res.data.total;
nextTick(() => { // nextTick(() => {
currentIndex.value = 0; // currentIndex.value = 0;
// adviceBaseRef.value.setCurrentRow(adviceBaseList.value[0]); // // adviceBaseRef.value.setCurrentRow(adviceBaseList.value[0]);
}); // });
} // }
}); // });
} // }
// 从priceList列表中获取价格 // 从priceList列表中获取价格
function getPriceFromInventory(row) { function getPriceFromInventory(row) {
if (row.priceList && row.priceList.length > 0) { if (row.priceList && row.priceList.length > 0) {

View File

@@ -202,7 +202,6 @@
<el-form-item <el-form-item
label="数量" label="数量"
prop="minUnitQuantity" prop="minUnitQuantity"
prop="minUnitQuantity"
class="required-field" class="required-field"
data-prop="minUnitQuantity" data-prop="minUnitQuantity"
> >
@@ -463,7 +462,6 @@ const unitCodeList = ref([]);
const adviceTableRef = ref([]); const adviceTableRef = ref([]);
const organization = ref([]); const organization = ref([]);
const conditionDefinitionId = ref(''); const conditionDefinitionId = ref('');
const encounterDiagnosisId = ref('');
const diagnosisName = ref(''); const diagnosisName = ref('');
const diagnosisInfo = ref({}); const diagnosisInfo = ref({});
const rateCode = ref(''); const rateCode = ref('');