| | |
| | | <div class="el-wt-border-left" style="padding-left:5px;width: calc(100% - 130px)"> |
| | | <div style="padding: 5px">软件资源:</div> |
| | | <div class="table-container"> |
| | | <el-table ref="tableSoftwareList" class="el-software el-margin-top-bot" height="150" border :data="dataForm.softwareResourcesList" |
| | | <el-table ref="tableSoftwareList" class="el-software el-margin-top-bot" border :data="dataForm.softwareResourcesList" |
| | | stripe> |
| | | <el-table-column prop="no" align="center" width="80" label="序号"> |
| | | <template slot-scope="scope"> |
| | |
| | | </div> |
| | | <div style="padding: 5px">硬件资源:</div> |
| | | <div class="table-container"> |
| | | <el-table ref="tableHardwareList" class="el-software el-margin-top-bot" height="150" border :data="dataForm.hardwareResourcesList" |
| | | <el-table ref="tableHardwareList" class="el-software el-margin-top-bot" border :data="dataForm.hardwareResourcesList" |
| | | stripe> |
| | | <el-table-column prop="no" align="center" width="80" label="序号"> |
| | | <template slot-scope="scope"> |
| | |
| | | <config-uploader busi-type="test_environt_diagram" model-name="dataForm" :dataForm="dataForm" |
| | | @getImageUrl="getImageUrl" |
| | | v-model="dataForm.files"/> |
| | | <div v-if="image.url"> |
| | | <el-image :src="image.url"></el-image> |
| | | <div v-if="dataForm.url"> |
| | | <el-image :src="dataForm.url"></el-image> |
| | | </div> |
| | | </div> |
| | | </div> |
| | |
| | | </div> |
| | | <div class="el-wt-border-left" style="padding-left:5px;width: calc(100% - 130px)"> |
| | | <div class="table-container"> |
| | | <el-table ref="tableEnvironeList" class="el-software el-margin-top-bot" height="150" border :data="dataForm.environAnalysisList" |
| | | <el-table ref="tableEnvironeList" class="el-software el-margin-top-bot" border :data="dataForm.environAnalysisList" |
| | | stripe> |
| | | <el-table-column prop="no" align="center" width="80" label="序号"> |
| | | <template slot-scope="scope"> |
| | |
| | | export default { |
| | | data() { |
| | | return { |
| | | image: { |
| | | url:'', |
| | | width:'', |
| | | height:1, |
| | | }, |
| | | dataForm: { |
| | | id: '', |
| | | url:'', |
| | | environ:{ |
| | | code: '1', |
| | | hardSoftwareRes: '', |
| | |
| | | .table-container { |
| | | position: relative; |
| | | } |
| | | |
| | | .table-container:hover .icon-container { |
| | | opacity: 1; /* 鼠标悬停时显示图标 */ |
| | | } |
| | | .icon-container { |
| | | z-index: 1; |
| | | position: absolute; |
| | |
| | | height: 30px; |
| | | text-align: center; |
| | | line-height: 30px; |
| | | transform: translateX(-50%); |
| | | transform: translate3d(-50%, 0, -20px); |
| | | border: 1px solid #EBEEF5; |
| | | background-color: #fafafa; |
| | | box-shadow: 0 3px 6px 0 rgba(72, 119, 232, 0.14); |
| | | border-radius: 2px; |
| | | transition: transform 0.3s ease,box-shadow 0.3s ease,opacity 0.3s ease; |
| | | opacity: 0; |
| | | } |
| | | .icon-container:hover{ |
| | | transform: translate3d(-50%, 0, 0); |
| | | box-shadow: 0 10px 10px 0 rgba(72, 119, 232, 0.34) |
| | | } |
| | | </style> |