|
@@ -165,7 +165,7 @@
|
|
|
</van-tabs>
|
|
|
</van-tab>
|
|
|
</van-tabs>
|
|
|
- <div class='bottom'>
|
|
|
+ <div class='bottom' @click='goToUpdateRecord'>
|
|
|
<!-- <span v-if='false'>近一个月,重要维保8条,重要维修3条,其他事项5条,综合事项10条</span> -->
|
|
|
<van-notice-bar
|
|
|
v-if='showNoticeBar && noticeBarText.length>=25'
|
|
@@ -175,7 +175,6 @@
|
|
|
speed='50'
|
|
|
scrollable
|
|
|
:text='noticeBarText'
|
|
|
- @click='goToUpdateRecord'
|
|
|
/>
|
|
|
<span v-else-if='noticeBarText && noticeBarText.length<25'>{{noticeBarText}}</span>
|
|
|
<span class='text' v-else>近一个月,说明书无更新</span>
|
|
@@ -357,7 +356,9 @@ export default {
|
|
|
* 跳转说明书更新记录
|
|
|
*/
|
|
|
goToUpdateRecord() {
|
|
|
- this.$router.push({ name: 'UpdateRecord' })
|
|
|
+ if (this.showNoticeBar) {
|
|
|
+ this.$router.push({ name: 'UpdateRecord' })
|
|
|
+ }
|
|
|
},
|
|
|
},
|
|
|
}
|