批量审核
This commit is contained in:
parent
31a6f3bde2
commit
1ba9ed33c5
2430
pnpm-lock.yaml
generated
2430
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
105
src/views/liswork/batchCheck/index.vue
Normal file
105
src/views/liswork/batchCheck/index.vue
Normal file
@ -0,0 +1,105 @@
|
||||
<!-- 批量审核 -->
|
||||
<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>
|
||||
@ -158,7 +158,7 @@ const { proxy } = getCurrentInstance();
|
||||
const { lis_reqzt_type } = proxy.useDict("lis_reqzt_type"); //参数类别
|
||||
|
||||
const isExpand = ref(false);
|
||||
const queryParams = reactive({
|
||||
let queryParams = reactive({
|
||||
sqsj1: '',
|
||||
sqsj2: '',
|
||||
brdh: '',
|
||||
|
||||
@ -160,7 +160,7 @@ const handleSelectionChange = (selection) => {
|
||||
}
|
||||
|
||||
const saveData = () => {
|
||||
const arr = tableRef.value.getSelectionRows()
|
||||
let arr = tableRef.value.getSelectionRows()
|
||||
if (!arr.length) return ElMessage.warning('请选择要保存的申请单!')
|
||||
|
||||
const flag = arr.every(item => item.mode && item.refuseText && item.description)
|
||||
@ -197,7 +197,7 @@ const handleCheckUserConfirm = (info) => {
|
||||
|
||||
// 指定护士
|
||||
const handleSelectUserConfirm = (info) => {
|
||||
const arr = tableRef.value.getSelectionRows()
|
||||
let arr = tableRef.value.getSelectionRows()
|
||||
if (!arr.length) return ElMessage.warning('请选择要保存的申请单!')
|
||||
arr = arr.map(item => ({
|
||||
...item,
|
||||
|
||||
@ -65,8 +65,8 @@ export default defineConfig(({
|
||||
proxy: {
|
||||
// https://cn.vitejs.dev/config/#server-proxy
|
||||
'/dev-api': {
|
||||
target: 'http://47.97.125.165:8904',
|
||||
// target: 'http://192.168.1.151:9801',
|
||||
//target: 'http://47.97.125.165:8904',
|
||||
target: 'http://localhost:9801',
|
||||
changeOrigin: true,
|
||||
rewrite: (p) => p.replace(/^\/dev-api/, '')
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user