From 47a0f58d4334939b08a55b9356f94de23c8b1367 Mon Sep 17 00:00:00 2001
From: Administrator <admin>
Date: Wed, 15 Jun 2022 14:56:26 +0800
Subject: [PATCH] 新增保安员导入

---
 src/api/performance/performance.js |   14 ++++++++++++--
 1 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/src/api/performance/performance.js b/src/api/performance/performance.js
index 1082fb3..2171a58 100644
--- a/src/api/performance/performance.js
+++ b/src/api/performance/performance.js
@@ -1,6 +1,16 @@
 import request from '@/router/axios';
 
-export const page = (current, size, params) => {
+export const getER = (securityNumber) => {
+    return request({
+        url: '/api/qrCode/getQrCodeBase64',
+        method: 'get',
+        params: {
+            securityNumber
+        }
+    })
+}
+
+export const getpage = (current, size, params) => {
     return request({
         url: '/api/performance/page',
         method: 'get',
@@ -33,7 +43,7 @@
 
 export const add = (row) => {
     return request({
-        url: '/api/performance/submit',
+        url: '/api/performance/save',
         method: 'post',
         data: row
     })

--
Gitblit v1.9.3