From 2878dce69dcd51951fcd796490df1985d3720719 Mon Sep 17 00:00:00 2001 From: sjl <1716605279@qq.com> Date: Thu, 5 Dec 2024 11:07:45 +0800 Subject: [PATCH 1/4] =?UTF-8?q?=E6=A8=A1=E5=BC=8F=E5=88=87=E6=8D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/api/device/interface/testSource.ts | 2 +- .../api/system/dictionary/interface/index.ts | 6 +- frontend/src/components/SelectIcon/index.vue | 4 +- .../src/layouts/components/Footer/index.vue | 17 ++- .../resource/components/resourcePopup.vue | 2 +- .../authority/user/components/userPopup.vue | 2 +- .../src/views/machine/errorSystem/index.vue | 4 +- .../testSource/components/testSourcePopup.vue | 4 +- frontend/src/views/plan/planList/index.vue | 1 + .../dictionary/dictPq/components/pqPopup.vue | 19 ++- .../dictPq/components/selectCheckBox.vue | 121 ++++++++++++++++++ 11 files changed, 156 insertions(+), 26 deletions(-) create mode 100644 frontend/src/views/system/dictionary/dictPq/components/selectCheckBox.vue diff --git a/frontend/src/api/device/interface/testSource.ts b/frontend/src/api/device/interface/testSource.ts index 3ef6ba5..7a66486 100644 --- a/frontend/src/api/device/interface/testSource.ts +++ b/frontend/src/api/device/interface/testSource.ts @@ -15,7 +15,7 @@ export namespace TestSource { // 检测源接口 export interface ResTestSource { id: string; //检测源ID - name: string; //检测源名称(检测源类型 + 设备类型 + 数字自动生成) + name?: string; //检测源名称(检测源类型 + 设备类型 + 数字自动生成) pattern: string;//检测源模式(字典表Code字段,数字、模拟、比对) type: string; //检测源类型(字典表Code字段,标准源、高精度设备) devType: string;//检测源设备类型(字典表Code字段) diff --git a/frontend/src/api/system/dictionary/interface/index.ts b/frontend/src/api/system/dictionary/interface/index.ts index f9ba87e..c23a43d 100644 --- a/frontend/src/api/system/dictionary/interface/index.ts +++ b/frontend/src/api/system/dictionary/interface/index.ts @@ -116,10 +116,10 @@ export namespace Dict { storeFlag?:string ;//sts、di的是否存储 1:存储 0:不存 储; curSts?:number | null;//sts、do的当前值; ctlSts?:number;//do的是否可远程控制 1:是 0:否; - maxNum?:number ;//设置最大值 - minNum?: number;//设置最小值 + maxNum?:number | null;//设置最大值 + minNum?: number| null;//设置最小值 setValue?:string | null;//参数为enum可设置的所有值序列 - strlen?:number ;//参数string可设置字符串的长度上 限 + strlen?:number | null;//参数string可设置字符串的长度上 限 defaultValue?:string | null; //参数缺省值、告警code值 resourcesId?:string ; //报表数据来源(统计表表名) limitName?:string | null; //限值字段名称 diff --git a/frontend/src/components/SelectIcon/index.vue b/frontend/src/components/SelectIcon/index.vue index 6b67dfd..cd396c2 100644 --- a/frontend/src/components/SelectIcon/index.vue +++ b/frontend/src/components/SelectIcon/index.vue @@ -1,5 +1,5 @@ - +
diff --git a/frontend/src/layouts/components/Footer/index.vue b/frontend/src/layouts/components/Footer/index.vue index a197d9f..499c231 100644 --- a/frontend/src/layouts/components/Footer/index.vue +++ b/frontend/src/layouts/components/Footer/index.vue @@ -18,13 +18,13 @@ From 5bdc44b3015ab42cf77e40ba0ae6b2b8b2f953bd Mon Sep 17 00:00:00 2001 From: sjl <1716605279@qq.com> Date: Thu, 5 Dec 2024 13:51:47 +0800 Subject: [PATCH 2/4] =?UTF-8?q?=E5=BE=AE=E8=B0=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/layouts/components/Footer/index.vue | 9 ++-- .../testSource/components/parameterTable.vue | 41 +++++++++++++------ .../testSource/components/testSourcePopup.vue | 29 +++++++++---- .../src/views/machine/testSource/index.vue | 4 +- 4 files changed, 57 insertions(+), 26 deletions(-) diff --git a/frontend/src/layouts/components/Footer/index.vue b/frontend/src/layouts/components/Footer/index.vue index 499c231..5fd1a07 100644 --- a/frontend/src/layouts/components/Footer/index.vue +++ b/frontend/src/layouts/components/Footer/index.vue @@ -40,16 +40,15 @@ diff --git a/frontend/src/views/home/components/channelsTestTable.vue b/frontend/src/views/home/components/channelsTestTable.vue index 2f80d43..2b14a96 100644 --- a/frontend/src/views/home/components/channelsTestTable.vue +++ b/frontend/src/views/home/components/channelsTestTable.vue @@ -1,11 +1,11 @@