mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-09 15:46:43 +08:00
导航条根据订单信息动态判断风险告知内容是否展示
This commit is contained in:
@@ -23,6 +23,7 @@
|
|||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
import { Icon, Image } from 'vant'
|
import { Icon, Image } from 'vant'
|
||||||
|
import { getOrderDetail1 } from '@/api/ebiz/sale/sale'
|
||||||
export default {
|
export default {
|
||||||
name: 'IndexBar',
|
name: 'IndexBar',
|
||||||
props: {
|
props: {
|
||||||
@@ -50,6 +51,7 @@ export default {
|
|||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
thisShow: false,
|
||||||
doneUrl: this.$assetsUrl + 'images/kmh/done.png',
|
doneUrl: this.$assetsUrl + 'images/kmh/done.png',
|
||||||
doneNurl: this.$assetsUrl + 'images/kmh/done_n.png',
|
doneNurl: this.$assetsUrl + 'images/kmh/done_n.png',
|
||||||
pageTitle: [
|
pageTitle: [
|
||||||
@@ -121,7 +123,7 @@ export default {
|
|||||||
pageItem: '风险告知',
|
pageItem: '风险告知',
|
||||||
urlStr: '/sale/universalRiskNotifyingMessage',
|
urlStr: '/sale/universalRiskNotifyingMessage',
|
||||||
tabClass: '',
|
tabClass: '',
|
||||||
show:true,
|
show:false,
|
||||||
imgCheckedUrl: this.$assetsUrl + 'images/kmh/zhxx.png',
|
imgCheckedUrl: this.$assetsUrl + 'images/kmh/zhxx.png',
|
||||||
imgNoCheckedUrl: this.$assetsUrl + 'images/kmh/zhxx_n.png'
|
imgNoCheckedUrl: this.$assetsUrl + 'images/kmh/zhxx_n.png'
|
||||||
},
|
},
|
||||||
@@ -158,6 +160,23 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
|
let that = this
|
||||||
|
let data = {
|
||||||
|
orderNo: that.$route.query.orderNo
|
||||||
|
}
|
||||||
|
getOrderDetail1(data).then(res => {
|
||||||
|
if (res.result == '0') {
|
||||||
|
if(res.orderDTO.universalRiskNotifyDTO){
|
||||||
|
if(res.orderDTO.universalRiskNotifyDTO.isUniversalRiskNotifyShowPoint == 1){
|
||||||
|
this.pageTitle.forEach(item=>{
|
||||||
|
if(item.pageNo == 7.1){
|
||||||
|
item.show = true
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
})
|
||||||
this.selectTab()
|
this.selectTab()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
|||||||
Reference in New Issue
Block a user