Commit 33f8370f authored by 张牧越's avatar 张牧越

fix

parent ced7199f
...@@ -28,6 +28,17 @@ ...@@ -28,6 +28,17 @@
.el-loading-mask { .el-loading-mask {
z-index: 99999 !important; z-index: 99999 !important;
} }
.full-screen .el-dialog {
width: 100% !important;
margin: 0 !important;
height: 100% !important;
}
#full-screen .el-dialog .el-dialog__body {
height: calc(100% - .54rem) !important;
overflow: auto;
}
</style> </style>
</head> </head>
......
...@@ -175,7 +175,7 @@ export async function getZLJCList(id) { ...@@ -175,7 +175,7 @@ export async function getZLJCList(id) {
export async function getAreaDetail(projectId) { export async function getAreaDetail(projectId) {
return await request({ return await request({
url: `/site/index/whole/${projectId}`, url: `/site/index/whole/${86}`,
method: 'get', method: 'get',
}) })
} }
......
src/assets/images/dialogs/zt.png

59.6 KB | W: | H:

src/assets/images/dialogs/zt.png

59.7 KB | W: | H:

src/assets/images/dialogs/zt.png
src/assets/images/dialogs/zt.png
src/assets/images/dialogs/zt.png
src/assets/images/dialogs/zt.png
  • 2-up
  • Swipe
  • Onion skin
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
<el-dialog <el-dialog
:visible.sync="dialogVisible" :visible.sync="dialogVisible"
:class="[isFullScreen ? 'full-screen' : '']" :class="[isFullScreen ? 'full-screen' : '']"
:id="[isFullScreen ? 'full-screen' : '']"
:append-to-body="true" :append-to-body="true"
:width="width" :width="width"
top=".98rem" top=".98rem"
...@@ -40,10 +41,14 @@ export default { ...@@ -40,10 +41,14 @@ export default {
type: [String, Number], type: [String, Number],
default: 1200, default: 1200,
}, },
isFullScreen: {
type: Boolean,
default: false,
},
}, },
data() { data() {
return { return {
isFullScreen: false, // isFullScreen: false,
}; };
}, },
computed: { computed: {
......
...@@ -2,53 +2,62 @@ ...@@ -2,53 +2,62 @@
<Dialog <Dialog
:title="data.project_name" :title="data.project_name"
:visible="dialogVisible" :visible="dialogVisible"
width="16rem" width="1200px"
@change-visible="changeVisible" @change-visible="changeVisible"
:destroy-on-close="true" :destroy-on-close="true"
is-full-screen
> >
<div class="top-scores"> <div class="top-scores">
<div class="top-score"> <div class="top-score">
<img src="@/assets/images/dialogs/zt.png" alt="" /> <img src="@/assets/images/dialogs/zt.png" alt="" />
工程整体得分 <div>工程整体得分</div>
<span <div
class="count"
:style="{ :style="{
color: project_info.total_score < warningNum[6] ? '#f86262' : '', color: project_info.total_score < warningNum[6] ? '#f86262' : '',
}" }"
>{{ project_info.total_score }}</span
> >
{{ project_info.total_score }}
</div>
</div> </div>
<div class="top-score"> <div class="top-score">
<img src="@/assets/images/dialogs/zfjg.png" alt="" /> <img src="@/assets/images/dialogs/zfjg.png" alt="" />
政府监管得分 <div>政府监管得分</div>
<span <div
class="count"
:style="{ :style="{
color: color:
project_info.regulation_score < warningNum[2] ? '#f86262' : '', project_info.regulation_score < warningNum[2] ? '#f86262' : '',
}" }"
>{{ project_info.regulation_score }}</span
> >
{{ project_info.regulation_score }}
</div>
</div> </div>
<div class="top-score"> <div class="top-score">
<img src="@/assets/images/dialogs/gczl.png" alt="" /> <img src="@/assets/images/dialogs/gczl.png" alt="" />
工程质量得分 <div>工程质量得分</div>
<span <div
class="count"
:style="{ :style="{
color: color:
project_info.quality_total_score < warningNum[7] ? '#f86262' : '', project_info.quality_total_score < warningNum[7] ? '#f86262' : '',
}" }"
>{{ project_info.quality_total_score }}</span
> >
{{ project_info.quality_total_score }}
</div>
</div> </div>
<div class="top-score"> <div class="top-score">
<img src="@/assets/images/dialogs/cxcy.png" alt="" /> <img src="@/assets/images/dialogs/cxcy.png" alt="" />
创新创优得分 <div>创新创优得分</div>
<span <div
class="count"
:style="{ :style="{
color: color:
project_info.excellence_score < warningNum[3] ? '#f86262' : '', project_info.excellence_score < warningNum[3] ? '#f86262' : '',
}" }"
>{{ project_info.excellence_score }}</span
> >
{{ project_info.excellence_score }}
</div>
</div> </div>
</div> </div>
...@@ -152,7 +161,7 @@ ...@@ -152,7 +161,7 @@
</el-tooltip> </el-tooltip>
</div> </div>
</div> </div>
<div class="score-detail" style="max-height: 6rem; overflow-y: auto"> <div class="score-detail">
<div class="inner-title"> <div class="inner-title">
质量检测<span>(得分:{{ project_info.quality_check_score }})</span> 质量检测<span>(得分:{{ project_info.quality_check_score }})</span>
</div> </div>
...@@ -194,6 +203,7 @@ ...@@ -194,6 +203,7 @@
:data="pd_info" :data="pd_info"
style="margin-top: 0" style="margin-top: 0"
:span-method="handleSpan" :span-method="handleSpan"
:max-height="400"
> >
<el-table-column <el-table-column
label="单位工程名称" label="单位工程名称"
...@@ -560,16 +570,23 @@ export default { ...@@ -560,16 +570,23 @@ export default {
background: #12407f; background: #12407f;
color: #d9d9d9; color: #d9d9d9;
white-space: nowrap; white-space: nowrap;
div {
line-height: 40px;
display: inline-block;
vertical-align: top;
}
&:first-child { &:first-child {
background: #117093; background: #117093;
border: 4px solid #1d81a6; border: 4px solid #1d81a6;
} }
span { .count {
font-size: 28px; font-size: 28px;
vertical-align: top;
line-height: 40px; line-height: 40px;
vertical-align: top;
font-weight: bold; font-weight: bold;
margin-left: 20px; margin-left: 20px;
display: inline-block;
} }
img { img {
width: 40px; width: 40px;
......
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