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
89ea586f
Commit
89ea586f
authored
Jul 11, 2023
by
邓春圆
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加序号,日志调整
parent
003975e1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
5 deletions
+9
-5
index.vue
src/views/ecw/exchangeRate/index.vue
+9
-5
No files found.
src/views/ecw/exchangeRate/index.vue
View file @
89ea586f
...
...
@@ -36,7 +36,11 @@
<!-- 列表 -->
<el-table
v-loading=
"loading"
:data=
"list"
>
<el-table-column
label=
""
align=
"center"
prop=
"id"
/>
<el-table-column
label=
"序号"
align=
"center"
>
<template
v-slot=
"
{row, $index}">
{{
(
queryParams
.
pageNo
-
1
)
*
queryParams
.
pageSize
+
(
$index
+
1
)
}}
</
template
>
</el-table-column>
<el-table-column
label=
"币种1"
align=
"center"
prop=
"sourceCurrencyId"
>
<
template
slot-scope=
"scope"
>
{{
getCurrency
(
scope
.
row
.
sourceCurrencyId
)
}}
...
...
@@ -132,8 +136,8 @@
</el-table-column>
<el-table-column
label=
"修改前内容"
>
<
template
v-slot=
"{row}"
>
币种1:【
{{
row
.
beforeChangeSourceValue
}}
】
<br/>
币种2:【
{{
row
.
beforeChangeTargetValue
}}
】
<br/>
币种1:【
{{
getCurrency
(
row
.
beforeChangeSourceValue
,
true
,
'
fuhao
'
)
}}
】
<br/>
币种2:【
{{
getCurrency
(
row
.
beforeChangeTargetValue
,
true
,
'
fuhao
'
)
}}
】
<br/>
汇率:【
{{
row
.
beforeChangeValue
}}
】
<br/>
</
template
>
</el-table-column>
...
...
@@ -225,9 +229,9 @@ export default {
}
return
''
},
getCurrency
(
val
,
isEn
=
false
){
getCurrency
(
val
,
isEn
=
false
,
value
=
'
id
'
){
if
(
val
){
let
r
=
this
.
currencyList
.
find
(
i
=>
i
.
id
===
val
)
let
r
=
this
.
currencyList
.
find
(
i
=>
i
[
value
]
===
val
)
if
(
isEn
){
return
r
?.
titleEn
}
else
{
...
...
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