|
@@ -227,7 +227,7 @@ export default (props) => {
|
227
|
227
|
console.log(err.message)
|
228
|
228
|
});
|
229
|
229
|
//获取合作社列表数据
|
230
|
|
- getCooperativeList().then((res) => {
|
|
230
|
+ getCooperativeList({ pageSize: 999 }).then((res) => {
|
231
|
231
|
setCooperativeList(res.records);
|
232
|
232
|
const list = res.records?.map((item) => {
|
233
|
233
|
return { title: item.name, key: item.orgId };
|
|
@@ -237,7 +237,7 @@ export default (props) => {
|
237
|
237
|
console.log(err.message)
|
238
|
238
|
});
|
239
|
239
|
//获取角色列表数据
|
240
|
|
- getRoleList().then((res) => {
|
|
240
|
+ getRoleList({ pageSize: 999 }).then((res) => {
|
241
|
241
|
setRoleList(res.records);
|
242
|
242
|
}).catch((err) => {
|
243
|
243
|
console.log(err.message)
|
|
@@ -392,32 +392,14 @@ export default (props) => {
|
392
|
392
|
<FormItem label="邮箱" name="email" rules={[{ required: true, message: '请输入' }]}>
|
393
|
393
|
<Input placeholder="请输入" />
|
394
|
394
|
</FormItem>
|
395
|
|
- <FormItem label="登录账号">
|
396
|
|
- <Input.Group compact>
|
397
|
|
- <Form.Item
|
398
|
|
- name="loginName"
|
399
|
|
- noStyle
|
400
|
|
- rules={[{ required: true, message: '请输入登录账号' }]}
|
401
|
|
- >
|
402
|
|
- <Input placeholder="请输入" />
|
403
|
|
- </Form.Item>
|
404
|
|
- <span style={{ opacity: '0.7' }}>默认密码{password}</span>
|
405
|
|
- </Input.Group>
|
|
395
|
+ <FormItem label="登录账号" name="loginName" rules={[{ required: true, message: '请输入登录账号' }]}>
|
|
396
|
+ <Input placeholder="请输入" />
|
|
397
|
+ </FormItem>
|
|
398
|
+ <FormItem label=" " colon={false} style={{ height: '4px', marginTop: '-28px' }}>
|
|
399
|
+ <span style={{ opacity: '0.7' }}>默认密码{password}</span>
|
406
|
400
|
</FormItem>
|
407
|
401
|
<FormItem label="所属合作社" name="orgId" rules={[{ required: true, message: '请输入' }]}>
|
408
|
|
- <Search placeholder="请选择合作社" onChange={handelChange} />
|
409
|
|
- {/* <Select
|
410
|
|
- placeholder="请选择合作社"
|
411
|
|
- showSearch
|
412
|
|
- onSearch={handelFormSearch}
|
413
|
|
- onChange={handelFormSearch}
|
414
|
|
- >
|
415
|
|
- {cooperativeList.map((item) => (
|
416
|
|
- <Option value={item.orgId} key={item.orgId}>
|
417
|
|
- {item.name}
|
418
|
|
- </Option>
|
419
|
|
- ))}
|
420
|
|
- </Select> */}
|
|
402
|
+ <Search placeholder="请输入合作社" onChange={handelChange} />
|
421
|
403
|
</FormItem>
|
422
|
404
|
<FormItem label="状态" name="status" rules={[{ required: true, message: '请选择' }]}>
|
423
|
405
|
<Select placeholder="请选择是否启用">
|