|
@@ -12,9 +12,9 @@
|
|
|
<!-- </el-popover>-->
|
|
|
<!-- </el-badge>-->
|
|
|
<el-badge :value="this.listByusers" class="item" :max="99">
|
|
|
- <router-link to="task/task">
|
|
|
- <i class="el-icon-bell" style="color: white"></i>
|
|
|
- </router-link>
|
|
|
+ <!-- <router-link to="task/task"> -->
|
|
|
+ <i class="el-icon-bell" style="color: white" @click="goTask"></i>
|
|
|
+ <!-- </router-link> -->
|
|
|
</el-badge>
|
|
|
</div>
|
|
|
</template>
|
|
@@ -49,6 +49,11 @@ export default {
|
|
|
mounted() {
|
|
|
},
|
|
|
methods: {
|
|
|
+ goTask(){
|
|
|
+ if(this.$route.path != '/task/task'){
|
|
|
+ this.$router.push({path:'task/task'})
|
|
|
+ }
|
|
|
+ },
|
|
|
/** 查询待办信息 */
|
|
|
getNotice() {
|
|
|
this.loading = true;
|