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