|
@@ -130,7 +130,7 @@
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
routerFn(id, tables) {
|
|
routerFn(id, tables) {
|
|
- // if (this.queryData.viewType == 'crud') {
|
|
|
|
|
|
+ if (this.queryData.viewType == 'crud') {
|
|
this.$router.push({
|
|
this.$router.push({
|
|
path: '/business/table',
|
|
path: '/business/table',
|
|
query: {
|
|
query: {
|
|
@@ -138,23 +138,23 @@
|
|
tables,
|
|
tables,
|
|
},
|
|
},
|
|
})
|
|
})
|
|
- // } else if (this.queryData.viewType == 'headTab') {
|
|
|
|
- // this.$router.push({
|
|
|
|
- // path: '/business/editing',
|
|
|
|
- // query: {
|
|
|
|
- // id,
|
|
|
|
- // tables,
|
|
|
|
- // },
|
|
|
|
- // })
|
|
|
|
- // } else if (this.queryData.viewType == 'itemTab') {
|
|
|
|
- // this.$router.push({
|
|
|
|
- // path: '/business/form',
|
|
|
|
- // query: {
|
|
|
|
- // id,
|
|
|
|
- // tables,
|
|
|
|
- // },
|
|
|
|
- // })
|
|
|
|
- // }
|
|
|
|
|
|
+ } else if (this.queryData.viewType == 'headTab') {
|
|
|
|
+ this.$router.push({
|
|
|
|
+ path: '/business/editing',
|
|
|
|
+ query: {
|
|
|
|
+ id,
|
|
|
|
+ tables,
|
|
|
|
+ },
|
|
|
|
+ })
|
|
|
|
+ } else if (this.queryData.viewType == 'itemTab') {
|
|
|
|
+ this.$router.push({
|
|
|
|
+ path: '/business/form',
|
|
|
|
+ query: {
|
|
|
|
+ id,
|
|
|
|
+ tables,
|
|
|
|
+ },
|
|
|
|
+ })
|
|
|
|
+ }
|
|
},
|
|
},
|
|
headerBtn(item) {
|
|
headerBtn(item) {
|
|
switch (item) {
|
|
switch (item) {
|