diff --git a/src/mixins/JeroListMixin.js b/src/mixins/JeroListMixin.js index 9902859..2b5406a 100644 --- a/src/mixins/JeroListMixin.js +++ b/src/mixins/JeroListMixin.js @@ -196,8 +196,8 @@ export const JeroListMixin = { onOk: function () { that.loading = true // 新增加的删除接口用post方式请求 - const method = that.postMethodDel ? 'POST' : 'GET' - httpAction(that.url.deleteBatch, {ids: ids}, method).then((res) => { + const actionFunc = that.postMethodDel ? postAction : getAction + actionFunc(that.url.deleteBatch, {ids: ids}).then((res) => { if (res.success) { that.$message.success(res.message) // 判断当前删除的数据是否是最后一页的全部数据,如果是的话页码减一 @@ -233,8 +233,8 @@ export const JeroListMixin = { content: '确定要删除此条数据吗?', onOk: function () { // 新增加的删除接口用post方式请求 - const method = that.postMethodDel ? 'POST' : 'GET' - httpAction(that.url.delete, {id: id}, method).then((res) => { + const actionFunc = that.postMethodDel ? postAction : getAction + actionFunc(that.url.delete, {id: id}).then((res) => { if (res.success) { that.$message.success(res.message) // 判断当前删除的数据是否是最后一页的最后一条数据,如果是的话页码减一 diff --git a/src/views/functionalSafetyCenter/FunctionalSafetyConferenceMaintenance.vue b/src/views/functionalSafetyCenter/FunctionalSafetyConferenceMaintenance.vue index 0e8d8ff..59c5d31 100644 --- a/src/views/functionalSafetyCenter/FunctionalSafetyConferenceMaintenance.vue +++ b/src/views/functionalSafetyCenter/FunctionalSafetyConferenceMaintenance.vue @@ -248,10 +248,10 @@ export default { } ], url: { - list: '', - delete: '', - deleteBatch: '', - exportXlsUrl: '' + list: '/meeting/safetyCenterMeeting/page', + delete: '/meeting/safetyCenterMeeting/delete', + deleteBatch: '/meeting/safetyCenterMeeting/deleteBatch', + exportXlsUrl: '/meeting/safetyCenterMeeting/exportXls' }, canOperate: true // 是否可操作(负责人B不可操作) } diff --git a/src/views/incomePayments/meetManage/AddOrDetailMeet.vue b/src/views/incomePayments/meetManage/AddOrDetailMeet.vue index 2f31ba4..43f1ebb 100644 --- a/src/views/incomePayments/meetManage/AddOrDetailMeet.vue +++ b/src/views/incomePayments/meetManage/AddOrDetailMeet.vue @@ -404,12 +404,12 @@