|
@@ -488,8 +488,8 @@ export default {
|
|
importScaleRecord(formData, header) {
|
|
importScaleRecord(formData, header) {
|
|
api.importScaleRecord(formData, header).then(res => {
|
|
api.importScaleRecord(formData, header).then(res => {
|
|
// console.log(res, '======================res导入结果');
|
|
// console.log(res, '======================res导入结果');
|
|
- if (res.data.code === '00000001') {
|
|
|
|
- this.$alert(`数据存在异常,导入失败,请修改后再试`, '提示', {
|
|
|
|
|
|
+ if ((res.data.code === '00020007')) {
|
|
|
|
+ this.$alert(`医院术语字符数超出最大数量,请修改后再试`, '提示', {
|
|
confirmButtonText: '确定',
|
|
confirmButtonText: '确定',
|
|
// cancelButtonText: '取消',
|
|
// cancelButtonText: '取消',
|
|
// cancelButtonClass: 'cancelSure',
|
|
// cancelButtonClass: 'cancelSure',
|