Commit 38830e31 authored by wangxuelai's avatar wangxuelai

''

parents 3c68df05 ac33c4f7
......@@ -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
......@@ -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,
});
......
......@@ -146,7 +146,7 @@ export default {
yield put({
type: 'updateState',
payload: {
activeIndex: Number(data.data.source_type) === 10 ? 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,
});
......
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="购买课程"
......
......@@ -537,7 +537,7 @@ class Crm extends React.Component {
<Option value={9}>小程序线索</Option>
<Option value={10}>商家岛活动</Option>
<Option value={11}>导入</Option>
<Option value={11}>小程序二维码</Option>
<Option value={12}>小程序二维码</Option>
<Option value={8}>其他</Option>
</Select>
</Col>
......
......@@ -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>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment