yangys
2025-08-17 5ab29da8558f7914d12d2510649166ef550897f7
src/views/flow/components/TodolistLeft.vue
@@ -6,7 +6,8 @@
-->
<template>
    <basic-container>
        <div class="tool" v-show="['programmingTask','cureProgramTask','repalceProgrammingTask'].includes(row.taskDefinitionKey)">
        <!--'cureProgramTask', 固化编制不能添加文件-->
        <div class="tool" v-show="['programmingTask','repalceProgrammingTask'].includes(row.taskDefinitionKey)">
             <el-button type="primary" plain @click="addApp">添加文件
                </el-button>
        </div>
@@ -25,7 +26,8 @@
            </el-table-column>
            <el-table-column fixed="right" label="操作" width="100" align="center">
            <template #default="scope" >
                <a style="color: blue;margin-right: 4px;cursor: pointer;font-size: 12px;" v-show="['programmingTask','cureProgramTask','repalceProgrammingTask'].includes(row.taskDefinitionKey)" type="text" size="small" @click.stop="del(scope.$index,scope.row)">删除</a>
                <!--'cureProgramTask', 固化编制,不能删除和上传-->
                <a style="color: blue;margin-right: 4px;cursor: pointer;font-size: 12px;" v-show="['programmingTask','repalceProgrammingTask'].includes(row.taskDefinitionKey)" type="text" size="small" @click.stop="del(scope.$index,scope.row)">删除</a>
                <a style="color: blue;cursor: pointer;font-size: 12px;" type="text" size="small" @click.stop="downloadFile(scope.$index,scope.row)">下载</a>
            </template>
            </el-table-column>