diff --git a/ruoyi-ui/src/views/ccdiProject/components/ProjectTable.vue b/ruoyi-ui/src/views/ccdiProject/components/ProjectTable.vue index 022c2154..1a2c5f9a 100644 --- a/ruoyi-ui/src/views/ccdiProject/components/ProjectTable.vue +++ b/ruoyi-ui/src/views/ccdiProject/components/ProjectTable.vue @@ -120,6 +120,8 @@ size="mini" type="text" icon="el-icon-refresh" + :loading="reAnalyzeLoadingMap[String(scope.row.projectId)]" + :disabled="reAnalyzeLoadingMap[String(scope.row.projectId)]" @click="handleReAnalyze(scope.row)" > 重新分析 @@ -185,6 +187,10 @@ export default { pageSize: 10, }), }, + reAnalyzeLoadingMap: { + type: Object, + default: () => ({}), + }, }, methods: { getStatusColor(status) { diff --git a/ruoyi-ui/src/views/ccdiProject/index.vue b/ruoyi-ui/src/views/ccdiProject/index.vue index 5b9173c7..2b23ffd8 100644 --- a/ruoyi-ui/src/views/ccdiProject/index.vue +++ b/ruoyi-ui/src/views/ccdiProject/index.vue @@ -19,6 +19,7 @@ :data-list="projectList" :total="total" :page-params="queryParams" + :re-analyze-loading-map="reAnalyzeLoadingMap" @pagination="handlePagination" @enter="handleEnter" @view-result="handleViewResult" @@ -61,7 +62,7 @@