106 lines
4.6 KiB
Vue
106 lines
4.6 KiB
Vue
|
|
<!-- 批量审核 -->
|
||
|
|
<template>
|
||
|
|
<el-form ref="form" :model="formData" label-width="80px">
|
||
|
|
<el-form-item label="仪器分组" prop="lisgroup">
|
||
|
|
<SelectTable v-model:data="formData.lisgroup" :fields="fields" dict-type="GROUP" />
|
||
|
|
</el-form-item>
|
||
|
|
<el-form-item label="医疗机构" prop="yljg">
|
||
|
|
<el-input placeholder="请选择医疗机构" v-model="formData.yljg"></el-input>
|
||
|
|
</el-form-item>
|
||
|
|
<el-form-item label="申请科室" prop="ksdh">
|
||
|
|
<el-input placeholder="请选择申请科室" v-model="formData.ksdh"></el-input>
|
||
|
|
</el-form-item>
|
||
|
|
<el-form-item label="检验仪器" prop="yq">
|
||
|
|
<YQSelectTable v-model:data="formData.yq" width="200px" clearable @get-data-value="getList"></YQSelectTable>
|
||
|
|
</el-form-item>
|
||
|
|
<el-form-item label="标本日期" prop="">
|
||
|
|
<el-date-picker v-model="formData.jyrq1" type="date" /> - <el-date-picker v-model="formData.jyrq2" type="date" />
|
||
|
|
</el-form-item>
|
||
|
|
<el-form-item label="检验医师" prop="yhdh">
|
||
|
|
<el-input placeholder="请填写检验医师" v-model="formData.yhdh"></el-input>
|
||
|
|
</el-form-item>
|
||
|
|
<el-form-item label="病人来源" prop="brly">
|
||
|
|
<el-input placeholder="请填写病人来源" v-model="formData.brly"></el-input>
|
||
|
|
</el-form-item>
|
||
|
|
<el-form-item label="标本号">
|
||
|
|
<el-date-picker v-model="formData.ybh1" type="date" /> - <el-date-picker v-model="formData.ybh2" type="date" />
|
||
|
|
</el-form-item>
|
||
|
|
<el-form-item label="审核标志">
|
||
|
|
<el-select v-model="formData.jgbz" placeholder="" clearable>
|
||
|
|
<el-option v-for="item in jgbzOption" :key="item.value" :label="item.label" :value="item.value"></el-option>
|
||
|
|
</el-select>
|
||
|
|
</el-form-item>
|
||
|
|
</el-form>
|
||
|
|
<CustomTable ref="tableRef" :data="tableData" :columns="columns" :config="tableConfig">
|
||
|
|
|
||
|
|
</CustomTable>
|
||
|
|
<h3>{{ msg }}</h3>
|
||
|
|
</template>
|
||
|
|
|
||
|
|
<script setup lang="ts">
|
||
|
|
import CustomTable from '@/components/elTable/index.vue'
|
||
|
|
import YQSelectTable from '@/components/SelectTable/YQSelectTable/index.vue';
|
||
|
|
import { dictData } from '@/hooks';
|
||
|
|
import SelectTable from '@/components/SelectTable/index.vue';
|
||
|
|
|
||
|
|
const formData = ref()
|
||
|
|
const tableRef = ref();
|
||
|
|
const msg = ref() //审核后结果显示
|
||
|
|
const tableData = ref()
|
||
|
|
const columns = ref([
|
||
|
|
{ prop: 'checkSign', label: '审核标志', visible: true, align: 'center' },
|
||
|
|
{ prop: 'yq', label: '检验仪器', visible: true, align: 'center' },
|
||
|
|
{ prop: 'jyrq', label: '检验日期', visible: true, align: 'center' },
|
||
|
|
{ prop: 'ybh', label: '样本号', visible: true, align: 'center' },
|
||
|
|
{ prop: 'brxm', label: '姓名', visible: true, align: 'center' },
|
||
|
|
{ prop: 'zyh', label: '住院号', visible: true, align: 'center' },
|
||
|
|
{ prop: 'sqh', label: '申请号', visible: true, align: 'center' },
|
||
|
|
{ prop: 'brly', label: '病人类型', visible: true, align: 'center' },
|
||
|
|
{ prop: 'brxb', label: '性别', visible: true, align: 'center' },
|
||
|
|
{ prop: 'brnl', label: '年', visible: true, align: 'center' },
|
||
|
|
{ prop: 'nldw', label: '龄', visible: true, align: 'center' },
|
||
|
|
{ prop: 'ksdh', label: '科室', visible: true, align: 'center' },
|
||
|
|
{ prop: 'ch', label: '床号', visible: true, align: 'center' },
|
||
|
|
{ prop: 'sjys', label: '送检医生', visible: true, align: 'center' },
|
||
|
|
{ prop: 'sqsj', label: '申请时间', visible: true, align: 'center' },
|
||
|
|
{ prop: 'cysj', label: '采样时间', visible: true, align: 'center' },
|
||
|
|
{ prop: 'yhdh', label: '检验医师', visible: true, align: 'center' },
|
||
|
|
{ prop: 'dysj', label: '报告日期', visible: true, align: 'center' },
|
||
|
|
{ prop: 'yblx', label: '样本', visible: true, align: 'center' },
|
||
|
|
{ prop: 'hdys', label: '核对医生', visible: true, align: 'center' },
|
||
|
|
{ prop: 'dybz', label: '打印标志', visible: true, align: 'center' },
|
||
|
|
{ prop: 'zd', label: '临床诊断', visible: true, align: 'center' },
|
||
|
|
{ prop: 'bz', label: '备注', visible: true, align: 'center' },
|
||
|
|
{ prop: 'confirmer', label: '审核人', visible: true, align: 'center' },
|
||
|
|
{ prop: 'confirmdt', label: '审核时间', visible: true, align: 'center' },
|
||
|
|
]);
|
||
|
|
|
||
|
|
const jgbzOption = ref([
|
||
|
|
{ value: '0', label: '未审核' },
|
||
|
|
{ value: '2', label: '已审核' },
|
||
|
|
{ value: '1', label: '初审' },
|
||
|
|
{ value: 'A', label: '所有' },
|
||
|
|
])
|
||
|
|
|
||
|
|
const tableConfig = ref({
|
||
|
|
border: true, // 边框
|
||
|
|
height: '78vh', // 高度
|
||
|
|
highlightCurrentRow: true, // 高亮当前行
|
||
|
|
// cellStyle: cellStyleHd
|
||
|
|
})
|
||
|
|
|
||
|
|
const fields = ref(
|
||
|
|
[
|
||
|
|
{ prop: 'value', label: '代号', width: 80, enablePinyinSearch: true },
|
||
|
|
{ prop: 'label', label: '名称', width: 150, enablePinyinSearch: true },
|
||
|
|
]
|
||
|
|
)
|
||
|
|
|
||
|
|
|
||
|
|
const getList = () => {
|
||
|
|
}
|
||
|
|
|
||
|
|
</script>
|
||
|
|
|
||
|
|
<style scoped lang="scss"></style>
|