Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
holo-web
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xinkong
holo-web
Commits
acda59ca
Commit
acda59ca
authored
Apr 21, 2025
by
ninglx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
效率评价查询时间配置 readme更新 注释暂不涉及模块的打包构建
parent
45fc82de
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
48 additions
and
41 deletions
+48
-41
README.md
README.md
+10
-9
system.js
build-tools/system.js
+24
-24
build.js
build-tools/tool/build.js
+1
-1
index.vue
wj-manage-web/src/views/efficiency/index.vue
+12
-6
index.vue
wj-manage-web/src/views/organization/index.vue
+1
-1
No files found.
README.md
View file @
acda59ca
# holo-web
# holo-web
## `node` 版本为 `16.20.0`
### 项目目录介绍
### 项目目录介绍
1.
`build-tools`
1.
`build-tools`
*
打包构建工具,负责整合
`cdn`
&&
`login`
&&
`wj-manage-web`
模块
*
打包构建工具,负责整合
`cdn`
&&
`login`
&&
`wj-manage-web`
模块
*
在此目录下执行
`npm build
-dist`
即可打包所有模块
*
在此目录下执行
`npm build
`
即可打包所有模块到
`build-tools`
的
`dist`
目录下
2.
`cdn`
2.
`cdn`
*
`js/css/img/font`
项目部分引用静态资源目录模块
*
`js/css/img/font`
项目部分引用静态资源目录模块
3.
`login`
3.
`login`
*
项目登录模块
*
项目登录模块
4.
`wj-manage-web`
4.
`wj-manage-web`
*
全息
模块
*
辅助决策系统
模块
5.
`wj-smartcity`
5.
`wj-smartcity
& wj-data-vision & wj-data-vision-new & wj-developer
`
*
微观大数据模块
*
其他模块 暂不需要关注
### 启动步骤
### 启动步骤
1.
`node`
版本为
`16.20.0`
1.
在每个模块目录下打开一个终端,并对每个模块执行
`npm i`
2.
在每个模块目录下打开一个终端,并对每个模块执行
`npm i`
2.
在
`build-tools`
目录下执行
`npm run build`
并执行
`npm start`
以提供
`cdn`
静态资源依赖
3.
在
`build-tools`
目录下执行
`npm run build-dist`
并执行
`npm start`
以提供
`cdn`
静态资源依赖
3.
访问其他模块前,需要先启动
`login`
模块,账号密码为
`dev/123456`
4.
访问其他模块前,需要先启动
`login`
模块,账号密码为
`dev/123456`
4.
打开其他模块地址进行开发调试
5.
打开其他模块地址进行开发调试
\ No newline at end of file
build-tools/system.js
View file @
acda59ca
...
@@ -16,29 +16,29 @@ module.exports = {
...
@@ -16,29 +16,29 @@ module.exports = {
static
:
'
./dist/wj-manage-web
'
,
static
:
'
./dist/wj-manage-web
'
,
resource
:
'
../wj-manage-web
'
,
resource
:
'
../wj-manage-web
'
,
},
},
'
wj-data-vision
'
:
{
//
'wj-data-vision': {
port
:
'
9200
'
,
//
port: '9200',
path
:
'
/wj-data-vision
'
,
//
path: '/wj-data-vision',
static
:
'
./dist/wj-data-vision
'
,
//
static: './dist/wj-data-vision',
resource
:
'
../wj-data-vision
'
,
//
resource: '../wj-data-vision',
},
//
},
'
wj-data-vision-new
'
:
{
//
'wj-data-vision-new': {
port
:
'
9300
'
,
//
port: '9300',
path
:
'
/wj-data-vision-new
'
,
//
path: '/wj-data-vision-new',
static
:
'
./dist/wj-data-vision-new
'
,
//
static: './dist/wj-data-vision-new',
resource
:
'
../wj-data-vision-new
'
,
//
resource: '../wj-data-vision-new',
},
//
},
'
wj-developer
'
:
{
//
'wj-developer': {
port
:
'
9400
'
,
//
port: '9400',
path
:
'
/wj-developer
'
,
//
path: '/wj-developer',
static
:
'
./dist/wj-developer
'
,
//
static: './dist/wj-developer',
resource
:
'
../wj-developer
'
,
//
resource: '../wj-developer',
},
//
},
'
wj-smartcity
'
:
{
//
'wj-smartcity': {
port
:
'
9500
'
,
//
port: '9500',
path
:
'
/wj-smartcity
'
,
//
path: '/wj-smartcity',
static
:
'
./dist/wj-smartcity
'
,
//
static: './dist/wj-smartcity',
resource
:
'
../wj-smartcity
'
,
//
resource: '../wj-smartcity',
},
//
},
}
}
build-tools/tool/build.js
View file @
acda59ca
...
@@ -8,7 +8,7 @@ let system = process.argv.splice(2);
...
@@ -8,7 +8,7 @@ let system = process.argv.splice(2);
async
function
build
(
key
)
{
async
function
build
(
key
)
{
return
new
Promise
((
resolve
,
reject
)
=>
{
return
new
Promise
((
resolve
,
reject
)
=>
{
const
command
=
`cd ../
${
key
}
&& npm run build`
;
const
command
=
`cd ../
${
key
}
&& npm
i && npm
run build`
;
console
.
log
(
chalk
.
yellow
(
`开始构建子系统
${
key
}
,执行:
${
command
}
`
));
console
.
log
(
chalk
.
yellow
(
`开始构建子系统
${
key
}
,执行:
${
command
}
`
));
shell
.
exec
(
shell
.
exec
(
command
,
command
,
...
...
wj-manage-web/src/views/efficiency/index.vue
View file @
acda59ca
...
@@ -876,9 +876,6 @@ export default {
...
@@ -876,9 +876,6 @@ export default {
startTime
:
this
.
tableCurrentData
.
windowStartTime
,
startTime
:
this
.
tableCurrentData
.
windowStartTime
,
endTime
:
this
.
tableCurrentData
.
windowEndTime
,
endTime
:
this
.
tableCurrentData
.
windowEndTime
,
crossId
:
this
.
currentCrossId
,
crossId
:
this
.
currentCrossId
,
// startTime: "2023-05-21 18:00:25",
// endTime: "2023-05-21 18:00:30",
// crossId: "12F6S08J8T0",
};
};
this
.
pathApiName
=
"
vehicleTrack
"
;
this
.
pathApiName
=
"
vehicleTrack
"
;
this
.
$nextTick
(()
=>
{
this
.
$nextTick
(()
=>
{
...
@@ -887,17 +884,26 @@ export default {
...
@@ -887,17 +884,26 @@ export default {
}
}
if
(
!
this
.
chart_vehicle
)
{
if
(
!
this
.
chart_vehicle
)
{
this
.
tab3Loading
=
true
;
this
.
tab3Loading
=
true
;
_periodCrossingData
({
// if(time_config.efficiency_tab3_time?.length){
// this.pathParam.startTime = time_config.efficiency_tab3_time[0]
// this.pathParam.startTime = time_config.efficiency_tab3_time[0]
// }
let
params
=
{
crossId
:
this
.
currentCrossId
,
crossId
:
this
.
currentCrossId
,
granularity
:
this
.
timeInterval
,
granularity
:
this
.
timeInterval
,
end
:
this
.
tableCurrentData
.
windowEndTime
,
end
:
this
.
tableCurrentData
.
windowEndTime
,
start
:
this
.
tableCurrentData
.
windowStartTime
,
start
:
this
.
tableCurrentData
.
windowStartTime
,
}).
then
(
res
=>
{
}
if
(
time_config
.
efficiency_tab3_time
?.
length
){
params
.
start
=
time_config
.
efficiency_tab3_time
[
0
]
params
.
end
=
time_config
.
efficiency_tab3_time
[
1
]
}
_periodCrossingData
(
params
).
then
(
res
=>
{
this
.
tab3Loading
=
false
;
this
.
tab3Loading
=
false
;
console
.
log
(
'
机动车效率
'
,
res
.
content
)
console
.
log
(
'
机动车效率
'
,
res
.
content
)
let
toShow
=
[
let
toShow
=
[
{
type
:
'
saturation
'
,
label
:
'
路口饱和度
'
},
{
type
:
'
flow
'
,
label
:
'
机动车流量
'
},
{
type
:
'
flow
'
,
label
:
'
机动车流量
'
},
{
type
:
'
saturation
'
,
label
:
'
路口饱和度
'
},
{
type
:
'
delayTime
'
,
label
:
'
平均延误
'
},
{
type
:
'
delayTime
'
,
label
:
'
平均延误
'
},
{
type
:
'
stopTimes
'
,
label
:
'
平均停车次数
'
},
{
type
:
'
stopTimes
'
,
label
:
'
平均停车次数
'
},
{
type
:
'
crossNoClearRate
'
,
label
:
'
未清空率
'
},
{
type
:
'
crossNoClearRate
'
,
label
:
'
未清空率
'
},
...
...
wj-manage-web/src/views/organization/index.vue
View file @
acda59ca
...
@@ -366,7 +366,7 @@ export default {
...
@@ -366,7 +366,7 @@ export default {
},
},
// 获取单方向的流量
// 获取单方向的流量
async
getSingleDirFlow
(
param
)
{
async
getSingleDirFlow
(
param
)
{
return
await
inletWayTimeBetw
(
param
);
return
inletWayTimeBetw
(
param
);
},
},
// polygon 点击事件
// polygon 点击事件
async
crossPolygonClick
(
e
)
{
async
crossPolygonClick
(
e
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment