|
|
|
@ -3245,7 +3245,7 @@ |
|
|
|
this.$refs.changeTable.setCurrentRow(this.dataList[0]) |
|
|
|
this.updateModal(this.dataList[0]) |
|
|
|
} else { |
|
|
|
this.currentRow = {} |
|
|
|
this.$refs.changeTable.setCurrentRow() |
|
|
|
} |
|
|
|
} |
|
|
|
}) |
|
|
|
@ -3712,6 +3712,16 @@ |
|
|
|
this.currentRow = JSON.parse(JSON.stringify(row)) |
|
|
|
// 刷新当前页表 |
|
|
|
this.refreshCurrentTabTable() |
|
|
|
} else { |
|
|
|
this.currentRow = {} |
|
|
|
this.detailList = [] |
|
|
|
this.fileList = [] |
|
|
|
this.currentCostImpactData = {} |
|
|
|
this.currentExecutionInfoData = {} |
|
|
|
this.currentChooseItemList = [] |
|
|
|
this.currentChooseItemList2 = [] |
|
|
|
this.currentChooseCSItemList = [] |
|
|
|
this.approvalList = [] |
|
|
|
} |
|
|
|
}, |
|
|
|
|
|
|
|
@ -3886,7 +3896,7 @@ |
|
|
|
// 设置选中行 |
|
|
|
this.$refs.changeTable.setCurrentRow(this.dataList[0]) |
|
|
|
} else { |
|
|
|
this.currentRow = {} |
|
|
|
this.$refs.changeTable.setCurrentRow() |
|
|
|
} |
|
|
|
} |
|
|
|
}) |
|
|
|
@ -5639,6 +5649,13 @@ |
|
|
|
if (data && data.code === 0){ |
|
|
|
this.dataList = data.page.list |
|
|
|
this.totalPage = data.page.totalCount |
|
|
|
// 判断是否全部存在数据 |
|
|
|
if (this.dataList.length > 0) { |
|
|
|
// 设置选中行 |
|
|
|
this.$refs.changeTable.setCurrentRow(this.dataList[0]) |
|
|
|
} else { |
|
|
|
this.$refs.changeTable.setCurrentRow() |
|
|
|
} |
|
|
|
}else { |
|
|
|
this.$message.warning(data.msg) |
|
|
|
} |
|
|
|
|