From d1847bfd26dfb0e29428ea9235947fa822fa30cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E5=BF=97=E5=BC=BA?= <357099073@qq.com> Date: Thu, 14 May 2026 17:10:29 +0800 Subject: [PATCH 1/4] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=89=B9=E9=87=8F?= =?UTF-8?q?=E6=8F=90=E5=8F=96=E6=97=A0=E6=B3=95=E4=BD=BF=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/accountpool/cursor/index.vue | 68 +++++++++++++++++++++++++- 1 file changed, 67 insertions(+), 1 deletion(-) diff --git a/src/views/accountpool/cursor/index.vue b/src/views/accountpool/cursor/index.vue index b8bfc34..a972eaa 100644 --- a/src/views/accountpool/cursor/index.vue +++ b/src/views/accountpool/cursor/index.vue @@ -285,7 +285,7 @@ async function handleBatchExtract() { const text = succeeded.map(rowToText).filter(Boolean).join("\n"); navigator.clipboard.writeText(text).catch(() => {}); } - fetchList(); + await fetchList(); } finally { loading.value = false; } @@ -968,6 +968,44 @@ async function handleBatchProbe() { @confirm="handleReplenish" /> + + + 将对已选的 {{ selectedRows.length }} 条记录执行提取并标记为已提取。 + + + + + + + + + + + + + + Date: Fri, 22 May 2026 08:29:48 +0800 Subject: [PATCH 2/4] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E8=8B=A5=E5=B9=B2?= =?UTF-8?q?=E7=95=8C=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() { - - {{ 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 + + +
+
+
+
ID
+
{{ row?.id || "-" }}
+
+
+
账号类型
+
+ {{ typeInfo.label }} +
+
+
+
提取状态
+
+ + {{ statusInfo.label }} + +
+
+
+
提取平台
+
+ + {{ platformInfo.label }} + + - +
+
+
+
提取时间
+
{{ row.extractedAt || "-" }}
+
+
+
可用检测
+
+ + {{ isUsedInfo.label }} + +
+
+
+
账号
+
{{ row.account || "-" }}
+
+
+
密码
+
{{ row.password || "-" }}
+
+
+ +
+
+
+
Token
+
+ 长 Token 已做自动换行,便于检查与复制 +
+
+ + 复制 Token
- - +
{{ row.token || "暂无 Token" }}
+
+ +
+
+
+
快捷功能
+
按使用场景复制账号信息
+
+
+
+ + 复制账号+密码 + + + 复制 Token + + + 复制全部 + +
+
+ +
+
+
+
维护操作
+
+ 点击按钮后打开确认/编辑弹窗,再执行对应操作 +
+
+
+
+ + 改不可用 + + + 改平台 + + + 反提取 + + + 改备注 + +
+
+ +
+
+
+
备注
+
备注改为弹窗编辑,当前仅展示
+
+
+
{{ row.remark || "暂无备注" }}
+
+
+ + + + + 确认将当前账号标记为不可用/已用完? + + + + + + + + + + + + + + + + + + 反提取会把账号恢复为未提取,并清空提取时间与提取平台。 + + + + + + + diff --git a/src/views/accountpool/cursor/components/edit.vue b/src/views/accountpool/cursor/components/edit.vue index b6c00d8..dc58fa0 100644 --- a/src/views/accountpool/cursor/components/edit.vue +++ b/src/views/accountpool/cursor/components/edit.vue @@ -1,5 +1,6 @@