pull/9/head
lukeyan 1 year ago
commit 942469982a

@ -66,6 +66,10 @@
display: none;
}
.el-table::before {
display: none;
}
.bottomZS {
position: absolute;
width: 100%;
@ -106,6 +110,12 @@
border: 1px solid rgba(40, 132, 126, 1);
}
.el-pagination.is-background .el-pager li:not(.disabled).active {
background-color: rgba(64, 158, 255, 0);
color: #ccc;
border: 1px solid #76EAE4;
}
.btn-prev {
margin: 0 5px;
background-color: rgba(255, 255, 255, 0);

@ -39,4 +39,12 @@ export function warningDisposal(params) {
params
})
}
//预警处置
export function tbSafeCompanyVehicle(params) {
return request({
url: '/safety/enterpriseArchives/tbSafeCompanyVehicle',
method: 'get',
params
})
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

@ -4,7 +4,7 @@ import vm from "../main";
import { getToken } from '@/utils/auth'
axios.defaults.headers['Content-Type'] = 'application/json;charset=utf-8'
const request = axios.create({
baseURL: 'http://172.18.113.50:8080',
baseURL: 'http://172.18.113.50:8080/zhapi',
// baseURL: `http://${window.location.host}`,
timeout: 50000,
headers: { 'content-type': 'application/json' },

@ -0,0 +1,259 @@
<template>
<div class="mainBox">
<div class="topZS"></div>
<div class="title">
车辆信息<span>{{ total }}</span>
</div>
<el-form :model="formInline" class="search">
<el-form-item label="车牌号:" class="formItem">
<el-input v-model.trim="formInline.plateNo" class="formIpt"></el-input>
</el-form-item>
<el-button type="primary" @click="getList()"></el-button>
</el-form>
<div class="monitorBox">
<el-table :cell-style="{ background: 'revert' }" :data="tableData" class="table"
style="width: calc(100% - 40px); margin: 20px;" :row-style="tableRowStyle"
:header-row-style="tableHeaderColor" :header-cell-style="tableHeaderCellColor">
<el-table-column type="index" width="50" label="序号">
</el-table-column>
<el-table-column show-overflow-tooltip prop="plateNo" label="车牌号" width="80">
</el-table-column>
<el-table-column show-overflow-tooltip prop="vehicleType" label="车型">
</el-table-column>
<el-table-column show-overflow-tooltip prop="useTypeCn" label="使用方式" width="80">
</el-table-column>
<el-table-column show-overflow-tooltip prop="companyName" label="归属单位">
</el-table-column>
<el-table-column show-overflow-tooltip prop="vinNo" label="车架号">
</el-table-column>
<el-table-column show-overflow-tooltip prop="businessScope" label="经营范围">
</el-table-column>
<el-table-column show-overflow-tooltip prop="nuclearLoad" label="核载" width="60">
</el-table-column>
<el-table-column show-overflow-tooltip prop="deadWeight" label="自重" width="60">
</el-table-column>
<el-table-column show-overflow-tooltip prop="plateColor" label="车牌颜色" width="80">
</el-table-column>
<el-table-column show-overflow-tooltip prop="transportLicense" label="运输许可证" width="120">
</el-table-column>
<el-table-column show-overflow-tooltip label="登记时间" prop="registerTime" width="150">
</el-table-column>
</el-table>
</div>
<div class="block">
<el-pagination style="float:right;margin:5px;" class="msg-pagination-container" :background="true"
@size-change="handleSizeChange" @current-change="handleCurrentChange" :current-page="pageNum"
:page-sizes="[6]" layout="total, sizes, prev, pager, next, jumper" :total="total">
</el-pagination>
</div>
<div class="bottomZS"></div>
</div>
</template>
<script>
import { tbSafeCompanyVehicle } from '@/api/archives'
export default {
data() {
return {
formInline: {},
pageSize: 6,
pageNum: 1,
total: 0,
isShow: [{ show: false }, { show: false }, { show: false }, { show: false }, { show: false }],
diaVisible: false,
tableData: [],
}
},
created() {
this.getList()
},
methods: {
getList() {
tbSafeCompanyVehicle({ pageSize: this.pageSize, pageNum: this.pageNum, ...this.formInline, }).then(res => {
this.tableData = res.data
this.total = res.total
})
},
showShadow(val) {
this.isShow[val].show = true
},
closeShadow(val) {
this.isShow[val].show = false
},
showDia() {
this.diaVisible = true
},
tableRowStyle({ rowIndex }) {
if ((rowIndex + 1) % 2 == 1) {
return { 'background': 'rgba(0,0,0,0)', 'color': '#fff', 'border': '0' }
} else {
return { 'background': 'rgba(61, 85, 102, 0.16)', 'border': '0', 'color': '#fff' }
}
},
tableHeaderColor() {
return { 'background': 'linear-gradient( rgba(38, 88, 76, 0.6) 100%, rgba(55, 131, 128, 0.6) 100%, rgba(34, 74, 53, 0.46) 46%)' }
// return { 'background': 'url("~@/assets/archives/9910.png") no-repeat;', 'background-size': '100% 100%;', 'color': '#fff' }
},
tableHeaderCellColor() {
return { 'background': 'rgba(0,0,0,0)', 'border': '0', 'color': '#fff' }
},
handleSizeChange(val) {
this.pageNum = 1;
this.pageSize = val;
this.getList()
},
handleCurrentChange(val) {
this.pageNum = val;
this.getList()
},
},
}
</script>
<style lang="less" scoped>
.mainBox {
width: 100%;
height: 550px;
background: url('~@/assets/companyFile/背景22136.png') no-repeat;
background-size: 100% 100%;
padding: 70px 20px 60px;
box-sizing: border-box;
display: flex;
position: relative;
margin-top: 20px;
.monitorBox {
width: 100%;
height: 100%;
display: flex;
justify-content: space-between;
align-items: center;
}
/deep/.el-input__inner {
// background: url('~@/assets/companyFile/2121.png') no-repeat;
background: url('~@/assets/companyFile/矩形备份 18.png') no-repeat;
background-size: 100% 100%;
border: 1px solid rgba(40, 132, 126, 1);
color: rgba(234, 246, 255, 0.7);
;
.el-range-separator {
color: #ccc;
}
.el-range-input {
background: rgba(0, 0, 0, 0);
color: #ccc;
}
}
/deep/.el-table {
background: rgba(0, 0, 0, 0);
td.el-table__cell {
border: 0;
}
.xiangqing {
background: rgba(0, 0, 0, 0);
border: 0;
color: rgba(48, 196, 255, 0.7);
cursor: pointer;
}
.alarmType {
width: 72px;
height: 32px;
font-size: 14px;
color: rgba(255, 255, 255, 0.9);
letter-spacing: 1px;
font-weight: 400;
.red {
width: 100%;
height: 100%;
background: rgba(152, 7, 7, 0.21);
border: 1px solid rgba(214, 38, 38, 1);
display: flex;
justify-content: center;
align-items: center;
}
.yellow {
width: 100%;
height: 100%;
background: rgba(152, 95, 7, 0.21);
border: 1px solid rgba(255, 169, 38, 1);
display: flex;
justify-content: center;
align-items: center;
}
}
}
.title {
position: absolute;
top: 14px;
left: 20px;
width: 162px;
height: 36px;
line-height: 36;
font-size: 16px;
color: #EBFFF4;
letter-spacing: 2px;
line-height: 36px;
text-shadow: 0 0 9px rgba(21, 255, 195, 0.60);
font-weight: 400;
span {
color: #FF9191;
}
}
.search {
position: absolute;
right: 20px;
top: 20px;
display: flex;
}
/deep/.el-button--primary {
margin-top: 5px;
margin-left: 20px;
width: 60px;
height: 30px;
line-height: 30px;
padding: 0;
text-align: center;
background: rgba(0, 0, 0, 0);
border: 0;
background: url('~@/assets/companyFile/2121.png') no-repeat;
background-size: 100% 100%;
font-size: 14px;
color: #F8FBFF;
letter-spacing: 0.89px;
font-weight: 500;
}
/deep/.el-form-item {
display: flex;
margin-left: 20px;
.el-form-item__label {
color: #EAF6FF;
letter-spacing: 1px;
text-align: center;
font-weight: 400;
}
}
}
</style>

@ -170,6 +170,7 @@
<monitor></monitor>
<kakou></kakou>
<yujing></yujing>
<car></car>
</el-scrollbar>
</div>
</div>
@ -181,11 +182,13 @@ import { safeIndex } from '@/api/archives'
import monitor from './monitor.vue'
import kakou from './kakou.vue'
import yujing from './yujing.vue'
import car from './car.vue'
export default {
components: {
monitor,
kakou,
yujing,
car
},
data() {
return {

@ -7,18 +7,26 @@
<div class="monitorBox">
<el-table :cell-style="{ background: 'revert' }" :data="tableData" class="table"
style="width: calc(100% - 40px); margin: 20px;" :row-style="tableRowStyle"
:header-cell-style="tableHeaderColor">
<el-table-column show-overflow-tooltip prop="villageName" label="小区名称">
:header-row-style="tableHeaderColor" :header-cell-style="tableHeaderCellColor">
<el-table-column type="index" width="50" label="序号">
</el-table-column>
<el-table-column show-overflow-tooltip prop="gridName" label="网格名称">
<el-table-column show-overflow-tooltip label="预警类型">
<template slot-scope="scope">
<div class="alarmType">
<div class="red" v-if="scope.row.alarmColor == 'red'"></div>
<div class="yellow" v-if="scope.row.alarmColor == 'yellow'"></div>
</div>
</template>
</el-table-column>
<el-table-column show-overflow-tooltip prop="buildingName" label="楼栋名称">
<el-table-column show-overflow-tooltip prop="alarmIndex" label="预警指标">
</el-table-column>
<el-table-column show-overflow-tooltip prop="upFloor" label="楼层">
<el-table-column show-overflow-tooltip prop="alarmTime" label="预警时间">
</el-table-column>
<el-table-column show-overflow-tooltip prop="longitude" label="楼栋经度">
<el-table-column show-overflow-tooltip prop="responsibleDepartment" label="责任部门">
</el-table-column>
<el-table-column show-overflow-tooltip prop="latitude" label="楼栋纬度">
<el-table-column show-overflow-tooltip prop="alarmStatusCn" label="处置状态">
</el-table-column>
<el-table-column show-overflow-tooltip prop="updateTime" label="更新时间">
</el-table-column>
<el-table-column show-overflow-tooltip label="操作" width="80">
<template slot-scope="scope">
@ -78,12 +86,15 @@ export default {
if ((rowIndex + 1) % 2 == 1) {
return { 'background': 'rgba(0,0,0,0)', 'color': '#fff', 'border': '0' }
} else {
return { 'background': '#3D5566', 'border': '0' }
return { 'background': 'rgba(61, 85, 102, 0.16)', 'border': '0', 'color': '#fff' }
}
},
tableHeaderColor() {
//{'background-image': 'linear-gradient(90deg, #263958 0%, #375683 17%, #22324A 100%)'}
return { 'background-image': 'linear-gradient(90deg, #182436 0%, #1A3760 50%, #182436 100%)', 'color': '#fff' }
return { 'background': 'linear-gradient( rgba(38, 88, 76, 0.6) 100%, rgba(55, 131, 128, 0.6) 100%, rgba(34, 74, 53, 0.46) 46%)' }
// return { 'background': 'url("~@/assets/archives/9910.png") no-repeat;', 'background-size': '100% 100%;', 'color': '#fff' }
},
tableHeaderCellColor() {
return { 'background': 'rgba(0,0,0,0)', 'border': '0', 'color': '#fff' }
},
handleSizeChange(val) {
console.log(`每页 ${val}`);
@ -103,7 +114,7 @@ export default {
<style lang="less" scoped>
.mainBox {
width: 100%;
height: 370px;
height: 450px;
background: url('~@/assets/companyFile/背景22136.png') no-repeat;
background-size: 100% 100%;
padding: 70px 20px 60px;
@ -132,6 +143,52 @@ export default {
}
/deep/.el-table {
background: rgba(0, 0, 0, 0);
td.el-table__cell {
border: 0;
}
.xiangqing {
background: rgba(0, 0, 0, 0);
border: 0;
color: rgba(48, 196, 255, 0.7);
cursor: pointer;
}
.alarmType {
width: 72px;
height: 32px;
font-size: 14px;
color: rgba(255, 255, 255, 0.9);
letter-spacing: 1px;
font-weight: 400;
.red {
width: 100%;
height: 100%;
background: rgba(152, 7, 7, 0.21);
border: 1px solid rgba(214, 38, 38, 1);
display: flex;
justify-content: center;
align-items: center;
}
.yellow {
width: 100%;
height: 100%;
background: rgba(152, 95, 7, 0.21);
border: 1px solid rgba(255, 169, 38, 1);
display: flex;
justify-content: center;
align-items: center;
}
}
}
.title {
position: absolute;
top: 14px;

@ -30,11 +30,9 @@
{{ item.companyAddress }}
</div>
<div class="renyuan" v-if="item.resultList.length">
人员<span v-for="(a, ind) in item.resultList" :key="ind" v-html="a"></span>
</div>
<div class="renyuan" v-if="item.legalPerson">
车辆<span v-html="item.plateNo"></span>
<span v-for="(a, ind) in item.resultList" :key="ind" v-html="a + ' '"></span>
</div>
</div>
<div class="block">
<el-pagination style="float:right;margin:5px;" class="msg-pagination-container" :background="true"
@ -81,7 +79,9 @@ export default {
return this.modifiedText ? '' : 'el-icon-search'
}
},
mounted() {
this.resultList1 = this.resultList
this.checkKeyWords()
},
methods: {
@ -90,27 +90,27 @@ export default {
},
checkKeyWords() {
this.regex = new RegExp(this.modifiedText, "i")
this.resultList1 = this.resultList.map(item => {
this.resultList1 = this.resultList1.map(item => {
if (item.companyName) {
item.companyName = item.companyName.replace(this.regex, '<span class="highlight">$&</span>')
}
if (item.legalPerson) {
item.legalPerson = item.legalPerson.replace(this.regex, '<span class="highlight">$&</span>')
}
if (item.plateNo) {
item.plateNo = item.plateNo.replace(this.regex, '<span class="highlight">$&</span>')
if (item.resultList.length) {
item.resultList = item.resultList.map((a) => {
return a = a.replace(this.regex, '<span class="highlight">$&</span>')
});
// item.legalPerson = item.legalPerson.replace(this.regex, '<span class="highlight">$&</span>')
}
return item
})
},
handleSizeChange(val) {
console.log(`每页 ${val}`);
// console.log(` ${val} `);
this.pageNum = 1;
this.pageSize = val;
this.showResult(this.modifiedText)
},
handleCurrentChange(val) {
console.log(`当前页: ${val}`);
//console.log(`: ${val}`);
this.pageNum = val;
this.showResult(this.modifiedText)
},
@ -128,10 +128,10 @@ export default {
this.$message.warning('请输入要查询的关键词')
return
}
searchList({ searchValue: this.modifiedText }).then(res => {
searchList({ searchValue: this.modifiedText, pageNum: this.pageNum, pageSize: this.pageSize }).then(res => {
if (res.total || res.data.length) {
this.$set(this, 'resultList1', res.data)
console.log(res.data, 'res.data');
console.log(this.resultList1, 'this.resultList1');
this.total1 = res.total
//this.isShow = true
@ -145,7 +145,6 @@ export default {
gethistoryList() {
historyList().then((res) => {
this.historyList1 = res.data
})
},
}
@ -304,7 +303,7 @@ export default {
.resultList {
width: 60%;
height: 85%;
height: 78%;
margin-top: 60px;
background: #000;
background: url('~@/assets/companyFile/矩形备份 289981.png') no-repeat;
@ -313,9 +312,58 @@ export default {
justify-content: center;
flex-wrap: wrap;
overflow: auto;
cursor: pointer;
position: relative;
.block {
position: fixed;
box-sizing: border-box;
right: 40%;
bottom: 25px;
width: 100%;
height: 42px;
/deep/ .el-pagination.is-background .btn-next,
.el-pagination.is-background .btn-prev,
.el-pagination.is-background .el-pager li {
margin: 0 5px;
background-color: rgba(255, 255, 255, 0);
color: #eaeff7;
min-width: 30px;
border-radius: 2px;
border: 1px solid rgba(40, 132, 126, 1);
}
/deep/ .el-input__inner {
// background: url('~@/assets/companyFile/2121.png') no-repeat;
background: url('~@/assets/companyFile/矩形备份 18.png') no-repeat;
background-size: 100% 100%;
border: 1px solid rgba(40, 132, 126, 1);
color: rgba(234, 246, 255, 0.7);
;
}
/deep/ .btn-prev {
margin: 0 5px;
background-color: rgba(255, 255, 255, 0);
color: #eaeff7;
min-width: 30px;
border-radius: 2px;
border: 1px solid rgba(40, 132, 126, 1);
}
// /deep/.el-select-dropdown {
// background-color: rgba(255, 255, 255, 0);
// background: url('~@/assets/companyFile/001.png') no-repeat;
// background-size: 100% 100%;
// border: 0;
// }
}
&::-webkit-scrollbar {
width: 6px;
@ -338,6 +386,7 @@ export default {
width: 95%;
border-bottom: 1px solid #6C8097;
padding: 20px 0;
cursor: pointer;
p {

@ -1,28 +1,15 @@
<template>
<!-- 新建或者修改 -->
<el-dialog
class="dialog"
:title="dialogTitle"
:visible.sync="visible"
:close-on-click-modal="false"
width="970px"
>
<el-dialog class="dialog" :title="dialogTitle" :visible.sync="visible" :close-on-click-modal="false" width="970px">
<div class="form_body">
<!-- 设备基础信息表单 -->
<div class="equipment_form">
<p>设备基础信息</p>
<el-form ref="equipmentForm" :model="equipmentForm">
<el-form-item label="企业名称">
<el-select
v-model="equipmentForm.company.villageName"
placeholder="请选择企业"
>
<el-option
v-for="item in equipmentForm.company"
:key="item.villageCode"
:label="item.villageName"
:value="item.villageCode"
>
<el-select v-model="equipmentForm.company.villageName" placeholder="请选择企业">
<el-option v-for="item in equipmentForm.company" :key="item.villageCode" :label="item.villageName"
:value="item.villageCode">
</el-option>
</el-select>
</el-form-item>
@ -89,16 +76,9 @@
<el-input v-model="addressForm.U3D_hight"></el-input>
</el-form-item>
<el-form-item label="设备方位">
<el-select
v-model="addressForm.equipment_orientation.orientationCode"
placeholder="请选择设备方位"
>
<el-option
v-for="item in addressForm.equipment_orientation"
:key="item.orientationCode"
:label="item.orientation"
:value="item.orientationCode"
>
<el-select v-model="addressForm.equipment_orientation.orientationCode" placeholder="请选择设备方位">
<el-option v-for="item in addressForm.equipment_orientation" :key="item.orientationCode"
:label="item.orientation" :value="item.orientationCode">
</el-option>
</el-select>
</el-form-item>
@ -140,9 +120,9 @@
</el-dialog>
</template>
<script>
import {debounce} from '@/utils/publicMethod_lxy/debounce.js'
import { debounce } from '@/utils/publicMethod_lxy/debounce.js'
export default {
name: "AddDialog",
name: "addDialog",
data() {
return {
visible: false,
@ -184,9 +164,9 @@ export default {
open() {
this.visible = true;
},
saveFormData:debounce(function() {
this.$message.success('232324234')
},300)
saveFormData: debounce(function () {
this.$message.success('232324234')
}, 300)
},
};
</script>
@ -195,10 +175,12 @@ export default {
.el-dialog__title {
color: #fff;
}
background-image: url("~@/assets/companyFile/dialogBack.png");
background-size: 100% 100%;
background-repeat: no-repeat;
height: 720px;
/* 关闭弹窗叉号 */
.el-dialog__headerbtn {
.el-dialog__close {
@ -206,15 +188,18 @@ export default {
font-size: 18px;
}
}
.el-dialog__body {
padding: 0px;
padding-left: 15px;
padding-right: 15px;
p {
font-size: 16px;
color: #fff;
}
}
.el-button {
width: 70px;
border: 1px solid #4a6072;
@ -222,41 +207,49 @@ export default {
border-radius: 0px !important;
background: #323f43;
}
.el-button:focus,
.el-button:hover {
color: #34e1b3;
background: url("~@/assets/companyFile/891771.png") no-repeat !important;
background-size: 100% 100% !important;
}
.form_body {
height: 600px;
overflow-y: scroll;
}
.form_body::-webkit-scrollbar {
width: 10px;
background-color: #5e666a;
border-radius: 4px;
}
.form_body::-webkit-scrollbar-thumb {
width: 9px;
background-color: #3c4b4a;
border-radius: 4px;
}
.el-form {
/* 表单内容浮动布局,多行多列表单 */
width: 900px !important;
display: flex;
justify-content: space-between;
flex-wrap: wrap;
.el-form-item {
/* 表单域名跟input浮动布局 */
display: flex;
width: 30%;
.el-form-item__label {
width: 40%;
text-align: center;
color: #fff;
}
.el-form-item__content {
.el-input__inner {
width: 170px;
@ -264,6 +257,7 @@ export default {
background: #3c4b4a;
color: #fff;
}
/* 查询框点击颜色变化 */
.el-input__inner:focus,
.el-input__inner:hover {

@ -6,17 +6,11 @@
<div class="equipment_data_search">
<el-form :inline="true" :model="search" class="search">
<el-form-item>
<el-input
v-model="search.equipemnt"
placeholder="输入设备名称搜索"
></el-input>
<el-input v-model="search.equipemnt" placeholder="输入设备名称搜索"></el-input>
</el-form-item>
<el-form-item>
<el-form-item>
<el-input
v-model="search.ip"
placeholder="输入IP名称搜索"
></el-input>
<el-input v-model="search.ip" placeholder="输入IP名称搜索"></el-input>
</el-form-item>
</el-form-item>
<el-form-item>
@ -29,55 +23,29 @@
</div>
<!-- 增删按钮 -->
<div class="equipment_data_btn">
<el-button
v-for="item in btnList"
:key="item.value"
@click="openDialog(item.value)"
>
{{ item.label }}</el-button
>
<el-button v-for="item in btnList" :key="item.value" @click="openDialog(item.value)">
{{ item.label }}</el-button>
</div>
<!-- 表格 -->
<div class="equipment_data_table">
<el-table
:cell-style="{ background: 'revert', 'text-align': 'center' }"
:header-cell-style="table_header"
:data="tableData"
height="305"
:highlight-current-row="true"
>
<el-table :cell-style="{ background: 'revert', 'text-align': 'center' }" :header-cell-style="table_header"
:data="tableData" height="305" :highlight-current-row="true">
<el-table-column type="selection" width="55"> </el-table-column>
<el-table-column
v-for="item in tableColumn"
:key="item.prop"
:prop="item.prop"
:label="item.label"
></el-table-column>
<el-table-column v-for="item in tableColumn" :key="item.prop" :prop="item.prop"
:label="item.label"></el-table-column>
<el-table-column prop="operation" label="操作">
<template slot-scope="scope">
<el-button size="small" @click="handleEdit(scope.$index, scope.row)"
>编辑
<el-button size="small" @click="handleEdit(scope.$index, scope.row)">编辑
</el-button>
<el-button
size="small"
type="danger"
@click="handleDelete(scope.$index, scope.row)"
>删除
<el-button size="small" type="danger" @click="handleDelete(scope.$index, scope.row)">删除
</el-button>
</template>
</el-table-column>
</el-table>
</div>
<div class="equipment_data_pagination">
<el-pagination
@size-change="handleSizeChange"
@current-change="handleCurrentChange"
:current-page="currentPage4"
:page-sizes="[4]"
:page-size="100"
layout="total, sizes, prev, pager, next, jumper"
:total="total"
>
<el-pagination @size-change="handleSizeChange" @current-change="handleCurrentChange" :current-page="currentPage4"
:page-sizes="[4]" :page-size="100" layout="total, sizes, prev, pager, next, jumper" :total="total">
</el-pagination>
</div>
<AddDialog ref="addDialog"></AddDialog>
@ -86,7 +54,7 @@
</div>
</template>
<script>
import AddDialog from "./addDialog";
import AddDialog from "./addDIalog";
import UploadDialog from "./uploadDialog";
import DeriveDialog from "./deriveDialog";
export default {
@ -151,13 +119,16 @@ export default {
color: #fff;
margin-left: 10px;
}
.equipment_data_search {
margin-left: 12px;
/deep/.el-input__inner {
border-radius: 0px 0px 0px 0px;
background: #3c4b4a;
color: #fff;
}
.el-button {
width: 100%;
border: 1px solid #4a6072;
@ -165,6 +136,7 @@ export default {
border-radius: 0px !important;
background: #323f43;
}
.el-button:focus,
.el-button:hover {
border: 1px solid#34e1b3;
@ -172,8 +144,10 @@ export default {
background-size: 100% 100% !important;
}
}
.equipment_data_btn {
margin-left: 12px;
.el-button {
width: 70px;
height: 35px;
@ -182,6 +156,7 @@ export default {
border-radius: 0px !important;
background: #323f43;
}
.el-button:focus,
.el-button:hover {
border: 1px solid#34e1b3;
@ -189,35 +164,39 @@ export default {
background-size: 100% 100% !important;
}
}
.equipment_data_table {
width: calc(100% - 30px);
margin-top: 12px;
margin-left: 12px;
height: 100%;
.el-table,
.el-table__expanded-cell {
color: #fff;
background-color: transparent;
}
/deep/.el-table {
thead {
text-align: center;
color: #fff;
font-weight: 500;
background: linear-gradient(
to right,
#284f49,
#2f6363,
#233b38
) !important;
background: linear-gradient(to right,
#284f49,
#2f6363,
#233b38) !important;
& th {
background-color: transparent;
}
& tr {
background-color: transparent;
}
}
}
.el-table::before {
//线
left: 0;
@ -226,24 +205,29 @@ export default {
height: 0px;
}
}
.el-pagination {
margin-left: 57%;
/deep/.el-input__inner {
border-radius: 0px;
background: #3c4b4a;
color: #fff;
}
/deep/.btn-prev {
border-radius: 0px;
background: #3c4b4a;
color: #fff;
}
/deep/ul {
li {
background: #3c4b4a;
color: #fff;
}
}
/deep/.btn-next {
border-radius: 0px;
background: #3c4b4a;

16169
yarn.lock

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save