修复批量提取无法使用
This commit is contained in:
parent
c6b97f79f2
commit
d1847bfd26
@ -285,7 +285,7 @@ async function handleBatchExtract() {
|
|||||||
const text = succeeded.map(rowToText).filter(Boolean).join("\n");
|
const text = succeeded.map(rowToText).filter(Boolean).join("\n");
|
||||||
navigator.clipboard.writeText(text).catch(() => {});
|
navigator.clipboard.writeText(text).catch(() => {});
|
||||||
}
|
}
|
||||||
fetchList();
|
await fetchList();
|
||||||
} finally {
|
} finally {
|
||||||
loading.value = false;
|
loading.value = false;
|
||||||
}
|
}
|
||||||
@ -968,6 +968,44 @@ async function handleBatchProbe() {
|
|||||||
@confirm="handleReplenish"
|
@confirm="handleReplenish"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
|
<el-dialog
|
||||||
|
v-model="batchExtractVisible"
|
||||||
|
class="pool-batch-extract-dialog"
|
||||||
|
title="批量标记提取"
|
||||||
|
width="90%"
|
||||||
|
destroy-on-close
|
||||||
|
>
|
||||||
|
<el-alert type="info" :closable="false" style="margin-bottom: 12px">
|
||||||
|
将对已选的 <strong>{{ selectedRows.length }}</strong> 条记录执行提取并标记为已提取。
|
||||||
|
</el-alert>
|
||||||
|
<el-form label-width="84px">
|
||||||
|
<el-form-item label="提取平台">
|
||||||
|
<el-select v-model="batchExtractForm.platform" style="width: 100%">
|
||||||
|
<el-option
|
||||||
|
v-for="(v, k) in PLATFORM_MAP"
|
||||||
|
:key="k"
|
||||||
|
:value="k"
|
||||||
|
:label="v.label"
|
||||||
|
/>
|
||||||
|
</el-select>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="备注">
|
||||||
|
<el-input
|
||||||
|
v-model="batchExtractForm.remark"
|
||||||
|
type="textarea"
|
||||||
|
:rows="3"
|
||||||
|
placeholder="提取备注(可选)"
|
||||||
|
/>
|
||||||
|
</el-form-item>
|
||||||
|
</el-form>
|
||||||
|
<template #footer>
|
||||||
|
<el-button @click="batchExtractVisible = false">取消</el-button>
|
||||||
|
<el-button type="primary" :loading="loading" @click="handleBatchExtract">
|
||||||
|
确认提取
|
||||||
|
</el-button>
|
||||||
|
</template>
|
||||||
|
</el-dialog>
|
||||||
|
|
||||||
<!-- 接口说明抽屉 -->
|
<!-- 接口说明抽屉 -->
|
||||||
<el-drawer
|
<el-drawer
|
||||||
v-model="apiDocVisible"
|
v-model="apiDocVisible"
|
||||||
@ -1120,6 +1158,10 @@ async function handleBatchProbe() {
|
|||||||
min-width: 980px;
|
min-width: 980px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
:deep(.pool-batch-extract-dialog) {
|
||||||
|
max-width: 420px;
|
||||||
|
}
|
||||||
|
|
||||||
@media (max-width: 768px) {
|
@media (max-width: 768px) {
|
||||||
.account-pool-page {
|
.account-pool-page {
|
||||||
padding: 8px;
|
padding: 8px;
|
||||||
@ -1155,6 +1197,30 @@ async function handleBatchProbe() {
|
|||||||
justify-content: center;
|
justify-content: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
:deep(.pool-batch-extract-dialog) {
|
||||||
|
width: calc(100vw - 24px) !important;
|
||||||
|
margin: 0 auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
:deep(.pool-batch-extract-dialog .el-dialog__body) {
|
||||||
|
padding: 12px;
|
||||||
|
}
|
||||||
|
|
||||||
|
:deep(.pool-batch-extract-dialog .el-form-item__label) {
|
||||||
|
width: 74px !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
:deep(.pool-batch-extract-dialog .el-dialog__footer .el-button) {
|
||||||
|
width: calc(50% - 6px);
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
:deep(.pool-batch-extract-dialog .el-dialog__footer) {
|
||||||
|
display: flex;
|
||||||
|
gap: 12px;
|
||||||
|
padding: 8px 12px 12px;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* 接口说明抽屉 */
|
/* 接口说明抽屉 */
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user