Commit 6b0ae7ac authored by 赵啸非's avatar 赵啸非

Merge remote-tracking branch 'origin/master'

parents 44d8f3e9 785359ef
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
:row-class-name="tableRowClassName" :row-class-name="tableRowClassName"
:empty-text="emptytxt ? emptytxt : emptyText" :empty-text="emptytxt ? emptytxt : emptyText"
border border
:height="height" :height="tableData.length >= 10 ? '680px' : ''"
style="width: 100%" style="width: 100%"
> >
<template v-for="column in columns"> <template v-for="column in columns">
......
...@@ -255,6 +255,7 @@ export default { ...@@ -255,6 +255,7 @@ export default {
}, },
beforeRender(row) { beforeRender(row) {
this.tableData.dict = row.dict; this.tableData.dict = row.dict;
row.data.forEach((element) => { row.data.forEach((element) => {
if ( if (
element.attendanceStaffStatEntities && element.attendanceStaffStatEntities &&
...@@ -321,6 +322,9 @@ export default { ...@@ -321,6 +322,9 @@ export default {
}); });
} }
}); });
this.$nextTick(() => {
this.$refs.layoutTable.doLayout();
});
return row; return row;
}, },
/** 重写新增方法 */ /** 重写新增方法 */
...@@ -401,7 +405,7 @@ export default { ...@@ -401,7 +405,7 @@ export default {
config: { config: {
showType: "tableSelect", showType: "tableSelect",
isshowTabPane: true, isshowTabPane: true,
height: "680px", height: "",
search: [ search: [
{ {
name: "salaId", name: "salaId",
...@@ -456,15 +460,6 @@ export default { ...@@ -456,15 +460,6 @@ export default {
show: true, show: true,
}, },
//{
// label: "窗口类别",
// prop: "windowCategory",
// fixed: "left",
//width: 100,
//formatter: this.formatter,
//show: true,
//},
{ {
label: "员工姓名", label: "员工姓名",
prop: "staffName", prop: "staffName",
......
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