Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
wecom-sidebar
Project
Project
Details
Activity
Releases
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
wanghuihui
wecom-sidebar
Commits
4e56aeb9
Commit
4e56aeb9
authored
Mar 09, 2022
by
Aivs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:暂时屏蔽客户标签功能,查找客户除了客户信息其他都暂未开发
parent
b77bba27
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
5 deletions
+6
-5
Home.tsx
src/pages/Home.tsx
+4
-4
findCustom.tsx
src/pages/findCustom.tsx
+2
-1
No files found.
src/pages/Home.tsx
View file @
4e56aeb9
...
@@ -120,7 +120,7 @@ const layout = {
...
@@ -120,7 +120,7 @@ const layout = {
}
}
const
testClick
=
():
void
=>
{
const
testClick
=
():
void
=>
{
setCustomInfoEdit
(
!
customInfoEdit
)
setCustomInfoEdit
(
!
customInfoEdit
)
setOpen
(
!
open
)
setOpen
(
true
)
}
}
const
labelAdd
=
(
e
:
any
)
=>
{
const
labelAdd
=
(
e
:
any
)
=>
{
// console.log(e.target.value)
// console.log(e.target.value)
...
@@ -255,7 +255,7 @@ const layout = {
...
@@ -255,7 +255,7 @@ const layout = {
<div>{ customInfo.account_level }</div>
<div>{ customInfo.account_level }</div>
</div> */
}
</div> */
}
<
div
className=
""
>
<
div
className=
""
>
{
customInfoEdit
?(
{
customInfoEdit
&&
false
?(
<
div
className=
"labelAdd"
>
<
div
className=
"labelAdd"
>
<
div
className=
'greyb'
>
<
div
className=
'greyb'
>
{
labels
.
map
((
item
:
any
)
=>
<
Tag
closable
onClose=
{
deleteLabel
.
bind
(
this
,
item
)
}
className=
{
"tags"
+
" "
+
item
.
companyWxLabelColor
}
>
{
item
.
companyWxLabel
}
</
Tag
>)
}
{
labels
.
map
((
item
:
any
)
=>
<
Tag
closable
onClose=
{
deleteLabel
.
bind
(
this
,
item
)
}
className=
{
"tags"
+
" "
+
item
.
companyWxLabelColor
}
>
{
item
.
companyWxLabel
}
</
Tag
>)
}
...
@@ -392,13 +392,13 @@ const layout = {
...
@@ -392,13 +392,13 @@ const layout = {
<
span
className=
"f12"
>
{
customInfo
.
idNumber
||
'-'
}
</
span
>
<
span
className=
"f12"
>
{
customInfo
.
idNumber
||
'-'
}
</
span
>
</
div
>):(
''
)
}
</
div
>):(
''
)
}
</
div
>
</
div
>
{
!
customInfoEdit
?(<
div
className=
"labels grey"
>
{
/* {
!customInfoEdit?(<div className="labels grey">
<div className="greyWord">客户标签</div>
<div className="greyWord">客户标签</div>
<div className="flex flex-wrap w100">
<div className="flex flex-wrap w100">
{labels.map((item:any,idx:number)=><div className={"labelStyle" + " " +item.companyWxLabelColor }>{item.companyWxLabel}</div>)}
{labels.map((item:any,idx:number)=><div className={"labelStyle" + " " +item.companyWxLabelColor }>{item.companyWxLabel}</div>)}
</div>
</div>
</
div
>):(
''
)
}
</div>):('')}
*/
}
{
!
open
?<
div
className=
"dicon"
onClick=
{
updown
.
bind
(
this
,
true
)
}
><
DownOutlined
/></
div
>
{
!
open
?<
div
className=
"dicon"
onClick=
{
updown
.
bind
(
this
,
true
)
}
><
DownOutlined
/></
div
>
:<
div
className=
"dicon"
onClick=
{
updown
.
bind
(
this
,
false
)
}
><
UpOutlined
/></
div
>
}
:<
div
className=
"dicon"
onClick=
{
updown
.
bind
(
this
,
false
)
}
><
UpOutlined
/></
div
>
}
{
/* <Form.Item {...tailLayout}>
{
/* <Form.Item {...tailLayout}>
...
...
src/pages/findCustom.tsx
View file @
4e56aeb9
...
@@ -153,7 +153,8 @@ const Actions: React.FC = () => {
...
@@ -153,7 +153,8 @@ const Actions: React.FC = () => {
<
TabPane
tab=
{
item
}
key=
{
idx
}
>
<
TabPane
tab=
{
item
}
key=
{
idx
}
>
<
div
className=
"content"
>
<
div
className=
"content"
>
{
listData
.
length
===
0
?
<
p
className=
'detailWord'
>
暂无数据,请输入查询条件
</
p
>:
listData
.
map
((
list
:
any
,
index
:
number
)
=>
{
idx
>
0
?
<
p
className=
'detailWord'
>
暂未开发
</
p
>:
null
}
{
listData
.
length
===
0
&&
idx
===
0
?
<
p
className=
'detailWord'
>
暂无数据,请输入查询条件
</
p
>:
listData
.
map
((
list
:
any
,
index
:
number
)
=>
<
div
className=
"customItem"
>
<
div
className=
"customItem"
>
<
div
className=
"flex spaceBetween w100"
>
<
div
className=
"flex spaceBetween w100"
>
<
div
className=
"leftItem"
>
<
div
className=
"leftItem"
>
...
...
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