feat: There is no way the, bug #52303

This commit is contained in:
super_liu
2022-04-05 09:22:27 +08:00
parent 29ae4fb72d
commit 4e5f204e3c
@@ -111,6 +111,15 @@
</span>
</p>
</template>
<template v-else-if="child.attrField === 'DTWJHLAWS'|| child.attrField === 'BDTWJHLAWS'">
<p class="modular-content-p-val" v-if="child.value">
<span v-for="(item, index) in child.value.split(',')" :key="index">
<a @click="showReplaceStandInfo(item)" style="cursor: pointer;color: #0c91e5;margin-right: 5px;"
class="span-line" :title="item">{{ item }}</a>
</span>
</p>
<span class="modular-content-p-val" v-else>-</span>
</template>
<!--相关计划-->
<template v-else-if="child.attrField === 'XGJH' && child.value">
<span
@@ -1653,29 +1662,14 @@ export default {
// 请求标准id和类型
showReplaceStandInfo (item) {
// this.replaceStandInfoEO.standType = this.sarStandardsInfoEO.standType
this.$http.get('sarStandardsInfo/sar-standards-info/queryInfoByStandNum', {
standNumber: item
this.$http.get('/lawss/sarLawsInfo/queryInfoByStandNum', {
lawsNumber: item
}, {
_this: this
}, res => {
if (res.ok) {
let name = ''
let pageType = ''
const standType = res.data.standType || 'BUSINESS'
switch (standType) {
case 'INLAND':
name = 'OtherStandardDetails'
pageType = 'INLAND_STAND'
break
case 'FOREIGN':
name = 'OtherStandardDetails'
pageType = 'FOREIGN_STAND'
break
case 'BUSINESS':
name = 'OtherBussStandardDetails'
pageType = 'BUSINESS_STAND'
break
}
if (res.ok && res.data) {
let name = 'OtherLawsStandDetails'
let pageType = 'FOREIGN_LAWS'
let routeUrl = this.$router.resolve({
name: name,
params: {
@@ -1684,8 +1678,6 @@ export default {
}
})
window.open(routeUrl.href, '_blank')
} else {
this.$message.error(res.message)
}
}, e => {
})