dataSource

Raod 3 years ago
parent 45455afcc9
commit 00b2e9ca48

@ -13,6 +13,7 @@ npm install >/dev/null 2>&1
npm run build:prod >/dev/null 2>&1 npm run build:prod >/dev/null 2>&1
echo "publish web to springboot src/main/resources/static" echo "publish web to springboot src/main/resources/static"
rm -rf $BuildDir/report-core/src/main/resources/static
mkdir -p $BuildDir/report-core/src/main/resources/static mkdir -p $BuildDir/report-core/src/main/resources/static
mv $BuildDir/report-ui/dist/* $BuildDir/report-core/src/main/resources/static/ mv $BuildDir/report-ui/dist/* $BuildDir/report-core/src/main/resources/static/

@ -38,4 +38,4 @@ IF "%JAVA_HOME%" == "" (
set JAVA_OPTS= -server -Xms1g -Xmx2g -Xmn256m -XX:PermSize=128m -Xss256k set JAVA_OPTS= -server -Xms1g -Xmx2g -Xmn256m -XX:PermSize=128m -Xss256k
rem 正式启动 rem 正式启动
%JAVA_HOME%\bin\java %JAVA_OPTS% -Xbootclasspath/a:%LIB_JARS% -jar -Dspring.config.location=%CONF_YML% %BIN_DIR%\lib\%BOOT_JAR% "%JAVA_HOME%"\bin\java %JAVA_OPTS% -Xbootclasspath/a:%LIB_JARS% -jar -Dspring.config.location=%CONF_YML% %BIN_DIR%\lib\%BOOT_JAR%

@ -129,7 +129,8 @@ export default {
sourceDesc: '', sourceDesc: '',
sourceConfig: '', sourceConfig: '',
} }
this.getSystem() const { code } = await this.getSystem();
if (code != '200') return
//dataSourceId //dataSourceId
if (this.dataSource.id) { if (this.dataSource.id) {
const {code, data} = await reportDataSourceDetail(this.dataSource) const {code, data} = await reportDataSourceDetail(this.dataSource)

Loading…
Cancel
Save