Browse Source

数据采集暂存权限添加

1 year ago
parent
commit
eb23ac04e1
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/views/GATHER/index.vue

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

@@ -556,8 +556,8 @@
         </el-form>
       </template>
       <div slot="footer" class="dialog-footer">
-        <el-button type="primary" @click="submitForm('add')">确 定</el-button>
-        <el-button @click="submitForm('draft')" type="warning">暂 存</el-button>
+        <el-button v-if="checkPermi(['gather:GATHER:add'])" type="primary" @click="submitForm('add')">确 定</el-button>
+        <el-button v-if="checkPermi(['gather:GATHER:add'])" @click="submitForm('draft')" type="warning">暂 存</el-button>
         <el-button @click="cancel">取 消</el-button>
       </div>
     </el-dialog>