Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-app-operator-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lanbaoming
jiedao-app-operator-master
Commits
ff596b6a
Commit
ff596b6a
authored
May 16, 2023
by
dragondean@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
订单操作日志详情
parent
ef3aa6a1
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
70 additions
and
0 deletions
+70
-0
order.js
src/api/ecw/order.js
+9
-0
OprateLogDetail.vue
src/views/ecw/order/components/OprateLogDetail.vue
+49
-0
detail.vue
src/views/ecw/order/detail.vue
+12
-0
No files found.
src/api/ecw/order.js
View file @
ff596b6a
...
...
@@ -688,6 +688,15 @@ export function operateLogPage(params){
})
}
// 获取操作日志详情
export
function
getOperateLogDetail
(
id
){
return
request
({
url
:
'
/ecw/order-operate-log/get
'
,
params
:
{
id
},
method
:
'
get
'
,
})
}
// 取消拆单申请
export
function
splitCancelApply
(
data
){
return
request
({
...
...
src/views/ecw/order/components/OprateLogDetail.vue
0 → 100644
View file @
ff596b6a
<
template
>
<el-dialog
:visible=
"true"
title=
"日志详情"
:before-close=
"closeDialog"
>
<el-form
label-width=
"100px"
>
<el-form-item
label=
"ID"
>
{{
detail
.
id
}}
</el-form-item>
<el-form-item
:label=
"$t('时间')"
>
{{
detail
.
createTime
|
parseTime
}}
</el-form-item>
<el-form-item
:label=
"$t('操作人')"
>
{{
detail
.
creatorName
}}
【ID:
{{
detail
.
creator
}}
】
</el-form-item>
<el-form-item
:label=
"$t('操作人类型')"
>
{{
detail
.
userType
==
2
?
$t
(
'
管理员
'
)
:
$t
(
'
会员
'
)
}}
</el-form-item>
<el-form-item
:label=
"$t('操作描述')"
>
{{
detail
.
msg
}}
</el-form-item>
<el-form-item
:label=
"$t('操作类型')"
>
{{
detail
.
type
}}
</el-form-item>
<el-form-item
:label=
"$t('请求地址')"
>
{{
detail
.
requestUrl
}}
</el-form-item>
<el-form-item
:label=
"$t('请求备注')"
>
{{
detail
.
note
}}
</el-form-item>
<el-form-item
:label=
"$t('请求内容')"
>
{{
detail
.
body
}}
</el-form-item>
</el-form>
</el-dialog>
</
template
>
<
script
>
import
{
getOperateLogDetail
}
from
"
@/api/ecw/order
"
;
import
{
parseTime
}
from
'
@/utils/ruoyi
'
export
default
{
name
:
"
OperateLogDetail
"
,
filters
:
{
parseTime
},
props
:{
logId
:
Number
},
data
(){
return
{
detail
:
null
}
},
created
()
{
this
.
$nextTick
(
this
.
getDetail
)
},
methods
:{
getDetail
(){
getOperateLogDetail
(
this
.
logId
).
then
(
res
=>
{
this
.
detail
=
res
.
data
})
},
closeDialog
(){
this
.
$emit
(
'
close
'
)
}
}
}
</
script
>
<
style
scoped
>
</
style
>
src/views/ecw/order/detail.vue
View file @
ff596b6a
...
...
@@ -331,6 +331,11 @@
<
/div
>
<
/template
>
<
/el-table-column
>
<
el
-
table
-
column
:
label
=
"
$t('操作')
"
prop
=
"
note
"
>
<
template
slot
-
scope
=
"
{row
}
"
>
<
el
-
link
type
=
"
primary
"
@
click
=
"
showLogDetailId=row.id
"
>
{{
$t
(
'
详情
'
)
}}
<
/el-link
>
<
/template
>
<
/el-table-column
>
<
/el-table
>
<
/el-tab-pane
>
<
/el-tabs
>
...
...
@@ -403,7 +408,11 @@
<
/el-table-column
>
<
/el-table
>
<
/el-dialog
>
<!--
日志详情
-->
<
operate
-
log
-
detail
v
-
if
=
"
showLogDetailId
"
:
log
-
id
=
"
showLogDetailId
"
@
close
=
"
showLogDetailId=null
"
><
/operate-log-detail
>
<
/div
>
<
/template
>
<
script
>
...
...
@@ -421,9 +430,11 @@ import {getProductBrank} from '@/api/ecw/productBrank'
import
{
parseTime
}
from
'
@/utils/ruoyi
'
;
import
WarehouseAreaSelect
from
"
@/components/WarehouseAreaSelect
"
import
{
checkPermi
}
from
'
@/utils/permission
'
import
OperateLogDetail
from
"
@/views/ecw/order/components/OprateLogDetail
"
;
export
default
{
name
:
"
detail
"
,
components
:
{
OperateLogDetail
,
PrintWarehouseReceipt
,
PrintLadingBill
,
WarehouseDetail
,
WarehouseAreaSelect
}
,
filters
:
{
...
...
@@ -468,6 +479,7 @@ export default {
showText
:
this
.
$t
(
'
显示更多
'
),
showMore
:
false
,
consigneeText
:
this
.
$t
(
'
展示
'
),
showLogDetailId
:
null
,
// 显示日志详情的ID
}
}
,
computed
:{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment