海外标准,手动查找,超链接打不开

This commit is contained in:
zhangjun
2022-09-29 20:43:24 +08:00
parent 77c511a59d
commit fb31d5b20c
2 changed files with 46 additions and 16 deletions
@@ -335,14 +335,27 @@ export default {
},
// 点击查看
handlePreview (item) {
let routeUrl = this.$router.resolve({
name: 'OtherBussStandardDetails',
params: {
id: item.id,
pageType: 'BUSINESS_STAND'
}
})
window.open(routeUrl.href, '_blank')
console.log(item)
if (item.standType !== 'FOREIGN') {
let routeUrl = this.$router.resolve({
name: 'OtherBussStandardDetails',
params: {
id: item.id,
pageType: 'BUSINESS_STAND'
}
})
window.open(routeUrl.href, '_blank')
}else {
let routeUrl = this.$router.resolve({
name: 'OtherStandardDetails',
params: {
id: item.id,
pageType: 'FOREIGN_STAND'
}
})
window.open(routeUrl.href, '_blank')
}
},
getResetLawsNumRow() {
this.replacePage = 1
@@ -981,9 +981,13 @@
let resultdata = data.list[0]['groupdata']
for (let i = 0; i < seniortype.length; i++) {
let nowdata = [{}]
if (typeof this.searchOptions[seniortype[i]] !== 'undefined') {
nowdata = this.searchOptions[seniortype[i]].options
}
if (typeof this.searchOptions['NYLXCLASS'] !== 'undefined' && seniortype[i] === 'NYLX') {
nowdata = this.searchOptions['NYLXCLASS'].options
}
let renameType
if (seniortype[i] === 'selectIndex') {
for (let j = 0; j < nowdata.length; j++) {
@@ -1001,19 +1005,32 @@
renameType = seniortype[i]
}
let resultsubdata = resultdata[renameType] || {}
console.log(resultsubdata)
console.log('sssss',resultsubdata)
let countAll = 0
if (nowdata) {
console.log(nowdata)
for (let ji = 0; ji < nowdata.length; ji++) {
if (resultsubdata[nowdata[ji].value] === undefined) {
nowdata[ji].number = 0
} else {
nowdata[ji].number = resultsubdata[nowdata[ji].value]
countAll += Number(resultsubdata[nowdata[ji].value])
if (renameType === 'NYLX'){
for (let ji = 0; ji < nowdata.length; ji++) {
if (resultsubdata[nowdata[ji].label] === undefined) {
nowdata[ji].number = 0
} else {
nowdata[ji].number = resultsubdata[nowdata[ji].label]
countAll += Number(resultsubdata[nowdata[ji].label])
}
console.log('alllllllllllllllllllllllll' + countAll)
}
}else {
for (let ji = 0; ji < nowdata.length; ji++) {
if (resultsubdata[nowdata[ji].label] === undefined) {
nowdata[ji].number = 0
} else {
nowdata[ji].number = resultsubdata[nowdata[ji].value]
countAll += Number(resultsubdata[nowdata[ji].value])
}
}
}
nowdata[0].number = countAll
console.log('aaaaa',nowdata)
}
}
}