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
c30a6e70
Commit
c30a6e70
authored
Mar 28, 2023
by
wanglianghe
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev1.6' of
http://gitlab.jdshangmen.com/jiedao-app/jiedao-app-operator
into dev1.6
parents
3c5f6fde
1cbba058
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
6 deletions
+19
-6
detail.vue
src/views/ecw/order/detail.vue
+19
-6
No files found.
src/views/ecw/order/detail.vue
View file @
c30a6e70
...
...
@@ -284,15 +284,23 @@
</el-tab-pane>
<el-tab-pane
:label=
"$t('操作日志')"
name=
"five"
>
<el-table
:data=
"logs"
>
<el-table-column
:label=
"$t('时间')"
>
<el-table-column
:label=
"$t('时间')"
width=
"150"
>
<
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('操作人类型')"
>
<el-table-column
:label=
"$t('操作人')"
prop=
"creatorName"
width=
"150"
>
</el-table-column>
<el-table-column
:label=
"$t('操作人类型')"
width=
"100"
>
<
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-column
:label=
"$t('操作描述')"
prop=
"msg"
width=
"300"
></el-table-column>
<el-table-column
:label=
"$t('备注')"
prop=
"note"
>
<
template
slot-scope=
"{row}"
>
<div
v-if=
"row.note"
>
<div
v-for=
"item in parseLogNote(row.note)"
>
{{
$t
(
'
【{name
}
】从【{orgValue
}
】修改为【{newValue
}
】
'
,
item
)
}}
<
/div
>
<
/div
>
<
/template
>
<
/el-table-column
>
<
/el-table
>
<
/el-tab-pane
>
<
/el-tabs
>
...
...
@@ -624,7 +632,7 @@ export default {
}
,
// 加载操作日志
loadLogs
(){
operateLogPage
({
orderId
:
this
.
orderId
DICT_TYPE
,
page
:
1
,
rows
:
10000
}).
then
(
res
=>
{
operateLogPage
({
orderId
:
this
.
orderId
,
page
:
1
,
rows
:
10000
}
).
then
(
res
=>
{
this
.
logs
=
res
.
data
.
list
}
)
}
,
...
...
@@ -639,6 +647,11 @@ export default {
getOrderWarehouseIn
(
this
.
order
.
id
).
then
(
res
=>
{
this
.
orderWarehouseIn
=
res
.
data
}
)
}
,
// 解析日志node字段
parseLogNote
(
note
){
if
(
!
note
)
return
[]
return
JSON
.
parse
(
note
)
}
}
}
;
...
...
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