标准/译文获取申请 导入提示语
This commit is contained in:
+16
-3
@@ -168,11 +168,24 @@ export default {
|
|||||||
edit (item) {
|
edit (item) {
|
||||||
this.$refs.addModalRef.showModal(item)
|
this.$refs.addModalRef.showModal(item)
|
||||||
},
|
},
|
||||||
importSuccess () {
|
importSuccess (response) {
|
||||||
this.$message.success('操作成功')
|
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 () {
|
importError () {
|
||||||
this.$message.warning('操作失败')
|
this.$message.error('操作失败')
|
||||||
},
|
},
|
||||||
templateDownload () {
|
templateDownload () {
|
||||||
window.open('/api/lawss/standardApplyFor/exportTemplateFile?fileName=标准/译文获取申请模板.xlsx')
|
window.open('/api/lawss/standardApplyFor/exportTemplateFile?fileName=标准/译文获取申请模板.xlsx')
|
||||||
|
|||||||
Reference in New Issue
Block a user