|
|
|
@ -1,5 +1,6 @@
|
|
|
|
|
package com.fr.design.data.tabledata.datacenter; |
|
|
|
|
|
|
|
|
|
import com.fanruan.workplace.http.ServiceType; |
|
|
|
|
import com.fr.datacenters.tabledata.DCTableData; |
|
|
|
|
import com.fr.datacenters.tabledata.bean.DCNameBean; |
|
|
|
|
import com.fr.datacenters.tabledata.bean.DCTableDataBean; |
|
|
|
@ -80,7 +81,8 @@ public class DatacentersPane extends AbstractTableDataPane<DCTableData> {
|
|
|
|
|
private static String getDatacentersUrl() { |
|
|
|
|
if (!WorkContext.getCurrent().isLocal()) { |
|
|
|
|
String path = WorkContext.getCurrent().getPath(); |
|
|
|
|
return path.endsWith("/") ? path + "bi" : path + "/bi"; |
|
|
|
|
String datacenterPath = ServiceType.DATACENTER.createPath(StringUtils.EMPTY); |
|
|
|
|
return path.endsWith("/") ? path + datacenterPath : path + "/" + datacenterPath; |
|
|
|
|
} |
|
|
|
|
return StringUtils.EMPTY; |
|
|
|
|
} |
|
|
|
|