Browse Source

敏捷看板03

master
lxc Mac 5 years ago
parent
commit
7c71b9d79a
  1. 5
      src/views/xm/core/xmTask/XmTaskAgileKanban.vue
  2. 5
      src/views/xm/core/xmTask/XmTaskMng.vue

5
src/views/xm/core/xmTask/XmTaskAgileKanban.vue

@ -259,10 +259,9 @@ export default {
</script>
<style lang='scss' scoped>
.menu-box {
height: auto;
height: 100%;
width: 100%;
overflow: scroll;
padding: 0 20px;
overflow: hidden;
}
.row {
width: 2000px;

5
src/views/xm/core/xmTask/XmTaskMng.vue

@ -226,7 +226,7 @@
</template>
</el-table-column>
</el-table>
<el-pagination layout="total, sizes, prev, pager, next" @current-change="handleCurrentChange" @size-change="handleSizeChange" :page-sizes="[10,20, 50, 100, 500]" :current-page="pageInfo.pageNum" :page-size="pageInfo.pageSize" :total="pageInfo.total" style="float:right;"></el-pagination>
<el-pagination ref="pagination" layout="total, sizes, prev, pager, next" @current-change="handleCurrentChange" @size-change="handleSizeChange" :page-sizes="[10,20, 50, 100, 500]" :current-page="pageInfo.pageNum" :page-size="pageInfo.pageSize" :total="pageInfo.total" style="float:right;"></el-pagination>
</template>
<xm-gantt v-if="gstcVisible" :tree-data="tasksTreeData" :project-phase="{startTime: currentProjectPhase.beginDate, endTime: currentProjectPhase.endDate}" :useRealTime="true"></xm-gantt>
@ -1750,9 +1750,10 @@ XmTaskAgileKanban
this.$nextTick(()=>{
this.getXmTasks();
var pagination = this.$refs.pagination.$el.offsetHeight;
var clientRect=this.$refs.table.$el.getBoundingClientRect();
var subHeight=70/1000 * window.innerHeight;
this.tableHeight = window.innerHeight -clientRect.y - this.$refs.table.$el.offsetTop-subHeight;
this.tableHeight = window.innerHeight -clientRect.y - this.$refs.table.$el.offsetTop-subHeight - pagination;
//
/**
let self = this;

Loading…
Cancel
Save