From ecebb28b60d49eeac50dfa3c9a812a0a221e55ae Mon Sep 17 00:00:00 2001
From: yl <ykxkd@outlook.com>
Date: 星期五, 13 十月 2023 16:07:49 +0800
Subject: [PATCH] 1.通用基础资料:增加模具检验项目、保养项目下拉接口 2.模具管理:点检项目、点检标准、保养项目、保养标准、导入接口
---
VueWebCoreApi/Controllers/ImportExcelController.cs | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/VueWebCoreApi/Controllers/ImportExcelController.cs b/VueWebCoreApi/Controllers/ImportExcelController.cs
index 3d67241..dd36c4c 100644
--- a/VueWebCoreApi/Controllers/ImportExcelController.cs
+++ b/VueWebCoreApi/Controllers/ImportExcelController.cs
@@ -15,7 +15,7 @@
[ApiExplorerSettings(GroupName = "Excel瀵煎叆")]
[ApiController]
[Route("api/[controller]")]
- //[ChannelActionFilter]
+ [ChannelActionFilter]
public class ImportExcelController : Controller
{
@@ -84,12 +84,12 @@
list.json2 = list.json2;
return Json(list);
}
- //list.json3 = ExcelCheckData(myModel); //鏁版嵁楠岃瘉
- //if (list.json3.code == "300")
- //{
- // list.json3 = list.json3;
- // return Json(list);
- //}
+ list.json3 = ExcelImportSubmit(dataTable, FileCode); //鏁版嵁瀵煎叆
+ if (list.json3.code == "300")
+ {
+ list.json3 = list.json3;
+ return Json(list);
+ }
return Json(list);
}
#endregion
--
Gitblit v1.9.3