|
@@ -15,6 +15,7 @@ import LiveGroup from './LiveGroup';
|
15
|
15
|
import SelectNews from './SelectNews';
|
16
|
16
|
import SelectActivity from './SelectActivity';
|
17
|
17
|
import SelectH5 from './SelectH5';
|
|
18
|
+import InstitutionSelect from '@/components/SelectButton/InstitutionSelect';
|
18
|
19
|
|
19
|
20
|
/**
|
20
|
21
|
*
|
|
@@ -147,6 +148,21 @@ const Edit = props => {
|
147
|
148
|
value: data.cityId,
|
148
|
149
|
rules: [{ required: true, message: '请选择展示城市' }],
|
149
|
150
|
},
|
|
151
|
+ {
|
|
152
|
+ label: '城市公司',
|
|
153
|
+ name: 'institutionId',
|
|
154
|
+ render: <InstitutionSelect />,
|
|
155
|
+ // hidden: () => isHaveActive,
|
|
156
|
+ value: data.institutionId,
|
|
157
|
+ rules: [{ required: true, message: '请选择城市公司' }],
|
|
158
|
+ },
|
|
159
|
+ // <Form.Item label="城市公司">
|
|
160
|
+ // {getFieldDecorator('institutionId',{
|
|
161
|
+ // rules: [{ required: true, message: '请选择城市公司' }],
|
|
162
|
+ // })(
|
|
163
|
+ // <InstitutionSelect />
|
|
164
|
+ // )}
|
|
165
|
+ // </Form.Item>
|
150
|
166
|
// {
|
151
|
167
|
// label: '发布位置',
|
152
|
168
|
// name: 'showPosition',
|