Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
C
company_app
概览
概览
详情
活动
周期分析
版本库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
问题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
毛细亚
company_app
Commits
1761136e
提交
1761136e
authored
1月 13, 2026
作者:
毛细亚
浏览文件
操作
浏览文件
下载
差异文件
Merge branch '7.2' into release
上级
20cde679
71a3d75b
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
27 行增加
和
7 行删除
+27
-7
addUser.vue
src/views/components/bindGameAccount/addUser.vue
+11
-7
vue.config.js
vue.config.js
+16
-0
没有找到文件。
src/views/components/bindGameAccount/addUser.vue
浏览文件 @
1761136e
<
template
>
<
template
>
<el-drawer
title=
"新增关联账号"
:visible=
"show"
size=
"360px"
:append-to-body=
"true"
@
close=
"close"
>
<el-drawer
title=
"新增关联账号"
:visible=
"show"
size=
"360px"
:append-to-body=
"true"
@
close=
"close"
>
<div
class=
"content-wrapper"
>
<div
class=
"content"
>
<div
class=
"content"
>
<el-form
ref=
"form"
:model=
"form"
label-position=
"top"
:rules=
"rules"
label-width=
"120px"
>
<el-form
ref=
"form"
:model=
"form"
label-position=
"top"
:rules=
"rules"
label-width=
"120px"
>
<div
class=
"inputContent"
>
<div
class=
"inputContent"
>
...
@@ -99,9 +100,10 @@
...
@@ -99,9 +100,10 @@
<page
class=
"pageInfo"
:page-info=
"pageInfo"
@
requestNextPage=
"requestNextPage"
/>
<page
class=
"pageInfo"
:page-info=
"pageInfo"
@
requestNextPage=
"requestNextPage"
/>
<span
class=
"dialog-footer rowFlex"
>
<span
class=
"dialog-footer rowFlex"
>
<el-button
class=
"btn"
type=
"primary"
size=
"small"
:disabled=
"!userDetails.id"
@
click=
"confirmSubmit"
>
确
<el-button
class=
"btn"
type=
"primary"
size=
"small"
:disabled=
"!userDetails.id"
@
click=
"confirmSubmit"
>
确
定
</el-button>
定
</el-button>
<el-button
class=
"btn"
size=
"small"
@
click=
"close"
>
取 消
</el-button>
<el-button
class=
"btn"
size=
"small"
@
click=
"close"
>
取 消
</el-button>
</span>
</span>
</div>
</el-drawer>
</el-drawer>
</
template
>
</
template
>
...
@@ -168,7 +170,7 @@
...
@@ -168,7 +170,7 @@
username
:
this
.
form
.
username
.
trim
(),
username
:
this
.
form
.
username
.
trim
(),
role_name
:
this
.
form
.
role_name
.
trim
(),
role_name
:
this
.
form
.
role_name
.
trim
(),
main_game_id
:
this
.
form
.
main_game_id
!==
''
?
[
this
.
form
.
main_game_id
]
:
[],
main_game_id
:
this
.
form
.
main_game_id
!==
''
?
[
this
.
form
.
main_game_id
]
:
[],
zyo_server_id
:
this
.
form
.
server_info
!==
''
?
[
this
.
form
.
server_info
]
:
[],
zyo
u
_server_id
:
this
.
form
.
server_info
!==
''
?
[
this
.
form
.
server_info
]
:
[],
cp_role_id
:
this
.
form
.
cp_role_id
.
trim
()
||
''
,
cp_role_id
:
this
.
form
.
cp_role_id
.
trim
()
||
''
,
search_type
:
'bind'
,
search_type
:
'bind'
,
...
this
.
pageInfo
...
this
.
pageInfo
...
@@ -360,14 +362,16 @@
...
@@ -360,14 +362,16 @@
text-align
:
left
;
text-align
:
left
;
margin-bottom
:
10px
;
margin-bottom
:
10px
;
}
}
.content-wrapper
{
.content
{
width
:
100%
;
width
:
100%
;
height
:
100%
;
height
:
100%
;
overflow
:
auto
;
overflow
:
auto
;
padding-bottom
:
200px
;
padding-bottom
:
200px
;
padding
:
0
10px
;
}
.content
{
width
:
100%
;
padding
:
0
10px
;
.inputContent
{
.inputContent
{
width
:
100%
;
width
:
100%
;
}
}
...
...
vue.config.js
浏览文件 @
1761136e
const
{
defineConfig
}
=
require
(
'@vue/cli-service'
)
const
{
defineConfig
}
=
require
(
'@vue/cli-service'
)
const
path
=
require
(
'path'
)
const
path
=
require
(
'path'
)
const
fs
=
require
(
'fs'
)
// 构建前删除 company_app 文件夹
function
removeOutputDir
()
{
const
outputDir
=
path
.
join
(
__dirname
,
'company_app'
)
if
(
fs
.
existsSync
(
outputDir
))
{
fs
.
rmSync
(
outputDir
,
{
recursive
:
true
,
force
:
true
})
console
.
log
(
'✅ 已删除 company_app 文件夹'
)
}
}
// 只在构建模式下删除
if
(
process
.
env
.
NODE_ENV
===
'production'
||
process
.
env
.
NODE_ENV
===
'staging'
)
{
removeOutputDir
()
}
function
resolve
(
dir
)
{
function
resolve
(
dir
)
{
return
path
.
join
(
__dirname
,
dir
)
return
path
.
join
(
__dirname
,
dir
)
}
}
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论