|
|
@ -80,14 +80,14 @@
|
|
|
|
<el-button type="primary" @click.native.stop="handleSetSchedule()"
|
|
|
|
<el-button type="primary" @click.native.stop="handleSetSchedule()"
|
|
|
|
>时间表设置</el-button
|
|
|
|
>时间表设置</el-button
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<el-button type="primary" @click="handleShowPic"
|
|
|
|
<el-button type="primary" v-debounce="handleShowPic"
|
|
|
|
>手动拍照</el-button
|
|
|
|
>手动拍照</el-button
|
|
|
|
>
|
|
|
|
>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- <el-button type="primary" @click="handleShowPic"
|
|
|
|
<!-- <el-button type="primary" @click="handleShowPic"
|
|
|
|
>手动拍视频</el-button
|
|
|
|
>手动拍视频</el-button
|
|
|
|
> -->
|
|
|
|
> -->
|
|
|
|
<el-button type="primary" @click="handleShowGPS"
|
|
|
|
<el-button type="primary" v-debounce="handleShowGPS"
|
|
|
|
>获取GPS位置</el-button
|
|
|
|
>获取GPS位置</el-button
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<el-button type="primary" @click="handleShowInfo">
|
|
|
|
<el-button type="primary" @click="handleShowInfo">
|
|
|
@ -106,7 +106,7 @@
|
|
|
|
<el-dropdown-item command="close">关闭GPS</el-dropdown-item>
|
|
|
|
<el-dropdown-item command="close">关闭GPS</el-dropdown-item>
|
|
|
|
</el-dropdown-menu>
|
|
|
|
</el-dropdown-menu>
|
|
|
|
</el-dropdown>
|
|
|
|
</el-dropdown>
|
|
|
|
<el-button type="primary" @click="handleShowErr"
|
|
|
|
<el-button type="primary" v-debounce="handleShowErr"
|
|
|
|
>声光报警</el-button
|
|
|
|
>声光报警</el-button
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<!-- <el-button type="primary" @click="handlehistoryPic"
|
|
|
|
<!-- <el-button type="primary" @click="handlehistoryPic"
|
|
|
@ -418,6 +418,7 @@ export default {
|
|
|
|
this.newPicData = res.data;
|
|
|
|
this.newPicData = res.data;
|
|
|
|
console.log(this.newPicData);
|
|
|
|
console.log(this.newPicData);
|
|
|
|
console.log(this.newTermId);
|
|
|
|
console.log(this.newTermId);
|
|
|
|
|
|
|
|
|
|
|
|
this.timer = window.setInterval(() => {
|
|
|
|
this.timer = window.setInterval(() => {
|
|
|
|
this.newPicApi();
|
|
|
|
this.newPicApi();
|
|
|
|
this.i++;
|
|
|
|
this.i++;
|
|
|
@ -448,6 +449,7 @@ export default {
|
|
|
|
console.log("返回最新图片");
|
|
|
|
console.log("返回最新图片");
|
|
|
|
this.i = 0;
|
|
|
|
this.i = 0;
|
|
|
|
} else if (res.data == false && this.i > 10) {
|
|
|
|
} else if (res.data == false && this.i > 10) {
|
|
|
|
|
|
|
|
this.i = 0;
|
|
|
|
clearInterval(this.timer);
|
|
|
|
clearInterval(this.timer);
|
|
|
|
this.timer = null;
|
|
|
|
this.timer = null;
|
|
|
|
this.$message({
|
|
|
|
this.$message({
|
|
|
|