Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation
This project
Loading...
Sign in
李宁
/
Activity
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 6eb4db1a
authored
Dec 09, 2025
by
李宁
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
1
1 parent
91674bc8
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
25 additions
and
8 deletions
channelBusiManage/src/components/DesktopMain.vue
channelBusiManage/src/components/LoginPage.vue
channelBusiManage/src/components/UserManagement.vue
channelBusiManage/src/components/DesktopMain.vue
View file @
6eb4db1
...
@@ -184,6 +184,16 @@
...
@@ -184,6 +184,16 @@
</div>
</div>
</
template
>
</
template
>
</div>
</div>
<div
style=
"display:flex;align-items:center;"
>
<!-- 操作手册按钮 -->
<el-tooltip
class=
"item"
effect=
"dark"
content=
"操作手册"
placement=
"bottom"
>
<button
@
click=
"openManual"
class=
"group flex flex-col items-center rounded-lg px-3 py-2 text-neutral-600 hover:text-brand-primary transition-colors"
title=
"操作手册"
>
<BookOpen
:size=
"16"
/>
</button>
</el-tooltip>
<!-- 用户下拉菜单 -->
<!-- 用户下拉菜单 -->
<el-dropdown
trigger=
"click"
@
command=
"handleCommand"
>
<el-dropdown
trigger=
"click"
@
command=
"handleCommand"
>
<el-button
<el-button
...
@@ -210,6 +220,7 @@
...
@@ -210,6 +220,7 @@
</el-dropdown-menu>
</el-dropdown-menu>
</
template
>
</
template
>
</el-dropdown>
</el-dropdown>
</div>
</header>
</header>
<!-- 页面内容区 -->
<!-- 页面内容区 -->
<main
class=
"flex-1 overflow-auto p-6 bg-[#F0F2F5]"
>
<main
class=
"flex-1 overflow-auto p-6 bg-[#F0F2F5]"
>
...
@@ -282,7 +293,8 @@ import {
...
@@ -282,7 +293,8 @@ import {
Users
,
Users
,
User
as
UserIcon
,
User
as
UserIcon
,
ChevronRight
,
ChevronRight
,
ChevronDown
ChevronDown
,
BookOpen
}
from
'lucide-vue-next'
}
from
'lucide-vue-next'
import
{
ElMessage
,
ElMessageBox
}
from
'element-plus'
import
{
ElMessage
,
ElMessageBox
}
from
'element-plus'
// 导入图片资源
// 导入图片资源
...
@@ -481,6 +493,11 @@ const handleCommand = (command: string) => {
...
@@ -481,6 +493,11 @@ const handleCommand = (command: string) => {
ElMessage
.
info
(
`点击了
${
command
}
`
)
ElMessage
.
info
(
`点击了
${
command
}
`
)
}
}
}
}
// 打开操作手册
const
openManual
=
()
=>
{
window
.
open
(
'https://jfq5tn3wbn.feishu.cn/docx/JmDRdQYMNoxHULxsR5vcAHUvn4f'
,
'_blank'
)
}
const
handleViewOrderDetail
=
(
order
:
any
)
=>
{
const
handleViewOrderDetail
=
(
order
:
any
)
=>
{
selectedOrder
.
value
=
order
selectedOrder
.
value
=
order
selectedOrderId
.
value
=
order
.
id
selectedOrderId
.
value
=
order
.
id
...
...
channelBusiManage/src/components/LoginPage.vue
View file @
6eb4db1
...
@@ -184,9 +184,9 @@ const canSendSms = ref(true)
...
@@ -184,9 +184,9 @@ const canSendSms = ref(true)
// 表单数据
// 表单数据
const
loginForm
=
reactive
<
LoginForm
>
({
const
loginForm
=
reactive
<
LoginForm
>
({
phone
:
'
13112345678
'
,
phone
:
''
,
captchaInput
:
''
,
captchaInput
:
''
,
smsCode
:
'
123456
'
smsCode
:
''
}
)
}
)
// 表单验证规则
// 表单验证规则
...
...
channelBusiManage/src/components/UserManagement.vue
View file @
6eb4db1
...
@@ -40,7 +40,7 @@
...
@@ -40,7 +40,7 @@
<Search
class=
"absolute left-3 top-1/2 -translate-y-1/2 h-4 w-4 text-neutral-500 z-10"
/>
<Search
class=
"absolute left-3 top-1/2 -translate-y-1/2 h-4 w-4 text-neutral-500 z-10"
/>
<el-input
<el-input
v-model=
"codeSearch"
v-model=
"codeSearch"
placeholder=
"搜索
工号
"
placeholder=
"搜索
推荐码
"
class=
"h-10 search-input text-ellipsis-input"
class=
"h-10 search-input text-ellipsis-input"
clearable
clearable
/>
/>
...
@@ -114,7 +114,7 @@
...
@@ -114,7 +114,7 @@
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"userCode"
label=
"
工号
"
min-width=
"120"
>
<el-table-column
prop=
"userCode"
label=
"
推荐码
"
min-width=
"120"
>
<
template
#
default=
"{ row }"
>
<
template
#
default=
"{ row }"
>
<span>
{{
row
.
userCode
}}
</span>
<span>
{{
row
.
userCode
}}
</span>
</
template
>
</
template
>
...
@@ -191,10 +191,10 @@
...
@@ -191,10 +191,10 @@
<h3
class=
"text-neutral-900 pb-2 border-b border-neutral-200"
>
基本信息
</h3>
<h3
class=
"text-neutral-900 pb-2 border-b border-neutral-200"
>
基本信息
</h3>
<div
class=
"grid grid-cols-2 gap-x-4"
>
<div
class=
"grid grid-cols-2 gap-x-4"
>
<el-form-item
label=
"
工号
"
required
>
<el-form-item
label=
"
推荐码
"
required
>
<el-input
<el-input
v-model=
"formData.username"
v-model=
"formData.username"
placeholder=
"员工
工号
"
placeholder=
"员工
推荐码
"
:disabled=
"!!editingUser"
:disabled=
"!!editingUser"
/>
/>
</el-form-item>
</el-form-item>
...
@@ -580,7 +580,7 @@ const expandToOrganization = (targetOrgId: string) => {
...
@@ -580,7 +580,7 @@ const expandToOrganization = (targetOrgId: string) => {
const
handleSave
=
async
()
=>
{
const
handleSave
=
async
()
=>
{
// 表单验证
// 表单验证
if
(
!
formData
.
value
.
username
.
trim
())
{
if
(
!
formData
.
value
.
username
.
trim
())
{
ElMessage
.
error
(
'请输入
工号
'
)
ElMessage
.
error
(
'请输入
推荐码
'
)
return
return
}
}
if
(
!
formData
.
value
.
realName
.
trim
())
{
if
(
!
formData
.
value
.
realName
.
trim
())
{
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment