Commit e1ba11c1 authored by 张牧越's avatar 张牧越

添加返回按钮

parent 28a9ac0a
...@@ -8,6 +8,10 @@ ...@@ -8,6 +8,10 @@
<span>水利工程质量动态评估系统</span> <span>水利工程质量动态评估系统</span>
</div> </div>
<div class="right-nav"> <div class="right-nav">
<span @click="returnManage">
<img src="@/assets/images/return_icon.jpg" alt="" />
返回管理端
</span>
<!-- <img :src="userInfo.op_avatar" alt="" /> <!-- <img :src="userInfo.op_avatar" alt="" />
{{ userInfo.op_name }} --> {{ userInfo.op_name }} -->
</div> </div>
...@@ -24,6 +28,9 @@ export default { ...@@ -24,6 +28,9 @@ export default {
}; };
}, },
methods: { methods: {
returnManage() {
window.location.href = window.location.origin;
},
getTime() { getTime() {
let date = new Date(); let date = new Date();
let year = date.getFullYear(); let year = date.getFullYear();
...@@ -142,14 +149,27 @@ export default { ...@@ -142,14 +149,27 @@ export default {
text-align: right; text-align: right;
font-size: 16px; font-size: 16px;
color: #fff; color: #fff;
span {
padding: 4px;
z-index: 90;
cursor: pointer;
position: absolute;
right: 20px;
top: 20px;
border: 1px solid #3f78bc;
background: #173c68;
line-height: 26px;
font-size: 14px;
&:hover {
background: #2862a6;
}
}
img { img {
width: 26px; width: 26px;
height: 26px; height: 26px;
vertical-align: top; vertical-align: top;
border-radius: 50%; border-radius: 50%;
margin-right: 10px; margin-right: 4px;
margin-top: 26px;
object-fit: cover; object-fit: cover;
} }
} }
......
...@@ -163,8 +163,8 @@ ...@@ -163,8 +163,8 @@
:visible="projectListVisible" :visible="projectListVisible"
@change-visible="(val) => (projectListVisible = val)" @change-visible="(val) => (projectListVisible = val)"
></ProjectList> ></ProjectList>
<!-- <div class="bottom-area"> <div class="bottom-area">
<Section2 title="工程风险监视" class="bottom-section"> <Section2 title="严重问题预警" class="bottom-section">
<STable2 :headers="header5" :table-data="data5"> <STable2 :headers="header5" :table-data="data5">
<template slot-scope="scope"> <template slot-scope="scope">
<template v-if="scope.header.slot == 'count'"> <template v-if="scope.header.slot == 'count'">
...@@ -177,7 +177,7 @@ ...@@ -177,7 +177,7 @@
</template> </template>
</STable2> </STable2>
</Section2> </Section2>
</div> --> </div>
<!-- <img src="@/assets/images/index/lt.png" class="lt" alt="" /> <!-- <img src="@/assets/images/index/lt.png" class="lt" alt="" />
<img src="@/assets/images/index/rt.png" class="rt" alt="" /> <img src="@/assets/images/index/rt.png" class="rt" alt="" />
<img src="@/assets/images/index/btm.png" class="btm" alt="" /> --> <img src="@/assets/images/index/btm.png" class="btm" alt="" /> -->
...@@ -462,43 +462,32 @@ export default { ...@@ -462,43 +462,32 @@ export default {
{ {
name: "工程名称", name: "工程名称",
props: "project_name", props: "project_name",
width: "20%", width: "45%",
headerStyle: {}, headerStyle: {},
style: {}, style: {},
align: "left", align: "left",
}, },
{ {
name: "标段名称", name: "所属区域",
props: "prname", props: "prname",
width: "15%", width: "20%",
headerStyle: {}, headerStyle: {},
style: {}, style: {},
align: "left", align: "left",
}, },
{ {
name: "政府监管", name: "当前问题总数",
props: "zfjg", props: "zfjg",
width: "10%", width: "10%",
}, },
{ {
name: "质量管理制度", name: "严重问题数量",
props: "zlglzd", props: "zlglzd",
width: "10%", width: "10%",
}, },
{ {
name: "资质资格", name: "最近严重预警时间",
props: "zzzg", props: "zzzg",
width: "10%",
},
{
name: "实体质量",
props: "stzl",
width: "10%",
},
{
name: "问题总数/已处理数",
props: "label4",
slot: "count",
width: "15%", width: "15%",
}, },
], ],
...@@ -1144,7 +1133,7 @@ export default { ...@@ -1144,7 +1133,7 @@ export default {
transform: translateX(-50%); transform: translateX(-50%);
top: 0; top: 0;
width: calc(100% - 900px); width: calc(100% - 900px);
height: calc(100% - 90px); height: calc(100% - calc(calc(100% - 90px) / 3 - calc(28px / 3)));
background: transparent !important; background: transparent !important;
z-index: 5; z-index: 5;
} }
...@@ -1161,7 +1150,9 @@ export default { ...@@ -1161,7 +1150,9 @@ export default {
right: 10px; right: 10px;
top: 80px; top: 80px;
width: 440px; width: 440px;
height: calc(100% - 90px); height: calc(
calc(100% - 90px) - calc(calc(100% - 90px) / 3 - calc(28px / 3)) - 10px
);
z-index: 999; z-index: 999;
} }
.bottom-area { .bottom-area {
......
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