Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
client
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
2db0953e
authored
Oct 19, 2025
by
Jony.L
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
算力资源重构-收尾修改 支付、发票、字段修改等
parent
1640493c
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
3 deletions
+12
-3
src/api/computility/order.js
+1
-1
src/views/console/naturalResources.vue
+11
-2
No files found.
src/api/computility/order.js
View file @
2db0953e
...
@@ -12,7 +12,7 @@ export function listOrder (query) {
...
@@ -12,7 +12,7 @@ export function listOrder (query) {
export
function
orderInvoiceRequest
(
data
){
export
function
orderInvoiceRequest
(
data
){
return
request
({
return
request
({
url
:
'/
trade/order/invoiceR
equest'
,
url
:
'/
compute/order/invoice-r
equest'
,
method
:
'post'
,
method
:
'post'
,
data
:
data
data
:
data
})
})
...
...
src/views/console/naturalResources.vue
View file @
2db0953e
...
@@ -13,7 +13,11 @@
...
@@ -13,7 +13,11 @@
<span>
{{
scope
.
row
.
skuName
}}
</span>
<span>
{{
scope
.
row
.
skuName
}}
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"订单状态"
align=
"center"
prop=
"statusName"
/>
<el-table-column
label=
"订单状态"
align=
"center"
prop=
"status"
>
<
template
#
default=
"scope"
>
<dict-tag
:options=
"compute_resource_order_status"
:value=
"scope.row.status"
/>
</
template
>
</el-table-column>
<el-table-column
label=
"申请时间"
align=
"center"
prop=
"createTime"
width=
"180"
>
<el-table-column
label=
"申请时间"
align=
"center"
prop=
"createTime"
width=
"180"
>
<
template
#
default=
"scope"
>
<
template
#
default=
"scope"
>
<span>
{{
parseTime
(
scope
.
row
.
createTime
,
'
{
y
}
-
{
m
}
-
{
d
}'
)
}}
<
/span
>
<span>
{{
parseTime
(
scope
.
row
.
createTime
,
'
{
y
}
-
{
m
}
-
{
d
}'
)
}}
<
/span
>
...
@@ -83,7 +87,9 @@
...
@@ -83,7 +87,9 @@
<
/div
>
<
/div
>
<
div
class
=
"info-item flex-align-center flex-space-between"
>
<
div
class
=
"info-item flex-align-center flex-space-between"
>
<
div
class
=
"label"
>
订单状态
<
/div
>
<
div
class
=
"label"
>
订单状态
<
/div
>
<
div
class
=
"value"
>
{{
form
.
statusName
}}
<
/div
>
<
div
class
=
"value"
>
<
dict
-
tag
:
options
=
"compute_resource_order_status"
:
value
=
"form.status"
/>
<
/div
>
<
/div
>
<
/div
>
<
/div
>
<
/div
>
...
@@ -113,6 +119,9 @@
...
@@ -113,6 +119,9 @@
import
{
listResources
,
getResources
}
from
'@/api/computility/resources'
import
{
listResources
,
getResources
}
from
'@/api/computility/resources'
import
{
parseTime
}
from
"../../utils/ruoyi.js"
;
import
{
parseTime
}
from
"../../utils/ruoyi.js"
;
const
{
proxy
}
=
getCurrentInstance
()
const
{
compute_resource_order_status
}
=
proxy
.
useDict
(
'compute_resource_order_status'
)
const
resourcesList
=
ref
([])
const
resourcesList
=
ref
([])
const
open
=
ref
(
false
)
const
open
=
ref
(
false
)
const
loading
=
ref
(
true
)
const
loading
=
ref
(
true
)
...
...
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