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
e9b4437b
Commit
e9b4437b
authored
Apr 28, 2023
by
白舜
🎱
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'fix-dev0331' of
ssh://cloud.wodcloud.com:10022/apaas/apaas-system-ui
into dev0508
parents
29031758
af951370
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
3 deletions
+12
-3
src/page/main/config/cloud-platform/index.vue
src/page/main/config/cloud-platform/index.vue
+12
-3
No files found.
src/page/main/config/cloud-platform/index.vue
View file @
e9b4437b
...
...
@@ -128,7 +128,7 @@
maxlength=
"100"
show-word-limit
/>
</el-form-item>
<el-form-item
label=
"描述"
prop=
"platform_desc"
>
<el-form-item
label=
"描述"
>
<el-input
v-model.trim=
"formData.platform_desc"
placeholder=
"请输入描述"
...
...
@@ -176,7 +176,7 @@
</template>
<
script
setup
>
import
{
reactive
,
toRefs
,
ref
,
onBeforeMount
,
nextTick
}
from
"
vue
"
;
import
{
reactive
,
toRefs
,
ref
,
onBeforeMount
,
nextTick
,
watch
}
from
"
vue
"
;
import
axios
from
"
../../../../request/http.js
"
;
import
{
ElMessage
}
from
"
element-plus
"
;
import
bgBreadcrumb
from
"
@/components/bg-breadcrumb.vue
"
;
...
...
@@ -244,7 +244,6 @@ const state = reactive({
service_token
:
[{
required
:
true
,
message
:
"
服务地址的TOKEN参数不能为空
"
,
trigger
:
"
blur
"
}],
apiserver
:
[{
required
:
true
,
message
:
"
APISERVER参数不能为空
"
,
trigger
:
"
blur
"
}],
token
:
[{
required
:
true
,
message
:
"
SERVER TOKEN参数不能为空
"
,
trigger
:
"
blur
"
}],
platform_desc
:
[{
required
:
true
,
message
:
"
描述不能为空
"
,
trigger
:
"
blur
"
}],
},
typeList
:
[
{
...
...
@@ -306,6 +305,16 @@ const state = reactive({
],
testSuccess
:
false
,
// 测试连接结果
});
watch
(
()
=>
state
.
formData
,
(
newValue
,
oldValue
)
=>
{
state
.
testSuccess
=
false
;
},
{
deep
:
true
,
}
);
const
getRoleRows
=
()
=>
{
let
params
=
{
...
state
.
filter
};
axios
.
get
(
`/apaas/application/v5/platform/list`
,
{
params
}).
then
((
res
)
=>
{
...
...
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