From 367bc5167cfd867de1b61c590b40b8f8068e6319 Mon Sep 17 00:00:00 2001
From: 18650502300 <18650502300@163.com>
Date: Fri, 24 May 2024 14:41:59 +0800
Subject: [PATCH] =?UTF-8?q?1.=20=E8=B4=A2=E5=8A=A1=E7=AE=A1=E7=90=86--?=
=?UTF-8?q?=E8=B5=84=E9=87=91=E6=B5=81=E6=B0=B4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/system/flow.js | 44 ++++
src/assets/icons/svg/capital_flow.svg | 1 +
src/assets/icons/svg/deposit.svg | 1 +
src/assets/icons/svg/finance-black.svg | 1 +
src/assets/icons/svg/finance.svg | 1 +
src/assets/icons/svg/reconciliation.svg | 1 +
src/views/system/flow/index.vue | 335 ++++++++++++++++++++++++
7 files changed, 384 insertions(+)
create mode 100644 src/api/system/flow.js
create mode 100644 src/assets/icons/svg/capital_flow.svg
create mode 100644 src/assets/icons/svg/deposit.svg
create mode 100644 src/assets/icons/svg/finance-black.svg
create mode 100644 src/assets/icons/svg/finance.svg
create mode 100644 src/assets/icons/svg/reconciliation.svg
create mode 100644 src/views/system/flow/index.vue
diff --git a/src/api/system/flow.js b/src/api/system/flow.js
new file mode 100644
index 0000000..08f0c42
--- /dev/null
+++ b/src/api/system/flow.js
@@ -0,0 +1,44 @@
+import request from '@/utils/request'
+
+// 查询资金流水列表
+export function listFlow(query) {
+ return request({
+ url: '/system/flow/list',
+ method: 'get',
+ params: query
+ })
+}
+
+// 查询资金流水详细
+export function getFlow(flowId) {
+ return request({
+ url: '/system/flow/' + flowId,
+ method: 'get'
+ })
+}
+
+// 新增资金流水
+export function addFlow(data) {
+ return request({
+ url: '/system/flow',
+ method: 'post',
+ data: data
+ })
+}
+
+// 修改资金流水
+export function updateFlow(data) {
+ return request({
+ url: '/system/flow',
+ method: 'put',
+ data: data
+ })
+}
+
+// 删除资金流水
+export function delFlow(flowId) {
+ return request({
+ url: '/system/flow/' + flowId,
+ method: 'delete'
+ })
+}
diff --git a/src/assets/icons/svg/capital_flow.svg b/src/assets/icons/svg/capital_flow.svg
new file mode 100644
index 0000000..dd3515d
--- /dev/null
+++ b/src/assets/icons/svg/capital_flow.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/src/assets/icons/svg/deposit.svg b/src/assets/icons/svg/deposit.svg
new file mode 100644
index 0000000..4edc348
--- /dev/null
+++ b/src/assets/icons/svg/deposit.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/src/assets/icons/svg/finance-black.svg b/src/assets/icons/svg/finance-black.svg
new file mode 100644
index 0000000..a1ae670
--- /dev/null
+++ b/src/assets/icons/svg/finance-black.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/src/assets/icons/svg/finance.svg b/src/assets/icons/svg/finance.svg
new file mode 100644
index 0000000..d322f32
--- /dev/null
+++ b/src/assets/icons/svg/finance.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/src/assets/icons/svg/reconciliation.svg b/src/assets/icons/svg/reconciliation.svg
new file mode 100644
index 0000000..d1ddc3d
--- /dev/null
+++ b/src/assets/icons/svg/reconciliation.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/src/views/system/flow/index.vue b/src/views/system/flow/index.vue
new file mode 100644
index 0000000..1b36883
--- /dev/null
+++ b/src/views/system/flow/index.vue
@@ -0,0 +1,335 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 搜索
+ 重置
+
+
+
+
+
+ 导出
+
+
+
+
+
+
+
+
+
+ {{ parseTime(scope.row.createTime, '{y}-{m}-{d} {h}:{i}:{s}') }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+