| | |
| | | </el-table-column> |
| | | <el-table-column v-if="false" label="操作" width="100" align="center" fixed="right" > |
| | | <template #default="{ row }"> |
| | | <el-button link type="danger" size="small" @click="handleDeleteStage(row)">删除</el-button> |
| | | <el-button link type="danger" size="small" @click="handleDeleteStage(row)" v-hasPermi="['projectManagement:Management:remove']">删除</el-button> |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | |
| | | } |
| | | } |
| | | |
| | | function downloadAttachment(att) { |
| | | if (att?.url) { |
| | | function downloadAttachment(row) { |
| | | if (row?.url) { |
| | | try { |
| | | proxy.$download.resource(att.url) |
| | | return |
| | | } catch (e) {} |
| | | } |
| | | if (att?.name) { |
| | | try { |
| | | proxy.$download.name(att.name, false) |
| | | proxy.$download.byUrl(row.url, row.originalFilename); |
| | | return |
| | | } catch (e) {} |
| | | } |