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

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

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