Browse Source

fix 8542 查看巡检计划巡检点位显示错误

master
liujiangyong 2 years ago
parent
commit
e5e0e138a4
  1. 2
      web/client/src/sections/patrolManage/components/planModal.js

2
web/client/src/sections/patrolManage/components/planModal.js

@ -21,7 +21,7 @@ const PlanModal = ({ visible, onCreate, onCancel, dispatch, userLoading, userLis
dispatch(getUserList())
dispatch(getProjectList())
}
if (type === 'edit') {
if (type === 'edit' || type === 'view') {
dispatch(positionList({ projectId: curRecord?.project?.id })).then(res => {
if (res.success) {
setPoints(res.payload.data?.rows)

Loading…
Cancel
Save