feat: 细胞存储缴费催缴、统一样本信息与协议支付能力增强
汇总近期业务改动:催缴菜单与后端、样本信息快捷登记与进度、运费关联、客户档案扩展、协议优惠/期次与押金划转,并同步 SQL 迁移与管理端页面收敛。 Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
2d3472f5c4
commit
db31990ebe
235 files changed
+14898
-10196
No files matched your search
@@ -3,10 +3,6 @@
|
||||
<template>
|
||||
<div class="page-container">
|
||||
<section class="panel">
|
||||
<div class="panel-top">
|
||||
<h2>分类列表</h2>
|
||||
</div>
|
||||
|
||||
<div class="filter-block">
|
||||
<el-form :model="searchForm" class="filter-form" @submit.prevent>
|
||||
<div class="filter-grid">
|
||||
@@ -50,6 +46,7 @@
|
||||
:disabled="selectedRows.length === 0"
|
||||
@click="handleBatchDelete"
|
||||
>
|
||||
<el-icon><Delete /></el-icon>
|
||||
批量删除
|
||||
</el-button>
|
||||
|
||||
@@ -79,7 +76,7 @@
|
||||
@import-success="handleCategoryImportSuccess"
|
||||
@import-error="handleExcelImportError"
|
||||
>
|
||||
<el-button class="btn-ghost">批量导入</el-button>
|
||||
<el-button class="btn-ghost"><el-icon><Upload /></el-icon>批量导入</el-button>
|
||||
</ArtExcelImport>
|
||||
</div>
|
||||
</div>
|
||||
@@ -183,6 +180,7 @@
|
||||
@click="handleAddChild(row)"
|
||||
v-if="!row.parentId"
|
||||
>
|
||||
<el-icon><Plus /></el-icon>
|
||||
新增子分类
|
||||
</el-button>
|
||||
<el-dropdown
|
||||
@@ -291,7 +289,7 @@
|
||||
:on-change="handleCategoryImageChange"
|
||||
:on-exceed="handleCategoryImageExceed"
|
||||
>
|
||||
<el-button type="primary" plain>上传图片</el-button>
|
||||
<el-button type="primary" plain><el-icon><Upload /></el-icon>上传图片</el-button>
|
||||
</el-upload>
|
||||
</div>
|
||||
</el-form-item>
|
||||
@@ -342,7 +340,7 @@
|
||||
</div>
|
||||
<div class="parameter-item-right">
|
||||
<el-button link type="danger" @click="handleRemoveParameter(index)"
|
||||
>删除</el-button
|
||||
><el-icon><Delete /></el-icon>删除</el-button
|
||||
>
|
||||
</div>
|
||||
</div>
|
||||
@@ -539,7 +537,8 @@
|
||||
RefreshLeft,
|
||||
More,
|
||||
Edit,
|
||||
Delete
|
||||
Delete,
|
||||
Upload
|
||||
} from '@element-plus/icons-vue'
|
||||
import { VueDraggable as draggable } from 'vue-draggable-plus'
|
||||
import type { UploadFile } from 'element-plus'
|
||||
|
||||
@@ -3,10 +3,6 @@
|
||||
<template>
|
||||
<div class="page-container">
|
||||
<section class="panel">
|
||||
<div class="panel-top">
|
||||
<h2>组织管理</h2>
|
||||
</div>
|
||||
|
||||
<div class="filter-block">
|
||||
<el-form :model="searchForm" class="filter-form" @submit.prevent>
|
||||
<div class="filter-grid">
|
||||
@@ -37,6 +33,10 @@
|
||||
新增
|
||||
</el-button>
|
||||
<el-button class="btn-ghost" @click="toggleExpand">
|
||||
<el-icon>
|
||||
<ArrowUp v-if="isExpandAll" />
|
||||
<ArrowDown v-else />
|
||||
</el-icon>
|
||||
{{ isExpandAll ? '全部折叠' : '全部展开' }}
|
||||
</el-button>
|
||||
</div>
|
||||
@@ -111,6 +111,7 @@
|
||||
<template #default="{ row }">
|
||||
<div style="display: flex; justify-content: center; gap: 8px">
|
||||
<el-button class="btn-op-item primary" @click="handleAddChild(row)">
|
||||
<el-icon><Plus /></el-icon>
|
||||
新增子组织
|
||||
</el-button>
|
||||
<el-dropdown trigger="hover" @command="(cmd: string) => handleDropdownCommand(cmd, row)">
|
||||
@@ -268,7 +269,9 @@
|
||||
More,
|
||||
OfficeBuilding,
|
||||
RefreshLeft,
|
||||
Search
|
||||
Search,
|
||||
ArrowUp,
|
||||
ArrowDown
|
||||
} from '@element-plus/icons-vue'
|
||||
import SystemViewDialog from '@/components/business/system-view-dialog/index.vue'
|
||||
import {
|
||||
|
||||
@@ -2,10 +2,6 @@
|
||||
<template>
|
||||
<div class="page-container">
|
||||
<section class="panel">
|
||||
<div class="panel-top">
|
||||
<h2>字典类型</h2>
|
||||
</div>
|
||||
|
||||
<div class="filter-block">
|
||||
<el-form :model="searchForm" class="filter-form" @submit.prevent>
|
||||
<div class="filter-grid">
|
||||
@@ -41,6 +37,7 @@
|
||||
:disabled="selectedRows.length === 0"
|
||||
@click="handleBatchDelete"
|
||||
>
|
||||
<el-icon><Delete /></el-icon>
|
||||
批量删除
|
||||
</el-button>
|
||||
</div>
|
||||
@@ -104,6 +101,7 @@
|
||||
<template #default="{ row }">
|
||||
<div style="display: flex; justify-content: center; gap: 8px">
|
||||
<el-button class="btn-op-item primary" @click="handleDictData(row)">
|
||||
<el-icon><Setting /></el-icon>
|
||||
字典数据配置
|
||||
</el-button>
|
||||
<el-dropdown trigger="hover" @command="(cmd: string) => handleDropdownCommand(cmd, row)">
|
||||
@@ -312,9 +310,10 @@
|
||||
>
|
||||
<template #default="{ row }">
|
||||
<el-button class="btn-op-item primary" @click="handleEditDictData(row)">
|
||||
<el-icon><Edit /></el-icon>
|
||||
编辑
|
||||
</el-button>
|
||||
<el-button class="btn-op-item" @click="handleDeleteDictData(row)"> 删除 </el-button>
|
||||
<el-button class="btn-op-item" @click="handleDeleteDictData(row)"> <el-icon><Delete /></el-icon>删除 </el-button>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
@@ -408,7 +407,8 @@
|
||||
More,
|
||||
Collection,
|
||||
RefreshLeft,
|
||||
Search
|
||||
Search,
|
||||
Setting
|
||||
} from '@element-plus/icons-vue'
|
||||
import SystemViewDialog from '@/components/business/system-view-dialog/index.vue'
|
||||
import { withFullscreenLoading, fullscreenLoadingText } from '@/utils/fullscreen-loading'
|
||||
|
||||
@@ -3,10 +3,6 @@
|
||||
<template>
|
||||
<div class="page-container">
|
||||
<section class="panel">
|
||||
<div class="panel-top">
|
||||
<h2>快递公司列表</h2>
|
||||
</div>
|
||||
|
||||
<div class="filter-block">
|
||||
<el-form :model="searchForm" class="filter-form" @submit.prevent>
|
||||
<div class="filter-grid">
|
||||
@@ -42,6 +38,7 @@
|
||||
:disabled="selectedRows.length === 0"
|
||||
@click="handleBatchDelete"
|
||||
>
|
||||
<el-icon><Delete /></el-icon>
|
||||
批量删除
|
||||
</el-button>
|
||||
</div>
|
||||
|
||||
@@ -2,10 +2,6 @@
|
||||
<template>
|
||||
<div class="page-container">
|
||||
<section class="panel">
|
||||
<div class="panel-top">
|
||||
<h2>请假列表</h2>
|
||||
</div>
|
||||
|
||||
<div class="filter-block">
|
||||
<el-form :model="filterForm" class="filter-form" @submit.prevent>
|
||||
<div class="filter-grid">
|
||||
@@ -44,7 +40,7 @@
|
||||
<div class="list-toolbar-selected">
|
||||
已选 <span class="sel-num">{{ selectedRows.length }}</span> 项
|
||||
</div>
|
||||
<el-button class="btn-main" type="primary" @click="handleAdd">新增请假</el-button>
|
||||
<el-button class="btn-main" type="primary" @click="handleAdd"><el-icon><Plus /></el-icon>新增请假</el-button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -118,13 +114,13 @@
|
||||
<template #default="{ row }">
|
||||
<template v-if="row.status === 'draft' || row.status === 'rejected'">
|
||||
<el-button type="primary" link size="small" @click="handleEdit(row)"
|
||||
>编辑</el-button
|
||||
><el-icon><Edit /></el-icon>编辑</el-button
|
||||
>
|
||||
<el-button type="success" link size="small" @click="handleSubmit(row.id)"
|
||||
>提交审批</el-button
|
||||
><el-icon><Check /></el-icon>提交审批</el-button
|
||||
>
|
||||
<el-button type="danger" link size="small" @click="handleDelete(row.id)"
|
||||
>删除</el-button
|
||||
><el-icon><Delete /></el-icon>删除</el-button
|
||||
>
|
||||
</template>
|
||||
<template v-else-if="row.status === 'pending'">
|
||||
@@ -238,7 +234,7 @@
|
||||
|
||||
<script setup lang="ts">
|
||||
import { formatDisplayOrDash } from '@/utils/datetime-display'
|
||||
import { Close, Check, RefreshLeft, Search } from '@element-plus/icons-vue'
|
||||
import { Close, Check, RefreshLeft, Search, Delete, Edit, Plus } from '@element-plus/icons-vue'
|
||||
import { leaveStatusLabel, leaveStatusTagType } from '@/utils/status-tag-registry'
|
||||
import {
|
||||
fetchLeaveList,
|
||||
|
||||
@@ -2,10 +2,6 @@
|
||||
<template>
|
||||
<div class="page-container">
|
||||
<section class="panel">
|
||||
<div class="panel-top">
|
||||
<h2>菜单列表</h2>
|
||||
</div>
|
||||
|
||||
<div class="filter-block">
|
||||
<el-form :model="searchForm" class="filter-form" @submit.prevent>
|
||||
<div class="filter-grid">
|
||||
@@ -36,6 +32,10 @@
|
||||
新增
|
||||
</el-button>
|
||||
<el-button class="btn-ghost" @click="toggleExpand">
|
||||
<el-icon>
|
||||
<ArrowUp v-if="isExpandAll" />
|
||||
<ArrowDown v-else />
|
||||
</el-icon>
|
||||
{{ isExpandAll ? '全部折叠' : '全部展开' }}
|
||||
</el-button>
|
||||
</div>
|
||||
@@ -144,6 +144,7 @@
|
||||
<template #default="{ row }">
|
||||
<div style="display: flex; justify-content: center; gap: 8px">
|
||||
<el-button class="btn-op-item primary" @click="handleAddChild(row)">
|
||||
<el-icon><Plus /></el-icon>
|
||||
新增子菜单
|
||||
</el-button>
|
||||
<el-dropdown trigger="hover" @command="(cmd: string) => handleDropdownCommand(cmd, row)">
|
||||
@@ -277,7 +278,9 @@
|
||||
More,
|
||||
Menu as MenuIcon,
|
||||
RefreshLeft,
|
||||
Search
|
||||
Search,
|
||||
ArrowUp,
|
||||
ArrowDown
|
||||
} from '@element-plus/icons-vue'
|
||||
import SystemViewDialog from '@/components/business/system-view-dialog/index.vue'
|
||||
import { fetchMenuTree, fetchCreateMenu, fetchUpdateMenu, fetchDeleteMenu } from '@/api/admin'
|
||||
|
||||
@@ -22,13 +22,8 @@
|
||||
</div>
|
||||
|
||||
<section class="panel">
|
||||
<div class="panel-top">
|
||||
<h2>订单列表</h2>
|
||||
</div>
|
||||
|
||||
<div class="filter-block">
|
||||
<el-form :model="searchForm" class="filter-form" label-position="top">
|
||||
|
||||
<el-form :model="searchForm" class="filter-form">
|
||||
<div class="filter-grid order-filter-main-grid">
|
||||
<el-form-item label="关键词">
|
||||
<el-input
|
||||
@@ -292,15 +287,15 @@
|
||||
header-align="center"
|
||||
>
|
||||
<template #default="{ row }">
|
||||
<el-button class="btn-op-item primary" @click="handleView(row)">查看/运营</el-button>
|
||||
<el-button class="btn-op-item primary" @click="handleView(row)"><el-icon><View /></el-icon>查看/运营</el-button>
|
||||
<el-button class="btn-op-item" v-if="canAssign(row)" @click="handleAssign(row)"
|
||||
>分配配送员</el-button
|
||||
><el-icon><User /></el-icon>分配配送员</el-button
|
||||
>
|
||||
<el-button
|
||||
class="btn-op-item op-warn"
|
||||
v-if="row.cancelStatus === 'pending_review'"
|
||||
@click="handleReviewCancel(row)"
|
||||
>审核取消</el-button
|
||||
><el-icon><CircleClose /></el-icon>审核取消</el-button
|
||||
>
|
||||
</template>
|
||||
</el-table-column>
|
||||
@@ -396,7 +391,7 @@
|
||||
}}<br />
|
||||
请等待其完成操作或联系解除锁定后再进行操作。
|
||||
</span>
|
||||
<el-button type="danger" size="small">强制解锁</el-button>
|
||||
<el-button type="danger" size="small"><el-icon><Unlock /></el-icon>强制解锁</el-button>
|
||||
</div>
|
||||
|
||||
<!-- Tab: 订单信息 -->
|
||||
@@ -968,7 +963,7 @@
|
||||
}}<br />
|
||||
请等待其完成操作或联系解除锁定后再进行操作。
|
||||
</span>
|
||||
<el-button type="danger" size="small">强制解锁</el-button>
|
||||
<el-button type="danger" size="small"><el-icon><Unlock /></el-icon>强制解锁</el-button>
|
||||
</div>
|
||||
|
||||
<!-- Tab: 订单信息 -->
|
||||
@@ -1718,7 +1713,11 @@
|
||||
Search,
|
||||
Setting,
|
||||
ShoppingBag,
|
||||
WarningFilled
|
||||
WarningFilled,
|
||||
Unlock,
|
||||
View,
|
||||
CircleClose,
|
||||
User
|
||||
} from '@element-plus/icons-vue'
|
||||
import ProductViewDialog from '@/components/business/product-view-dialog/index.vue'
|
||||
import {
|
||||
@@ -2960,8 +2959,7 @@
|
||||
font-size: 13px;
|
||||
font-weight: 500;
|
||||
color: var(--mint-text-muted, #64748b);
|
||||
padding: 0 0 4px;
|
||||
line-height: 1.2;
|
||||
padding-right: 12px;
|
||||
}
|
||||
|
||||
.filter-extra {
|
||||
|
||||
@@ -3,10 +3,6 @@
|
||||
<template>
|
||||
<div class="page-container">
|
||||
<section class="panel">
|
||||
<div class="panel-top">
|
||||
<h2>职位列表</h2>
|
||||
</div>
|
||||
|
||||
<div class="filter-block">
|
||||
<el-form :model="searchForm" class="filter-form" @submit.prevent>
|
||||
<div class="filter-grid">
|
||||
@@ -42,6 +38,7 @@
|
||||
:disabled="selectedRows.length === 0"
|
||||
@click="handleBatchDelete"
|
||||
>
|
||||
<el-icon><Delete /></el-icon>
|
||||
批量删除
|
||||
</el-button>
|
||||
</div>
|
||||
@@ -278,6 +275,7 @@
|
||||
size="small"
|
||||
@click="clearPostBindUserDeptFilter"
|
||||
>
|
||||
<el-icon><Close /></el-icon>
|
||||
清除部门筛选
|
||||
</el-button>
|
||||
</div>
|
||||
|
||||
@@ -3,9 +3,6 @@
|
||||
<template>
|
||||
<div class="page-container">
|
||||
<div class="panel">
|
||||
<div class="panel-top">
|
||||
<h2>商品列表</h2>
|
||||
</div>
|
||||
<div class="filter-block">
|
||||
<el-form :model="searchForm" class="filter-form" @submit.prevent>
|
||||
<div class="filter-grid">
|
||||
@@ -64,6 +61,7 @@
|
||||
:disabled="selectedRows.length === 0"
|
||||
@click="handleBatchDelete"
|
||||
>
|
||||
<el-icon><Delete /></el-icon>
|
||||
批量删除
|
||||
</el-button>
|
||||
|
||||
@@ -269,7 +267,7 @@
|
||||
<el-form-item label="SKU编码" prop="skuCode">
|
||||
<el-input v-model="formData.skuCode" placeholder="请输入SKU编码">
|
||||
<template #append>
|
||||
<el-button @click="handleGenerateSku">自动生成</el-button>
|
||||
<el-button @click="handleGenerateSku"><el-icon><MagicStick /></el-icon>自动生成</el-button>
|
||||
</template>
|
||||
</el-input>
|
||||
</el-form-item>
|
||||
@@ -384,7 +382,7 @@
|
||||
:on-change="handleMainImageChange"
|
||||
>
|
||||
<el-button type="primary" plain :disabled="mainImageUploading"
|
||||
>上传图片</el-button
|
||||
><el-icon><Upload /></el-icon>上传图片</el-button
|
||||
>
|
||||
</el-upload>
|
||||
</div>
|
||||
@@ -694,7 +692,7 @@
|
||||
</div>
|
||||
<div class="parameter-item-right">
|
||||
<el-button link type="danger" @click="handleRemoveProductParameter(index)"
|
||||
>删除</el-button
|
||||
><el-icon><Delete /></el-icon>删除</el-button
|
||||
>
|
||||
</div>
|
||||
</div>
|
||||
@@ -926,7 +924,9 @@
|
||||
RefreshLeft,
|
||||
More,
|
||||
Edit,
|
||||
View
|
||||
View,
|
||||
MagicStick,
|
||||
Upload
|
||||
} from '@element-plus/icons-vue'
|
||||
import { VueDraggable as draggable } from 'vue-draggable-plus'
|
||||
import ProductViewDialog from '@/components/business/product-view-dialog/index.vue'
|
||||
|
||||
@@ -3,10 +3,6 @@
|
||||
<template>
|
||||
<div class="page-container">
|
||||
<section class="panel">
|
||||
<div class="panel-top">
|
||||
<h2>角色列表</h2>
|
||||
</div>
|
||||
|
||||
<div class="filter-block">
|
||||
<el-form :model="searchForm" class="filter-form" @submit.prevent>
|
||||
<div class="filter-grid">
|
||||
@@ -42,6 +38,7 @@
|
||||
:disabled="selectedRows.length === 0"
|
||||
@click="handleBatchDelete"
|
||||
>
|
||||
<el-icon><Delete /></el-icon>
|
||||
批量删除
|
||||
</el-button>
|
||||
</div>
|
||||
@@ -154,7 +151,7 @@
|
||||
<template #default="{ row }">
|
||||
<div style="display: flex; justify-content: center; gap: 8px">
|
||||
<el-button class="btn-op-item primary" @click="handleMenuConfig(row)"
|
||||
>菜单配置</el-button
|
||||
><el-icon><Setting /></el-icon>菜单配置</el-button
|
||||
>
|
||||
<el-button class="btn-op-item primary" @click="handleDataScope(row)"
|
||||
><el-icon><DataAnalysis /></el-icon>数据权限</el-button
|
||||
@@ -346,6 +343,7 @@
|
||||
size="small"
|
||||
@click="clearDataScopeUserDeptFilter"
|
||||
>
|
||||
<el-icon><Close /></el-icon>
|
||||
清除部门筛选
|
||||
</el-button>
|
||||
</div>
|
||||
@@ -482,7 +480,8 @@
|
||||
Search,
|
||||
More,
|
||||
Edit,
|
||||
Delete
|
||||
Delete,
|
||||
Setting
|
||||
} from '@element-plus/icons-vue'
|
||||
import DialogFormBody from '@/components/business/dialog-form-body/index.vue'
|
||||
import SystemViewDialog, {
|
||||
|
||||
@@ -3,10 +3,6 @@
|
||||
<template>
|
||||
<div class="page-container">
|
||||
<section class="panel">
|
||||
<div class="panel-top">
|
||||
<h2>站点列表</h2>
|
||||
</div>
|
||||
|
||||
<div class="filter-block">
|
||||
<el-form :model="searchForm" class="filter-form" @submit.prevent>
|
||||
<div class="filter-grid">
|
||||
@@ -42,6 +38,7 @@
|
||||
:disabled="selectedRows.length === 0"
|
||||
@click="handleBatchDelete"
|
||||
>
|
||||
<el-icon><Delete /></el-icon>
|
||||
批量删除
|
||||
</el-button>
|
||||
</div>
|
||||
|
||||
@@ -3,10 +3,6 @@
|
||||
<template>
|
||||
<div class="page-container">
|
||||
<section class="panel">
|
||||
<div class="panel-top">
|
||||
<h2>租户列表</h2>
|
||||
</div>
|
||||
|
||||
<div class="filter-block">
|
||||
<el-form :model="searchForm" class="filter-form" @submit.prevent>
|
||||
<div class="filter-grid">
|
||||
@@ -42,6 +38,7 @@
|
||||
:disabled="deletableSelection.length === 0"
|
||||
@click="handleBatchDelete"
|
||||
>
|
||||
<el-icon><Delete /></el-icon>
|
||||
批量删除
|
||||
</el-button>
|
||||
</div>
|
||||
|
||||
@@ -3,10 +3,6 @@
|
||||
<template>
|
||||
<div class="page-container">
|
||||
<section class="panel">
|
||||
<div class="panel-top">
|
||||
<h2>单位列表</h2>
|
||||
</div>
|
||||
|
||||
<div class="filter-block">
|
||||
<el-form :model="searchForm" class="filter-form" @submit.prevent>
|
||||
<div class="filter-grid">
|
||||
@@ -42,6 +38,7 @@
|
||||
:disabled="selectedRows.length === 0"
|
||||
@click="handleBatchDelete"
|
||||
>
|
||||
<el-icon><Delete /></el-icon>
|
||||
批量删除
|
||||
</el-button>
|
||||
</div>
|
||||
|
||||
@@ -14,15 +14,19 @@
|
||||
<div class="card-header">
|
||||
<span class="card-title">基本信息</span>
|
||||
<div class="header-actions">
|
||||
<el-button @click="handleResetPassword" type="warning" size="small">重置密码</el-button>
|
||||
<el-button @click="handleResetPassword" type="warning" size="small"><el-icon><Key /></el-icon>重置密码</el-button>
|
||||
<el-button
|
||||
@click="handleToggleStatus"
|
||||
:type="userData.isActive ? 'danger' : 'success'"
|
||||
size="small"
|
||||
>
|
||||
<el-icon>
|
||||
<CircleClose v-if="userData.isActive" />
|
||||
<CircleCheck v-else />
|
||||
</el-icon>
|
||||
{{ userData.isActive ? '禁用账号' : '启用账号' }}
|
||||
</el-button>
|
||||
<el-button @click="handleEdit" type="primary" size="small">编辑</el-button>
|
||||
<el-button @click="handleEdit" type="primary" size="small"><el-icon><Edit /></el-icon>编辑</el-button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -106,9 +110,9 @@
|
||||
<div v-if="userData.role === 'client'" class="address-section">
|
||||
<div class="address-title">
|
||||
<span>收货地址</span>
|
||||
<el-button @click="handleAddAddress" type="primary" link size="small"
|
||||
>+ 添加地址</el-button
|
||||
>
|
||||
<el-button @click="handleAddAddress" type="primary" link size="small">
|
||||
<el-icon><Plus /></el-icon>添加地址
|
||||
</el-button>
|
||||
</div>
|
||||
<div v-if="clientAddresses.length > 0" class="address-list">
|
||||
<div v-for="addr in clientAddresses" :key="addr.id" class="address-item">
|
||||
@@ -122,8 +126,10 @@
|
||||
>
|
||||
</div>
|
||||
<div class="address-actions">
|
||||
<el-button type="primary" link @click="handleEditAddress(addr)">编辑</el-button>
|
||||
<el-button type="danger" link @click="handleDeleteAddress(addr)">删除</el-button>
|
||||
<el-button type="primary" link @click="handleEditAddress(addr)">
|
||||
<el-icon><Edit /></el-icon>编辑
|
||||
</el-button>
|
||||
<el-button type="danger" link @click="handleDeleteAddress(addr)"><el-icon><Delete /></el-icon>删除</el-button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -302,7 +308,17 @@
|
||||
import { useRouter, useRoute } from 'vue-router'
|
||||
import { ElMessage, ElMessageBox } from 'element-plus'
|
||||
import { withFullscreenLoading, fullscreenLoadingText } from '@/utils/fullscreen-loading'
|
||||
import { ArrowLeft, Close, Check } from '@element-plus/icons-vue'
|
||||
import {
|
||||
ArrowLeft,
|
||||
Close,
|
||||
Check,
|
||||
Delete,
|
||||
Edit,
|
||||
Key,
|
||||
Plus,
|
||||
CircleCheck,
|
||||
CircleClose
|
||||
} from '@element-plus/icons-vue'
|
||||
import { fetchUserDetail, fetchUpdateUser, fetchActiveRegions, fetchResetPassword } from '@/api/admin'
|
||||
import { resolveUserAvatarUrl } from '@/utils/user-avatar'
|
||||
import { formatMoneyDisplay } from '@/utils/money-format'
|
||||
|
||||
@@ -26,10 +26,6 @@
|
||||
|
||||
<!-- 右侧:用户列表 -->
|
||||
<div class="flex-1 min-w-0">
|
||||
<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">
|
||||
|
||||
@@ -136,6 +136,7 @@
|
||||
size="small"
|
||||
@click="deleteSelectedNode"
|
||||
>
|
||||
<el-icon><Delete /></el-icon>
|
||||
删除节点
|
||||
</el-button>
|
||||
</div>
|
||||
@@ -249,9 +250,9 @@
|
||||
"
|
||||
>
|
||||
<span class="panel-section-title" style="margin: 0">连线条件</span>
|
||||
<el-button type="danger" text size="small" @click="deleteSelectedEdge"
|
||||
>删除连线</el-button
|
||||
>
|
||||
<el-button type="danger" text size="small" @click="deleteSelectedEdge">
|
||||
<el-icon><Delete /></el-icon>删除连线
|
||||
</el-button>
|
||||
</div>
|
||||
<div class="edge-info">
|
||||
<span class="edge-from">{{ selectedEdge.fromNodeName }}</span>
|
||||
@@ -279,7 +280,7 @@
|
||||
style="margin-left: auto"
|
||||
@click="removeConditionGroup(gIdx)"
|
||||
>
|
||||
删除组
|
||||
<el-icon><Delete /></el-icon>删除组
|
||||
</el-button>
|
||||
</div>
|
||||
<div v-for="(rule, rIdx) in group.rules" :key="rIdx" class="condition-rule-row">
|
||||
@@ -312,17 +313,17 @@
|
||||
size="small"
|
||||
@click="removeConditionRule(gIdx, rIdx)"
|
||||
>
|
||||
×
|
||||
<el-icon><Close /></el-icon>
|
||||
</el-button>
|
||||
</div>
|
||||
<el-button type="primary" link size="small" @click="addConditionRule(gIdx)">
|
||||
+ 添加条件
|
||||
<el-icon><Plus /></el-icon>添加条件
|
||||
</el-button>
|
||||
</div>
|
||||
<div class="group-logic-hint">组间关系:任一条件组满足即可 (OR)</div>
|
||||
<el-button type="primary" link @click="addConditionGroup"
|
||||
>+ 添加条件组 (OR)</el-button
|
||||
>
|
||||
<el-button type="primary" link @click="addConditionGroup">
|
||||
<el-icon><Plus /></el-icon>添加条件组 (OR)
|
||||
</el-button>
|
||||
|
||||
<div class="field-hint">
|
||||
<p><strong>流程变量说明:</strong></p>
|
||||
@@ -348,7 +349,7 @@
|
||||
|
||||
<script setup lang="ts">
|
||||
import { Graph } from '@antv/x6'
|
||||
import { Close, Document, Check } from '@element-plus/icons-vue'
|
||||
import { Close, Document, Check, Delete, Plus } from '@element-plus/icons-vue'
|
||||
import { fetchDesignerData, fetchPublishVersion } from '@/api/workflow'
|
||||
import { fetchUserOptions, fetchRoleOptions } from '@/api/admin'
|
||||
|
||||
|
||||
@@ -2,10 +2,6 @@
|
||||
<template>
|
||||
<div class="page-container">
|
||||
<section class="panel">
|
||||
<div class="panel-top">
|
||||
<h2>申请列表</h2>
|
||||
</div>
|
||||
|
||||
<div class="filter-block">
|
||||
<el-form :model="searchForm" class="filter-form" @submit.prevent>
|
||||
<div class="filter-grid">
|
||||
|
||||
@@ -3,10 +3,6 @@
|
||||
<template>
|
||||
<div class="page-container">
|
||||
<section class="panel">
|
||||
<div class="panel-top">
|
||||
<h2>流程列表</h2>
|
||||
</div>
|
||||
|
||||
<div class="filter-block">
|
||||
<el-form :model="searchForm" class="filter-form" @submit.prevent>
|
||||
<div class="filter-grid">
|
||||
|
||||
@@ -2,10 +2,6 @@
|
||||
<template>
|
||||
<div class="page-container">
|
||||
<section class="panel">
|
||||
<div class="panel-top">
|
||||
<h2>已办列表</h2>
|
||||
</div>
|
||||
|
||||
<div class="filter-block">
|
||||
<el-form :model="searchForm" class="filter-form" @submit.prevent>
|
||||
<div class="filter-grid">
|
||||
|
||||
@@ -2,10 +2,6 @@
|
||||
<template>
|
||||
<div class="page-container">
|
||||
<section class="panel">
|
||||
<div class="panel-top">
|
||||
<h2>待办列表</h2>
|
||||
</div>
|
||||
|
||||
<div class="filter-block">
|
||||
<el-form :model="searchForm" class="filter-form" @submit.prevent>
|
||||
<div class="filter-grid">
|
||||
|
||||
Reference in new issue
Block a user