fix(测试跟踪): 计划根据定时任务筛选报错问题
--bug=1033852 --user=宋昌昌 【测试跟踪】测试计划列表-按定时任务筛选-模块树一直加载中 https://www.tapd.cn/55049933/s/1447214
This commit is contained in:
parent
7eb215321d
commit
1b6ee975ab
|
@ -7,6 +7,7 @@
|
|||
from test_plan
|
||||
left join test_plan_node tpn on test_plan.node_id = tpn.id
|
||||
left join project on tpn.project_id = project.id
|
||||
left join schedule ON schedule.resource_id = test_plan.id
|
||||
<include refid="queryWhereCondition"/>
|
||||
group by tpn.id
|
||||
</select>
|
||||
|
|
|
@ -417,7 +417,7 @@
|
|||
</template>
|
||||
</ms-table>
|
||||
<ms-table-pagination
|
||||
:change="initTableData"
|
||||
:change="pageSearch"
|
||||
:current-page.sync="currentPage"
|
||||
:page-size.sync="pageSize"
|
||||
:total="total"
|
||||
|
@ -760,6 +760,9 @@ export default {
|
|||
this.currentPage = 1;
|
||||
this.initTableData();
|
||||
},
|
||||
pageSearch() {
|
||||
this.initTableData(this.currentSelectNodes);
|
||||
},
|
||||
initTableData(nodeIds) {
|
||||
this.cardLoading = true;
|
||||
this.condition.nodeIds = [];
|
||||
|
|
|
@ -120,7 +120,7 @@
|
|||
|
||||
</ms-table>
|
||||
|
||||
<ms-table-pagination :change="initTableData" :current-page.sync="page.currentPage" :page-size.sync="page.pageSize"
|
||||
<ms-table-pagination :change="pageSearch" :current-page.sync="page.currentPage" :page-size.sync="page.pageSize"
|
||||
:total="page.total"/>
|
||||
<ms-delete-confirm :title="$t('test_track.review.delete')" @delete="_handleDelete" ref="deleteConfirm"/>
|
||||
|
||||
|
@ -399,6 +399,9 @@ export default {
|
|||
this.page.currentPage = 1;
|
||||
this.initTableData(this.currentSelectNodes);
|
||||
},
|
||||
pageSearch() {
|
||||
this.initTableData(this.currentSelectNodes);
|
||||
},
|
||||
saveFollow(row) {
|
||||
let param = {};
|
||||
param.id = row.id;
|
||||
|
|
Loading…
Reference in New Issue