输液修改,门诊管理修改
This commit is contained in:
@@ -2,7 +2,7 @@ import request from '@/utils/request'
|
||||
|
||||
export function listOutpatienRecords(query) {
|
||||
return request({
|
||||
url: '/patientmanage/records/outpatient-record-page',
|
||||
url: '/patient-manage/records/outpatient-record-page',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
@@ -10,7 +10,7 @@ export function listOutpatienRecords(query) {
|
||||
|
||||
export function listDoctorNames() {
|
||||
return request({
|
||||
url: '/patientmanage/records/init',
|
||||
url: '/patient-manage/records/init',
|
||||
method: 'get',
|
||||
})
|
||||
}
|
||||
|
||||
@@ -87,7 +87,7 @@ function getList() {
|
||||
});
|
||||
listDoctorNames().then(response => {
|
||||
console.log(response);
|
||||
// doctorList.value = response.data;
|
||||
doctorList.value = response.data;
|
||||
});
|
||||
}
|
||||
|
||||
@@ -96,7 +96,6 @@ function handleQuery() {
|
||||
queryParams.value.beginTime = dateRange.value[0];
|
||||
queryParams.value.endTime = dateRange.value[1];
|
||||
queryParams.value.pageNo = 1;
|
||||
console.log("123",queryParams.value,typeof queryParams.value.beginTime)
|
||||
getList();
|
||||
}
|
||||
/** 重置按钮操作 */
|
||||
|
||||
@@ -1,53 +1,9 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
|
||||
export function listmaritalstatus() {
|
||||
return request({
|
||||
url: '/patientmanage/information/list-maritalstatus',
|
||||
method: 'get',
|
||||
})
|
||||
}
|
||||
|
||||
export function listoccupationtype() {
|
||||
return request({
|
||||
url: '/patientmanage/information/list-occupationtype',
|
||||
method: 'get',
|
||||
})
|
||||
}
|
||||
|
||||
export function lisadministrativegender() {
|
||||
return request({
|
||||
url: '/patientmanage/information/list-administrativegender',
|
||||
method: 'get',
|
||||
})
|
||||
}
|
||||
|
||||
export function listbloodtypeabo() {
|
||||
return request({
|
||||
url: '/patientmanage/information/list-bloodtypeabo',
|
||||
method: 'get',
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
export function listbloodtypearh() {
|
||||
return request({
|
||||
url: '/patientmanage/information/list-bloodtypearh',
|
||||
method: 'get',
|
||||
})
|
||||
}
|
||||
|
||||
export function listfamilyrelationshiptype() {
|
||||
return request({
|
||||
url: '/patientmanage/information/list-familyrelationshiptype',
|
||||
method: 'get',
|
||||
})
|
||||
}
|
||||
|
||||
// 新增
|
||||
export function addPatient(data) {
|
||||
return request({
|
||||
url: '/patientmanage/information/patient-information',
|
||||
url: '/patient-manage/information/patient-information',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
@@ -56,14 +12,14 @@ export function addPatient(data) {
|
||||
// 查询菜单列表
|
||||
export function listPatient(query) {
|
||||
return request({
|
||||
url: '/patientmanage/information/patient-information-page',
|
||||
url: '/patient-manage/information/patient-information-page',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
export function lists() {
|
||||
return request({
|
||||
url: '/patientmanage/information/init',
|
||||
url: '/patient-manage/information/init',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
@@ -71,7 +27,7 @@ export function listPatient(query) {
|
||||
// 修改
|
||||
export function updatePatient(data) {
|
||||
return request({
|
||||
url: '/patientmanage/information/patient-information',
|
||||
url: '/patient-manage/information/patient-information',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
|
||||
@@ -72,11 +72,6 @@
|
||||
</el-col>
|
||||
</el-row>
|
||||
<el-row>
|
||||
<!-- <el-col :span="6">
|
||||
<el-form-item label="年龄" prop="age">
|
||||
<el-input v-model="form.age" clearable :disabled="isViewMode"/>
|
||||
</el-form-item>
|
||||
</el-col> -->
|
||||
<el-col :span="12">
|
||||
<el-form-item label="性别" prop="genderEnum">
|
||||
<el-radio-group v-model="form.genderEnum" :disabled="isViewMode">
|
||||
@@ -89,8 +84,8 @@
|
||||
<el-col :span="7">
|
||||
<el-form-item label="活动标识" prop="tempFlag">
|
||||
<el-radio-group v-model="form.tempFlag" :disabled="isViewMode">
|
||||
<el-radio v-for="dict in patient_temp_flag" :key="dict.value" :label="dict.value" >
|
||||
{{ dict.label }}
|
||||
<el-radio v-for="item in tempFlagList" :key="item.value" :label="item.value" >
|
||||
{{ item.info }}
|
||||
</el-radio>
|
||||
</el-radio-group>
|
||||
</el-form-item>
|
||||
@@ -100,8 +95,7 @@
|
||||
<el-col :span="7">
|
||||
<el-form-item label="证件类别" prop="idType">
|
||||
<el-select v-model="form.idType" placeholder="证件类别" clearable :disabled="isViewMode">
|
||||
<el-option v-for="dict in sys_idtype"
|
||||
:key="dict.value" :label="dict.label" :value="dict.value" />
|
||||
<el-option v-for="item in idTypeList" :key="item.value" :label="item.info" />
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
@@ -191,7 +185,7 @@
|
||||
:key="item.value" :label="item.info" :value="item.value" />
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-col>
|
||||
</el-row>
|
||||
<el-row>
|
||||
<el-col :span="10">
|
||||
@@ -224,8 +218,7 @@
|
||||
<script setup name="patientManagement">
|
||||
import pcas from 'china-division/dist/pcas-code.json';
|
||||
import { ref, computed } from 'vue';
|
||||
import {listmaritalstatus,listoccupationtype,lisadministrativegender,listbloodtypeabo,listbloodtypearh,listfamilyrelationshiptype,
|
||||
addPatient,listPatient,updatePatient,lists} from "./component/api"
|
||||
import {addPatient,listPatient,updatePatient,lists} from "./component/api"
|
||||
|
||||
const showSearch = ref(true);
|
||||
const open = ref(false);
|
||||
@@ -239,6 +232,8 @@ const bloodtypeaboList = ref([]) //血型abo
|
||||
const bloodtypearhList = ref([]) //血型RH
|
||||
const familyrelationshiptypeList = ref([]) //家庭关系
|
||||
const addressCom = ref(""); //地址
|
||||
const tempFlagList = ref([])
|
||||
const idTypeList = ref([])
|
||||
|
||||
const options = ref(pcas); // 地区数据
|
||||
const selectedOptions = ref([]); // v-model 绑定的选中值
|
||||
@@ -306,6 +301,8 @@ function getList() {
|
||||
bloodtypearhList.value = response.data.bloodTypeRH
|
||||
familyrelationshiptypeList.value = response.data.familyRelationshipType
|
||||
maritalstatusList.value = response.data.maritalStatus
|
||||
tempFlagList.value = response.data.whetherStatus
|
||||
idTypeList.value = response.data.identityDocumentType
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user