|
@@ -29,6 +29,16 @@ const actions = {
|
|
|
const res = await this.$axios.$get(`${api.columnInfo}/newfetch/${payload}`);
|
|
|
return res;
|
|
|
},
|
|
|
+
|
|
|
+ async newquery({ commit }, { skip = 0, limit, ...info } = {}) {
|
|
|
+ const res = await this.$axios.$get(`${api.columnInfo}`, {
|
|
|
+ skip,
|
|
|
+ limit,
|
|
|
+ ...info,
|
|
|
+ });
|
|
|
+ return res;
|
|
|
+ },
|
|
|
+
|
|
|
async update({ commit }, { id, ...data }) {
|
|
|
const res = await this.$axios.$post(`${api.columnInfo}/update/${id}`, data);
|
|
|
return res;
|