[update] 修改bug87723

This commit is contained in:
lideqin
2024-07-31 09:33:28 +08:00
parent 32e7a9956e
commit eb8001d32a
@@ -14,10 +14,6 @@
<a-button icon="plus" type="primary" @click="handleAdd" :disabled="disabled || isRejectedData">
{{ $t('workCenter.regulatoryComplianceCheckProcess.manualAddition') }}
</a-button>
<!-- 删除 -->
<a-button icon="delete" type="danger" ghost @click="handleStandardDelete" :disabled="disabled || isRejectedData">
{{ $t('delete') }}
</a-button>
<!-- 分解单模板下载 -->
<a-button icon="download" type="primary" ghost @click="salvageListTemplateDownload($t('workCenter.regulatoryComplianceCheckProcess.salvageListTemplateName'))" :disabled="disabled || isRejectedData">
{{ $t('workCenter.regulatoryComplianceCheckProcess.salvageListTemplateDownload') }}
@@ -631,16 +627,6 @@ export default {
this.$emit('processNameChange', (result.standardNumber || '') + '-' + (result.standardName || '') + '-' + '法规符合性排查')
this.$forceUpdate()
},
// 删除
handleStandardDelete () {
this.$confirm({
title: this.$t('confirmDeletion'),
content: this.$t('areYouSure'),
onOk: () => {
this.standardDataSource = []
}
})
},
// 下载分解单上传模板
salvageListTemplateDownload (fileName, fileSuffix = '.xls') {
if (!fileName || typeof fileName !== 'string') {