fix: 首页功能优化完善。
This commit is contained in:
@@ -1,36 +1,54 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 标题--投资收益
|
||||
export function getIncomeInfo(query) {
|
||||
// 账户总览--信用卡信息
|
||||
export function getCreditAccountsInfo(query) {
|
||||
return request({
|
||||
url: '/invest/analysis/accountAnalysis/getIncomeInfo',
|
||||
url: '/invest/analysis/getCreditAccountsInfo',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 标题--基础信息
|
||||
export function getBaseAccountInfo(query) {
|
||||
// 账户总览--POS机信息
|
||||
export function getPosAccountsInfo(query) {
|
||||
return request({
|
||||
url: '/invest/analysis/accountAnalysis/getBaseAccountInfo',
|
||||
url: '/invest/analysis/getPosAccountsInfo',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 标题--负债信息
|
||||
export function getDebetInfo(query) {
|
||||
// 账户总览--储蓄账户信息
|
||||
export function getDebitAccountsInfo(query) {
|
||||
return request({
|
||||
url: '/invest/analysis/accountAnalysis/getDebetInfo',
|
||||
url: '/invest/analysis/getDebitAccountsInfo',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 标题--信用卡信息
|
||||
export function getCreditInfo(query) {
|
||||
// 账户总览--投资账户信息
|
||||
export function getInvestAccountsInfo(query) {
|
||||
return request({
|
||||
url: '/invest/analysis/accountAnalysis/getCreditInfo',
|
||||
url: '/invest/analysis/getInvestAccountsInfo',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 账户总览--借贷账户信息
|
||||
export function getLendAccountsInfo(query) {
|
||||
return request({
|
||||
url: '/invest/analysis/getLendAccountsInfo',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 账户总览--征信报告信息
|
||||
export function getCreditReportInfo(query) {
|
||||
return request({
|
||||
url: '/invest/analysis/getCreditReportInfo',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -57,7 +57,7 @@
|
||||
<view class="list-item">
|
||||
<view class="item-header">
|
||||
<u--text lines="1"
|
||||
:text="item.account+':'+item.availableLimit" size="25rpx" color="#333333" ></u--text>
|
||||
:text="item.account+':'+item.availableLimit" size="30rpx" color="#333333" ></u--text>
|
||||
</view>
|
||||
|
||||
</view>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<u-navbar
|
||||
leftIconSize="40rpx"
|
||||
leftIconColor="#333333"
|
||||
title="储蓄卡管理"
|
||||
title="储蓄账户管理"
|
||||
>
|
||||
</u-navbar>
|
||||
<view class="section">
|
||||
@@ -11,12 +11,12 @@
|
||||
<view class="form-view">
|
||||
<u--form labelPosition="left" :model="form" :rules="rules" ref="uForm" label-width="auto"
|
||||
:labelStyle="{ color: '#333333', fontSize: '30rpx' }">
|
||||
<u-form-item label="储蓄卡名称" prop="name" required >
|
||||
<u--input v-model="form.name" placeholder="请填写储蓄卡名称"
|
||||
<u-form-item label="储蓄账户名称" prop="name" required >
|
||||
<u--input v-model="form.name" placeholder="请填写储蓄账户名称"
|
||||
inputAlign="right" border="none"></u--input>
|
||||
</u-form-item>
|
||||
<u-form-item label="储蓄卡卡号" prop="code" required >
|
||||
<u--input v-model="form.code" placeholder="请填写储蓄卡卡号"
|
||||
<u-form-item label="储蓄账户卡号" prop="code" required >
|
||||
<u--input v-model="form.code" placeholder="请填写储蓄账户卡号"
|
||||
inputAlign="right" border="none"></u--input>
|
||||
</u-form-item>
|
||||
<u-form-item label="账户状态" required prop="statusName" @click="handleShowStatus">
|
||||
@@ -28,8 +28,8 @@
|
||||
<u--input v-model="form.balance" placeholder="请填写余额"
|
||||
inputAlign="right" border="none"></u--input>
|
||||
</u-form-item>
|
||||
<u-form-item label="储蓄卡类型" prop="debitTypeName" required @click="handleShowTeam">
|
||||
<u--input v-model="form.debitTypeName" disabled disabledColor="#ffffff" placeholder="请选择储蓄卡类型"
|
||||
<u-form-item label="储蓄账户类型" prop="debitTypeName" required @click="handleShowTeam">
|
||||
<u--input v-model="form.debitTypeName" disabled disabledColor="#ffffff" placeholder="请选择储蓄账户类型"
|
||||
inputAlign="right" border="none"></u--input>
|
||||
<u-icon slot="right" name="arrow-down"></u-icon>
|
||||
</u-form-item>
|
||||
@@ -81,7 +81,7 @@ import { getBankcardLend, addBankcardLend, updateBankcardLend } from '@/api/inve
|
||||
import {reactive ,toRefs,ref,computed ,getCurrentInstance }from "vue";
|
||||
const datePickShow = ref(false)
|
||||
const showTeam = ref(false)
|
||||
const title = ref("储蓄卡管理")
|
||||
const title = ref("储蓄账户管理")
|
||||
const debitTypeList = ref([])
|
||||
const dateType = ref(1)
|
||||
const showStatus = ref(false)
|
||||
@@ -113,11 +113,11 @@ const data = reactive({
|
||||
},
|
||||
// dateType:'1',
|
||||
rules: {
|
||||
name: [{ type: 'string', required: true, message: '储蓄卡名称不能为空', trigger: ['change', 'blur'] }],
|
||||
code: [{ type: 'string', required: true, message: '储蓄卡卡号不能为空', trigger: ['change', 'blur'] }],
|
||||
name: [{ type: 'string', required: true, message: '储蓄账户名称不能为空', trigger: ['change', 'blur'] }],
|
||||
code: [{ type: 'string', required: true, message: '储蓄账户卡号不能为空', trigger: ['change', 'blur'] }],
|
||||
balance: [{ type: 'number', required: true, message: '余额不能为空', trigger: ['change', 'blur'] }],
|
||||
statusName: [{ type: 'string', required: true, message: '账户状态不能为空', trigger: ['change', 'blur'] }],
|
||||
debitTypeName: [{ type: 'string', required: true, message: '储蓄卡类型不能为空', trigger: ['change', 'blur'] }],
|
||||
debitTypeName: [{ type: 'string', required: true, message: '储蓄账户类型不能为空', trigger: ['change', 'blur'] }],
|
||||
}
|
||||
})
|
||||
const { form, rules} = toRefs(data)
|
||||
@@ -125,9 +125,9 @@ const { form, rules} = toRefs(data)
|
||||
onLoad((option) => {
|
||||
form.value.id = option.id
|
||||
if(form.value.id!=null){
|
||||
title.value="储蓄卡管理-修改"
|
||||
title.value="储蓄账户管理-修改"
|
||||
}else{
|
||||
title.value="储蓄卡管理-新增"
|
||||
title.value="储蓄账户管理-新增"
|
||||
}
|
||||
getDict()
|
||||
})
|
||||
|
||||
@@ -3,14 +3,14 @@
|
||||
<u-navbar
|
||||
leftIconSize="40rpx"
|
||||
leftIconColor="#333333"
|
||||
title="储蓄卡详情"
|
||||
title="储蓄账户详情"
|
||||
>
|
||||
</u-navbar>
|
||||
<view class="section">
|
||||
<u-cell-group>
|
||||
<u-cell title="储蓄卡名称:" titleStyle="font-weight:bolder" :value="detailInfo.name"></u-cell>
|
||||
<u-cell title="储蓄卡卡号:" titleStyle="font-weight:bolder" :value="detailInfo.code"></u-cell>
|
||||
<u-cell title="储蓄卡类型:" titleStyle="font-weight:bolder" :value="detailInfo.debitType"></u-cell>
|
||||
<u-cell title="储蓄账户名称:" titleStyle="font-weight:bolder" :value="detailInfo.name"></u-cell>
|
||||
<u-cell title="储蓄账户卡号:" titleStyle="font-weight:bolder" :value="detailInfo.code"></u-cell>
|
||||
<u-cell title="储蓄账户类型:" titleStyle="font-weight:bolder" :value="detailInfo.debitType"></u-cell>
|
||||
<u-cell title="账户状态:" titleStyle="font-weight:bolder" :value="detailInfo.status"></u-cell>
|
||||
<u-cell title="开户行:" titleStyle="font-weight:bolder" :value="detailInfo.openingBank"></u-cell>
|
||||
<u-cell title="开户日期:" titleStyle="font-weight:bolder" center :value="detailInfo.activationDate"> </u-cell>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<view class="container">
|
||||
<u-sticky offsetTop="8rpx" customNavHeight="8rpx">
|
||||
<view class="search-view">
|
||||
<u--input v-model="queryParams.name" border="false" placeholder="请输入储蓄卡名称" class="search-input"
|
||||
<u--input v-model="queryParams.name" border="false" placeholder="请输入储蓄账户名称" class="search-input"
|
||||
@blur="searchBlur" suffixIcon="search" suffixIconStyle="color: #909399">
|
||||
</u--input>
|
||||
<u-icon :name="filterPanel ? 'arrow-up-fill' : 'arrow-down-fill'" color="#666666" size="28" label="筛选"
|
||||
@@ -12,7 +12,7 @@
|
||||
<u-transition :show="filterPanel" mode="fade">
|
||||
<view class="filter-panel" :style="{ height: `${windowHeight - 42}px` }">
|
||||
<view class="filter-panel-content">
|
||||
<view class="filter-title">储蓄卡类型</view>
|
||||
<view class="filter-title">储蓄账户类型</view>
|
||||
<view class="state-list">
|
||||
<view v-for="item in debitTypeList" :key="item.id" class="state-item"
|
||||
:class="item.selected ? 'active' : ''" @click="selectStatus(item)">{{ item.dictLabel }}</view>
|
||||
@@ -34,7 +34,7 @@
|
||||
:text="item.name+'-'+item.code " size="30rpx" color="#333333" :bold="true"></u--text>
|
||||
</view>
|
||||
<view class="item-row">
|
||||
<text class="row-label">储蓄卡类型:</text>
|
||||
<text class="row-label">储蓄账户类型:</text>
|
||||
<text class="row-value">{{ dictStr(item.debitType, debitTypeList) }}</text>
|
||||
</view>
|
||||
<view class="item-row">
|
||||
@@ -42,7 +42,7 @@
|
||||
<text class="row-value">{{ dictStr(item.status, statusList) }}</text>
|
||||
</view>
|
||||
<!-- <view class="item-row">
|
||||
<text class="row-label">储蓄卡卡号:</text>
|
||||
<text class="row-label">储蓄账户卡号:</text>
|
||||
<text class="row-value">{{ item.code }}</text>
|
||||
</view> -->
|
||||
<view class="item-row">
|
||||
|
||||
@@ -133,7 +133,8 @@ const data = reactive({
|
||||
queryDebitCardParams: {
|
||||
pageNum: 1,
|
||||
type: '1',
|
||||
status: '1',
|
||||
debitType: '1',
|
||||
status: '1',
|
||||
pageSize: 1000
|
||||
},
|
||||
// dateType:'1',
|
||||
|
||||
@@ -163,7 +163,8 @@ const data = reactive({
|
||||
queryDebitCardParams: {
|
||||
pageNum: 1,
|
||||
type: '1',
|
||||
status: '1',
|
||||
debitType: '1',
|
||||
status: '1',
|
||||
pageSize: 1000
|
||||
},
|
||||
// dateType:'1',
|
||||
|
||||
@@ -117,7 +117,8 @@ const data = reactive({
|
||||
queryDebitCardParams: {
|
||||
pageNum: 1,
|
||||
type: '1',
|
||||
status: '1',
|
||||
debitType: '1',
|
||||
status: '1',
|
||||
pageSize: 1000
|
||||
},
|
||||
// dateType:'1',
|
||||
|
||||
Reference in New Issue
Block a user