Browse Source

巡查/养护管理-点击导出按钮无反应

dev
巴林闲侠 2 years ago
parent
commit
b6a1893680
  1. 2
      api/.vscode/launch.json
  2. 23
      api/log/development.log
  3. 2
      web/client/src/sections/fillion/components/maintenanceTable.js
  4. 10
      web/client/src/sections/fillion/components/patrolTable.js

2
api/.vscode/launch.json

@ -13,7 +13,7 @@
"NODE_ENV": "development"
},
"args": [
"-p 4000",
"-p 14000",
"-f http://localhost:4000",
"-g postgres://postgres:123@10.8.30.32:5432/highways4good",
"--qnak XuDgkao6cL0HidoMAPnA5OB10Mc_Ew08mpIfRJK5",

23
api/log/development.log

@ -10668,3 +10668,26 @@ headers: {}
2022-07-30 12:38:46.294 - debug: [FS-LOGGER] Init.
2022-07-30 12:38:46.394 - info: [FS-ATTACHMENT] Inject attachment mw into router.
2022-07-30 12:38:46.394 - info: [FS-AUTH] Inject auth and api mv into router.
2022-07-30 14:19:21.439 - debug: [FS-LOGGER] Init.
2022-07-30 14:19:21.547 - info: [FS-ATTACHMENT] Inject attachment mw into router.
2022-07-30 14:19:21.547 - info: [FS-AUTH] Inject auth and api mv into router.
2022-07-30 14:30:16.777 - error: path: /publicity, error: Error: Invalid value {
uid: -1659162615,
name: 'video.mp4',
status: 'done',
storageUrl: 'project/45017725-be73-4ec7-99a5-f57c2fde5682/video.mp4',
url: 'http://rfkimpwbb.hn-bkt.clouddn.com/project/45017725-be73-4ec7-99a5-f57c2fde5682/video.mp4',
size: 2172089
}
2022-07-30 14:30:47.375 - error: path: /publicity, error: Error: Invalid value {
uid: -1659162647,
name: 'video.mp4',
status: 'done',
storageUrl: 'project/ec692a52-13e2-4bd1-80fb-5cae1386c782/video.mp4',
url: 'http://rfkimpwbb.hn-bkt.clouddn.com/project/ec692a52-13e2-4bd1-80fb-5cae1386c782/video.mp4',
size: 2172089
}
2022-07-30 16:53:41.602 - error: path: /data/export, error: 参数错误
2022-07-30 16:59:14.475 - debug: [FS-LOGGER] Init.
2022-07-30 16:59:14.573 - info: [FS-ATTACHMENT] Inject attachment mw into router.
2022-07-30 16:59:14.573 - info: [FS-AUTH] Inject auth and api mv into router.

2
web/client/src/sections/fillion/components/maintenanceTable.js

@ -263,7 +263,7 @@ const PatrolNameList = (props) => {
const MaintenanceTable = (props) => {
const { userList, reportList, dispatch, reportListLoading, reportDetail, reportDetailLoading, userLoading } = props;
const { userList, reportList, dispatch, reportListLoading, reportDetail, reportDetailLoading, userLoading, exports } = props;
const [record, setRecord] = useState();
const [dateRange, setDateRange] = useState();
const [detailVisible, setDetailVisible] = useState(false)

10
web/client/src/sections/fillion/components/patrolTable.js

@ -57,7 +57,7 @@ const DetailForm = (props) => {
visible={visible}
footer={null}
onCancel={handleClose}
title={'巡管理详情'}
title={'巡管理详情'}
>
<Spin spinning={loading}>
{renderContent(data)}
@ -205,7 +205,7 @@ const PatrolNameList = (props) => {
const columns = [
{
title: '巡人员',
title: '巡人员',
key: 'name',
dataIndex: 'name',
align: 'center'
@ -243,7 +243,7 @@ const PatrolNameList = (props) => {
return record.id == selectRoad ? 'list-row-actived' : '';
}}
toolBarRender={() => [
<Input placeholder='输入巡人员名称' onChange={doUserNameSearch} ></Input>
<Input placeholder='输入巡人员名称' onChange={doUserNameSearch} ></Input>
]}
options={false}
pagination={false}
@ -319,10 +319,10 @@ const PatrolTable = (props) => {
const tabList = [
{
key: 'tab1',
tab: '巡',
tab: '巡',
}, {
key: 'tab2',
tab: '巡轨迹查询',
tab: '巡轨迹查询',
},
];
const contentList = {

Loading…
Cancel
Save