Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
so-manage-ui
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
smart-operation
so-manage-ui
Commits
122c99f4
Commit
122c99f4
authored
Apr 03, 2023
by
白舜
🎱
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev0331' into dev
parents
3a675eb3
494b827b
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
570 additions
and
49 deletions
+570
-49
.beagle.yml
.beagle.yml
+2
-3
src/assets/css/index.css
src/assets/css/index.css
+13
-0
src/bg-ui/bg-table.vue
src/bg-ui/bg-table.vue
+5
-1
src/page/main/config/cloud-platform/index.vue
src/page/main/config/cloud-platform/index.vue
+503
-0
vite.config.js
vite.config.js
+47
-45
No files found.
.beagle.yml
View file @
122c99f4
kind
:
pipeline
name
:
dev
name
:
dev
0331
trigger
:
branch
:
-
dev
-
dev
0331
clone
:
disable
:
true
...
...
@@ -70,7 +70,6 @@ steps: # 定义流水线执行步骤,这些步骤将顺序执行
from_secret
:
REGISTRY_USER_ALIYUN
registry_password
:
# 密码
from_secret
:
REGISTRY_PASSWORD_ALIYUN
# - name: deploy-amd64
# image: registry.cn-qingdao.aliyuncs.com/wod/devops-kubernetes:1.0
# settings:
...
...
src/assets/css/index.css
View file @
122c99f4
...
...
@@ -711,6 +711,19 @@ border-radius:8px;
background-color
:
#e1e4fb
;
border-color
:
#e1e4fb
;
}
.apaas_button
.el-button--info
{
color
:
#fff
;
background-color
:
#404a62
;
border-color
:
#404a62
;
}
.apaas_button
.el-button--info
:hover
{
background-color
:
#5c6579
;
border-color
:
#5c6579
;
}
.apaas_button
.el-button--info
:active
{
background-color
:
#363f53
;
border-color
:
#363f53
;
}
.apaas_button
.el-button--danger
{
color
:
#fff
;
...
...
src/bg-ui/bg-table.vue
View file @
122c99f4
...
...
@@ -20,7 +20,7 @@
<el-table-column
type=
"selection"
:selectable=
"selectable"
width=
"38"
v-if=
"select"
>
<!-- checkbox -->
</el-table-column>
<el-table-column
v-if=
"isIndex"
type=
"index"
:label=
"indexLabel"
width=
"54
"
align=
"left"
>
<el-table-column
v-if=
"isIndex"
type=
"index"
:label=
"indexLabel"
:width=
"indexWidth
"
align=
"left"
>
<!-- 序号 -->
</el-table-column>
<el-table-column
...
...
@@ -98,6 +98,10 @@ const props = defineProps({
typr
:
Boolean
,
default
:
""
,
},
// 决定多选框是否禁用的字段
indexWidth
:
{
type
:
Number
,
default
:
54
,
},
});
const
table
=
ref
(
null
);
...
...
src/page/main/config/cloud-platform/index.vue
0 → 100644
View file @
122c99f4
This diff is collapsed.
Click to expand it.
vite.config.js
View file @
122c99f4
import
{
defineConfig
}
from
'
vite
'
import
vue
from
'
@vitejs/plugin-vue
'
import
{
defineConfig
}
from
"
vite
"
;
import
vue
from
"
@vitejs/plugin-vue
"
;
const
path
=
require
(
'
path
'
)
const
path
=
require
(
"
path
"
);
function
resolve_path
(
dir
)
{
return
path
.
join
(
__dirname
,
'
./
'
,
dir
)
function
resolve_path
(
dir
)
{
return
path
.
join
(
__dirname
,
"
./
"
,
dir
);
}
export
default
{
plugins
:
[
vue
()
],
plugins
:
[
vue
()],
//本地运行基础路径,如:http://localhost:5173/apaas/ui/
base
:
"
/apaas/manage/ui/
"
,
clearScreen
:
false
,
resolve
:{
clearScreen
:
false
,
resolve
:
{
//别名,代码引入时方便引入
alias
:{
'
@
'
:
resolve_path
(
'
src
'
),
}
alias
:
{
"
@
"
:
resolve_path
(
"
src
"
),
}
,
},
css
:{
devSourcemap
:
true
,
//代码编排,调试时是否能看到源码
css
:
{
devSourcemap
:
true
,
//代码编排,调试时是否能看到源码
},
server
:{
host
:
'
0.0.0.0
'
,
//host配置,0.0.0.0会添加本地ip,开启局域网访问路径
hmr
:
true
,
//热更新
server
:
{
host
:
"
0.0.0.0
"
,
//host配置,0.0.0.0会添加本地ip,开启局域网访问路径
hmr
:
true
,
//热更新
proxy
:
{
// 选项写法
'
/apaas/system
'
:{
target
:
'
https://apaas5.wodcloud.com/apaas/system
'
,
// 所要代理的目标地址
rewrite
:
path
=>
path
.
replace
(
/^
\/
apaas
\/
system/
,
''
),
// 重写传过来的path路径,比如 `/api/index/1?id=10&name=zs`(注意:path路径最前面有斜杠(/),因此,正则匹配的时候不要忘了是斜杠(/)开头的;选项的 key 也是斜杠(/)开头的)
changeOrigin
:
true
,
// true/false, Default: false - changes the origin of the host header to the target URL
secure
:
false
,
//解决证书缺失问题
"
/apaas/system
"
:
{
target
:
"
https://apaas5.wodcloud.com/apaas/system
"
,
// 所要代理的目标地址
rewrite
:
(
path
)
=>
path
.
replace
(
/^
\/
apaas
\/
system/
,
""
),
// 重写传过来的path路径,比如 `/api/index/1?id=10&name=zs`(注意:path路径最前面有斜杠(/),因此,正则匹配的时候不要忘了是斜杠(/)开头的;选项的 key 也是斜杠(/)开头的)
changeOrigin
:
true
,
// true/false, Default: false - changes the origin of the host header to the target URL
secure
:
false
,
//解决证书缺失问题
},
"
/apaas/portal/ui
"
:
{
target
:
"
https://apaas5.wodcloud.com/apaas/portal/ui
"
,
// 所要代理的目标地址
rewrite
:
(
path
)
=>
path
.
replace
(
/^
\/
apaas
\/
portal
\/
ui/
,
""
),
// 重写传过来的path路径,比如 `/api/index/1?id=10&name=zs`(注意:path路径最前面有斜杠(/),因此,正则匹配的时候不要忘了是斜杠(/)开头的;选项的 key 也是斜杠(/)开头的)
changeOrigin
:
true
,
// true/false, Default: false - changes the origin of the host header to the target URL
secure
:
false
,
//解决证书缺失问题
},
'
/apaas/portal/ui
'
:
{
target
:
'
https://apaas5.wodcloud.com/apaas/portal/ui
'
,
// 所要代理的目标地址
rewrite
:
path
=>
path
.
replace
(
/^
\/
apaas
\/
portal
\/
ui/
,
''
),
// 重写传过来的path路径,比如 `/api/index/1?id=10&name=zs`(注意:path路径最前面有斜杠(/),因此,正则匹配的时候不要忘了是斜杠(/)开头的;选项的 key 也是斜杠(/)开头的)
changeOrigin
:
true
,
// true/false, Default: false - changes the origin of the host header to the target URL
secure
:
false
,
//解决证书缺失问题
"
/apaas/service
"
:
{
target
:
"
https://apaas5.wodcloud.com/apaas/service
"
,
// 所要代理的目标地址
rewrite
:
(
path
)
=>
path
.
replace
(
/^
\/
apaas
\/
service/
,
""
),
// 重写传过来的path路径,比如 `/api/index/1?id=10&name=zs`(注意:path路径最前面有斜杠(/),因此,正则匹配的时候不要忘了是斜杠(/)开头的;选项的 key 也是斜杠(/)开头的)
changeOrigin
:
true
,
// true/false, Default: false - changes the origin of the host header to the target URL
secure
:
false
,
//解决证书缺失问题
},
'
/apaas/service
'
:
{
target
:
'
https://apaas5.wodcloud.com/apaas/service
'
,
// 所要代理的目标地址
rewrite
:
path
=>
path
.
replace
(
/^
\/
apaas
\/
service/
,
''
),
// 重写传过来的path路径,比如 `/api/index/1?id=10&name=zs`(注意:path路径最前面有斜杠(/),因此,正则匹配的时候不要忘了是斜杠(/)开头的;选项的 key 也是斜杠(/)开头的)
changeOrigin
:
true
,
// true/false, Default: false - changes the origin of the host header to the target URL
secure
:
false
,
//解决证书缺失问题
"
/apaas/common
"
:
{
target
:
"
https://apaas5.wodcloud.com/apaas/common
"
,
// 所要代理的目标地址
rewrite
:
(
path
)
=>
path
.
replace
(
/^
\/
apaas
\/
common/
,
""
),
// 重写传过来的path路径,比如 `/api/index/1?id=10&name=zs`(注意:path路径最前面有斜杠(/),因此,正则匹配的时候不要忘了是斜杠(/)开头的;选项的 key 也是斜杠(/)开头的)
changeOrigin
:
true
,
// true/false, Default: false - changes the origin of the host header to the target URL
secure
:
false
,
//解决证书缺失问题
},
'
/apaas/common
'
:
{
target
:
'
https://apaas5.wodcloud.com/apaas/common
'
,
// 所要代理的目标地址
rewrite
:
path
=>
path
.
replace
(
/^
\/
apaas
\/
common/
,
''
),
// 重写传过来的path路径,比如 `/api/index/1?id=10&name=zs`(注意:path路径最前面有斜杠(/),因此,正则匹配的时候不要忘了是斜杠(/)开头的;选项的 key 也是斜杠(/)开头的)
changeOrigin
:
true
,
// true/false, Default: false - changes the origin of the host header to the target URL
secure
:
false
,
//解决证书缺失问题
"
/apaas/application/v5
"
:
{
target
:
"
https://apaas5.wodcloud.com/apaas/application/v5
"
,
rewrite
:
(
path
)
=>
path
.
replace
(
/^
\/
apaas
\/
application
\/
v5/
,
""
),
changeOrigin
:
true
,
secure
:
false
,
},
}
}
,
},
build
:{
outDir
:
'
dist/apaas/manage/ui
'
,
//打包输出文件夹
assetsDir
:
'
static
'
,
//打包输出静态文件
build
:
{
outDir
:
"
dist/apaas/manage/ui
"
,
//打包输出文件夹
assetsDir
:
"
static
"
,
//打包输出静态文件
},
}
};
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment