| | |
| | | <ContentWrap> |
| | | <el-form ref="queryFormRef" :inline="true" :model="queryParams" class="-mb-15px" |
| | | label-width="68px"> |
| | | <el-form-item label="指标编码" prop="name"> |
| | | <el-input v-model="queryParams.itemNo" class="!w-240px" clearable placeholder="请输入指标编码" |
| | | <el-form-item label="指标编码" prop="itemNo"> |
| | | <el-input v-model="queryParams.itemNo" class="!w-200px" clearable placeholder="请输入指标编码" |
| | | @keyup.enter="handleQuery"/> |
| | | </el-form-item> |
| | | <el-form-item label="指标名称" prop="name"> |
| | | <el-input v-model="queryParams.itemName" class="!w-240px" clearable placeholder="请输入指标名称" |
| | | <el-form-item label="指标名称" prop="itemName"> |
| | | <el-input v-model="queryParams.itemName" class="!w-200px" clearable placeholder="请输入指标名称" |
| | | @keyup.enter="handleQuery"/> |
| | | </el-form-item> |
| | | <el-form-item label="指标类型" prop="itemType"> |
| | | <el-select v-model="queryParams.itemType" class="!w-200px" clearable placeholder="请选择指标类型"> |
| | | <el-option |
| | | v-for="dict in getStrDictOptions(DICT_TYPE.IND_ITEM_TYPE)" |
| | | :key="dict.value" |
| | | :label="dict.label" |
| | | :value="dict.value" |
| | | /> |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item> |
| | | <el-button @click="handleQuery"> |
| | |
| | | </template> |
| | | |
| | | <script lang="ts" setup> |
| | | import { DICT_TYPE, getIntDictOptions } from '@/utils/dict' |
| | | import { DICT_TYPE, getIntDictOptions, getStrDictOptions } from '@/utils/dict' |
| | | import { dateFormatter } from '@/utils/formatTime' |
| | | import * as DataSetApi from '@/api/data/ind/data/data.set' |
| | | import AtomIndDefineForm from './AtomIndDefineForm.vue' |