Browse Source

优化

master
陈裕财 4 years ago
parent
commit
84fee8de7f
  1. 3
      src/views/xm/core/xmTask/XmTaskList.vue
  2. 5
      src/views/xm/core/xmTask/XmTaskMng.vue

3
src/views/xm/core/xmTask/XmTaskList.vue

@ -351,6 +351,9 @@
if (this.filters.tags && this.filters.tags.length>0) { if (this.filters.tags && this.filters.tags.length>0) {
params.tagIdList = this.filters.tags.map(i=>i.tagId); params.tagIdList = this.filters.tags.map(i=>i.tagId);
} }
if(this.queryScope==='plan'){
params.ntype='1'
}
return params; return params;
}, },
loadXmTaskLazy(tree, treeNode, resolve) { loadXmTaskLazy(tree, treeNode, resolve) {

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

@ -395,6 +395,7 @@
:tree-props="{ children: 'children', hasChildren: 'childrenCnt' }" :tree-props="{ children: 'children', hasChildren: 'childrenCnt' }"
row-key="id" row-key="id"
ref="table" ref="table"
row-style="height:60px;"
> >
<el-table-column <el-table-column
label="全选" label="全选"
@ -501,7 +502,7 @@
<el-table-column sortable prop="projectId" label="项目" width="100" show-overflow-tooltip> <el-table-column sortable prop="projectId" label="项目" width="100" show-overflow-tooltip>
</el-table-column> </el-table-column>
<el-table-column sortable prop="tagNames" label="标签" width="100">
<el-table-column sortable prop="tagNames" label="标签" width="100" show-overflow-tooltip>
<template slot-scope="scope"> <template slot-scope="scope">
<div class="cell-text"> <div class="cell-text">
{{scope.row.tagNames}} {{scope.row.tagNames}}
@ -948,7 +949,7 @@
></xm-menu-rich-detail> ></xm-menu-rich-detail>
</el-drawer> </el-drawer>
<el-drawer title="选中上级" :visible.sync="selectParentTaskVisible" size="60%" append-to-body :close-on-click-modal="false"> <el-drawer title="选中上级" :visible.sync="selectParentTaskVisible" size="60%" append-to-body :close-on-click-modal="false">
<xm-task-list check-scope="plan" :sel-project="filters.selProject" @task-selected="onSelectedParentTask"></xm-task-list>
<xm-task-list check-scope="plan" queryScope="plan" :sel-project="filters.selProject" @task-selected="onSelectedParentTask"></xm-task-list>
</el-drawer> </el-drawer>
</section> </section>
</template> </template>

Loading…
Cancel
Save