|
@@ -21,8 +21,11 @@ const actions = {
|
|
|
const res = await this.$axios.$get(`${api.applyInfo}/${payload}`);
|
|
|
return res;
|
|
|
},
|
|
|
- async update({ commit }, { id, ...info } = {}) {
|
|
|
- const res = await this.$axios.$post(`${api.applyInfo}/${id}`, { ...info });
|
|
|
+ async update({ commit }, { dock_id, id, ...data }) {
|
|
|
+ const res = await this.$axios.$post(
|
|
|
+ `${api.applyInfo}/${dock_id}/check/${id}`,
|
|
|
+ data
|
|
|
+ );
|
|
|
return res;
|
|
|
},
|
|
|
async delete({ commit }, payload) {
|