Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in / Register
Toggle navigation
E
energyai_vue
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
葛齐林
energyai_vue
Commits
769d0e9c
Commit
769d0e9c
authored
Apr 21, 2021
by
xiexingan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调整
parent
564c5197
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
4 deletions
+11
-4
page.vue
src/pages/eq/hall/page.vue
+11
-4
No files found.
src/pages/eq/hall/page.vue
View file @
769d0e9c
...
@@ -31,7 +31,7 @@
...
@@ -31,7 +31,7 @@
v-for=
"item in typeList"
v-for=
"item in typeList"
:key=
"item.id"
:key=
"item.id"
:class=
"[
:class=
"[
item.id == currentId
? 'isActive' : '',
item.id == currentId
&&active
? 'isActive' : '',
item.icon,
item.icon,
]"
]"
>
>
...
@@ -166,24 +166,30 @@ export default {
...
@@ -166,24 +166,30 @@ export default {
pageIndex
:
1
,
pageIndex
:
1
,
pageSize
:
10
,
pageSize
:
10
,
totalSize
:
0
,
totalSize
:
0
,
active
:
false
,
typeList
:
[
typeList
:
[
{
{
id
:
1
,
id
:
1
,
name
:
'供暖'
,
name
:
'供暖'
,
src
:
require
(
'../../home/image/nan_fan_icon.png'
),
src
:
require
(
'../../home/image/nan_fan_icon.png'
),
icon
:
'el-icon-sunny'
icon
:
'el-icon-sunny'
,
status
:
null
},
},
{
{
id
:
2
,
id
:
2
,
name
:
'机械通风'
,
name
:
'机械通风'
,
src
:
require
(
'../../home/image/fan_icon.png'
),
src
:
require
(
'../../home/image/fan_icon.png'
),
icon
:
'iconfont icon-feng2'
icon
:
'iconfont icon-feng2'
,
status
:
null
},
},
{
{
id
:
3
,
id
:
3
,
name
:
'自然通风'
,
name
:
'自然通风'
,
src
:
require
(
'../../home/image/fan_icon.png'
),
src
:
require
(
'../../home/image/fan_icon.png'
),
icon
:
'iconfont icon-feng'
icon
:
'iconfont icon-feng'
,
status
:
null
}
}
],
],
currentId
:
null
,
currentId
:
null
,
...
@@ -403,6 +409,7 @@ export default {
...
@@ -403,6 +409,7 @@ export default {
this
.
hallModalVisible
=
true
this
.
hallModalVisible
=
true
},
},
handleType
(
id
)
{
handleType
(
id
)
{
this
.
active
=
!
this
.
active
console
.
log
(
'id:'
,
id
)
console
.
log
(
'id:'
,
id
)
this
.
$http
({
this
.
$http
({
url
:
this
.
$http
.
adornUrl
(
'/equipment/checkModel'
),
url
:
this
.
$http
.
adornUrl
(
'/equipment/checkModel'
),
...
...
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