Commit 402c2847 by 李金轩

ljx

1 parent f6b11234
.vscode .vscode
.idea
\ No newline at end of file \ No newline at end of file
git status
git add *
git commit -m %1%
git pull
git push
git status
\ No newline at end of file \ No newline at end of file
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
<meta charset="UTF-8" /> <meta charset="UTF-8"/>
<!-- import CSS --> <!-- 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/common.css">
<link rel="stylesheet" href="./css/page.css"> <link rel="stylesheet" href="./css/page.css">
<script src="./js/browser.min.js"></script> <script src="./js/browser.min.js"></script>
...@@ -18,7 +18,8 @@ ...@@ -18,7 +18,8 @@
v-for="item in dateLevelList" v-for="item in dateLevelList"
:key="item.label" :key="item.label"
:label="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-button label="compare" v-if="locationHref">数据比对</el-radio-button>
</el-radio-group> </el-radio-group>
</div> </div>
...@@ -143,7 +144,8 @@ ...@@ -143,7 +144,8 @@
:indeterminate="isIndeterminateTraffic" :indeterminate="isIndeterminateTraffic"
v-model="checkAllTraffic" v-model="checkAllTraffic"
@change="handleCheckAllChangeTraffic" @change="handleCheckAllChangeTraffic"
>全选</el-checkbox >全选
</el-checkbox
> >
<el-checkbox-group <el-checkbox-group
v-model="checkedTraffic" v-model="checkedTraffic"
...@@ -153,7 +155,8 @@ ...@@ -153,7 +155,8 @@
v-for="item in checkTraffic" v-for="item in checkTraffic"
:label="item.value" :label="item.value"
:key="item.value" :key="item.value"
>{{item.name}}</el-checkbox >{{item.name}}
</el-checkbox
> >
</el-checkbox-group> </el-checkbox-group>
</div> </div>
...@@ -167,7 +170,8 @@ ...@@ -167,7 +170,8 @@
:indeterminate="isIndeterminateFace" :indeterminate="isIndeterminateFace"
v-model="checkAllFace" v-model="checkAllFace"
@change="handleCheckAllChangeFace" @change="handleCheckAllChangeFace"
>全选</el-checkbox >全选
</el-checkbox
> >
<el-checkbox-group <el-checkbox-group
style="padding-top:3px" style="padding-top:3px"
...@@ -178,7 +182,8 @@ ...@@ -178,7 +182,8 @@
v-for="item in checkFace" v-for="item in checkFace"
:label="item.value" :label="item.value"
:key="item.value" :key="item.value"
>{{item.name}}</el-checkbox >{{item.name}}
</el-checkbox
> >
</el-checkbox-group> </el-checkbox-group>
</div> </div>
...@@ -188,7 +193,8 @@ ...@@ -188,7 +193,8 @@
round round
@click="startData()" @click="startData()"
class="button-class" class="button-class"
>开始</el-button >开始
</el-button
> >
</div> </div>
<div></div> <div></div>
...@@ -220,10 +226,12 @@ ...@@ -220,10 +226,12 @@
<div class="level"> <div class="level">
<el-radio-group v-model="UrlType" size="small"> <el-radio-group v-model="UrlType" size="small">
<el-radio-button label="trafficRecognition" <el-radio-button label="trafficRecognition"
>客流数据</el-radio-button >客流数据
</el-radio-button
> >
<el-radio-button label="faceRecognitions" <el-radio-button label="faceRecognitions"
>人脸数据</el-radio-button >人脸数据
</el-radio-button
> >
</el-radio-group> </el-radio-group>
</div> </div>
...@@ -385,7 +393,8 @@ ...@@ -385,7 +393,8 @@
type="primary" type="primary"
:loading="butShow" :loading="butShow"
@click="getDateCount" @click="getDateCount"
>源数据条数查询</el-button >源数据条数查询
</el-button
> >
<span>数量:</span> <span>数量:</span>
<el-input <el-input
...@@ -405,7 +414,8 @@ ...@@ -405,7 +414,8 @@
type="primary" type="primary"
:loading="startShow" :loading="startShow"
@click="repairParams('face')" @click="repairParams('face')"
>开始修补</el-button >开始修补
</el-button
> >
</div> </div>
<div style="width: 100%;padding-top: 20px;"> <div style="width: 100%;padding-top: 20px;">
...@@ -580,13 +590,15 @@ ...@@ -580,13 +590,15 @@
</div> </div>
<div class="data-select" style="margin-top: 0.8%;"> <div class="data-select" style="margin-top: 0.8%;">
<el-button type="primary" @click="repairPreview" <el-button type="primary" @click="repairPreview"
>效果预览</el-button >效果预览
</el-button
> >
<el-button <el-button
type="primary" type="primary"
:loading="tafficShow" :loading="tafficShow"
@click="repairParams" @click="repairParams"
>开始修补</el-button >开始修补
</el-button
> >
</div> </div>
<div style="width: 100%;padding-top: 20px;"> <div style="width: 100%;padding-top: 20px;">
...@@ -725,7 +737,8 @@ ...@@ -725,7 +737,8 @@
</div> </div>
</div> </div>
<el-button type="primary" @click="compareParams" <el-button type="primary" @click="compareParams"
>开始比对</el-button >开始比对
</el-button
> >
</div> </div>
</div> </div>
...@@ -819,7 +832,7 @@ ...@@ -819,7 +832,7 @@
</el-select> </el-select>
</div> </div>
<div class="query-item"> <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 <el-date-picker
v-show="isSendDateParam" v-show="isSendDateParam"
v-model="query.dateVal" v-model="query.dateVal"
...@@ -832,7 +845,8 @@ ...@@ -832,7 +845,8 @@
type="primary" type="primary"
:class="isSendDateParam ? '' : 'query-button'" :class="isSendDateParam ? '' : 'query-button'"
@click="onSearchClick" @click="onSearchClick"
>开 始</el-button> >开 始
</el-button>
</div> </div>
</div> </div>
</div> </div>
...@@ -1040,10 +1054,13 @@ ...@@ -1040,10 +1054,13 @@
</div> </div>
</div> </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"> <!-- <div class="clear-select">
<el-button size="small" round @click="clearDiv()">清空Div</el-button> <el-button size="small" round @click="clearDiv()">清空Div</el-button>
</div> --> </div> -->
<div class="result-wrapper"> <div v-show="dateFormat !== 'snapGatherClass'" class="result-wrapper">
<div class="result-header">结果展示</div> <div class="result-header">结果展示</div>
<el-scrollbar ref="scrollbarRef" wrap-class="scrollbar-wrapper"> <el-scrollbar ref="scrollbarRef" wrap-class="scrollbar-wrapper">
<div id="showDiv" class="result-content" v-show="showDiv"> <div id="showDiv" class="result-content" v-show="showDiv">
......
window._serverHost = window.location.hostname === 'localhost' ? 'store.keliuyun.com:9998' : window.location.host
window._baseUrl = `http://${window._serverHost}`
window._CONF_ = { window._CONF_ = {
reportApiUrl: '', reportApiUrl: '',
apiUrl: '', apiUrl: window._baseUrl,
webSockUrl: '' webSockUrl: ''
} }
const log = console.log.bind(console)
...@@ -41,7 +41,7 @@ Axios.interceptors.response.use( ...@@ -41,7 +41,7 @@ Axios.interceptors.response.use(
function get(url, params = {}, config = {}) { function get(url, params = {}, config = {}) {
params['s'] = +new Date() params['s'] = +new Date()
return Axios.get(url, { ...config, params }) return Axios.get(url, {...config, params})
} }
function post(url, params, config = {}) { function post(url, params, config = {}) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!