Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
bigDataSystem
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
张伯涛
bigDataSystem
Commits
1228f31a
Commit
1228f31a
authored
Dec 23, 2024
by
baiyinhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改商城订单页面
parent
6a97bff1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
30 additions
and
32 deletions
+30
-32
index.vue
src/views/dataSharingAndExchange/shoppingOrder/index.vue
+30
-32
No files found.
src/views/dataSharingAndExchange/shoppingOrder/index.vue
View file @
1228f31a
...
@@ -22,26 +22,16 @@
...
@@ -22,26 +22,16 @@
</
template
>
</
template
>
<
template
#
footer
>
<
template
#
footer
>
<BasicTable
@
register=
"registerTable"
ref=
"table"
>
<BasicTable
@
register=
"registerTable"
ref=
"table"
>
<!--
<template
#
bodyCell=
"
{ column, record }">-->
<template
#
bodyCell=
"
{ column, record }">
<!--
<template
v-if=
"column.key === 'action'"
>
-->
<template
v-if=
"column.key === 'action'"
>
<!--
<TableAction-->
<TableAction
<!-- v-if="record.progress === '待支付'"-->
:actions=
"[
<!-- :actions="[-->
{ label: '详情', onClick: handleDetail.bind(null, record) },
<!--
{-->
{ label: '审核', onClick: handleDetail.bind(null, record) },
<!-- label: '支付',-->
]"
<!-- color: 'error',-->
/>
<!-- onClick: handlePay.bind(null, record),-->
</
template
>
<!-- },-->
</template>
<!--
{-->
<!-- label: '取消订单',-->
<!-- popConfirm:
{-->
<!-- title: '是否确认取消订单',-->
<!-- placement: 'left',-->
<!-- confirm: handleRemove.bind(null, record),-->
<!-- },-->
<!-- },-->
<!-- ]"-->
<!-- />-->
<!-- <TableAction-->
<!-- <TableAction-->
<!-- v-if="record.progress === '已完成' && record.type === '数据集'"-->
<!-- v-if="record.progress === '已完成' && record.type === '数据集'"-->
<!-- :actions="[-->
<!-- :actions="[-->
...
@@ -73,7 +63,7 @@
...
@@ -73,7 +63,7 @@
<!-- },-->
<!-- },-->
<!-- ]"-->
<!-- ]"-->
<!-- />-->
<!-- />-->
<!--
</
template
>
-->
<!-- </template>-->
<!-- </template>-->
<
template
#
name=
"{ text, record }"
>
<
template
#
name=
"{ text, record }"
>
<a
@
click=
"handleDetail(record)"
>
{{
text
}}
</a>
<a
@
click=
"handleDetail(record)"
>
{{
text
}}
</a>
...
@@ -94,8 +84,7 @@
...
@@ -94,8 +84,7 @@
import
{
FormProps
}
from
'@/components/Form'
;
import
{
FormProps
}
from
'@/components/Form'
;
import
{
ref
}
from
'vue'
;
import
{
ref
}
from
'vue'
;
import
{
useMessage
}
from
'@/hooks/web/useMessage'
;
import
{
useMessage
}
from
'@/hooks/web/useMessage'
;
import
BasicTable
from
'@/components/Table/src/BasicTable.vue'
;
import
{
BasicTable
,
useTable
,
TableAction
}
from
'@/components/Table'
;
import
{
BasicTableProps
,
useTable
}
from
'@/components/Table'
;
import
{
orderFormSchema
,
orderTableColumn
}
from
'./order.data'
;
import
{
orderFormSchema
,
orderTableColumn
}
from
'./order.data'
;
import
{
orderData
}
from
'./orderData'
;
import
{
orderData
}
from
'./orderData'
;
import
{
useModal
}
from
'@/components/Modal'
;
import
{
useModal
}
from
'@/components/Modal'
;
...
@@ -170,7 +159,10 @@
...
@@ -170,7 +159,10 @@
/**
/**
* table
* table
*/
*/
const
[
registerTable
,
{
getSelectRows
}]
=
useTable
({
const
[
registerTable
,
{
reload
,
updateTableDataRecord
,
getSearchInfo
,
getForm
,
getRowSelection
},
]
=
useTable
({
title
:
''
,
title
:
''
,
api
:
async
(
params
)
=>
{
api
:
async
(
params
)
=>
{
console
.
log
(
'params'
,
params
);
console
.
log
(
'params'
,
params
);
...
@@ -197,13 +189,13 @@
...
@@ -197,13 +189,13 @@
bordered
:
true
,
bordered
:
true
,
striped
:
false
,
striped
:
false
,
showIndexColumn
:
false
,
showIndexColumn
:
false
,
//
actionColumn: {
actionColumn
:
{
//
width: 200,
width
:
200
,
//
title: '操作',
title
:
'操作'
,
//
dataIndex: 'action',
dataIndex
:
'action'
,
//
// slots: { customRender: 'action' },
// slots: { customRender: 'action' },
//
fixed: undefined,
fixed
:
undefined
,
//
},
},
}
as
BasicTableProps
);
}
as
BasicTableProps
);
</
script
>
</
script
>
...
@@ -212,25 +204,31 @@
...
@@ -212,25 +204,31 @@
display
:
flex
;
display
:
flex
;
flex-direction
:
row
;
flex-direction
:
row
;
gap
:
10px
;
gap
:
10px
;
.h-back
{
.h-back
{
font-size
:
20px
;
font-size
:
20px
;
}
}
.h-icon
{
.h-icon
{
font-size
:
30px
;
color
:
#0a208a
;
color
:
#0a208a
;
font-size
:
30px
;
}
}
.h-txt
{
.h-txt
{
display
:
flex
;
display
:
flex
;
flex-direction
:
column
;
flex-direction
:
column
;
.h-des
{
.h-des
{
font-size
:
20px
;
font-size
:
20px
;
font-weight
:
bolder
;
font-weight
:
bolder
;
}
}
.h-path
{
.h-path
{
color
:
#a4a8b6
;
color
:
#a4a8b6
;
}
}
}
}
}
}
.h-group
{
.h-group
{
display
:
flex
;
display
:
flex
;
gap
:
10px
;
gap
:
10px
;
...
...
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