Commit f2275486 authored by 姬鋆屾's avatar 姬鋆屾

pref:添加绩效工作人员考核统计维度及添加员工关怀,组织管理

parent ae828ffb
......@@ -122,6 +122,9 @@ export default {
},
},
mounted() {},
updated() {
this.$refs["selectTable"].doLayout();
},
watch: {
tableData(val) {
val.length == 0 || val.length > 0
......
......@@ -78,9 +78,7 @@ export default {
? this.$router.push("/check/window/workman/perform/detail/list?page=1")
: "";
},
changeTime() {
console.log(123);
},
changeTime() {},
},
data() {
return {
......@@ -148,11 +146,13 @@ export default {
{
label: "登记年月",
formatter: (row) => {
return `${row.year ? row.year : "--"}-${
row.month
? [1, 2, 3, 4, 5, 6, 7, 8, 9].includes(row.month)
? "0" + row.month
: row.month
return `${
row.timeType == 0
? row.year + "-" + row.month
: row.timeType == 1
? row.year + "年-第" + row.season + "季度"
: row.timeType == 2
? row.year
: "--"
}`;
},
......@@ -247,11 +247,13 @@ export default {
{
label: "登记年月",
formatter: (row) => {
return `${row.year ? row.year : "--"}-${
row.month
? [1, 2, 3, 4, 5, 6, 7, 8, 9].includes(row.month)
? "0" + row.month
: row.month
return `${
row.timeType == 0
? row.year + "-" + row.month
: row.timeType == 1
? row.year + "年-第" + row.season + "季度"
: row.timeType == 2
? row.year
: "--"
}`;
},
......@@ -345,4 +347,16 @@ export default {
color: #fff !important;
line-height: 3px;
}
/deep/.el-table {
width: 100%;
/deep/.el-table__header-wrapper table,
/deep/.el-table__body-wrapper table {
width: 100% !important;
}
/deep/.el-table__body,
/deep/.el-table__footer,
/deep/.el-table__header {
table-layout: auto;
}
}
</style>
<template>
<div class="page">
<LayoutTable :data="tableData" notAdd notDel :config="tableConfig">
<LayoutTable
:data="tableData"
notAdd
notDel
ref="table"
:config="tableConfig"
>
<el-button
slot="table-head-left2"
style="margin-left: 10px"
......@@ -1010,4 +1016,16 @@ export default {
color: #999;
font-size: 14px;
}
/deep/.el-table {
width: 100%;
/deep/.el-table__header-wrapper table,
/deep/.el-table__body-wrapper table {
width: 100% !important;
}
/deep/.el-table__body,
/deep/.el-table__footer,
/deep/.el-table__header {
table-layout: auto;
}
}
</style>
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