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
5a775a3d
Commit
5a775a3d
authored
Mar 21, 2023
by
dragondean@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
订单操作日志
parent
e3a27e88
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
34 additions
and
1 deletion
+34
-1
order.js
src/api/ecw/order.js
+9
-0
detail.vue
src/views/ecw/order/detail.vue
+25
-1
No files found.
src/api/ecw/order.js
View file @
5a775a3d
...
...
@@ -656,3 +656,12 @@ export function exportUnload(params){
responseType
:
'
blob
'
})
}
// 操作日志分页
export
function
operateLogPage
(
params
){
return
request
({
url
:
'
/ecw/order-operate-log/page
'
,
method
:
'
get
'
,
params
:
params
})
}
\ No newline at end of file
src/views/ecw/order/detail.vue
View file @
5a775a3d
...
...
@@ -270,6 +270,19 @@
</el-table-column>
</el-table>
</el-tab-pane>
<el-tab-pane
:label=
"$t('操作日志')"
name=
"five"
>
<el-table
:data=
"logs"
>
<el-table-column
:label=
"$t('时间')"
>
<
template
slot-scope=
"{row}"
>
{{
parseTime
(
row
.
createTime
)
}}
</
template
>
</el-table-column>
<el-table-column
:label=
"$t('操作人')"
prop=
"creatorName"
>
</el-table-column>
<el-table-column
:label=
"$t('操作人类型')"
>
<
template
slot-scope=
"{row}"
>
{{
row
.
userType
==
1
?
$t
(
'
会员
'
)
:
$t
(
'
管理员
'
)
}}
</
template
>
</el-table-column>
<el-table-column
:label=
"$t('操作描述')"
prop=
"msg"
></el-table-column>
<el-table-column
:label=
"$t('备注')"
prop=
"note"
></el-table-column>
</el-table>
</el-tab-pane>
</el-tabs>
</el-card>
...
...
@@ -344,7 +357,7 @@
</template>
<
script
>
import
{
getOrder
}
from
'
@/api/ecw/order
'
import
{
getOrder
,
operateLogPage
}
from
'
@/api/ecw/order
'
import
{
getDictDatas
,
DICT_TYPE
}
from
'
@/utils/dict
'
;
import
PrintWarehouseReceipt
from
'
./components/PrintWarehouseReceipt
'
import
PrintLadingBill
from
'
./components/PrintLadingBill
'
...
...
@@ -398,6 +411,8 @@ export default {
showWarehouseInItemId
:
null
,
// 当前显示的入仓
showFeeDetailDialog
:
null
,
// 是否显示费用详情弹层
feeDetail
:
null
,
// 费用详情
logs
:
[],
// 操作日志
}
},
computed
:{
...
...
@@ -433,6 +448,9 @@ export default {
if
(
!
this
.
feeList
.
length
&&
val
==
'
four
'
){
this
.
loadFeeList
()
}
if
(
!
this
.
logs
.
length
&&
val
==
'
five
'
){
this
.
loadLogs
()
}
},
'
order.channelId
'
(){
this
.
getChannel
()
...
...
@@ -582,6 +600,12 @@ export default {
this
.
feeList
=
res
.
data
})
},
// 加载操作日志
loadLogs
(){
operateLogPage
({
orderId
:
this
.
orderIdDICT_TYPE
,
page
:
1
,
rows
:
10000
}).
then
(
res
=>
{
this
.
logs
=
res
.
data
.
list
})
},
downloadPackingList
(){
window
.
open
(
this
.
order
.
packingListUrl
)
},
...
...
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