Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
byq_pc
Project
Project
Details
Activity
Releases
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
张伯涛
byq_pc
Commits
4e21d926
Commit
4e21d926
authored
Apr 28, 2025
by
jiaxu.yan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增组态展示
parent
1832971f
Changes
5
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
1233 additions
and
25 deletions
+1233
-25
.env.development
.env.development
+1
-1
app.html
src/app.html
+287
-0
index.vue
src/views/index/index.vue
+32
-24
index copy.vue
src/views/makePie/index copy.vue
+379
-0
index.vue
src/views/makePie/index.vue
+534
-0
No files found.
.env.development
View file @
4e21d926
# just a flag
ENV = 'development'
port= 8080
# base api
VUE_APP_BASE_API = '/dev-api'
VUE_CLI_BABEL_TRANSPILE_MODULES = true
...
...
src/app.html
0 → 100644
View file @
4e21d926
This diff is collapsed.
Click to expand it.
src/views/index/index.vue
View file @
4e21d926
<
template
>
<div>
<div
class=
"pageindex"
>
<div
class=
"index-top"
>
<div
class=
"top-left"
>
图
</div>
<div
class=
"top-right"
>
状态
</div>
</div>
<div
class=
"index-bottom"
>
冷却器状态
</div>
<div
class=
"left-bar"
>
<el-button
:type=
"type == 1"
@
click=
"getType(1)"
>
第一视角
</el-button>
<el-button
:type=
"type == 2"
@
click=
"getType(2)"
>
第二视角
</el-button>
<el-button
:type=
"type == 3"
@
click=
"getType(3)"
>
第三视角
</el-button>
<el-button
:type=
"type == 4"
@
click=
"getType(4)"
>
第四视角
</el-button>
<el-button
:type=
"type == 5"
@
click=
"getType(5)"
>
第五视角
</el-button>
<el-button
:type=
"type == 6"
@
click=
"getType(6)"
>
第六视角
</el-button>
</div>
<pie>
</pie>
</div>
</
template
>
<
script
>
import
pie
from
'@/views/makePie/index.vue'
export
default
{
components
:
{
pie
:
pie
},
data
()
{
return
{
name
:
'特变电压器'
name
:
'特变电压器'
,
type
:
1
}
},
getType
(
e
)
{
console
.
log
(
e
)
this
.
type
=
e
}
}
</
script
>
<
style
lang=
"scss"
scoped
>
.pageindex
{
.pageindex
{
width
:
100%
;
height
:
100%
;
.index-top
{
.index-top
{
display
:
flex
;
.top-left
{
.top-left
{
display
:
flex
;
width
:
40%
;
align-items
:center
;
align-items
:
center
;
justify-content
:
center
;
height
:
400px
;
border
:
1px
solid
#
EEE
;
border
:
1px
solid
#
eee
;
}
.top-right
{
.top-right
{
display
:
flex
;
width
:
60%
;
align-items
:center
;
align-items
:
center
;
justify-content
:
center
;
height
:
400px
;
border
:
1px
solid
#
EEE
;
border
:
1px
solid
#
eee
;
}
}
.index-bottom
{
.index-bottom
{
display
:
flex
;
align-items
:center
;
align-items
:
center
;
justify-content
:
center
;
height
:
300px
;
border
:
1px
solid
#EEE
;
border
:
1px
solid
#eee
;
}
}
</
style
>
src/views/makePie/index copy.vue
0 → 100644
View file @
4e21d926
This diff is collapsed.
Click to expand it.
src/views/makePie/index.vue
0 → 100644
View file @
4e21d926
This diff is collapsed.
Click to expand it.
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