From d0f98ad8e1047e3161a458399ad3005404ed87b8 Mon Sep 17 00:00:00 2001 From: whychdw <496960745@qq.com> Date: 星期五, 06 六月 2025 15:52:15 +0800 Subject: [PATCH] 标准参数管理 --- src/views/history/hisTest.vue | 65 ++++++++++++++++++++++++++++++++ 1 files changed, 65 insertions(+), 0 deletions(-) diff --git a/src/views/history/hisTest.vue b/src/views/history/hisTest.vue new file mode 100644 index 0000000..b158710 --- /dev/null +++ b/src/views/history/hisTest.vue @@ -0,0 +1,65 @@ +<script setup name="hisTest"> +import { ref, reactive } from "vue"; + +const testTypes = [ + { + prop: 'hrfd', + label: '鏍稿鏀剧數' + }, + { + prop: 'hrcd', + label: '鏍稿鍏呯數' + }, + { + prop: 'jkfd', + label: '鐩戞帶鏀剧數' + }, + { + prop: 'jkcd', + label: '鐩戞帶鍏呯數' + }, + { + prop: 'tdfd', + label: '鍋滅數鏀剧數' + } +]; + +const testRecordList = reactive({ + hrfd: [], + hrcd: [], + jkfd: [], + jkcd: [], + tdfd: [] +}); + +</script> + +<template> + <div class="page-his"> + <div class="filter"> + <div class="item" v-for="(item, idx) in testTypes" :key="'list0_' + idx"> + <div class="label">{{ item.label }}</div> + <div class="value"> + <el-select + v-model="item.prop" + size="small" + clearable + placeholder="璇烽�夋嫨" + > + <el-option + v-for="(item, idx) in testRecordList[item.prop]" + :key="'list5_' + idx" + :label="item.label" + :value="item.value" + > + </el-option> + </el-select> + </div> + </div> + </div> + </div> +</template> + +<style scoped lang="less"> + +</style> \ No newline at end of file -- Gitblit v1.9.1