From 929087ce8c7cec3afe297fdfc55b3f76ec7939d9 Mon Sep 17 00:00:00 2001
From: Administrator <admin>
Date: Fri, 17 Dec 2021 15:57:00 +0800
Subject: [PATCH] 考试成绩新增是否制证查询,已制证的无法再批量申请,可以单个申请补证
---
src/api/accreditationRecords/accreditationRecords.js | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
diff --git a/src/api/accreditationRecords/accreditationRecords.js b/src/api/accreditationRecords/accreditationRecords.js
index ed125f6..2570db0 100644
--- a/src/api/accreditationRecords/accreditationRecords.js
+++ b/src/api/accreditationRecords/accreditationRecords.js
@@ -33,7 +33,7 @@
})
}
-export const add = (row) => {
+export const submit = (row) => {
return request({
url: '/api/accreditationRecords/submit',
method: 'post',
@@ -41,6 +41,14 @@
})
}
+export const add = (row) => {
+ return request({
+ url: '/api/accreditationRecords/save',
+ method: 'post',
+ data: row
+ })
+}
+
export const update = (row) => {
return request({
url: '/api/accreditationRecords/update',
--
Gitblit v1.9.3