Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
huarun-binjiang-ipad
/
ipad
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
3a579d7d
authored
Oct 30, 2021
by
liuwange1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
临时跳着哦那个
parent
80097530
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
62 additions
and
45 deletions
+62
-45
src/App.vue
+3
-1
src/views/anfang.vue
+38
-39
src/views/dianti.vue
+5
-3
src/views/nengyuan.vue
+1
-1
src/views/yunying.vue
+15
-1
No files found.
src/App.vue
View file @
3a579d7d
...
...
@@ -489,7 +489,7 @@ export default {
right
:
0
;
bottom
:
0
;
z-index
:
999
;
background
:
rgba
(
0
,
0
,
0
,
0.2
)
;
background
:
#fff
;
display
:
flex
;
justify-content
:
center
;
align-items
:
center
;
...
...
@@ -511,6 +511,8 @@ export default {
.btn1
{
background
:
rgba
(
255
,
255
,
255
,
0.2
);
transform
:
scale
(
1.5
);
border
:
1px
solid
#737780
;
border-radius
:
5px
;
}
}
}
...
...
src/views/anfang.vue
View file @
3a579d7d
...
...
@@ -10,61 +10,59 @@
</div>
<div
class=
"right"
>
<div
class=
"title-box"
>
<div
class=
"title"
>
设备列表
</div>
<div
class=
"title"
>
巡检路线
</div>
<div
class=
"style-line"
></div>
</div>
<div
class=
"option-box option-box1"
>
<!--
<div
class=
"btn3 active2"
>
SXT-121
</div>
-->
<div
class=
"option-box"
>
<div
class=
"btn
2
"
:class=
"
{ active:
monitor
Index == index }"
v-for="(item, index) in
options
List"
:key="index + '
list
'"
@click="
monitorChange
(index)"
class=
"btn
3
"
:class=
"
{ active:
roadActive
Index == index }"
v-for="(item, index) in
road
List"
:key="index + '
c
'"
@click="
roadClick
(index)"
>
{{
item
.
monitor
Name
}}
{{
item
.
line
Name
}}
</div>
</div>
</div>
</div>
<div
class=
"bottom"
>
<div
class=
"title-box"
>
<div
class=
"title"
>
设备类型
</div>
<div
class=
"style-line"
></div>
</div>
<div
class=
"option-box"
>
<div
class=
"btn3"
:class=
"
{ active: optionActiveIndex == index }"
v-for="(item, index) in options"
:key="index + 'b'"
@click="changeOption(index)"
>
{{
item
}}
<div
class=
"option-box operation-box"
>
<div
class=
"btn2"
@
click=
"editRoad"
>
编辑
</div>
<div
class=
"btn2"
@
click=
"addRoad"
>
新增
</div>
</div>
<div
class=
"title-box"
>
<div
class=
"title"
>
设备类型
</div>
<div
class=
"style-line"
></div>
</div>
<div
class=
"option-box"
>
<div
class=
"btn3"
:class=
"
{ active: optionActiveIndex == index }"
v-for="(item, index) in options"
:key="index + 'b'"
@click="changeOption(index)"
>
{{
item
}}
</div>
</div>
</div>
</div>
<div
class=
"bottom"
>
<div
class=
"title-box"
>
<div
class=
"title"
>
巡检路线
</div>
<div
class=
"title"
>
设备列表
</div>
<div
class=
"style-line"
></div>
</div>
<div
class=
"option-box"
>
<div
class=
"option-box
option-box1
"
>
<div
class=
"btn
3
"
:class=
"
{ active:
roadActive
Index == index }"
v-for="(item, index) in
road
List"
:key="index + '
c
'"
@click="
roadClick
(index)"
class=
"btn
2
"
:class=
"
{ active:
monitor
Index == index }"
v-for="(item, index) in
options
List"
:key="index + '
list
'"
@click="
monitorChange
(index)"
>
{{
item
.
line
Name
}}
{{
item
.
monitor
Name
}}
</div>
</div>
<div
class=
"option-box operation-box"
>
<div
class=
"btn2"
@
click=
"editRoad"
>
编辑
</div>
<div
class=
"btn2"
@
click=
"addRoad"
>
新增
</div>
</div>
</div>
<div
class=
"pop-box"
v-if=
"showPop"
>
<div
class=
"bg"
></div>
<div
class=
"pop"
>
...
...
@@ -413,15 +411,16 @@ export default {
}
.option-box1
{
flex-wrap
:
wrap
;
max-height
:
24
0px
;
max-height
:
17
0px
;
overflow-y
:
auto
;
>
div
{
width
:
170px
!important
;
margin-bottom
:
10px
;
font-size
:
12px
;
}
}
.operation-box
{
margin-top
:
-3
5px
;
margin-top
:
1
5px
;
flex-flow
:
row-reverse
;
>
div
{
transform-origin
:
center
;
...
...
src/views/dianti.vue
View file @
3a579d7d
...
...
@@ -24,13 +24,13 @@
</div>
<div
class=
"submit-box"
>
<div
class=
"btn
3
"
class=
"btn
2
"
:class=
"
{ active: activeIndex2 == index }"
@click="changeBuild2(index)"
v-for="(item, index) in btnList2"
:key="index + 'a'"
>
{{
item
.
monitorName
}}
{{
item
.
monitorName
.
slice
(
4
)
}}
</div>
</div>
</section>
...
...
@@ -66,7 +66,7 @@ export default {
// OSC地址:
// 打开电梯弹窗 DT_TC_OPEN string
// 关闭电梯弹窗 DT_TC_CLOSE bool
this
.
$axios
.
post
(
"/osc/send
Int
"
,
{
this
.
$axios
.
post
(
"/osc/send
String
"
,
{
arg
:
JSON
.
stringify
(
this
.
btnList2
[
index
]),
name
:
"/DT_TC_OPEN"
,
});
...
...
@@ -88,6 +88,8 @@ export default {
>
div
{
margin-right
:
20px
;
margin-bottom
:
18px
;
width
:
150px
;
font-size
:
12px
;
}
}
}
...
...
src/views/nengyuan.vue
View file @
3a579d7d
...
...
@@ -10,7 +10,7 @@
</div>
<div
class=
"right"
>
<div
class=
"title-box"
>
<div
class=
"title"
>
展示维度切换
</div>
<div
class=
"title"
>
设备分类
</div>
<div
class=
"style-line"
></div>
</div>
<div
class=
"option-box"
>
...
...
src/views/yunying.vue
View file @
3a579d7d
...
...
@@ -9,7 +9,7 @@
<div
class=
"btn1"
:class=
"
{ active: index == activeIndex }"
@click="
activeIndex = index
"
@click="
change1(index)
"
v-for="(item, index) in btnList"
:key="index"
>
...
...
@@ -132,6 +132,20 @@ export default {
// name: "/LC",
// });
},
change1
(
index
)
{
if
(
index
==
2
&&
this
.
activeIndex
!=
2
)
{
this
.
$axios
.
post
(
"/osc/sendInt"
,
{
arg
:
true
,
name
:
"/JGDB"
,
});
}
else
if
(
this
.
activeIndex
==
2
&&
index
!=
2
)
{
this
.
$axios
.
post
(
"/osc/sendInt"
,
{
arg
:
false
,
name
:
"/JGDB"
,
});
}
this
.
activeIndex
=
index
;
},
},
watch
:
{
buildActiveIndex
(
n
)
{
...
...
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