Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
计全科技
jeepay-ui
提交
b1331cba
jeepay-ui
项目概览
计全科技
/
jeepay-ui
通知
11
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
jeepay-ui
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
b1331cba
编写于
6月 21, 2021
作者:
terrfly
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
添加商户消息重发通知事件;
上级
5121f425
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
20 addition
and
2 deletion
+20
-2
jeepay-ui-manager/src/api/manage.js
jeepay-ui-manager/src/api/manage.js
+7
-0
jeepay-ui-manager/src/views/order/notify/MchNotifyList.vue
jeepay-ui-manager/src/views/order/notify/MchNotifyList.vue
+13
-2
未找到文件。
jeepay-ui-manager/src/api/manage.js
浏览文件 @
b1331cba
...
...
@@ -284,3 +284,10 @@ export function getEntBySysType (entId, sysType) {
params
:
{
entId
:
entId
,
sysType
:
sysType
}
})
}
export
function
mchNotifyResend
(
notifyId
)
{
return
request
.
request
({
url
:
'
/api/mchNotify/resend/
'
+
notifyId
,
method
:
'
POST
'
})
}
jeepay-ui-manager/src/views/order/notify/MchNotifyList.vue
浏览文件 @
b1331cba
...
...
@@ -75,6 +75,7 @@
<
template
slot=
"opSlot"
slot-scope=
"{record}"
>
<!-- 操作列插槽 -->
<JeepayTableColumns>
<a-button
type=
"link"
v-if=
"$access('ENT_MCH_NOTIFY_VIEW')"
@
click=
"detailFunc(record.notifyId)"
>
详情
</a-button>
<a-button
type=
"link"
v-if=
"$access('ENT_MCH_NOTIFY_RESEND') && record.state === 3"
@
click=
"resendFunc(record.notifyId)"
>
重发通知
</a-button>
</JeepayTableColumns>
</
template
>
</JeepayTable>
...
...
@@ -202,7 +203,7 @@
import
JeepayTable
from
'
@/components/JeepayTable/JeepayTable
'
import
JeepayTextUp
from
'
@/components/JeepayTextUp/JeepayTextUp
'
// 文字上移组件
import
JeepayTableColumns
from
'
@/components/JeepayTable/JeepayTableColumns
'
import
{
API_URL_MCH_NOTIFY_LIST
,
req
}
from
'
@/api/manage
'
import
{
API_URL_MCH_NOTIFY_LIST
,
req
,
mchNotifyResend
}
from
'
@/api/manage
'
import
moment
from
'
moment
'
// eslint-disable-next-line no-unused-vars
...
...
@@ -212,7 +213,7 @@
{
key
:
'
state
'
,
title
:
'
通知状态
'
,
width
:
'
130px
'
,
scopedSlots
:
{
customRender
:
'
stateSlot
'
}
},
{
key
:
'
orderType
'
,
title
:
'
订单类型
'
,
width
:
'
130px
'
,
scopedSlots
:
{
customRender
:
'
orderTypeSlot
'
}
},
{
key
:
'
createdAt
'
,
dataIndex
:
'
createdAt
'
,
title
:
'
创建日期
'
},
{
key
:
'
op
'
,
title
:
'
操作
'
,
width
:
'
100px
'
,
fixed
:
'
right
'
,
align
:
'
center
'
,
scopedSlots
:
{
customRender
:
'
opSlot
'
}
}
{
key
:
'
op
'
,
title
:
'
操作
'
,
fixed
:
'
right
'
,
align
:
'
center
'
,
scopedSlots
:
{
customRender
:
'
opSlot
'
}
}
]
export
default
{
...
...
@@ -274,6 +275,16 @@
},
onClose
()
{
this
.
visible
=
false
},
resendFunc
(
notifyId
)
{
// 重发通知
const
that
=
this
this
.
$infoBox
.
confirmPrimary
(
'
确认重发通知?
'
,
''
,
()
=>
{
mchNotifyResend
(
notifyId
).
then
(
res
=>
{
that
.
$message
.
success
(
'
任务更新成功,请稍后查看最新状态!
'
)
that
.
searchFunc
()
})
})
}
}
}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录