|
|
|
@ -93,7 +93,6 @@
|
|
|
|
|
:data="tableData"
|
|
|
|
|
style="width: 100%"
|
|
|
|
|
:height="tableHeight"
|
|
|
|
|
|
|
|
|
|
:border="false"
|
|
|
|
|
:row-class-name="tableRowClassName"
|
|
|
|
|
>
|
|
|
|
@ -335,7 +334,6 @@ export default {
|
|
|
|
|
isDialogShow: false,
|
|
|
|
|
tableInfoData: [],
|
|
|
|
|
tableHeight: 530,
|
|
|
|
|
|
|
|
|
|
};
|
|
|
|
|
},
|
|
|
|
|
components: {
|
|
|
|
@ -348,7 +346,14 @@ export default {
|
|
|
|
|
this.queryParams.plannedYear = this.$moment(new Date()).format("yyyy");
|
|
|
|
|
this.getList();
|
|
|
|
|
// 设置表格高度 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) {
|
|
|
|
|
// 原始密码修改
|
|
|
|
|
this.resetPwd();
|
|
|
|
|