xujing 5 년 전
부모
커밋
46566f4cd0
1개의 변경된 파일20개의 추가작업 그리고 17개의 파일을 삭제
  1. 20
    17
      src/pages/activity/drainage/Detail.jsx

+ 20
- 17
src/pages/activity/drainage/Detail.jsx 파일 보기

155
   const { getFieldDecorator } = props.form
155
   const { getFieldDecorator } = props.form
156
   return (
156
   return (
157
     <>
157
     <>
158
-      <Form layout="inline" onSubmit={e => handleSubmit(e, props)}>
159
-        <Form.Item label="提交时间">
160
-          {getFieldDecorator('time')(
161
-            <RangePicker showTime format="YYYY-MM-DD HH:mm:ss"
162
-              showTime
163
-              onChange={onChangetime}
164
-            />,
165
-          )}
166
-        </Form.Item>
167
-        <Form.Item>
168
-          <Button type="primary" htmlType="submit" >
169
-            搜索
158
+      <div style={{ display: 'flex', alignItems: 'center', justifyContent: 'space-between' }}>
159
+        <Form layout="inline" onSubmit={e => handleSubmit(e, props)}>
160
+
161
+          <Form.Item label="提交时间">
162
+            {getFieldDecorator('time')(
163
+              <RangePicker showTime format="YYYY-MM-DD HH:mm:ss"
164
+                showTime
165
+                onChange={onChangetime}
166
+              />,
167
+            )}
168
+          </Form.Item>
169
+          <Form.Item>
170
+            <Button type="primary" htmlType="submit" >
171
+              搜索
170
           </Button>
172
           </Button>
171
-          <Button style={{ marginLeft: 8 }} onClick={handleReset}>
172
-            重置
173
+            <Button style={{ marginLeft: 8 }} onClick={handleReset}>
174
+              重置
173
             </Button>
175
             </Button>
174
-          <Button onClick={() => router.go(-1)} style={{ float: 'right' }}>返回</Button>
175
-        </Form.Item>
176
-      </Form>
176
+          </Form.Item>
177
+        </Form>
178
+        <Button onClick={() => router.go(-1)} style={{ float: 'right' }}>返回</Button>
179
+      </div>
177
       <div>
180
       <div>
178
         <div style={{ display: 'flex', justifyContent: 'space-between' }}>
181
         <div style={{ display: 'flex', justifyContent: 'space-between' }}>
179
           <div style={{ lineHeight: '92px', width: '600px', fontWeight: 'bold', fontSize: '18px' }}>
182
           <div style={{ lineHeight: '92px', width: '600px', fontWeight: 'bold', fontSize: '18px' }}>