diff --git a/src/api/pay/merchant/index.ts b/src/api/pay/merchant/index.ts deleted file mode 100644 index bb630c36..00000000 --- a/src/api/pay/merchant/index.ts +++ /dev/null @@ -1,78 +0,0 @@ -import request from '@/config/axios' - -export interface MerchantVO { - id: number - no: string - name: string - shortName: string - status: number - remark: string - createTime: Date -} - -export interface MerchantPageReqVO extends PageParam { - no?: string - name?: string - shortName?: string - status?: number - remark?: string - createTime?: Date[] -} - -export interface MerchantExportReqVO { - no?: string - name?: string - shortName?: string - status?: number - remark?: string - createTime?: Date[] -} - -// 查询列表支付商户 -export const getMerchantPage = (params: MerchantPageReqVO) => { - return request.get({ url: '/pay/merchant/page', params }) -} - -// 查询详情支付商户 -export const getMerchant = (id: number) => { - return request.get({ url: '/pay/merchant/get?id=' + id }) -} - -// 根据商户名称搜索商户列表 -export const getMerchantListByName = (name?: string) => { - return request.get({ - url: '/pay/merchant/list-by-name', - params: { - name: name - } - }) -} - -// 新增支付商户 -export const createMerchant = (data: MerchantVO) => { - return request.post({ url: '/pay/merchant/create', data }) -} - -// 修改支付商户 -export const updateMerchant = (data: MerchantVO) => { - return request.put({ url: '/pay/merchant/update', data }) -} - -// 删除支付商户 -export const deleteMerchant = (id: number) => { - return request.delete({ url: '/pay/merchant/delete?id=' + id }) -} - -// 导出支付商户 -export const exportMerchant = (params: MerchantExportReqVO) => { - return request.download({ url: '/pay/merchant/export-excel', params }) -} - -// 支付商户状态修改 -export const updateMerchantStatus = (id: number, status: number) => { - const data = { - id, - status - } - return request.put({ url: '/pay/merchant/update-status', data: data }) -} diff --git a/src/views/pay/notify/NotifyDetail.vue b/src/views/pay/notify/NotifyDetail.vue new file mode 100644 index 00000000..82fd8060 --- /dev/null +++ b/src/views/pay/notify/NotifyDetail.vue @@ -0,0 +1,89 @@ + + diff --git a/src/views/pay/notify/index.vue b/src/views/pay/notify/index.vue index 0f9f4631..8e752a04 100644 --- a/src/views/pay/notify/index.vue +++ b/src/views/pay/notify/index.vue @@ -4,19 +4,30 @@ - + - + - + @@ -61,6 +79,7 @@ start-placeholder="开始日期" end-placeholder="结束日期" :default-time="[new Date('1 00:00:00'), new Date('1 23:59:59')]" + class="!w-240px" /> @@ -111,19 +130,18 @@ - - - - - - {{ notifyDetail.merchantOrderId }} - - - - - - - {{ notifyDetail.appId }} - {{ notifyDetail.appName }} - - - {{ notifyDetail.dataId }} - - - - - - {{ notifyDetail.notifyTimes }} - {{ - notifyDetail.maxNotifyTimes - }} - - - {{ - formatDate(notifyDetail.lastExecuteTime) - }} - {{ - formatDate(notifyDetail.nextNotifyTime) - }} - - - {{ - formatDate(notifyDetail.createTime) - }} - {{ - formatDate(notifyDetail.updateTime) - }} - - - - - - - - - - - - - - - - - - - + + - diff --git a/src/views/pay/order/index.vue b/src/views/pay/order/index.vue index d4784efa..d3667f63 100644 --- a/src/views/pay/order/index.vue +++ b/src/views/pay/order/index.vue @@ -221,7 +221,6 @@