提交 8b556656 authored 作者: 王鹏飞's avatar 王鹏飞

merge hall.vue

...@@ -89,6 +89,7 @@ export default { ...@@ -89,6 +89,7 @@ export default {
}, },
'objFn.paramsFn': { 'objFn.paramsFn': {
handler () { handler () {
console.log(11111)
this.getList() this.getList()
} }
} }
......
...@@ -136,7 +136,7 @@ export default { ...@@ -136,7 +136,7 @@ export default {
this.dialogVisible = true this.dialogVisible = true
}, },
gobackActiveList () { gobackActiveList () {
this.$router.push({ path: '/app/affairs-hall/hall' }) this.$router.push({ path: '/app/affairs-hall/hall', query: { index: 2 } })
}, },
onApplyFrom () { onApplyFrom () {
this.$refs.setApplyForm.validate((valid) => { this.$refs.setApplyForm.validate((valid) => {
......
...@@ -158,7 +158,7 @@ export default { ...@@ -158,7 +158,7 @@ export default {
}).catch(e => { this.filesArr.pop(); this.$message.error(e.message) }).finally(() => { loading.close() }) }).catch(e => { this.filesArr.pop(); this.$message.error(e.message) }).finally(() => { loading.close() })
}, },
gobackActiveList () { gobackActiveList () {
this.$router.push({ path: '/app/affairs-hall/hall' }) this.$router.push({ path: '/app/affairs-hall/hall', query: { index: 0 } })
}, },
onApplyFrom () { onApplyFrom () {
this.$refs.setApplyForm.validate((valid) => { this.$refs.setApplyForm.validate((valid) => {
......
...@@ -150,7 +150,7 @@ export default { ...@@ -150,7 +150,7 @@ export default {
}).catch(e => { this.filesArr.pop(); this.$message.error(e.message) }).finally(() => { loading.close() }) }).catch(e => { this.filesArr.pop(); this.$message.error(e.message) }).finally(() => { loading.close() })
}, },
gobackActiveList () { gobackActiveList () {
this.$router.push({ path: '/app/affairs-hall/hall', query: { id: this.$route.query.id } }) this.$router.push({ path: '/app/affairs-hall/hall', query: { index: 1 } })
}, },
onApplyFrom () { onApplyFrom () {
this.$refs.setApplyForm.validate((valid) => { this.$refs.setApplyForm.validate((valid) => {
...@@ -188,7 +188,7 @@ export default { ...@@ -188,7 +188,7 @@ export default {
if (data.success) { if (data.success) {
this.$message({ type: 'success', message: '提交成功' }) this.$message({ type: 'success', message: '提交成功' })
setTimeout(() => { setTimeout(() => {
this.$router.push({ path: '/app/affairs-hall/hall' }) this.$router.push({ path: '/app/affairs-hall/hall', query: { index: 1 } })
}, 500) }, 500)
} }
}).catch(e => { this.filesArr.pop(); this.$message.error(e.message) }).finally(() => { loading.close() }) }).catch(e => { this.filesArr.pop(); this.$message.error(e.message) }).finally(() => { loading.close() })
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论