Browse Source

IPR邮箱权限

zhuliu 9 months ago
parent
commit
eb9d8af567

+ 10 - 0
src/views/report/components/dialog/handlePerson.vue

@@ -164,6 +164,16 @@ export default {
               this.$message.success('移除成功')
               this.$message.success('移除成功')
               this.loading = false
               this.loading = false
               this.getList()
               this.getList()
+              this.IPREmailList={
+                queryParams:{
+                  current:0,
+                  size:10,
+                  total:1,
+                  name:null,
+                  email:null
+                },
+                data:[]
+              }
           }).catch(error => {
           }).catch(error => {
               this.loading = false
               this.loading = false
           })
           })

+ 1 - 1
src/views/report/components/index.vue

@@ -32,7 +32,7 @@
               </el-dropdown-menu>
               </el-dropdown-menu>
             </el-dropdown>
             </el-dropdown>
             <el-button type="primary" class="margin-left_10 margin-right_10" size="small" @click="showField">显示栏位管理</el-button>
             <el-button type="primary" class="margin-left_10 margin-right_10" size="small" @click="showField">显示栏位管理</el-button>
-            <el-button v-if="userinfo.roleType == 1 || userinfo.roleType == 2" type="primary" class="margin-right_10" size="small" @click="IPREmail">IPR邮箱</el-button>
+            <el-button v-if="$permission.FunPermissions('xiaoshi/IPREmail')" type="primary" class="margin-right_10" size="small" @click="IPREmail">IPR邮箱</el-button>
           </div>
           </div>
 
 
         </div>
         </div>

+ 1 - 1
src/views/report/components/view/card.vue

@@ -17,7 +17,7 @@
                 </span>
                 </span>
                 <el-dropdown-menu slot="dropdown" class="text-align_center">
                 <el-dropdown-menu slot="dropdown" class="text-align_center">
                   <el-dropdown-item command="0">分享</el-dropdown-item>
                   <el-dropdown-item command="0">分享</el-dropdown-item>
-                  <el-dropdown-item v-if="item.reportType == 7" command="matchCase">实际处理人</el-dropdown-item>
+                  <el-dropdown-item v-if="item.reportType == 7 && $permission.FunPermissions('xiaoshi/handlPerson')" command="matchCase">实际处理人</el-dropdown-item>
                   <el-dropdown-item command="1" v-if="[2,3].includes(item.status) && item.reportType != 7">导出报告</el-dropdown-item>
                   <el-dropdown-item command="1" v-if="[2,3].includes(item.status) && item.reportType != 7">导出报告</el-dropdown-item>
                   <el-dropdown-item command="2" v-if="[2,3].includes(item.status)">报告文档</el-dropdown-item>
                   <el-dropdown-item command="2" v-if="[2,3].includes(item.status)">报告文档</el-dropdown-item>
                   <el-dropdown-item command="16" v-if="[1,2].includes(item.reportType)">检索记录</el-dropdown-item>
                   <el-dropdown-item command="16" v-if="[1,2].includes(item.reportType)">检索记录</el-dropdown-item>

+ 1 - 1
src/views/report/components/view/table.vue

@@ -44,7 +44,7 @@
                 <span>编辑</span>
                 <span>编辑</span>
                 <el-dropdown-menu slot="dropdown" class="text-align_center">
                 <el-dropdown-menu slot="dropdown" class="text-align_center">
                   <el-dropdown-item command="0">分享</el-dropdown-item>
                   <el-dropdown-item command="0">分享</el-dropdown-item>
-                  <el-dropdown-item v-if="scope.row.reportType == 7" command="matchCase">实际处理人</el-dropdown-item>
+                  <el-dropdown-item v-if="scope.row.reportType == 7 && $permission.FunPermissions('xiaoshi/handlPerson')" command="matchCase">实际处理人</el-dropdown-item>
                   <el-dropdown-item command="1" v-if="[2,3].includes(scope.row.status) && scope.row.reportType != 7">导出报告</el-dropdown-item>
                   <el-dropdown-item command="1" v-if="[2,3].includes(scope.row.status) && scope.row.reportType != 7">导出报告</el-dropdown-item>
                   <el-dropdown-item command="2" v-if="[2,3].includes(scope.row.status)">报告文档</el-dropdown-item>
                   <el-dropdown-item command="2" v-if="[2,3].includes(scope.row.status)">报告文档</el-dropdown-item>
                   <el-dropdown-item command="16" v-if="[1,2].includes(scope.row.reportType)">检索记录</el-dropdown-item>
                   <el-dropdown-item command="16" v-if="[1,2].includes(scope.row.reportType)">检索记录</el-dropdown-item>