123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218 |
- import request from "@/utils/httpRequest";
- import { REGISTER_PATH as prefix } from "../../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,
- });
- },
- saveInfo(inputForm) {
- return request({
- url: prefix + `/enrollmentRegistration/saveInfo`,
- method: "post",
- data: inputForm,
- });
- },
- save2(inputForm) {
- return request({
- url: prefix + `/enrollmentRegistration/save2`,
- method: "post",
- data: inputForm,
- });
- },
- updateInfo(inputForm) {
- return request({
- url: prefix + `/enrollmentRegistration/updateInfo`,
- 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 },
- });
- },
- delByUserId(id) {
- return request({
- url: prefix + "/enrollmentRegistration/delByUserId",
- method: "get",
- params: { id: id },
- });
- },
- findIdCardOnly(idCard,id) {
- return request({
- url: prefix + "/enrollmentRegistration/findIdCardOnly",
- method: "get",
- params: { idCard: idCard,id:id },
- });
- },
- findMobilePhoneOnly(mobilePhone) {
- return request({
- url: prefix + "/enrollmentRegistration/findMobilePhoneOnly",
- method: "get",
- params: { mobilePhone: mobilePhone },
- });
- },
- findByUserId(userId) {
- return request({
- url: prefix + "/enrollmentRegistration/findByUserId",
- method: "get",
- params: { userId: userId },
- });
- },
- findInfoByUserId(userId) {
- return request({
- url: prefix + "/enrollmentRegistration/findInfoByUserId",
- method: "get",
- params: { userId: userId },
- });
- },
- downloadFile() {
- return request({
- url: prefix + "/enrollmentRegistration/downloadFile",
- method: "get",
- params: {},
- responseType: "blob",
- });
- },
- downloadDepartFile(handoverId) {
- return request({
- url: prefix + "/enrollmentRegistration/downloadDepartFile",
- method: "get",
- params: { handoverId: handoverId },
- responseType: "blob",
- });
- },
- exportTemplate() {
- return request({
- url: prefix + "/enrollmentRegistration/import/template",
- method: "get",
- responseType: "blob",
- });
- },
- importExcel(data) {
- return request({
- url: prefix + "/enrollmentRegistration/import",
- method: "post",
- data: data,
- });
- },
- exportExcel: function (params) {
- return request({
- url: prefix + "/enrollmentRegistration/export",
- method: "get",
- params: params,
- responseType: "blob",
- });
- },
- };
|