|
@@ -716,7 +716,7 @@ export default {
|
|
|
this.chooseDate = this.$set(this.form,'chooseDate',[""+response.data.validityBefore+"",""+response.data.validityAfter+""]);
|
|
|
}
|
|
|
this.open = true;
|
|
|
- this.title = this.$t('修改') + " " + this.$t('环保批文清单');
|
|
|
+ this.title = this.$t('修改') + this.$t('环保批文清单');
|
|
|
});
|
|
|
},
|
|
|
/** 主要内容操作 */
|
|
@@ -792,9 +792,9 @@ export default {
|
|
|
this.upload.isUploading = false;
|
|
|
this.$refs.upload.clearFiles();
|
|
|
if (response.data[0] != null) {
|
|
|
- this.$alert("成功导入" + response.msg + "条数据,第" + response.data + "行数据出现错误导入失败。", "导入结果", { dangerouslyUseHTMLString: true });
|
|
|
+ this.$alert(this.$t('成功导入') + response.msg + this.$t('条数据') + "," + this.$t('第') + response.data + this.$t('行数据出现错误导入失败')+"。", this.$t('导入结果'), { dangerouslyUseHTMLString: true });
|
|
|
}else {
|
|
|
- this.$alert("成功导入" + response.msg + "条数据", "导入结果", { dangerouslyUseHTMLString: true });
|
|
|
+ this.$alert(this.$t('成功导入') + response.msg + this.$t('条数据'), this.$t('导入结果'), { dangerouslyUseHTMLString: true });
|
|
|
}
|
|
|
this.getList();
|
|
|
},
|
|
@@ -827,7 +827,7 @@ export default {
|
|
|
//附件上传成功处理
|
|
|
handleFileDocSuccess(response, file, fileList) {
|
|
|
this.doc.isUploading = false;
|
|
|
- this.$alert(response.msg, "导入结果", { dangerouslyUseHTMLString: true });
|
|
|
+ this.$alert(response.msg, this.$t('导入结果'), { dangerouslyUseHTMLString: true });
|
|
|
this.getFileList()
|
|
|
},
|
|
|
/** 删除按钮操作 */
|