提交 c1e7b806 authored 作者: matian's avatar matian

页面还原

上级 16d74e55
......@@ -60,7 +60,7 @@ export default {
toPayDetail(row) {
this.$router.push({
name: 'paydetail',
query: {
params: {
row: row,
dealList: this.dealList
}
......
......@@ -45,7 +45,7 @@ export default {
toDeal(row) {
this.$router.push({
name: 'deal',
query: {
params: {
dealList: this.dealList,
row: row
}
......
......@@ -119,8 +119,8 @@ export default {
}
},
mounted() {
this.row = this.$route.query.row
this.dealList = this.$route.query.dealList
this.row = this.$route.params.row
this.dealList = this.$route.params.dealList
},
methods: {
handleChange(file, fileList) {
......
......@@ -47,7 +47,7 @@
</template>
<!-- 操作 -->
<template v-slot:table-x="{ row }">
<router-link target="_blank" :to="{ name: 'paymentView', query: { id: row.id } }">
<router-link target="_blank" :to="{ name: 'paymentView', params: { id: row.id } }">
<el-button>查看</el-button>
</router-link>
<el-dropdown split-button type="primary" size="small" style="margin-left: 10px; margin-right: 10px">
......
......@@ -70,8 +70,8 @@ export default {
}
},
mounted() {
this.row = this.$route.query.row
this.dealList = this.$route.query.dealList
this.row = this.$route.params.row
this.dealList = this.$route.params.dealList
}
}
</script>
......@@ -3,7 +3,7 @@
<app-card style="max-width: 100%">
<app-list v-bind="tableOptions" ref="list">
<template v-slot:table-x="{ row }">
<router-link :to="{ name: 'invoiceView', query: { id: row.id } }">
<router-link :to="{ name: 'invoiceView', params: { id: row.id } }">
<el-button type="text">查看</el-button>
</router-link>
</template>
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论