Browse Source

修改数据采集录入按钮没加权限标识问题

sakura 1 year ago
parent
commit
c8dbbc68d8
1 changed files with 4 additions and 4 deletions
  1. 4 4
      src/views/GATHER/index.vue

+ 4 - 4
src/views/GATHER/index.vue

@@ -124,7 +124,7 @@
             @click="handleDownload(scope.row)"
             >下载导入模板</el-button
           > -->
-          <el-button style="margin: 0 2px" v-if="scope.row.collStatus == 0" size="mini" type="text" @click="handleUpdate(scope.row)">录入</el-button>
+          <el-button style="margin: 0 2px" v-if="scope.row.collStatus == 0" size="mini" type="text" v-has-permi="['gather:GATHER:add']"  @click="handleUpdate(scope.row)">录入</el-button>
           <template v-if="scope.row.reportStatus == 0 && scope.row.collStatus == 1">
             <el-popconfirm title="确定上报吗?" @confirm="handleReport(scope.row)">
               <el-button style="margin: 0 2px" size="mini" slot="reference" type="text"  v-hasPermi="['gather:GATHER:report']">上报</el-button>
@@ -403,7 +403,7 @@ export default {
           ]
         };
       }
-      
+
       // if (name == '期末单位面积企业从业人员' || name == '活跃企业数' || name == '期末企业从业人员') {
       //   return {
       //     collCalue: [
@@ -430,7 +430,7 @@ export default {
           ]
         };
           break;
-      
+
         default:
         return {
           collCalue: [
@@ -492,7 +492,7 @@ export default {
           this.openUpload = false;
         });
       }
-      
+
     },
     //下载模板
     handleDownload() {