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
751c69da
Commit
751c69da
authored
May 07, 2023
by
dragondean@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化订单详情操作日志加载状态和时间
parent
3e7df93c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
order.js
src/api/ecw/order.js
+2
-1
detail.vue
src/views/ecw/order/detail.vue
+5
-2
No files found.
src/api/ecw/order.js
View file @
751c69da
...
...
@@ -684,6 +684,7 @@ export function operateLogPage(params){
return
request
({
url
:
'
/ecw/order-operate-log/page
'
,
method
:
'
get
'
,
params
:
params
params
:
params
,
timeout
:
5
*
60000
})
}
src/views/ecw/order/detail.vue
View file @
751c69da
...
...
@@ -286,7 +286,7 @@
</el-tab-pane>
<!-- 这个地方v-hasPermi不生效,所以换checkPermi函数检查 -->
<el-tab-pane
:label=
"$t('操作日志')"
name=
"five"
v-if=
"checkPermi(['ecw:order:logs'])"
>
<el-table
:data=
"logs"
>
<el-table
:data=
"logs"
v-loading=
"logsLoading"
>
<el-table-column
:label=
"$t('时间')"
width=
"150"
>
<
template
slot-scope=
"{row}"
>
{{
parseTime
(
row
.
createTime
)
}}
</
template
>
</el-table-column>
...
...
@@ -441,7 +441,7 @@ export default {
showWarehouseInItemId
:
null
,
// 当前显示的入仓
showFeeDetailDialog
:
null
,
// 是否显示费用详情弹层
feeDetail
:
null
,
// 费用详情
logsLoading
:
false
,
// 日志加载中
logs
:
[],
// 操作日志
}
}
,
...
...
@@ -640,8 +640,11 @@ export default {
}
,
// 加载操作日志
loadLogs
(){
this
.
logsLoading
=
true
operateLogPage
({
orderId
:
this
.
orderId
,
page
:
1
,
rows
:
10000
}
).
then
(
res
=>
{
this
.
logs
=
res
.
data
.
list
}
).
finally
(()
=>
{
this
.
logsLoading
=
false
}
)
}
,
downloadPackingList
(){
...
...
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