Browse Source

优化mq消息重试

syhx
ljlong_2630 1 month ago
parent
commit
cc7e17bf06
  1. 2
      src/locales/en-US.ts
  2. 2
      src/locales/zh-CN.ts
  3. 4
      src/views/infra/apiMqError/index.vue
  4. 2
      src/views/wms/productionManage/productreceipt/productreceiptRequestMain/productreceiptRequestMain.data.ts

2
src/locales/en-US.ts

@ -77,6 +77,8 @@ export default {
confirmAccept: 'Confirm Accept',
confirmGiveup: 'Confirm Giveup',
confirmPublish: 'Confirm Publish',
retrySuccess: 'Retry successfully',
retryFinish: 'Retry Finished',
},
error: {
noPermission: `Sorry, you don't have permission to access this page.`,

2
src/locales/zh-CN.ts

@ -49,6 +49,8 @@ export default {
delDataMessage: '是否删除数据?',
delNoData: '请选择需要删除的数据',
delSuccess: '删除成功',
retrySuccess: '重试成功',
retryFinish: '重试完成',
index: '序号',
status: '状态',
createTime: '创建时间',

4
src/views/infra/apiMqError/index.vue

@ -240,7 +240,11 @@ const searchFormClick = (searchData) => {
const handleRetry = (row) => {
ApiMqErrorApi.retry(row.id).then(res => {
if(res){
message.success(t('common.retrySuccess'))
}else{
message.success(t('common.retryFinish'))
}
getList()
})
}

2
src/views/wms/productionManage/productreceipt/productreceiptRequestMain/productreceiptRequestMain.data.ts

@ -43,7 +43,7 @@ const queryParams = {
const data = await getRequestsettingApi.getRequestsettingPage(queryParams)
const requestsettingData = data?.list[0] || {}
export const shiftList = await ShiftApi.getShiftPage({available:'TRUE',pageSize: 500,pageNo: 1,sort:'',by: 'ASC'})
console.log('shiftList',shiftList)
console.log('shiftList', shiftList)
// 获取当前操作人的部门
import { useUserStore } from '@/store/modules/user'
import { TableColumn } from '@/types/table'

Loading…
Cancel
Save