You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

39 lines
1.3 KiB

package com.fr.plugin.bi.fusion.web;
import com.finebi.foundation.api.web.component.AssembleComponentFactory;
import com.fr.decision.fun.impl.AbstractWebResourceProvider;
import com.fr.decision.webservice.v10.user.UserService;
import com.fr.plugin.transform.FunctionRecorder;
import com.fr.web.struct.Atom;
import com.fr.web.struct.Component;
import com.fr.web.struct.browser.RequestClient;
import com.fr.web.struct.category.ParserType;
import com.fr.web.struct.category.ScriptPath;
import com.fr.web.struct.category.StylePath;
/**
* @Author ezreal
* @Date 2023/5/8 11:17
* @Version 10.0
*/
@FunctionRecorder
public class DecisionWebBridge extends AbstractWebResourceProvider {
@Override
public Atom attach() {
return AssembleComponentFactory.getBusinessConfigureComponent();
}
@Override
public Atom client() {
return new Component() {
@Override
public ScriptPath script(RequestClient req) {
return ScriptPath.build("com/fr/plugin/bi/web/js/decision.index.js", ParserType.DYNAMIC);
}
@Override
public StylePath style(RequestClient req) {
return StylePath.build("com/fr/plugin/bi/web/css/iconfont.css",ParserType.DYNAMIC);
}
};
}
}