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
黄庭坚
jinfa-platform
Commits
25f23d87
Commit
25f23d87
authored
Jul 29, 2021
by
XieZhiXiong
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'v2' of
http://10.0.0.22:3000/lingxi/lingxi-business-paltform
into v2
parents
a979a372
16c3d1d7
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
15 additions
and
11 deletions
+15
-11
app.tsx
src/app.tsx
+1
-1
index.tsx
src/components/ModalTable/index.tsx
+2
-2
reset.less
src/global/styles/reset.less
+8
-0
index.tsx
src/pages/authConfig/userSystem/index.tsx
+0
-1
userDetail.tsx
src/pages/authConfig/userSystem/userDetail.tsx
+0
-5
detail.tsx
src/pages/channel/memberList/detail.tsx
+2
-2
index.tsx
src/pages/handling/handlingInfo/index.tsx
+1
-0
dateFormat.tsx
src/pages/transaction/common/dateFormat.tsx
+1
-0
No files found.
src/app.tsx
View file @
25f23d87
...
@@ -87,7 +87,7 @@ export function render(oldRender: Function) {
...
@@ -87,7 +87,7 @@ export function render(oldRender: Function) {
const
{
data
,
code
}
=
res
const
{
data
,
code
}
=
res
if
(
code
===
1000
)
{
if
(
code
===
1000
)
{
setAuth
(
data
as
any
)
setAuth
(
data
as
any
)
setRouters
(
data
.
urls
as
any
)
setRouters
(
data
.
urls
)
}
else
{
}
else
{
removeAuth
()
removeAuth
()
removeRouters
()
removeRouters
()
...
...
src/components/ModalTable/index.tsx
View file @
25f23d87
...
@@ -121,8 +121,8 @@ const ModalTable:React.FC<ModalTableProps> = (props) => {
...
@@ -121,8 +121,8 @@ const ModalTable:React.FC<ModalTableProps> = (props) => {
tableType=
'small'
tableType=
'small'
currentRef=
{
selfRef
}
currentRef=
{
selfRef
}
formRender=
{
(
child
,
ps
)
=>
<
Row
justify=
'space-between'
style=
{
{
marginBottom
:
16
}
}
>
formRender=
{
(
child
,
ps
)
=>
<
Row
justify=
'space-between'
style=
{
{
marginBottom
:
16
}
}
>
<
Col
s
pan=
{
22
}
style=
{
{
zIndex
:
99
}
}
>
{
child
}
</
Col
>
<
Col
s
tyle=
{
{
zIndex
:
99
,
width
:
'calc(100% - 130px)'
}
}
>
{
child
}
</
Col
>
<
Col
s
pan=
{
2
}
style=
{
{
marginTop
:
4
}
}
>
{
ps
}
</
Col
>
<
Col
s
tyle=
{
{
marginTop
:
4
,
minWidth
:
128
}
}
>
{
ps
}
</
Col
>
</
Row
>
}
</
Row
>
}
formilyProps=
{
formilyProps=
{
modalType
===
'none'
?
null
:
{
modalType
===
'none'
?
null
:
{
...
...
src/global/styles/reset.less
View file @
25f23d87
...
@@ -306,3 +306,11 @@
...
@@ -306,3 +306,11 @@
.ant-table-filter-column {
.ant-table-filter-column {
justify-content: center !important;
justify-content: center !important;
}
}
// 修复所有输入框不对称搜索
.ant-input-group {
.ant-input {
padding-top: 6px;
padding-bottom: 6px;
}
}
src/pages/authConfig/userSystem/index.tsx
View file @
25f23d87
...
@@ -122,7 +122,6 @@ const UserSystem: React.FC<{}> = () => {
...
@@ -122,7 +122,6 @@ const UserSystem: React.FC<{}> = () => {
return
(
return
(
<
PageHeaderWrapper
>
<
PageHeaderWrapper
>
<
Card
className=
"common-wrapper"
>
<
Card
className=
"common-wrapper"
>
<
StandardTable
<
StandardTable
columns=
{
columns
}
columns=
{
columns
}
...
...
src/pages/authConfig/userSystem/userDetail.tsx
View file @
25f23d87
...
@@ -137,10 +137,6 @@ const AddUser: React.FC<{}> = () => {
...
@@ -137,10 +137,6 @@ const AddUser: React.FC<{}> = () => {
}
}
}
}
const
handleAddRole
=
()
=>
{
setRoleVisible
(
true
);
}
const
handlePlateformSelect
=
(
key
,
node
)
=>
{
const
handlePlateformSelect
=
(
key
,
node
)
=>
{
setOriginSelectNode
({
id
:
key
*
1
,
name
:
node
.
_title
})
setOriginSelectNode
({
id
:
key
*
1
,
name
:
node
.
_title
})
}
}
...
@@ -233,7 +229,6 @@ const AddUser: React.FC<{}> = () => {
...
@@ -233,7 +229,6 @@ const AddUser: React.FC<{}> = () => {
okText=
"确认"
okText=
"确认"
cancelText=
"取消"
cancelText=
"取消"
getContainer=
'#root'
getContainer=
'#root'
// destroyOnClose={true}
>
>
<
TabTree
<
TabTree
fetchData=
{
params
=>
fetchOriginTreeData
(
params
)
}
fetchData=
{
params
=>
fetchOriginTreeData
(
params
)
}
...
...
src/pages/channel/memberList/detail.tsx
View file @
25f23d87
...
@@ -88,7 +88,7 @@ const MemberDetail: React.FC<{}> = () => {
...
@@ -88,7 +88,7 @@ const MemberDetail: React.FC<{}> = () => {
if
(
!
keywordName
)
{
if
(
!
keywordName
)
{
return
tableData
return
tableData
}
}
return
tableData
.
filter
(
v
=>
v
.
memberId
.
toString
().
includes
(
keywordName
))
return
tableData
.
filter
(
v
=>
v
.
name
.
toString
().
includes
(
keywordName
))
},
[
tableData
,
keywordName
])
},
[
tableData
,
keywordName
])
const
fetchMemberSaleChannel
=
async
(
params
)
=>
{
const
fetchMemberSaleChannel
=
async
(
params
)
=>
{
const
userInfo
=
formAction
.
getFieldValue
(
'userId'
)
const
userInfo
=
formAction
.
getFieldValue
(
'userId'
)
...
@@ -503,7 +503,7 @@ const MemberDetail: React.FC<{}> = () => {
...
@@ -503,7 +503,7 @@ const MemberDetail: React.FC<{}> = () => {
<
Button
type=
'default'
onClick=
{
()
=>
unBindMember
()
}
disabled=
{
pageStatus
===
PageStatus
.
PREVIEW
}
>
批量解除绑定关系
</
Button
>
<
Button
type=
'default'
onClick=
{
()
=>
unBindMember
()
}
disabled=
{
pageStatus
===
PageStatus
.
PREVIEW
}
>
批量解除绑定关系
</
Button
>
</
Col
>
</
Col
>
<
Col
style=
{
{
display
:
'flex'
}
}
>
<
Col
style=
{
{
display
:
'flex'
}
}
>
<
Input
.
Search
value=
{
keywordName
}
onChange=
{
e
=>
setKeywordName
(
e
.
target
.
value
)
}
onPressEnter=
{
handleSearchChannel
}
/>
<
Input
.
Search
placeholder=
'请搜索会员名称'
value=
{
keywordName
}
onChange=
{
e
=>
setKeywordName
(
e
.
target
.
value
)
}
onPressEnter=
{
handleSearchChannel
}
/>
<
Button
type=
'default'
style=
{
{
marginLeft
:
20
}
}
onClick=
{
()
=>
setKeywordName
(
''
)
}
>
重置
</
Button
>
<
Button
type=
'default'
style=
{
{
marginLeft
:
20
}
}
onClick=
{
()
=>
setKeywordName
(
''
)
}
>
重置
</
Button
>
</
Col
>
</
Col
>
</
Row
>
</
Row
>
...
...
src/pages/handling/handlingInfo/index.tsx
View file @
25f23d87
...
@@ -85,6 +85,7 @@ const HandlingInfo: React.FC<HandlingInfoPropsType> = (props) => {
...
@@ -85,6 +85,7 @@ const HandlingInfo: React.FC<HandlingInfoPropsType> = (props) => {
const
data
:
any
=
res
.
data
const
data
:
any
=
res
.
data
if
(
res
.
code
===
1000
)
{
if
(
res
.
code
===
1000
)
{
if
(
data
)
{
if
(
data
)
{
setShopInfo
(
data
);
setSelectCityData
(
initMemberShopArea
(
data
.
areaBOList
))
setSelectCityData
(
initMemberShopArea
(
data
.
areaBOList
))
setSelectCategoryData
(
initMemberCategory
(
data
.
categoryBOList
))
setSelectCategoryData
(
initMemberCategory
(
data
.
categoryBOList
))
setLogo
(
data
.
logo
)
setLogo
(
data
.
logo
)
...
...
src/pages/transaction/common/dateFormat.tsx
View file @
25f23d87
import
React
from
'react'
;
import
moment
from
'moment'
;
import
moment
from
'moment'
;
export
const
format
=
(
text
,
fmt
?:
string
)
=>
{
export
const
format
=
(
text
,
fmt
?:
string
)
=>
{
...
...
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