微调
This commit is contained in:
@@ -24,7 +24,7 @@
|
|||||||
<el-button type='primary' v-auth.plan="'edit'" link :icon='EditPen' @click="openDialog('edit',scope.row)">编辑</el-button>
|
<el-button type='primary' v-auth.plan="'edit'" link :icon='EditPen' @click="openDialog('edit',scope.row)">编辑</el-button>
|
||||||
<el-button type='primary' v-auth.plan="'delete'" link :icon='Delete' @click='handleDelete(scope.row)'>删除</el-button>
|
<el-button type='primary' v-auth.plan="'delete'" link :icon='Delete' @click='handleDelete(scope.row)'>删除</el-button>
|
||||||
<!-- <el-button type='primary' link :icon='List' @click='showDeviceOpen(scope.row)'>设备绑定</el-button> -->
|
<!-- <el-button type='primary' link :icon='List' @click='showDeviceOpen(scope.row)'>设备绑定</el-button> -->
|
||||||
<el-button type='primary' v-auth.plan="'analysis'" link :icon='List' v-if="scope.row.testState != '2'" @click='statisticalAnalysis(scope.row)'>统计分析</el-button>
|
<el-button type='primary' v-auth.plan="'analysis'" link :icon='List' v-if="scope.row.testState == '2'" @click='statisticalAnalysis(scope.row)'>统计分析</el-button>
|
||||||
</template>
|
</template>
|
||||||
</ProTable>
|
</ProTable>
|
||||||
</div>
|
</div>
|
||||||
@@ -409,6 +409,7 @@ const statisticalAnalysisMore = async (ids: string[], rows: Plan.ReqPlan[]) => {
|
|||||||
type: 'error',
|
type: 'error',
|
||||||
message: '存在检测状态不为检测完成的计划,无法进行统计分析。',
|
message: '存在检测状态不为检测完成的计划,无法进行统计分析。',
|
||||||
});
|
});
|
||||||
|
proTable.value?.clearSelection()
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
useDownload(staticsAnalyse,'分析结果', ids, false,'.xlsx')
|
useDownload(staticsAnalyse,'分析结果', ids, false,'.xlsx')
|
||||||
|
|||||||
Reference in New Issue
Block a user