提交 fa819873 authored 作者: CRS's avatar CRS

new

上级 7202263d
...@@ -95,8 +95,15 @@ ...@@ -95,8 +95,15 @@
.el-table--striped .el-table__body tr.el-table__row--striped.el-table__row--striped.el-table__row--striped td { .el-table--striped .el-table__body tr.el-table__row--striped.el-table__row--striped.el-table__row--striped td {
background-color: #fff; background-color: #fff;
} }
.el-table--striped .el-table__body tr.el-table__row--striped.el-table__row--striped.el-table__row--striped:hover td {
background-color: #4877e6;
color: #fff;
/*表格双行hover样式*/
}
.el-table--enable-row-hover .el-table__body tr:hover>td{ .el-table--enable-row-hover .el-table__body tr:hover>td{
background-color: #f5f8fd; background-color: #4877e6;
color: #fff;
/*表格单行hover样式*/
} }
.el-table th.is-leaf, .el-table td { .el-table th.is-leaf, .el-table td {
border-bottom: 1px solid #d5e3ff; border-bottom: 1px solid #d5e3ff;
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
:data="allData" :data="allData"
@row-click="openTable" @row-click="openTable"
stripe stripe
style="width: 100%;margin-bottom: 10px;"> style="width: 100%;">
<el-table-column <el-table-column
prop="type" prop="type"
label="标签" label="标签"
...@@ -203,7 +203,6 @@ export default { ...@@ -203,7 +203,6 @@ export default {
border: 1px solid rgba(8,104,157,.3); border: 1px solid rgba(8,104,157,.3);
border-radius: 2px; border-radius: 2px;
font-size: 18px; font-size: 18px;
color: #999;
height: 34px; height: 34px;
line-height: 34px; line-height: 34px;
width: 180px; width: 180px;
...@@ -216,7 +215,7 @@ export default { ...@@ -216,7 +215,7 @@ export default {
text-align: center; text-align: center;
background: #4877e6; background: #4877e6;
cursor: pointer; cursor: pointer;
border-radius: 2px; border-radius: 4px;
color: #fff; color: #fff;
font-size: 18px; font-size: 18px;
} }
......
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
:data="allData" :data="allData"
@row-click="details" @row-click="details"
stripe stripe
style="width: 100%;margin-bottom: 10px;"> style="width: 100%;">
<el-table-column <el-table-column
prop="name" prop="name"
label="单位名称" label="单位名称"
...@@ -237,7 +237,7 @@ export default { ...@@ -237,7 +237,7 @@ export default {
background: #4877e6; background: #4877e6;
cursor: pointer; cursor: pointer;
/*margin-left: 100px;*/ /*margin-left: 100px;*/
border-radius: 2px; border-radius: 4px;
color: #fff; color: #fff;
font-size: 18px; font-size: 18px;
} }
......
...@@ -141,7 +141,7 @@ export default { ...@@ -141,7 +141,7 @@ export default {
background: #4877e6; background: #4877e6;
cursor: pointer; cursor: pointer;
margin-left: 55px; margin-left: 55px;
border-radius: 2px; border-radius: 4px;
color: #fff; color: #fff;
font-size: 18px; font-size: 18px;
} }
...@@ -197,4 +197,4 @@ export default { ...@@ -197,4 +197,4 @@ export default {
margin-left: 29px; margin-left: 29px;
vertical-align: middle; vertical-align: middle;
} }
</style> </style>
\ No newline at end of file
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
:data="allData" :data="allData"
@row-click="details" @row-click="details"
stripe stripe
style="width: 100%;margin-bottom: 10px;"> style="width: 100%;">
<el-table-column <el-table-column
prop="name" prop="name"
label="产品名称" label="产品名称"
...@@ -275,7 +275,7 @@ export default { ...@@ -275,7 +275,7 @@ export default {
background: #4877e6; background: #4877e6;
cursor: pointer; cursor: pointer;
margin-left: 20px; margin-left: 20px;
border-radius: 2px; border-radius: 4px;
color: #fff; color: #fff;
font-size: 18px; font-size: 18px;
} }
......
...@@ -102,7 +102,6 @@ export default { ...@@ -102,7 +102,6 @@ export default {
border: 1px solid rgba(8,104,157,.3); border: 1px solid rgba(8,104,157,.3);
border-radius: 2px; border-radius: 2px;
font-size: 18px; font-size: 18px;
color: #999;
height: 34px; height: 34px;
line-height: 34px; line-height: 34px;
width: 180px; width: 180px;
......
...@@ -231,7 +231,6 @@ export default { ...@@ -231,7 +231,6 @@ export default {
border: 1px solid rgba(8,104,157,.3); border: 1px solid rgba(8,104,157,.3);
border-radius: 2px; border-radius: 2px;
font-size: 18px; font-size: 18px;
color: #999;
height: 34px; height: 34px;
line-height: 34px; line-height: 34px;
width: 200px; width: 200px;
......
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
label="应用项目" label="应用项目"
align="center"> align="center">
<template slot-scope="scope"> <template slot-scope="scope">
<span class="change">查看项目</span> <span class="change"><img src="./img/look.png">查看项目</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column
...@@ -53,7 +53,7 @@ ...@@ -53,7 +53,7 @@
label="产品组合" label="产品组合"
align="center"> align="center">
<template slot-scope="scope"> <template slot-scope="scope">
<span class="change" @click="product(scope.row)">产品管理</span> <span class="change" @click="product(scope.row)"><img src="./img/look.png">产品管理</span>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
...@@ -230,7 +230,6 @@ export default { ...@@ -230,7 +230,6 @@ export default {
border: 1px solid rgba(8,104,157,.3); border: 1px solid rgba(8,104,157,.3);
border-radius: 2px; border-radius: 2px;
font-size: 18px; font-size: 18px;
color: #999;
height: 34px; height: 34px;
line-height: 34px; line-height: 34px;
width: 180px; width: 180px;
...@@ -247,7 +246,7 @@ export default { ...@@ -247,7 +246,7 @@ export default {
background: #4877e6; background: #4877e6;
cursor: pointer; cursor: pointer;
margin-left: 30px; margin-left: 30px;
border-radius: 2px; border-radius: 4px;
color: #fff; color: #fff;
font-size: 18px; font-size: 18px;
} }
...@@ -259,4 +258,22 @@ export default { ...@@ -259,4 +258,22 @@ export default {
right: 70px; right: 70px;
width: 50px; width: 50px;
} }
/*表格单双行hover查看和图标改变*/
.technical>>>.el-table--striped .el-table__body tr.el-table__row--striped.el-table__row--striped.el-table__row--striped:hover td .change{
color: #fff;
/*表格双行hover样式*/
}
.technical>>>.el-table--striped .el-table__body tr.el-table__row--striped.el-table__row--striped.el-table__row--striped:hover td .change>img{
content: url("./img/look.png");
/*表格双行hover样式*/
}
.technical>>>.el-table--enable-row-hover .el-table__body tr:hover>td .change{
color: #fff;
/*表格单行hover样式*/
}
.technical>>>.el-table--enable-row-hover .el-table__body tr:hover>td .change>img{
content: url("./img/look.png");
/*表格单行hover样式*/
}
</style> </style>
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
:data="allData" :data="allData"
@row-click="details" @row-click="details"
stripe stripe
style="width: 100%;margin-bottom: 10px;"> style="width: 100%;">
<el-table-column <el-table-column
prop="name" prop="name"
label="单位名称" label="单位名称"
...@@ -281,7 +281,7 @@ export default { ...@@ -281,7 +281,7 @@ export default {
background: #4877e6; background: #4877e6;
cursor: pointer; cursor: pointer;
/*margin-left: 100px;*/ /*margin-left: 100px;*/
border-radius: 2px; border-radius: 4px;
color: #fff; color: #fff;
font-size: 18px; font-size: 18px;
} }
......
...@@ -141,7 +141,7 @@ export default { ...@@ -141,7 +141,7 @@ export default {
background: #4877e6; background: #4877e6;
cursor: pointer; cursor: pointer;
margin-left: 55px; margin-left: 55px;
border-radius: 2px; border-radius: 4px;
color: #fff; color: #fff;
font-size: 18px; font-size: 18px;
} }
...@@ -198,4 +198,4 @@ export default { ...@@ -198,4 +198,4 @@ export default {
margin-left: 29px; margin-left: 29px;
vertical-align: middle; vertical-align: middle;
} }
</style> </style>
\ No newline at end of file
...@@ -142,7 +142,6 @@ export default { ...@@ -142,7 +142,6 @@ export default {
border: 1px solid rgba(8,104,157,.3); border: 1px solid rgba(8,104,157,.3);
border-radius: 2px; border-radius: 2px;
font-size: 18px; font-size: 18px;
color: #999;
height: 34px; height: 34px;
line-height: 34px; line-height: 34px;
width: 180px; width: 180px;
......
...@@ -123,6 +123,14 @@ export default { ...@@ -123,6 +123,14 @@ export default {
} }
} }
} }
if (this.$route.params.data !== undefined) { // 角色页面跳转过来所带参数
console.log(this.$route.params.data);
for (let item of this.unitList) {
if (item.name === this.$route.params.data.name) {
this.searchUnit = item.id
}
}
}
let val = { let val = {
name: '基础资料管理', name: '基础资料管理',
index: 4, index: 4,
...@@ -255,7 +263,6 @@ export default { ...@@ -255,7 +263,6 @@ export default {
border: 1px solid rgba(8,104,157,.3); border: 1px solid rgba(8,104,157,.3);
border-radius: 2px; border-radius: 2px;
font-size: 18px; font-size: 18px;
color: #999;
height: 34px; height: 34px;
line-height: 34px; line-height: 34px;
width: 180px; width: 180px;
...@@ -272,7 +279,7 @@ export default { ...@@ -272,7 +279,7 @@ export default {
background: #4877e6; background: #4877e6;
cursor: pointer; cursor: pointer;
margin-left: 30px; margin-left: 30px;
border-radius: 2px; border-radius: 4px;
color: #fff; color: #fff;
font-size: 18px; font-size: 18px;
} }
......
...@@ -204,7 +204,7 @@ export default { ...@@ -204,7 +204,7 @@ export default {
background: #4877e6; background: #4877e6;
cursor: pointer; cursor: pointer;
margin-left: 55px; margin-left: 55px;
border-radius: 2px; border-radius: 4px;
color: #fff; color: #fff;
font-size: 18px; font-size: 18px;
} }
......
...@@ -50,7 +50,7 @@ ...@@ -50,7 +50,7 @@
:data="allData" :data="allData"
@row-click="details" @row-click="details"
stripe stripe
style="width: 100%;margin-bottom: 10px;"> style="width: 100%;">
<el-table-column <el-table-column
prop="name" prop="name"
label="产品名称" label="产品名称"
...@@ -314,7 +314,6 @@ export default { ...@@ -314,7 +314,6 @@ export default {
border: 1px solid rgba(8,104,157,.3); border: 1px solid rgba(8,104,157,.3);
border-radius: 2px; border-radius: 2px;
font-size: 18px; font-size: 18px;
color: #333;
height: 34px; height: 34px;
line-height: 34px; line-height: 34px;
width: 180px; width: 180px;
...@@ -328,7 +327,7 @@ export default { ...@@ -328,7 +327,7 @@ export default {
background: #4877e6; background: #4877e6;
cursor: pointer; cursor: pointer;
margin-left: 20px; margin-left: 20px;
border-radius: 2px; border-radius: 4px;
color: #fff; color: #fff;
font-size: 18px; font-size: 18px;
} }
......
...@@ -102,7 +102,6 @@ export default { ...@@ -102,7 +102,6 @@ export default {
border: 1px solid rgba(8,104,157,.3); border: 1px solid rgba(8,104,157,.3);
border-radius: 2px; border-radius: 2px;
font-size: 18px; font-size: 18px;
color: #999;
height: 34px; height: 34px;
line-height: 34px; line-height: 34px;
width: 180px; width: 180px;
......
...@@ -181,7 +181,6 @@ export default { ...@@ -181,7 +181,6 @@ export default {
border: 1px solid rgba(8,104,157,.3); border: 1px solid rgba(8,104,157,.3);
border-radius: 2px; border-radius: 2px;
font-size: 18px; font-size: 18px;
color: #333;
height: 34px; height: 34px;
line-height: 34px; line-height: 34px;
width: 180px; width: 180px;
......
...@@ -69,7 +69,6 @@ export default { ...@@ -69,7 +69,6 @@ export default {
border: 1px solid rgba(8,104,157,.3); border: 1px solid rgba(8,104,157,.3);
border-radius: 2px; border-radius: 2px;
font-size: 18px; font-size: 18px;
color: #999;
height: 34px; height: 34px;
line-height: 34px; line-height: 34px;
width: 180px; width: 180px;
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
max-height="840" max-height="840"
:data="allData" :data="allData"
stripe stripe
style="width: 100%;margin-bottom: 10px;"> style="width: 100%;">
<el-table-column <el-table-column
prop="name" prop="name"
label="角色" label="角色"
...@@ -212,7 +212,6 @@ export default { ...@@ -212,7 +212,6 @@ export default {
border: 1px solid rgba(8,104,157,.3); border: 1px solid rgba(8,104,157,.3);
border-radius: 2px; border-radius: 2px;
font-size: 18px; font-size: 18px;
color: #999;
height: 34px; height: 34px;
line-height: 34px; line-height: 34px;
width: 180px; width: 180px;
...@@ -225,7 +224,7 @@ export default { ...@@ -225,7 +224,7 @@ export default {
text-align: center; text-align: center;
background: #4877e6; background: #4877e6;
cursor: pointer; cursor: pointer;
border-radius: 2px; border-radius: 4px;
color: #fff; color: #fff;
font-size: 18px; font-size: 18px;
} }
...@@ -237,4 +236,22 @@ export default { ...@@ -237,4 +236,22 @@ export default {
right: 70px; right: 70px;
width: 50px; width: 50px;
} }
/*表格单双行hover查看和图标改变*/
.role>>>.el-table--striped .el-table__body tr.el-table__row--striped.el-table__row--striped.el-table__row--striped:hover td .change{
color: #fff;
/*表格双行hover样式*/
}
.role>>>.el-table--striped .el-table__body tr.el-table__row--striped.el-table__row--striped.el-table__row--striped:hover td .change>img{
content: url("./img/look.png");
/*表格双行hover样式*/
}
.role>>>.el-table--enable-row-hover .el-table__body tr:hover>td .change{
color: #fff;
/*表格单行hover样式*/
}
.role>>>.el-table--enable-row-hover .el-table__body tr:hover>td .change>img{
content: url("./img/look.png");
/*表格单行hover样式*/
}
</style> </style>
...@@ -265,7 +265,7 @@ export default { ...@@ -265,7 +265,7 @@ export default {
text-align: center; text-align: center;
background: #4877e6; background: #4877e6;
cursor: pointer; cursor: pointer;
border-radius: 2px; border-radius: 4px;
color: #fff; color: #fff;
font-size: 18px; font-size: 18px;
} }
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
:data="allData" :data="allData"
@row-click="jump" @row-click="jump"
stripe stripe
style="width: 100%;margin-bottom: 10px;"> style="width: 100%;">
<el-table-column <el-table-column
prop="unitName" prop="unitName"
label="投诉单位" label="投诉单位"
...@@ -222,7 +222,6 @@ export default { ...@@ -222,7 +222,6 @@ export default {
border: 1px solid rgba(8,104,157,.3); border: 1px solid rgba(8,104,157,.3);
border-radius: 2px; border-radius: 2px;
font-size: 18px; font-size: 18px;
color: #999;
height: 34px; height: 34px;
line-height: 34px; line-height: 34px;
width: 180px; width: 180px;
...@@ -235,7 +234,7 @@ export default { ...@@ -235,7 +234,7 @@ export default {
text-align: center; text-align: center;
background: #4877e6; background: #4877e6;
cursor: pointer; cursor: pointer;
border-radius: 2px; border-radius: 4px;
color: #fff; color: #fff;
font-size: 18px; font-size: 18px;
} }
......
...@@ -196,7 +196,7 @@ export default { ...@@ -196,7 +196,7 @@ export default {
text-align: center; text-align: center;
background: #4877e6; background: #4877e6;
cursor: pointer; cursor: pointer;
border-radius: 2px; border-radius: 4px;
color: #fff; color: #fff;
font-size: 18px; font-size: 18px;
} }
......
...@@ -265,7 +265,7 @@ export default { ...@@ -265,7 +265,7 @@ export default {
text-align: center; text-align: center;
background: #4877e6; background: #4877e6;
cursor: pointer; cursor: pointer;
border-radius: 2px; border-radius: 4px;
color: #fff; color: #fff;
font-size: 18px; font-size: 18px;
} }
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
:data="allData" :data="allData"
@row-click="jump" @row-click="jump"
stripe stripe
style="width: 100%;margin-bottom: 10px;"> style="width: 100%;">
<el-table-column <el-table-column
prop="unitName" prop="unitName"
label="投诉单位" label="投诉单位"
...@@ -220,7 +220,6 @@ export default { ...@@ -220,7 +220,6 @@ export default {
border: 1px solid rgba(8,104,157,.3); border: 1px solid rgba(8,104,157,.3);
border-radius: 2px; border-radius: 2px;
font-size: 18px; font-size: 18px;
color: #999;
height: 34px; height: 34px;
line-height: 34px; line-height: 34px;
width: 180px; width: 180px;
...@@ -233,7 +232,7 @@ export default { ...@@ -233,7 +232,7 @@ export default {
text-align: center; text-align: center;
background: #4877e6; background: #4877e6;
cursor: pointer; cursor: pointer;
border-radius: 2px; border-radius: 4px;
color: #fff; color: #fff;
font-size: 18px; font-size: 18px;
} }
......
...@@ -268,7 +268,7 @@ export default { ...@@ -268,7 +268,7 @@ export default {
text-align: center; text-align: center;
background: #4877e6; background: #4877e6;
cursor: pointer; cursor: pointer;
border-radius: 2px; border-radius: 4px;
color: #fff; color: #fff;
font-size: 18px; font-size: 18px;
} }
......
...@@ -129,7 +129,6 @@ export default { ...@@ -129,7 +129,6 @@ export default {
}, },
getJumpOther: { getJumpOther: {
handler: function (val) { handler: function (val) {
console.log(val);
if (val !== '') { if (val !== '') {
$('.sidebar .menu').removeClass('click'); // 样式修改 $('.sidebar .menu').removeClass('click'); // 样式修改
$('.sidebar .font').removeClass('fontClick'); $('.sidebar .font').removeClass('fontClick');
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
:data="allData" :data="allData"
@row-click="openTable" @row-click="openTable"
stripe stripe
style="width: 100%;margin-bottom: 10px;"> style="width: 100%;">
<el-table-column <el-table-column
prop="type" prop="type"
label="标签" label="标签"
...@@ -189,7 +189,6 @@ export default { ...@@ -189,7 +189,6 @@ export default {
border: 1px solid rgba(8,104,157,.3); border: 1px solid rgba(8,104,157,.3);
border-radius: 2px; border-radius: 2px;
font-size: 18px; font-size: 18px;
color: #999;
height: 34px; height: 34px;
line-height: 34px; line-height: 34px;
width: 180px; width: 180px;
...@@ -202,7 +201,7 @@ export default { ...@@ -202,7 +201,7 @@ export default {
text-align: center; text-align: center;
background: #4877e6; background: #4877e6;
cursor: pointer; cursor: pointer;
border-radius: 2px; border-radius: 4px;
color: #fff; color: #fff;
font-size: 18px; font-size: 18px;
} }
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
max-height="840" max-height="840"
:data="allData" :data="allData"
stripe stripe
style="width: 100%;margin-bottom: 10px;"> style="width: 100%;">
<el-table-column <el-table-column
prop="name" prop="name"
label="文件名称" label="文件名称"
...@@ -97,4 +97,4 @@ export default { ...@@ -97,4 +97,4 @@ export default {
.document .content .button { .document .content .button {
margin-left: 12px; margin-left: 12px;
} }
</style> </style>
\ No newline at end of file
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
max-height="840" max-height="840"
:data="allData" :data="allData"
stripe stripe
style="width: 100%;margin-bottom: 10px;"> style="width: 100%;">
<el-table-column <el-table-column
prop="name" prop="name"
label="厂商" label="厂商"
...@@ -90,4 +90,4 @@ export default { ...@@ -90,4 +90,4 @@ export default {
.hardware .content .button { .hardware .content .button {
margin-left: 12px; margin-left: 12px;
} }
</style> </style>
\ No newline at end of file
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
max-height="840" max-height="840"
:data="allData" :data="allData"
stripe stripe
style="width: 100%;margin-bottom: 10px;"> style="width: 100%;">
<el-table-column <el-table-column
prop="name" prop="name"
label="操作内容" label="操作内容"
...@@ -90,4 +90,4 @@ export default { ...@@ -90,4 +90,4 @@ export default {
.journal .content .button { .journal .content .button {
margin-left: 12px; margin-left: 12px;
} }
</style> </style>
\ No newline at end of file
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
max-height="840" max-height="840"
:data="allData" :data="allData"
stripe stripe
style="width: 100%;margin-bottom: 10px;"> style="width: 100%;">
<el-table-column <el-table-column
prop="name" prop="name"
label="模块名称" label="模块名称"
...@@ -95,4 +95,4 @@ export default { ...@@ -95,4 +95,4 @@ export default {
.software .content .button { .software .content .button {
margin-left: 12px; margin-left: 12px;
} }
</style> </style>
\ No newline at end of file
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论