From b2f4549b57679a06167e0e83e289a7bdc9e8bb76 Mon Sep 17 00:00:00 2001 From: weiwei Date: Tue, 4 Mar 2025 10:29:47 +0800 Subject: [PATCH] =?UTF-8?q?=E6=AD=A3=E5=85=83=E5=90=8C=E6=AD=A5=E9=85=8D?= =?UTF-8?q?=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/wallet/third-zy-log.ts | 40 +++++ .../components/third-zy/form.vue | 137 ++++++++++++++++++ .../components/third-zy/index.vue | 123 ++++++++++++++++ src/views/wallet/wallet-setting/index.vue | 3 + 4 files changed, 303 insertions(+) create mode 100644 src/api/wallet/third-zy-log.ts create mode 100644 src/views/wallet/wallet-setting/components/third-zy/form.vue create mode 100644 src/views/wallet/wallet-setting/components/third-zy/index.vue diff --git a/src/api/wallet/third-zy-log.ts b/src/api/wallet/third-zy-log.ts new file mode 100644 index 0000000..d4d15a2 --- /dev/null +++ b/src/api/wallet/third-zy-log.ts @@ -0,0 +1,40 @@ +import request from "/@/utils/request" + +export function fetchList(query?: Object) { + return request({ + url: "/third/third-zy-log/page", + method: "get", + params: query, + }) +} + +export function addObj(obj?: Object) { + return request({ + url: "/third/third-zy-log", + method: "post", + data: obj, + }) +} + +export function getObj(id?: string) { + return request({ + url: "/third/third-zy-log/" + id, + method: "get", + }) +} + +export function delObjs(ids?: Object) { + return request({ + url: "/third/third-zy-log", + method: "delete", + data: ids, + }) +} + +export function putObj(obj?: Object) { + return request({ + url: "/third/third-zy-log", + method: "put", + data: obj, + }) +} diff --git a/src/views/wallet/wallet-setting/components/third-zy/form.vue b/src/views/wallet/wallet-setting/components/third-zy/form.vue new file mode 100644 index 0000000..97ac6e1 --- /dev/null +++ b/src/views/wallet/wallet-setting/components/third-zy/form.vue @@ -0,0 +1,137 @@ + + + diff --git a/src/views/wallet/wallet-setting/components/third-zy/index.vue b/src/views/wallet/wallet-setting/components/third-zy/index.vue new file mode 100644 index 0000000..3a5d50d --- /dev/null +++ b/src/views/wallet/wallet-setting/components/third-zy/index.vue @@ -0,0 +1,123 @@ + + + diff --git a/src/views/wallet/wallet-setting/index.vue b/src/views/wallet/wallet-setting/index.vue index 2d83fa9..676e80a 100644 --- a/src/views/wallet/wallet-setting/index.vue +++ b/src/views/wallet/wallet-setting/index.vue @@ -14,6 +14,7 @@ + @@ -25,6 +26,7 @@ const Code = defineAsyncComponent(() => import("./components/code/index.vue")) const Refund = defineAsyncComponent(() => import("./components/refund/index.vue")) const OffLine = defineAsyncComponent(() => import("./components/off-line/index.vue")) const ExtraPrice = defineAsyncComponent(() => import("./components/extra-price/index.vue")) +const ThirdZy = defineAsyncComponent(() => import("./components/third-zy/index.vue")) const data = { tabList: [ @@ -33,6 +35,7 @@ const data = { { id: 30, label: "退款配置" }, { id: 40, label: "二维码配置" }, { id: 50, label: "离线配置" }, + { id: 60, label: "正元同步配置" }, ], }