|
|
@@ -157,7 +157,7 @@ const GateAdmin = () => { |
|
|
|
const onFinish = async (values) => { |
|
|
|
if (values.id) { |
|
|
|
values.remaek = html; |
|
|
|
const response = await cardAPI.UpdateGateInfo(values, TenantId); |
|
|
|
const response = await cardAPI.UpdateGateInfoNew(values, TenantId); |
|
|
|
if (response.statusCode === 200) { |
|
|
|
message.success('更新档口成功!'); |
|
|
|
setIsModalOpen(false); |
|
|
@@ -193,10 +193,10 @@ const GateAdmin = () => { |
|
|
|
request={ |
|
|
|
async () => { |
|
|
|
if (currentStore && TenantId) { |
|
|
|
const response = await cardAPI.GetGateListByStorePage(currentStore, current, pageSize, TenantId); |
|
|
|
const response = await cardAPI.GetGateListByStorePageNew(currentStore, current, pageSize, TenantId); |
|
|
|
if (response.statusCode === 200) { |
|
|
|
return { |
|
|
|
data: response.data.data, |
|
|
|
data: response.data.data.data, |
|
|
|
success: true, |
|
|
|
total: response.data.total |
|
|
|
} |
|
|
|