|
@@ -5,12 +5,18 @@
|
|
|
v-if="stepList.length"
|
|
|
>
|
|
|
<div class="action-right-container" slot="header-actions">
|
|
|
- <span class="action-item clickable download-project-doc">
|
|
|
+ <span class="action-item clickable download-project-doc" v-if="false">
|
|
|
<AppIcon name="xiazaixiangmubaogao"></AppIcon>
|
|
|
<span class="action-text">下载项目报告</span>
|
|
|
</span>
|
|
|
<span class="action-item clickable follow-project">
|
|
|
- <ActionMonitor :id="content.id" direction="row" />
|
|
|
+ <QuickMonitor
|
|
|
+ :id="content.id"
|
|
|
+ type="project"
|
|
|
+ :cache="true"
|
|
|
+ :auto="false"
|
|
|
+ direction="row"
|
|
|
+ />
|
|
|
</span>
|
|
|
</div>
|
|
|
<div class="bg-white">
|
|
@@ -18,16 +24,22 @@
|
|
|
:markedSameId="content.id"
|
|
|
:stepList="stepList"
|
|
|
@itemClick="itemClick"
|
|
|
- ></TimeLine>
|
|
|
+ >
|
|
|
+ <template v-slot:step-footer="{ step }">
|
|
|
+ <span v-if="step.bidAmountFormatted">
|
|
|
+ {{ step.bidAmountFormatted }}中标
|
|
|
+ </span>
|
|
|
+ </template>
|
|
|
+ </TimeLine>
|
|
|
</div>
|
|
|
</ContentModuleCard>
|
|
|
</template>
|
|
|
<script>
|
|
|
import ContentModuleCard from '@/views/article/ui/ContentModuleCard.vue'
|
|
|
-import ActionMonitor from '@/views/article/components/ActionMonitor.vue'
|
|
|
+import QuickMonitor from '@/composables/quick-monitor/component/QuickMonitor.vue'
|
|
|
import { AppIcon, TimeLine } from '@/ui'
|
|
|
import { mapState, mapGetters } from 'vuex'
|
|
|
-import { replaceKeyword, openAppOrWxPage } from '@/utils'
|
|
|
+import { replaceKeyword, openAppOrWxPage, formatMoney } from '@/utils'
|
|
|
import { LINKS } from '@/data'
|
|
|
|
|
|
export default {
|
|
@@ -35,7 +47,7 @@ export default {
|
|
|
components: {
|
|
|
AppIcon,
|
|
|
TimeLine,
|
|
|
- ActionMonitor,
|
|
|
+ QuickMonitor,
|
|
|
ContentModuleCard
|
|
|
},
|
|
|
data() {
|
|
@@ -78,6 +90,7 @@ export default {
|
|
|
...p,
|
|
|
step_time: p.time,
|
|
|
tags: [p.tag],
|
|
|
+ bidAmountFormatted: p.bidAmount ? formatMoney(p.bidAmount) : '',
|
|
|
content: replaceKeyword(p.title, projectName, [
|
|
|
'<span class="highlight-text">',
|
|
|
'</span>'
|