GrapeoffJS / CRMServer

1 stars 1 forks source link

Вынести все вызовы API в отдельные js. файлы #2

Open ViktorNemuchin opened 2 years ago

ViktorNemuchin commented 2 years ago

https://github.com/GrapeoffJS/CRMDev/blob/2e601a5ba17f56235ca7f83cbc00b2f4f0220694/client/CRM/src/components/form-log-In/form-log-in.js#L140

Создать папку API и вынести все вызовы axios в отдельные js. файлы внутри нее

ViktorNemuchin commented 2 years ago

https://github.com/GrapeoffJS/CRMDev/blob/2e601a5ba17f56235ca7f83cbc00b2f4f0220694/client/AdminPanel/src/components/all-employees/all-employees.js#L34

ViktorNemuchin commented 2 years ago

https://github.com/GrapeoffJS/CRMDev/blob/2e601a5ba17f56235ca7f83cbc00b2f4f0220694/client/AdminPanel/src/components/app/app.js#L68

ViktorNemuchin commented 2 years ago

https://github.com/GrapeoffJS/CRMDev/blob/2e601a5ba17f56235ca7f83cbc00b2f4f0220694/client/AdminPanel/src/components/role-creation/modal-role-creation/modal-role-creation.js#L62

ViktorNemuchin commented 2 years ago

https://github.com/GrapeoffJS/CRMDev/blob/2e601a5ba17f56235ca7f83cbc00b2f4f0220694/client/AdminPanel/src/components/sales-funnel/change-funnel/change-funnel.js#L49

ViktorNemuchin commented 2 years ago

https://github.com/GrapeoffJS/CRMDev/blob/2e601a5ba17f56235ca7f83cbc00b2f4f0220694/client/AdminPanel/src/components/sales-funnel/change-funnel/change-funnel.js#L64

ViktorNemuchin commented 2 years ago

https://github.com/GrapeoffJS/CRMDev/blob/2e601a5ba17f56235ca7f83cbc00b2f4f0220694/client/AdminPanel/src/components/saubscriptions/subscriptions.js#L40

ViktorNemuchin commented 2 years ago

https://github.com/GrapeoffJS/CRMDev/blob/2e601a5ba17f56235ca7f83cbc00b2f4f0220694/client/AdminPanel/src/components/saubscriptions/addSubscriptions/addSubscriptions.js#L23

ViktorNemuchin commented 2 years ago

https://github.com/GrapeoffJS/CRMDev/blob/2e601a5ba17f56235ca7f83cbc00b2f4f0220694/client/AdminPanel/src/components/teacher/formTeacher/formTeacher.js#L26

ViktorNemuchin commented 2 years ago

https://github.com/GrapeoffJS/CRMDev/blob/2e601a5ba17f56235ca7f83cbc00b2f4f0220694/client/AdminPanel/src/components/teacher/formTeacher/formTeacher.js#L54

ViktorNemuchin commented 2 years ago

https://github.com/GrapeoffJS/CRMDev/blob/2e601a5ba17f56235ca7f83cbc00b2f4f0220694/client/CRM/src/components/form-log-In/form-log-in.js#L140

ViktorNemuchin commented 2 years ago

https://github.com/GrapeoffJS/CRMDev/blob/2e601a5ba17f56235ca7f83cbc00b2f4f0220694/client/CRM/src/components/home-page-tutor/today/lesson-now/table-pupils/write-%D1%81omment/write-comment.js#L7

ViktorNemuchin commented 2 years ago

https://github.com/GrapeoffJS/CRMDev/blob/2e601a5ba17f56235ca7f83cbc00b2f4f0220694/client/CRM/src/components/home-page-tutor/today/lesson-now/table-pupils/change-schedule/change-schedule.js#L7

ViktorNemuchin commented 2 years ago

https://github.com/GrapeoffJS/CRMDev/blob/2e601a5ba17f56235ca7f83cbc00b2f4f0220694/client/CRM/src/components/home-page/%23more-functions/add-student_group/add-Student_Group.js#L75