From d29da8b98ae400c33891c7d33b92578671063d32 Mon Sep 17 00:00:00 2001
From: dx <1242347652@qq.com>
Date: Tue, 11 Mar 2025 14:44:19 +0800
Subject: [PATCH 1/2] =?UTF-8?q?=E5=88=9B=E5=BB=BA=E4=BB=BB=E5=8A=A1?=
=?UTF-8?q?=E9=A1=B5=E9=9D=A2=E4=BC=98=E5=8C=96?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/config/axios/service.ts | 1 +
src/utils/dict.ts | 1 +
src/views/task/create copy.vue | 134 +++++++++++++++++-----------
src/views/task/createEnterprise.vue | 6 +-
4 files changed, 88 insertions(+), 54 deletions(-)
diff --git a/src/config/axios/service.ts b/src/config/axios/service.ts
index 618f14a..bfbf2f1 100644
--- a/src/config/axios/service.ts
+++ b/src/config/axios/service.ts
@@ -12,6 +12,7 @@ import { deleteUserCache } from '@/hooks/web/useCache'
const tenantEnable = import.meta.env.VITE_APP_TENANT_ENABLE
const { result_code, base_url, request_timeout } = config
+
// 需要忽略的提示。忽略后,自动 Promise.reject('error')
const ignoreMsgs = [
'无效的刷新令牌', // 刷新令牌被删除时,不用提示
diff --git a/src/utils/dict.ts b/src/utils/dict.ts
index 7b23207..c8d323f 100644
--- a/src/utils/dict.ts
+++ b/src/utils/dict.ts
@@ -144,6 +144,7 @@ export enum DICT_TYPE {
TASK_EXEC_TIME = 'task_exec_time',
TASK_STATE = 'task_state',
INSPECTIONS_STATUS = 'Inspections_status',
+ AIR_COLLECTION_TYPE = 'air_collection_type',
// ========== INFRA 模块 ==========
INFRA_BOOLEAN_STRING = 'infra_boolean_string',
INFRA_JOB_STATUS = 'infra_job_status',
diff --git a/src/views/task/create copy.vue b/src/views/task/create copy.vue
index bdbcce0..6833895 100644
--- a/src/views/task/create copy.vue
+++ b/src/views/task/create copy.vue
@@ -14,8 +14,8 @@
format="YYYY年MM月DD日"
range-separator="至"
size="large"
- start-placeholder="选择任务计划开始时间"
- end-placeholder="选择任务计划结束时间"
+ start-placeholder="选择开始时间"
+ end-placeholder="选择结束时间"
value-format="YYYY-MM-DD"
/>
@@ -24,23 +24,22 @@
type="textarea"
v-model="formData.description"
:autosize="{
- minRows: 4
+ minRows: 5
}"
placeholder="请输入描述"
/>
暂无数据