Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jinfa-admin
Project
Project
Details
Activity
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
project
jinfa-admin
Commits
06d5c944
Commit
06d5c944
authored
May 07, 2021
by
前端-钟卫鹏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
🐞
fix(11):
parent
c6d177b9
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
59 additions
and
59 deletions
+59
-59
useSelfTable.tsx
...ages/procurement/callForBidsSearch/model/useSelfTable.tsx
+10
-10
index.tsx
src/pages/procurement/readyCheckBid/index.tsx
+39
-39
useSelfTable.tsx
src/pages/procurement/readyCheckBid/model/useSelfTable.tsx
+1
-1
index.ts
src/pages/procurement/readyCheckBid/schema/index.ts
+1
-1
useSelfTable.tsx
src/pages/procurement/tenderSearch/model/useSelfTable.tsx
+8
-8
No files found.
src/pages/procurement/callForBidsSearch/model/useSelfTable.tsx
View file @
06d5c944
...
...
@@ -13,14 +13,14 @@ export const useSelfTable = () => {
const
callForBidColumns
:
any
[]
=
[
{
title
:
'序号'
,
align
:
'
center
'
,
align
:
'
left
'
,
dataIndex
:
'id'
,
key
:
'id'
,
render
:
(
text
,
record
,
index
)
=>
index
+
1
},
{
title
:
'招标编号/项目'
,
align
:
'
center
'
,
align
:
'
left
'
,
dataIndex
:
'code'
,
key
:
'code'
,
render
:
(
text
,
record
)
=>
<>
...
...
@@ -32,21 +32,21 @@ export const useSelfTable = () => {
},
{
title
:
'采购类型'
,
align
:
'
center
'
,
align
:
'
left
'
,
dataIndex
:
'purchaseType'
,
key
:
'purchaseType'
,
render
:
(
t
)
=>
PURCHASE_TYPE
[
t
]
},
{
title
:
'招标方式'
,
align
:
'
center
'
,
align
:
'
left
'
,
dataIndex
:
'inviteTenderType'
,
key
:
'inviteTenderType'
,
render
:
(
t
)
=>
CALLFORBID_TYPE
[
t
]
},
{
title
:
'发布时间'
,
align
:
'
center
'
,
align
:
'
left
'
,
dataIndex
:
'createTime'
,
key
:
'createTime'
,
render
:
(
text
,
record
)
=>
formatTimeString
(
record
.
createTime
),
...
...
@@ -54,7 +54,7 @@ export const useSelfTable = () => {
},
{
title
:
'报名开始/截止时间'
,
align
:
'
center
'
,
align
:
'
left
'
,
dataIndex
:
'registerStartTime'
,
key
:
'registerStartTime'
,
render
:
(
text
,
record
)
=>
<>
...
...
@@ -65,7 +65,7 @@ export const useSelfTable = () => {
},
{
title
:
'资格预审开始/截止时间'
,
align
:
'
center
'
,
align
:
'
left
'
,
dataIndex
:
'checkStartTime'
,
key
:
'checkStartTime'
,
render
:
(
text
,
record
)
=>
<>
...
...
@@ -76,7 +76,7 @@ export const useSelfTable = () => {
},
{
title
:
'投标开始/截止时间'
,
align
:
'
center
'
,
align
:
'
left
'
,
dataIndex
:
'inviteTenderStartTime'
,
key
:
'inviteTenderStartTime'
,
render
:
(
text
,
record
)
=>
<>
...
...
@@ -87,14 +87,14 @@ export const useSelfTable = () => {
},
{
title
:
'外部状态'
,
align
:
'
center
'
,
align
:
'
left
'
,
dataIndex
:
'tenderOutStatus'
,
key
:
'tenderOutStatus'
,
render
:
text
=>
<
CustomTag
status=
{
text
}
type=
'out'
/>
},
// {
// title: '内部状态',
// align: '
center
',
// align: '
left
',
// dataIndex: 'inviteTenderInStatus',
// key: 'inviteTenderInStatus',
// render: (text) => <CustomBadge status={text} type='inside' />
...
...
src/pages/procurement/readyCheckBid/index.tsx
View file @
06d5c944
...
...
@@ -54,47 +54,47 @@ const FirstCheckedBid:React.FC<FirstCheckedBidProps> = (props) => {
}
}
return
<
Card
>
<
StandardTable
fetchTableData=
{
params
=>
fetchTableData
(
params
)
}
rowSelection=
{
rowSelection
}
columns=
{
columns
}
currentRef=
{
ref
}
rowKey=
{
'id'
}
formilyLayouts=
{
{
justify
:
'space-between'
}
}
formilyProps=
{
{
ctx
:
{
inline
:
false
,
schema
:
tableListSchema
,
effects
:
(
$
,
actions
)
=>
{
useStateFilterSearchLinkageEffect
(
$
,
actions
,
'code'
,
FORM_FILTER_PATH
,
);
},
components
:
{
DateRangePickerUnix
,
Submit
}
<
StandardTable
fetchTableData=
{
params
=>
fetchTableData
(
params
)
}
rowSelection=
{
rowSelection
}
columns=
{
columns
}
currentRef=
{
ref
}
rowKey=
{
'id'
}
formilyLayouts=
{
{
justify
:
'space-between'
}
}
formilyProps=
{
{
ctx
:
{
inline
:
false
,
schema
:
tableListSchema
,
effects
:
(
$
,
actions
)
=>
{
useStateFilterSearchLinkageEffect
(
$
,
actions
,
'inviteTenderCode'
,
FORM_FILTER_PATH
,
);
},
layou
ts
:
{
order
:
2
,
span
:
24
componen
ts
:
{
DateRangePickerUnix
,
Submit
}
}
}
formilyChilds=
{
{
children
:
<
Space
>
<
Button
onClick=
{
handleSubmitBatch
}
loading=
{
loading
}
>
批量审核通过
</
Button
>
</
Space
>,
layouts
:
{
span
:
8
}
}
}
/>
</
Card
>
},
layouts
:
{
order
:
2
,
span
:
16
}
}
}
formilyChilds=
{
{
children
:
<
Space
>
<
Button
onClick=
{
handleSubmitBatch
}
loading=
{
loading
}
>
批量审核通过
</
Button
>
</
Space
>,
layouts
:
{
span
:
8
}
}
}
/>
</
Card
>
}
FirstCheckedBid
.
defaultProps
=
{}
...
...
src/pages/procurement/readyCheckBid/model/useSelfTable.tsx
View file @
06d5c944
...
...
@@ -18,7 +18,7 @@ export const useSelfTable = () => {
const
secondColumns
:
any
[]
=
baseBidListColumns
.
concat
([
{
title
:
'操作'
,
align
:
'
center
'
,
align
:
'
left
'
,
dataIndex
:
'ctl'
,
key
:
'ctl'
,
render
:
(
text
,
record
)
=>
<
Button
type=
'link'
onClick=
{
()
=>
handleSubmit
(
record
)
}
>
审核
</
Button
>
...
...
src/pages/procurement/readyCheckBid/schema/index.ts
View file @
06d5c944
...
...
@@ -7,7 +7,7 @@ import { FORM_FILTER_PATH } from '@/formSchema/const';
export
const
tableListSchema
:
ISchema
=
{
type
:
'object'
,
properties
:
{
c
ode
:
{
inviteTenderC
ode
:
{
type
:
'string'
,
"x-component"
:
'SearchFilter'
,
'x-component-props'
:
{
...
...
src/pages/procurement/tenderSearch/model/useSelfTable.tsx
View file @
06d5c944
...
...
@@ -10,14 +10,14 @@ export const useSelfTable = () => {
const
callForBidColumns
:
any
[]
=
[
{
title
:
'序号'
,
align
:
'
center
'
,
align
:
'
left
'
,
dataIndex
:
'id'
,
key
:
'id'
,
render
:
(
text
,
record
,
index
)
=>
index
+
1
},
{
title
:
'招标编号/项目'
,
align
:
'
center
'
,
align
:
'
left
'
,
dataIndex
:
'memberId'
,
key
:
'memberId'
,
render
:
(
text
,
record
)
=>
<>
...
...
@@ -29,7 +29,7 @@ export const useSelfTable = () => {
},
{
title
:
'投标编号/会员'
,
align
:
'
center
'
,
align
:
'
left
'
,
dataIndex
:
'code'
,
key
:
'code'
,
render
:
(
text
,
record
)
=>
<>
...
...
@@ -41,7 +41,7 @@ export const useSelfTable = () => {
},
{
title
:
'投标时间'
,
align
:
'
center
'
,
align
:
'
left
'
,
dataIndex
:
'inviteTender'
,
key
:
'inviteTender'
,
render
:
(
text
,
record
)
=>
formatTimeString
(
record
.
inviteTender
.
inviteTenderStartTime
),
...
...
@@ -49,7 +49,7 @@ export const useSelfTable = () => {
},
{
title
:
'开标时间'
,
align
:
'
center
'
,
align
:
'
left
'
,
dataIndex
:
'inviteTender'
,
key
:
'inviteTender'
,
render
:
(
text
,
record
)
=>
formatTimeString
(
record
.
inviteTender
.
openTenderTime
),
...
...
@@ -57,21 +57,21 @@ export const useSelfTable = () => {
},
{
title
:
'是否中标'
,
align
:
'
center
'
,
align
:
'
left
'
,
dataIndex
:
'isWin'
,
key
:
'isWin'
,
render
:
(
text
)
=>
text
?
'是'
:
'否'
},
{
title
:
'外部状态'
,
align
:
'
center
'
,
align
:
'
left
'
,
dataIndex
:
'inviteTender'
,
key
:
'inviteTender'
,
render
:
(
text
,
record
)
=>
<
CustomTag
status=
{
record
.
inviteTender
.
tenderOutStatus
}
type=
'out'
/>
},
// {
// title: '内部状态',
// align: '
center
',
// align: '
left
',
// dataIndex: 'interiorState',
// key: 'interiorState',
// render: (text) => <CustomBadge status={text} type='inside' />
...
...
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