fix: 前端功能完善优化相关字段。
This commit is contained in:
@@ -28,7 +28,7 @@
|
||||
<div class="operate-btn-con">
|
||||
<el-button @click="handleAdd" icon="Plus" v-hasPermi="['invest:bankcard:add']">新增</el-button>
|
||||
<el-button :disabled="multiple" icon="Delete" @click="handleDelete" v-hasPermi="['invest:bankcard:remove']">删除</el-button>
|
||||
<el-button @click="handleExport" icon="Download" v-hasPermi="['invest:bankcard:export']">导出</el-button>
|
||||
<!-- <el-button @click="handleExport" icon="Download" v-hasPermi="['invest:bankcard:export']">导出</el-button> -->
|
||||
</div>
|
||||
</div>
|
||||
<div class="content-con" v-loading="loading">
|
||||
@@ -60,7 +60,7 @@
|
||||
<el-pagination small background layout="total, prev, pager, next" :total="total" @current-change="handleCurrentChange" />
|
||||
</div>
|
||||
</div>
|
||||
<!-- 添加或修改网贷信息对话框 -->
|
||||
<!-- 添加或修改借贷账户信息对话框 -->
|
||||
<el-dialog :title="title" v-model="open" width="500px" append-to-body>
|
||||
<el-form ref="bankcardRef" :model="form" :rules="rules" label-width="120px">
|
||||
<el-form-item label="借贷名称" prop="name">
|
||||
@@ -89,7 +89,7 @@
|
||||
<el-input v-model="form.remark" type="textarea" placeholder="请输入备注" />
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
<template v-if="title !== '查看网贷信息'" #footer>
|
||||
<template v-if="title !== '查看借贷账户信息'" #footer>
|
||||
<div class="dialog-footer">
|
||||
<el-button type="primary" @click="submitForm">确 定</el-button>
|
||||
<el-button @click="cancel">取 消</el-button>
|
||||
@@ -157,7 +157,7 @@ const handleOperate = (operate, row) => {
|
||||
|
||||
const { queryParams, form, rules } = toRefs(data)
|
||||
|
||||
/** 查询网贷信息列表 */
|
||||
/** 查询借贷账户信息列表 */
|
||||
function getList() {
|
||||
loading.value = true
|
||||
listBankcardLend(queryParams.value).then((response) => {
|
||||
@@ -229,7 +229,7 @@ function handleSelectionChange(selection) {
|
||||
|
||||
// 查看
|
||||
const handleView = (row) => {
|
||||
title.value = '查看网贷信息'
|
||||
title.value = '查看借贷账户信息'
|
||||
form.value = row
|
||||
open.value = true
|
||||
}
|
||||
@@ -238,7 +238,7 @@ const handleView = (row) => {
|
||||
function handleAdd() {
|
||||
reset()
|
||||
open.value = true
|
||||
title.value = '添加网贷信息'
|
||||
title.value = '添加借贷账户信息'
|
||||
}
|
||||
|
||||
/** 修改按钮操作 */
|
||||
@@ -248,7 +248,7 @@ function handleUpdate(row) {
|
||||
getBankcardLend(_id).then((response) => {
|
||||
form.value = response.data
|
||||
open.value = true
|
||||
title.value = '修改网贷信息'
|
||||
title.value = '修改借贷账户信息'
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user