add getTaskList request param
This commit is contained in:
parent
5d4a053a95
commit
8b68509a99
|
@ -520,7 +520,7 @@ export default {
|
|||
showTask(fileName, fileVersion) {
|
||||
this.currentFileName = fileName
|
||||
this.currentFileVersion = fileVersion
|
||||
getTaskList({ fileName }).then((res) => {
|
||||
getTaskList({ fileName, fileVersion }).then((res) => {
|
||||
this.$message.success('升级任务查询成功')
|
||||
this.taskList = res.data.map((task) => {
|
||||
const statusList = ['失败', '成功', '进行中', '未开始']
|
||||
|
@ -565,7 +565,7 @@ export default {
|
|||
.catch((err) => {})
|
||||
},
|
||||
refresh(needMsg = true) {
|
||||
getTaskList({ fileName: this.currentFileName }).then((res) => {
|
||||
getTaskList({ fileName: this.currentFileName, fileVersion: this.currentFileVersion }).then((res) => {
|
||||
if (needMsg) {
|
||||
this.$message.success('刷新成功')
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue