修复补号bug
This commit is contained in:
parent
bbecc5650d
commit
e776179c72
@ -183,7 +183,17 @@ const asideTextColor = ref("#bfcbd9");
|
|||||||
const activeColor = ref("#3973FF");
|
const activeColor = ref("#3973FF");
|
||||||
const activeBgColor = ref("#3973FF");
|
const activeBgColor = ref("#3973FF");
|
||||||
|
|
||||||
|
const isMobile = ref(false);
|
||||||
|
const mobileOpen = computed(() => isMobile.value && !isCollapse.value);
|
||||||
|
|
||||||
const currentModuleId = ref(null);
|
const currentModuleId = ref(null);
|
||||||
|
|
||||||
|
const closeMobile = () => {
|
||||||
|
if (isMobile.value) {
|
||||||
|
store.state.isCollapse = true;
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
const updateDeviceType = () => {
|
const updateDeviceType = () => {
|
||||||
isMobile.value = window.innerWidth <= 768;
|
isMobile.value = window.innerWidth <= 768;
|
||||||
// 手机端默认收起侧边栏
|
// 手机端默认收起侧边栏
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
<script setup>
|
<script setup>
|
||||||
import { computed, onMounted, reactive, ref, watch } from "vue";
|
import { computed, onMounted, onUnmounted, reactive, ref, watch } from "vue";
|
||||||
import { ElMessage } from "element-plus";
|
import { ElMessage } from "element-plus";
|
||||||
import Edit from "./components/edit.vue";
|
import Edit from "./components/edit.vue";
|
||||||
import DetailDialog from "./components/detail.vue";
|
import DetailDialog from "./components/detail.vue";
|
||||||
@ -475,6 +475,7 @@ function copyCardInfo(row) {
|
|||||||
<div class="toolbar-right">
|
<div class="toolbar-right">
|
||||||
<el-button type="primary" @click="openAddDialog('single')">添加账号</el-button>
|
<el-button type="primary" @click="openAddDialog('single')">添加账号</el-button>
|
||||||
<el-button type="success" @click="openAddDialog('batch')">批量添加</el-button>
|
<el-button type="success" @click="openAddDialog('batch')">批量添加</el-button>
|
||||||
|
<el-button type="warning" @click="replenishVisible = true">补号</el-button>
|
||||||
<el-button @click="markExtractForSelected">批量标记提取</el-button>
|
<el-button @click="markExtractForSelected">批量标记提取</el-button>
|
||||||
<el-button @click="apiDocVisible = true">接口说明</el-button>
|
<el-button @click="apiDocVisible = true">接口说明</el-button>
|
||||||
</div>
|
</div>
|
||||||
@ -591,6 +592,19 @@ function copyCardInfo(row) {
|
|||||||
@confirm="handleExtract"
|
@confirm="handleExtract"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
|
<ReplenishDialog
|
||||||
|
v-model="replenishVisible"
|
||||||
|
:loading="loading"
|
||||||
|
:type="replenishForm.type"
|
||||||
|
:platform="replenishForm.platform"
|
||||||
|
:remark="replenishForm.remark"
|
||||||
|
:platform-map="PLATFORM_MAP"
|
||||||
|
@update:type="(v) => (replenishForm.type = v)"
|
||||||
|
@update:platform="(v) => (replenishForm.platform = v)"
|
||||||
|
@update:remark="(v) => (replenishForm.remark = v)"
|
||||||
|
@confirm="handleReplenish"
|
||||||
|
/>
|
||||||
|
|
||||||
<!-- 接口说明抽屉 -->
|
<!-- 接口说明抽屉 -->
|
||||||
<el-drawer
|
<el-drawer
|
||||||
v-model="apiDocVisible"
|
v-model="apiDocVisible"
|
||||||
|
|||||||
@ -433,6 +433,7 @@ function copyCardInfo(row) {
|
|||||||
<div class="toolbar-right">
|
<div class="toolbar-right">
|
||||||
<el-button type="primary" @click="openAddDialog('single')">添加账号</el-button>
|
<el-button type="primary" @click="openAddDialog('single')">添加账号</el-button>
|
||||||
<el-button type="success" @click="openAddDialog('batch')">批量添加</el-button>
|
<el-button type="success" @click="openAddDialog('batch')">批量添加</el-button>
|
||||||
|
<el-button type="warning" @click="replenishVisible = true">补号</el-button>
|
||||||
<el-button @click="markExtractForSelected">批量标记提取</el-button>
|
<el-button @click="markExtractForSelected">批量标记提取</el-button>
|
||||||
<el-button @click="apiDocVisible = true">接口说明</el-button>
|
<el-button @click="apiDocVisible = true">接口说明</el-button>
|
||||||
</div>
|
</div>
|
||||||
@ -447,6 +448,7 @@ function copyCardInfo(row) {
|
|||||||
/>
|
/>
|
||||||
</el-tabs>
|
</el-tabs>
|
||||||
|
|
||||||
|
<div class="table-scroll">
|
||||||
<el-table :data="pagedList" border stripe style="width: 100%" :loading="loading" @selection-change="handleSelectionChange">
|
<el-table :data="pagedList" border stripe style="width: 100%" :loading="loading" @selection-change="handleSelectionChange">
|
||||||
<el-table-column type="selection" width="52" />
|
<el-table-column type="selection" width="52" />
|
||||||
<el-table-column prop="id" label="ID" width="80" />
|
<el-table-column prop="id" label="ID" width="80" />
|
||||||
@ -538,6 +540,19 @@ function copyCardInfo(row) {
|
|||||||
@confirm="handleExtract"
|
@confirm="handleExtract"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
|
<ReplenishDialog
|
||||||
|
v-model="replenishVisible"
|
||||||
|
:loading="loading"
|
||||||
|
:type="replenishForm.type"
|
||||||
|
:platform="replenishForm.platform"
|
||||||
|
:remark="replenishForm.remark"
|
||||||
|
:platform-map="PLATFORM_MAP"
|
||||||
|
@update:type="(v) => (replenishForm.type = v)"
|
||||||
|
@update:platform="(v) => (replenishForm.platform = v)"
|
||||||
|
@update:remark="(v) => (replenishForm.remark = v)"
|
||||||
|
@confirm="handleReplenish"
|
||||||
|
/>
|
||||||
|
|
||||||
<!-- 接口说明抽屉 -->
|
<!-- 接口说明抽屉 -->
|
||||||
<el-drawer
|
<el-drawer
|
||||||
v-model="apiDocVisible"
|
v-model="apiDocVisible"
|
||||||
|
|||||||
@ -432,6 +432,7 @@ function copyCardInfo(row) {
|
|||||||
<div class="toolbar-right">
|
<div class="toolbar-right">
|
||||||
<el-button type="primary" @click="openAddDialog('single')">添加账号</el-button>
|
<el-button type="primary" @click="openAddDialog('single')">添加账号</el-button>
|
||||||
<el-button type="success" @click="openAddDialog('batch')">批量添加</el-button>
|
<el-button type="success" @click="openAddDialog('batch')">批量添加</el-button>
|
||||||
|
<el-button type="warning" @click="replenishVisible = true">补号</el-button>
|
||||||
<el-button @click="markExtractForSelected">批量标记提取</el-button>
|
<el-button @click="markExtractForSelected">批量标记提取</el-button>
|
||||||
<el-button @click="apiDocVisible = true">接口说明</el-button>
|
<el-button @click="apiDocVisible = true">接口说明</el-button>
|
||||||
</div>
|
</div>
|
||||||
@ -446,6 +447,7 @@ function copyCardInfo(row) {
|
|||||||
/>
|
/>
|
||||||
</el-tabs>
|
</el-tabs>
|
||||||
|
|
||||||
|
<div class="table-scroll">
|
||||||
<el-table :data="pagedList" border stripe style="width: 100%" :loading="loading" @selection-change="handleSelectionChange">
|
<el-table :data="pagedList" border stripe style="width: 100%" :loading="loading" @selection-change="handleSelectionChange">
|
||||||
<el-table-column type="selection" width="52" />
|
<el-table-column type="selection" width="52" />
|
||||||
<el-table-column prop="id" label="ID" width="80" />
|
<el-table-column prop="id" label="ID" width="80" />
|
||||||
@ -537,6 +539,19 @@ function copyCardInfo(row) {
|
|||||||
@confirm="handleExtract"
|
@confirm="handleExtract"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
|
<ReplenishDialog
|
||||||
|
v-model="replenishVisible"
|
||||||
|
:loading="loading"
|
||||||
|
:type="replenishForm.type"
|
||||||
|
:platform="replenishForm.platform"
|
||||||
|
:remark="replenishForm.remark"
|
||||||
|
:platform-map="PLATFORM_MAP"
|
||||||
|
@update:type="(v) => (replenishForm.type = v)"
|
||||||
|
@update:platform="(v) => (replenishForm.platform = v)"
|
||||||
|
@update:remark="(v) => (replenishForm.remark = v)"
|
||||||
|
@confirm="handleReplenish"
|
||||||
|
/>
|
||||||
|
|
||||||
<!-- 接口说明抽屉 -->
|
<!-- 接口说明抽屉 -->
|
||||||
<el-drawer
|
<el-drawer
|
||||||
v-model="apiDocVisible"
|
v-model="apiDocVisible"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user