|
|
@@ -6,65 +6,6 @@ export default {
|
|
|
params: params
|
|
|
})
|
|
|
},
|
|
|
- getCertList (CreateOn, params, myAxios) {
|
|
|
- return myAxios({
|
|
|
- url: '/supplier/certlist?CreateOn=' + CreateOn,
|
|
|
- method: 'GET',
|
|
|
- params: params
|
|
|
- })
|
|
|
- },
|
|
|
- getJZPSCertList (CreateOn, params, myAxios) {
|
|
|
- return myAxios({
|
|
|
- url: '/supplier/jzps_certlist?CreateOn=' + CreateOn,
|
|
|
- method: 'GET',
|
|
|
- params: params
|
|
|
- })
|
|
|
- },
|
|
|
- getStoreList (CreateOn, params, myAxios) {
|
|
|
- return myAxios({
|
|
|
- url: '/supplier/storelist?CreateOn=' + CreateOn,
|
|
|
- method: 'GET',
|
|
|
- params: params
|
|
|
- })
|
|
|
- },
|
|
|
- getMyTasks (CreateOn, params, myAxios) {
|
|
|
- return myAxios({
|
|
|
- url: '/supplier/mytasks?CreateOn=' + CreateOn,
|
|
|
- method: 'GET',
|
|
|
- params: params
|
|
|
- })
|
|
|
- },
|
|
|
- getDictList (myAxios) {
|
|
|
- return myAxios({
|
|
|
- url: '/supplier/dictlist/',
|
|
|
- method: 'GET'
|
|
|
- })
|
|
|
- },
|
|
|
- getDictListByStatus (params, myAxios) {
|
|
|
- return myAxios({
|
|
|
- url: '/supplier/dictlistbystatus/',
|
|
|
- method: 'GET',
|
|
|
- params: params
|
|
|
- })
|
|
|
- },
|
|
|
- getEntity (entityId, myAxios) {
|
|
|
- return myAxios({
|
|
|
- url: '/supplier/get/' + entityId,
|
|
|
- method: 'GET'
|
|
|
- })
|
|
|
- },
|
|
|
- getEntityAndCert (certId, myAxios) {
|
|
|
- return myAxios({
|
|
|
- url: '/supplier/getandcert/' + certId,
|
|
|
- method: 'GET'
|
|
|
- })
|
|
|
- },
|
|
|
- getEntityByName (name, typeCode, myAxios) {
|
|
|
- return myAxios({
|
|
|
- url: '/supplier/getbyname?typecode=' + typeCode + '&name=' + name,
|
|
|
- method: 'GET'
|
|
|
- })
|
|
|
- },
|
|
|
addEntity (formData, myAxios) {
|
|
|
return myAxios({
|
|
|
url: '/oilcatalog/add',
|
|
|
@@ -79,86 +20,17 @@ export default {
|
|
|
data: formData
|
|
|
})
|
|
|
},
|
|
|
- updateNumberEntity (entityId, formData, myAxios) {
|
|
|
- return myAxios({
|
|
|
- url: '/supplier/updatenumber/' + entityId,
|
|
|
- method: 'post',
|
|
|
- data: formData
|
|
|
- })
|
|
|
- },
|
|
|
deleteEntity (entityId, myAxios) {
|
|
|
return myAxios({
|
|
|
url: '/oilcatalog/delete/' + entityId,
|
|
|
method: 'delete'
|
|
|
})
|
|
|
},
|
|
|
- deleteAllEntity (entityId, supplierTypeCode, myAxios) {
|
|
|
- return myAxios({
|
|
|
- url: '/supplier/deleteall/' + entityId + '/' + supplierTypeCode,
|
|
|
- method: 'delete'
|
|
|
- })
|
|
|
- },
|
|
|
- isCanApply (typeCode, myAxios) {
|
|
|
- return myAxios({
|
|
|
- url: '/supplier/iscanapply/' + typeCode,
|
|
|
- method: 'get'
|
|
|
- })
|
|
|
- },
|
|
|
- isCanUpdateSupplier (supplierid, myAxios) {
|
|
|
+ exportExcelAll (params, myAxios) {
|
|
|
return myAxios({
|
|
|
- url: '/supplier/iscanupdatesupplier/' + supplierid,
|
|
|
- method: 'get'
|
|
|
- })
|
|
|
- },
|
|
|
- getAuditerByDept (deptId, auditstepcode, myAxios) {
|
|
|
- return myAxios({
|
|
|
- url: '/supplier/getauditerbydept/' + deptId + '?auditstepcode=' + auditstepcode,
|
|
|
- method: 'GET'
|
|
|
- })
|
|
|
- },
|
|
|
- getFirAuditerByDept (deptId, auditstepcode, myAxios) {
|
|
|
- return myAxios({
|
|
|
- url: '/supplier/getfirauditerbydept/' + deptId + '?auditstepcode=' + auditstepcode,
|
|
|
- method: 'GET'
|
|
|
- })
|
|
|
- },
|
|
|
- getAuditerByFirst (firstId, auditstepcode, myAxios) {
|
|
|
- return myAxios({
|
|
|
- url: '/supplier/getauditerbyfirst/' + firstId + '?auditstepcode=' + auditstepcode,
|
|
|
- method: 'GET'
|
|
|
- })
|
|
|
- },
|
|
|
- getAuditerByDeptAndNoLogin (params, myAxios) {
|
|
|
- return myAxios({
|
|
|
- url: '/supplier/getauditerbydeptandnologin',
|
|
|
- method: 'GET',
|
|
|
- params: params
|
|
|
- })
|
|
|
- },
|
|
|
- getTodoList (params, myAxios) {
|
|
|
- return myAxios({
|
|
|
- url: '/todolist/gettodolist/',
|
|
|
- method: 'GET',
|
|
|
+ url: '/oilcatalog/exportexcelall',
|
|
|
+ method: 'get',
|
|
|
params: params
|
|
|
})
|
|
|
- },
|
|
|
- getMyTaskFinished (params, myAxios) {
|
|
|
- return myAxios({
|
|
|
- url: '/todolist/getmytaskfinishedlist/',
|
|
|
- method: 'GET',
|
|
|
- params: params
|
|
|
- })
|
|
|
- },
|
|
|
- getJurisdiction (myAxios) {
|
|
|
- return myAxios({
|
|
|
- url: '/supplier/getjurisdiction',
|
|
|
- method: 'GET'
|
|
|
- })
|
|
|
- },
|
|
|
- getEntityByCommercialNo (commercialNo, myAxios) {
|
|
|
- return myAxios({
|
|
|
- url: '/supplier/getentitybycommercialno/' + commercialNo,
|
|
|
- method: 'GET'
|
|
|
- })
|
|
|
}
|
|
|
}
|