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
7cd544a2
Commit
7cd544a2
authored
Sep 02, 2022
by
dcy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
操作人回显
parent
545c4421
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
5 deletions
+18
-5
associatedOrder.vue
src/views/ecw/order/associatedOrder.vue
+9
-3
mutexOrder.vue
src/views/ecw/order/mutexOrder.vue
+9
-2
No files found.
src/views/ecw/order/associatedOrder.vue
View file @
7cd544a2
...
...
@@ -57,7 +57,11 @@
<dict-tag
:value=
"scope.row.orderBackVO.status"
:type=
"DICT_TYPE.ORDER_STATUS"
></dict-tag>
</
template
>
</el-table-column>
<el-table-column
label=
"操作人"
></el-table-column>
<el-table-column
label=
"操作人"
prop=
"creator"
>
<
template
v-slot=
"{row}"
>
{{
userList
.
find
(
i
=>
row
.
creator
==
i
.
id
).
nickname
}}
</
template
>
</el-table-column>
<el-table-column
label=
"操作时间"
>
<
template
v-slot=
"{row}"
>
{{
parseTime
(
row
.
createTime
)
}}
...
...
@@ -85,6 +89,7 @@ import {
}
from
"
@/api/ecw/associatedOrder
"
;
import
{
getDictDatas
,
DICT_TYPE
}
from
'
@/utils/dict
'
import
Template
from
"
@/views/cms/template
"
;
import
{
listSimpleUsers
}
from
"
@/api/system/user
"
;
export
default
{
name
:
"
associatedOrder
"
,
props
:{
...
...
@@ -114,7 +119,8 @@ export default {
list
:[],
DICT_TYPE
,
getDictDatas
,
multipleSelection
:[]
multipleSelection
:[],
userList
:[]
}
},
created
()
{
...
...
@@ -125,13 +131,13 @@ export default {
this
.
orderDetails
=
r
.
data
;
}
})
listSimpleUsers
().
then
(
r
=>
this
.
userList
=
r
.
data
)
},
methods
:{
getList
(){
guanlianList
(
this
.
params
).
then
(
r
=>
{
if
(
r
.
code
===
0
){
this
.
list
=
r
.
data
console
.
log
(
this
.
list
[
0
])
}
})
},
...
...
src/views/ecw/order/mutexOrder.vue
View file @
7cd544a2
...
...
@@ -57,7 +57,11 @@
<dict-tag
:value=
"scope.row.orderBackVO.status"
:type=
"DICT_TYPE.ORDER_STATUS"
></dict-tag>
</
template
>
</el-table-column>
<el-table-column
label=
"操作人"
></el-table-column>
<el-table-column
label=
"操作人"
>
<
template
v-slot=
"{row}"
>
{{
userList
.
find
(
i
=>
row
.
creator
==
i
.
id
).
nickname
}}
</
template
>
</el-table-column>
<el-table-column
label=
"操作时间"
prop=
"createTime"
>
<
template
v-slot=
"{row}"
>
{{
parseTime
(
row
.
orderBackVO
.
createTime
)
...
...
@@ -85,6 +89,7 @@ import {
}
from
"
@/api/ecw/mutexOrder
"
;
import
{
getDictDatas
,
DICT_TYPE
}
from
'
@/utils/dict
'
import
Template
from
"
@/views/cms/template
"
;
import
{
listSimpleUsers
}
from
"
@/api/system/user
"
;
export
default
{
name
:
"
mutexOrder
"
,
props
:{
...
...
@@ -104,7 +109,8 @@ export default {
list
:[],
DICT_TYPE
,
getDictDatas
,
multipleSelection
:[]
multipleSelection
:[],
userList
:[]
}
},
created
()
{
...
...
@@ -115,6 +121,7 @@ export default {
this
.
orderDetails
=
r
.
data
;
}
})
listSimpleUsers
().
then
(
r
=>
this
.
userList
=
r
.
data
)
},
methods
:{
getList
(){
...
...
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