jiangping
2024-05-07 529d0b8982cf30f57ba7e366c0f822c1d82c0b69
company/src/views/index.vue
@@ -1,4 +1,4 @@
<template>
  <template>
  <div class="home">
    <div class="home_inlet">
      <div class="home_inlet_label">快捷入口</div>
@@ -22,7 +22,7 @@
        <div class="home_content_left_item" ref="picture3"></div>
      </div>
      <div class="home_content_right">
        <div class="home_content_right_label" v-if="tabs && tabs.length>0" >代办事项</div>
        <div class="home_content_right_label" v-if="tabs && tabs.length>0" >待办事项</div>
        <el-tabs v-model="activeName" @tab-click="handleClick" >
          <el-tab-pane v-for="a in tabs" :key="a.path" :name="a.name" >
             <span slot="label" title="点击刷新"> {{a.label }}
@@ -330,11 +330,11 @@
      var pemissons = this.userInfo.permissions
      if (pemissons.includes('business:notice:insurance')) {
        this.tabs.push({ name: '0', label: '投保代办' })
        this.tabs.push({ name: '0', label: '投保待办' })
        // this.handleCurrentChange0(0);
      }
      if (pemissons.includes('business:notice:tax') && this.userInfo.type !== 1) {
        this.tabs.push({ name: '1', label: '发票代办' })
        this.tabs.push({ name: '1', label: '发票待办' })
        // this.handleCurrentChange1(0);
      }
      if (pemissons.includes('business:notice:settle')) {