|
@@ -86,7 +86,7 @@ export default {
|
86
|
86
|
// commit,
|
87
|
87
|
// }, id) {
|
88
|
88
|
// axios
|
89
|
|
- // .get(`http://192.168.6.188:5000/api/user/${id}`)
|
|
89
|
+ // .get(`/api/user/${id}`)
|
90
|
90
|
// .then(result => commit('setIndividual', result.data))
|
91
|
91
|
// .catch(console.error);
|
92
|
92
|
// },
|
|
@@ -94,7 +94,7 @@ export default {
|
94
|
94
|
// commit,
|
95
|
95
|
// }, id) {
|
96
|
96
|
// axios
|
97
|
|
- // .get(`http://192.168.6.188:5000/api/agency/${id}`)
|
|
97
|
+ // .get(`/api/agency/${id}`)
|
98
|
98
|
// .then(result => commit('setAgency', result.data))
|
99
|
99
|
// .catch(console.error);
|
100
|
100
|
// },
|
|
@@ -103,7 +103,7 @@ export default {
|
103
|
103
|
commit,
|
104
|
104
|
}, item) {
|
105
|
105
|
axios
|
106
|
|
- .post('http://192.168.6.188:5000/api/register/register', item)
|
|
106
|
+ .post('/api/register/register', item)
|
107
|
107
|
.then(result => commit('addIndividual', result.data))
|
108
|
108
|
.catch(console.error);
|
109
|
109
|
},
|
|
@@ -111,7 +111,7 @@ export default {
|
111
|
111
|
commit,
|
112
|
112
|
}, item) {
|
113
|
113
|
axios
|
114
|
|
- .post('http://192.168.6.188:5000/api/register/registeragency', item)
|
|
114
|
+ .post('/api/register/registeragency', item)
|
115
|
115
|
.then(result => commit('addAgency', result.data))
|
116
|
116
|
.catch(console.error);
|
117
|
117
|
},
|
|
@@ -119,7 +119,7 @@ export default {
|
119
|
119
|
// commit,
|
120
|
120
|
// }, item) {
|
121
|
121
|
// axios
|
122
|
|
- // .put('http://192.168.6.188:5000/api/individual', item)
|
|
122
|
+ // .put('/api/individual', item)
|
123
|
123
|
// .then(result => commit('updateIndividual', item))
|
124
|
124
|
// .catch(console.error);
|
125
|
125
|
// },
|
|
@@ -127,7 +127,7 @@ export default {
|
127
|
127
|
// commit,
|
128
|
128
|
// }, item) {
|
129
|
129
|
// axios
|
130
|
|
- // .put('http://192.168.6.188:5000/api/agency', item)
|
|
130
|
+ // .put('/api/agency', item)
|
131
|
131
|
// .then(result => commit('updateAgency', item))
|
132
|
132
|
// .catch(console.error);
|
133
|
133
|
// },
|
|
@@ -145,7 +145,7 @@ export default {
|
145
|
145
|
// commit,
|
146
|
146
|
// }, id) {
|
147
|
147
|
// axios
|
148
|
|
- // .delete(`http://192.168.6.188:5000/api/individual/${id}`)
|
|
148
|
+ // .delete(`/api/individual/${id}`)
|
149
|
149
|
// .then(result => commit('removeIndividual', id))
|
150
|
150
|
// .catch(console.error);
|
151
|
151
|
// },
|
|
@@ -153,7 +153,7 @@ export default {
|
153
|
153
|
// commit,
|
154
|
154
|
// }, id) {
|
155
|
155
|
// axios
|
156
|
|
- // .delete(`http://192.168.6.188:5000/api/agency/${id}`)
|
|
156
|
+ // .delete(`/api/agency/${id}`)
|
157
|
157
|
// .then(result => commit('removeAgency', id))
|
158
|
158
|
// .catch(console.error);
|
159
|
159
|
// },
|