9527b000 by liangyifan

1

1 parent b04473a6
......@@ -102,7 +102,7 @@ export default {
} else {//切换到该页面时执行
if (window.location.hash == '#/ywbl/dbx') {
console.log('让我看看', window.location)
that.fetchData()
this.fetchData()
}
}
},
......
......@@ -111,14 +111,16 @@ export default {
bsmBusiness:this.bsmBusiness,
outstepopinion:this.outstepopinion
})
console.log(this.list,44)
sendBackTask(this.list).then(res => {
console.log(res,11)
if (res.code === 200) {
window.opener = null;
this.$message.success('退回成功')
setTimeout(() => {
window.opener = null;
window.open("about:blank", "_self");
window.close();
this.$emit('input', false)
}, 1000);
}else{
this.$message.error(res.message)
}
......
......@@ -37,12 +37,13 @@ export default {
completeTask(this.queryForm).then(res => {
console.log(res)
if (res.code === 200) {
console.log(res,555)
window.opener = null;
window.open("about:blank", "_self");
window.close();
this.$emit('input', false)
this.$message.success('转件成功')
setTimeout(() => {
window.opener = null;
window.open("about:blank", "_self");
window.close();
this.$emit('input', false)
}, 1000);
}
})
},
......