|
|
|
@ -27,6 +27,11 @@
|
|
|
|
<el-date-picker v-model="searchInfo.dateRange" value-format="YYYY-MM-DD" type="daterange"
|
|
|
|
<el-date-picker v-model="searchInfo.dateRange" value-format="YYYY-MM-DD" type="daterange"
|
|
|
|
range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期" />
|
|
|
|
range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期" />
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
|
|
|
|
<el-form-item 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>
|
|
|
|
<el-form-item>
|
|
|
|
<el-button type="primary" @click="Search">搜索</el-button>
|
|
|
|
<el-button type="primary" @click="Search">搜索</el-button>
|
|
|
|
<el-button type="success" @click="ExportExcel" :loading="exportLoading">导出Excel</el-button>
|
|
|
|
<el-button type="success" @click="ExportExcel" :loading="exportLoading">导出Excel</el-button>
|
|
|
|
@ -60,7 +65,7 @@
|
|
|
|
<script setup>
|
|
|
|
<script setup>
|
|
|
|
import { ref, onMounted } from 'vue'
|
|
|
|
import { ref, onMounted } from 'vue'
|
|
|
|
import { ElMessage } from 'element-plus'
|
|
|
|
import { ElMessage } from 'element-plus'
|
|
|
|
import { DeleteOperationLogGetList, DeleteOperationLogExport } from '@/api/api.js'
|
|
|
|
import { DeleteOperationLogGetList, DeleteOperationLogExport, GetHealthOrganizationEnableList } from '@/api/api.js'
|
|
|
|
import * as XLSX from 'xlsx'
|
|
|
|
import * as XLSX from 'xlsx'
|
|
|
|
|
|
|
|
|
|
|
|
let typeMap = { '1': '健康证体检', '2': '老年人体检' }
|
|
|
|
let typeMap = { '1': '健康证体检', '2': '老年人体检' }
|
|
|
|
@ -79,7 +84,22 @@
|
|
|
|
table_name: '',
|
|
|
|
table_name: '',
|
|
|
|
type: '',
|
|
|
|
type: '',
|
|
|
|
dateRange: [],
|
|
|
|
dateRange: [],
|
|
|
|
|
|
|
|
org_id: null,
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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)
|
|
|
|
|
|
|
|
}
|
|
|
|
})
|
|
|
|
})
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
const PageSizeChange = (e) => {
|
|
|
|
const PageSizeChange = (e) => {
|
|
|
|
pageSize.value = e
|
|
|
|
pageSize.value = e
|
|
|
|
@ -139,6 +159,7 @@
|
|
|
|
})
|
|
|
|
})
|
|
|
|
}
|
|
|
|
}
|
|
|
|
onMounted(() => {
|
|
|
|
onMounted(() => {
|
|
|
|
|
|
|
|
getHealthOrganizationEnableList()
|
|
|
|
GetList()
|
|
|
|
GetList()
|
|
|
|
})
|
|
|
|
})
|
|
|
|
</script>
|
|
|
|
</script>
|
|
|
|
|