| | |
| | | import { Col, Form, Modal, Row, Checkbox, Skeleton, Tree, Drawer, Space, Button, Card } from 'antd'; |
| | | |
| | | const Edit = (props) => { |
| | | |
| | | return ( |
| | | <> |
| | | <Drawer |
| | |
| | | onClose={() => { |
| | | props.onCancel(); |
| | | }} |
| | | getContainer={props.refCurr} |
| | | rootStyle={{ position: "absolute" }} |
| | | mask={false} |
| | | width={378} |
| | | > |
| | | <Card> |
| | | |
| | |
| | | let dark = token.colorBgBase === '#000'; |
| | | return { |
| | | layout: { |
| | | // overflow: 'hidden', |
| | | overflow: 'hidden', |
| | | }, |
| | | header: { |
| | | height: 64, |
| | |
| | | <Flex className={styles.flex} gap={'large'} justify={'flex-end'} align={'center'}> |
| | | <Button onClick={editHandle} size={'large'}><FormattedMessage id='map.edit' defaultMessage='编辑地图' /></Button> |
| | | </Flex> |
| | | </Header> |
| | | <Content ref={contentRef} className={styles.content}> |
| | | <div ref={mapRef}></div> |
| | | </Content> |
| | | </Layout> |
| | | |
| | | <Edit |
| | | open={editModalVisible} |
| | |
| | | setEditModalVisible(false); |
| | | } |
| | | } |
| | | refCurr={mapRef.current} |
| | | /> |
| | | </Header> |
| | | <Content ref={contentRef} className={styles.content}> |
| | | <div ref={mapRef} style={{ position: "relative" }}> |
| | | |
| | | </div> |
| | | |
| | | |
| | | </Content> |
| | | |
| | | |
| | | </Layout> |
| | | |
| | | |
| | | </> |
| | | ) |
| | | } |
| | |
| | | validation-timeout: 3000 |
| | | connection-test-query: select 1 |
| | | driver-class-name: com.mysql.cj.jdbc.Driver |
| | | url: jdbc:mysql://47.97.1.152:3306/asrs?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai |
| | | # url: jdbc:mysql://47.97.1.152:3306/asrs?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai |
| | | # username: root |
| | | # password: zy@123 |
| | | url: jdbc:mysql://127.0.0.1:3306/asrs?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai |
| | | username: root |
| | | password: zy@123 |
| | | password: xltys1995 |
| | | # driver-class-name: com.microsoft.sqlserver.jdbc.SQLServerDriver |
| | | # url: jdbc:sqlserver://47.97.1.152:51433;databasename=jkasrs |
| | | # username: sa |