Commit 6354c624 authored by wuqinghua's avatar wuqinghua

2022-3-28 吴卿华

parent d207f351
...@@ -159,6 +159,7 @@ ...@@ -159,6 +159,7 @@
@pagination="getList" @pagination="getList"
/> />
<!--选择关联设备弹出框--> <!--选择关联设备弹出框-->
<el-dialog title="选择关联设备" width="1100px" :visible.sync="dialogTableVisible" formLabelWidth="160px"> <el-dialog title="选择关联设备" width="1100px" :visible.sync="dialogTableVisible" formLabelWidth="160px">
<template> <template>
...@@ -269,6 +270,7 @@ ...@@ -269,6 +270,7 @@
</template> </template>
</el-dialog> </el-dialog>
<!--添加关联设备弹出框--> <!--添加关联设备弹出框-->
<el-dialog title="添加关联设备" :visible.sync="dialogFormVisible"> <el-dialog title="添加关联设备" :visible.sync="dialogFormVisible">
<el-form ref="formDetailInfo" :model="formDetailInfo" :rules="formDetailInfoRules" label-width="95px" style="height: 230px"> <el-form ref="formDetailInfo" :model="formDetailInfo" :rules="formDetailInfoRules" label-width="95px" style="height: 230px">
...@@ -469,7 +471,10 @@ ...@@ -469,7 +471,10 @@
</el-col> </el-col>
</el-row> </el-row>
</el-form> </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 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="deviceName" />
<el-table-column label="设备型号" align="center" prop="deviceModel" /> <el-table-column label="设备型号" align="center" prop="deviceModel" />
...@@ -518,6 +523,7 @@ export default { ...@@ -518,6 +523,7 @@ export default {
}, },
data() { data() {
return { return {
relationImg: require('@/assets/project/relation.png'),
//头像 //头像
fileList: [], fileList: [],
/**弹出层*/ /**弹出层*/
...@@ -1072,4 +1078,21 @@ export default { ...@@ -1072,4 +1078,21 @@ export default {
border-width: 1px; border-width: 1px;
border-color: rgb(48, 180, 107); border-color: rgb(48, 180, 107);
} }
.tableTitle {
position: relative;
margin: 24px auto;
width: 600px;
height: 2px;
background-color: #d4d4d4;
text-align: center;
font-size: 16px;
color: rgba(101, 101, 101, 1);
}
.midText {
position: absolute;
left: 3%;
background-color: #ffffff;
padding: 0 15px;
transform: translateX(-50%) translateY(-50%);
}
</style> </style>
...@@ -277,7 +277,10 @@ ...@@ -277,7 +277,10 @@
</el-col> </el-col>
</el-row> </el-row>
</el-form> </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 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="deviceName" />
<el-table-column label="设备型号" align="center" prop="deviceModel" /> <el-table-column label="设备型号" align="center" prop="deviceModel" />
...@@ -475,6 +478,7 @@ export default { ...@@ -475,6 +478,7 @@ export default {
}, },
data() { data() {
return { return {
relationImg: require('@/assets/project/relation.png'),
//头像 //头像
fileList: [], fileList: [],
/**-------------------弹出框所用数据-------------------------------*/ /**-------------------弹出框所用数据-------------------------------*/
...@@ -1009,4 +1013,21 @@ export default { ...@@ -1009,4 +1013,21 @@ export default {
border-width: 1px; border-width: 1px;
border-color: rgb(48, 180, 107); border-color: rgb(48, 180, 107);
} }
.tableTitle {
position: relative;
margin: 24px auto;
width: 600px;
height: 2px;
background-color: #d4d4d4;
text-align: center;
font-size: 16px;
color: rgba(101, 101, 101, 1);
}
.midText {
position: absolute;
left: 3%;
background-color: #ffffff;
padding: 0 15px;
transform: translateX(-50%) translateY(-50%);
}
</style> </style>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment