feat: There is no way the, bug #52303
This commit is contained in:
@@ -111,6 +111,15 @@
|
|||||||
</span>
|
</span>
|
||||||
</p>
|
</p>
|
||||||
</template>
|
</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">
|
<template v-else-if="child.attrField === 'XGJH' && child.value">
|
||||||
<span
|
<span
|
||||||
@@ -1653,29 +1662,14 @@ export default {
|
|||||||
// 请求标准id和类型
|
// 请求标准id和类型
|
||||||
showReplaceStandInfo (item) {
|
showReplaceStandInfo (item) {
|
||||||
// this.replaceStandInfoEO.standType = this.sarStandardsInfoEO.standType
|
// this.replaceStandInfoEO.standType = this.sarStandardsInfoEO.standType
|
||||||
this.$http.get('sarStandardsInfo/sar-standards-info/queryInfoByStandNum', {
|
this.$http.get('/lawss/sarLawsInfo/queryInfoByStandNum', {
|
||||||
standNumber: item
|
lawsNumber: item
|
||||||
}, {
|
}, {
|
||||||
_this: this
|
_this: this
|
||||||
}, res => {
|
}, res => {
|
||||||
if (res.ok) {
|
if (res.ok && res.data) {
|
||||||
let name = ''
|
let name = 'OtherLawsStandDetails'
|
||||||
let pageType = ''
|
let pageType = 'FOREIGN_LAWS'
|
||||||
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
|
|
||||||
}
|
|
||||||
let routeUrl = this.$router.resolve({
|
let routeUrl = this.$router.resolve({
|
||||||
name: name,
|
name: name,
|
||||||
params: {
|
params: {
|
||||||
@@ -1684,8 +1678,6 @@ export default {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
window.open(routeUrl.href, '_blank')
|
window.open(routeUrl.href, '_blank')
|
||||||
} else {
|
|
||||||
this.$message.error(res.message)
|
|
||||||
}
|
}
|
||||||
}, e => {
|
}, e => {
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user