合并
This commit is contained in:
		| @ -35,11 +35,20 @@ | ||||
|     </el-table-column> | ||||
|     <el-table-column label="负责人" align="center" prop="principal" /> | ||||
|     <el-table-column label="卷册号" align="center" prop="volumeNumber" /> | ||||
|     <el-table-column label="资料名称" align="center" prop="fileName" /> | ||||
|     <el-table-column label="资料名称" align="center" prop="fileName"> | ||||
|       <template #default="scope"> | ||||
|         <el-link type="primary" :underline="false" :href="scope.row.url" target="_blank">{{ scope.row.fileName }}</el-link> | ||||
|       </template> | ||||
|     </el-table-column> | ||||
|     <el-table-column label="备注" align="center" prop="remark" /> | ||||
|     <el-table-column label="操作" align="center" class-name="small-padding " width="240"> | ||||
|       <template #default="scope"> | ||||
|         <el-row :gutter="10" class="mb8"> | ||||
|         <el-col :span="1.5"> | ||||
|           <el-button v-hasPermi="['design:drawing:remove']" size="small" type="primary" icon="Download" @click="handleDownload(scope.row)" | ||||
|             >下载</el-button | ||||
|           > | ||||
|         </el-col> | ||||
|         <!-- <el-row :gutter="10" class="mb8"> | ||||
|           <el-col :span="1.5" v-if="scope.row.status === 'draft' || scope.row.status === 'cancel' || scope.row.status === 'back'"> | ||||
|             <el-button v-hasPermi="['design:drawing:edit']" size="small" type="primary" icon="Edit" @click="handleUpdate(scope.row)">修改</el-button> | ||||
|           </el-col> | ||||
| @ -56,7 +65,7 @@ | ||||
|           <el-col :span="1.5" v-if="scope.row.status === 'waiting'"> | ||||
|             <el-button size="small" type="primary" icon="Notification" @click="handleCancelProcessApply(scope.row.id)">撤销</el-button> | ||||
|           </el-col> | ||||
|         </el-row> | ||||
|         </el-row> --> | ||||
|       </template> | ||||
|     </el-table-column> | ||||
|   </el-table> | ||||
| @ -112,4 +121,8 @@ const handleViewInfo = (row) => { | ||||
| const handleCancelProcessApply = (id) => { | ||||
|   emits('cancel-process-apply', id); | ||||
| }; | ||||
|  | ||||
| const handleDownload = (row) => { | ||||
|   proxy?.$download.oss(row.fileUrl); | ||||
| }; | ||||
| </script> | ||||
|  | ||||
		Reference in New Issue
	
	Block a user