diff --git a/PC/InterFace.Dash/src/api/wms-business.js b/PC/InterFace.Dash/src/api/wms-business.js index 71f0dd9..9936ee9 100644 --- a/PC/InterFace.Dash/src/api/wms-business.js +++ b/PC/InterFace.Dash/src/api/wms-business.js @@ -2,7 +2,7 @@ import request from '@/utils/request' let businessApi = localStorage.getItem('businessApi') -// 获取表头数据 +// MessageReceive 修改已接受按钮接口 export function messageReceiveUpdateStatsById(id) { return request({ method:'get', @@ -10,6 +10,16 @@ export function messageReceiveUpdateStatsById(id) { }) } +// 重新推送按钮接口 +export function resetHandle(params,data,url) { + return request({ + method:'post', + url: businessApi + '/'+ url +'/reset', + params:params, + data + }) +} + // // 测试数据-明细-列表 // export function TestSchoolDetailList(data,includeDetails) { // return request({ diff --git a/PC/InterFace.Dash/src/components/umyTable/index.vue b/PC/InterFace.Dash/src/components/umyTable/index.vue index ec59d37..73207f1 100644 --- a/PC/InterFace.Dash/src/components/umyTable/index.vue +++ b/PC/InterFace.Dash/src/components/umyTable/index.vue @@ -23,7 +23,8 @@ @@ -44,7 +45,8 @@ diff --git a/PC/InterFace.Dash/src/views/menuList/MessageReceive.vue b/PC/InterFace.Dash/src/views/menuList/MessageReceive.vue index 578107e..f57fa61 100644 --- a/PC/InterFace.Dash/src/views/menuList/MessageReceive.vue +++ b/PC/InterFace.Dash/src/views/menuList/MessageReceive.vue @@ -91,9 +91,12 @@ export default { }, buttonOperationClick_right(row, item, index){ if(item.name == 'isRecept'){ + this.Loading.tableLoading = true; messageReceiveUpdateStatsById(row.id).then(result => { this.$successMsg("修改成功"); this.paging() + }).catch(()=>{ + this.Loading.tableLoading = false; }) } } diff --git a/PC/InterFace.Dash/src/views/menuList/OutgoingData.vue b/PC/InterFace.Dash/src/views/menuList/OutgoingData.vue index fa1f14b..766a8dc 100644 --- a/PC/InterFace.Dash/src/views/menuList/OutgoingData.vue +++ b/PC/InterFace.Dash/src/views/menuList/OutgoingData.vue @@ -23,6 +23,8 @@ :primarySearchOption="primarySearchOption" @overallSearchFormClick="overallSearchFormClick" :httpOverallSearchData="httpOverallSearchData" + :buttonOperationList_right="buttonOperationList_right" + @buttonOperationClick_right="buttonOperationClick_right" > { + this.$successMsg("重推成功"); + this.paging() + }).catch(()=>{ + this.Loading.tableLoading = false; + }) + } + } + } }