|
@@ -8,7 +8,7 @@
|
|
|
<span class="ml-5">项目总投资额<span
|
|
<span class="ml-5">项目总投资额<span
|
|
|
class="main-color bold">{{ Number.parseFloat(num).toLocaleString() }}</span>万元</span>
|
|
class="main-color bold">{{ Number.parseFloat(num).toLocaleString() }}</span>万元</span>
|
|
|
</div>
|
|
</div>
|
|
|
- <div class="flex ml-20 hide-scrollbar" style="overflow-x: scroll;width: 86vw" v-if='stage.length > 0'>
|
|
|
|
|
|
|
+ <div class="flex ml-20 hide-scrollbar" style="overflow-x: scroll;width: 86vw" v-if='stage && stage.length > 0'>
|
|
|
<div v-for="(item,index) in stage" :key='item.id' :class="active === index ? 'total-s' : 'total'"
|
|
<div v-for="(item,index) in stage" :key='item.id' :class="active === index ? 'total-s' : 'total'"
|
|
|
class="flex flex-col flex-center mt-20 bold font-16 pointer"
|
|
class="flex flex-col flex-center mt-20 bold font-16 pointer"
|
|
|
@click="switchTab(item,index)">
|
|
@click="switchTab(item,index)">
|
|
@@ -251,9 +251,6 @@ export default {
|
|
|
},
|
|
},
|
|
|
methods: {
|
|
methods: {
|
|
|
switchTab (item, index) {
|
|
switchTab (item, index) {
|
|
|
- if (item === null) {
|
|
|
|
|
- return
|
|
|
|
|
- }
|
|
|
|
|
this.active = index
|
|
this.active = index
|
|
|
this.onLoad({ stageId: item.id === -1 ? '' : item.id })
|
|
this.onLoad({ stageId: item.id === -1 ? '' : item.id })
|
|
|
},
|
|
},
|