Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
data_report
/
daw
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 009ed313
authored
Jun 26, 2026
by
江名洋
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
feat(ui): 默认加载问界生态系数分析页面
1 parent
48736544
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
app/static/js/app.js
app/templates/index.html
app/static/js/app.js
View file @
009ed31
...
@@ -284,7 +284,7 @@ document.addEventListener('DOMContentLoaded', () => {
...
@@ -284,7 +284,7 @@ document.addEventListener('DOMContentLoaded', () => {
function showAnalysisPage() {
function showAnalysisPage() {
hideAllSections();
hideAllSections();
document.getElementById('data-analysis-section').style.display = 'block';
document.getElementById('data-analysis-section').style.display = 'block';
contentTitle.textContent = '
模板
分析';
contentTitle.textContent = '
问界生态系数
分析';
const fmt = d => `
$
{
d
.
getFullYear
()}
-
$
{
String
(
d
.
getMonth
()
+
1
).
padStart
(
2
,
'0'
)}
-
$
{
String
(
d
.
getDate
()).
padStart
(
2
,
'0'
)}
`;
const fmt = d => `
$
{
d
.
getFullYear
()}
-
$
{
String
(
d
.
getMonth
()
+
1
).
padStart
(
2
,
'0'
)}
-
$
{
String
(
d
.
getDate
()).
padStart
(
2
,
'0'
)}
`;
const now = new Date();
const now = new Date();
...
@@ -420,7 +420,7 @@ document.addEventListener('DOMContentLoaded', () => {
...
@@ -420,7 +420,7 @@ document.addEventListener('DOMContentLoaded', () => {
}
}
// ====================================================================
// ====================================================================
// 默认加载:
ODS 同步任务
页面
// 默认加载:
模板分析
页面
// ====================================================================
// ====================================================================
loadOdsSync
Page
();
showAnalysis
Page
();
});
});
app/templates/index.html
View file @
009ed31
...
@@ -16,9 +16,9 @@
...
@@ -16,9 +16,9 @@
<header>
<header>
<div
class=
"logo"
>
问界运营分析平台
</div>
<div
class=
"logo"
>
问界运营分析平台
</div>
<nav
class=
"nav-links"
>
<nav
class=
"nav-links"
>
<div
class=
"nav-item
active
"
data-section=
"ods"
>
ODS 同步任务
</div>
<div
class=
"nav-item"
data-section=
"ods"
>
ODS 同步任务
</div>
<div
class=
"nav-item"
data-section=
"dw"
>
DWS/DWM/DWA 任务
</div>
<div
class=
"nav-item"
data-section=
"dw"
>
DWS/DWM/DWA 任务
</div>
<div
class=
"nav-item
"
data-section=
"analysis-modal"
>
模板
分析
</div>
<div
class=
"nav-item
active"
data-section=
"analysis-modal"
>
问界生态系数
分析
</div>
</nav>
</nav>
<div
class=
"user-info"
>
管理员
</div>
<div
class=
"user-info"
>
管理员
</div>
</header>
</header>
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment