提交 d5a5ea28 authored 作者: coderBryanFu's avatar coderBryanFu

feat:更新数据资源库

......@@ -20,7 +20,13 @@ build_pre:
script:
- node -v
- npm -v
- npm ci --cache "$CI_PROJECT_DIR/.npm" --prefer-offline --no-audit --no-fund
- echo "cache dir sizes:"
- du -sh "$CI_PROJECT_DIR/.npm" "$CI_PROJECT_DIR/.npm/_cacache" 2>/dev/null || true
- echo "=== npm ci start ==="
- date -Iseconds
- npm ci --cache "$CI_PROJECT_DIR/.npm" --no-audit --no-fund --loglevel=verbose --timing --foreground-scripts
- echo "=== npm ci end ==="
- date -Iseconds
- npm run build
artifacts:
paths:
......@@ -81,5 +87,11 @@ build_check:
script:
- node -v
- npm -v
- npm ci --cache "$CI_PROJECT_DIR/.npm" --prefer-offline --no-audit --no-fund
- echo "cache dir sizes:"
- du -sh "$CI_PROJECT_DIR/.npm" "$CI_PROJECT_DIR/.npm/_cacache" 2>/dev/null || true
- echo "=== npm ci start ==="
- date -Iseconds
- npm ci --cache "$CI_PROJECT_DIR/.npm" --no-audit --no-fund --loglevel=verbose --timing --foreground-scripts
- echo "=== npm ci end ==="
- date -Iseconds
- npm run build
\ No newline at end of file
......@@ -66,7 +66,7 @@ const setChart = (option, chartId, allowClick, selectParam) => {
if (params.seriesName === '通过法案') {
selectParam.selectedStatus = 1
} else {
selectParam.selectedStatus = null
selectParam.selectedStatus = 0
}
const route = router.resolve({
......
......@@ -826,7 +826,8 @@ const handleBox5 = async () => {
})[0]?.name
const selectParam = {
moduleType: '国会法案',
domains: domain
domains: domain,
isInvolveCn: true
}
setChart(box5Chart, "box5Chart", true, selectParam);
}
......@@ -878,6 +879,7 @@ const handleBox7Data = async () => {
moduleType: '国会法案',
key: '议院委员会',
selectedDate: box7selectetedTime.value,
isInvolveCn: true
}
const box7Chart = getDoublePieChart(data1, data2);
......@@ -1007,7 +1009,7 @@ const handleBox9Data = async () => {
key: '领域',
selectedDate: box9selectetedTime.value,
selectedStatus: box9LegislativeStatus.value === '提出法案' ? 0 : 1,
isInvolveCn: 1
isInvolveCn: true
}
box9ChartInstance = setChart(box9Chart, "box9Chart", true, selectParam);
}
......@@ -1189,7 +1191,7 @@ const handleBox8Data = async () => {
moduleType: '国会法案',
key: '所处阶段',
selectedDate: box8selectetedTime.value,
isInvolveCn: 1
isInvolveCn: true
}
await nextTick();
......
......@@ -1418,4 +1418,21 @@ onMounted(async () => {
text-decoration: underline;
}
}
</style>
\ No newline at end of file
:deep(.el-table__header-wrapper) {
// background-color: #f5f7fa;
height: 48px;
}
:deep(.el-table__header th) {
// background-color: #f5f7fa;
color: var(--text-primary-50-color);
font-weight: bold;
}
/* 针对特定列 */
// :deep(.el-table__header th:first-child) {
// background-color: #e6f7ff;
// color: #1890ff;
// }</style>
\ No newline at end of file
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论