Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gassafety-progress
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
耿迪迪
gassafety-progress
Commits
6354c624
Commit
6354c624
authored
Mar 28, 2022
by
wuqinghua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2022-3-28 吴卿华
parent
d207f351
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
46 additions
and
2 deletions
+46
-2
relation.png
gassafetyprogress-web/src/assets/project/relation.png
+0
-0
index.vue
gassafetyprogress-web/src/views/regulation/device/index.vue
+24
-1
index.vue
gassafetyprogress-web/src/views/regulation/station/index.vue
+22
-1
No files found.
gassafetyprogress-web/src/assets/project/relation.png
0 → 100644
View file @
6354c624
4.28 KB
gassafetyprogress-web/src/views/regulation/device/index.vue
View file @
6354c624
...
...
@@ -159,6 +159,7 @@
@
pagination
=
"getList"
/>
<!--
选择关联设备弹出框
-->
<
el
-
dialog
title
=
"选择关联设备"
width
=
"1100px"
:
visible
.
sync
=
"dialogTableVisible"
formLabelWidth
=
"160px"
>
<
template
>
...
...
@@ -269,6 +270,7 @@
<
/template
>
<
/el-dialog
>
<!--
添加关联设备弹出框
-->
<
el
-
dialog
title
=
"添加关联设备"
:
visible
.
sync
=
"dialogFormVisible"
>
<
el
-
form
ref
=
"formDetailInfo"
:
model
=
"formDetailInfo"
:
rules
=
"formDetailInfoRules"
label
-
width
=
"95px"
style
=
"height: 230px"
>
...
...
@@ -469,7 +471,10 @@
<
/el-col
>
<
/el-row
>
<
/el-form
>
<
h3
>
关联设备
<
/h3
>
<
div
class
=
"tableTitle"
>
<
img
:
src
=
"relationImg"
style
=
"width: 24px; height: 25px;position: relative; left: -339px; top: -12px;"
/>
<
span
class
=
"midText"
>
关联设备
<
/span
>
<
/div
>
<
el
-
table
v
-
loading
=
"loadings"
ref
=
"multipleTable"
:
data
=
"DetailInfoList"
tooltip
-
effect
=
"dark"
style
=
"width: 100%"
max
-
height
=
"250"
@
selection
-
change
=
"tableDataSelectionChange"
>
<
el
-
table
-
column
label
=
"设备名称"
align
=
"center"
prop
=
"deviceName"
/>
<
el
-
table
-
column
label
=
"设备型号"
align
=
"center"
prop
=
"deviceModel"
/>
...
...
@@ -518,6 +523,7 @@ export default {
}
,
data
()
{
return
{
relationImg
:
require
(
'@/assets/project/relation.png'
),
//头像
fileList
:
[],
/**弹出层*/
...
...
@@ -1072,4 +1078,21 @@ export default {
border
-
width
:
1
px
;
border
-
color
:
rgb
(
48
,
180
,
107
);
}
.
tableTitle
{
position
:
relative
;
margin
:
24
px
auto
;
width
:
600
px
;
height
:
2
px
;
background
-
color
:
#
d4d4d4
;
text
-
align
:
center
;
font
-
size
:
16
px
;
color
:
rgba
(
101
,
101
,
101
,
1
);
}
.
midText
{
position
:
absolute
;
left
:
3
%
;
background
-
color
:
#
ffffff
;
padding
:
0
15
px
;
transform
:
translateX
(
-
50
%
)
translateY
(
-
50
%
);
}
<
/style
>
gassafetyprogress-web/src/views/regulation/station/index.vue
View file @
6354c624
...
...
@@ -277,7 +277,10 @@
<
/el-col
>
<
/el-row
>
<
/el-form
>
<
h3
>
关联设备
<
/h3
>
<
div
class
=
"tableTitle"
>
<
img
:
src
=
"relationImg"
style
=
"width: 24px; height: 25px;position: relative; left: -339px; top: -12px;"
/>
<
span
class
=
"midText"
>
关联设备
<
/span
>
<
/div
>
<
el
-
table
v
-
loading
=
"loadings"
ref
=
"multipleTable"
:
data
=
"DetailInfoList"
tooltip
-
effect
=
"dark"
style
=
"width: 100%"
max
-
height
=
"250"
@
selection
-
change
=
"tableDataSelectionChange"
>
<
el
-
table
-
column
label
=
"设备名称"
align
=
"center"
prop
=
"deviceName"
/>
<
el
-
table
-
column
label
=
"设备型号"
align
=
"center"
prop
=
"deviceModel"
/>
...
...
@@ -475,6 +478,7 @@ export default {
}
,
data
()
{
return
{
relationImg
:
require
(
'@/assets/project/relation.png'
),
//头像
fileList
:
[],
/**-------------------弹出框所用数据-------------------------------*/
...
...
@@ -1009,4 +1013,21 @@ export default {
border
-
width
:
1
px
;
border
-
color
:
rgb
(
48
,
180
,
107
);
}
.
tableTitle
{
position
:
relative
;
margin
:
24
px
auto
;
width
:
600
px
;
height
:
2
px
;
background
-
color
:
#
d4d4d4
;
text
-
align
:
center
;
font
-
size
:
16
px
;
color
:
rgba
(
101
,
101
,
101
,
1
);
}
.
midText
{
position
:
absolute
;
left
:
3
%
;
background
-
color
:
#
ffffff
;
padding
:
0
15
px
;
transform
:
translateX
(
-
50
%
)
translateY
(
-
50
%
);
}
<
/style
>
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