手机端-企标详情
This commit is contained in:
@@ -3,12 +3,15 @@
|
|||||||
<div class="other-standard-details v-class" :style="'height:' + (screenHeight) + 'px'">
|
<div class="other-standard-details v-class" :style="'height:' + (screenHeight) + 'px'">
|
||||||
<!--title 标题-->
|
<!--title 标题-->
|
||||||
<div class="details-header">
|
<div class="details-header">
|
||||||
<span v-if="sarStandardsInfoEO.standYear === null">{{ sarStandardsInfoEO.standSortShow || '' }} {{
|
<span v-if="$route.query.pageType === 'BUSS'">{{sarStandardsInfoEO.standCode}} 《{{sarStandardsInfoEO.standName ? sarStandardsInfoEO.standName : sarStandardsInfoEO.standEnName}}》 企标详情</span>
|
||||||
|
<template v-if="$route.query.pageType !== 'BUSS'">
|
||||||
|
<span v-if="sarStandardsInfoEO.standYear === null">{{ sarStandardsInfoEO.standSortShow || '' }} {{
|
||||||
sarStandardsInfoEO.standNumber
|
sarStandardsInfoEO.standNumber
|
||||||
}} 《{{ sarStandardsInfoEO.standName ? sarStandardsInfoEO.standName : sarStandardsInfoEO.standEnName }}》</span>
|
}} 《{{ sarStandardsInfoEO.standName ? sarStandardsInfoEO.standName : sarStandardsInfoEO.standEnName }}》</span>
|
||||||
<span v-else>{{ sarStandardsInfoEO.standSortShow || '' }} {{
|
<span v-else>{{ sarStandardsInfoEO.standSortShow || '' }} {{
|
||||||
sarStandardsInfoEO.standNumber
|
sarStandardsInfoEO.standNumber
|
||||||
}}-{{ sarStandardsInfoEO.standYear }} 《{{ sarStandardsInfoEO.standName ? sarStandardsInfoEO.standName : sarStandardsInfoEO.standEnName }}》</span>
|
}}-{{ sarStandardsInfoEO.standYear }} 《{{ sarStandardsInfoEO.standName ? sarStandardsInfoEO.standName : sarStandardsInfoEO.standEnName }}》</span>
|
||||||
|
</template>
|
||||||
</div>
|
</div>
|
||||||
<!--主体内容-->
|
<!--主体内容-->
|
||||||
<div class="details-content" style="position: relative">
|
<div class="details-content" style="position: relative">
|
||||||
@@ -36,6 +39,18 @@
|
|||||||
style="border-top:none; border-bottom: none;">
|
style="border-top:none; border-bottom: none;">
|
||||||
<div class="basic-information-content">
|
<div class="basic-information-content">
|
||||||
<!-- <p><label style=" margin-right: 150px;">标准类别</label><span>{{ sarStandardsInfoEO.standSort || '-' }}</span></p>-->
|
<!-- <p><label style=" margin-right: 150px;">标准类别</label><span>{{ sarStandardsInfoEO.standSort || '-' }}</span></p>-->
|
||||||
|
<template v-if="$route.query.pageType === 'BUSS'">
|
||||||
|
<el-row :gutter="5" class="">
|
||||||
|
<el-col :span="8">
|
||||||
|
<label>企标号</label>
|
||||||
|
</el-col>
|
||||||
|
<el-col :span="16">
|
||||||
|
<span>{{ sarStandardsInfoEO.standCode || '-' }}</span>
|
||||||
|
</el-col>
|
||||||
|
</el-row>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<template v-if="$route.query.pageType !== 'BUSS'">
|
||||||
<el-row :gutter="5" class="">
|
<el-row :gutter="5" class="">
|
||||||
<el-col :span="8">
|
<el-col :span="8">
|
||||||
<label>标准号</label>
|
<label>标准号</label>
|
||||||
@@ -47,6 +62,8 @@
|
|||||||
<span v-else>{{ sarStandardsInfoEO.standSort + ' ' + sarStandardsInfoEO.standNumber }}</span>
|
<span v-else>{{ sarStandardsInfoEO.standSort + ' ' + sarStandardsInfoEO.standNumber }}</span>
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
|
</template>
|
||||||
|
|
||||||
<!-- <p><label style=" margin-right: 150px;">标准年份</label><span>{{ sarStandardsInfoEO.standYear || '-' }}</span></p>-->
|
<!-- <p><label style=" margin-right: 150px;">标准年份</label><span>{{ sarStandardsInfoEO.standYear || '-' }}</span></p>-->
|
||||||
<el-row :gutter="5" class="">
|
<el-row :gutter="5" class="">
|
||||||
<el-col :span="8">
|
<el-col :span="8">
|
||||||
@@ -217,6 +234,7 @@
|
|||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
</template>
|
</template>
|
||||||
|
<template v-if="$route.query.pageType !== 'BUSS'">
|
||||||
<el-row :gutter="5" class="half">
|
<el-row :gutter="5" class="half">
|
||||||
<el-col :span="8">
|
<el-col :span="8">
|
||||||
<label title="“计划修订”、“修订中”均为现行有效版本;“已修订”标准的有效性根据实际实施情况判定。">文本状态</label>
|
<label title="“计划修订”、“修订中”均为现行有效版本;“已修订”标准的有效性根据实际实施情况判定。">文本状态</label>
|
||||||
@@ -225,6 +243,19 @@
|
|||||||
<span>{{ textStatusMap[sarStandardsInfoEO.textStatus] || '-' }}</span>
|
<span>{{ textStatusMap[sarStandardsInfoEO.textStatus] || '-' }}</span>
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<template v-if="$route.query.pageType === 'BUSS'">
|
||||||
|
<el-row :gutter="5" class="half">
|
||||||
|
<el-col :span="8">
|
||||||
|
<label title="“计划修订”、“修订中”均为现行有效版本;“已修订”标准的有效性根据实际实施情况判定。">文本状态</label>
|
||||||
|
</el-col>
|
||||||
|
<el-col :span="16">
|
||||||
|
<span>{{ sarStandardsInfoEO.textStatusBussShow || '-' }}</span>
|
||||||
|
</el-col>
|
||||||
|
</el-row>
|
||||||
|
</template>
|
||||||
|
|
||||||
<el-row :gutter="5" class="half">
|
<el-row :gutter="5" class="half">
|
||||||
<el-col :span="8">
|
<el-col :span="8">
|
||||||
<label>发布日期</label>
|
<label>发布日期</label>
|
||||||
@@ -233,6 +264,19 @@
|
|||||||
<span>{{ sarStandardsInfoEO.issueTime || '-' }}</span>
|
<span>{{ sarStandardsInfoEO.issueTime || '-' }}</span>
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
|
|
||||||
|
<template v-if="$route.query.pageType === 'BUSS'">
|
||||||
|
<el-row :gutter="5" class="half">
|
||||||
|
<el-col :span="8">
|
||||||
|
<label>企标实施日期</label>
|
||||||
|
</el-col>
|
||||||
|
<el-col :span="16">
|
||||||
|
<span>{{ sarStandardsInfoEO.putTime || '-' }}</span>
|
||||||
|
</el-col>
|
||||||
|
</el-row>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<template v-if="$route.query.pageType !== 'BUSS'">
|
||||||
<el-row :gutter="5" class="half">
|
<el-row :gutter="5" class="half">
|
||||||
<el-col :span="8">
|
<el-col :span="8">
|
||||||
<label>标准体系</label>
|
<label>标准体系</label>
|
||||||
@@ -253,6 +297,7 @@
|
|||||||
</span>
|
</span>
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
|
</template>
|
||||||
<template v-for="(child, childIndex) in item.child2">
|
<template v-for="(child, childIndex) in item.child2">
|
||||||
<el-row :gutter="5" class="half">
|
<el-row :gutter="5" class="half">
|
||||||
<el-col :span="8">
|
<el-col :span="8">
|
||||||
@@ -2665,7 +2710,11 @@
|
|||||||
},
|
},
|
||||||
selectStandMessage() {
|
selectStandMessage() {
|
||||||
return new Promise((resolve, reject) => {
|
return new Promise((resolve, reject) => {
|
||||||
this.$http.get('sarStandardsInfo/sar-standards-info/getStandInfoById', {id: this.sarStandardsInfoEO.id}, {
|
let url = 'sarStandardsInfo/sar-standards-info/getStandInfoById'
|
||||||
|
if (this.$route.query.pageType === 'BUSS') {
|
||||||
|
url = 'lawss/sarBussionessStand/getStandInfoById'
|
||||||
|
}
|
||||||
|
this.$http.get(url, {id: this.sarStandardsInfoEO.id}, {
|
||||||
_this: this
|
_this: this
|
||||||
}, res => {
|
}, res => {
|
||||||
this.sarStandardsInfoEO = res.data || {}
|
this.sarStandardsInfoEO = res.data || {}
|
||||||
@@ -3153,7 +3202,8 @@
|
|||||||
queryDisplayLocation() {
|
queryDisplayLocation() {
|
||||||
return new Promise((resolve, reject) => {
|
return new Promise((resolve, reject) => {
|
||||||
this.$http.get('lawssBase/utArea/getAreaList', {
|
this.$http.get('lawssBase/utArea/getAreaList', {
|
||||||
sarType: 'INLAND_STAND'
|
// sarType: 'INLAND_STAND'
|
||||||
|
sarType: this.$route.query.pageType
|
||||||
}, {
|
}, {
|
||||||
_this: this
|
_this: this
|
||||||
}, res => {
|
}, res => {
|
||||||
|
|||||||
@@ -137,13 +137,32 @@ export default {
|
|||||||
},
|
},
|
||||||
methods:{
|
methods:{
|
||||||
jumpDetails(item){
|
jumpDetails(item){
|
||||||
this.$router.push({
|
if (this.titleType === 'INLAND') {
|
||||||
name: 'domesticDetails',
|
this.$router.push({
|
||||||
query: {
|
name: 'domesticDetails',
|
||||||
id: item.id,
|
query: {
|
||||||
pageType: 'INLAND_STAND'
|
id: item.id,
|
||||||
}
|
pageType: 'INLAND_STAND'
|
||||||
})
|
}
|
||||||
|
})
|
||||||
|
} else if (this.titleType === 'FOREIGN') {
|
||||||
|
this.$router.push({
|
||||||
|
name: 'domesticDetails',
|
||||||
|
query: {
|
||||||
|
id: item.id,
|
||||||
|
pageType: 'FOREIGN_STAND'
|
||||||
|
}
|
||||||
|
})
|
||||||
|
} else if (this.titleType === 'bussstand') {
|
||||||
|
this.$router.push({
|
||||||
|
name: 'domesticDetails',
|
||||||
|
query: {
|
||||||
|
id: item.id,
|
||||||
|
pageType: 'BUSS'
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
},
|
},
|
||||||
scrool(){
|
scrool(){
|
||||||
this.scrolled = this.$refs.cardBox.scrollTop
|
this.scrolled = this.$refs.cardBox.scrollTop
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user