Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Y
yindong-tongbai-automation
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
lichunliang
yindong-tongbai-automation
Commits
cfd038c4
Commit
cfd038c4
authored
Aug 15, 2025
by
sxl
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
task:设备管理新增逻辑更换
parent
59860bde
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
97 additions
and
144 deletions
+97
-144
device.js
src/api/device/device.js
+7
-0
index.vue
src/views/equipment/equipmentMag/index.vue
+89
-143
index.vue
src/views/inspection/patrol/patrolLog/index.vue
+1
-1
No files found.
src/api/device/device.js
View file @
cfd038c4
...
@@ -42,3 +42,10 @@ export function delDevice(id) {
...
@@ -42,3 +42,10 @@ export function delDevice(id) {
method
:
'
delete
'
method
:
'
delete
'
})
})
}
}
//
export
function
deviceTypeList
(
id
){
return
request
({
url
:
'
/gemho/app/deviceTypeList?deviceType=
'
+
id
,
method
:
'
get
'
})
}
src/views/equipment/equipmentMag/index.vue
View file @
cfd038c4
This diff is collapsed.
Click to expand it.
src/views/inspection/patrol/patrolLog/index.vue
View file @
cfd038c4
...
@@ -41,7 +41,7 @@
...
@@ -41,7 +41,7 @@
<
el
-
table
-
column
label
=
"
设备名称
"
align
=
"
center
"
prop
=
"
deviceName
"
/>
<
el
-
table
-
column
label
=
"
设备名称
"
align
=
"
center
"
prop
=
"
deviceName
"
/>
<
el
-
table
-
column
label
=
"
设备状态
"
align
=
"
center
"
prop
=
"
deviceState
"
>
<
el
-
table
-
column
label
=
"
设备状态
"
align
=
"
center
"
prop
=
"
deviceState
"
>
<
template
slot
-
scope
=
"
scope
"
>
<
template
slot
-
scope
=
"
scope
"
>
<
el
-
tag
v
-
if
=
"
scope.row.deviceState ==
1
"
type
=
"
success
"
>
正常
<
/el-tag
>
<
el
-
tag
v
-
if
=
"
scope.row.deviceState ==
0
"
type
=
"
success
"
>
正常
<
/el-tag
>
<
el
-
tag
v
-
else
type
=
"
danger
"
>
异常
<
/el-tag
>
<
el
-
tag
v
-
else
type
=
"
danger
"
>
异常
<
/el-tag
>
<
/template
>
<
/template
>
<
/el-table-column
>
<
/el-table-column
>
...
...
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