标准/译文获取申请 导入提示语
This commit is contained in:
+16
-3
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user