| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374 |
- 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
- })
- },
- deleteEntity (entityId, myAxios) {
- return myAxios({
- url: '/suppliercert/delete/' + entityId,
- method: 'delete'
- })
- },
- auditEntity (entityId, FirstAudit, myAxios) {
- return myAxios({
- url: '/suppliercert/audit/' + entityId + '?firstAudit=' + FirstAudit,
- method: 'post'
- })
- },
- // 专业审批
- auditEntityadmission (entityId, myAxios) {
- return myAxios({
- url: '/suppliercert/admission/' + entityId,
- method: 'post'
- })
- },
- // 增项审批
- auditEntityappend (entityId, myAxios) {
- return myAxios({
- url: '/suppliercert/auditappend/' + entityId,
- method: 'post'
- })
- },
- auditEntityFir (entityId, status, params, myAxios) {
- return myAxios({
- url: '/suppliercert/auditEntityFir/' + entityId + '?status=' + status,
- method: 'post',
- data: params
- })
- }
- }
|