Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation
This project
Loading...
Sign in
李宁
/
Activity
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 8e7e552c
authored
Nov 26, 2025
by
李宁
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
开发完成提交
1 parent
7ac0e431
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
51 additions
and
51 deletions
channelBusiManage/src/assets/js/api/interface/order/index.js
channelBusiManage/src/components/OrderDetail.vue
channelBusiManage/src/components/OrderMonitoring.vue
channelBusiManage/src/assets/js/api/interface/order/index.js
View file @
8e7e552
...
...
@@ -35,7 +35,7 @@ export function audioOrderList(data) {
}
/**
* 订单金额批量修改
* 订单金额批量修改
:表格上传
* @returns {AxiosPromise}
*/
export
function
updateOrderListMoney
(
data
)
{
...
...
channelBusiManage/src/components/OrderDetail.vue
View file @
8e7e552
...
...
@@ -129,7 +129,7 @@
<span
class=
"text-neutral-900"
>
{{ log.functionName }}
</span>
<el-tag
size=
"small"
type=
"info"
>
{{ log.operatorName }}
</el-tag>
</div>
<p
class=
"text-sm text-neutral-600 mb-1"
>
{{ log.detail.memo }}
</p>
<p
class=
"text-sm text-neutral-600 mb-1"
>
{{ log.detail.memo
|| log.detail.auditMemo
}}
</p>
<p
class=
"text-xs text-neutral-500"
>
{{ $utils.detailTime(log.createTime) }}
</p>
</div>
</div>
...
...
@@ -401,26 +401,22 @@ onMounted(()=>{
const
logData
=
ref
([])
const
queryLog
=
async
()
=>
{
try
{
try
{
const
response
=
await
$api
.
queryOrderLog
({
id
:
props
.
order
.
id
})
if
(
response
.
c
===
0
)
{
response
.
d
.
forEach
(
item
=>
{
item
.
detail
=
JSON
.
parse
(
item
.
parameter
)
})
response
.
d
.
forEach
(
item
=>
{
item
.
detail
=
JSON
.
parse
(
item
.
parameter
)
})
logData
.
value
=
response
.
d
logData
.
value
=
response
.
d
}
else
{
ElMessage
.
error
(
response
.
m
)
}
}
catch
(
error
)
{
}
}
catch
(
error
)
{
}
}
// 对话框状态
...
...
@@ -571,57 +567,61 @@ const handleSubmitReview = () => {
}
// 审核通过
const
handleApprove
=
()
=>
{
const
currentTime
=
new
Date
().
toLocaleString
(
'zh-CN'
)
const
newLog
=
{
id
:
`LOG
${
Date
.
now
()}
`
,
time
:
currentTime
,
operator
:
'主管理员'
,
action
:
'审核通过'
,
details
:
`主管审核通过,金额:¥
${
props
.
order
.
realMoney
?.
toFixed
(
2
)}
`
}
emit('update', {
auditStatus: '1',
paymentTime: currentTime,
operationLogs: [...(props.order.operationLogs || []), newLog]
})
const
handleApprove
=
async
()
=>
{
try
{
const
response
=
await
$api
.
audioOrderList
({
list
:[{
id
:
props
.
order
.
id
,
auditStatus
:
'1'
}]
})
if
(
response
.
c
===
0
)
{
ElMessage
.
success
(
'审核通过!'
)
ElMessage.success('审核通过!')
setTimeout(() => {
emit('back')
}, 1000)
setTimeout
(()
=>
{
emit
(
'back'
)
},
1000
)
}
else
{
ElMessage
.
error
(
response
.
m
)
}
}
catch
(
error
)
{
}
}
// 审核驳回
const handleReject = () => {
const
handleReject
=
async
()
=>
{
if
(
!
rejectReason
.
value
.
trim
())
{
ElMessage
.
error
(
'请填写驳回原因'
)
return
}
const newLog = {
id: `
LOG$
{
Date
.
now
()}
`,
time: new Date().toLocaleString('zh-CN'),
operator: '主管理员',
action: '审核驳回',
details: `
驳回原因:
$
{
rejectReason
.
value
}
`
try
{
const
response
=
await
$api
.
audioOrderList
({
list
:[{
id
:
props
.
order
.
id
,
auditStatus
:
'2'
,
auditMemo
:
rejectReason
.
value
}]
})
if
(
response
.
c
===
0
)
{
ElMessage
.
success
(
'已驳回订单'
)
isRejectDialogOpen
.
value
=
false
setTimeout
(()
=>
{
rejectReason
.
value
=
''
},
0
)
setTimeout
(()
=>
{
emit
(
'back'
)
},
1000
)
}
else
{
ElMessage
.
error
(
response
.
m
)
}
}
catch
(
error
)
{
}
emit('update', {
auditStatus: '2',
rejectReason: rejectReason.value,
operationLogs: [...(props.order.operationLogs || []), newLog]
})
ElMessage.success('已驳回订单')
isRejectDialogOpen.value = false
rejectReason.value = ''
setTimeout(() => {
emit('back')
}, 1000)
}
// 关闭订单
...
...
channelBusiManage/src/components/OrderMonitoring.vue
View file @
8e7e552
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment