Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jinfa-platform
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
shenshaokai
jinfa-platform
Commits
e2a12f36
Commit
e2a12f36
authored
Jun 14, 2022
by
前端-许冠华
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'v2-220618' into 'v2-220618'
fix: 修改表格reload方法修改成reloadCurrent See merge request linkseeks-design/pro-platform!1031
parents
30b2b723
9e7556e4
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
18 additions
and
18 deletions
+18
-18
index.tsx
src/pages/authConfig/portalSystem/index.tsx
+2
-2
index.tsx
...n/dealAbility/confirmOffer/waitSubmitAuditOffer/index.tsx
+1
-1
index.tsx
...action/dealAbility/confirmOffer/waitSubmitOffer/index.tsx
+1
-1
index.tsx
...ansaction/dealAbility/inquiryOffer/waitAddOffer/index.tsx
+2
-2
index.tsx
...action/dealAbility/inquiryOffer/waitSubmitOffer/index.tsx
+1
-1
index.tsx
...ction/dealAbility/productInquiry/waitAddInquiry/index.tsx
+2
-2
index.tsx
...on/dealAbility/productInquiry/waitSubmitInquiry/index.tsx
+1
-1
index.tsx
...ticsAbility/logisticsAdminister/freightTemplate/index.tsx
+2
-2
index.tsx
...lity/logisticsAdminister/logisticsCompanyManage/index.tsx
+2
-2
index.tsx
...icsAbility/logisticsAdminister/receivingAddress/index.tsx
+1
-1
index.tsx
...icsAbility/logisticsAdminister/shipmentsAddress/index.tsx
+1
-1
index.tsx
...ity/logisticsBillSubmit/waitSbumitLogisticsBill/index.tsx
+2
-2
No files found.
src/pages/authConfig/portalSystem/index.tsx
View file @
e2a12f36
...
...
@@ -23,7 +23,7 @@ const PortalSystem = () => {
id
:
record
.
id
,
}).
then
(
res
=>
{
setConfirmLoading
(
false
)
tableRef
.
current
.
reload
()
tableRef
.
current
.
reload
Current
()
})
}
...
...
@@ -31,7 +31,7 @@ const PortalSystem = () => {
setConfirmLoading
(
true
)
await
postMemberStoreDelete
({
id
:
record
.
id
}).
then
(
res
=>
{
setConfirmLoading
(
false
)
tableRef
.
current
.
reload
()
tableRef
.
current
.
reload
Current
()
})
}
...
...
src/pages/transaction/dealAbility/confirmOffer/waitSubmitAuditOffer/index.tsx
View file @
e2a12f36
...
...
@@ -25,7 +25,7 @@ const WaitSubmitAuditOffer = () => {
const
fetchSubmitBatch
=
async
()
=>
{
const
res
=
await
postTransactionNotarizeEnquiryQuotedPriceSubmitAll
({
ids
:
rowkeys
});
if
(
res
.
code
===
1000
)
{
reload
.
current
.
reload
();
reload
.
current
.
reload
Current
();
setRowKeys
([])
}
}
...
...
src/pages/transaction/dealAbility/confirmOffer/waitSubmitOffer/index.tsx
View file @
e2a12f36
...
...
@@ -24,7 +24,7 @@ const WaitSubmitOffer = () => {
const
fetchSubmitBatch
=
async
()
=>
{
const
res
=
await
postTransactionNotarizeEnquiryQuotedPriceAffirmAll
({
ids
:
rowkeys
});
if
(
res
.
code
===
1000
)
{
reload
.
current
.
reload
();
reload
.
current
.
reload
Current
();
setRowKeys
([])
}
}
...
...
src/pages/transaction/dealAbility/inquiryOffer/waitAddOffer/index.tsx
View file @
e2a12f36
...
...
@@ -29,7 +29,7 @@ const WaitAddOffer = () => {
res
=
await
postTransactionProductQuotationtAll
({
ids
:
rowkeys
});
}
if
(
res
.
code
===
1000
)
{
reload
.
current
.
reload
();
reload
.
current
.
reload
Current
();
setRowKeys
([])
}
}
...
...
@@ -46,7 +46,7 @@ const WaitAddOffer = () => {
res
=
await
postTransactionProductQuotationDeleteAll
({
ids
:
rowkeys
});
}
if
(
res
.
code
===
1000
)
{
reload
.
current
.
reload
();
reload
.
current
.
reload
Current
();
setRowKeys
([])
}
}
...
...
src/pages/transaction/dealAbility/inquiryOffer/waitSubmitOffer/index.tsx
View file @
e2a12f36
...
...
@@ -26,7 +26,7 @@ const WaitSubmitOffer = () => {
res
=
await
postTransactionProductQuotationtToSubmitAll
({
ids
:
rowkeys
});
}
if
(
res
.
code
===
1000
)
{
reload
.
current
.
reload
();
reload
.
current
.
reload
Current
();
setRowKeys
([])
}
}
...
...
src/pages/transaction/dealAbility/productInquiry/waitAddInquiry/index.tsx
View file @
e2a12f36
...
...
@@ -34,7 +34,7 @@ const WaitAddInquiry = () => {
setLoading
(
false
)
return
}
reload
.
current
.
reload
();
reload
.
current
.
reload
Current
();
setRowKeys
([])
setLoading
(
false
)
}
...
...
@@ -51,7 +51,7 @@ const WaitAddInquiry = () => {
res
=
await
postTransactionInquiryListDeleteAll
({
ids
:
rowkeys
});
}
if
(
res
.
code
===
1000
)
{
reload
.
current
.
reload
();
reload
.
current
.
reload
Current
();
setRowKeys
([])
}
}
...
...
src/pages/transaction/dealAbility/productInquiry/waitSubmitInquiry/index.tsx
View file @
e2a12f36
...
...
@@ -26,7 +26,7 @@ const WaitSubmitInquiry = () => {
res
=
await
postTransactionInquirySubmitAll
({
ids
:
rowkeys
});
}
if
(
res
.
code
===
1000
)
{
reload
.
current
.
reload
();
reload
.
current
.
reload
Current
();
setRowKeys
([])
}
}
...
...
src/pages/transaction/logisticsAbility/logisticsAdminister/freightTemplate/index.tsx
View file @
e2a12f36
...
...
@@ -25,7 +25,7 @@ const FreightTemplate = () => {
let
_status
=
status
==
0
?
1
:
0
postLogisticsFreightTemplateEnable
({
id
:
id
,
status
:
_status
}).
then
(
res
=>
{
if
(
res
.
code
===
1000
)
{
reload
.
current
.
reload
()
reload
.
current
.
reloa
reloadCurrent
d
()
}
}).
catch
(
error
=>
{
console
.
warn
(
error
)
...
...
@@ -34,7 +34,7 @@ const FreightTemplate = () => {
const
handleDelete
=
(
id
:
number
)
=>
{
postLogisticsFreightTemplateDelete
({
id
:
id
}).
then
(
res
=>
{
if
(
res
.
code
===
1000
)
{
reload
.
current
.
reload
()
reload
.
current
.
reload
Current
()
}
}).
catch
(
error
=>
{
console
.
warn
(
error
)
...
...
src/pages/transaction/logisticsAbility/logisticsAdminister/logisticsCompanyManage/index.tsx
View file @
e2a12f36
...
...
@@ -31,12 +31,12 @@ const LogisticsCompanyManage = () => {
const
handleChangeStatus
=
async
(
id
:
any
,
status
:
any
)
=>
{
let
_status
=
status
==
1
?
0
:
1
await
postLogisticsCompanyEnable
({
id
:
id
,
status
:
_status
})
reload
.
current
.
reload
()
reload
.
current
.
reload
Current
()
}
const
handleDelete
=
(
id
:
any
)
=>
{
postLogisticsCompanyDelete
({
id
:
id
}).
then
(
res
=>
{
if
(
res
.
code
===
1000
)
{
reload
.
current
.
reload
()
reload
.
current
.
reload
Current
()
}
}).
catch
(
error
=>
{
console
.
warn
(
error
)
...
...
src/pages/transaction/logisticsAbility/logisticsAdminister/receivingAddress/index.tsx
View file @
e2a12f36
...
...
@@ -14,7 +14,7 @@ const ReceivingAddress = () => {
const
handleDelete
=
(
id
:
any
)
=>
{
postLogisticsReceiverAddressDelete
({
id
:
id
}).
then
(
res
=>
{
if
(
res
.
code
===
1000
)
{
reload
.
current
.
reload
()
reload
.
current
.
reload
Current
()
}
}).
catch
(
error
=>
{
console
.
warn
(
error
)
...
...
src/pages/transaction/logisticsAbility/logisticsAdminister/shipmentsAddress/index.tsx
View file @
e2a12f36
...
...
@@ -15,7 +15,7 @@ const ShipmentsAddress = () => {
const
handleDelete
=
(
id
:
any
)
=>
{
postLogisticsShipperAddressDelete
({
id
:
id
}).
then
(
res
=>
{
if
(
res
.
code
===
1000
)
{
reload
.
current
.
reload
()
reload
.
current
.
reload
Current
()
}
}).
catch
(
error
=>
{
console
.
warn
(
error
)
...
...
src/pages/transaction/logisticsAbility/logisticsBillSubmit/waitSbumitLogisticsBill/index.tsx
View file @
e2a12f36
...
...
@@ -19,7 +19,7 @@ const LogisticsBillQuery = () => {
const
handleDelete
=
(
id
:
number
)
=>
{
postLogisticsOrderWaitSubmitDelete
({
id
:
id
}).
then
(
res
=>
{
reload
.
current
.
reload
()
reload
.
current
.
reload
Current
()
}).
catch
(
error
=>
{
console
.
warn
(
error
)
})
...
...
@@ -27,7 +27,7 @@ const LogisticsBillQuery = () => {
const
handleSubmit
=
(
id
:
number
)
=>
{
postLogisticsOrderWaitSubmitSubmit
({
id
:
id
}).
then
(
res
=>
{
reload
.
current
.
reload
()
reload
.
current
.
reload
Current
()
}).
catch
(
error
=>
{
console
.
warn
(
error
)
})
...
...
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