123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146 |
- import request from "../../../common/request"
- import { REGISTER_PATH as prefix } from "@/api/AppPath";
- export default {
- list: function (params) {
- return request({
- url: prefix + '/enrollmentRegistration/list',
- method: 'get',
- params: params
- })
- },
- save (inputForm) {
- return request({
- url: prefix + `/enrollmentRegistration/save`,
- method: 'post',
- data: inputForm
- })
- },
- saveWageCard (inputForm) {
- return request({
- url: prefix + `/enrollmentRegistration/saveWageCard`,
- method: 'post',
- data: inputForm
- })
- },
- saveSocialCard (inputForm) {
- return request({
- url: prefix + `/enrollmentRegistration/saveSocialCard`,
- method: 'post',
- data: inputForm
- })
- },
- saveKeyCard (inputForm) {
- return request({
- url: prefix + `/enrollmentRegistration/saveKeyCard`,
- method: 'post',
- data: inputForm
- })
- },
- saveRiceCard (inputForm) {
- return request({
- url: prefix + `/enrollmentRegistration/saveRiceCard`,
- method: 'post',
- data: inputForm
- })
- },
- findById (id) {
- return request({
- url: prefix + '/enrollmentRegistration/findById',
- method: 'get',
- params: {id: id}
- })
- },
- findWageCardById (id) {
- return request({
- url: prefix + '/enrollmentRegistration/findWageCardById',
- method: 'get',
- params: {id: id}
- })
- },
- findSocialCardById (id) {
- return request({
- url: prefix + '/enrollmentRegistration/findSocialCardById',
- method: 'get',
- params: {id: id}
- })
- },
- findKeyCardById (id) {
- return request({
- url: prefix + '/enrollmentRegistration/findKeyCardById',
- method: 'get',
- params: {id: id}
- })
- },
- findRiceCardById (id) {
- return request({
- url: prefix + '/enrollmentRegistration/findRiceCardById',
- method: 'get',
- params: {id: id}
- })
- },
- updateStatusById (param) {
- return request({
- url: prefix + '/enrollmentRegistration/updateStatusById',
- method: 'post',
- data: param
- })
- },
- updateWageCardStatusById (param) {
- return request({
- url: prefix + '/enrollmentRegistration/updateWageCardStatusById',
- method: 'post',
- data: param
- })
- },
- updateSocialCardStatusById (param) {
- return request({
- url: prefix + '/enrollmentRegistration/updateSocialCardStatusById',
- method: 'post',
- data: param
- })
- },
- updateKeyCardStatusById (param) {
- return request({
- url: prefix + '/enrollmentRegistration/updateKeyCardStatusById',
- method: 'post',
- data: param
- })
- },
- updateRiceCardStatusById (param) {
- return request({
- url: prefix + '/enrollmentRegistration/updateRiceCardStatusById',
- method: 'post',
- data: param
- })
- },
- remove (id) {
- return request({
- url: prefix + '/enrollmentRegistration/remove',
- method: 'get',
- params: {id: id}
- })
- },
- findIdCardOnly (idCard) {
- return request({
- url: prefix + '/enrollmentRegistration/findIdCardOnly',
- method: 'get',
- params: {idCard: idCard}
- })
- },
- findMobilePhoneOnly (mobilePhone) {
- return request({
- url: prefix + '/enrollmentRegistration/findMobilePhoneOnly',
- method: 'get',
- params: {mobilePhone: mobilePhone}
- })
- },
- downloadFile () {
- return request({
- url: prefix + '/enrollmentRegistration/downloadFile',
- method: 'get',
- params: {},
- responseType: 'blob'
- })
- }
- }
|