[update] 修改bug87723
This commit is contained in:
-14
@@ -14,10 +14,6 @@
|
|||||||
<a-button icon="plus" type="primary" @click="handleAdd" :disabled="disabled || isRejectedData">
|
<a-button icon="plus" type="primary" @click="handleAdd" :disabled="disabled || isRejectedData">
|
||||||
{{ $t('workCenter.regulatoryComplianceCheckProcess.manualAddition') }}
|
{{ $t('workCenter.regulatoryComplianceCheckProcess.manualAddition') }}
|
||||||
</a-button>
|
</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">
|
<a-button icon="download" type="primary" ghost @click="salvageListTemplateDownload($t('workCenter.regulatoryComplianceCheckProcess.salvageListTemplateName'))" :disabled="disabled || isRejectedData">
|
||||||
{{ $t('workCenter.regulatoryComplianceCheckProcess.salvageListTemplateDownload') }}
|
{{ $t('workCenter.regulatoryComplianceCheckProcess.salvageListTemplateDownload') }}
|
||||||
@@ -631,16 +627,6 @@ export default {
|
|||||||
this.$emit('processNameChange', (result.standardNumber || '') + '-' + (result.standardName || '') + '-' + '法规符合性排查')
|
this.$emit('processNameChange', (result.standardNumber || '') + '-' + (result.standardName || '') + '-' + '法规符合性排查')
|
||||||
this.$forceUpdate()
|
this.$forceUpdate()
|
||||||
},
|
},
|
||||||
// 删除
|
|
||||||
handleStandardDelete () {
|
|
||||||
this.$confirm({
|
|
||||||
title: this.$t('confirmDeletion'),
|
|
||||||
content: this.$t('areYouSure'),
|
|
||||||
onOk: () => {
|
|
||||||
this.standardDataSource = []
|
|
||||||
}
|
|
||||||
})
|
|
||||||
},
|
|
||||||
// 下载分解单上传模板
|
// 下载分解单上传模板
|
||||||
salvageListTemplateDownload (fileName, fileSuffix = '.xls') {
|
salvageListTemplateDownload (fileName, fileSuffix = '.xls') {
|
||||||
if (!fileName || typeof fileName !== 'string') {
|
if (!fileName || typeof fileName !== 'string') {
|
||||||
|
|||||||
Reference in New Issue
Block a user