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
c1dc4d83
Commit
c1dc4d83
authored
May 20, 2021
by
co_dengxiongwen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tj
parent
858dcd71
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
30 additions
and
28 deletions
+30
-28
tableList.vue
src/pages/components/tableList.vue
+4
-4
page.vue
src/pages/eq/hall/page.vue
+14
-12
page.vue
src/pages/eq/office/page.vue
+12
-12
No files found.
src/pages/components/tableList.vue
View file @
c1dc4d83
...
...
@@ -84,7 +84,7 @@ export default {
// 人工模式
currentMode
:
{
type
:
Number
,
default
:
null
default
:
0
}
},
data
()
{
...
...
@@ -131,13 +131,13 @@ export default {
color
:
#32a5ea
!
important
;
background-color
:
red
!
important
;
}
.table-row-mode
{
.table-row-mode
{
background
:
rgb
(
245
,
214
,
155
);
}
.table-row-mechanical
{
.table-row-mechanical
{
background
:
#71e6e6
;
}
.table-row-natural
{
.table-row-natural
{
background
:
#b5f096
;
}
}
...
...
src/pages/eq/hall/page.vue
View file @
c1dc4d83
...
...
@@ -149,7 +149,7 @@
:showOpr=
"true"
:opNum=
"3"
:showStateColor=
"true"
:currentMode=
"curModel"
:currentMode=
"cur
rent
Model"
>
<template
v-slot:operation=
"scope"
>
<el-button
...
...
@@ -381,24 +381,26 @@ export default {
}
},
deep
:
true
},
currentModel
:
{
handler
(
n
,
o
)
{
if
(
n
)
{
this
.
setModel
()
}
},
deep
:
true
}
// currentModel: {
// handler(n, o) {
// if (n) {
// this.setModel()
// }
// },
// deep: true
// }
},
mounted
()
{
this
.
getDataList
()
this
.
getAllHcdt
()
// this.setModel()
},
methods
:
{
setModel
()
{
this
.
curModel
=
this
.
currentModel
},
// setModel() {
// this.curModel = this.currentModel
// console.log('curModel:', this.curModel)
// },
// 获取数据列表
getDataList
(
page
,
size
)
{
this
.
$http
({
...
...
src/pages/eq/office/page.vue
View file @
c1dc4d83
...
...
@@ -18,7 +18,7 @@
:showOpr=
"true"
:opNum=
"3"
:showStateColor=
"true"
:currentMode=
"curModel"
:currentMode=
"cur
rent
Model"
>
<template
v-slot:operation=
"scope"
>
<el-button
type=
"text"
@
click=
"statusHandle"
>
开启
</el-button>
...
...
@@ -177,23 +177,23 @@ export default {
}
},
deep
:
true
},
currentModel
:
{
handler
(
n
,
o
)
{
if
(
n
)
{
this
.
setModel
()
}
},
deep
:
true
}
// currentModel: {
// handler(n, o) {
// if (n) {
// this.setModel()
// }
// },
// deep: true
// }
},
mounted
()
{
this
.
getDataList
()
},
methods
:
{
setModel
()
{
this
.
curModel
=
this
.
currentModel
},
//
setModel() {
//
this.curModel = this.currentModel
//
},
// 获取数据列表
getDataList
(
page
,
size
)
{
this
.
$http
({
...
...
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