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
f484bcb3
Commit
f484bcb3
authored
Jul 13, 2023
by
邓春圆
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
分页调整
parent
a931e984
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
4 deletions
+9
-4
index.vue
src/views/ecw/exchangeRate/index.vue
+9
-4
No files found.
src/views/ecw/exchangeRate/index.vue
View file @
f484bcb3
...
...
@@ -76,7 +76,7 @@
<
template
slot-scope=
"scope"
>
<el-button
v-hasPermi=
"['ecw:exchange-rate:update']"
size=
"mini"
type=
"text"
icon=
"el-icon-edit"
@
click=
"handleUpdate(scope.row)"
>
{{
$t
(
'
修改
'
)
}}
</el-button>
<el-button
v-hasPermi=
"['ecw:exchange-rate:delete']"
size=
"mini"
type=
"text"
icon=
"el-icon-delete"
@
click=
"handleDelete(scope.row)"
>
{{
$t
(
'
删除
'
)
}}
</el-button>
<el-button
v-hasPermi=
"['ecw:exchange-rate:log']"
size=
"mini"
type=
"text"
@
click=
"handleLog(scope.row)"
>
{{
$t
(
'
日志
'
)
}}
</el-button>
<el-button
v-hasPermi=
"['ecw:exchange-rate:log']"
size=
"mini"
type=
"text"
@
click=
"
formLog.rows = 10;formLog.page=1;
handleLog(scope.row)"
>
{{
$t
(
'
日志
'
)
}}
</el-button>
</
template
>
</el-table-column>
...
...
@@ -140,8 +140,8 @@
</
template
>
</el-table-column>
</el-table>
<pagination
v-show=
"totalLog > 0"
:total=
"totalLog"
:page.sync=
"formLog.page"
:limit.sync=
"form.rows"
@
pagination=
"
handle
Log"
/>
<pagination
v-show=
"totalLog > 0"
:total=
"totalLog"
:page.sync=
"formLog.page"
:limit.sync=
"form
Log
.rows"
@
pagination=
"
getList
Log"
/>
</el-dialog>
</div>
</template>
...
...
@@ -223,11 +223,16 @@ export default {
},
handleLog
(
row
){
this
.
openLog
=
true
;
getExchangeRateLogList
({
rateId
:
row
.
id
,...
this
.
formLog
}).
then
(
r
=>
{
this
.
formLog
.
rateId
=
row
.
id
this
.
getListLog
()
},
getListLog
(){
getExchangeRateLogList
(
this
.
formLog
).
then
(
r
=>
{
this
.
listLog
=
r
.
data
.
list
;
this
.
totalLog
=
r
.
data
.
total
;
})
},
getOperator
(
val
){
if
(
val
){
let
n
=
this
.
allSimplList
.
find
(
i
=>
i
.
id
==
val
)
...
...
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