From 2d075e65489a65acf827c392784215e2316a2d13 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E6=9D=8E=E5=BF=97=E5=BC=BA?= <357099073@qq.com>
Date: Fri, 22 May 2026 08:29:48 +0800
Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E8=8B=A5=E5=B9=B2=E7=95=8C?=
=?UTF-8?q?=E9=9D=A2?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
package.json | 2 +-
src/api/accountPool.js | 24 +
.../accountpool/cursor/components/detail.vue | 623 +++++++++++++++---
.../accountpool/cursor/components/edit.vue | 9 +-
src/views/accountpool/cursor/index.vue | 107 ++-
.../accountpool/kiro/components/detail.vue | 623 +++++++++++++++---
.../accountpool/kiro/components/edit.vue | 9 +-
src/views/accountpool/kiro/index.vue | 575 +++++++++++-----
.../windsurf/components/detail.vue | 623 +++++++++++++++---
.../accountpool/windsurf/components/edit.vue | 9 +-
src/views/accountpool/windsurf/index.vue | 64 +-
11 files changed, 2187 insertions(+), 481 deletions(-)
diff --git a/package.json b/package.json
index 11197d9..5603932 100644
--- a/package.json
+++ b/package.json
@@ -6,7 +6,7 @@
"scripts": {
"dev": "vite --open",
"clean": "node scripts/clean-dist.mjs",
- "build": "vite build",
+ "build": "node --max-old-space-size=4096 ./node_modules/vite/bin/vite.js build",
"preview": "vite preview"
},
"dependencies": {
diff --git a/src/api/accountPool.js b/src/api/accountPool.js
index 2206e2e..719af51 100644
--- a/src/api/accountPool.js
+++ b/src/api/accountPool.js
@@ -51,6 +51,30 @@ export function updateAccountPoolRemark(module, data) {
});
}
+export function setAccountPoolUnavailable(module, data) {
+ return request({
+ url: `${base(module)}/setUnavailable`,
+ method: 'post',
+ data,
+ });
+}
+
+export function updateAccountPoolPlatform(module, data) {
+ return request({
+ url: `${base(module)}/updatePlatform`,
+ method: 'post',
+ data,
+ });
+}
+
+export function unextractAccountPool(module, data) {
+ return request({
+ url: `${base(module)}/unextract`,
+ method: 'post',
+ data,
+ });
+}
+
export function replenishAccountPool(module, data) {
return request({
url: `${base(module)}/replenish`,
diff --git a/src/views/accountpool/cursor/components/detail.vue b/src/views/accountpool/cursor/components/detail.vue
index c0db780..37bed82 100644
--- a/src/views/accountpool/cursor/components/detail.vue
+++ b/src/views/accountpool/cursor/components/detail.vue
@@ -1,6 +1,6 @@
@@ -87,84 +161,406 @@ function copyToken() {
emit('update:modelValue', v)"
>
-
- {{ row.id }}
- {{ typeText(row.type) }}
- {{ row.account || '-' }}
- {{ row.password || '-' }}
-
- {{ row.token || '-' }}
-
-
- {{
- row.extractStatus === 2 ? '补号' : row.extracted ? '已提取' : '未提取'
- }}
-
-
- {{
- row.isUsed === null || row.isUsed === undefined
- ? '未探测'
- : Number(row.isUsed) === 1
- ? '可用'
- : Number(row.isUsed) === 0
- ? '已用完'
- : String(row.isUsed)
- }}
-
- {{ row.extractedAt || '-' }}
-
-
- {{ platformLabel }}
-
- -
-
-
-
- 账号+密码
- Token
+
+