|
|
@@ -1,9 +1,84 @@
|
|
|
import React from 'react'
|
|
|
+import { Row, Col, List, Tabs, Button } from 'antd'
|
|
|
+import { dayjsFormat } from '@/utils/utils'
|
|
|
|
|
|
-const LockTabList = () => {
|
|
|
+const LockTabList = props => {
|
|
|
+ const { longleLog } = props
|
|
|
+ const { TabPane } = Tabs
|
|
|
return (
|
|
|
<div>
|
|
|
- dasdasdasd
|
|
|
+ <div className="zh-pd-left-15">
|
|
|
+ <Tabs>
|
|
|
+ <TabPane tab="记录内容" key="记录内容">
|
|
|
+ <div className="sheet-right-panel">
|
|
|
+ <Row>
|
|
|
+ <Col span="8">类型/时间</Col>
|
|
|
+ <Col span="16">服务内容</Col>
|
|
|
+ </Row>
|
|
|
+ <List
|
|
|
+ dataSource={longleLog}
|
|
|
+ split={false}
|
|
|
+ renderItem={item => (
|
|
|
+ <List.Item>
|
|
|
+ <Row className="zh-width-100P">
|
|
|
+ <Col span="8">
|
|
|
+ {item.status} <a>{item.responsible}</a><br />
|
|
|
+ <a>@{item.operator}</a> <span className="zh-gray">{ dayjsFormat(item.updatetime, 'MM-DD HH:mm')}</span>
|
|
|
+ {/* <List.Item.Meta
|
|
|
+ description={ dayjsFormat(item.updatetime, 'MM-DD HH:mm')}
|
|
|
+ /> */}
|
|
|
+ </Col>
|
|
|
+ <Col span="16">{item.product}</Col>
|
|
|
+ </Row>
|
|
|
+ </List.Item>
|
|
|
+ )}
|
|
|
+ />
|
|
|
+ </div>
|
|
|
+ </TabPane>
|
|
|
+ </Tabs>
|
|
|
+ </div>
|
|
|
+ <div className="sheet-btns zh-pd-left-15 zh-pd-top-15">
|
|
|
+ <Button
|
|
|
+ type="primary"
|
|
|
+ ghost
|
|
|
+ size="small"
|
|
|
+ className="zh-mg-right-3"
|
|
|
+ // onClick={() => setAddService({ ...setAddService, visible: true })}
|
|
|
+ >
|
|
|
+ 借出/销售/赠送
|
|
|
+ </Button>
|
|
|
+ <Button
|
|
|
+ type="primary"
|
|
|
+ ghost
|
|
|
+ size="small"
|
|
|
+ className="zh-mg-right-3"
|
|
|
+ >
|
|
|
+ 升级
|
|
|
+ </Button>
|
|
|
+ <Button
|
|
|
+ type="primary"
|
|
|
+ ghost
|
|
|
+ size="small"
|
|
|
+ className="zh-mg-right-3"
|
|
|
+ >
|
|
|
+ 更换
|
|
|
+ </Button>
|
|
|
+ <Button
|
|
|
+ type="primary"
|
|
|
+ ghost
|
|
|
+ size="small"
|
|
|
+ className="zh-mg-right-3"
|
|
|
+ >
|
|
|
+ 收回
|
|
|
+ </Button>
|
|
|
+ <Button
|
|
|
+ type="primary"
|
|
|
+ ghost
|
|
|
+ size="small"
|
|
|
+ >
|
|
|
+ 备注
|
|
|
+ </Button>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
)
|
|
|
}
|