diff --git a/src/views/modules/project/projectInfo/com_project_info_part.vue b/src/views/modules/project/projectInfo/com_project_info_part.vue index 05b408b..5b65348 100644 --- a/src/views/modules/project/projectInfo/com_project_info_part.vue +++ b/src/views/modules/project/projectInfo/com_project_info_part.vue @@ -900,23 +900,30 @@ -
+
+ 错误 +
+
- {{ message }} + class="message-item" + :key="index"> + {{ message.split(':')[0] }}: + + {{ message.split(':')[1] }}
- 确 定 - + 关闭 + @@ -3633,6 +3640,11 @@ import {downLoadFile, queryFileId, readPartFromFile} from "../../../../api/part/ if (data && data.code === 0) { if (data.rows.list.length > 0) { if(typeof data.rows.list[0] ==='string'){ + // this.$confirm('文件中有数据错误,请查看错误信息', '错误', { + // confirmButtonText: '确定', + // cancelButtonText: '取消', + // type: 'warning', + // }) this.messages = data.rows.list this.uploadMessageDialogVisible = true } else { @@ -3658,7 +3670,50 @@ import {downLoadFile, queryFileId, readPartFromFile} from "../../../../api/part/