fix: 前端功能完善优化相关字段。

This commit is contained in:
tianyongbao
2024-07-31 17:30:01 +08:00
parent 4e8762aaaf
commit dfbf1005dc
29 changed files with 112 additions and 112 deletions

View File

@@ -1,6 +1,6 @@
import request from '@/utils/request'
// 查询贷及分期历史列表
// 查询贷及分期历史列表
export function listInstallmentHistory(query) {
return request({
url: '/invest/installmentHistory/list',
@@ -9,7 +9,7 @@ export function listInstallmentHistory(query) {
})
}
// 查询贷及分期历史详细
// 查询贷及分期历史详细
export function getInstallmentHistory(id) {
return request({
url: '/invest/installmentHistory/' + id,
@@ -17,7 +17,7 @@ export function getInstallmentHistory(id) {
})
}
// 新增贷及分期历史
// 新增贷及分期历史
export function addInstallmentHistory(data) {
return request({
url: '/invest/installmentHistory',
@@ -26,7 +26,7 @@ export function addInstallmentHistory(data) {
})
}
// 修改贷及分期历史
// 修改贷及分期历史
export function updateInstallmentHistory(data) {
return request({
url: '/invest/installmentHistory',
@@ -35,7 +35,7 @@ export function updateInstallmentHistory(data) {
})
}
// 删除贷及分期历史
// 删除贷及分期历史
export function delInstallmentHistory(id) {
return request({
url: '/invest/installmentHistory/' + id,

View File

@@ -45,7 +45,7 @@
<div class="item" v-hasPermi="['invest:onlineLend']">
<img src="./assets/one.png" alt="" />
<div class="info-sum">
<div class="title">未结清贷本息</div>
<div class="title">未结清贷本息</div>
<div class="num">{{ unClearedOnlineDebt }}<span></span></div>
</div>
</div>
@@ -306,14 +306,14 @@
<div class="item">
<img src="./assets/one.png" alt="" />
<div class="info-sum">
<div class="title">贷账户</div>
<div class="title">账户</div>
<div class="num">{{ onlineLendCount }}<span></span></div>
</div>
</div>
<div class="item">
<img src="./assets/ticketSum.png" alt="" />
<div class="info-sum">
<div class="title">未结清贷本息</div>
<div class="title">未结清贷本息</div>
<div class="num">{{ unClearedOnlineDebt }}<span></span></div>
</div>
</div>
@@ -359,21 +359,21 @@
<div class="item">
<img src="./assets/one.png" alt="" />
<div class="info-sum">
<div class="title">未结清</div>
<div class="title">未结清贷</div>
<div class="num">{{ unclearedOnlineDebtCount }}<span></span></div>
</div>
</div>
<div class="item">
<img src="./assets/ticketSum.png" alt="" />
<div class="info-sum">
<div class="title">未结清贷本金</div>
<div class="title">未结清贷本金</div>
<div class="num">{{ unClearedOnlineDebtPrinciple }}<span></span></div>
</div>
</div>
<div class="item">
<img src="./assets/completionTickets.png" alt="" />
<div class="info-sum">
<div class="title">未结清贷利息</div>
<div class="title">未结清贷利息</div>
<div class="num">{{ unClearedOnlineDebtInterest }}<span></span></div>
</div>
</div>
@@ -382,21 +382,21 @@
<div class="item">
<img src="./assets/one.png" alt="" />
<div class="info-sum">
<div class="title">已结清</div>
<div class="title">已结清贷</div>
<div class="num">{{ clearedOnlineDebtCount }}<span></span></div>
</div>
</div>
<div class="item">
<img src="./assets/ticketSum.png" alt="" />
<div class="info-sum">
<div class="title">已结清贷本金</div>
<div class="title">已结清贷本金</div>
<div class="num">{{ clearedOnlineDebtPrinciple }}<span></span></div>
</div>
</div>
<div class="item">
<img src="./assets/completionTickets.png" alt="" />
<div class="info-sum">
<div class="title">已结清贷利息</div>
<div class="title">已结清贷利息</div>
<div class="num">{{ clearedOnlineDebtInterest }}<span></span></div>
</div>
</div>
@@ -688,18 +688,18 @@ const debitTotalBalance = ref(0) //储蓄账户余额
//借贷账户信息
const peopleLendHistory = ref(0) //人情借贷余额
const peopleLendCount = ref(0) //人情账户
const onlineLendCount = ref(0) //贷账户
const unclearedOnlineDebtCount = ref(0) //未结清贷账户数
const unClearedOnlineDebt = ref(0) //未结清贷本息
const unClearedOnlineDebtPrinciple = ref(0) //未结清贷本金
const unClearedOnlineDebtInterest = ref(0) //未结清贷利息
const clearedOnlineDebtCount = ref(0) //已结清贷账户数
const clearedOnlineDebt = ref(0) //已结清贷本息
const clearedOnlineDebtPrinciple = ref(0) //已结清贷本金
const clearedOnlineDebtInterest = ref(0) //已结清贷利息
const dueOnlineDebt = ref(0) //本月应还
const repaidOnlineDebt = ref(0) //本月已还
const leftOnlineDebt = ref(0) //本月剩余应还
const onlineLendCount = ref(0) //贷账户
const unclearedOnlineDebtCount = ref(0) //未结清贷账户数
const unClearedOnlineDebt = ref(0) //未结清贷本息
const unClearedOnlineDebtPrinciple = ref(0) //未结清贷本金
const unClearedOnlineDebtInterest = ref(0) //未结清贷利息
const clearedOnlineDebtCount = ref(0) //已结清贷账户数
const clearedOnlineDebt = ref(0) //已结清贷本息
const clearedOnlineDebtPrinciple = ref(0) //已结清贷本金
const clearedOnlineDebtInterest = ref(0) //已结清贷利息
const dueOnlineDebt = ref(0) //本月应还贷
const repaidOnlineDebt = ref(0) //本月已还贷
const leftOnlineDebt = ref(0) //本月剩余应还贷
//信用卡信息
const creditInstallmentHistory = ref(0)

View File

@@ -157,7 +157,7 @@
<img src="@/assets/images/average.png" alt="" />
</div>
<div class="item-wrap">
<div class="title">贷利息</div>
<div class="title">利息</div>
<div>
<span class="num">{{ account.onLineInterest }}</span> <span class="unit"></span>
</div>

View File

@@ -37,8 +37,8 @@
<div class="title">基本信息</div>
<div class="operate-btn-con">
<el-button @click="handleAdd" icon="Plus" v-hasPermi="['invest:accountDealRecord:add']">新增</el-button>
<el-button :disabled="multiple" icon="Delete" @click="handleDelete" v-hasPermi="['invest:accountDealRecord:remove']">删除</el-button>
<el-button @click="handleExport" icon="Download" v-hasPermi="['invest:accountDealRecord:export']">导出</el-button>
<!-- <el-button :disabled="multiple" icon="Delete" @click="handleDelete" v-hasPermi="['invest:accountDealRecord:remove']">删除</el-button> -->
<!-- <el-button @click="handleExport" icon="Download" v-hasPermi="['invest:accountDealRecord:export']">导出</el-button> -->
</div>
</div>
<div class="content-con" v-loading="loading" height="calc(100% - 0.65rem)">

View File

@@ -33,7 +33,7 @@
<div class="operate-btn-con">
<!-- <el-button @click="handleAdd" icon="Plus" v-hasPermi="['invest:accounts:add']">新增</el-button> -->
<!-- <el-button :disabled="multiple" icon="Delete" @click="handleDelete" v-hasPermi="['invest:accounts:remove']">删除</el-button> -->
<el-button @click="handleExport" icon="Download" v-hasPermi="['invest:accounts:export']">导出</el-button>
<!-- <el-button @click="handleExport" icon="Download" v-hasPermi="['invest:accounts:export']">导出</el-button> -->
</div>
</div>
<div class="content-con" v-loading="loading">

View File

@@ -28,7 +28,7 @@
<div class="operate-btn-con">
<el-button @click="handleAdd" icon="Plus" v-hasPermi="['invest:creditCardBill:add']">新增</el-button>
<el-button :disabled="multiple" icon="Delete" @click="handleDelete" v-hasPermi="['invest:creditCardBill:remove']">删除</el-button>
<el-button @click="handleExport" icon="Download" v-hasPermi="['invest:creditCardBill:export']">导出</el-button>
<!-- <el-button @click="handleExport" icon="Download" v-hasPermi="['invest:creditCardBill:export']">导出</el-button> -->
</div>
</div>
<div class="content-con" v-loading="loading">
@@ -63,7 +63,7 @@
</div>
<!-- 添加或修改信用卡账单对话框 -->
<el-dialog :title="title" v-model="open" width="500px" append-to-body>
<el-form ref="creditCardBillRef" :model="form" :rules="rules" label-width="120px">
<el-form ref="creditCardBillRef" :model="form" :rules="rules" label-width="100px">
<el-form-item label="信用卡" prop="creditCardId">
<el-select v-model="form.creditCardId" placeholder="请选择信用卡" clearable>
<el-option v-for="creditCard in creditCardList" :key="creditCard.id" :label="creditCard.nameCode" :value="creditCard.id" />

View File

@@ -25,7 +25,7 @@
<div class="operate-btn-con">
<el-button @click="handleAdd" icon="Plus" v-hasPermi="['invest:installmentHistory:add']">新增</el-button>
<!-- <el-button :disabled="multiple" icon="Delete" @click="handleDelete" v-hasPermi="['invest:installmentHistory:remove']">删除</el-button> -->
<el-button @click="handleExport" icon="Download" v-hasPermi="['invest:installmentHistory:export']">导出</el-button>
<!-- <el-button @click="handleExport" icon="Download" v-hasPermi="['invest:installmentHistory:export']">导出</el-button> -->
</div>
</div>
<div class="content-con" v-loading="loading">
@@ -298,7 +298,7 @@ const data = reactive({
},
rulesDetail: {
installmentHistoryId: [{ required: true, message: '分期历史id不能为空', trigger: 'blur' }],
bankCardLendId: [{ required: true, message: '信用卡网贷不能为空', trigger: 'blur' }],
bankCardLendId: [{ required: true, message: '信用卡不能为空', trigger: 'blur' }],
repaymentDate: [{ required: true, message: '入账日期不能为空', trigger: 'blur' }],
principal: [{ required: true, message: '应还本金不能为空', trigger: 'blur' }],
periods: [{ required: true, message: '还款期数不能为空', trigger: 'blur' }],

View File

@@ -35,7 +35,7 @@
<div class="operate-btn-con">
<el-button @click="handleAdd" icon="Plus" v-hasPermi="['invest:creditQueryRecord:add']">新增</el-button>
<el-button :disabled="multiple" icon="Delete" @click="handleDelete" v-hasPermi="['invest:creditQueryRecord:remove']">删除</el-button>
<el-button @click="handleExport" icon="Download" v-hasPermi="['invest:creditQueryRecord:export']">导出</el-button>
<!-- <el-button @click="handleExport" icon="Download" v-hasPermi="['invest:creditQueryRecord:export']">导出</el-button> -->
<el-button @click="handleQueryAnalysis" icon="Histogram" v-hasPermi="['invest:creditQueryRecord:add']">查询记录统计</el-button>
</div>
@@ -75,7 +75,7 @@
</div>
<!-- 添加或修改征信查询记录对话框 -->
<el-dialog :title="title" v-model="open" width="500px" append-to-body>
<el-form ref="CreditQueryRecordRef" :model="form" :rules="rules" label-width="120px">
<el-form ref="CreditQueryRecordRef" :model="form" :rules="rules" label-width="100px">
<el-form-item label="查询日期" prop="queryDate">
<el-date-picker clearable v-model="form.queryDate" type="date" value-format="YYYY-MM-DD" placeholder="请选择查询日期"> </el-date-picker>
</el-form-item>
@@ -102,7 +102,7 @@
<!-- 查询记录对话框 -->
<el-dialog :title="titleAnalysis" v-model="openAnalysis" width="500px" append-to-body>
<el-form ref="CreditQueryRecordAnalysisRef" :model="formAnalysis" label-width="120px">
<el-form ref="CreditQueryRecordAnalysisRef" :model="formAnalysis" label-width="130px">
<el-form-item label="查询日期">
<el-date-picker clearable v-model="queryParams.queryDateStart" type="date" value-format="YYYY-MM-DD" placeholder="请选择查询日期"> </el-date-picker>
</el-form-item>

View File

@@ -33,7 +33,7 @@
@click="handleDelete"
v-hasPermi="['invest:accountsTransferRecord:remove']"
>删除</el-button> -->
<el-button @click="handleExport" icon="Download" v-hasPermi="['invest:accountsTransferRecord:export']">导出</el-button>
<!-- <el-button @click="handleExport" icon="Download" v-hasPermi="['invest:accountsTransferRecord:export']">导出</el-button> -->
</div>
</div>
<div class="content-con" v-loading="loading">

View File

@@ -23,7 +23,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">
@@ -130,7 +130,7 @@
<el-option v-for="dict in is_zero_bill" :key="dict.value" :label="dict.label" :value="dict.value"></el-option>
</el-select>
</el-form-item>
<el-form-item label="备注" prop="remark">
<el-form-item label="备注" style="width: 792px" prop="remark">
<el-input v-model="form.remark" type="textarea" placeholder="请输入备注" />
</el-form-item>
</el-form>

View File

@@ -26,7 +26,7 @@
<div class="operate-btn-con">
<el-button @click="handleAdd" icon="Plus" v-hasPermi="['invest:debitInfors:add']">新增</el-button>
<el-button :disabled="multiple" icon="Delete" @click="handleDelete" v-hasPermi="['invest:debitInfors:remove']">删除</el-button>
<el-button @click="handleExport" icon="Download" v-hasPermi="['invest:debitInfors:export']">导出</el-button>
<!-- <el-button @click="handleExport" icon="Download" v-hasPermi="['invest:debitInfors:export']">导出</el-button> -->
</div>
</div>
<div class="content-con" v-loading="loading">

View File

@@ -33,7 +33,7 @@
@click="handleDelete"
v-hasPermi="['invest:accountsTransferRecord:remove']"
>删除</el-button> -->
<el-button @click="handleExport" icon="Download" v-hasPermi="['invest:accountsTransferRecord:export']">导出</el-button>
<!-- <el-button @click="handleExport" icon="Download" v-hasPermi="['invest:accountsTransferRecord:export']">导出</el-button> -->
</div>
</div>
<div class="content-con" v-loading="loading">

View File

@@ -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">

View File

@@ -23,7 +23,7 @@
<div class="operate-btn-con">
<el-button @click="handleAdd" icon="Plus" v-hasPermi="['invest:futureStocks:add']">新增</el-button>
<el-button :disabled="multiple" icon="Delete" @click="handleDelete" v-hasPermi="['invest:futureStocks:remove']">删除</el-button>
<el-button @click="handleExport" icon="Download" v-hasPermi="['invest:futureStocks:export']">导出</el-button>
<!-- <el-button @click="handleExport" icon="Download" v-hasPermi="['invest:futureStocks:export']">导出</el-button> -->
</div>
</div>
<div class="content-con" v-loading="loading">

View File

@@ -23,7 +23,7 @@
<div class="operate-btn-con">
<el-button @click="handleAdd" icon="Plus" v-hasPermi="['invest:futureStocksBill:add']">新增</el-button>
<el-button :disabled="multiple" icon="Delete" @click="handleDelete" v-hasPermi="['invest:futureStocksBill:remove']">删除</el-button>
<el-button @click="handleExport" icon="Download" v-hasPermi="['invest:futureStocksBill:export']">导出</el-button>
<!-- <el-button @click="handleExport" icon="Download" v-hasPermi="['invest:futureStocksBill:export']">导出</el-button> -->
</div>
</div>
<div class="content-con" v-loading="loading">
@@ -48,7 +48,7 @@
</div>
<!-- 添加或修改期货账单对话框 -->
<el-dialog :title="title" v-model="open" width="500px" append-to-body>
<el-form ref="futureStocksBillRef" :model="form" :rules="rules" label-width="120px">
<el-form ref="futureStocksBillRef" :model="form" :rules="rules" label-width="100px">
<el-form-item label="期货账户" prop="futureStocksId">
<el-select v-model="form.futureStocksId" placeholder="请选择期货账户" clearable>
<el-option v-for="futureStocks in futureStocksList" :key="futureStocks.id" :label="futureStocks.nameCode" :value="futureStocks.id" />

View File

@@ -23,7 +23,7 @@
<div class="operate-btn-con">
<el-button @click="handleAdd" icon="Plus" v-hasPermi="['invest:heartJourney:add']">新增</el-button>
<el-button :disabled="multiple" icon="Delete" @click="handleDelete" v-hasPermi="['invest:heartJourney:remove']">删除</el-button>
<el-button @click="handleExport" icon="Download" v-hasPermi="['invest:heartJourney:export']">导出</el-button>
<!-- <el-button @click="handleExport" icon="Download" v-hasPermi="['invest:heartJourney:export']">导出</el-button> -->
</div>
</div>
<div class="content-con" v-loading="loading">

View File

@@ -27,8 +27,8 @@
<div class="title">基本信息</div>
<div class="operate-btn-con">
<el-button @click="handleAdd" icon="Plus" v-hasPermi="['invest:accountDealRecord:add']">新增</el-button>
<el-button :disabled="multiple" icon="Delete" @click="handleDelete" v-hasPermi="['invest:accountDealRecord:remove']">删除</el-button>
<el-button @click="handleExport" icon="Download" v-hasPermi="['invest:accountDealRecord:export']">导出</el-button>
<!-- <el-button :disabled="multiple" icon="Delete" @click="handleDelete" v-hasPermi="['invest:accountDealRecord:remove']">删除</el-button> -->
<!-- <el-button @click="handleExport" icon="Download" v-hasPermi="['invest:accountDealRecord:export']">导出</el-button> -->
</div>
</div>
<div class="content-con" v-loading="loading">

View File

@@ -33,7 +33,7 @@
@click="handleDelete"
v-hasPermi="['invest:accountsTransferRecord:remove']"
>删除</el-button> -->
<el-button @click="handleExport" icon="Download" v-hasPermi="['invest:accountsTransferRecord:export']">导出</el-button>
<!-- <el-button @click="handleExport" icon="Download" v-hasPermi="['invest:accountsTransferRecord:export']">导出</el-button> -->
</div>
</div>
<div class="content-con" v-loading="loading">

View File

@@ -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 = '修改借贷账户信息'
})
}

View File

@@ -33,7 +33,7 @@
@click="handleDelete"
v-hasPermi="['invest:accountsTransferRecord:remove']"
>删除</el-button> -->
<el-button @click="handleExport" icon="Download" v-hasPermi="['invest:accountsTransferRecord:export']">导出</el-button>
<!-- <el-button @click="handleExport" icon="Download" v-hasPermi="['invest:accountsTransferRecord:export']">导出</el-button> -->
</div>
</div>
<div class="content-con" v-loading="loading">

View File

@@ -3,8 +3,8 @@
<div class="search-con">
<div class="title">查询条件</div>
<el-form :model="queryParams" ref="queryRef" :inline="true" :rules="rules" label-width="100px">
<el-form-item label="贷机构" prop="bankCardLendId">
<el-select v-model="queryParams.id" placeholder="请选择贷机构" clearable>
<el-form-item label="贷机构" prop="bankCardLendId">
<el-select v-model="queryParams.id" placeholder="请选择贷机构" clearable>
<el-option v-for="creditCard in creditCardList" :key="creditCard.id" :label="creditCard.nameCode" :value="creditCard.id" />
</el-select>
</el-form-item>
@@ -60,7 +60,7 @@
<img src="@/assets/images/accumulate.png" alt="" />
</div>
<div class="item-wrap">
<div class="title">未结清贷笔数</div>
<div class="title">未结清贷笔数</div>
<div>
<span class="num">{{ historyObj.unclearedDetailCount }}</span> <span class="unit"></span>
</div>
@@ -72,7 +72,7 @@
<img src="@/assets/images/accumulate.png" alt="" />
</div>
<div class="item-wrap">
<div class="title">未结清本息</div>
<div class="title">未结清贷本息</div>
<div>
<span class="num">{{ historyObj.unClearedDetail }}</span> <span class="unit"></span>
</div>
@@ -116,7 +116,7 @@
</div>
</div>
<div class="title-con">
<div class="title">贷还款计划</div>
<div class="title">还款计划</div>
<div class="operate-btn-con">
<el-radio-group v-model="radioVal" @change="handleRadioChange">
<el-radio-button label="柱状图" />
@@ -345,7 +345,7 @@ const drawBar = (data) => {
type: 'shadow'
},
formatter: function (params) {
return params[0].name + '<br>' + '贷待还金额:' + params[0].value + '元'
return params[0].name + '<br>' + '贷待还金额:' + params[0].value + '元'
}
},
grid: {
@@ -428,7 +428,7 @@ const drawLine = (data) => {
type: 'shadow'
},
formatter: function (params) {
return params[0].name + '<br>' + '贷待还金额' + params[0].value + '元'
return params[0].name + '<br>' + '贷待还金额' + params[0].value + '元'
}
},
xAxis: {

View File

@@ -3,8 +3,8 @@
<div class="search-con">
<div class="title">查询条件</div>
<el-form :model="queryParams" ref="queryRef" :inline="true" v-show="showSearch" label-width="100px">
<el-form-item label="贷机构" prop="bankCardLendId">
<el-select v-model="queryParams.bankCardLendId" placeholder="请选择贷机构" clearable>
<el-form-item label="贷机构" prop="bankCardLendId">
<el-select v-model="queryParams.bankCardLendId" placeholder="请选择贷机构" clearable>
<el-option v-for="creditCard in creditCardList" :key="creditCard.id" :label="creditCard.nameCode" :value="creditCard.id" />
</el-select>
</el-form-item>
@@ -25,12 +25,12 @@
<div class="operate-btn-con">
<el-button @click="handleAdd" icon="Plus" v-hasPermi="['invest:installmentHistory:add']">新增</el-button>
<!-- <el-button :disabled="multiple" icon="Delete" @click="handleDelete" v-hasPermi="['invest:installmentHistory:remove']">删除</el-button> -->
<el-button @click="handleExport" icon="Download" v-hasPermi="['invest:installmentHistory:export']">导出</el-button>
<!-- <el-button @click="handleExport" icon="Download" v-hasPermi="['invest:installmentHistory:export']">导出</el-button> -->
</div>
</div>
<div class="content-con" v-loading="loading">
<el-table v-loading="loading" :data="installmentHistoryList" @selection-change="handleSelectionChange" height="calc(100% - 0.62rem)">
<el-table-column label="贷机构" align="center" width="150" prop="bankNameCode" />
<el-table-column label="贷机构" align="center" width="150" prop="bankNameCode" />
<el-table-column label="借款金额" align="center" prop="installmentAmount" />
<el-table-column label="借款日期" align="center" prop="installmentDate" width="100">
<template #default="scope">
@@ -79,11 +79,11 @@
<el-pagination small background layout="total, prev, pager, next" :total="total" @current-change="handleCurrentChange" />
</div>
</div>
<!-- 添加或修改网络贷款对话框 -->
<!-- 添加或修改贷款账单对话框 -->
<el-dialog :title="title" v-model="open" width="880px" append-to-body>
<el-form ref="installmentHistoryRef" :model="form" :inline="true" :rules="rules" label-width="120px">
<el-form-item label="贷机构" prop="bankCardLendId">
<el-select v-model="form.bankCardLendId" placeholder="请选择贷机构" clearable>
<el-form-item label="贷机构" prop="bankCardLendId">
<el-select v-model="form.bankCardLendId" placeholder="请选择贷机构" clearable>
<el-option v-for="creditCard in creditCardList" :key="creditCard.id" :label="creditCard.nameCode" :value="creditCard.id" />
</el-select>
</el-form-item>
@@ -122,7 +122,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>
@@ -277,7 +277,7 @@ const data = reactive({
pageSize: 1000
},
rules: {
bankCardLendId: [{ required: true, message: '贷机构不能为空', trigger: 'blur' }],
bankCardLendId: [{ required: true, message: '贷机构不能为空', trigger: 'blur' }],
installmentAmount: [{ required: true, message: '借款金额不能为空', trigger: 'blur' }],
installmentDate: [{ required: true, message: '借款日期不能为空', trigger: 'blur' }],
period: [{ required: true, message: '借款期数不能为空', trigger: 'blur' }],
@@ -287,7 +287,7 @@ const data = reactive({
},
rulesDetail: {
installmentHistoryId: [{ required: true, message: '分期历史id不能为空', trigger: 'blur' }],
bankCardLendId: [{ required: true, message: '信用卡贷不能为空', trigger: 'blur' }],
bankCardLendId: [{ required: true, message: '信用卡贷不能为空', trigger: 'blur' }],
repaymentDate: [{ required: true, message: '还款日期不能为空', trigger: 'blur' }],
principal: [{ required: true, message: '应还本金不能为空', trigger: 'blur' }],
periods: [{ required: true, message: '还款期数不能为空', trigger: 'blur' }],
@@ -330,14 +330,14 @@ const handleDetailOperate = (operate, row) => {
const { queryParams, queryCreditCardParams, form, rules, formDetail, rulesDetail } = toRefs(data)
/** 查询贷机构卡管理列表 */
/** 查询贷机构卡管理列表 */
function getCreditCardList() {
listBankcardLend(queryCreditCardParams.value).then((response) => {
creditCardList.value = response.rows
})
}
/** 查询网络贷款列表 */
/** 查询贷款账单列表 */
function getList() {
loading.value = true
listInstallmentHistory(queryParams.value).then((response) => {
@@ -438,7 +438,7 @@ function handleSelectionChange(selection) {
// 查看
const handleView = (row) => {
title.value = '查看网络贷款'
title.value = '查看贷款账单'
form.value = row
open.value = true
}
@@ -447,7 +447,7 @@ const handleView = (row) => {
function handleAdd() {
reset()
open.value = true
title.value = '添加网络贷款'
title.value = '添加贷款账单'
}
/** 新增按钮操作 */
@@ -496,7 +496,7 @@ function handleUpdate(row) {
getInstallmentHistory(_id).then((response) => {
form.value = response.data
open.value = true
title.value = '修改网络贷款'
title.value = '修改贷款账单'
})
}

View File

@@ -3,8 +3,8 @@
<div class="search-con">
<div class="title">查询条件</div>
<el-form :model="queryParams" ref="queryRef" :inline="true" :rules="rules" label-width="100px">
<el-form-item label="贷机构" prop="bankCardLendId">
<el-select v-model="queryParams.id" placeholder="请选择贷机构" clearable>
<el-form-item label="贷机构" prop="bankCardLendId">
<el-select v-model="queryParams.id" placeholder="请选择贷机构" clearable>
<el-option v-for="creditCard in creditCardList" :key="creditCard.id" :label="creditCard.nameCode" :value="creditCard.id" />
</el-select>
</el-form-item>
@@ -60,7 +60,7 @@
<img src="@/assets/images/accumulate.png" alt="" />
</div>
<div class="item-wrap">
<div class="title">已结清贷笔数</div>
<div class="title">已结清贷笔数</div>
<div>
<span class="num">{{ historyObj.clearedCount }}</span> <span class="unit"></span>
</div>
@@ -71,7 +71,7 @@
<img src="@/assets/images/accumulate.png" alt="" />
</div>
<div class="item-wrap">
<div class="title">已结清本息</div>
<div class="title">已结清贷本息</div>
<div>
<span class="num">{{ historyObj.clearedTotal }}</span> <span class="unit"></span>
</div>
@@ -82,7 +82,7 @@
<img src="@/assets/images/accumulate.png" alt="" />
</div>
<div class="item-wrap">
<div class="title">已结清本金</div>
<div class="title">已结清贷本金</div>
<div>
<span class="num">{{ historyObj.clearedPrincipal }}</span> <span class="unit"></span>
</div>
@@ -102,7 +102,7 @@
</div>
</div>
<div class="title-con">
<div class="title">已结清贷统计</div>
<div class="title">已结清贷统计</div>
<div class="operate-btn-con">
<el-radio-group v-model="radioVal" @change="handleRadioChange">
<el-radio-button label="柱状图" />

View File

@@ -3,8 +3,8 @@
<div class="search-con">
<div class="title">查询条件</div>
<el-form :model="queryParams" ref="queryRef" :inline="true" v-show="showSearch" label-width="100px">
<el-form-item label="人情借贷" prop="bankCardLendId">
<el-select v-model="queryParams.bankCardLendId" placeholder="请选择人情借贷" clearable>
<el-form-item label="人情账户" prop="bankCardLendId">
<el-select v-model="queryParams.bankCardLendId" placeholder="请选择人情账户" clearable>
<el-option v-for="creditCard in creditCardList" :key="creditCard.id" :label="creditCard.nameCode" :value="creditCard.id" />
</el-select>
</el-form-item>
@@ -25,13 +25,13 @@
<div class="operate-btn-con">
<el-button @click="handleAdd" icon="Plus" v-hasPermi="['invest:installmentHistory:add']">新增</el-button>
<el-button :disabled="multiple" icon="Delete" @click="handleDelete" v-hasPermi="['invest:installmentHistory:remove']">删除</el-button>
<el-button @click="handleExport" icon="Download" v-hasPermi="['invest:installmentHistory:export']">导出</el-button>
<!-- <el-button @click="handleExport" icon="Download" v-hasPermi="['invest:installmentHistory:export']">导出</el-button> -->
</div>
</div>
<div class="content-con" v-loading="loading">
<el-table v-loading="loading" :data="installmentHistoryList" @selection-change="handleSelectionChange" height="calc(100% - 0.62rem)">
<el-table-column type="selection" width="55" align="center" />
<el-table-column label="人情借贷" align="center" width="200" prop="bankNameCode" />
<el-table-column label="人情账户" align="center" width="200" prop="bankNameCode" />
<el-table-column label="借款金额" align="center" prop="installmentAmount" />
<el-table-column label="借款日期" align="center" prop="installmentDate" width="180">
<template #default="scope">
@@ -62,11 +62,11 @@
<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="installmentHistoryRef" :model="form" :rules="rules" label-width="120px">
<el-form-item label="人情借贷" prop="bankCardLendId">
<el-select v-model="form.bankCardLendId" placeholder="请选择人情借贷" clearable>
<el-form ref="installmentHistoryRef" :model="form" :rules="rules" label-width="100px">
<el-form-item label="人情账户" prop="bankCardLendId">
<el-select v-model="form.bankCardLendId" placeholder="请选择人情账户" clearable>
<el-option v-for="creditCard in creditCardList" :key="creditCard.id" :label="creditCard.nameCode" :value="creditCard.id" />
</el-select>
</el-form-item>
@@ -88,7 +88,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>
@@ -140,12 +140,12 @@ const data = reactive({
queryCreditCardParams: {
pageNum: 1,
type: '3',
status: '1',
// status: '1',
lendType: '2',
pageSize: 1000
},
rules: {
bankCardLendId: [{ required: true, message: '人情借贷不能为空', trigger: 'blur' }],
bankCardLendId: [{ required: true, message: '人情账户不能为空', trigger: 'blur' }],
installmentAmount: [{ required: true, message: '借款金额不能为空', trigger: 'blur' }],
installmentDate: [{ required: true, message: '借款日期不能为空', trigger: 'blur' }],
state: [{ required: true, message: '账户状态不能为空', trigger: 'change' }]
@@ -170,14 +170,14 @@ const handleOperate = (operate, row) => {
const { queryParams, queryCreditCardParams, form, rules } = toRefs(data)
/** 查询贷机构卡管理列表 */
/** 查询贷机构卡管理列表 */
function getCreditCardList() {
listBankcardLend(queryCreditCardParams.value).then((response) => {
creditCardList.value = response.rows
})
}
/** 查询人情借贷列表 */
/** 查询人情账户列表 */
function getList() {
loading.value = true
listInstallmentHistory(queryParams.value).then((response) => {
@@ -247,7 +247,7 @@ function handleSelectionChange(selection) {
// 查看
const handleView = (row) => {
title.value = '查看人情借贷'
title.value = '查看人情账单'
form.value = row
open.value = true
}
@@ -256,7 +256,7 @@ const handleView = (row) => {
function handleAdd() {
reset()
open.value = true
title.value = '添加人情借贷'
title.value = '添加人情账单'
}
/** 修改按钮操作 */
@@ -266,7 +266,7 @@ function handleUpdate(row) {
getInstallmentHistory(_id).then((response) => {
form.value = response.data
open.value = true
title.value = '修改人情借贷'
title.value = '修改人情账单'
})
}

View File

@@ -33,7 +33,7 @@
@click="handleDelete"
v-hasPermi="['invest:accountsTransferRecord:remove']"
>删除</el-button> -->
<el-button @click="handleExport" icon="Download" v-hasPermi="['invest:accountsTransferRecord:export']">导出</el-button>
<!-- <el-button @click="handleExport" icon="Download" v-hasPermi="['invest:accountsTransferRecord:export']">导出</el-button> -->
</div>
</div>
<div class="content-con" v-loading="loading">

View File

@@ -31,7 +31,7 @@
<div class="operate-btn-con">
<el-button @click="handleAdd" icon="Plus" v-hasPermi="['invest:posmachine:add']">新增</el-button>
<el-button :disabled="multiple" icon="Delete" @click="handleDelete" v-hasPermi="['invest:posmachine:remove']">删除</el-button>
<el-button @click="handleExport" icon="Download" v-hasPermi="['invest:posmachine:export']">导出</el-button>
<!-- <el-button @click="handleExport" icon="Download" v-hasPermi="['invest:posmachine:export']">导出</el-button> -->
</div>
</div>
<div class="content-con" v-loading="loading">
@@ -263,7 +263,7 @@ function reset() {
ratePlus: 0,
activationDate: null,
status: null,
roudingMode: '1'
roundingMode: '1'
}
proxy.resetForm('posmachineRef')
}

View File

@@ -23,7 +23,7 @@
<div class="operate-btn-con">
<el-button @click="handleAdd" icon="Plus" v-hasPermi="['invest:futureStocks:add']">新增</el-button>
<el-button :disabled="multiple" icon="Delete" @click="handleDelete" v-hasPermi="['invest:futureStocks:remove']">删除</el-button>
<el-button @click="handleExport" icon="Download" v-hasPermi="['invest:futureStocks:export']">导出</el-button>
<!-- <el-button @click="handleExport" icon="Download" v-hasPermi="['invest:futureStocks:export']">导出</el-button> -->
</div>
</div>
<div class="content-con" v-loading="loading">
@@ -36,7 +36,7 @@
<dict-tag :options="account_status" :value="scope.row.status" />
</template>
</el-table-column>
<el-table-column label="手续费" align="center" prop="commission" />
<!-- <el-table-column label="手续费" align="center" prop="commission" /> -->
<el-table-column label="关联储蓄卡" align="center" prop="bankNameCode" />
<el-table-column label="开户日期" align="center" prop="activationDate" width="180">
<template #default="scope">
@@ -91,7 +91,7 @@
<el-form-item label="手续费" prop="commission">
<el-input v-model="form.commission" placeholder="请输入手续费" />
</el-form-item>
<el-form-item label="备注" prop="remark">
<el-form-item label="备注" style="width: 812px" prop="remark">
<el-input v-model="form.remark" type="textarea" placeholder="请输入备注" />
</el-form-item>
</el-form>

View File

@@ -23,7 +23,7 @@
<div class="operate-btn-con">
<el-button @click="handleAdd" icon="Plus" v-hasPermi="['invest:futureStocksBill:add']">新增</el-button>
<el-button :disabled="multiple" icon="Delete" @click="handleDelete" v-hasPermi="['invest:futureStocksBill:remove']">删除</el-button>
<el-button @click="handleExport" icon="Download" v-hasPermi="['invest:futureStocksBill:export']">导出</el-button>
<!-- <el-button @click="handleExport" icon="Download" v-hasPermi="['invest:futureStocksBill:export']">导出</el-button> -->
</div>
</div>
<div class="content-con" v-loading="loading">
@@ -48,7 +48,7 @@
</div>
<!-- 添加或修改股票账单对话框 -->
<el-dialog :title="title" v-model="open" width="500px" append-to-body>
<el-form ref="futureStocksBillRef" :model="form" :rules="rules" label-width="120px">
<el-form ref="futureStocksBillRef" :model="form" :rules="rules" label-width="100px">
<el-form-item label="股票账户" prop="futureStocksId">
<el-select v-model="form.futureStocksId" placeholder="请选择股票账户" clearable>
<el-option v-for="futureStocks in futureStocksList" :key="futureStocks.id" :label="futureStocks.nameCode" :value="futureStocks.id" />

View File

@@ -40,8 +40,8 @@ export default defineConfig(({ mode, command }) => {
proxy: {
// https://cn.vitejs.dev/config/#server-proxy
'/dev-api': {
target: 'http://154.8.147.51:8288',
// target: 'http://127.0.0.1:8080',
// target: 'http://154.8.147.51:8288',
target: 'http://127.0.0.1:8080',
changeOrigin: true,
rewrite: (p) => p.replace(/^\/dev-api/, '')
},