|
|
|
|
@ -1,15 +1,13 @@
|
|
|
|
|
import { NavLink } from 'react-router-dom'
|
|
|
|
|
import { useState, useEffect } from 'react'
|
|
|
|
|
import { Row, Col, Space, Button, Table, Typography, Modal, App } from 'antd'
|
|
|
|
|
import dayjs from 'dayjs'
|
|
|
|
|
import { groupBy, isEmpty } from '@/utils/commons'
|
|
|
|
|
import { FileAddOutlined, EditOutlined } from '@ant-design/icons';
|
|
|
|
|
import { isEmpty } from '@/utils/commons'
|
|
|
|
|
import { useTranslation } from 'react-i18next'
|
|
|
|
|
import useFormStore from '@/stores/Form'
|
|
|
|
|
import useExternalReviewStore from '@/stores/ExternalReview'
|
|
|
|
|
import SearchForm from '@/components/SearchForm'
|
|
|
|
|
|
|
|
|
|
const { Title } = Typography
|
|
|
|
|
|
|
|
|
|
function ReviewList() {
|
|
|
|
|
const { t } = useTranslation()
|
|
|
|
|
const reviewListColumns = [
|
|
|
|
|
@ -73,7 +71,7 @@ function ReviewList() {
|
|
|
|
|
width: '120px', ellipsis: true,
|
|
|
|
|
render: () => {
|
|
|
|
|
return (
|
|
|
|
|
<Button type="link">Edit</Button>
|
|
|
|
|
<Button type="link" icon={<EditOutlined />}>Edit</Button>
|
|
|
|
|
)
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
@ -123,7 +121,7 @@ function ReviewList() {
|
|
|
|
|
searchReview(formValuesToSub)
|
|
|
|
|
}}
|
|
|
|
|
/></Col>
|
|
|
|
|
<Col flex="200px" className='flex justify-center items-center'><Button color="cyan" variant="solid">Add Review</Button></Col>
|
|
|
|
|
<Col flex="200px" className='flex justify-center items-center'><Button color="cyan" variant="solid" icon={<FileAddOutlined />}>Add Review</Button></Col>
|
|
|
|
|
</Row>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|