Merge remote-tracking branch 'origin/main'
This commit is contained in:
@@ -441,7 +441,7 @@ module.exports = {
|
||||
clauseNo: '条款号',
|
||||
clauseName: '条款名称',
|
||||
selectDirectoryTerms: '请选择添加条款的目录位置',
|
||||
documentSplitTemplate: '文档拆分模板',
|
||||
documentSplitTemplate: '拆分导入模版下载',
|
||||
mergeTerms: '确定合并条款',
|
||||
pleaseUploadSplitFile: '请上传拆分文件',
|
||||
text: '文本',
|
||||
|
||||
@@ -101,7 +101,7 @@
|
||||
icon="download"
|
||||
ghost
|
||||
v-has="'split:sarFileSplitItems:template'"
|
||||
@click="downTemplate($t('standardRegulationLibrary.domesticStandard.templateName'))">
|
||||
@click="downTemplate($t('docTool.split.documentSplitTemplate'))">
|
||||
{{ $t('templateDownload') }}
|
||||
</a-button>
|
||||
<!--批量复制-->
|
||||
@@ -263,7 +263,7 @@ export default {
|
||||
exportXlsUrl: '/split/sarFileSplitItems/exportSplitInfoZip', // 导出
|
||||
delete: '/laws/DocumentTool/documentSplit/deleteDocumentSplitDetail', // 删除
|
||||
deleteBatch: '/laws/DocumentTool/documentSplit/deleteBatchDocumentSplitDetail', // 批量删除
|
||||
downTemplateUrl: '/split/sarFileSplitItems/exportTemplate' // 模板下载
|
||||
downTemplateUrl: '/laws/DocumentTool/documentSplit/downloadImportTemplate' // 模板下载
|
||||
},
|
||||
disabledMixinsCreate: true,
|
||||
tableSlotField: ['item_content', 'interpretation_articles']
|
||||
@@ -564,7 +564,14 @@ export default {
|
||||
})
|
||||
}
|
||||
})
|
||||
}
|
||||
},
|
||||
// 下载导入模板
|
||||
downTemplate (fileName) {
|
||||
if (!fileName || typeof fileName !== 'string') {
|
||||
fileName = '模板文件'
|
||||
}
|
||||
downloadFile(this.url.downTemplateUrl, fileName + '.zip')
|
||||
},
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user