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
10a15fe9
Commit
10a15fe9
authored
Nov 18, 2021
by
Bill
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改装修bug以及添加api
parent
0499bcd8
Show whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
14 additions
and
151 deletions
+14
-151
index.tsx
...vice/returnManage/components/RefundModal/Credit/index.tsx
+1
-1
editPanel.tsx
...zed/categoryNavigation/components/EditPanel/editPanel.tsx
+4
-14
edit.tsx
src/pages/systemManage/appLink/edit.tsx
+1
-1
index.tsx
src/pages/systemManage/appLink/index.tsx
+1
-2
index.tsx
src/pages/systemManage/platformArg/index.tsx
+1
-1
template.tsx
src/pages/systemManage/platformArg/template.tsx
+1
-1
settingModal.tsx
...tingManage/components/PayForm/components/settingModal.tsx
+0
-126
index.tsx
...leSettingManage/platformSettlementStrategy/info/index.tsx
+1
-1
index.tsx
src/pages/systemManage/sensitiveWords/index.tsx
+1
-1
template.tsx
src/pages/systemManage/sensitiveWords/template.tsx
+1
-1
index.tsx
src/pages/systemManage/unit/index.tsx
+1
-1
template.tsx
src/pages/systemManage/unit/template.tsx
+1
-1
No files found.
src/pages/afterService/returnManage/components/RefundModal/Credit/index.tsx
View file @
10a15fe9
...
...
@@ -7,9 +7,9 @@
*/
import
React
,
{
useState
,
useEffect
}
from
'react'
;
import
{
Descriptions
,
Spin
,
Divider
,
Progress
}
from
'antd'
;
// import { PublicApi } from '@/services/api';
import
{
priceFormat
}
from
'@/utils/numberFomat'
;
import
styles
from
'./index.less'
;
import
{
getPayCreditGetMemberCredit
}
from
'@/services/PayV2Api'
;
interface
Credit
{
quota
:
number
,
...
...
src/pages/pageCustomized/categoryNavigation/components/EditPanel/editPanel.tsx
View file @
10a15fe9
...
...
@@ -74,23 +74,13 @@ const EditPanel = () => {
* 但当一级类型没有被选择的时候,那么必须选择一级导航类型
*/
useEffect
(()
=>
{
if
(
activeKey
===
null
&&
previousActiveKey
!==
activeKey
)
{
if
(
activeKey
===
null
)
{
message
.
info
(
"请先选择一级导航类型"
);
}
const
dom
=
pageConfig
[
domKey
!
];
if
(
!
dom
)
{
handleOnClose
();
if
(
selectedInfo
===
null
)
{
setVisible
(
false
);
return
;
}
if
(
activeKey
===
null
&&
selectedInfo
!==
null
)
{
message
.
info
(
"请先选择一级导航类型"
);
const
primaryTabProps
=
pageConfig
[
domKey
!
].
props
;
/** 是否可以编辑一级品类导航页, 因为如果已经创建了品类导航页,他下面的内容都基于一级品类,所以没有必要修改品类导航页,只能删除 */
if
(
primaryTabProps
&&
primaryTabProps
.
id
)
{
// formActions.setFieldState('layout.primary', (fieldState) => {
// FormPath.setIn(fieldState, 'editable', false);
// });
return
;
}
setFormValue
({
primary
:
primaryTabProps
?.
id
,
title
:
primaryTabProps
?.
name
,
...
...
src/pages/systemManage/appLink/edit.tsx
View file @
10a15fe9
...
...
@@ -3,7 +3,7 @@ import { history } from 'umi';
import
{
Card
,
Form
,
Input
,
Button
,
Space
,
Popconfirm
}
from
'antd'
;
import
ReutrnEle
from
'@/components/ReturnEle'
;
import
{
PageHeaderWrapper
}
from
'@ant-design/pro-layout'
;
// import { PublicApi } from '@/services/a
pi';
import
{
postManageAppDownloadLinkUpdate
}
from
'@/services/ManageV2A
pi'
;
const
layout
:
any
=
{
colon
:
false
,
...
...
src/pages/systemManage/appLink/index.tsx
View file @
10a15fe9
...
...
@@ -4,9 +4,8 @@ import { PageHeaderWrapper } from '@ant-design/pro-layout';
import
{
ColumnType
}
from
'antd/lib/table/interface'
;
import
{
StandardTable
}
from
'god'
;
import
StatusSwitch
from
'@/components/StatusSwitch'
;
// import { PublicApi } from '@/services/api';
import
{
useEffect
}
from
'react'
;
import
{
getManageAppDownloadLinkFind
}
from
'@/services/ManageV2Api'
;
import
{
getManageAppDownloadLinkFind
,
postManageAppDownloadLinkUpdate
}
from
'@/services/ManageV2Api'
;
const
AppLink
=
()
=>
{
const
ref
=
useRef
<
any
>
({});
...
...
src/pages/systemManage/platformArg/index.tsx
View file @
10a15fe9
...
...
@@ -4,8 +4,8 @@ import { history } from 'umi';
import
{
PageHeaderWrapper
}
from
'@ant-design/pro-layout'
;
import
{
StandardTable
}
from
'god'
;
import
{
ColumnType
}
from
'antd/lib/table/interface'
;
// import { PublicApi } from '@/services/api';
import
StatusSwitch
from
'@/components/StatusSwitch'
;
import
{
getManageParameterManagePage
,
postManageParameterManageUpdateState
}
from
'@/services/ManageV2Api'
;
const
SensitiveWords
:
React
.
FC
<
{}
>
=
()
=>
{
const
ref
=
useRef
<
any
>
({});
const
columns
:
ColumnType
<
any
>
[]
=
[
...
...
src/pages/systemManage/platformArg/template.tsx
View file @
10a15fe9
...
...
@@ -3,7 +3,7 @@ import { PageHeaderWrapper } from '@ant-design/pro-layout';
import
{
history
}
from
'umi'
;
import
ReutrnEle
from
'@/components/ReturnEle'
;
import
{
Card
,
Form
,
Input
,
Button
,
Space
,
Popconfirm
,
message
}
from
'antd'
;
// import { PublicApi } from '@/services/a
pi';
import
{
postManageParameterManageUpdate
}
from
'@/services/ManageV2A
pi'
;
const
layout
:
any
=
{
colon
:
false
,
labelCol
:
{
style
:
{
width
:
'174px'
}
},
...
...
src/pages/systemManage/ruleSettingManage/components/PayForm/components/settingModal.tsx
deleted
100644 → 0
View file @
0499bcd8
import
React
,
{
Component
,
useState
,
useEffect
}
from
'react'
;
import
{
Modal
,
Button
,
Form
,
Radio
}
from
'antd'
import
{
SchemaForm
,
SchemaMarkupField
as
Field
,
createFormActions
,
FormEffectHooks
}
from
'@formily/antd'
import
{
Input
,
FormMegaLayout
,
Select
}
from
'@formily/antd-components'
// import { PublicApi } from '@/services/api'
export
interface
Params
{
id
?:
any
,
mode
:
number
,
type
?:
number
|
string
,
dialogVisible
:
boolean
;
onCancel
:
Function
;
onOK
?:
Function
;
initialValues
?:
any
;
dontReceive
?:
boolean
;
//默认展示
}
const
actions
=
createFormActions
()
const
{
onFieldChange$
}
=
FormEffectHooks
const
comfirmDialog
:
React
.
FC
<
Params
>
=
(
props
)
=>
{
const
[
payWayCode
,
setPayWayCode
]
=
useState
<
any
>
([]);
const
handletOk
=
(
values
:
any
)
=>
{
let
value
=
{
...
values
}
if
(
props
.
type
){
value
.
type
=
props
.
type
}
props
.
onOK
(
value
)
}
useEffect
(()
=>
{
getPayGetPayWayCodeTypeEnum
().
then
(
res
=>
{
if
(
res
.
code
===
1000
)
{
const
{
data
}
=
res
;
const
arr
:
any
=
[];
data
.
forEach
(
item
=>
{
arr
.
push
({
label
:
item
.
name
,
value
:
item
.
type
})
})
setPayWayCode
(
arr
)
}
})
},
[])
const
useFormEffects
=
()
=>
{
const
{
setFieldState
}
=
createFormActions
()
}
return
(
<>
<
Modal
title=
{
props
.
mode
===
0
?
'新增参数配置'
:
'编辑参数配置'
}
width=
{
800
}
visible=
{
props
.
dialogVisible
}
onOk=
{
()
=>
actions
.
submit
()
}
onCancel=
{
()
=>
props
.
onCancel
()
}
destroyOnClose
afterClose=
{
()
=>
actions
.
reset
()
}
okText=
{
`确定`
}
cancelText=
'取消'
>
<
SchemaForm
labelCol=
{
3
}
components=
{
{
Input
,
Radio
:
Radio
.
Group
,
TextArea
:
Input
.
TextArea
,
Select
}
}
actions=
{
actions
}
effects=
{
()
=>
useFormEffects
()
}
onSubmit=
{
(
values
)
=>
handletOk
(
values
)
}
initialValues=
{
props
.
initialValues
}
>
<
Field
name=
'code'
title=
'参数代码'
required
enum=
{
payWayCode
}
x
-
component
-
props=
{
{
placeholder
:
''
}
}
x
-
component=
"Select"
/>
<>
<
Field
title=
'参数值'
name=
"value"
x
-
component=
"Input"
required
x
-
component
-
props=
{
{
placeholder
:
''
,
// addonBefore: ' '
}
}
x
-
rules=
{
{
message
:
''
}
}
/>
{
/* <FormMegaLayout name='remarkOption' label='不接受原因' full required labelCol={2} labelAlign="top"> */
}
<
Field
title=
'参数描述'
name=
"describe"
x
-
component=
"TextArea"
x
-
component
-
props=
{
{
placeholder
:
'最长128个字符'
}
}
x
-
rules=
{
{
max
:
128
,
// maximum:10,//最大数值
// message: '参数描述最多128个汉字'
}
}
/>
</>
</
SchemaForm
>
</
Modal
>
</>
)
}
comfirmDialog
.
defaultProps
=
{
dontReceive
:
true
,
type
:
1
//1.支付宝 2.支付宝转账到银行卡参数配置 3.微信
}
export
default
comfirmDialog
src/pages/systemManage/ruleSettingManage/platformSettlementStrategy/info/index.tsx
View file @
10a15fe9
...
...
@@ -20,12 +20,12 @@ import { FORM_FILTER_PATH } from '@/formSchema/const';
import
{
useAsyncSelect
}
from
'@/formSchema/effects/useAsyncSelect'
;
import
SettleMethod
from
'../../components/SettleMethod'
;
import
{
useRowSelectionTable
}
from
'@/hooks/useRowSelectionTable'
;
// import { PublicApi } from '@/services/api';
import
{
usePageStatus
}
from
'@/hooks/usePageStatus'
;
import
{
history
,
Prompt
}
from
'umi'
import
{
useLinkageUtils
}
from
'@/utils/formEffectUtils'
import
{
getMemberManageAllProviderPage
,
getMemberManagePageitems
}
from
'@/services/MemberV2Api'
;
import
{
getSettleAccountsCommonGetPlatformStrategySettlementOrderType
,
getSettleAccountsPlatformConfigGetPlatformSettlementStrategyDetail
,
postSettleAccountsPlatformConfigAddPlatformSettlementStrategy
,
postSettleAccountsPlatformConfigUpdatePlatformSettlementStrategy
}
from
'@/services/SettleV2Api'
;
import
{
getManageRuleConfigurationList
}
from
'@/services/ManageV2Api'
;
const
{
onFormInit$
,
onFieldValueChange$
}
=
FormEffectHooks
export
const
fetchOptions
=
(
service
)
=>
{
...
...
src/pages/systemManage/sensitiveWords/index.tsx
View file @
10a15fe9
...
...
@@ -5,8 +5,8 @@ import { PageHeaderWrapper } from '@ant-design/pro-layout';
import
{
StandardTable
}
from
'god'
;
import
{
ColumnType
}
from
'antd/lib/table/interface'
;
import
{
history
}
from
'umi'
;
// import { PublicApi } from '@/services/api';
import
{
useRowSelectionTable
}
from
'@/hooks/useRowSelectionTable'
;
import
{
postManageSensitiveWordDelete
}
from
'@/services/ManageV2Api'
;
const
SensitiveWords
:
React
.
FC
<
{}
>
=
()
=>
{
const
ref
=
useRef
<
any
>
({});
...
...
src/pages/systemManage/sensitiveWords/template.tsx
View file @
10a15fe9
...
...
@@ -3,7 +3,7 @@ import { PageHeaderWrapper } from '@ant-design/pro-layout';
import
{
history
}
from
'umi'
;
import
ReutrnEle
from
'@/components/ReturnEle'
;
import
{
Card
,
Form
,
Input
,
Button
,
Space
,
Popconfirm
,
message
}
from
'antd'
;
// import { PublicApi } from '@/services/a
pi';
import
{
postManageSensitiveWordAdd
,
postManageSensitiveWordUpdate
}
from
'@/services/ManageV2A
pi'
;
const
layout
:
any
=
{
colon
:
false
,
labelCol
:
{
style
:
{
width
:
'174px'
}
},
...
...
src/pages/systemManage/unit/index.tsx
View file @
10a15fe9
...
...
@@ -4,9 +4,9 @@ import { PlusOutlined } from '@ant-design/icons';
import
{
PageHeaderWrapper
}
from
'@ant-design/pro-layout'
;
import
{
StandardTable
}
from
'god'
;
import
{
ColumnType
}
from
'antd/lib/table/interface'
;
// import { PublicApi } from '@/services/api';
import
{
history
}
from
'umi'
;
import
StatusSwitch
from
'@/components/StatusSwitch'
;
import
{
getManageUnitDeleteUnit
,
getManageUnitUpdateUnitStatus
}
from
'@/services/ManageV2Api'
;
const
SensitiveWords
:
React
.
FC
<
{}
>
=
()
=>
{
const
ref
=
useRef
<
any
>
({});
...
...
src/pages/systemManage/unit/template.tsx
View file @
10a15fe9
...
...
@@ -3,7 +3,7 @@ import { PageHeaderWrapper } from '@ant-design/pro-layout';
import
{
history
}
from
'umi'
;
import
ReutrnEle
from
'@/components/ReturnEle'
;
import
{
Card
,
Form
,
Input
,
Button
,
Space
,
message
,
Popconfirm
}
from
'antd'
;
// import { PublicApi } from '@/services/a
pi';
import
{
postManageUnitSaveOrUpdateUnit
}
from
'@/services/ManageV2A
pi'
;
const
layout
:
any
=
{
colon
:
false
,
labelCol
:
{
style
:
{
width
:
'174px'
}
},
...
...
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