标准/译文获取申请 导入提示语

This commit is contained in:
baoyu
2024-03-28 16:47:43 +08:00
parent e231e8eed3
commit 06dbb11e41
@@ -168,11 +168,24 @@ export default {
edit (item) {
this.$refs.addModalRef.showModal(item)
},
importSuccess () {
this.$message.success('操作成功')
importSuccess (response) {
if (response.ok) {
this.$message({
message: response.message,
dangerouslyUseHTMLString: true,
type: 'success'
})
}else {
this.$message({
message: response.message,
dangerouslyUseHTMLString: true,
type: 'warning'
})
}
this.getList()
},
importError () {
this.$message.warning('操作失败')
this.$message.error('操作失败')
},
templateDownload () {
window.open('/api/lawss/standardApplyFor/exportTemplateFile?fileName=标准/译文获取申请模板.xlsx')