Commit 6da24588 authored by xinzhedeai's avatar xinzhedeai

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

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