45 lines
1.8 KiB
Vue
45 lines
1.8 KiB
Vue
<template>
|
|
<el-table :data="tableData" style="width: 100%"
|
|
ref="singleTableRef"
|
|
highlight-current-row>
|
|
<el-table-column type="selection" width="55" />
|
|
<el-table-column prop="name" label="科室名称" width="180" />
|
|
<el-table-column prop="beginDate" label="开始日期" width="180" />
|
|
<el-table-column prop="endDate" label="结束日期" />
|
|
<el-table-column prop="info" label="简介" />
|
|
<el-table-column prop="resperName" label="负责人姓名" />
|
|
<el-table-column prop="resperTel" label="负责人电话" />
|
|
<el-table-column prop="medServScp" label="医疗服务范围" />
|
|
<el-table-column prop="creationDate" label="成立时间" />
|
|
<el-table-column prop="bedCnt" label="批准床位数量" />
|
|
<el-table-column prop="socialBedCnt" label="医保认可床位数量" />
|
|
<el-table-column prop="drPsncnt" label="医师人数" />
|
|
<el-table-column prop="pharPsncnt" label="药师人数" />
|
|
<el-table-column prop="nursPsncnt" label="护士人数" />
|
|
<el-table-column prop="tecnPsncnt" label="技师人数" />
|
|
<el-table-column prop="memo" label="备注" />
|
|
<el-table-column prop="createDatetime" label="创建时间" />
|
|
</el-table>
|
|
<div class="example-pagination-block">
|
|
<div class="example-demonstration">When you have few pages</div>
|
|
<el-pagination layout="prev, pager, next" :total="50" />
|
|
</div><div class="example-pagination-block">
|
|
<div class="example-demonstration">When you have few pages</div>
|
|
<el-pagination layout="prev, pager, next" :total="50" />
|
|
</div>
|
|
</template>
|
|
|
|
<script lang="ts" setup>
|
|
import {ref} from "vue";
|
|
import {post} from "@/utils/request.ts";
|
|
import {API} from "@/assets/config/API.ts";
|
|
|
|
|
|
const tableData = ref([])
|
|
post(API.Organization.Section.List, {page: 1, size: 10}).then((res:any)=>{
|
|
tableData.value = res.list
|
|
})
|
|
</script>
|
|
<style scoped>
|
|
|
|
</style> |