增加健康证统计
parent
b8c0363744
commit
899066a4b3
@ -1,6 +1,6 @@
|
|||||||
ENV = 'production'
|
ENV = 'production'
|
||||||
VITE_APP_API_77777 = 'http://192.168.50.123:33583/common/la/public/api/'
|
VITE_APP_API = 'http://192.168.50.123:33583/common/la/public/api/'
|
||||||
VITE_APP_FILE_7777 = 'http://192.168.50.123:33583/common/la/public'
|
VITE_APP_FILE = 'http://192.168.50.123:33583/common/la/public'
|
||||||
|
|
||||||
VITE_APP_API = 'http://172.31.68.39:33583/common/la/public/api/'
|
VITE_APP_API_5555 = 'http://172.31.68.39:33583/common/la/public/api/'
|
||||||
VITE_APP_FILE = 'http://172.31.68.39:33583/common/la/public'
|
VITE_APP_FILE_5555 = 'http://172.31.68.39:33583/common/la/public'
|
||||||
@ -0,0 +1,83 @@
|
|||||||
|
<template>
|
||||||
|
<div>
|
||||||
|
<div class="head">
|
||||||
|
<el-row>
|
||||||
|
<el-form-item style="margin-left: 8px;" v-if="org_list.length>0">
|
||||||
|
<el-select filterable clearable v-model="searchInfo.org_id" placeholder="请选择体检机构">
|
||||||
|
<el-option v-for="(item, index) in org_list" :key="index" :label="item.org_name" :value="item.id" />
|
||||||
|
</el-select>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item style="margin-left: 8px;">
|
||||||
|
|
||||||
|
<el-date-picker v-model="searchInfo.dateRange" value-format="YYYY-MM-DD" type="daterange"
|
||||||
|
range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期" />
|
||||||
|
|
||||||
|
</el-form-item>
|
||||||
|
|
||||||
|
<el-form-item>
|
||||||
|
<el-button type="primary" style="margin-left: 20px;" @click="GetInfo">搜索</el-button>
|
||||||
|
</el-form-item>
|
||||||
|
</el-row>
|
||||||
|
</div>
|
||||||
|
<el-table :data="tableData" style="width: 100%;" row-key="id" show-summary v-loading="loading">
|
||||||
|
<el-table-column prop="org_name" label="体检机构" />
|
||||||
|
<el-table-column prop="sn" label="Code" />
|
||||||
|
<el-table-column prop="count" label="数量" />
|
||||||
|
</el-table>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script setup>
|
||||||
|
import {
|
||||||
|
ref,
|
||||||
|
onMounted
|
||||||
|
} from 'vue'
|
||||||
|
import {
|
||||||
|
ElMessage
|
||||||
|
} from 'element-plus'
|
||||||
|
import {
|
||||||
|
CheckUpCount,GetHealthOrganizationEnableList
|
||||||
|
} from '@/api/api.js'
|
||||||
|
let loading = ref(false)
|
||||||
|
let searchInfo = ref({
|
||||||
|
checkType:"1",
|
||||||
|
dateRange: [],
|
||||||
|
org_id: '',
|
||||||
|
})
|
||||||
|
let tableData = ref([])
|
||||||
|
const GetInfo=()=>{
|
||||||
|
loading.value=true
|
||||||
|
CheckUpCount({searchInfo:searchInfo.value}).then(res => {
|
||||||
|
loading.value=false
|
||||||
|
if (res.status) {
|
||||||
|
tableData.value = res.data.list
|
||||||
|
searchInfo.value.dateRange=res.data.dateRange
|
||||||
|
} else {
|
||||||
|
ElMessage.error(res.msg)
|
||||||
|
}
|
||||||
|
|
||||||
|
})
|
||||||
|
}
|
||||||
|
let org_list = ref('') //机构列表
|
||||||
|
const getHealthOrganizationEnableList = () => {
|
||||||
|
GetHealthOrganizationEnableList().then(res => {
|
||||||
|
if (res.status) {
|
||||||
|
org_list.value = res.data
|
||||||
|
if (res.data.length == 1) {
|
||||||
|
searchInfo.value.org_id = res.data[0].id
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
ElMessage.error(res.msg)
|
||||||
|
}
|
||||||
|
|
||||||
|
})
|
||||||
|
}
|
||||||
|
onMounted(() => {
|
||||||
|
getHealthOrganizationEnableList()
|
||||||
|
GetInfo()
|
||||||
|
})
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style>
|
||||||
|
</style>
|
||||||
Loading…
Reference in New Issue