Browse Source

qhse文件修改

yanghao 4 days ago
parent
commit
395015223a
1 changed files with 2 additions and 4 deletions
  1. 2 4
      src/views/pms/qhse/data/index.vue

+ 2 - 4
src/views/pms/qhse/data/index.vue

@@ -164,16 +164,14 @@
                 type="primary"
                 type="primary"
                 v-if="scope.row.fileType !== 'content'"
                 v-if="scope.row.fileType !== 'content'"
                 link
                 link
-                @click="handleDownload(scope.row.filePath)"
-                v-hasPermi="['rq:qhse-info:download']">
+                @click="handleDownload(scope.row.filePath)">
                 <Icon icon="ep:download" />{{ t('file.dow') }}
                 <Icon icon="ep:download" />{{ t('file.dow') }}
               </el-button>
               </el-button>
               <el-button
               <el-button
                 type="danger"
                 type="danger"
                 v-if="scope.row.fileType !== 'content'"
                 v-if="scope.row.fileType !== 'content'"
                 link
                 link
-                @click="deleteInfo(scope.row.id)"
-                v-hasPermi="['rq:qhse-info:delete']">
+                @click="deleteInfo(scope.row.id)">
                 <Icon icon="ep:delete" />{{ t('file.delete') }}
                 <Icon icon="ep:delete" />{{ t('file.delete') }}
               </el-button>
               </el-button>
             </div>
             </div>