更改医院接口
This commit is contained in:
parent
e56bbe4147
commit
afb10c98a9
@ -33,7 +33,13 @@ export function getHospitalList(data){
|
||||
params
|
||||
})
|
||||
}
|
||||
|
||||
export function getAdminAreaList(params){
|
||||
return request({
|
||||
url:'/admin/basic/area/list',
|
||||
method: 'get',
|
||||
params
|
||||
})
|
||||
}
|
||||
export function addArea(data){//新增医院
|
||||
return request({
|
||||
url:'/admin/basic/area',
|
||||
|
||||
@ -160,7 +160,7 @@
|
||||
</template>
|
||||
<script setup>
|
||||
import { ref, toRefs, watch, getCurrentInstance } from 'vue';
|
||||
import { getAreaList, addHospital, updateHospital } from '@/api/basic/list';
|
||||
import { getAdminAreaList, addHospital, updateHospital } from '@/api/basic/list';
|
||||
const { proxy } = getCurrentInstance();
|
||||
const props = defineProps({
|
||||
// 是否显示
|
||||
@ -185,7 +185,7 @@ const countryData = ref([]);
|
||||
|
||||
//获取区域列表
|
||||
const handelAreaList = (area_id = '', parent_id = '', area_type) => {
|
||||
getAreaList({
|
||||
getAdminAreaList({
|
||||
area_id,
|
||||
area_type,
|
||||
parent_id,
|
||||
|
||||
@ -91,7 +91,7 @@
|
||||
|
||||
<script setup>
|
||||
import { reactive, ref, getCurrentInstance, onMounted, nextTick, watch, computed } from 'vue';
|
||||
import { getHospitalList,getHospitalDetail,getAreaList} from '@/api/basic/list';
|
||||
import { getHospitalList,getHospitalDetail,getAdminAreaList} from '@/api/basic/list';
|
||||
import { downloadFile } from '@/utils/downloadFile';
|
||||
// Akiraka 20230210 删除数据
|
||||
const deleteData = ref([])
|
||||
@ -130,7 +130,7 @@
|
||||
const countryData = ref([]);
|
||||
//获取区域列表
|
||||
const handelAreaList = (area_id = '', parent_id = '', area_type) => {
|
||||
getAreaList({
|
||||
getAdminAreaList({
|
||||
area_id,
|
||||
area_type,
|
||||
parent_id
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user