Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
apaas-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
gzga-jzapi
apaas-ui
Commits
c7b519d6
Commit
c7b519d6
authored
Nov 03, 2020
by
刘殿昕
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
云资源接口
parent
b4b27930
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
18 deletions
+22
-18
src/components/shop-cloud/shop-cloud.vue
src/components/shop-cloud/shop-cloud.vue
+22
-18
No files found.
src/components/shop-cloud/shop-cloud.vue
View file @
c7b519d6
...
...
@@ -1681,25 +1681,23 @@ export default {
apply_connect_mobile
:
this
.
form
.
phone
,
memory
:
Number
(
this
.
formNew
.
memory
),
containers
:
this
.
formNew
.
containerGroup
,
disk_num
:
this
.
formNew
.
dataDisk
,
disk_cap
:
this
.
formNew
.
perDataDisk
,
one_cpu_min
:
this
.
formNew
.
perCPU
,
one_cpu_max
:
this
.
formNew
.
perCPUs
,
one_memory_min
:
this
.
formNew
.
perRAM
,
one_memory_max
:
this
.
formNew
.
perRAMs
,
one_cpu_min
:
this
.
formNew
.
perCPU
?
this
.
formNew
.
perCPU
:
0
,
one_cpu_max
:
this
.
formNew
.
perCPUs
?
this
.
formNew
.
perCPUs
:
0
,
one_memory_min
:
this
.
formNew
.
perRAM
?
this
.
formNew
.
perRAM
:
0
,
one_memory_max
:
this
.
formNew
.
perRAMs
?
this
.
formNew
.
perRAMs
:
0
,
}
,
disks
:
[
{
disk_num
:
this
.
formNew
.
dataDisk
+
"
"
,
disk_cap
:
this
.
formNew
.
perDataDisk
+
"
"
,
store_type
:
this
.
formNew
.
store_type
+
"
"
,
disk_num
:
this
.
formNew
.
dataDisk
?
this
.
formNew
.
dataDisk
+
""
:
"
0
"
,
disk_cap
:
this
.
formNew
.
perDataDisk
?
this
.
formNew
.
perDataDisk
+
""
:
"
0
"
,
store_type
:
"
nfs-client
"
,
}
,
],
payment
:
{
// total_money: this.total_money,
disk_single_money
:
this
.
disk_single_money
,
eci_single_money
:
this
.
eci_single_money
,
total_money
:
this
.
amounts_payable
,
disk_single_money
:
String
(
this
.
disk_single_money
)
,
eci_single_money
:
String
(
this
.
eci_single_money
)
,
total_money
:
String
(
this
.
amounts_payable
)
,
}
,
}
;
this
.
$api
.
serviceShop
.
applicationCloud
(
query
).
then
((
response
)
=>
{
...
...
@@ -1729,19 +1727,25 @@ export default {
apply_connect_mobile
:
this
.
form
.
phone
,
memory
:
Number
(
this
.
formOld
.
memory
),
containers
:
this
.
formOld
.
containerGroup
,
one_cpu_min
:
this
.
formOld
.
perCPU
,
one_cpu_max
:
this
.
formOld
.
perCPUs
,
one_memory_min
:
this
.
formOld
.
perRAM
,
one_memory_max
:
this
.
formOld
.
perRAMs
,
one_cpu_min
:
this
.
formOld
.
perCPU
?
this
.
formOld
.
perCPU
:
0
,
one_cpu_max
:
this
.
formOld
.
perCPUs
?
this
.
formOld
.
perCPUs
:
0
,
one_memory_min
:
this
.
formOld
.
perRAM
?
this
.
formOld
.
perRAM
:
0
,
one_memory_max
:
this
.
formOld
.
perRAMs
?
this
.
formOld
.
perRAMs
:
0
,
}
,
disks
:
[
{
disk_num
:
this
.
formOld
.
dataDisk
,
disk_cap
:
this
.
formOld
.
perDataDisk
,
disk_num
:
this
.
formOld
.
dataDisk
?
this
.
formOld
.
dataDisk
+
""
:
"
0
"
,
disk_cap
:
this
.
formOld
.
perDataDisk
?
this
.
formOld
.
perDataDisk
+
""
:
"
0
"
,
store_type
:
"
nfs-client
"
,
}
,
],
remove_disks
:
this
.
delDataDiskList
.
map
((
item
)
=>
item
.
id
),
payment
:
{
// total_money: this.total_money,
disk_single_money
:
String
(
this
.
disk_single_money
),
eci_single_money
:
String
(
this
.
eci_single_money
),
total_money
:
String
(
this
.
amounts_payable
),
}
,
}
;
this
.
$api
.
serviceShop
.
updateCloud
(
query
).
then
((
response
)
=>
{
if
(
response
.
data
.
success
==
1
)
{
...
...
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