Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
B
biz.qingxiao.com
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
wangxuelai
biz.qingxiao.com
Commits
38830e31
Commit
38830e31
authored
Jan 17, 2020
by
wangxuelai
Browse files
Options
Browse Files
Download
Plain Diff
''
parents
3c68df05
ac33c4f7
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
31 additions
and
7 deletions
+31
-7
index.html
index.html
+1
-1
crm.js
src/models/crm.js
+1
-1
crmdetail.js
src/models/crmdetail.js
+2
-2
RenewEdit.js
src/pages/crm/RenewEdit.js
+25
-1
index.js
src/pages/crm/index.js
+1
-1
index.js
src/pages/crmdetail/index.js
+1
-1
No files found.
index.html
View file @
38830e31
...
...
@@ -18,5 +18,5 @@
</head>
<body>
<div
id=
"root"
></div>
<script
type=
"text/javascript"
src=
"/dist/main.
717286
.js"
></script></body>
<script
type=
"text/javascript"
src=
"/dist/main.
0fdf1f
.js"
></script></body>
</html>
\ No newline at end of file
src/models/crm.js
View file @
38830e31
...
...
@@ -410,7 +410,7 @@ export default {
mobile
:
studentInfo
.
mobile
,
avatar
:
''
,
remark
:
studentInfo
.
remark
,
gender
:
studentInfo
.
gender
,
gender
:
values
.
gender
,
force
:
1
,
operator_id
:
studentInfo
.
final_follow_id
,
});
...
...
src/models/crmdetail.js
View file @
38830e31
...
...
@@ -146,7 +146,7 @@ export default {
yield
put
({
type
:
'updateState'
,
payload
:
{
activeIndex
:
Number
(
data
.
data
.
source_type
)
===
1
0
?
1
:
2
,
activeIndex
:
data
.
data
.
customers
.
length
>
0
?
1
:
2
,
crmDetail
:
{
...
data
.
data
},
},
});
...
...
@@ -271,7 +271,7 @@ export default {
mobile
:
studentInfo
.
mobile
,
avatar
:
''
,
remark
:
studentInfo
.
remark
,
gender
:
studentInfo
.
gender
,
gender
:
values
.
gender
,
force
:
1
,
operator_id
:
studentInfo
.
final_follow_id
,
});
...
...
src/pages/crm/RenewEdit.js
View file @
38830e31
import
{
connect
}
from
'dva'
;
import
React
from
'react'
;
import
{
Icon
,
Button
,
Row
,
Col
,
Input
,
InputNumber
,
Select
,
Checkbox
,
Table
,
Modal
,
Form
,
Alert
}
from
'antd'
;
import
{
Icon
,
Button
,
Row
,
Col
,
Input
,
InputNumber
,
Select
,
Checkbox
,
Table
,
Modal
,
Form
,
Alert
,
Radio
}
from
'antd'
;
import
pageStyle
from
'./RenewEdit.less'
;
import
{
pageIn
}
from
'../../utils/index'
;
const
{
Option
}
=
Select
;
...
...
@@ -164,6 +164,30 @@ class RenewEdit extends React.Component {
)}
<
/Form.Item
>
<
/Col
>
<
Col
className
=
{
pageStyle
.
course
}
>
<
Form
.
Item
label
=
"学员性别"
labelCol
=
{{
xs
:
{
span
:
24
},
sm
:
{
span
:
4
},
}}
wrapperCol
=
{{
xs
:
{
span
:
24
},
sm
:
{
span
:
20
},
}}
>
{
getFieldDecorator
(
'gender'
,
{
rules
:
[
{
required
:
true
,
message
:
'请选择学员性别'
},
],
})(
<
Radio
.
Group
>
<
Radio
value
=
{
1
}
>
男
<
/Radio
>
<
Radio
value
=
{
2
}
>
女
<
/Radio
>
<
/Radio.Group>
,
)}
<
/Form.Item
>
<
/Col
>
<
Col
className
=
{
pageStyle
.
course
}
>
<
Form
.
Item
label
=
"购买课程"
...
...
src/pages/crm/index.js
View file @
38830e31
...
...
@@ -537,7 +537,7 @@ class Crm extends React.Component {
<
Option
value
=
{
9
}
>
小程序线索
<
/Option
>
<
Option
value
=
{
10
}
>
商家岛活动
<
/Option
>
<
Option
value
=
{
11
}
>
导入
<
/Option
>
<
Option
value
=
{
1
1
}
>
小程序二维码
<
/Option
>
<
Option
value
=
{
1
2
}
>
小程序二维码
<
/Option
>
<
Option
value
=
{
8
}
>
其他
<
/Option
>
<
/Select
>
<
/Col
>
...
...
src/pages/crmdetail/index.js
View file @
38830e31
...
...
@@ -508,7 +508,7 @@ class Crm extends React.Component {
<
Card
bordered
=
{
false
}
bodyStyle
=
{{
padding
:
20
,
marginTop
:
20
}}
>
<
div
className
=
{
pageStyle
.
tabList
}
>
{
Number
(
crmDetail
.
source_type
)
==
10
&&
(
crmDetail
.
customers
&&
crmDetail
.
customers
.
length
>
0
)
&&
<
div
className
=
{
Number
(
activeIndex
)
===
1
?
pageStyle
.
tabItemActive
:
pageStyle
.
tabItem
}
onClick
=
{()
=>
this
.
handleChangeTab
(
1
)}
>
活动信息
<
/div
>
}
<
div
className
=
{
Number
(
activeIndex
)
===
2
?
pageStyle
.
tabItemActive
:
pageStyle
.
tabItem
}
onClick
=
{()
=>
this
.
handleChangeTab
(
2
)}
>
沟通动态
<
/div
>
...
...
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