提交
This commit is contained in:
1 parent
575e63e7e8
commit
771f010a39
165 files changed
+67359
-21698
No files matched your search
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,651 @@
|
||||
<!-- 中试服务申请单列表页 -->
|
||||
<template>
|
||||
<div class="page-container">
|
||||
<header class="page-head">
|
||||
<h1>中试服务申请单</h1>
|
||||
<p class="page-desc">管理中试服务申请单的创建、审批、状态流转,关联渠道服务订单与患者信息。</p>
|
||||
</header>
|
||||
|
||||
<section class="panel">
|
||||
<div class="panel-top">
|
||||
<h2 class="title-bar-heading">中试服务申请单</h2>
|
||||
</div>
|
||||
|
||||
<div class="filter-block">
|
||||
<el-form :model="searchForm" class="filter-form" @submit.prevent>
|
||||
<div class="filter-grid">
|
||||
<el-form-item label="申请单号">
|
||||
<el-input
|
||||
v-model="searchForm.applicationNo"
|
||||
placeholder="请输入申请单号"
|
||||
clearable
|
||||
@keyup.enter="handleSearch"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="渠道">
|
||||
<el-select
|
||||
v-model="searchForm.channelId"
|
||||
placeholder="全部"
|
||||
clearable
|
||||
filterable
|
||||
:loading="channelLoading"
|
||||
@focus="onChannelSelectFocus"
|
||||
@change="handleSearchChannelChange"
|
||||
>
|
||||
<el-option
|
||||
v-for="ch in channelOptions"
|
||||
:key="ch.id"
|
||||
:label="ch.channelName || ch.name"
|
||||
:value="ch.id"
|
||||
/>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form-item label="服务订单">
|
||||
<el-select
|
||||
v-model="searchForm.channelServiceOrderId"
|
||||
placeholder="全部"
|
||||
clearable
|
||||
filterable
|
||||
:disabled="!searchForm.channelId"
|
||||
:loading="serviceOrderLoading"
|
||||
@change="handleSearch"
|
||||
>
|
||||
<el-option
|
||||
v-for="so in serviceOrderOptions"
|
||||
:key="so.id"
|
||||
:label="formatServiceOrderLabel(so)"
|
||||
:value="so.id"
|
||||
/>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
</div>
|
||||
<div class="filter-actions-row">
|
||||
<div class="status-filter-group">
|
||||
<el-button
|
||||
v-for="item in statusFilters"
|
||||
:key="item.value"
|
||||
:type="activeStatus === item.value ? 'primary' : 'default'"
|
||||
size="default"
|
||||
@click="handleStatusFilter(item.value)"
|
||||
>
|
||||
{{ item.label }}
|
||||
</el-button>
|
||||
</div>
|
||||
<div class="filter-actions-end">
|
||||
<el-button class="btn-ghost" @click="handleReset">
|
||||
<el-icon><RefreshLeft /></el-icon>重置
|
||||
</el-button>
|
||||
<el-button class="btn-main" type="primary" @click="handleSearch">
|
||||
<el-icon><Search /></el-icon>搜索
|
||||
</el-button>
|
||||
</div>
|
||||
</div>
|
||||
</el-form>
|
||||
</div>
|
||||
|
||||
<div class="list-toolbar">
|
||||
<div class="list-toolbar-row">
|
||||
<el-button class="btn-main" type="primary" @click="handleCreate">
|
||||
<el-icon><Plus /></el-icon>
|
||||
新增
|
||||
</el-button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="list-body list-wrap">
|
||||
<el-table
|
||||
class="list-table"
|
||||
:data="tableData"
|
||||
v-loading="loading"
|
||||
stripe
|
||||
row-key="id"
|
||||
@row-dblclick="handleView"
|
||||
>
|
||||
<el-table-column
|
||||
type="index"
|
||||
label="序号"
|
||||
min-width="68"
|
||||
align="center"
|
||||
header-align="center"
|
||||
:index="index => (pagination.page - 1) * pagination.pageSize + index + 1"
|
||||
/>
|
||||
<el-table-column prop="applicationNo" label="申请单号" min-width="180" show-overflow-tooltip>
|
||||
<template #default="{ row }">
|
||||
<el-button link type="primary" @click="handleView(row)">
|
||||
{{ row.applicationNo || '-' }}
|
||||
</el-button>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column prop="channelName" label="渠道名称" min-width="150" show-overflow-tooltip />
|
||||
<el-table-column label="关联服务订单" min-width="180" show-overflow-tooltip>
|
||||
<template #default="{ row }">
|
||||
<span v-if="row.serviceOrderNo">{{ row.serviceOrderNo }}</span>
|
||||
<span v-else>-</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column prop="patientName" label="患者姓名" min-width="100" show-overflow-tooltip>
|
||||
<template #default="{ row }">{{ row.patientName || '-' }}</template>
|
||||
</el-table-column>
|
||||
<el-table-column prop="infusionPlanCount" label="输注方案数" min-width="100" align="center">
|
||||
<template #default="{ row }">{{ row.infusionPlanCount ?? 0 }}</template>
|
||||
</el-table-column>
|
||||
<el-table-column prop="applicationStatus" label="状态" min-width="100" align="center">
|
||||
<template #default="{ row }">
|
||||
<el-tag :type="applicationStatusTagType(row.applicationStatus)" size="small">
|
||||
{{ applicationStatusLabel(row.applicationStatus) }}
|
||||
</el-tag>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column prop="createTime" label="创建时间" min-width="160" align="center" />
|
||||
<el-table-column label="操作" min-width="280" fixed="right" align="center" header-align="center">
|
||||
<template #default="{ row }">
|
||||
<el-button class="btn-op-item primary" @click="handleView(row)">查看</el-button>
|
||||
<el-button
|
||||
v-if="row.applicationStatus === 'dks'"
|
||||
class="btn-op-item"
|
||||
@click="handleEdit(row)"
|
||||
>
|
||||
编辑
|
||||
</el-button>
|
||||
<el-popconfirm
|
||||
v-if="row.applicationStatus === 'dks'"
|
||||
title="确定删除该申请单吗?"
|
||||
confirm-button-text="确定"
|
||||
cancel-button-text="取消"
|
||||
@confirm="handleDelete(row)"
|
||||
>
|
||||
<template #reference>
|
||||
<el-button class="btn-op-item op-warn">删除</el-button>
|
||||
</template>
|
||||
</el-popconfirm>
|
||||
<el-button
|
||||
v-if="row.applicationStatus === 'dks'"
|
||||
class="btn-op-item primary"
|
||||
type="primary"
|
||||
@click="handleStart(row)"
|
||||
>
|
||||
开始
|
||||
</el-button>
|
||||
<el-button
|
||||
v-if="row.applicationStatus === 'dks'"
|
||||
class="btn-op-item op-warn"
|
||||
type="danger"
|
||||
@click="handleVoid(row)"
|
||||
>
|
||||
作废
|
||||
</el-button>
|
||||
<el-button
|
||||
v-if="row.applicationStatus === 'jxz'"
|
||||
class="btn-op-item primary"
|
||||
type="primary"
|
||||
@click="handleComplete(row)"
|
||||
>
|
||||
完成
|
||||
</el-button>
|
||||
<el-button
|
||||
v-if="row.applicationStatus === 'jxz'"
|
||||
class="btn-op-item op-warn"
|
||||
type="danger"
|
||||
@click="handleVoid(row)"
|
||||
>
|
||||
作废
|
||||
</el-button>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
|
||||
<div class="pagination list-pager-bar">
|
||||
<el-pagination
|
||||
:current-page="pagination.page"
|
||||
:page-size="pagination.pageSize"
|
||||
:total="pagination.total"
|
||||
:page-sizes="[10, 20, 50, 100]"
|
||||
layout="total, sizes, prev, pager, next, jumper"
|
||||
@update:current-page="val => (pagination.page = val)"
|
||||
@update:page-size="val => (pagination.pageSize = val)"
|
||||
@size-change="loadData"
|
||||
@current-change="loadData"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- 新增申请单弹窗 -->
|
||||
<el-dialog
|
||||
v-model="dialogVisible"
|
||||
title="新增中试服务申请单"
|
||||
width="600px"
|
||||
destroy-on-close
|
||||
:close-on-click-modal="false"
|
||||
@close="handleDialogClose"
|
||||
>
|
||||
<div class="dialog-form-layout">
|
||||
<el-form
|
||||
ref="formRef"
|
||||
:model="formData"
|
||||
:rules="formRules"
|
||||
label-position="top"
|
||||
class="dialog-form"
|
||||
>
|
||||
<div class="form-grid-2">
|
||||
<el-form-item label="渠道" prop="channelId">
|
||||
<el-select
|
||||
v-model="formData.channelId"
|
||||
placeholder="请选择渠道"
|
||||
filterable
|
||||
clearable
|
||||
:loading="dialogChannelLoading"
|
||||
@focus="onDialogChannelFocus"
|
||||
@change="handleDialogChannelChange"
|
||||
>
|
||||
<el-option
|
||||
v-for="ch in dialogChannelOptions"
|
||||
:key="ch.id"
|
||||
:label="ch.channelName || ch.name"
|
||||
:value="ch.id"
|
||||
/>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form-item label="服务订单" prop="channelServiceOrderId">
|
||||
<el-select
|
||||
v-model="formData.channelServiceOrderId"
|
||||
placeholder="请先选择渠道,再选择服务订单"
|
||||
filterable
|
||||
clearable
|
||||
:disabled="!formData.channelId"
|
||||
:loading="dialogServiceOrderLoading"
|
||||
>
|
||||
<el-option
|
||||
v-for="so in dialogServiceOrderOptions"
|
||||
:key="so.id"
|
||||
:label="formatServiceOrderLabel(so)"
|
||||
:value="so.id"
|
||||
/>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form-item label="备注" class="form-col-span-2">
|
||||
<el-input
|
||||
v-model="formData.remark"
|
||||
type="textarea"
|
||||
placeholder="请输入备注"
|
||||
:rows="3"
|
||||
/>
|
||||
</el-form-item>
|
||||
</div>
|
||||
</el-form>
|
||||
</div>
|
||||
|
||||
<template #footer>
|
||||
<el-button class="btn-ghost" @click="dialogVisible = false">
|
||||
<el-icon><Close /></el-icon>取消
|
||||
</el-button>
|
||||
<el-button class="btn-main" type="primary" :loading="submitLoading" @click="handleSubmit">
|
||||
<el-icon><Check /></el-icon>确定
|
||||
</el-button>
|
||||
</template>
|
||||
</el-dialog>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { ref, reactive, onMounted } from 'vue'
|
||||
import { ElMessage, ElMessageBox, type FormInstance, type FormRules } from 'element-plus'
|
||||
import {
|
||||
Plus,
|
||||
Search,
|
||||
RefreshLeft,
|
||||
Close,
|
||||
Check,
|
||||
} from '@element-plus/icons-vue'
|
||||
import {
|
||||
fetchPilotApplicationList,
|
||||
createPilotApplication,
|
||||
deletePilotApplication,
|
||||
startPilotApplication,
|
||||
completePilotApplication,
|
||||
voidPilotApplication,
|
||||
fetchChannelList,
|
||||
fetchChannelServiceOrderList,
|
||||
} from '@/api/admin'
|
||||
import {
|
||||
applicationStatusLabel,
|
||||
applicationStatusTagType,
|
||||
channelServiceOrderTypeLabel,
|
||||
} from '@/utils/status-tag-registry'
|
||||
|
||||
defineOptions({ name: 'PilotApplicationManagement' })
|
||||
|
||||
// ── 工具函数 ──────────────────────────────────────────────────────────
|
||||
const displayValue = (v: any): string => {
|
||||
if (v == null || v === '' || v === undefined) return '-'
|
||||
return String(v)
|
||||
}
|
||||
|
||||
const formatServiceOrderLabel = (so: any) => {
|
||||
const no = so.orderNo || so.id || ''
|
||||
const typeLabel = channelServiceOrderTypeLabel(so.orderType)
|
||||
return `${no}(${typeLabel})`
|
||||
}
|
||||
|
||||
const unwrapApiList = (res: any): any[] => {
|
||||
const d = res?.data ?? res
|
||||
if (Array.isArray(d)) return d
|
||||
return d?.list ?? d?.records ?? []
|
||||
}
|
||||
|
||||
// ── 状态筛选 ──────────────────────────────────────────────────────────
|
||||
const statusFilters = [
|
||||
{ label: '全部', value: '' },
|
||||
{ label: '待开始', value: 'dks' },
|
||||
{ label: '进行中', value: 'jxz' },
|
||||
{ label: '已完成', value: 'ywc' },
|
||||
{ label: '已作废', value: 'yzf' },
|
||||
]
|
||||
const activeStatus = ref('')
|
||||
|
||||
const handleStatusFilter = (val: string) => {
|
||||
activeStatus.value = val
|
||||
handleSearch()
|
||||
}
|
||||
|
||||
// ── 搜索 ──────────────────────────────────────────────────────────────
|
||||
const searchForm = reactive({
|
||||
applicationNo: '',
|
||||
channelId: '',
|
||||
channelServiceOrderId: '',
|
||||
})
|
||||
|
||||
// ── 搜索区域渠道下拉 ──────────────────────────────────────────────────
|
||||
const channelOptions = ref<any[]>([])
|
||||
const channelLoading = ref(false)
|
||||
const channelLoaded = ref(false)
|
||||
|
||||
const onChannelSelectFocus = () => {
|
||||
if (!channelLoaded.value) {
|
||||
loadChannelOptions()
|
||||
}
|
||||
}
|
||||
|
||||
const loadChannelOptions = async () => {
|
||||
channelLoading.value = true
|
||||
try {
|
||||
const res: any = await fetchChannelList({ page: 1, pageSize: 200 })
|
||||
channelOptions.value = unwrapApiList(res)
|
||||
channelLoaded.value = true
|
||||
} catch {
|
||||
channelOptions.value = []
|
||||
} finally {
|
||||
channelLoading.value = false
|
||||
}
|
||||
}
|
||||
|
||||
// ── 搜索区域服务订单下拉(联动渠道) ──────────────────────────────────
|
||||
const serviceOrderOptions = ref<any[]>([])
|
||||
const serviceOrderLoading = ref(false)
|
||||
|
||||
const handleSearchChannelChange = () => {
|
||||
searchForm.channelServiceOrderId = ''
|
||||
serviceOrderOptions.value = []
|
||||
if (searchForm.channelId) {
|
||||
loadSearchServiceOrders(searchForm.channelId)
|
||||
}
|
||||
handleSearch()
|
||||
}
|
||||
|
||||
const loadSearchServiceOrders = async (channelId: string) => {
|
||||
serviceOrderLoading.value = true
|
||||
try {
|
||||
const res: any = await fetchChannelServiceOrderList({
|
||||
channelId,
|
||||
page: 1,
|
||||
pageSize: 200,
|
||||
})
|
||||
serviceOrderOptions.value = unwrapApiList(res)
|
||||
} catch {
|
||||
serviceOrderOptions.value = []
|
||||
} finally {
|
||||
serviceOrderLoading.value = false
|
||||
}
|
||||
}
|
||||
|
||||
// ── 表格 ──────────────────────────────────────────────────────────────
|
||||
const tableData = ref<any[]>([])
|
||||
const loading = ref(false)
|
||||
const pagination = reactive({ page: 1, pageSize: 10, total: 0 })
|
||||
|
||||
const loadData = async () => {
|
||||
loading.value = true
|
||||
try {
|
||||
const params: Record<string, any> = {
|
||||
page: pagination.page,
|
||||
pageSize: pagination.pageSize,
|
||||
}
|
||||
if (searchForm.applicationNo) params.applicationNo = searchForm.applicationNo
|
||||
if (searchForm.channelId) params.channelId = searchForm.channelId
|
||||
if (searchForm.channelServiceOrderId) params.channelServiceOrderId = searchForm.channelServiceOrderId
|
||||
if (activeStatus.value) params.applicationStatus = activeStatus.value
|
||||
|
||||
const res: any = await fetchPilotApplicationList(params)
|
||||
const data = res?.data ?? res
|
||||
tableData.value = data?.list ?? data?.records ?? []
|
||||
pagination.total = data?.total ?? 0
|
||||
} catch (e) {
|
||||
console.error('加载申请单列表失败:', e)
|
||||
} finally {
|
||||
loading.value = false
|
||||
}
|
||||
}
|
||||
|
||||
const handleSearch = () => {
|
||||
pagination.page = 1
|
||||
loadData()
|
||||
}
|
||||
|
||||
const handleReset = () => {
|
||||
searchForm.applicationNo = ''
|
||||
searchForm.channelId = ''
|
||||
searchForm.channelServiceOrderId = ''
|
||||
activeStatus.value = ''
|
||||
serviceOrderOptions.value = []
|
||||
pagination.page = 1
|
||||
loadData()
|
||||
}
|
||||
|
||||
// ── 查看详情 ──────────────────────────────────────────────────────────
|
||||
const router = useRouter()
|
||||
|
||||
const handleView = (row: any) => {
|
||||
router.push({ name: 'PilotApplicationDetail', query: { id: row.id } })
|
||||
}
|
||||
|
||||
// ── 新增弹窗 ──────────────────────────────────────────────────────────
|
||||
const dialogVisible = ref(false)
|
||||
const submitLoading = ref(false)
|
||||
const formRef = ref<FormInstance>()
|
||||
|
||||
const initFormData = () => ({
|
||||
channelId: '',
|
||||
channelServiceOrderId: '',
|
||||
remark: '',
|
||||
})
|
||||
|
||||
const formData = reactive(initFormData())
|
||||
|
||||
const formRules: FormRules = {
|
||||
channelId: [{ required: true, message: '请选择渠道', trigger: 'change' }],
|
||||
channelServiceOrderId: [{ required: true, message: '请选择服务订单', trigger: 'change' }],
|
||||
}
|
||||
|
||||
// ── 弹窗渠道下拉 ──────────────────────────────────────────────────────
|
||||
const dialogChannelOptions = ref<any[]>([])
|
||||
const dialogChannelLoading = ref(false)
|
||||
const dialogChannelLoaded = ref(false)
|
||||
|
||||
const onDialogChannelFocus = () => {
|
||||
if (!dialogChannelLoaded.value) {
|
||||
loadDialogChannelOptions()
|
||||
}
|
||||
}
|
||||
|
||||
const loadDialogChannelOptions = async () => {
|
||||
dialogChannelLoading.value = true
|
||||
try {
|
||||
const res: any = await fetchChannelList({ page: 1, pageSize: 200 })
|
||||
dialogChannelOptions.value = unwrapApiList(res)
|
||||
dialogChannelLoaded.value = true
|
||||
} catch {
|
||||
dialogChannelOptions.value = []
|
||||
} finally {
|
||||
dialogChannelLoading.value = false
|
||||
}
|
||||
}
|
||||
|
||||
// ── 弹窗服务订单下拉(联动渠道) ──────────────────────────────────────
|
||||
const dialogServiceOrderOptions = ref<any[]>([])
|
||||
const dialogServiceOrderLoading = ref(false)
|
||||
|
||||
const handleDialogChannelChange = async (channelId: string) => {
|
||||
formData.channelServiceOrderId = ''
|
||||
dialogServiceOrderOptions.value = []
|
||||
if (!channelId) return
|
||||
dialogServiceOrderLoading.value = true
|
||||
try {
|
||||
const res: any = await fetchChannelServiceOrderList({
|
||||
channelId,
|
||||
page: 1,
|
||||
pageSize: 200,
|
||||
})
|
||||
dialogServiceOrderOptions.value = unwrapApiList(res)
|
||||
} catch {
|
||||
dialogServiceOrderOptions.value = []
|
||||
} finally {
|
||||
dialogServiceOrderLoading.value = false
|
||||
}
|
||||
}
|
||||
|
||||
const handleCreate = () => {
|
||||
Object.assign(formData, initFormData())
|
||||
dialogChannelLoaded.value = false
|
||||
dialogChannelOptions.value = []
|
||||
dialogServiceOrderOptions.value = []
|
||||
dialogVisible.value = true
|
||||
void loadDialogChannelOptions()
|
||||
}
|
||||
|
||||
const handleDialogClose = () => {
|
||||
formRef.value?.resetFields()
|
||||
}
|
||||
|
||||
const handleSubmit = async () => {
|
||||
try {
|
||||
await formRef.value?.validate()
|
||||
} catch {
|
||||
return
|
||||
}
|
||||
|
||||
submitLoading.value = true
|
||||
try {
|
||||
const res: any = await createPilotApplication({
|
||||
channelServiceOrderId: formData.channelServiceOrderId,
|
||||
remark: formData.remark,
|
||||
})
|
||||
dialogVisible.value = false
|
||||
ElMessage.success('创建成功')
|
||||
// 跳转详情页
|
||||
const data = res?.data ?? res
|
||||
const newId = data?.id || data?.pilotApplicationId || data
|
||||
if (newId) {
|
||||
router.push({ name: 'PilotApplicationDetail', query: { id: newId } })
|
||||
} else {
|
||||
loadData()
|
||||
}
|
||||
} catch (e: any) {
|
||||
ElMessage.error(e?.message || '创建失败')
|
||||
} finally {
|
||||
submitLoading.value = false
|
||||
}
|
||||
}
|
||||
|
||||
// ── 编辑 ──────────────────────────────────────────────────────────────
|
||||
const handleEdit = (row: any) => {
|
||||
// Phase 1 编辑仅修改备注,直接跳详情页
|
||||
router.push({ name: 'PilotApplicationDetail', query: { id: row.id } })
|
||||
}
|
||||
|
||||
// ── 删除 ──────────────────────────────────────────────────────────────
|
||||
const handleDelete = async (row: any) => {
|
||||
try {
|
||||
await deletePilotApplication({ id: row.id })
|
||||
ElMessage.success('删除成功')
|
||||
loadData()
|
||||
} catch (e: any) {
|
||||
ElMessage.error(e?.message || '删除失败')
|
||||
}
|
||||
}
|
||||
|
||||
// ── 状态操作 ──────────────────────────────────────────────────────────
|
||||
const handleStart = async (row: any) => {
|
||||
try {
|
||||
await ElMessageBox.confirm('确定开始该申请单吗?', '提示', {
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
type: 'info',
|
||||
})
|
||||
await startPilotApplication({ id: row.id })
|
||||
ElMessage.success('操作成功')
|
||||
loadData()
|
||||
} catch (e: any) {
|
||||
if (e !== 'cancel') {
|
||||
ElMessage.error(e?.message || '操作失败')
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
const handleComplete = async (row: any) => {
|
||||
try {
|
||||
await ElMessageBox.confirm('确定完成该申请单吗?', '提示', {
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
type: 'info',
|
||||
})
|
||||
await completePilotApplication({ id: row.id })
|
||||
ElMessage.success('操作成功')
|
||||
loadData()
|
||||
} catch (e: any) {
|
||||
if (e !== 'cancel') {
|
||||
ElMessage.error(e?.message || '操作失败')
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
const handleVoid = async (row: any) => {
|
||||
try {
|
||||
await ElMessageBox.confirm('确定作废该申请单吗?作废后不可恢复。', '提示', {
|
||||
confirmButtonText: '确定作废',
|
||||
cancelButtonText: '取消',
|
||||
type: 'warning',
|
||||
})
|
||||
await voidPilotApplication({ id: row.id })
|
||||
ElMessage.success('操作成功')
|
||||
loadData()
|
||||
} catch (e: any) {
|
||||
if (e !== 'cancel') {
|
||||
ElMessage.error(e?.message || '操作失败')
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// ── 初始化 ────────────────────────────────────────────────────────────
|
||||
onMounted(() => {
|
||||
loadData()
|
||||
})
|
||||
</script>
|
||||
|
||||
<style scoped lang="scss">
|
||||
.status-filter-group {
|
||||
display: flex;
|
||||
gap: 8px;
|
||||
flex-wrap: wrap;
|
||||
align-items: center;
|
||||
}
|
||||
</style>
|
||||
Reference in new issue
Block a user