Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
H
huaxin-rq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
耿迪迪
huaxin-rq
Commits
144315a6
Commit
144315a6
authored
Mar 05, 2026
by
耿迪迪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
警告提醒警告时间添加
parent
f742d3c1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
0 deletions
+7
-0
TWarningInfoMapper.xml
...m/src/main/resources/mapper/system/TWarningInfoMapper.xml
+2
-0
index.vue
huaxin-web/src/views/warning/index.vue
+5
-0
No files found.
huaxin-system/src/main/resources/mapper/system/TWarningInfoMapper.xml
View file @
144315a6
...
...
@@ -10,6 +10,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<result
property=
"deviceCode"
column=
"device_code"
/>
<result
property=
"stopTime"
column=
"stop_time"
/>
<result
property=
"warnStatus"
column=
"warn_status"
/>
<result
property=
"createTime"
column=
"create_time"
/>
<result
property=
"updateTime"
column=
"update_time"
/>
<result
property=
"updateBy"
column=
"update_by"
/>
</resultMap>
...
...
@@ -22,6 +23,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
warn.stop_time,
warn.warn_status,
warn.update_time,
warn.create_time,
warn.update_by,
us.nick_name AS nickName,
dept.dept_name AS deptName
...
...
huaxin-web/src/views/warning/index.vue
View file @
144315a6
...
...
@@ -101,6 +101,11 @@
<span>
{{
parseTime
(
scope
.
row
.
stopTime
,
'{y
}
-{m
}
-{d
}
{h
}
:{i
}
:{s
}
'
)
}}
<
/span
>
<
/template
>
<
/el-table-column
>
<
el
-
table
-
column
label
=
"警告时间"
align
=
"center"
prop
=
"createTime"
>
<
template
slot
-
scope
=
"scope"
>
<
span
>
{{
parseTime
(
scope
.
row
.
createTime
,
'{y
}
-{m
}
-{d
}
{h
}
:{i
}
:{s
}
'
)
}}
<
/span
>
<
/template
>
<
/el-table-column
>
<
el
-
table
-
column
label
=
"警告状态"
align
=
"center"
prop
=
"warnStatus"
:
formatter
=
"warnStatusFormat"
/>
<
el
-
table
-
column
label
=
"操作"
align
=
"center"
class
-
name
=
"small-padding fixed-width"
>
<
template
slot
-
scope
=
"scope"
>
...
...
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