Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation
This project
Loading...
Sign in
罗鑫霖
/
vion-tools
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 402c2847
authored
Dec 23, 2021
by
李金轩
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
ljx
1 parent
f6b11234
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
48 additions
and
20 deletions
.gitignore
push.bat
static/index.html
static/js/api.js
static/js/common.js
static/js/home.js
static/js/request.js
.gitignore
View file @
402c284
.vscode
.idea
\ No newline at end of file
push.bat
0 → 100644
View file @
402c284
git status
git add *
git commit -m %1%
git pull
git push
git status
\ No newline at end of file
static/index.html
View file @
402c284
<!DOCTYPE html>
<html>
<head>
<meta
charset=
"UTF-8"
/>
<meta
charset=
"UTF-8"
/>
<!-- import CSS -->
<link
rel=
"stylesheet"
href=
"./css/index.css"
/>
<link
rel=
"stylesheet"
href=
"./css/index.css"
/>
<link
rel=
"stylesheet"
href=
"./css/common.css"
>
<link
rel=
"stylesheet"
href=
"./css/page.css"
>
<script
src=
"./js/browser.min.js"
></script>
...
...
@@ -18,7 +18,8 @@
v-for=
"item in dateLevelList"
:key=
"item.label"
:label=
"item.label"
>
{{ item.name }}
</el-radio-button>
>
{{ item.name }}
</el-radio-button>
<el-radio-button
label=
"compare"
v-if=
"locationHref"
>
数据比对
</el-radio-button>
</el-radio-group>
</div>
...
...
@@ -143,7 +144,8 @@
:indeterminate=
"isIndeterminateTraffic"
v-model=
"checkAllTraffic"
@
change=
"handleCheckAllChangeTraffic"
>
全选
</el-checkbox
>
全选
</el-checkbox
>
<el-checkbox-group
v-model=
"checkedTraffic"
...
...
@@ -153,7 +155,8 @@
v-for=
"item in checkTraffic"
:label=
"item.value"
:key=
"item.value"
>
{{item.name}}
</el-checkbox
>
{{item.name}}
</el-checkbox
>
</el-checkbox-group>
</div>
...
...
@@ -167,7 +170,8 @@
:indeterminate=
"isIndeterminateFace"
v-model=
"checkAllFace"
@
change=
"handleCheckAllChangeFace"
>
全选
</el-checkbox
>
全选
</el-checkbox
>
<el-checkbox-group
style=
"padding-top:3px"
...
...
@@ -178,7 +182,8 @@
v-for=
"item in checkFace"
:label=
"item.value"
:key=
"item.value"
>
{{item.name}}
</el-checkbox
>
{{item.name}}
</el-checkbox
>
</el-checkbox-group>
</div>
...
...
@@ -188,7 +193,8 @@
round
@
click=
"startData()"
class=
"button-class"
>
开始
</el-button
>
开始
</el-button
>
</div>
<div></div>
...
...
@@ -220,10 +226,12 @@
<div
class=
"level"
>
<el-radio-group
v-model=
"UrlType"
size=
"small"
>
<el-radio-button
label=
"trafficRecognition"
>
客流数据
</el-radio-button
>
客流数据
</el-radio-button
>
<el-radio-button
label=
"faceRecognitions"
>
人脸数据
</el-radio-button
>
人脸数据
</el-radio-button
>
</el-radio-group>
</div>
...
...
@@ -385,7 +393,8 @@
type=
"primary"
:loading=
"butShow"
@
click=
"getDateCount"
>
源数据条数查询
</el-button
>
源数据条数查询
</el-button
>
<span>
数量:
</span>
<el-input
...
...
@@ -405,7 +414,8 @@
type=
"primary"
:loading=
"startShow"
@
click=
"repairParams('face')"
>
开始修补
</el-button
>
开始修补
</el-button
>
</div>
<div
style=
"width: 100%;padding-top: 20px;"
>
...
...
@@ -580,13 +590,15 @@
</div>
<div
class=
"data-select"
style=
"margin-top: 0.8%;"
>
<el-button
type=
"primary"
@
click=
"repairPreview"
>
效果预览
</el-button
>
效果预览
</el-button
>
<el-button
type=
"primary"
:loading=
"tafficShow"
@
click=
"repairParams"
>
开始修补
</el-button
>
开始修补
</el-button
>
</div>
<div
style=
"width: 100%;padding-top: 20px;"
>
...
...
@@ -725,7 +737,8 @@
</div>
</div>
<el-button
type=
"primary"
@
click=
"compareParams"
>
开始比对
</el-button
>
开始比对
</el-button
>
</div>
</div>
...
...
@@ -819,7 +832,7 @@
</el-select>
</div>
<div
class=
"query-item"
>
<span
v-show=
"isSendDateParam"
class=
"query-item__title"
>
日期 :
</span>
<span
v-show=
"isSendDateParam"
class=
"query-item__title"
>
日期 :
</span>
<el-date-picker
v-show=
"isSendDateParam"
v-model=
"query.dateVal"
...
...
@@ -832,7 +845,8 @@
type=
"primary"
:class=
"isSendDateParam ? '' : 'query-button'"
@
click=
"onSearchClick"
>
开 始
</el-button>
>
开 始
</el-button>
</div>
</div>
</div>
...
...
@@ -1040,10 +1054,13 @@
</div>
</div>
</div>
<div
v-show=
"dateFormat === 'snapGatherClass'"
>
12123321 12123321 12123321 12123321 12123321 12123321 12123321 12123321 12123321 12123321 12123321 12123321 12123321 12123321 12123321 12123321 12123321 12123321 12123321 12123321 12123321 12123321 12123321 12123321 12123321 12123321 12123321 12123321 12123321 12123321 12123321 12123321 12123321 12123321 12123321 12123321 12123321 12123321 12123321 12123321 12123321 12123321 12123321 12123321 12123321 12123321 12123321 12123321 12123321 12123321 12123321
</div>
<!-- <div class="clear-select">
<el-button size="small" round @click="clearDiv()">清空Div</el-button>
</div> -->
<div
class=
"result-wrapper"
>
<div
v-show=
"dateFormat !== 'snapGatherClass'"
class=
"result-wrapper"
>
<div
class=
"result-header"
>
结果展示
</div>
<el-scrollbar
ref=
"scrollbarRef"
wrap-class=
"scrollbar-wrapper"
>
<div
id=
"showDiv"
class=
"result-content"
v-show=
"showDiv"
>
...
...
static/js/api.js
View file @
402c284
static/js/common.js
View file @
402c284
window
.
_serverHost
=
window
.
location
.
hostname
===
'localhost'
?
'store.keliuyun.com:9998'
:
window
.
location
.
host
window
.
_baseUrl
=
`http://
${
window
.
_serverHost
}
`
window
.
_CONF_
=
{
reportApiUrl
:
''
,
apiUrl
:
''
,
apiUrl
:
window
.
_baseUrl
,
webSockUrl
:
''
}
const
log
=
console
.
log
.
bind
(
console
)
static/js/home.js
View file @
402c284
This diff is collapsed.
Click to expand it.
static/js/request.js
View file @
402c284
...
...
@@ -41,7 +41,7 @@ Axios.interceptors.response.use(
function
get
(
url
,
params
=
{},
config
=
{})
{
params
[
's'
]
=
+
new
Date
()
return
Axios
.
get
(
url
,
{
...
config
,
params
})
return
Axios
.
get
(
url
,
{...
config
,
params
})
}
function
post
(
url
,
params
,
config
=
{})
{
...
...
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