|
@@ -12,9 +12,9 @@
|
|
|
<div class="continue" v-show="!buyed">全文共{{detailData.docPageSize}}页,<span @click="continued">继续阅读<van-icon name="arrow-down" size="18" /></span></div>
|
|
|
</div>
|
|
|
<div class="botts" v-show="buyed">
|
|
|
- <div class="cont-page">
|
|
|
- 优化招投标市场营商环境与国企采购人主体责任、采购与招标培训资料摘要摘要。优化招投标市场营商环境与国企采购人主体责任、采购与招标培训资料摘要摘要。优化招投标市场营商环境与国企采购人主体责任、采购与招标培训资料摘要摘要。优化招投标市场营商环境与国企采购人主体责任、采购与招标培训资料摘要摘要。优化招投标市场营商环境与国企采购人主体责任、采购与招标培训资料摘要摘要。优化招投标市场营商环境与国企采购人主体责任、采购与招标培训资料摘要摘要。
|
|
|
- </div>
|
|
|
+ <!-- <div class="cont-page"> -->
|
|
|
+ <iframe :src="conts.data" width="920" height="900"></iframe>
|
|
|
+ <!-- </div> -->
|
|
|
</div>
|
|
|
<van-goods-action>
|
|
|
<van-goods-action-icon class="no-icon">
|
|
@@ -53,6 +53,7 @@ import Purchase from '@/components/RechargeHave.vue'
|
|
|
methods: {
|
|
|
...mapActions({
|
|
|
getDetails: 'main/getDetails',
|
|
|
+ getShow: 'main/getShow',
|
|
|
getCoin: 'main/getCoin',
|
|
|
getAdd: 'main/getAdd',
|
|
|
getRemove: 'main/getRemove'
|
|
@@ -62,27 +63,36 @@ import Purchase from '@/components/RechargeHave.vue'
|
|
|
export default class extends Vue {
|
|
|
getDetails: any
|
|
|
getCoin: any
|
|
|
+ getShow: any
|
|
|
+ docIds: string = ''
|
|
|
coins: any = []
|
|
|
+ conts: any = []
|
|
|
getAdd: any
|
|
|
getRemove: any
|
|
|
detailData: any = []
|
|
|
collectd = 0
|
|
|
buyed = 0
|
|
|
created () {
|
|
|
+ this.docIds = this.$route.params.id
|
|
|
+ // this.docIds = '19d53d64-8890-11eb-8699-0050568f51e7'
|
|
|
this.onList()
|
|
|
}
|
|
|
|
|
|
onList () {
|
|
|
- this.getDetails({ docId: '111' }).then((res: any) => {
|
|
|
+ this.getDetails({ docId: this.docIds }).then((res: any) => {
|
|
|
console.log(res.data)
|
|
|
this.detailData = res.data.detail
|
|
|
this.buyed = res.data.status
|
|
|
this.collectd = res.data.docCang
|
|
|
})
|
|
|
- this.getCoin({ L: true }).then((res: any) => {
|
|
|
+ this.getCoin({ B: true }).then((res: any) => {
|
|
|
console.log(res.data.data)
|
|
|
this.coins = res.data.data.points
|
|
|
})
|
|
|
+ this.getShow({ docId: this.docIds }).then((res: any) => {
|
|
|
+ console.log(res.data)
|
|
|
+ this.conts = res.data
|
|
|
+ })
|
|
|
}
|
|
|
|
|
|
jubaod () {
|
|
@@ -94,7 +104,7 @@ export default class extends Vue {
|
|
|
|
|
|
canged () {
|
|
|
if (this.collectd === 0) {
|
|
|
- this.getAdd({ docId: '111' }).then((res: any) => {
|
|
|
+ this.getAdd({ docId: this.docIds }).then((res: any) => {
|
|
|
console.log(res)
|
|
|
if (res.error_code === 0) {
|
|
|
this.collectd = 1
|
|
@@ -102,7 +112,7 @@ export default class extends Vue {
|
|
|
}
|
|
|
})
|
|
|
} else {
|
|
|
- this.getRemove({ docId: '111' }).then((res: any) => {
|
|
|
+ this.getRemove({ docId: this.docIds }).then((res: any) => {
|
|
|
console.log(res)
|
|
|
if (res.error_code === 0) {
|
|
|
this.collectd = 0
|