[update] 修改企标中各模块跳转企标详情的问题
This commit is contained in:
@@ -353,7 +353,7 @@ export default {
|
|||||||
this.$openPageNewSheet({
|
this.$openPageNewSheet({
|
||||||
path: '/enterpriseStandardLibrary/enterpriseStandardDetail',
|
path: '/enterpriseStandardLibrary/enterpriseStandardDetail',
|
||||||
query: {
|
query: {
|
||||||
id: record.id
|
standardNumber: record.inspectNo
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -430,7 +430,7 @@ export default {
|
|||||||
this.$openPageNewSheet({
|
this.$openPageNewSheet({
|
||||||
path: '/enterpriseStandardLibrary/enterpriseStandardDetail',
|
path: '/enterpriseStandardLibrary/enterpriseStandardDetail',
|
||||||
query: {
|
query: {
|
||||||
id: record.id
|
standardNumber: record.originEnStandardNo
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
@@ -439,7 +439,7 @@ export default {
|
|||||||
this.$openPageNewSheet({
|
this.$openPageNewSheet({
|
||||||
path: '/enterpriseStandardLibrary/enterpriseStandardDetail',
|
path: '/enterpriseStandardLibrary/enterpriseStandardDetail',
|
||||||
query: {
|
query: {
|
||||||
id: record.id
|
standardNumber: record.newEnStandardNo
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -194,7 +194,7 @@ export default {
|
|||||||
this.$openPageNewSheet({
|
this.$openPageNewSheet({
|
||||||
path: '/enterpriseStandardLibrary/enterpriseStandardDetail',
|
path: '/enterpriseStandardLibrary/enterpriseStandardDetail',
|
||||||
query: {
|
query: {
|
||||||
id: record.id
|
standardNumber: record.standardNo
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -201,7 +201,7 @@ export default {
|
|||||||
this.$openPageNewSheet({
|
this.$openPageNewSheet({
|
||||||
path: '/enterpriseStandardLibrary/enterpriseStandardDetail',
|
path: '/enterpriseStandardLibrary/enterpriseStandardDetail',
|
||||||
query: {
|
query: {
|
||||||
id: record.id
|
standardNumber: record.standardNo
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -194,7 +194,7 @@ export default {
|
|||||||
this.$openPageNewSheet({
|
this.$openPageNewSheet({
|
||||||
path: '/enterpriseStandardLibrary/enterpriseStandardDetail',
|
path: '/enterpriseStandardLibrary/enterpriseStandardDetail',
|
||||||
query: {
|
query: {
|
||||||
id: record.id
|
standardNumber: record.standardNo
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -194,7 +194,11 @@ export default {
|
|||||||
},
|
},
|
||||||
initData () {
|
initData () {
|
||||||
const params = {}
|
const params = {}
|
||||||
params.id = this.$route.query.id
|
if (this.$route.query.id) {
|
||||||
|
params.id = this.$route.query.id
|
||||||
|
} else if (this.$route.query.standardNumber) {
|
||||||
|
params.standardNumber = this.$route.query.standardNumber
|
||||||
|
}
|
||||||
params.type = 1
|
params.type = 1
|
||||||
getEnterpriseStandardInfoById(params).then(res => {
|
getEnterpriseStandardInfoById(params).then(res => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
|
|||||||
Reference in New Issue
Block a user