|
@@ -25,6 +25,10 @@ const actions = {
|
|
const res = await this.$axios.$post(`${api.financeclaimInfo}/one`,payload);
|
|
const res = await this.$axios.$post(`${api.financeclaimInfo}/one`,payload);
|
|
return res;
|
|
return res;
|
|
},
|
|
},
|
|
|
|
+ async publish({ commit }, payload) {// 发布(审核)
|
|
|
|
+ const res = await this.$axios.$post(`${api.financeclaimInfo}/publish`,payload);
|
|
|
|
+ return res;
|
|
|
|
+ },
|
|
async dupdate({ commit }, { id, ...data }) {//逻辑删除
|
|
async dupdate({ commit }, { id, ...data }) {//逻辑删除
|
|
const res = await this.$axios.$post(`${api.financeclaimInfo}/update/${id}`, data);
|
|
const res = await this.$axios.$post(`${api.financeclaimInfo}/update/${id}`, data);
|
|
return res;
|
|
return res;
|