Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
CivManage
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ReactWeb5
CivManage
Commits
e1ddb7b2
Commit
e1ddb7b2
authored
Dec 29, 2023
by
皮倩雯
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: '流程中心裂开图片修复'
parent
aad6f65c
Pipeline
#83664
waiting for manual action with stages
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
14 deletions
+5
-14
WorkflowHomePage.jsx
...ges/bsmanager/workOrder/workflowEdit/WorkflowHomePage.jsx
+4
-1
index.jsx
src/pages/homePage/index.jsx
+1
-13
No files found.
src/pages/bsmanager/workOrder/workflowEdit/WorkflowHomePage.jsx
View file @
e1ddb7b2
...
...
@@ -381,6 +381,9 @@ const WorkflowHomePage = () => {
}
});
};
const
handleImgError
=
e
=>
{
e
.
target
.
src
=
require
(
'../../../../assets/images/common/noData.png'
);
};
return
(
<
div
className=
{
classnames
(
styles
.
pageContent
,
{
...
...
@@ -560,7 +563,7 @@ const WorkflowHomePage = () => {
// }/PandaOMS/OMS/FileCenter/DownLoadFiles?filePath=${ele.PreviewImage}`
}
// />
// <img src=
{
`${window.location.origin}/${ele.PreviewImage}`
}
/
>
<
img
src
=
{
ele
.
PreviewImage
}
/
>
<
img
src
=
{
ele
.
PreviewImage
}
onError
=
{
handleImgError
}
/
>
)
:
(
<
img
className=
{
styles
.
noDataImg
}
...
...
src/pages/homePage/index.jsx
View file @
e1ddb7b2
...
...
@@ -113,7 +113,6 @@ const HomePage = () => {
newGetSolution
();
getSiteCode
();
getGateWay
();
pipeNetwork
();
getMapScheme
();
getLogMessage
();
onGetProduct
();
...
...
@@ -331,17 +330,6 @@ const HomePage = () => {
}
});
};
// 获取管网数量
const
pipeNetwork
=
()
=>
{
GetVectorService
().
then
(
res
=>
{
if
(
res
.
code
===
0
)
{
let
num
=
res
.
data
.
VectorList
.
length
;
setPipeArr
(
num
);
}
else
{
setPipeArr
(
'-'
);
}
});
};
// 获取日志表格数据
const
getLogMessage
=
()
=>
{
...
...
@@ -1238,7 +1226,7 @@ const HomePage = () => {
</
div
>
<
div
className=
{
styles
.
dataCenterValue
}
>
<
div
>
<
span
className=
{
styles
.
boldText
}
>
{
pipeArr
}
</
span
>
<
span
className=
{
styles
.
boldText
}
>
{
dashboardData
.
管网服务
||
'-'
}
</
span
>
<
span
className=
{
styles
.
smallText
}
>
个
</
span
>
</
div
>
<
div
>
{
dashboardData
.
元数据更新事件
||
'-'
}
</
div
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment