Commit 6da24588 authored by xinzhedeai's avatar xinzhedeai

fix: 摄像头导入模板、算法表单项隐藏

parent 0a2ee537
......@@ -627,7 +627,7 @@ function downloadFile() {
nextTick(() => {
const link = document.createElement('a');
link.href = '/v1/export/download';
link.download = '文件名.xlsx';
link.download = '摄像头导入模板.xlsx';
document.body.appendChild(link);
link.click();
document.body.removeChild(link);
......
......@@ -1791,7 +1791,7 @@ onMounted(() => {
<span
style="margin-left: 30px; color: rgba(148,154,157,0.69);font-size: 13px;line-height: 19px;">启用后,我们将自动为每个视频片段抓取事件发生前后的视频片段;注意,该功能不能代替完整监控回放</span>
</NFormItem>
<NFormItem required label="最小间隔" :style="{
<!-- <NFormItem required label="最小间隔" :style="{
'--n-feedback-height': '0px'
}">
<NInput size="small" v-model:value="modifyForm.timeInterval" style="width: 150px" placeholder="最小间隔时间">
......@@ -1803,25 +1803,21 @@ onMounted(() => {
<NFormItem required label="录制时长" :style="{
'--n-feedback-height': '0px'
}">
<!-- ==================================== 滑动块 | S -->
<div class="left-slider">
<NSlider size="small" v-model:value="slider1" :tooltip="false" @update:value="(val) => {
slider3 = 100 - val;
}" />
</div>
<!-- logo -->
<NButton quaternary style="margin: 0px 10px">
<template #icon>
<icon-ic:outline-video-camera-front class="text-icon" />
</template>
</NButton>
<!-- <NSlider /> -->
<div style="width: 100px">
<!-- ==================================== 滑动块 | S -->
<NSlider size="small" v-model:value="slider2" :tooltip="false" />
</div>
{{ `- ${slider3} 秒 ~ ${slider2} 秒` }}
</NFormItem>
</NFormItem> -->
</NForm>
</div>
</NCard>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment