From 9259c2235e31708f954a3578bde3c6a7ab9753e8 Mon Sep 17 00:00:00 2001 From: houzhongjian <houzhongyi@126.com> Date: 星期一, 30 十二月 2024 15:51:40 +0800 Subject: [PATCH] 1、工作流相关组件更新 2、偶尔出现退出登录时路由报错的bug导致无法回到登录页面 3、全局配置文件修改,移除VITE_UPLOAD_URL配置等 --- src/views/data/ind/item/index.vue | 20 +++++++++++++++----- 1 files changed, 15 insertions(+), 5 deletions(-) diff --git a/src/views/data/ind/item/index.vue b/src/views/data/ind/item/index.vue index f558701..b56ed54 100644 --- a/src/views/data/ind/item/index.vue +++ b/src/views/data/ind/item/index.vue @@ -3,13 +3,23 @@ <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"> @@ -93,7 +103,7 @@ </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' -- Gitblit v1.9.3