Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
V
V3-TailingPond
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xinzhedeai
V3-TailingPond
Commits
9c7752f5
Commit
9c7752f5
authored
Jun 13, 2025
by
xinzhedeai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add:预警值X/YZ 表面位移处理。
parent
bf800570
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
httpApi.js
src/assets/js/httpApi.js
+1
-1
index.vue
src/components/cuForm/index.vue
+6
-0
No files found.
src/assets/js/httpApi.js
View file @
9c7752f5
...
...
@@ -2242,7 +2242,7 @@ var reqApis = function () {
"
equipname
"
:
{
name
:
"
设备名称
"
,
must
:
true
,
disabled
:
true
},
"
equipno
"
:
{
name
:
"
设备ID
"
,
must
:
true
,
disabled
:
true
},
"
onelevelalarm
"
:
{
name
:
"
红色报警
"
,
must
:
true
,
type
:
'
tableFormat
'
,
tableFormat
:
function
(
val
)
{
name
:
"
红色报警
"
,
must
:
true
,
type
:
'
tableFormat
'
,
ruleTip
:
'
表面位移设备,报警数值格式为X/Y/Z
'
,
tableFormat
:
function
(
val
)
{
return
val
+
'
(
'
+
this
.
unit
+
'
)
'
}
},
...
...
src/components/cuForm/index.vue
View file @
9c7752f5
...
...
@@ -64,6 +64,12 @@
<el-dialog
id=
"printJS-form"
class=
"qyzz-dialog"
append-to-body
:close-on-click-modal=
"false"
:before-close=
"cancelForm"
:visible.sync=
"form.visible"
:title=
"form.title"
:width=
"form.config.formWidth || '50%'"
>
<el-form
:model=
"form.item"
:rules=
"rules"
:ref=
"ref"
:inline=
"true"
size=
"small"
:label-width=
"(form.config.labelWidth || 80) + 'px'"
>
<el-form-item
v-for=
"(item, key) in Dict.baseInfo"
:prop=
"item.rule || key"
:label=
"item.name"
v-if=
"item.form !== 0"
:style=
"item.style"
>
<span
style=
"color: red;
position: absolute;
font-size: 12px;
right: 62px;
top: -22px;
z-index: 999;"
>
{{
item
.
ruleTip
}}
</span>
<template
v-if=
"item.type === 'img'"
>
<div
class=
"img-upload"
>
<label
class=
"upload-area"
for=
"imgUpload"
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment