|
@@ -1056,7 +1056,12 @@ export default {
|
|
|
var objData = { launchTestInfo: tt, user: userData }
|
|
|
launchTestUpdate(objData).then(res => {
|
|
|
res.code === 200 ? this.$message({ message: res.msg, type: 'success', offset: 150 }) : this.$message({ message: res.msg, type: 'error', offset: 150 })
|
|
|
- this.get_List()
|
|
|
+ var url = window.location.href // 获取url中"?"符后的字
|
|
|
+ this.taskId = url.split('?id=')
|
|
|
+ launchTest({ taskId: this.taskId[1], curIndex: this.curIndex, pageSize: this.pageSize }).then(res => {
|
|
|
+ this.launchTestInfoDOS = res.data.list
|
|
|
+ this.total = res.data.total
|
|
|
+ })
|
|
|
})
|
|
|
},
|
|
|
handleSizeChange(size) { // 分页
|