From 8e2a42e4a2da78f9cda9fa3e7732a0ef72f0c906 Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Fri, 12 Nov 2021 09:29:02 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.105:10010/r/zhba_enterprises

---
 src/api/performance/performance.js |   41 ++++++++++++++++++++++++++++++-----------
 1 files changed, 30 insertions(+), 11 deletions(-)

diff --git a/src/api/performance/performance.js b/src/api/performance/performance.js
index accb99b..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',
@@ -11,20 +21,29 @@
         }
     })
 }
+// export const getPerformanceInfo = (securityid) => {
+//     return request({
+//         url: '/api/performance/page',
+//         method: 'get',
+//         params: {
+//             securityid
+//         }
+//     })
+// }
 
-export const getPerformanceInfo = (id) => {
-    return request({
-        url: '/api/performance/detail',
-        method: 'get',
-        params: {
-            id
-        }
-    })
-}
+// export const getPerformanceInfo = (securityid) => {
+//     return request({
+//         url: '/api/performance/detail',
+//         method: 'get',
+//         params: {
+//             securityid
+//         }
+//     })
+// }
 
 export const add = (row) => {
     return request({
-        url: '/api/performance/submit',
+        url: '/api/performance/save',
         method: 'post',
         data: row
     })

--
Gitblit v1.9.3