提交 d4e1041e authored 作者: lihuihui's avatar lihuihui

学术报告修改

上级 7d6ca75d
......@@ -54,10 +54,10 @@
<template v-for="(_item, _index) in head.commandArr">
<template v-if="scope.row['approve_status'] !== undefined">
<!-- 学术报告 - 列表 -->
<template v-if="_index === 0 && scope.row['approve_status'] === '通过' && scope.row['symposium_attachments'] !== ''">
<template v-if="_index === 0 && scope.row['approve_status'] === '通过' && scope.row['reportscount'] !== 0">
<el-button v-bind:key="_index" type="text" @click="itemClick(scope.row.index, _item)">{{_item.name}}</el-button>
</template>
<template v-else-if="_index === 1 && scope.row['approve_status'] === '通过' && scope.row['symposium_attachments'] === ''">
<template v-else-if="_index === 1 && scope.row['approve_status'] === '通过' && scope.row['reportscount'] === 0">
<el-button v-bind:key="_index" type="text" @click="itemClick(scope.row.index, _item)">{{_item.name}}</el-button>
</template>
<template v-else-if="_index === 2">
......
......@@ -6,7 +6,7 @@
</div>
<!-- <s-language></s-language> -->
<div class="notify" @click="goNotify()">{{ $t('components.learnSysLayout.navigation.tip') }}
<div class="num" v-if="this.$store.getters.myMsg">{{ this.$store.getters.myMsg }}</div>
<div class="num" v-if="this.$store.getters.myMsg !=0">{{ this.$store.getters.myMsg }}</div>
</div>
</div>
</template>
......
......@@ -2,7 +2,7 @@ import Vue from 'vue'
import Vuex from 'vuex'
Vue.use(Vuex)
const state = {
myMsg: 111
myMsg: 0
}
const getters = {
myMsg (state) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论