|
|
@ -95,7 +95,7 @@ |
|
|
|
</el-dropdown-item> |
|
|
|
</el-dropdown-item> |
|
|
|
<el-dropdown-item command="showLog" icon="el-icon-view" v-hasPermi="['web:camera:remove']">查看日志 |
|
|
|
<el-dropdown-item command="showLog" icon="el-icon-view" v-hasPermi="['web:camera:remove']">查看日志 |
|
|
|
</el-dropdown-item> |
|
|
|
</el-dropdown-item> |
|
|
|
<el-dropdown-item command="showDate" icon="el-icon-view" v-hasPermi="['web:camera:remove']">查看时间 |
|
|
|
<el-dropdown-item command="showDate" icon="el-icon-view" v-hasPermi="['web:camera:remove']">补光时间 |
|
|
|
</el-dropdown-item> |
|
|
|
</el-dropdown-item> |
|
|
|
<el-dropdown-item command="reboot" icon="el-icon-refresh" v-hasPermi="['web:camera:remove']">重启 |
|
|
|
<el-dropdown-item command="reboot" icon="el-icon-refresh" v-hasPermi="['web:camera:remove']">重启 |
|
|
|
</el-dropdown-item> |
|
|
|
</el-dropdown-item> |
|
|
@ -276,7 +276,6 @@ |
|
|
|
size="small" |
|
|
|
size="small" |
|
|
|
align="center" |
|
|
|
align="center" |
|
|
|
style="width: 150px" |
|
|
|
style="width: 150px" |
|
|
|
arrow-control |
|
|
|
|
|
|
|
v-model="updateDate.queryForm.endTime1" |
|
|
|
v-model="updateDate.queryForm.endTime1" |
|
|
|
:picker-options="{ |
|
|
|
:picker-options="{ |
|
|
|
selectableRange: '00:00:00 - 23:59:59' |
|
|
|
selectableRange: '00:00:00 - 23:59:59' |
|
|
@ -299,7 +298,6 @@ |
|
|
|
size="small" |
|
|
|
size="small" |
|
|
|
align="center" |
|
|
|
align="center" |
|
|
|
style="width: 150px" |
|
|
|
style="width: 150px" |
|
|
|
arrow-control |
|
|
|
|
|
|
|
v-model="updateDate.queryForm.endTime2" |
|
|
|
v-model="updateDate.queryForm.endTime2" |
|
|
|
:picker-options="{ |
|
|
|
:picker-options="{ |
|
|
|
selectableRange: '00:00:00 - 23:59:59' |
|
|
|
selectableRange: '00:00:00 - 23:59:59' |
|
|
@ -667,7 +665,7 @@ export default { |
|
|
|
//发送自动重启配置表单 |
|
|
|
//发送自动重启配置表单 |
|
|
|
async restartcfgConfirm() { |
|
|
|
async restartcfgConfirm() { |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
this.restartcfg.form.bEnable = this.restartcfg.run ? 1 : 0; |
|
|
|
this.restartcfg.form.bEnable = this.restartcfg.run ? 1 : 0; |
|
|
|
this.restartcfg.form.uHour = this.restartcfg.form.uHour.substring(0, 2) |
|
|
|
this.restartcfg.form.uHour = this.restartcfg.form.uHour.substring(0, 2) |
|
|
|
let res = await this.$axiosPost('/web/camera/setautocfg', this.restartcfg.form); |
|
|
|
let res = await this.$axiosPost('/web/camera/setautocfg', this.restartcfg.form); |
|
|
@ -678,6 +676,11 @@ export default { |
|
|
|
}, |
|
|
|
}, |
|
|
|
// 显示时间 |
|
|
|
// 显示时间 |
|
|
|
showDate(row){ |
|
|
|
showDate(row){ |
|
|
|
|
|
|
|
const status = row.status; |
|
|
|
|
|
|
|
if (status != 1) { |
|
|
|
|
|
|
|
this.$modal.msg("设备未在线"); |
|
|
|
|
|
|
|
return; |
|
|
|
|
|
|
|
} |
|
|
|
// 重置表单 |
|
|
|
// 重置表单 |
|
|
|
this.updateDateReset() |
|
|
|
this.updateDateReset() |
|
|
|
this.updateDate.queryForm.id = row.id; |
|
|
|
this.updateDate.queryForm.id = row.id; |
|
|
|