|
@@ -8,7 +8,7 @@ const Scada = () => {
|
|
|
|
|
|
const handleClick = (id) => {
|
|
const handleClick = (id) => {
|
|
let domain = location.host.includes('work.greentech.com.cn')
|
|
let domain = location.host.includes('work.greentech.com.cn')
|
|
- ? 'https://120.55.44.4:8900/'
|
|
|
|
|
|
+ ? 'http://120.55.44.4:8900/'
|
|
: 'http://47.96.12.136:8788/';
|
|
: 'http://47.96.12.136:8788/';
|
|
const url = `${domain}smart-water/scada/index.html#/page/3d/${id}?JWT-TOKEN=${token}`;
|
|
const url = `${domain}smart-water/scada/index.html#/page/3d/${id}?JWT-TOKEN=${token}`;
|
|
window.open(url);
|
|
window.open(url);
|