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