修改云南测试用例

This commit is contained in:
guanj
2025-07-31 15:55:33 +08:00
parent ba1cee110a
commit 8d613f7a57
11 changed files with 77 additions and 69 deletions

View File

@@ -74,10 +74,10 @@
</el-form-item>
</template>
<template v-slot:operation>
<el-button :icon='Download' type='primary' @click='download'>下载波形</el-button>
<el-button :icon="Download" type="primary" @click="download">下载波形</el-button>
</template>
</TableHeader>
<Table ref="tableRef" :checkboxConfig='checkboxConfig'/>
<Table ref="tableRef" :checkboxConfig="checkboxConfig" />
</div>
<div :style="{ height: pageHeight.height }" style="padding: 10px; overflow: hidden" v-if="!view">
<waveForm ref="waveFormRef" senior :boxoList="boxoList" :wp="wp" @backbxlb="backbxlb" />
@@ -114,7 +114,7 @@ const tableStore = new TableStore({
url: '/event-boot/transient/getTransientValue',
method: 'POST',
column: [
{ width: '60', type: 'checkbox' },
{ width: '60', type: 'checkbox' },
{
field: 'index',
title: '序号',
@@ -268,7 +268,7 @@ const download = () => {
ElMessage.warning('暂无可下载的波形文件!')
return
}
ElMessage.success('下载中。。。!')
ElMessage.info('下载中......')
let blob = new Blob([res], { type: 'application/zip' }) // console.log(blob) // var href = window.URL.createObjectURL(blob); //创建下载的链接
const url = window.URL.createObjectURL(blob)
const link = document.createElement('a') // 创建a标签