diff --git a/src/api/invest/limitHistory.js b/src/api/invest/limitHistory.js
new file mode 100644
index 0000000..7e63df5
--- /dev/null
+++ b/src/api/invest/limitHistory.js
@@ -0,0 +1,44 @@
+import request from '@/utils/request'
+
+// 查询银行卡额度调整历史记录列表
+export function listLimitHistory(query) {
+ return request({
+ url: '/invest/limitHistory/list',
+ method: 'get',
+ params: query
+ })
+}
+
+// 查询银行卡额度调整历史记录详细
+export function getLimitHistory(id) {
+ return request({
+ url: '/invest/limitHistory/' + id,
+ method: 'get'
+ })
+}
+
+// 新增银行卡额度调整历史记录
+export function addLimitHistory(data) {
+ return request({
+ url: '/invest/limitHistory',
+ method: 'post',
+ data
+ })
+}
+
+// 修改银行卡额度调整历史记录
+export function updateLimitHistory(data) {
+ return request({
+ url: '/invest/limitHistory',
+ method: 'put',
+ data
+ })
+}
+
+// 删除银行卡额度调整历史记录
+export function delLimitHistory(id) {
+ return request({
+ url: '/invest/limitHistory/' + id,
+ method: 'delete'
+ })
+}
diff --git a/src/pages.json b/src/pages.json
index 42e4c38..ec1241c 100644
--- a/src/pages.json
+++ b/src/pages.json
@@ -429,6 +429,20 @@
}
}
,
+ {
+ "path": "pages/work/base/debitCard/adjustLimit",
+ "style": {
+ "navigationBarTitleText": "储蓄卡调额"
+ }
+ }
+ ,
+ {
+ "path": "pages/work/base/debitCard/limitHistory",
+ "style": {
+ "navigationBarTitleText": "调额记录"
+ }
+ }
+ ,
{
"path": "pages/work/base/lend/list",
"style": {
@@ -468,6 +482,18 @@
"navigationBarTitleText": "信用卡管理"
}
},
+ {
+ "path": "pages/work/base/creditCard/limitHistory",
+ "style": {
+ "navigationBarTitleText": "信用卡调额记录"
+ }
+ },
+ {
+ "path": "pages/work/base/creditCard/adjustLimit",
+ "style": {
+ "navigationBarTitleText": "信用卡调额"
+ }
+ },
{
"path": "pages/work/base/posmachine/list",
"style": {
diff --git a/src/pages/work/base/creditCard/adjustLimit.vue b/src/pages/work/base/creditCard/adjustLimit.vue
new file mode 100644
index 0000000..c389ac2
--- /dev/null
+++ b/src/pages/work/base/creditCard/adjustLimit.vue
@@ -0,0 +1,505 @@
+
+
+
+
+
+ {{ title }}
+
+
+
+
+
+
+ 元
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 元
+
+
+
+
+
+
+ 元
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/pages/work/base/creditCard/limitHistory.vue b/src/pages/work/base/creditCard/limitHistory.vue
new file mode 100644
index 0000000..4d1b54a
--- /dev/null
+++ b/src/pages/work/base/creditCard/limitHistory.vue
@@ -0,0 +1,495 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 调额类型
+ {{ item.limitTypeName || dictStr(item.type, limitTypeList) || '--' }}
+
+
+ 调整前额度
+ {{ item.beforeLimit }}元
+
+
+ 调整后额度
+ {{ item.afterLimit }}元
+
+
+ 生效日期
+ {{ item.effectDate || '--' }}
+
+
+ 截止日期
+ {{ item.deadlineDate }}
+
+
+ 备注
+ {{ item.remark }}
+
+
+
+
+
+
+
+ 修改
+
+
+
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/pages/work/base/creditCard/list.vue b/src/pages/work/base/creditCard/list.vue
index 86511ec..8ed64a0 100644
--- a/src/pages/work/base/creditCard/list.vue
+++ b/src/pages/work/base/creditCard/list.vue
@@ -80,6 +80,10 @@
+
+
+ 调额记录
+
修改
@@ -248,6 +252,10 @@ function formatCardCode(code) {
uni.navigateTo({ url: `/pages/work/base/creditCard/addEdit` })
isShow.value = true
}
+ function handleLimitHistory(item) {
+ uni.navigateTo({ url: `/pages/work/base/creditCard/limitHistory?bankCardLendId=${item.id}&name=${item.name}` })
+ isShow.value = true
+ }
function handleDelete(item) {
uni.showModal({
title: '确认删除',
@@ -553,6 +561,7 @@ page {
gap: 16rpx;
padding: 16rpx 24rpx 24rpx;
+ .btn-limit,
.btn-edit,
.btn-delete {
display: flex;
@@ -571,6 +580,12 @@ page {
}
}
+ .btn-limit {
+ background: rgba(250, 140, 22, 0.1);
+ color: #fa8c16;
+ border-color: rgba(250, 140, 22, 0.3);
+ }
+
.btn-edit {
background: rgba(102, 126, 234, 0.1);
color: #667eea;
diff --git a/src/pages/work/base/debitCard/adjustLimit.vue b/src/pages/work/base/debitCard/adjustLimit.vue
new file mode 100644
index 0000000..227fea9
--- /dev/null
+++ b/src/pages/work/base/debitCard/adjustLimit.vue
@@ -0,0 +1,470 @@
+
+
+
+
+
+ {{ title }}
+
+
+
+
+
+
+ 元
+
+
+
+
+
+
+
+
+
+
+ 元
+
+
+
+
+
+
+ 元
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/pages/work/base/debitCard/limitHistory.vue b/src/pages/work/base/debitCard/limitHistory.vue
new file mode 100644
index 0000000..e173ecc
--- /dev/null
+++ b/src/pages/work/base/debitCard/limitHistory.vue
@@ -0,0 +1,486 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 调整前额度
+ {{ item.beforeLimit }}元
+
+
+ 调整后额度
+ {{ item.afterLimit }}元
+
+
+ 生效日期
+ {{ item.effectDate || '--' }}
+
+
+ 截止日期
+ {{ item.deadlineDate }}
+
+
+ 备注
+ {{ item.remark }}
+
+
+
+
+
+
+
+ 修改
+
+
+
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/pages/work/base/debitCard/list.vue b/src/pages/work/base/debitCard/list.vue
index 0319f1d..f414792 100644
--- a/src/pages/work/base/debitCard/list.vue
+++ b/src/pages/work/base/debitCard/list.vue
@@ -84,6 +84,10 @@
+
+
+ 调额记录
+
修改
@@ -254,6 +258,10 @@ function selectStatus(item) {
uni.navigateTo({ url: `/pages/work/base/debitCard/addEdit` })
isShow.value = true
}
+ function handleLimitHistory(item) {
+ uni.navigateTo({ url: `/pages/work/base/debitCard/limitHistory?bankCardLendId=${item.id}&name=${item.name}` })
+ isShow.value = true
+ }
function handleDelete(item) {
uni.showModal({
title: '确认删除',
@@ -640,6 +648,7 @@ page {
gap: 16rpx;
.btn-edit,
+ .btn-limit,
.btn-delete {
display: flex;
align-items: center;
@@ -663,6 +672,12 @@ page {
border: 1rpx solid rgba(102, 126, 234, 0.3);
}
+ .btn-limit {
+ background: rgba(250, 140, 22, 0.1);
+ color: #fa8c16;
+ border: 1rpx solid rgba(250, 140, 22, 0.3);
+ }
+
.btn-delete {
background: rgba(245, 87, 108, 0.1);
color: #f5576c;