Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
CivWeb
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
CivWeb
Commits
b1ea9c6d
Commit
b1ea9c6d
authored
5 months ago
by
周宏民
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 建始集成登录改变引用方式
parent
0f062f55
Pipeline
#94068
passed with stages
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
128 additions
and
22 deletions
+128
-22
imgImport.js
src/pages/bootpage/template/project/jianshi/imgImport.js
+46
-0
index.js
src/pages/bootpage/template/project/jianshi/index.js
+64
-4
index.less
src/pages/bootpage/template/project/jianshi/index.less
+18
-18
No files found.
src/pages/bootpage/template/project/jianshi/imgImport.js
0 → 100644
View file @
b1ea9c6d
/* eslint-disable prettier/prettier */
/*
* @Title:
* @Author: hongmye
* @Date: 2024-11-21 11:43:45
*/
import
titleIcon
from
'@/assets/images/integration/jianshi/标题.png'
;
import
标题
bg
from
'@/assets/images/integration/jianshi/标题bg.png'
;
import
水务大数据
from
'@/assets/images/integration/jianshi/水务大数据.png'
;
import
仓储物资系统
from
'@/assets/images/integration/jianshi/仓储物资系统.png'
;
import
营业收费系统
from
'@/assets/images/integration/jianshi/营业收费系统.png'
;
import
OA
办公系统
from
'@/assets/images/integration/jianshi/OA办公系统.png'
;
import
DMA
控漏系统
from
'@/assets/images/integration/jianshi/DMA控漏系统.png'
;
import
管网
GIS
from
'@/assets/images/integration/jianshi/管网GIS.png'
;
import
管网采集
from
'@/assets/images/integration/jianshi/管网采集.png'
;
import
GIS
数据处理
from
'@/assets/images/integration/jianshi/GIS数据处理.png'
;
import
水力模型
from
'@/assets/images/integration/jianshi/水力模型.png'
;
import
厂站网
from
'@/assets/images/integration/jianshi/厂站网.png'
;
import
业务外勤
from
'@/assets/images/integration/jianshi/业务外勤.png'
;
import
基础数据平台
from
'@/assets/images/integration/jianshi/基础数据平台.png'
;
import
统一接入平台
from
'@/assets/images/integration/jianshi/统一接入平台.png'
;
import
大数据中心
from
'@/assets/images/integration/jianshi/大数据中心.png'
;
import
运维中心
from
'@/assets/images/integration/jianshi/运维中心.png'
;
import
信管中心
from
'@/assets/images/integration/jianshi/信管中心.png'
;
export
const
imgMap
=
{
titleIcon
,
标题
bg
,
水务大数据
,
仓储物资系统
,
营业收费系统
,
OA
办公系统
,
DMA
控漏系统
,
管网
GIS
,
管网采集
,
GIS
数据处理
,
水力模型
,
厂站网
,
业务外勤
,
基础数据平台
,
统一接入平台
,
大数据中心
,
运维中心
,
信管中心
,
};
This diff is collapsed.
Click to expand it.
src/pages/bootpage/template/project/jianshi/index.js
View file @
b1ea9c6d
/* eslint-disable global-require */
import
{
appService
}
from
'@/api'
;
import
{
appService
}
from
'@/api'
;
import
{
FullscreenExitOutlined
,
FullscreenOutlined
}
from
'@ant-design/icons'
;
import
{
FullscreenExitOutlined
,
FullscreenOutlined
}
from
'@ant-design/icons'
;
import
{
message
,
Button
}
from
'antd'
;
import
{
message
,
Button
}
from
'antd'
;
...
@@ -18,6 +19,7 @@ import { store } from '@wisdom-utils/utils';
...
@@ -18,6 +19,7 @@ import { store } from '@wisdom-utils/utils';
import
LoginAction
from
'@/pages/user/login/login'
;
import
LoginAction
from
'@/pages/user/login/login'
;
import
{
defaultApp
}
from
'@/micro'
;
import
{
defaultApp
}
from
'@/micro'
;
import
titleIcon
from
'@/assets/images/integration/jianshi/标题.png'
;
import
titleIcon
from
'@/assets/images/integration/jianshi/标题.png'
;
import
{
imgMap
}
from
'./imgImport'
;
import
useFullScreen
from
'../../demonstration/components/useFullScreen'
;
import
useFullScreen
from
'../../demonstration/components/useFullScreen'
;
import
styles
from
'./index.less'
;
import
styles
from
'./index.less'
;
const
boxWidth
=
1920
;
const
boxWidth
=
1920
;
...
@@ -320,14 +322,22 @@ const IntegrationJianshi = props => {
...
@@ -320,14 +322,22 @@ const IntegrationJianshi = props => {
transform: `
scale
(
$
{
boxSize
.
scale
})
translate
(
-
50
%
,
-
50
%
)
`,
transform: `
scale
(
$
{
boxSize
.
scale
})
translate
(
-
50
%
,
-
50
%
)
`,
}}
}}
>
>
<div className={styles.integrationJianshi_title}>
<div
<img src={titleIcon} alt="建始县兴泉供水智慧平台" />
className={styles.integrationJianshi_title}
style={{
background: `
url
(
$
{
imgMap
[
'标题bg'
]})
center
/
100
%
100
%
no
-
repeat
`,
}}
>
<img src={imgMap.titleIcon} alt="建始县兴泉供水智慧平台" />
</div>
</div>
<div
<div
className={classNames(
className={classNames(
styles.integration_row1,
styles.integration_row1,
integrationData['水务大数据驾驶舱'] ? styles.integration_row_col_link : styles.integration_row_col_no,
integrationData['水务大数据驾驶舱'] ? styles.integration_row_col_link : styles.integration_row_col_no,
)}
)}
style={{
background: `
url
(
$
{
imgMap
[
'水务大数据'
]})
center
/
100
%
100
%
no
-
repeat
`,
}}
onClick={() => onLink(integrationData['水务大数据驾驶舱'], loginAction)}
onClick={() => onLink(integrationData['水务大数据驾驶舱'], loginAction)}
/>
/>
<div className={classNames(styles.integration_row2)}>
<div className={classNames(styles.integration_row2)}>
...
@@ -338,6 +348,9 @@ const IntegrationJianshi = props => {
...
@@ -338,6 +348,9 @@ const IntegrationJianshi = props => {
)}
)}
type="仓储物资系统"
type="仓储物资系统"
onClick={() => onLink(integrationData['仓储物资系统'], loginAction)}
onClick={() => onLink(integrationData['仓储物资系统'], loginAction)}
style={{
background: `
url
(
$
{
imgMap
[
'仓储物资系统'
]})
center
/
100
%
100
%
no
-
repeat
`,
}}
/>
/>
<div
<div
className={classNames(
className={classNames(
...
@@ -346,6 +359,9 @@ const IntegrationJianshi = props => {
...
@@ -346,6 +359,9 @@ const IntegrationJianshi = props => {
)}
)}
type="营业收费系统"
type="营业收费系统"
onClick={() => onLink(integrationData['营业收费系统'], loginAction)}
onClick={() => onLink(integrationData['营业收费系统'], loginAction)}
style={{
background: `
url
(
$
{
imgMap
[
'营业收费系统'
]})
center
/
100
%
100
%
no
-
repeat
`,
}}
/>
/>
<div
<div
className={classNames(
className={classNames(
...
@@ -354,6 +370,9 @@ const IntegrationJianshi = props => {
...
@@ -354,6 +370,9 @@ const IntegrationJianshi = props => {
)}
)}
type="OA办公系统"
type="OA办公系统"
onClick={() => onLink(integrationData['OA办公系统'], loginAction)}
onClick={() => onLink(integrationData['OA办公系统'], loginAction)}
style={{
background: `
url
(
$
{
imgMap
[
'OA办公系统'
]})
center
/
100
%
100
%
no
-
repeat
`,
}}
/>
/>
<div
<div
className={classNames(
className={classNames(
...
@@ -362,10 +381,19 @@ const IntegrationJianshi = props => {
...
@@ -362,10 +381,19 @@ const IntegrationJianshi = props => {
)}
)}
type="DMA控漏系统"
type="DMA控漏系统"
onClick={() => onLink(integrationData['DMA控漏系统'], loginAction)}
onClick={() => onLink(integrationData['DMA控漏系统'], loginAction)}
style={{
background: `
url
(
$
{
imgMap
[
'DMA控漏系统'
]})
center
/
100
%
100
%
no
-
repeat
`,
}}
/>
/>
</div>
</div>
<div className={classNames(styles.integration_row3)}>
<div className={classNames(styles.integration_row3)}>
<div className={styles.integration_box} type="管网GIS">
<div
className={styles.integration_box}
type="管网GIS"
style={{
background: `
url
(
$
{
imgMap
[
'管网GIS'
]})
center
/
100
%
100
%
no
-
repeat
`,
}}
>
<div
<div
className={classNames(
className={classNames(
styles.integration_cell,
styles.integration_cell,
...
@@ -373,6 +401,9 @@ const IntegrationJianshi = props => {
...
@@ -373,6 +401,9 @@ const IntegrationJianshi = props => {
)}
)}
type="管网采集"
type="管网采集"
onClick={() => onLink(integrationData['管网采集'], loginAction)}
onClick={() => onLink(integrationData['管网采集'], loginAction)}
style={{
background: `
url
(
$
{
imgMap
[
'管网采集'
]})
center
/
100
%
100
%
no
-
repeat
`,
}}
/>
/>
<div
<div
className={classNames(
className={classNames(
...
@@ -381,6 +412,9 @@ const IntegrationJianshi = props => {
...
@@ -381,6 +412,9 @@ const IntegrationJianshi = props => {
)}
)}
type="GIS数据处理"
type="GIS数据处理"
onClick={() => onLink(integrationData['GIS数据处理'], loginAction)}
onClick={() => onLink(integrationData['GIS数据处理'], loginAction)}
style={{
background: `
url
(
$
{
imgMap
[
'GIS数据处理'
]})
center
/
100
%
100
%
no
-
repeat
`,
}}
/>
/>
<div
<div
className={classNames(
className={classNames(
...
@@ -389,6 +423,9 @@ const IntegrationJianshi = props => {
...
@@ -389,6 +423,9 @@ const IntegrationJianshi = props => {
)}
)}
type="水力模型平台"
type="水力模型平台"
onClick={() => onLink(integrationData['水力模型平台'], loginAction)}
onClick={() => onLink(integrationData['水力模型平台'], loginAction)}
style={{
background: `
url
(
$
{
imgMap
[
'水力模型'
]})
center
/
100
%
100
%
no
-
repeat
`,
}}
/>
/>
</div>
</div>
<div
<div
...
@@ -398,6 +435,9 @@ const IntegrationJianshi = props => {
...
@@ -398,6 +435,9 @@ const IntegrationJianshi = props => {
)}
)}
type="厂站网调度"
type="厂站网调度"
onClick={() => onLink(integrationData['厂站网调度'], loginAction)}
onClick={() => onLink(integrationData['厂站网调度'], loginAction)}
style={{
background: `
url
(
$
{
imgMap
[
'厂站网'
]})
center
/
100
%
100
%
no
-
repeat
`,
}}
/>
/>
<div
<div
className={classNames(
className={classNames(
...
@@ -406,9 +446,17 @@ const IntegrationJianshi = props => {
...
@@ -406,9 +446,17 @@ const IntegrationJianshi = props => {
)}
)}
type="业务外勤"
type="业务外勤"
onClick={() => onLink(integrationData['业务外勤'], loginAction)}
onClick={() => onLink(integrationData['业务外勤'], loginAction)}
style={{
background: `
url
(
$
{
imgMap
[
'业务外勤'
]})
center
/
100
%
100
%
no
-
repeat
`,
}}
/>
/>
</div>
</div>
<div className={classNames(styles.integration_row4)}>
<div
className={classNames(styles.integration_row4)}
style={{
background: `
url
(
$
{
imgMap
[
'基础数据平台'
]})
center
/
100
%
100
%
no
-
repeat
`,
}}
>
<div
<div
className={classNames(
className={classNames(
styles.integration_cell,
styles.integration_cell,
...
@@ -416,6 +464,9 @@ const IntegrationJianshi = props => {
...
@@ -416,6 +464,9 @@ const IntegrationJianshi = props => {
)}
)}
type="统一接入平台"
type="统一接入平台"
onClick={() => onLink(integrationData['统一接入平台'], loginAction)}
onClick={() => onLink(integrationData['统一接入平台'], loginAction)}
style={{
background: `
url
(
$
{
imgMap
[
'统一接入平台'
]})
center
/
100
%
100
%
no
-
repeat
`,
}}
/>
/>
<div
<div
className={classNames(
className={classNames(
...
@@ -424,6 +475,9 @@ const IntegrationJianshi = props => {
...
@@ -424,6 +475,9 @@ const IntegrationJianshi = props => {
)}
)}
type="大数据中心"
type="大数据中心"
onClick={() => onLink(integrationData['大数据中心'], loginAction)}
onClick={() => onLink(integrationData['大数据中心'], loginAction)}
style={{
background: `
url
(
$
{
imgMap
[
'大数据中心'
]})
center
/
100
%
100
%
no
-
repeat
`,
}}
/>
/>
<div
<div
className={classNames(
className={classNames(
...
@@ -432,6 +486,9 @@ const IntegrationJianshi = props => {
...
@@ -432,6 +486,9 @@ const IntegrationJianshi = props => {
)}
)}
type="运维中心"
type="运维中心"
onClick={() => onLink(integrationData['运维中心'], loginAction)}
onClick={() => onLink(integrationData['运维中心'], loginAction)}
style={{
background: `
url
(
$
{
imgMap
[
'运维中心'
]})
center
/
100
%
100
%
no
-
repeat
`,
}}
/>
/>
<div
<div
className={classNames(
className={classNames(
...
@@ -440,6 +497,9 @@ const IntegrationJianshi = props => {
...
@@ -440,6 +497,9 @@ const IntegrationJianshi = props => {
)}
)}
type="信管中心"
type="信管中心"
onClick={() => onLink(integrationData['信管中心'], loginAction)}
onClick={() => onLink(integrationData['信管中心'], loginAction)}
style={{
background: `
url
(
$
{
imgMap
[
'信管中心'
]})
center
/
100
%
100
%
no
-
repeat
`,
}}
/>
/>
</div>
</div>
</div>
</div>
...
...
This diff is collapsed.
Click to expand it.
src/pages/bootpage/template/project/jianshi/index.less
View file @
b1ea9c6d
...
@@ -15,8 +15,8 @@
...
@@ -15,8 +15,8 @@
margin-bottom: 0px;
margin-bottom: 0px;
width: 1324px;
width: 1324px;
height: 75px;
height: 75px;
background: url('@/assets/images/integration/jianshi/标题bg.png') center center no-repeat;
//
background: url('@/assets/images/integration/jianshi/标题bg.png') center center no-repeat;
background-size: 100% 100%;
//
background-size: 100% 100%;
}
}
.iframeBackIcon {
.iframeBackIcon {
...
@@ -121,7 +121,7 @@
...
@@ -121,7 +121,7 @@
.integration_row1 {
.integration_row1 {
width: 1275px;
width: 1275px;
height: 208px;
height: 208px;
background: url('@/assets/images/integration/jianshi/水务大数据.png') center/100% 100% no-repeat;
//
background: url('@/assets/images/integration/jianshi/水务大数据.png') center/100% 100% no-repeat;
}
}
.integration_row2 {
.integration_row2 {
...
@@ -142,7 +142,7 @@
...
@@ -142,7 +142,7 @@
width: 312px;
width: 312px;
position: relative;
position: relative;
top: -46px;
top: -46px;
background: url('@/assets/images/integration/jianshi/仓储物资系统.png') center/100% 100% no-repeat;
//
background: url('@/assets/images/integration/jianshi/仓储物资系统.png') center/100% 100% no-repeat;
z-index: 24;
z-index: 24;
}
}
...
@@ -150,7 +150,7 @@
...
@@ -150,7 +150,7 @@
height: 115px;
height: 115px;
width: 312px;
width: 312px;
position: relative;
position: relative;
background: url('@/assets/images/integration/jianshi/营业收费系统.png') center/100% 100% no-repeat;
//
background: url('@/assets/images/integration/jianshi/营业收费系统.png') center/100% 100% no-repeat;
z-index: 24;
z-index: 24;
}
}
...
@@ -158,7 +158,7 @@
...
@@ -158,7 +158,7 @@
height: 115px;
height: 115px;
width: 312px;
width: 312px;
position: relative;
position: relative;
background: url('@/assets/images/integration/jianshi/OA办公系统.png') center/100% 100% no-repeat;
//
background: url('@/assets/images/integration/jianshi/OA办公系统.png') center/100% 100% no-repeat;
z-index: 24;
z-index: 24;
}
}
...
@@ -167,7 +167,7 @@
...
@@ -167,7 +167,7 @@
width: 312px;
width: 312px;
position: relative;
position: relative;
top: -46px;
top: -46px;
background: url('@/assets/images/integration/jianshi/DMA控漏系统.png') center/100% 100% no-repeat;
//
background: url('@/assets/images/integration/jianshi/DMA控漏系统.png') center/100% 100% no-repeat;
z-index: 24;
z-index: 24;
}
}
...
@@ -186,7 +186,7 @@
...
@@ -186,7 +186,7 @@
width: 388px;
width: 388px;
position: relative;
position: relative;
top: -40px;
top: -40px;
background: url('@/assets/images/integration/jianshi/管网GIS.png') center/100% 100% no-repeat;
//
background: url('@/assets/images/integration/jianshi/管网GIS.png') center/100% 100% no-repeat;
}
}
.integration_cell[type='管网采集'] {
.integration_cell[type='管网采集'] {
...
@@ -194,7 +194,7 @@
...
@@ -194,7 +194,7 @@
height: 153px;
height: 153px;
width: 168px;
width: 168px;
position: relative;
position: relative;
background: url('@/assets/images/integration/jianshi/管网采集.png') center/100% 100% no-repeat;
//
background: url('@/assets/images/integration/jianshi/管网采集.png') center/100% 100% no-repeat;
left: 15px;
left: 15px;
top: 55px;
top: 55px;
}
}
...
@@ -205,7 +205,7 @@
...
@@ -205,7 +205,7 @@
position: absolute;
position: absolute;
height: 149px;
height: 149px;
width: 168px;
width: 168px;
background: url('@/assets/images/integration/jianshi/GIS数据处理.png') center/100% 100% no-repeat;
//
background: url('@/assets/images/integration/jianshi/GIS数据处理.png') center/100% 100% no-repeat;
left: 187px;
left: 187px;
top: 76px;
top: 76px;
}
}
...
@@ -214,7 +214,7 @@
...
@@ -214,7 +214,7 @@
position: absolute;
position: absolute;
height: 190px;
height: 190px;
width: 341px;
width: 341px;
background: url('@/assets/images/integration/jianshi/水力模型.png') center/100% 100% no-repeat;
//
background: url('@/assets/images/integration/jianshi/水力模型.png') center/100% 100% no-repeat;
left: 15px;
left: 15px;
top: 188px;
top: 188px;
}
}
...
@@ -223,7 +223,7 @@
...
@@ -223,7 +223,7 @@
height: 338px;
height: 338px;
width: 501px;
width: 501px;
position: relative;
position: relative;
background: url('@/assets/images/integration/jianshi/厂站网.png') center/100% 100% no-repeat;
//
background: url('@/assets/images/integration/jianshi/厂站网.png') center/100% 100% no-repeat;
}
}
.integration_cell[type='业务外勤'] {
.integration_cell[type='业务外勤'] {
...
@@ -231,14 +231,14 @@
...
@@ -231,14 +231,14 @@
width: 388px;
width: 388px;
position: relative;
position: relative;
top: -40px;
top: -40px;
background: url('@/assets/images/integration/jianshi/业务外勤.png') center/100% 100% no-repeat;
//
background: url('@/assets/images/integration/jianshi/业务外勤.png') center/100% 100% no-repeat;
}
}
.integration_row4 {
.integration_row4 {
position: absolute;
position: absolute;
height: 374px;
height: 374px;
width: 1447px;
width: 1447px;
background: url('@/assets/images/integration/jianshi/基础数据平台.png') center/100% 100% no-repeat;
//
background: url('@/assets/images/integration/jianshi/基础数据平台.png') center/100% 100% no-repeat;
bottom: 10px;
bottom: 10px;
margin: 0 auto;
margin: 0 auto;
// z-index: 10;
// z-index: 10;
...
@@ -250,7 +250,7 @@
...
@@ -250,7 +250,7 @@
position: absolute;
position: absolute;
bottom: 79px;
bottom: 79px;
left: 102px;
left: 102px;
background: url('@/assets/images/integration/jianshi/统一接入平台.png') center/100% 100% no-repeat;
//
background: url('@/assets/images/integration/jianshi/统一接入平台.png') center/100% 100% no-repeat;
}
}
.integration_cell[type='大数据中心'] {
.integration_cell[type='大数据中心'] {
...
@@ -259,7 +259,7 @@
...
@@ -259,7 +259,7 @@
position: absolute;
position: absolute;
bottom: 55px;
bottom: 55px;
left: 353px;
left: 353px;
background: url('@/assets/images/integration/jianshi/大数据中心.png') center/100% 100% no-repeat;
//
background: url('@/assets/images/integration/jianshi/大数据中心.png') center/100% 100% no-repeat;
}
}
.integration_cell[type='运维中心'] {
.integration_cell[type='运维中心'] {
...
@@ -268,7 +268,7 @@
...
@@ -268,7 +268,7 @@
position: absolute;
position: absolute;
bottom: 55px;
bottom: 55px;
right: 343px;
right: 343px;
background: url('@/assets/images/integration/jianshi/运维中心.png') center/100% 100% no-repeat;
//
background: url('@/assets/images/integration/jianshi/运维中心.png') center/100% 100% no-repeat;
}
}
.integration_cell[type='信管中心'] {
.integration_cell[type='信管中心'] {
...
@@ -277,7 +277,7 @@
...
@@ -277,7 +277,7 @@
position: absolute;
position: absolute;
bottom: 86px;
bottom: 86px;
right: 107px;
right: 107px;
background: url('@/assets/images/integration/jianshi/信管中心.png') center/100% 100% no-repeat;
//
background: url('@/assets/images/integration/jianshi/信管中心.png') center/100% 100% no-repeat;
z-index: 24;
z-index: 24;
}
}
}
}
...
...
This diff is collapsed.
Click to expand it.
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