| | |
| | | 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', |
| | |
| | | } |
| | | }) |
| | | } |
| | | // 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 |
| | | }) |