部署修改
parent
a1fd78d9c8
commit
e7a1415f0c
|
|
@ -0,0 +1 @@
|
||||||
|
PUBLIC_URL=/mcfxkh
|
||||||
|
|
@ -1 +1,2 @@
|
||||||
|
PUBLIC_URL=/mcfxkh
|
||||||
GENERATE_SOURCEMAP=false
|
GENERATE_SOURCEMAP=false
|
||||||
|
|
@ -6,35 +6,36 @@ const pubapi = 'http://owrsvr.cloudowr.cn/pubapi';
|
||||||
const DEBUG_YJ = config.isShYjDebug ? '?debug=1' : '?debug=0';
|
const DEBUG_YJ = config.isShYjDebug ? '?debug=1' : '?debug=0';
|
||||||
|
|
||||||
const yj_folder_test = './yj_folder';
|
const yj_folder_test = './yj_folder';
|
||||||
|
const Url = 'http://mcfxkh3.cloudowr.cn'
|
||||||
|
|
||||||
const apiurl = {
|
const apiurl = {
|
||||||
yj_folder_test,
|
yj_folder_test,
|
||||||
yj_folder: '/service/yj_folder',
|
yj_folder: Url+'/service/yj_folder',
|
||||||
|
|
||||||
upgramurl: {
|
upgramurl: {
|
||||||
login: {
|
login: {
|
||||||
auth: '/service/sys/users/login',
|
auth: Url+'/service/sys/users/login',
|
||||||
},
|
},
|
||||||
|
|
||||||
sysuser: {
|
sysuser: {
|
||||||
get: '/service/sys/users/get',
|
get: Url+'/service/sys/users/get',
|
||||||
find: '/service/sys/users/find',
|
find: Url+'/service/sys/users/find',
|
||||||
save: '/service/sys/users/save',
|
save: Url+'/service/sys/users/save',
|
||||||
edit: '/service/sys/users/edit',
|
edit: Url+'/service/sys/users/edit',
|
||||||
del: '/service/sys/users/del',
|
del: Url+'/service/sys/users/del',
|
||||||
modpw: '/service/sys/users/modpw',
|
modpw: Url+'/service/sys/users/modpw',
|
||||||
},
|
},
|
||||||
|
|
||||||
loginlog: {
|
loginlog: {
|
||||||
find: '/service/sys/loginlog/find',
|
find: Url+'/service/sys/loginlog/find',
|
||||||
},
|
},
|
||||||
|
|
||||||
smtplog: {
|
smtplog: {
|
||||||
find: '/service/sys/smtplog/find',
|
find: Url+'/service/sys/smtplog/find',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
sendSmtp: '/service/sys/sendsmtp',
|
sendSmtp: Url+'/service/sys/sendsmtp',
|
||||||
|
|
||||||
geoserver: {
|
geoserver: {
|
||||||
wfs: 'http://geo.cloudowr.cn/geoserver/yichang/ows',
|
wfs: 'http://geo.cloudowr.cn/geoserver/yichang/ows',
|
||||||
|
|
@ -45,245 +46,245 @@ const apiurl = {
|
||||||
pubapi,
|
pubapi,
|
||||||
|
|
||||||
adcd: {
|
adcd: {
|
||||||
list: '/service/adcd/list',
|
list: Url+'/service/adcd/list',
|
||||||
info: '/service/adcd/info',
|
info: Url+'/service/adcd/info',
|
||||||
},
|
},
|
||||||
ws: {
|
ws: {
|
||||||
list: '/service/ws/list',
|
list: Url+'/service/ws/list',
|
||||||
wataGet: '/service/ws/wata/get',
|
wataGet: Url+'/service/ws/wata/get',
|
||||||
stat: '/service/ws/stat',
|
stat: Url+'/service/ws/stat',
|
||||||
statIndex: '/service/ws/stat/index',
|
statIndex: Url+'/service/ws/stat/index',
|
||||||
},
|
},
|
||||||
// moved to dcpj
|
// moved to dcpj
|
||||||
fzdx: {
|
fzdx: {
|
||||||
list: '/service/fzdx/list',
|
list: Url+'/service/fzdx/list',
|
||||||
get: '/service/fzdx/get',
|
get: Url+'/service/fzdx/get',
|
||||||
},
|
},
|
||||||
picst: {
|
picst: {
|
||||||
list: '/service/st/pic/list',
|
list: Url+'/service/st/pic/list',
|
||||||
},
|
},
|
||||||
dcpj: {
|
dcpj: {
|
||||||
fzdx: {
|
fzdx: {
|
||||||
list: '/service/fzdx/list',
|
list: Url+'/service/fzdx/list',
|
||||||
get: '/service/fzdx/get',
|
get: Url+'/service/fzdx/get',
|
||||||
},
|
},
|
||||||
bridge: {
|
bridge: {
|
||||||
list: '/service/dcpj/bridge/list',
|
list: Url+'/service/dcpj/bridge/list',
|
||||||
get: '/service/dcpj/bridge/get',
|
get: Url+'/service/dcpj/bridge/get',
|
||||||
find: '/service/dcpj/bridge/find',
|
find: Url+'/service/dcpj/bridge/find',
|
||||||
save: '/service/dcpj/bridge/save',
|
save: Url+'/service/dcpj/bridge/save',
|
||||||
edit: '/service/dcpj/bridge/edit',
|
edit: Url+'/service/dcpj/bridge/edit',
|
||||||
del: '/service/dcpj/bridge/del',
|
del: Url+'/service/dcpj/bridge/del',
|
||||||
},
|
},
|
||||||
culvert: {
|
culvert: {
|
||||||
list: '/service/dcpj/culvert/list',
|
list: Url+'/service/dcpj/culvert/list',
|
||||||
get: '/service/dcpj/culvert/get',
|
get: Url+'/service/dcpj/culvert/get',
|
||||||
find: '/service/dcpj/culvert/find',
|
find: Url+'/service/dcpj/culvert/find',
|
||||||
save: '/service/dcpj/culvert/save',
|
save: Url+'/service/dcpj/culvert/save',
|
||||||
edit: '/service/dcpj/culvert/edit',
|
edit: Url+'/service/dcpj/culvert/edit',
|
||||||
del: '/service/dcpj/culvert/del',
|
del: Url+'/service/dcpj/culvert/del',
|
||||||
},
|
},
|
||||||
sluice: {
|
sluice: {
|
||||||
list: '/service/dcpj/sluice/list',
|
list: Url+'/service/dcpj/sluice/list',
|
||||||
get: '/service/dcpj/sluice/get',
|
get: Url+'/service/dcpj/sluice/get',
|
||||||
find: '/service/dcpj/sluice/find',
|
find: Url+'/service/dcpj/sluice/find',
|
||||||
save: '/service/dcpj/sluice/save',
|
save: Url+'/service/dcpj/sluice/save',
|
||||||
edit: '/service/dcpj/sluice/edit',
|
edit: Url+'/service/dcpj/sluice/edit',
|
||||||
del: '/service/dcpj/sluice/del',
|
del: Url+'/service/dcpj/sluice/del',
|
||||||
},
|
},
|
||||||
reservoir: {
|
reservoir: {
|
||||||
list: '/service/st/sk/list',
|
list: Url+'/service/st/sk/list',
|
||||||
},
|
},
|
||||||
daminfo: {
|
daminfo: {
|
||||||
list: '/service/dcpj/daminfo/list',
|
list: Url+'/service/dcpj/daminfo/list',
|
||||||
get: '/service/dcpj/daminfo/get',
|
get: Url+'/service/dcpj/daminfo/get',
|
||||||
find: '/service/dcpj/daminfo/find',
|
find: Url+'/service/dcpj/daminfo/find',
|
||||||
save: '/service/dcpj/daminfo/save',
|
save: Url+'/service/dcpj/daminfo/save',
|
||||||
edit: '/service/dcpj/daminfo/edit',
|
edit: Url+'/service/dcpj/daminfo/edit',
|
||||||
del: '/service/dcpj/daminfo/del',
|
del: Url+'/service/dcpj/daminfo/del',
|
||||||
},
|
},
|
||||||
dike: {
|
dike: {
|
||||||
list: '/service/dcpj/dike/list',
|
list: Url+'/service/dcpj/dike/list',
|
||||||
get: '/service/dcpj/dike/get',
|
get: Url+'/service/dcpj/dike/get',
|
||||||
find: '/service/dcpj/dike/find',
|
find: Url+'/service/dcpj/dike/find',
|
||||||
save: '/service/dcpj/dike/save',
|
save: Url+'/service/dcpj/dike/save',
|
||||||
edit: '/service/dcpj/dike/edit',
|
edit: Url+'/service/dcpj/dike/edit',
|
||||||
del: '/service/dcpj/dike/del',
|
del: Url+'/service/dcpj/dike/del',
|
||||||
},
|
},
|
||||||
srstinfo: {
|
srstinfo: {
|
||||||
list: '/service/dcpj/srstinfo/list',
|
list: Url+'/service/dcpj/srstinfo/list',
|
||||||
get: '/service/dcpj/srstinfo/get',
|
get: Url+'/service/dcpj/srstinfo/get',
|
||||||
find: '/service/dcpj/srstinfo/find',
|
find: Url+'/service/dcpj/srstinfo/find',
|
||||||
save: '/service/dcpj/srstinfo/save',
|
save: Url+'/service/dcpj/srstinfo/save',
|
||||||
edit: '/service/dcpj/srstinfo/edit',
|
edit: Url+'/service/dcpj/srstinfo/edit',
|
||||||
del: '/service/dcpj/srstinfo/del',
|
del: Url+'/service/dcpj/srstinfo/del',
|
||||||
},
|
},
|
||||||
stinfo: {
|
stinfo: {
|
||||||
list: '/service/dcpj/stinfo/list',
|
list: Url+'/service/dcpj/stinfo/list',
|
||||||
get: '/service/dcpj/stinfo/get',
|
get: Url+'/service/dcpj/stinfo/get',
|
||||||
find: '/service/dcpj/stinfo/find',
|
find: Url+'/service/dcpj/stinfo/find',
|
||||||
save: '/service/dcpj/stinfo/save',
|
save: Url+'/service/dcpj/stinfo/save',
|
||||||
edit: '/service/dcpj/stinfo/edit',
|
edit: Url+'/service/dcpj/stinfo/edit',
|
||||||
del: '/service/dcpj/stinfo/del',
|
del: Url+'/service/dcpj/stinfo/del',
|
||||||
},
|
},
|
||||||
swstinfo: {
|
swstinfo: {
|
||||||
list: '/service/dcpj/swstinfo/list',
|
list: Url+'/service/dcpj/swstinfo/list',
|
||||||
get: '/service/dcpj/swstinfo/get',
|
get: Url+'/service/dcpj/swstinfo/get',
|
||||||
find: '/service/dcpj/swstinfo/find',
|
find: Url+'/service/dcpj/swstinfo/find',
|
||||||
save: '/service/dcpj/swstinfo/save',
|
save: Url+'/service/dcpj/swstinfo/save',
|
||||||
edit: '/service/dcpj/swstinfo/edit',
|
edit: Url+'/service/dcpj/swstinfo/edit',
|
||||||
del: '/service/dcpj/swstinfo/del',
|
del: Url+'/service/dcpj/swstinfo/del',
|
||||||
},
|
},
|
||||||
wbrinfo: {
|
wbrinfo: {
|
||||||
list: '/service/dcpj/wbrinfo/list',
|
list: Url+'/service/dcpj/wbrinfo/list',
|
||||||
get: '/service/dcpj/wbrinfo/get',
|
get: Url+'/service/dcpj/wbrinfo/get',
|
||||||
find: '/service/dcpj/wbrinfo/find',
|
find: Url+'/service/dcpj/wbrinfo/find',
|
||||||
save: '/service/dcpj/wbrinfo/save',
|
save: Url+'/service/dcpj/wbrinfo/save',
|
||||||
edit: '/service/dcpj/wbrinfo/edit',
|
edit: Url+'/service/dcpj/wbrinfo/edit',
|
||||||
del: '/service/dcpj/wbrinfo/del',
|
del: Url+'/service/dcpj/wbrinfo/del',
|
||||||
},
|
},
|
||||||
bsnssinfo: {
|
bsnssinfo: {
|
||||||
list: '/service/dcpj/bsnssinfo/list',
|
list: Url+'/service/dcpj/bsnssinfo/list',
|
||||||
get: '/service/dcpj/bsnssinfo/get',
|
get: Url+'/service/dcpj/bsnssinfo/get',
|
||||||
find: '/service/dcpj/bsnssinfo/find',
|
find: Url+'/service/dcpj/bsnssinfo/find',
|
||||||
save: '/service/dcpj/bsnssinfo/save',
|
save: Url+'/service/dcpj/bsnssinfo/save',
|
||||||
edit: '/service/dcpj/bsnssinfo/edit',
|
edit: Url+'/service/dcpj/bsnssinfo/edit',
|
||||||
del: '/service/dcpj/bsnssinfo/del',
|
del: Url+'/service/dcpj/bsnssinfo/del',
|
||||||
},
|
},
|
||||||
dtresident: {
|
dtresident: {
|
||||||
list: '/service/dcpj/dtresident/list',
|
list: Url+'/service/dcpj/dtresident/list',
|
||||||
get: '/service/dcpj/dtresident/get',
|
get: Url+'/service/dcpj/dtresident/get',
|
||||||
find: '/service/dcpj/dtresident/find',
|
find: Url+'/service/dcpj/dtresident/find',
|
||||||
save: '/service/dcpj/dtresident/save',
|
save: Url+'/service/dcpj/dtresident/save',
|
||||||
edit: '/service/dcpj/dtresident/edit',
|
edit: Url+'/service/dcpj/dtresident/edit',
|
||||||
del: '/service/dcpj/dtresident/del',
|
del: Url+'/service/dcpj/dtresident/del',
|
||||||
},
|
},
|
||||||
flrvvlg: {
|
flrvvlg: {
|
||||||
list: '/service/dcpj/flrvvlg/list',
|
list: Url+'/service/dcpj/flrvvlg/list',
|
||||||
get: '/service/dcpj/flrvvlg/get',
|
get: Url+'/service/dcpj/flrvvlg/get',
|
||||||
find: '/service/dcpj/flrvvlg/find',
|
find: Url+'/service/dcpj/flrvvlg/find',
|
||||||
save: '/service/dcpj/flrvvlg/save',
|
save: Url+'/service/dcpj/flrvvlg/save',
|
||||||
edit: '/service/dcpj/flrvvlg/edit',
|
edit: Url+'/service/dcpj/flrvvlg/edit',
|
||||||
del: '/service/dcpj/flrvvlg/del',
|
del: Url+'/service/dcpj/flrvvlg/del',
|
||||||
},
|
},
|
||||||
danad: {
|
danad: {
|
||||||
list: '/service/dcpj/danad/list',
|
list: Url+'/service/dcpj/danad/list',
|
||||||
get: '/service/dcpj/danad/get',
|
get: Url+'/service/dcpj/danad/get',
|
||||||
find: '/service/dcpj/danad/find',
|
find: Url+'/service/dcpj/danad/find',
|
||||||
save: '/service/dcpj/danad/save',
|
save: Url+'/service/dcpj/danad/save',
|
||||||
edit: '/service/dcpj/danad/edit',
|
edit: Url+'/service/dcpj/danad/edit',
|
||||||
del: '/service/dcpj/danad/del',
|
del: Url+'/service/dcpj/danad/del',
|
||||||
},
|
},
|
||||||
placement: {
|
placement: {
|
||||||
list: '/service/dcpj/placement/list',
|
list: Url+'/service/dcpj/placement/list',
|
||||||
get: '/service/dcpj/placement/get',
|
get: Url+'/service/dcpj/placement/get',
|
||||||
find: '/service/dcpj/placement/find',
|
find: Url+'/service/dcpj/placement/find',
|
||||||
save: '/service/dcpj/placement/save',
|
save: Url+'/service/dcpj/placement/save',
|
||||||
edit: '/service/dcpj/placement/edit',
|
edit: Url+'/service/dcpj/placement/edit',
|
||||||
del: '/service/dcpj/placement/del',
|
del: Url+'/service/dcpj/placement/del',
|
||||||
},
|
},
|
||||||
transfer: {
|
transfer: {
|
||||||
list: '/service/dcpj/transfer/list',
|
list: Url+'/service/dcpj/transfer/list',
|
||||||
get: '/service/dcpj/transfer/get',
|
get: Url+'/service/dcpj/transfer/get',
|
||||||
find: '/service/dcpj/transfer/find',
|
find: Url+'/service/dcpj/transfer/find',
|
||||||
save: '/service/dcpj/transfer/save',
|
save: Url+'/service/dcpj/transfer/save',
|
||||||
edit: '/service/dcpj/transfer/edit',
|
edit: Url+'/service/dcpj/transfer/edit',
|
||||||
del: '/service/dcpj/transfer/del',
|
del: Url+'/service/dcpj/transfer/del',
|
||||||
},
|
},
|
||||||
hdm: {
|
hdm: {
|
||||||
list: '/service/dcpj/hdm/list',
|
list: Url+'/service/dcpj/hdm/list',
|
||||||
get: '/service/dcpj/hdm/get',
|
get: Url+'/service/dcpj/hdm/get',
|
||||||
namelist: '/service/dcpj/hdm/namelist',
|
namelist: Url+'/service/dcpj/hdm/namelist',
|
||||||
},
|
},
|
||||||
hfdfts: {
|
hfdfts: {
|
||||||
list: '/service/dcpj/hfdfts/list',
|
list: Url+'/service/dcpj/hfdfts/list',
|
||||||
get: '/service/dcpj/hfdfts/get',
|
get: Url+'/service/dcpj/hfdfts/get',
|
||||||
find: '/service/dcpj/hfdfts/find',
|
find: Url+'/service/dcpj/hfdfts/find',
|
||||||
save: '/service/dcpj/hfdfts/save',
|
save: Url+'/service/dcpj/hfdfts/save',
|
||||||
edit: '/service/dcpj/hfdfts/edit',
|
edit: Url+'/service/dcpj/hfdfts/edit',
|
||||||
del: '/service/dcpj/hfdfts/del',
|
del: Url+'/service/dcpj/hfdfts/del',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
personel: {
|
personel: {
|
||||||
listByType: '/service/personel/list',
|
listByType: Url+'/service/personel/list',
|
||||||
get: '/service/personel/get',
|
get: Url+'/service/personel/get',
|
||||||
find: '/service/personel/find',
|
find: Url+'/service/personel/find',
|
||||||
save: '/service/personel/save',
|
save: Url+'/service/personel/save',
|
||||||
edit: '/service/personel/edit',
|
edit: Url+'/service/personel/edit',
|
||||||
del: '/service/personel/del',
|
del: Url+'/service/personel/del',
|
||||||
},
|
},
|
||||||
|
|
||||||
skPersonel: {
|
skPersonel: {
|
||||||
listByStcd: '/service/st/sk/personel/list',
|
listByStcd: Url+'/service/st/sk/personel/list',
|
||||||
get: '/service/st/sk/personel/get',
|
get: Url+'/service/st/sk/personel/get',
|
||||||
save: '/service/st/sk/personel/save',
|
save: Url+'/service/st/sk/personel/save',
|
||||||
edit: '/service/st/sk/personel/edit',
|
edit: Url+'/service/st/sk/personel/edit',
|
||||||
del: '/service/st/sk/personel/del',
|
del: Url+'/service/st/sk/personel/del',
|
||||||
},
|
},
|
||||||
sk: {
|
sk: {
|
||||||
info: '/service/st/sk/info',
|
info: Url+'/service/st/sk/info',
|
||||||
savePlan: '/service/st/sk/plan/save',
|
savePlan: Url+'/service/st/sk/plan/save',
|
||||||
},
|
},
|
||||||
|
|
||||||
plan: {
|
plan: {
|
||||||
get: '/service/plan/get',
|
get: Url+'/service/plan/get',
|
||||||
find: '/service/plan/find',
|
find: Url+'/service/plan/find',
|
||||||
save: '/service/plan/save',
|
save: Url+'/service/plan/save',
|
||||||
edit: '/service/plan/edit',
|
edit: Url+'/service/plan/edit',
|
||||||
del: '/service/plan/del',
|
del: Url+'/service/plan/del',
|
||||||
},
|
},
|
||||||
|
|
||||||
zbap: {
|
zbap: {
|
||||||
get: '/service/zbap/get',
|
get: Url+'/service/zbap/get',
|
||||||
find: '/service/zbap/find',
|
find: Url+'/service/zbap/find',
|
||||||
save: '/service/zbap/save',
|
save: Url+'/service/zbap/save',
|
||||||
edit: '/service/zbap/edit',
|
edit: Url+'/service/zbap/edit',
|
||||||
del: '/service/zbap/del',
|
del: Url+'/service/zbap/del',
|
||||||
list: '/service/zbap/list',
|
list: Url+'/service/zbap/list',
|
||||||
upload: '/service/zbap/upload',
|
upload: Url+'/service/zbap/upload',
|
||||||
today: '/service/zbap/today',
|
today: Url+'/service/zbap/today',
|
||||||
},
|
},
|
||||||
|
|
||||||
real: {
|
real: {
|
||||||
shdrp: '/service/real/drp/sh',
|
shdrp: Url+'/service/real/drp/sh',
|
||||||
swdrp: '/service/real/drp/sw',
|
swdrp: Url+'/service/real/drp/sw',
|
||||||
skdrp: '/service/real/drp/sk',
|
skdrp: Url+'/service/real/drp/sk',
|
||||||
qxdrp: '/service/real/drp/qx',
|
qxdrp: Url+'/service/real/drp/qx',
|
||||||
shrz: '/service/real/rz/sh',
|
shrz: Url+'/service/real/rz/sh',
|
||||||
swrz: '/service/real/rz/sw',
|
swrz: Url+'/service/real/rz/sw',
|
||||||
sk: '/service/real/sk',
|
sk: Url+'/service/real/sk',
|
||||||
skPicGet: '/service/real/sk/pic/get',
|
skPicGet: Url+'/service/real/sk/pic/get',
|
||||||
drp: '/service/real/drp',
|
drp: Url+'/service/real/drp',
|
||||||
drpget: '/service/real/drpget',
|
drpget: Url+'/service/real/drpget',
|
||||||
skget: '/service/real/skget',
|
skget: Url+'/service/real/skget',
|
||||||
rz: '/service/real/rz',
|
rz: Url+'/service/real/rz',
|
||||||
},
|
},
|
||||||
|
|
||||||
st: {
|
st: {
|
||||||
sh: '/service/st/sh/list',
|
sh: Url+'/service/st/sh/list',
|
||||||
sw: '/service/st/sw/list',
|
sw: Url+'/service/st/sw/list',
|
||||||
sk: '/service/st/sk/list',
|
sk: Url+'/service/st/sk/list',
|
||||||
qx: '/service/st/qx/list',
|
qx: Url+'/service/st/qx/list',
|
||||||
list: '/service/st/list',
|
list: Url+'/service/st/list',
|
||||||
edit: '/service/st/edit'
|
edit: Url+'/service/st/edit'
|
||||||
},
|
},
|
||||||
|
|
||||||
ex: {
|
ex: {
|
||||||
watadrp: '/service/ex/watadrp',
|
watadrp: Url+'/service/ex/watadrp',
|
||||||
bx: '/service/ex/bx',
|
bx: Url+'/service/ex/bx',
|
||||||
globalSearch: '/service/ex/globalSearch',
|
globalSearch: Url+'/service/ex/globalSearch',
|
||||||
dmcrz: '/service/ex/dmcrz',
|
dmcrz: Url+'/service/ex/dmcrz',
|
||||||
dmrz: '/service/ex/dmrz',
|
dmrz: Url+'/service/ex/dmrz',
|
||||||
},
|
},
|
||||||
|
|
||||||
skalert: {
|
skalert: {
|
||||||
find: '/service/skalert/find',
|
find: Url+'/service/skalert/find',
|
||||||
close: '/service/skalert/close',
|
close: Url+'/service/skalert/close',
|
||||||
},
|
},
|
||||||
|
|
||||||
skalertLatest: {
|
skalertLatest: {
|
||||||
find: '/service/skalert/latest',
|
find: Url+'/service/skalert/latest',
|
||||||
},
|
},
|
||||||
|
|
||||||
shyj: {
|
shyj: {
|
||||||
|
|
@ -301,52 +302,52 @@ const apiurl = {
|
||||||
|
|
||||||
|
|
||||||
yjhis: {
|
yjhis: {
|
||||||
get: '/service/shqx/grb/get',
|
get: Url+'/service/shqx/grb/get',
|
||||||
find: '/service/shqx/grb/find',
|
find: Url+'/service/shqx/grb/find',
|
||||||
latest: '/service/shqx/grb/latest',
|
latest: Url+'/service/shqx/grb/latest',
|
||||||
stat: '/service/shqx/grb/stat',
|
stat: Url+'/service/shqx/grb/stat',
|
||||||
weather: '/service/shqx/res/grblayerset',
|
weather: Url+'/service/shqx/res/grblayerset',
|
||||||
report: '/service/shqx/grb/report',
|
report: Url+'/service/shqx/grb/report',
|
||||||
rainimglist: '/service/shqx/grb/rainimglist',
|
rainimglist: Url+'/service/shqx/grb/rainimglist',
|
||||||
imglist: '/service/shqx/grb/imglist',
|
imglist: Url+'/service/shqx/grb/imglist',
|
||||||
},
|
},
|
||||||
|
|
||||||
radarhis: {
|
radarhis: {
|
||||||
get: '/service/shqx/radar/get',
|
get: Url+'/service/shqx/radar/get',
|
||||||
find: '/service/shqx/radar/find',
|
find: Url+'/service/shqx/radar/find',
|
||||||
latest: '/service/shqx/radar/latest',
|
latest: Url+'/service/shqx/radar/latest',
|
||||||
stat: '/service/shqx/radar/stat',
|
stat: Url+'/service/shqx/radar/stat',
|
||||||
weather: '/service/shqx/res/radarlayer',
|
weather: Url+'/service/shqx/res/radarlayer',
|
||||||
rainimg: '/service/shqx/radar/rainimg',
|
rainimg: Url+'/service/shqx/radar/rainimg',
|
||||||
imglist: '/service/shqx/radar/imglist',
|
imglist: Url+'/service/shqx/radar/imglist',
|
||||||
},
|
},
|
||||||
|
|
||||||
warnresprecord: {
|
warnresprecord: {
|
||||||
latest: '/service/warnresprecord/last',
|
latest: Url+'/service/warnresprecord/last',
|
||||||
save: '/service/warnresprecord/save',
|
save: Url+'/service/warnresprecord/save',
|
||||||
dispose: '/service/warnresprecord/dispose',
|
dispose: Url+'/service/warnresprecord/dispose',
|
||||||
get: '/service/warnresprecord/get',
|
get: Url+'/service/warnresprecord/get',
|
||||||
close: '/service/warnresprecord/close',
|
close: Url+'/service/warnresprecord/close',
|
||||||
delete: '/service/warnresprecord/delDispose',
|
delete: Url+'/service/warnresprecord/delDispose',
|
||||||
},
|
},
|
||||||
|
|
||||||
warnresp: {
|
warnresp: {
|
||||||
list: '/service/warnresp/list',
|
list: Url+'/service/warnresp/list',
|
||||||
},
|
},
|
||||||
|
|
||||||
stwarnrecord: {
|
stwarnrecord: {
|
||||||
unclose: '/service/stwarnrecord/unclose',
|
unclose: Url+'/service/stwarnrecord/unclose',
|
||||||
find: '/service/stwarnrecord/find',
|
find: Url+'/service/stwarnrecord/find',
|
||||||
},
|
},
|
||||||
|
|
||||||
ctrl: {
|
ctrl: {
|
||||||
cmd: '/service/ctrl/cmd',
|
cmd: Url+'/service/ctrl/cmd',
|
||||||
audio: '/service/ctrl/audio',
|
audio: Url+'/service/ctrl/audio',
|
||||||
},
|
},
|
||||||
|
|
||||||
//汛情监视
|
//汛情监视
|
||||||
xqjs: {
|
xqjs: {
|
||||||
sktp: '/service/real/sk',
|
sktp: Url+'/service/real/sk',
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,18 +1,18 @@
|
||||||
const { createProxyMiddleware } = require('http-proxy-middleware');
|
const { createProxyMiddleware } = require('http-proxy-middleware');
|
||||||
|
|
||||||
module.exports = function (app) {
|
module.exports = function (app) {
|
||||||
app.use(
|
// app.use(
|
||||||
'/service',
|
// '/service',
|
||||||
createProxyMiddleware({
|
// createProxyMiddleware({
|
||||||
target: 'http://mcfxkh3.cloudowr.cn/',
|
// target: 'http://mcfxkh3.cloudowr.cn/',
|
||||||
changeOrigin: true,
|
// changeOrigin: true,
|
||||||
/*
|
// /*
|
||||||
pathRewrite: {
|
// pathRewrite: {
|
||||||
'^/service': '',
|
// '^/service': '',
|
||||||
},
|
// },
|
||||||
*/
|
// */
|
||||||
})
|
// })
|
||||||
);
|
// );
|
||||||
|
|
||||||
app.use(
|
app.use(
|
||||||
'/socket.io',
|
'/socket.io',
|
||||||
|
|
|
||||||
|
|
@ -29,7 +29,7 @@ function HDStDlg({ record, onClose }) {
|
||||||
<DpCloseButton onClick={onClose} />
|
<DpCloseButton onClick={onClose} />
|
||||||
</DpAppBar>
|
</DpAppBar>
|
||||||
|
|
||||||
<img src='/assets/报警列表.jpg' style={{width:'100%', height:'33rem',marginTop:'0rem'}}/>
|
<img src={process.env.PUBLIC_URL+'/assets/报警列表.jpg'} style={{width:'100%', height:'33rem',marginTop:'0rem'}}/>
|
||||||
</DialogContent>
|
</DialogContent>
|
||||||
<div className="boxfoot"></div>
|
<div className="boxfoot"></div>
|
||||||
</Dialog>
|
</Dialog>
|
||||||
|
|
|
||||||
|
|
@ -28,7 +28,7 @@ function HDStDlg({ record, onClose }) {
|
||||||
</DpTabs>
|
</DpTabs>
|
||||||
<DpCloseButton onClick={onClose} />
|
<DpCloseButton onClick={onClose} />
|
||||||
</DpAppBar>
|
</DpAppBar>
|
||||||
<img src='/assets/ddcg.jpg' style={{width:'95vw', height:'90vh'}}/>
|
<img src={process.env.PUBLIC_URL+'/assets/ddcg.jpg'} style={{width:'95vw', height:'90vh'}}/>
|
||||||
</DialogContent>
|
</DialogContent>
|
||||||
<div className="boxfoot"></div>
|
<div className="boxfoot"></div>
|
||||||
</Dialog>
|
</Dialog>
|
||||||
|
|
|
||||||
|
|
@ -28,7 +28,7 @@ function HDStDlg({ record, onClose }) {
|
||||||
</DpTabs>
|
</DpTabs>
|
||||||
<DpCloseButton onClick={onClose} />
|
<DpCloseButton onClick={onClose} />
|
||||||
</DpAppBar>
|
</DpAppBar>
|
||||||
<img src='/assets/fadb.jpg' style={{width:'80vw', height:'80vh',marginTop:"0.5rem",marginRight:'0.5rem'}}/>
|
<img src={process.env.PUBLIC_URL+'/assets/fadb.jpg'} style={{width:'80vw', height:'80vh',marginTop:"0.5rem",marginRight:'0.5rem'}}/>
|
||||||
</DialogContent>
|
</DialogContent>
|
||||||
<div className="boxfoot"></div>
|
<div className="boxfoot"></div>
|
||||||
</Dialog>
|
</Dialog>
|
||||||
|
|
|
||||||
|
|
@ -51,7 +51,7 @@ function HDStDlg({ record, onClose }) {
|
||||||
<div style={{width:'100%',height:'25rem'}}>
|
<div style={{width:'100%',height:'25rem'}}>
|
||||||
<AreaDrpChart data={[]} />
|
<AreaDrpChart data={[]} />
|
||||||
</div>
|
</div>
|
||||||
{/* <img src='/assets/报警列表.jpg' style={{width:'100%', height:'33rem',marginTop:'0rem'}}/> */}
|
{/* <img src={process.env.PUBLIC_URL+'/assets/报警列表.jpg'} style={{width:'100%', height:'33rem',marginTop:'0rem'}}/> */}
|
||||||
|
|
||||||
<TableContainer style={{ height: '15rem',padding:'10px 10px' }}>
|
<TableContainer style={{ height: '15rem',padding:'10px 10px' }}>
|
||||||
<Table size="small" stickyHeader>
|
<Table size="small" stickyHeader>
|
||||||
|
|
|
||||||
|
|
@ -102,6 +102,6 @@ export const iconstyles = {
|
||||||
}
|
}
|
||||||
|
|
||||||
export const iconbase = {
|
export const iconbase = {
|
||||||
backgroundImage: 'url(/mapbox/sprite@2x.png)',
|
backgroundImage: 'url('+process.env.PUBLIC_URL+'/mapbox/sprite@2x.png)',
|
||||||
backgroundSize: '1600% 1450%',
|
backgroundSize: '1600% 1450%',
|
||||||
};
|
};
|
||||||
|
|
@ -135,8 +135,8 @@ class LayerMgr {
|
||||||
version: 8,
|
version: 8,
|
||||||
name: "fxkh",
|
name: "fxkh",
|
||||||
metadata: {},
|
metadata: {},
|
||||||
sprite: `${window.location.origin}/mapbox/sprite`,
|
sprite: `${window.location.origin+process.env.PUBLIC_URL}/mapbox/sprite`,
|
||||||
glyphs: `${window.location.origin}/mapbox/{fontstack}/{range}.pbf`,
|
glyphs: `${window.location.origin+process.env.PUBLIC_URL}/mapbox/{fontstack}/{range}.pbf`,
|
||||||
sources,
|
sources,
|
||||||
terrain: this.layerMap.TerrainLayer.getTerrain(),
|
terrain: this.layerMap.TerrainLayer.getTerrain(),
|
||||||
layers: [
|
layers: [
|
||||||
|
|
|
||||||
|
|
@ -31,7 +31,7 @@ import RainDrpLayer from "./rainDrpLayer"
|
||||||
import XunchaLayer from "./xunchalayer"
|
import XunchaLayer from "./xunchalayer"
|
||||||
import shyjLayer from "./shyjLayer"
|
import shyjLayer from "./shyjLayer"
|
||||||
|
|
||||||
const hash = window.location.origin;
|
const hash = window.location.origin+process.env.PUBLIC_URL;
|
||||||
|
|
||||||
const sources = {
|
const sources = {
|
||||||
"mapbox-dem": {
|
"mapbox-dem": {
|
||||||
|
|
@ -44,17 +44,18 @@ const sources = {
|
||||||
'type': 'raster-dem',
|
'type': 'raster-dem',
|
||||||
'url': `${hash}/data/dem.json`,
|
'url': `${hash}/data/dem.json`,
|
||||||
},
|
},
|
||||||
"mapbox-dom": {
|
"mapbox-dom": {
|
||||||
'type': 'raster',
|
'type': 'raster',
|
||||||
'tiles': [
|
'tiles': [
|
||||||
`http://res3dstatic0.cloudowr.cn/${config.address}/dom2/{z}/{x}/{y}.png`,
|
// `http://res3dstatic0.cloudowr.cn/${config.address}/dom2/{z}/{x}/{y}.png`,
|
||||||
`http://res3dstatic1.cloudowr.cn/${config.address}/dom2/{z}/{x}/{y}.png`,
|
// `http://res3dstatic1.cloudowr.cn/${config.address}/dom2/{z}/{x}/{y}.png`,
|
||||||
`http://res3dstatic2.cloudowr.cn/${config.address}/dom2/{z}/{x}/{y}.png`,
|
// `http://res3dstatic2.cloudowr.cn/${config.address}/dom2/{z}/{x}/{y}.png`,
|
||||||
`http://res3dstatic3.cloudowr.cn/${config.address}/dom2/{z}/{x}/{y}.png`,
|
// `http://res3dstatic3.cloudowr.cn/${config.address}/dom2/{z}/{x}/{y}.png`,
|
||||||
`http://res3dstatic4.cloudowr.cn/${config.address}/dom2/{z}/{x}/{y}.png`,
|
// `http://res3dstatic4.cloudowr.cn/${config.address}/dom2/{z}/{x}/{y}.png`,
|
||||||
`http://res3dstatic5.cloudowr.cn/${config.address}/dom2/{z}/{x}/{y}.png`,
|
// `http://res3dstatic5.cloudowr.cn/${config.address}/dom2/{z}/{x}/{y}.png`,
|
||||||
`http://res3dstatic6.cloudowr.cn/${config.address}/dom2/{z}/{x}/{y}.png`,
|
// `http://res3dstatic6.cloudowr.cn/${config.address}/dom2/{z}/{x}/{y}.png`,
|
||||||
`http://res3dstatic7.cloudowr.cn/${config.address}/dom2/{z}/{x}/{y}.png`,
|
// `http://res3dstatic7.cloudowr.cn/${config.address}/dom2/{z}/{x}/{y}.png`,
|
||||||
|
`https://t0.tianditu.gov.cn/DataServer?T=img_w&x={x}&y={y}&l={z}&tk=efc861f25f96dc6e5f884f0403ebfefd`,
|
||||||
],
|
],
|
||||||
'tileSize': 256,
|
'tileSize': 256,
|
||||||
'minzoom': 1,
|
'minzoom': 1,
|
||||||
|
|
|
||||||
|
|
@ -7,48 +7,48 @@ import { makeStyles, Tooltip, Typography } from '@material-ui/core';
|
||||||
const VIEWS = [
|
const VIEWS = [
|
||||||
|
|
||||||
{
|
{
|
||||||
id: 100, title: '防汛', img: '/assets/menu/防洪形势.png', children: [
|
id: 100, title: '防汛', img: process.env.PUBLIC_URL+'/assets/menu/防洪形势.png', children: [
|
||||||
// { id: 0, title: '防洪形势', img: '/assets/menu/防洪形势.png' },
|
// { id: 0, title: '防洪形势', img: process.env.PUBLIC_URL+'/assets/menu/防洪形势.png' },
|
||||||
{ id: 8, title: '防洪形势', img: '/assets/menu/防洪形势.png' },
|
{ id: 8, title: '防洪形势', img: process.env.PUBLIC_URL+'/assets/menu/防洪形势.png' },
|
||||||
// { id: 9, title: '防洪形势', img: '/assets/menu/防洪形势.png' },
|
// { id: 9, title: '防洪形势', img: process.env.PUBLIC_URL+'/assets/menu/防洪形势.png' },
|
||||||
{ id: 1, title: '监测数据', img: '/assets/menu/实时数据.png' },
|
{ id: 1, title: '监测数据', img: process.env.PUBLIC_URL+'/assets/menu/实时数据.png' },
|
||||||
// { id: 2, title: '水利设施', img: '/assets/menu/水利设施.png' },
|
// { id: 2, title: '水利设施', img: process.env.PUBLIC_URL+'/assets/menu/水利设施.png' },
|
||||||
{ id: 5, title: '预报', img: '/assets/menu/降雨中心.png' },
|
{ id: 5, title: '预报', img: process.env.PUBLIC_URL+'/assets/menu/降雨中心.png' },
|
||||||
{ id: 6, title: '预警', img: '/assets/menu/病险水库.png' },
|
{ id: 6, title: '预警', img: process.env.PUBLIC_URL+'/assets/menu/病险水库.png' },
|
||||||
{ id: 4, title: '预演', img: '/assets/menu/预警分析.png' },
|
{ id: 4, title: '预演', img: process.env.PUBLIC_URL+'/assets/menu/预警分析.png' },
|
||||||
{ id: 3, title: '预案', img: '/assets/menu/辅助决策.png' },
|
{ id: 3, title: '预案', img: process.env.PUBLIC_URL+'/assets/menu/辅助决策.png' },
|
||||||
{ id: 7, title: '调度', img: '/assets/menu/辅助决策.png' },
|
{ id: 7, title: '调度', img: process.env.PUBLIC_URL+'/assets/menu/辅助决策.png' },
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
// { id: 200, title: '水库', img: '/assets/menu/水库专题.png',children:[
|
// { id: 200, title: '水库', img: process.env.PUBLIC_URL+'/assets/menu/水库专题.png',children:[
|
||||||
// { id: 207, title: '水库总览', img: '/assets/menu/水库管理.png' },
|
// { id: 207, title: '水库总览', img: process.env.PUBLIC_URL+'/assets/menu/水库管理.png' },
|
||||||
// // { id: 201, title: '雨情监测', img: '/assets/menu/雨情监测.png' },
|
// // { id: 201, title: '雨情监测', img: process.env.PUBLIC_URL+'/assets/menu/雨情监测.png' },
|
||||||
// // { id: 202, title: '水情监测', img: '/assets/menu/水情监测.png' },
|
// // { id: 202, title: '水情监测', img: process.env.PUBLIC_URL+'/assets/menu/水情监测.png' },
|
||||||
// { id: 203, title: '水库监测', img: '/assets/menu/安全监测.png' },
|
// { id: 203, title: '水库监测', img: process.env.PUBLIC_URL+'/assets/menu/安全监测.png' },
|
||||||
// // { id: 204, title: '视频监视', img: '/assets/menu/视频监视.png' },
|
// // { id: 204, title: '视频监视', img: process.env.PUBLIC_URL+'/assets/menu/视频监视.png' },
|
||||||
// { id: 205, title: '防汛调度', img: '/assets/menu/防汛调度.png' },
|
// { id: 205, title: '防汛调度', img: process.env.PUBLIC_URL+'/assets/menu/防汛调度.png' },
|
||||||
// { id: 206, title: '巡查维养', img: '/assets/menu/水库管理.png' },
|
// { id: 206, title: '巡查维养', img: process.env.PUBLIC_URL+'/assets/menu/水库管理.png' },
|
||||||
// ] },
|
// ] },
|
||||||
{ id: 200, title: '水库', img: '/assets/menu/水库专题.png'},
|
{ id: 200, title: '水库', img: process.env.PUBLIC_URL+'/assets/menu/水库专题.png'},
|
||||||
{
|
{
|
||||||
id: 300, title: '水厂', img: '/assets/menu/水利设施.png', children: [
|
id: 300, title: '水厂', img: process.env.PUBLIC_URL+'/assets/menu/水利设施.png', children: [
|
||||||
{ id: 301, title: '供水态势', img: '/assets/menu/降雨中心.png' },
|
{ id: 301, title: '供水态势', img: process.env.PUBLIC_URL+'/assets/menu/降雨中心.png' },
|
||||||
{ id: 302, title: '水质安全', img: '/assets/menu/水情监测.png' },
|
{ id: 302, title: '水质安全', img: process.env.PUBLIC_URL+'/assets/menu/水情监测.png' },
|
||||||
{ id: 303, title: '水厂运行', img: '/assets/menu/水库管理.png' },
|
{ id: 303, title: '水厂运行', img: process.env.PUBLIC_URL+'/assets/menu/水库管理.png' },
|
||||||
{ id: 306, title: '管网健康诊断', img: '/assets/menu/水利设施.png' },
|
{ id: 306, title: '管网健康诊断', img: process.env.PUBLIC_URL+'/assets/menu/水利设施.png' },
|
||||||
{ id: 307, title: '应急指挥调度', img: '/assets/menu/病险水库.png' },
|
{ id: 307, title: '应急指挥调度', img: process.env.PUBLIC_URL+'/assets/menu/病险水库.png' },
|
||||||
// { id: 305, title: '决策支持与报表', img: '/assets/menu/辅助决策.png' },
|
// { id: 305, title: '决策支持与报表', img: process.env.PUBLIC_URL+'/assets/menu/辅助决策.png' },
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: 400, title: '灌区', img: '/assets/menu/预警分析.png', children: [
|
id: 400, title: '灌区', img: process.env.PUBLIC_URL+'/assets/menu/预警分析.png', children: [
|
||||||
{ id: 501, title: '灌区监测', img: '/assets/menu/防洪形势.png' },
|
{ id: 501, title: '灌区监测', img: process.env.PUBLIC_URL+'/assets/menu/防洪形势.png' },
|
||||||
{ id: 504, title: '水旱灾害防御', img: '/assets/menu/水利设施.png' },
|
{ id: 504, title: '水旱灾害防御', img: process.env.PUBLIC_URL+'/assets/menu/水利设施.png' },
|
||||||
// { id: 502, title: '预警信息管理', img: '/assets/menu/实时数据.png' },
|
// { id: 502, title: '预警信息管理', img: process.env.PUBLIC_URL+'/assets/menu/实时数据.png' },
|
||||||
{ id: 503, title: '水资源调度', img: '/assets/menu/病险水库.png' },
|
{ id: 503, title: '水资源调度', img: process.env.PUBLIC_URL+'/assets/menu/病险水库.png' },
|
||||||
{ id: 505, title: '量测水管理', img: '/assets/menu/辅助决策.png' },
|
{ id: 505, title: '量测水管理', img: process.env.PUBLIC_URL+'/assets/menu/辅助决策.png' },
|
||||||
{ id: 506, title: '水政管理', img: '/assets/menu/预警分析.png' },
|
{ id: 506, title: '水政管理', img: process.env.PUBLIC_URL+'/assets/menu/预警分析.png' },
|
||||||
{ id: 507, title: '工程管理', img: '/assets/menu/降雨中心.png' },
|
{ id: 507, title: '工程管理', img: process.env.PUBLIC_URL+'/assets/menu/降雨中心.png' },
|
||||||
// 图层控制
|
// 图层控制
|
||||||
// 灌区监测
|
// 灌区监测
|
||||||
// 预警信息管理
|
// 预警信息管理
|
||||||
|
|
@ -107,7 +107,7 @@ export default function ActionDock({ }) {
|
||||||
removePoint()
|
removePoint()
|
||||||
}}>
|
}}>
|
||||||
<div className={clsx('button', { active: false })}>
|
<div className={clsx('button', { active: false })}>
|
||||||
<img width={40} style={{ marginLeft: '5px' }} src={'/assets/pump/退出.png'} />
|
<img width={40} style={{ marginLeft: '5px' }} src={process.env.PUBLIC_URL+'/assets/pump/退出.png'} />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</BootstrapTooltip>
|
</BootstrapTooltip>
|
||||||
|
|
|
||||||
|
|
@ -119,35 +119,35 @@ export default function Title() {
|
||||||
view===301?
|
view===301?
|
||||||
<div style={{position:'absolute',left:'50%',top:'6rem',transform:'translate(-50%, 0px)',display:'flex'}}>
|
<div style={{position:'absolute',left:'50%',top:'6rem',transform:'translate(-50%, 0px)',display:'flex'}}>
|
||||||
<div style={{display:'flex',alignItems:'center',justifyContent:'center',marginLeft:'20px'}}>
|
<div style={{display:'flex',alignItems:'center',justifyContent:'center',marginLeft:'20px'}}>
|
||||||
<img src='/assets/title1.png' style={{width:'50px', height:'40px'}}/>
|
<img src={process.env.PUBLIC_URL+'/assets/title1.png'} style={{width:'50px', height:'40px'}}/>
|
||||||
<div style={{marginLeft:'8px',}}>
|
<div style={{marginLeft:'8px',}}>
|
||||||
<div style={{color:'rgba(255, 255, 255, 0.7)',fontSize:'10px',fontWeight:'400'}}><span style={{color:'#37D0E7',fontSize:'16px',fontWeight:'blod'}}>15 </span> 个</div>
|
<div style={{color:'rgba(255, 255, 255, 0.7)',fontSize:'10px',fontWeight:'400'}}><span style={{color:'#37D0E7',fontSize:'16px',fontWeight:'blod'}}>15 </span> 个</div>
|
||||||
<div style={{color:'#ffffff',fontSize:'12px',fontWeight:'400'}}>乡镇数量</div>
|
<div style={{color:'#ffffff',fontSize:'12px',fontWeight:'400'}}>乡镇数量</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div style={{display:'flex',alignItems:'center',justifyContent:'center',marginLeft:'20px'}}>
|
<div style={{display:'flex',alignItems:'center',justifyContent:'center',marginLeft:'20px'}}>
|
||||||
<img src='/assets/title2.png' style={{width:'50px', height:'40px'}}/>
|
<img src={process.env.PUBLIC_URL+'/assets/title2.png'} style={{width:'50px', height:'40px'}}/>
|
||||||
<div style={{marginLeft:'8px',}}>
|
<div style={{marginLeft:'8px',}}>
|
||||||
<div style={{color:'rgba(255, 255, 255, 0.7)',fontSize:'10px',fontWeight:'400'}}><span style={{color:'#37D0E7',fontSize:'16px',fontWeight:'blod'}}>16 </span> 个</div>
|
<div style={{color:'rgba(255, 255, 255, 0.7)',fontSize:'10px',fontWeight:'400'}}><span style={{color:'#37D0E7',fontSize:'16px',fontWeight:'blod'}}>16 </span> 个</div>
|
||||||
<div style={{color:'#ffffff',fontSize:'12px',fontWeight:'400'}}>水源地数量</div>
|
<div style={{color:'#ffffff',fontSize:'12px',fontWeight:'400'}}>水源地数量</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div style={{display:'flex',alignItems:'center',justifyContent:'center',marginLeft:'20px'}}>
|
<div style={{display:'flex',alignItems:'center',justifyContent:'center',marginLeft:'20px'}}>
|
||||||
<img src='/assets/title3.png' style={{width:'50px', height:'40px'}}/>
|
<img src={process.env.PUBLIC_URL+'/assets/title3.png'} style={{width:'50px', height:'40px'}}/>
|
||||||
<div style={{marginLeft:'8px',}}>
|
<div style={{marginLeft:'8px',}}>
|
||||||
<div style={{color:'rgba(255, 255, 255, 0.7)',fontSize:'10px',fontWeight:'400'}}><span style={{color:'#37D0E7',fontSize:'16px',fontWeight:'blod'}}>221 </span> 座</div>
|
<div style={{color:'rgba(255, 255, 255, 0.7)',fontSize:'10px',fontWeight:'400'}}><span style={{color:'#37D0E7',fontSize:'16px',fontWeight:'blod'}}>221 </span> 座</div>
|
||||||
<div style={{color:'#ffffff',fontSize:'12px',fontWeight:'400'}}>水厂数量</div>
|
<div style={{color:'#ffffff',fontSize:'12px',fontWeight:'400'}}>水厂数量</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div style={{display:'flex',alignItems:'center',justifyContent:'center',marginLeft:'20px'}}>
|
<div style={{display:'flex',alignItems:'center',justifyContent:'center',marginLeft:'20px'}}>
|
||||||
<img src='/assets/title4.png' style={{width:'50px', height:'40px'}}/>
|
<img src={process.env.PUBLIC_URL+'/assets/title4.png'} style={{width:'50px', height:'40px'}}/>
|
||||||
<div style={{marginLeft:'8px',}}>
|
<div style={{marginLeft:'8px',}}>
|
||||||
<div style={{color:'rgba(255, 255, 255, 0.7)',fontSize:'10px',fontWeight:'400'}}><span style={{color:'#37D0E7',fontSize:'16px',fontWeight:'blod'}}>33 </span> 万</div>
|
<div style={{color:'rgba(255, 255, 255, 0.7)',fontSize:'10px',fontWeight:'400'}}><span style={{color:'#37D0E7',fontSize:'16px',fontWeight:'blod'}}>33 </span> 万</div>
|
||||||
<div style={{color:'#ffffff',fontSize:'12px',fontWeight:'400'}}>服务人口</div>
|
<div style={{color:'#ffffff',fontSize:'12px',fontWeight:'400'}}>服务人口</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div style={{display:'flex',alignItems:'center',justifyContent:'center',marginLeft:'20px'}}>
|
<div style={{display:'flex',alignItems:'center',justifyContent:'center',marginLeft:'20px'}}>
|
||||||
<img src='/assets/title5.png' style={{width:'50px', height:'40px'}}/>
|
<img src={process.env.PUBLIC_URL+'/assets/title5.png'} style={{width:'50px', height:'40px'}}/>
|
||||||
<div style={{marginLeft:'8px',}}>
|
<div style={{marginLeft:'8px',}}>
|
||||||
<div style={{color:'rgba(255, 255, 255, 0.7)',fontSize:'10px',fontWeight:'400'}}><span style={{color:'#37D0E7',fontSize:'16px',fontWeight:'blod'}}>1026 </span> 万m³</div>
|
<div style={{color:'rgba(255, 255, 255, 0.7)',fontSize:'10px',fontWeight:'400'}}><span style={{color:'#37D0E7',fontSize:'16px',fontWeight:'blod'}}>1026 </span> 万m³</div>
|
||||||
<div style={{color:'#ffffff',fontSize:'12px',fontWeight:'400'}}>年供水规模</div>
|
<div style={{color:'#ffffff',fontSize:'12px',fontWeight:'400'}}>年供水规模</div>
|
||||||
|
|
|
||||||
|
|
@ -10,11 +10,11 @@ function DrpReal({ style }) {
|
||||||
color="green"
|
color="green"
|
||||||
extra={
|
extra={
|
||||||
<>
|
<>
|
||||||
<img src='/assets/镇切换.jpg' style={{width:'150px', height:'20px',marginRight:'5px'}}/>
|
<img src={process.env.PUBLIC_URL+'/assets/镇切换.jpg'} style={{width:'150px', height:'20px',marginRight:'5px'}}/>
|
||||||
</>
|
</>
|
||||||
}
|
}
|
||||||
>
|
>
|
||||||
<img src='/assets/安防监控.jpg' style={{width:'27.5rem', height:'11rem',marginLeft:'-8px'}}/>
|
<img src={process.env.PUBLIC_URL+'/assets/安防监控.jpg'} style={{width:'27.5rem', height:'11rem',marginLeft:'-8px'}}/>
|
||||||
</PanelBox>
|
</PanelBox>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -29,7 +29,7 @@ const [type, setType] = useState('sc')
|
||||||
type == 'sc' ?<AreaDrpChart />:<ShuiyuandiChart />
|
type == 'sc' ?<AreaDrpChart />:<ShuiyuandiChart />
|
||||||
}
|
}
|
||||||
|
|
||||||
{/* <img src='/assets/报警分析.jpg' style={{width:'26.5rem', height:'13.5rem',marginLeft:'0rem',marginTop:'1rem'}}/> */}
|
{/* <img src={process.env.PUBLIC_URL+'/assets/报警分析.jpg'} style={{width:'26.5rem', height:'13.5rem',marginLeft:'0rem',marginTop:'1rem'}}/> */}
|
||||||
</PanelBox>
|
</PanelBox>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -10,8 +10,8 @@ function DrpReal({ style }) {
|
||||||
color="green"
|
color="green"
|
||||||
extra={
|
extra={
|
||||||
<>
|
<>
|
||||||
<img src='/assets/镇下拉.jpg' style={{width:'100px', height:'30px',marginRight:'10px'}}/>
|
<img src={process.env.PUBLIC_URL+'/assets/镇下拉.jpg'} style={{width:'100px', height:'30px',marginRight:'10px'}}/>
|
||||||
<img src='/assets/水厂切换.jpg' style={{width:'165px', height:'20px',marginRight:'5px'}}/>
|
<img src={process.env.PUBLIC_URL+'/assets/水厂切换.jpg'} style={{width:'165px', height:'20px',marginRight:'5px'}}/>
|
||||||
</>
|
</>
|
||||||
}
|
}
|
||||||
>
|
>
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@ function DrpReal({ style }) {
|
||||||
title="方案对比"
|
title="方案对比"
|
||||||
color="green"
|
color="green"
|
||||||
>
|
>
|
||||||
<img src='/assets/duibifenxi.png' style={{width:'429.81px', height:'254px',marginLeft:'1px'}}/>
|
<img src={process.env.PUBLIC_URL+'/assets/duibifenxi.png'} style={{width:'429.81px', height:'254px',marginLeft:'1px'}}/>
|
||||||
</PanelBox>
|
</PanelBox>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,7 @@ function DrpReal({ style }) {
|
||||||
color="green"
|
color="green"
|
||||||
extra={
|
extra={
|
||||||
<>
|
<>
|
||||||
{/* <img src='/assets/年下拉3.jpg' style={{width:'100px', height:'30px',marginRight:'10px'}}/> */}
|
{/* <img src={process.env.PUBLIC_URL+'/assets/年下拉3.jpg'} style={{width:'100px', height:'30px',marginRight:'10px'}}/> */}
|
||||||
<div style={{color:'#1890ff',marginRight:'10px',cursor:'pointer'}} onClick={()=>{
|
<div style={{color:'#1890ff',marginRight:'10px',cursor:'pointer'}} onClick={()=>{
|
||||||
dispatch?.runtime.setInfoDlg({ layerId: 'DdcgLayer', properties: {} })
|
dispatch?.runtime.setInfoDlg({ layerId: 'DdcgLayer', properties: {} })
|
||||||
}}>
|
}}>
|
||||||
|
|
|
||||||
|
|
@ -10,12 +10,12 @@ function DrpReal({ style }) {
|
||||||
color="green"
|
color="green"
|
||||||
extra={
|
extra={
|
||||||
<>
|
<>
|
||||||
<img src='/assets/镇下拉.jpg' style={{width:'100px', height:'30px',marginRight:'10px'}}/>
|
<img src={process.env.PUBLIC_URL+'/assets/镇下拉.jpg'} style={{width:'100px', height:'30px',marginRight:'10px'}}/>
|
||||||
<img src='/assets/水厂切换.jpg' style={{width:'165px', height:'20px',marginRight:'5px'}}/>
|
<img src={process.env.PUBLIC_URL+'/assets/水厂切换.jpg'} style={{width:'165px', height:'20px',marginRight:'5px'}}/>
|
||||||
</>
|
</>
|
||||||
}
|
}
|
||||||
>
|
>
|
||||||
<img src='/assets/电耗分析.jpg' style={{width:'26rem', height:'16rem',marginLeft:'8px'}}/>
|
<img src={process.env.PUBLIC_URL+'/assets/电耗分析.jpg'} style={{width:'26rem', height:'16rem',marginLeft:'8px'}}/>
|
||||||
</PanelBox>
|
</PanelBox>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,7 @@ function DrpReal({ style }) {
|
||||||
</div>
|
</div>
|
||||||
}
|
}
|
||||||
>
|
>
|
||||||
<img src='/assets/组 6.png' style={{width:'23rem',marginLeft:'1.7rem',marginTop:'0.5rem'}}/>
|
<img src={process.env.PUBLIC_URL+'/assets/组 6.png'} style={{width:'23rem',marginLeft:'1.7rem',marginTop:'0.5rem'}}/>
|
||||||
</PanelBox>
|
</PanelBox>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -148,7 +148,7 @@ function DrpReal({ style }) {
|
||||||
color="green"
|
color="green"
|
||||||
extra={
|
extra={
|
||||||
<>
|
<>
|
||||||
{/* <img src='/assets/年下拉3.jpg' style={{width:'100px', height:'30px',marginRight:'10px'}}/> */}
|
{/* <img src={process.env.PUBLIC_URL+'/assets/年下拉3.jpg'} style={{width:'100px', height:'30px',marginRight:'10px'}}/> */}
|
||||||
<div style={{height:'30px',overflow:'hidden'}}>
|
<div style={{height:'30px',overflow:'hidden'}}>
|
||||||
<Select
|
<Select
|
||||||
labelId="analysis-select-label"
|
labelId="analysis-select-label"
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@ function DrpReal({ style }) {
|
||||||
// </>
|
// </>
|
||||||
// }
|
// }
|
||||||
>
|
>
|
||||||
<img src='/assets/防汛调度天气预报.jpg' style={{width:'26rem', height:'14.5rem',marginLeft:'8px',marginTop:'0.8rem'}}/>
|
<img src={process.env.PUBLIC_URL+'/assets/防汛调度天气预报.jpg'} style={{width:'26rem', height:'14.5rem',marginLeft:'8px',marginTop:'0.8rem'}}/>
|
||||||
</PanelBox>
|
</PanelBox>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -10,11 +10,11 @@ function DrpReal({ style }) {
|
||||||
color="green"
|
color="green"
|
||||||
extra={
|
extra={
|
||||||
<>
|
<>
|
||||||
<img src='/assets/年下拉3.jpg' style={{width:'100px', height:'30px',marginRight:'10px'}}/>
|
<img src={process.env.PUBLIC_URL+'/assets/年下拉3.jpg'} style={{width:'100px', height:'30px',marginRight:'10px'}}/>
|
||||||
</>
|
</>
|
||||||
}
|
}
|
||||||
>
|
>
|
||||||
<img src='/assets/供水监管.jpg' style={{width:'419.81px', height:'195px',marginLeft:'1px',marginTop:'10px'}}/>
|
<img src={process.env.PUBLIC_URL+'/assets/供水监管.jpg'} style={{width:'419.81px', height:'195px',marginLeft:'1px',marginTop:'10px'}}/>
|
||||||
</PanelBox>
|
</PanelBox>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -10,11 +10,11 @@ function DrpReal({ style }) {
|
||||||
color="green"
|
color="green"
|
||||||
extra={
|
extra={
|
||||||
<>
|
<>
|
||||||
<img src='/assets/镇切换.jpg' style={{width:'150px', height:'20px',marginRight:'5px'}}/>
|
<img src={process.env.PUBLIC_URL+'/assets/镇切换.jpg'} style={{width:'150px', height:'20px',marginRight:'5px'}}/>
|
||||||
</>
|
</>
|
||||||
}
|
}
|
||||||
>
|
>
|
||||||
<img src='/assets/取水监管.jpg' style={{width:'429.81px', height:'182px',marginLeft:'1px',marginTop:'10px'}}/>
|
<img src={process.env.PUBLIC_URL+'/assets/取水监管.jpg'} style={{width:'429.81px', height:'182px',marginLeft:'1px',marginTop:'10px'}}/>
|
||||||
</PanelBox>
|
</PanelBox>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -10,8 +10,8 @@ function DrpReal({ style }) {
|
||||||
color="green"
|
color="green"
|
||||||
extra={
|
extra={
|
||||||
<>
|
<>
|
||||||
<img src='/assets/镇下拉.jpg' style={{width:'100px', height:'30px',marginRight:'10px'}}/>
|
<img src={process.env.PUBLIC_URL+'/assets/镇下拉.jpg'} style={{width:'100px', height:'30px',marginRight:'10px'}}/>
|
||||||
<img src='/assets/水厂切换.jpg' style={{width:'165px', height:'20px',marginRight:'5px'}}/>
|
<img src={process.env.PUBLIC_URL+'/assets/水厂切换.jpg'} style={{width:'165px', height:'20px',marginRight:'5px'}}/>
|
||||||
</>
|
</>
|
||||||
}
|
}
|
||||||
>
|
>
|
||||||
|
|
|
||||||
|
|
@ -10,12 +10,12 @@ function DrpReal({ style }) {
|
||||||
color="green"
|
color="green"
|
||||||
extra={
|
extra={
|
||||||
<>
|
<>
|
||||||
<img src='/assets/镇下拉.jpg' style={{width:'100px', height:'30px',marginRight:'10px'}}/>
|
<img src={process.env.PUBLIC_URL+'/assets/镇下拉.jpg'} style={{width:'100px', height:'30px',marginRight:'10px'}}/>
|
||||||
<img src='/assets/水厂切换.jpg' style={{width:'165px', height:'20px',marginRight:'5px'}}/>
|
<img src={process.env.PUBLIC_URL+'/assets/水厂切换.jpg'} style={{width:'165px', height:'20px',marginRight:'5px'}}/>
|
||||||
</>
|
</>
|
||||||
}
|
}
|
||||||
>
|
>
|
||||||
<img src='/assets/设备故障统计.jpg' style={{width:'26rem', height:'14rem',marginLeft:'0.3rem',marginTop:'1rem'}}/>
|
<img src={process.env.PUBLIC_URL+'/assets/设备故障统计.jpg'} style={{width:'26rem', height:'14rem',marginLeft:'0.3rem',marginTop:'1rem'}}/>
|
||||||
</PanelBox>
|
</PanelBox>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -10,12 +10,12 @@ function DrpReal({ style }) {
|
||||||
color="green"
|
color="green"
|
||||||
extra={
|
extra={
|
||||||
<>
|
<>
|
||||||
<img src='/assets/镇下拉.jpg' style={{width:'100px', height:'30px',marginRight:'10px'}}/>
|
<img src={process.env.PUBLIC_URL+'/assets/镇下拉.jpg'} style={{width:'100px', height:'30px',marginRight:'10px'}}/>
|
||||||
<img src='/assets/水厂切换.jpg' style={{width:'165px', height:'20px',marginRight:'5px'}}/>
|
<img src={process.env.PUBLIC_URL+'/assets/水厂切换.jpg'} style={{width:'165px', height:'20px',marginRight:'5px'}}/>
|
||||||
</>
|
</>
|
||||||
}
|
}
|
||||||
>
|
>
|
||||||
<img src='/assets/设备数量统计.jpg' style={{width:'26rem', height:'14rem',marginLeft:'0.3rem',marginTop:'0.5rem'}}/>
|
<img src={process.env.PUBLIC_URL+'/assets/设备数量统计.jpg'} style={{width:'26rem', height:'14rem',marginLeft:'0.3rem',marginTop:'0.5rem'}}/>
|
||||||
</PanelBox>
|
</PanelBox>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,7 @@ function DrpReal({ style }) {
|
||||||
</>
|
</>
|
||||||
}
|
}
|
||||||
>
|
>
|
||||||
<img src='/assets/设备统计1.jpg' style={{width:'11.5rem', height:'16rem',marginLeft:'6.5rem',marginTop:'2rem'}}/>
|
<img src={process.env.PUBLIC_URL+'/assets/设备统计1.jpg'} style={{width:'11.5rem', height:'16rem',marginLeft:'6.5rem',marginTop:'2rem'}}/>
|
||||||
</PanelBox>
|
</PanelBox>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -10,12 +10,12 @@ function DrpReal({ style }) {
|
||||||
color="green"
|
color="green"
|
||||||
extra={
|
extra={
|
||||||
<>
|
<>
|
||||||
<img src='/assets/镇下拉.jpg' style={{width:'100px', height:'30px',marginRight:'10px'}}/>
|
<img src={process.env.PUBLIC_URL+'/assets/镇下拉.jpg'} style={{width:'100px', height:'30px',marginRight:'10px'}}/>
|
||||||
<img src='/assets/水厂切换.jpg' style={{width:'165px', height:'20px',marginRight:'5px'}}/>
|
<img src={process.env.PUBLIC_URL+'/assets/水厂切换.jpg'} style={{width:'165px', height:'20px',marginRight:'5px'}}/>
|
||||||
</>
|
</>
|
||||||
}
|
}
|
||||||
>
|
>
|
||||||
<img src='/assets/水厂监控.jpg' style={{width:'26rem', height:'12rem',marginLeft:'0.3rem',marginTop:'1rem'}}/>
|
<img src={process.env.PUBLIC_URL+'/assets/水厂监控.jpg'} style={{width:'26rem', height:'12rem',marginLeft:'0.3rem',marginTop:'1rem'}}/>
|
||||||
</PanelBox>
|
</PanelBox>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@ function DrpReal({ style }) {
|
||||||
color="green"
|
color="green"
|
||||||
extra={
|
extra={
|
||||||
<>
|
<>
|
||||||
<img src='/assets/年下拉3.jpg' style={{width:'100px', height:'30px',marginRight:'10px'}}/>
|
<img src={process.env.PUBLIC_URL+'/assets/年下拉3.jpg'} style={{width:'100px', height:'30px',marginRight:'10px'}}/>
|
||||||
</>
|
</>
|
||||||
}
|
}
|
||||||
>
|
>
|
||||||
|
|
|
||||||
|
|
@ -225,7 +225,7 @@ function DrpReal({ style }) {
|
||||||
</>
|
</>
|
||||||
}
|
}
|
||||||
>
|
>
|
||||||
<img src='/assets/jinshuigongshui.jpg' style={{width:'19.5rem', marginLeft:'3.5rem',marginTop:'0.5rem',marginBlock:'0.5rem'}}/>
|
<img src={process.env.PUBLIC_URL+'/assets/jinshuigongshui.jpg'} style={{width:'19.5rem', marginLeft:'3.5rem',marginTop:'0.5rem',marginBlock:'0.5rem'}}/>
|
||||||
<TableContainer style={{ height: '10rem' }}>
|
<TableContainer style={{ height: '10rem' }}>
|
||||||
<Table size="small" stickyHeader>
|
<Table size="small" stickyHeader>
|
||||||
<TableHead>
|
<TableHead>
|
||||||
|
|
|
||||||
|
|
@ -97,7 +97,7 @@ function DrpReal({ style }) {
|
||||||
'type': 'line',
|
'type': 'line',
|
||||||
'source': {
|
'source': {
|
||||||
'type': 'geojson',
|
'type': 'geojson',
|
||||||
'data': `${window.location.origin}/data3/line2.geojson`
|
'data': `${window.location.origin+process.env.PUBLIC_URL}/data3/line2.geojson`
|
||||||
},
|
},
|
||||||
'layout': {
|
'layout': {
|
||||||
'line-join': 'round'
|
'line-join': 'round'
|
||||||
|
|
|
||||||
|
|
@ -228,7 +228,7 @@ function HDReal({ style }) {
|
||||||
{
|
{
|
||||||
show?
|
show?
|
||||||
<div style={{position:'absolute',top:'-45px',left:'-380px', width:'364px', height:'220px',padding:'10px',background:'rgb(2, 12, 43)'}}>
|
<div style={{position:'absolute',top:'-45px',left:'-380px', width:'364px', height:'220px',padding:'10px',background:'rgb(2, 12, 43)'}}>
|
||||||
<img width={'100%'} height={'100%'} src='/assets/ce.png' />
|
<img width={'100%'} height={'100%'} src={process.env.PUBLIC_URL+'/assets/ce.png'} />
|
||||||
</div>
|
</div>
|
||||||
:null
|
:null
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@ function DrpReal({ style }) {
|
||||||
// </>
|
// </>
|
||||||
// }
|
// }
|
||||||
>
|
>
|
||||||
<img src='/assets/组 8.png' style={{width:'26rem',marginLeft:'8px',marginTop:'0.8rem'}}/>
|
<img src={process.env.PUBLIC_URL+'/assets/组 8.png'} style={{width:'26rem',marginLeft:'8px',marginTop:'0.8rem'}}/>
|
||||||
</PanelBox>
|
</PanelBox>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -10,12 +10,12 @@ function DrpReal({ style }) {
|
||||||
color="green"
|
color="green"
|
||||||
extra={
|
extra={
|
||||||
<>
|
<>
|
||||||
<img src='/assets/镇下拉.jpg' style={{width:'100px', height:'30px',marginRight:'10px'}}/>
|
<img src={process.env.PUBLIC_URL+'/assets/镇下拉.jpg'} style={{width:'100px', height:'30px',marginRight:'10px'}}/>
|
||||||
<img src='/assets/水厂切换.jpg' style={{width:'165px', height:'20px',marginRight:'5px'}}/>
|
<img src={process.env.PUBLIC_URL+'/assets/水厂切换.jpg'} style={{width:'165px', height:'20px',marginRight:'5px'}}/>
|
||||||
</>
|
</>
|
||||||
}
|
}
|
||||||
>
|
>
|
||||||
<img src='/assets/药耗分析.jpg' style={{width:'26rem', height:'17.5rem',marginLeft:'8px'}}/>
|
<img src={process.env.PUBLIC_URL+'/assets/药耗分析.jpg'} style={{width:'26rem', height:'17.5rem',marginLeft:'8px'}}/>
|
||||||
</PanelBox>
|
</PanelBox>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@ function DrpReal({ style }) {
|
||||||
// </>
|
// </>
|
||||||
// }
|
// }
|
||||||
>
|
>
|
||||||
<img src='/assets/组 4.png' style={{width:'23rem',marginLeft:'1.7rem',marginTop:'1rem'}}/>
|
<img src={process.env.PUBLIC_URL+'/assets/组 4.png'} style={{width:'23rem',marginLeft:'1.7rem',marginTop:'1rem'}}/>
|
||||||
</PanelBox>
|
</PanelBox>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,7 @@ function DrpReal({ style }) {
|
||||||
'type': 'line',
|
'type': 'line',
|
||||||
'source': {
|
'source': {
|
||||||
'type': 'geojson',
|
'type': 'geojson',
|
||||||
'data': `${window.location.origin}/data3/line1.geojson`
|
'data': `${window.location.origin+process.env.PUBLIC_URL}/data3/line1.geojson`
|
||||||
},
|
},
|
||||||
'layout': {
|
'layout': {
|
||||||
'line-join': 'round'
|
'line-join': 'round'
|
||||||
|
|
@ -83,7 +83,7 @@ function DrpReal({ style }) {
|
||||||
title="站点统计"
|
title="站点统计"
|
||||||
color="green"
|
color="green"
|
||||||
>
|
>
|
||||||
<img src='/assets/站点统计.jpg' style={{width:'27rem',marginLeft:'0rem',marginTop:'0rem'}} onClick={()=>{
|
<img src={process.env.PUBLIC_URL+'/assets/站点统计.jpg'} style={{width:'27rem',marginLeft:'0rem',marginTop:'0rem'}} onClick={()=>{
|
||||||
// setSkLayer1()
|
// setSkLayer1()
|
||||||
}}/>
|
}}/>
|
||||||
</PanelBox>
|
</PanelBox>
|
||||||
|
|
|
||||||
|
|
@ -76,7 +76,7 @@ function Login() {
|
||||||
<div className="logo-container">
|
<div className="logo-container">
|
||||||
<video
|
<video
|
||||||
style={{ objectFit: 'cover' }}
|
style={{ objectFit: 'cover' }}
|
||||||
src="/assets/logo.mp4"
|
src={process.env.PUBLIC_URL+"/assets/logo.mp4"}
|
||||||
objectfit="true"
|
objectfit="true"
|
||||||
autoPlay
|
autoPlay
|
||||||
muted
|
muted
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue