fix: 修改 overview 跳转dc 不显示的问题

This commit is contained in:
zhangyu
2022-09-19 10:57:58 +08:00
parent 2973f1cf71
commit 4241804787
3 changed files with 20 additions and 5 deletions

View File

@@ -576,6 +576,6 @@ textarea {
.el-icon-arrow-left{ .el-icon-arrow-left{
font-family: nz-icon!important; font-family: nz-icon!important;
} }
.el-icon-check::before{ .el-icon-arrow-left::before{
content: '\e778'; content: '\e6ae';
} }

View File

@@ -96,7 +96,12 @@ export default {
if (this.switchTab) { if (this.switchTab) {
dataListParam.switchTab = this.switchTab dataListParam.switchTab = this.switchTab
} }
const path = this.$route.fullPath.match(/\/(\S*)\?/)[1] let path = this.$route.fullPath.match(/\/(\S*)\?/)
if (!path) {
path = ''
} else {
path = path[1]
}
this.updatePath(dataListParam, path) this.updatePath(dataListParam, path)
this.$get(this.url, { ...this.searchLabel, ...this.searchCheckBox }).then(response => { this.$get(this.url, { ...this.searchLabel, ...this.searchCheckBox }).then(response => {
this.tools.loading = false this.tools.loading = false

View File

@@ -110,7 +110,12 @@ export const parentTableCommon = {
// if (this.switchTab) { // if (this.switchTab) {
// systemParam.switchTab = this.switchTab // systemParam.switchTab = this.switchTab
// } // }
const path = this.$route.fullPath.match(/\/(\S*)\?/)[1] let path = this.$route.fullPath.match(/\/(\S*)\?/)
if (!path) {
path = ''
} else {
path = path[1]
}
this.updatePath(systemParam, path) this.updatePath(systemParam, path)
this.$get(this.url, this.searchLabel).then(response => { this.$get(this.url, this.searchLabel).then(response => {
this.tools.loading = false this.tools.loading = false
@@ -128,7 +133,12 @@ export const parentTableCommon = {
} }
}, },
created () { created () {
const path = this.$route.fullPath.match(/\/(\S*)\?/)[1] let path = this.$route.fullPath.match(/\/(\S*)\?/)
if (!path) {
path = ''
} else {
path = path[1]
}
let searchKeys = {} let searchKeys = {}
if (path === 'link') { if (path === 'link') {
searchKeys = { searchKeys = {