zhangtao
laozt 1 year ago
parent 7ab66c943a
commit 3f916119f3

@ -132,16 +132,8 @@
</div> </div>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column label="安全风险等级" align="center" prop="riskLevel" />
label="安全风险等级" <el-table-column label="标准化等级" align="center" prop="standLevel" />
align="center"
prop="riskLevel"
/>
<el-table-column
label="标准化等级"
align="center"
prop="standLevel"
/>
<el-table-column <el-table-column
label="上次检查时间" label="上次检查时间"
align="center" align="center"
@ -781,6 +773,7 @@ export default {
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
white-space: nowrap;
.look { .look {
display: flex; display: flex;
align-items: center; align-items: center;

@ -445,13 +445,13 @@ export default {
this.getList(); this.getList();
// 100% 125% // 100% 125%
let screen = window.screen; let screen = window.screen;
let screenWidth = window.screen.width; let screenWidth = window.screen.width;
let screenHeight = window.screen.height; let screenHeight = window.screen.height;
if (screenWidth == 1366) { if (screenWidth == 1366) {
this.tableHeight = 440; this.tableHeight = 420;
} else { } else {
this.tableHeight = detectZoom == 100 ? 700 : 480; this.tableHeight = detectZoom == 100 ? 600 : 480;
} }
}, },
dicts: ["inspection_method", "check_source", "document_type"], dicts: ["inspection_method", "check_source", "document_type"],
@ -697,7 +697,8 @@ export default {
.content { .content {
// padding: 15px 10px; // padding: 15px 10px;
.filtrate { .filtrate {
padding-bottom: 10px; padding: 31px 0 12px 0;
// padding-bottom: 10px;
.select-input { .select-input {
// margin-right: 10px; // margin-right: 10px;
margin-top: 20px; margin-top: 20px;

@ -369,9 +369,9 @@ export default {
let screenWidth = window.screen.width; let screenWidth = window.screen.width;
let screenHeight = window.screen.height; let screenHeight = window.screen.height;
if (screenWidth == 1366) { if (screenWidth == 1366) {
this.tableHeight = 440; this.tableHeight = 420;
} else { } else {
this.tableHeight = detectZoom == 100 ? 700 : 480; this.tableHeight = detectZoom == 100 ? 600 : 480;
} }
}, },
methods: { methods: {
@ -517,7 +517,9 @@ export default {
padding: 0 20px; padding: 0 20px;
background-color: #fff; background-color: #fff;
.filtrate { .filtrate {
padding-top: 10px; // padding-top: 10px;
padding: 31px 0 12px 0;
.btn-search { .btn-search {
background: #2378ec; background: #2378ec;
color: #ffffff; color: #ffffff;

@ -92,8 +92,7 @@
v-loading="load1" v-loading="load1"
:data="tableData" :data="tableData"
style="width: 100%" style="width: 100%"
:height="tableHeight" :height="tableHeight"
:border="false" :border="false"
:row-class-name="tableRowClassName" :row-class-name="tableRowClassName"
> >
@ -334,8 +333,7 @@ export default {
title: "", title: "",
isDialogShow: false, isDialogShow: false,
tableInfoData: [], tableInfoData: [],
tableHeight: 530, tableHeight: 530,
}; };
}, },
components: { components: {
@ -347,8 +345,15 @@ export default {
created() { created() {
this.queryParams.plannedYear = this.$moment(new Date()).format("yyyy"); this.queryParams.plannedYear = this.$moment(new Date()).format("yyyy");
this.getList(); this.getList();
// 100% 125% // 100% 125%
this.tableHeight = detectZoom == 100 ? 730 : 530; let screen = window.screen;
let screenWidth = window.screen.width;
let screenHeight = window.screen.height;
if (screenWidth == 1366) {
this.tableHeight = 500;
} else {
this.tableHeight = detectZoom == 100 ? 750 : 530;
}
if (JSON.parse(sessionStorage.getItem("USER_P_STATUS")) == 1) { if (JSON.parse(sessionStorage.getItem("USER_P_STATUS")) == 1) {
// //
this.resetPwd(); this.resetPwd();

@ -552,9 +552,9 @@ export default {
let screenWidth = window.screen.width; let screenWidth = window.screen.width;
let screenHeight = window.screen.height; let screenHeight = window.screen.height;
if (screenWidth == 1366) { if (screenWidth == 1366) {
this.tableHeight = 420; this.tableHeight = 400;
} else { } else {
this.tableHeight = detectZoom == 100 ? 650 : 450; this.tableHeight = detectZoom == 100 ? 600 : 450;
} }
}, },
}; };
@ -604,6 +604,7 @@ export default {
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
white-space: nowrap;
.look, .look,
.change, .change,
.delete { .delete {

@ -15,7 +15,7 @@ const px2rem = require("postcss-px2rem"); //将项目中的px转成rem,以达到
// 配置基本大小 // 配置基本大小
const postcss = px2rem({ const postcss = px2rem({
// 基准大小 baseSize需要和rem.js中相同 // 基准大小 baseSize需要和rem.js中相同
remUnit: 16, remUnit: 14,
}); });
// vue.config.js 配置说明 // vue.config.js 配置说明

Loading…
Cancel
Save