| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198 |
- export default {
- getList (CreateOn, params, myAxios) {
- return myAxios({
- url: '/suppliercert/list?CreateOn=' + CreateOn,
- method: 'GET',
- params: params
- })
- },
- getDictList (myAxios) {
- return myAxios({
- url: '/suppliercert/dictlist/',
- method: 'GET'
- })
- },
- getEntityByCreatorAndType (typeCode, myAxios) {
- return myAxios({
- url: '/suppliercert/getbycreatorandtype/' + typeCode,
- method: 'GET'
- })
- },
- getEntity (entityId, myAxios) {
- return myAxios({
- url: '/suppliercert/get/' + entityId,
- method: 'GET'
- })
- },
- addEntity (formData, myAxios) {
- return myAxios({
- url: '/suppliercert/add',
- method: 'post',
- data: formData
- })
- },
- updateEntity (entityId, formData, myAxios) {
- return myAxios({
- url: '/suppliercert/update/' + entityId,
- method: 'post',
- data: formData
- })
- },
- updateStorage (entityId, params, myAxios) {
- return myAxios({
- url: '/suppliercert/updatestorage/' + entityId,
- method: 'post',
- params: params
- })
- },
- updateIsStorage (entityId, params, myAxios) {
- return myAxios({
- url: '/suppliercert/update-is-storage/' + entityId,
- method: 'post',
- params: params
- })
- },
- deleteEntity (entityId, myAxios) {
- return myAxios({
- url: '/suppliercert/delete/' + entityId,
- method: 'delete'
- })
- },
- checkSupplierCertCanSubmit (entityId, myAxios) {
- return myAxios({
- url: '/suppliercert/check-suppliercert-submit/' + entityId,
- method: 'post'
- })
- },
- companyAuditEntity (entityId, params, myAxios) {
- return myAxios({
- url: '/suppliercert/company-audit/' + entityId,
- method: 'post',
- params: params
- })
- },
- unitAuditEntity (entityId, params, myAxios) {
- return myAxios({
- url: '/suppliercert/unit-audit/' + entityId,
- method: 'post',
- params: params
- })
- },
- // 专业审批
- auditEntityadmission (entityId, myAxios) {
- return myAxios({
- url: '/suppliercert/admission/' + entityId,
- method: 'post'
- })
- },
- // 增项审批
- auditEntityappend (entityId, myAxios) {
- return myAxios({
- url: '/suppliercert/auditappend/' + entityId,
- method: 'post'
- })
- },
- auditEntityFir (entityId, audit, params, myAxios) {
- return myAxios({
- url: '/suppliercert/auditEntityFir/' + entityId,
- method: 'post',
- data: params,
- params: audit
- })
- },
- isAccess (params, myAxios) {
- return myAxios({
- url: '/suppliercert/isaccess',
- method: 'get',
- params: params
- })
- },
- createAccessCardNo (Id, SupplierCertId, type, myAxios) {
- return myAxios({
- url: '/suppliercert/createaccesscardno/' + type + '?Id=' + Id + '&SupplierCertId=' + SupplierCertId,
- method: 'GET'
- })
- },
- UpdateInFlag (myAxios) {
- return myAxios({
- url: '/suppliercert/updateinflag/',
- method: 'GET'
- })
- },
- saveAccessCardNo (Id, SupplierCertId, AccessCardNo, type, myAxios) {
- return myAxios({
- url: '/suppliercert/saveaccesscardno/' + Id + '?AccessCardNo=' + AccessCardNo + '&SupplierCertId=' + SupplierCertId + '&typeCode=' + type,
- method: 'GET'
- })
- },
- reInput (entityId, params, myAxios) {
- return myAxios({
- url: '/suppliercert/reinput/' + entityId,
- method: 'post',
- params: params
- })
- },
- updateInFlag (entityId, params, myAxios) {
- return myAxios({
- url: '/suppliercert/updateInFlag/' + entityId,
- method: 'post',
- data: params
- })
- },
- UpdateApplyTime (entityId, params, myAxios) {
- return myAxios({
- url: '/suppliercert/updateapplytime/' + entityId,
- method: 'post',
- data: params
- })
- },
- getApplyTimeList (params, myAxios) {
- return myAxios({
- url: '/suppliercert/getapplytimelist',
- method: 'GET',
- params: params
- })
- },
- backStatus (id, params, myAxios) {
- return myAxios({
- url: '/suppliercert/backstatus/' + id,
- method: 'post',
- params: params
- })
- },
- updateIsRestrict (id, params, myAxios) {
- return myAxios({
- url: '/suppliercert/updateisrestrict/' + id,
- method: 'post',
- params: params
- })
- },
- separateAuditEntity (id, params, myAxios) {
- return myAxios({
- url: 'suppliercert/separate-audit/' + id,
- method: 'post',
- params: params
- })
- },
- updatePayStatus (id, params, myAxios) {
- return myAxios({
- url: 'suppliercert/update-pay-status/' + id,
- method: 'post',
- params: params
- })
- },
- commonAuditEntity (id, params, myAxios) {
- return myAxios({
- url: 'suppliercert/common-audit/' + id,
- method: 'post',
- params: params
- })
- },
- businessOfficeSeparateAuditEntity (id, params, myAxios) {
- return myAxios({
- url: 'suppliercert/business-separate-audit/' + id,
- method: 'post',
- params: params
- })
- }
- }
|