|
@@ -152,11 +152,13 @@ const Poster = props => {
|
152
|
152
|
}
|
153
|
153
|
}
|
154
|
154
|
const gridStyle1 = {
|
155
|
|
- width: '17%',
|
|
155
|
+ width: '16%',
|
156
|
156
|
textAlign: 'left',
|
|
157
|
+ height: '72px',
|
|
158
|
+ padding:'24px 10px'
|
157
|
159
|
};
|
158
|
160
|
const gridStyle2 = {
|
159
|
|
- width: '80%',
|
|
161
|
+ width: '84%',
|
160
|
162
|
textAlign: 'left',
|
161
|
163
|
height: '72px',
|
162
|
164
|
};
|
|
@@ -205,8 +207,8 @@ const Poster = props => {
|
205
|
207
|
const { getFieldDecorator } = props.form;
|
206
|
208
|
return (
|
207
|
209
|
<>
|
208
|
|
- <div >
|
209
|
|
- <Form labelCol={{ span: 7 }} wrapperCol={{ span: 12 }} onSubmit={handleSubmit}>
|
|
210
|
+ <div>
|
|
211
|
+ <Form labelCol={{ span: 6 }} wrapperCol={{ span: 12 }} onSubmit={handleSubmit}>
|
210
|
212
|
<Form.Item label="角色名称">
|
211
|
213
|
{getFieldDecorator('roleName', {
|
212
|
214
|
rules: [{ required: true, message: '请输入角色名称' }],
|
|
@@ -216,13 +218,11 @@ const Poster = props => {
|
216
|
218
|
{userMenus.map(item => (
|
217
|
219
|
(item.parentCode === '-1') &&
|
218
|
220
|
<Row >
|
219
|
|
- <Col span={7}>
|
220
|
|
-
|
|
221
|
+ <Col span={6}>
|
221
|
222
|
</Col>
|
222
|
|
- <Col span={17}>
|
223
|
|
-
|
|
223
|
+ <Col span={18}>
|
224
|
224
|
|
225
|
|
- <Card title={<Checkbox checked={dataMenuId.includes(item.menuId)} onChange={handleMenuChange(item)}>{item.name}</Checkbox>} bordered style={{ width: '100%', alignItems: 'center' }} >
|
|
225
|
+ <Card title={<Checkbox checked={dataMenuId.includes(item.menuId)} onChange={handleMenuChange(item)}>{item.name}</Checkbox>} bordered style={{ width: '100%', alignItems: 'center',margin:'10px 0', boxShadow:'3px 3px 10px rgba(0,0,0,0.15)',borderRadius:'8px'}} >
|
226
|
226
|
{
|
227
|
227
|
userMenus.map(menu => (
|
228
|
228
|
|