测试问题修改
This commit is contained in:
parent
fe90286fd8
commit
ae0a8d27a5
|
|
@ -905,13 +905,13 @@
|
||||||
handleExport() {
|
handleExport() {
|
||||||
if(this.ids.length == 0){
|
if(this.ids.length == 0){
|
||||||
exportDevice(this.queryParams).then(res => {
|
exportDevice(this.queryParams).then(res => {
|
||||||
downloadFile({ fileName: `设备_${new Date().getTime()}.xlsx`, fileData: res, fileType: 'application/vnd.ms-excel;charset=utf-8' })
|
downloadFile({ fileName: `设备_${new Date().getTime()}.xlsx`, fileData: res, fileType: 'application/vnd.ms-excel;charset=utf-8' })
|
||||||
})
|
})
|
||||||
}else{
|
}else{
|
||||||
const ids = this.ids.join(',')
|
const ids = this.ids.join(',')
|
||||||
exportDeviceSome({ids:ids}).then(res => {
|
exportDeviceSome({ids:ids}).then(res => {
|
||||||
downloadFile({ fileName: `设备_${new Date().getTime()}.xlsx`, fileData: res, fileType: 'application/vnd.ms-excel;charset=utf-8' })
|
downloadFile({ fileName: `设备_${new Date().getTime()}.xlsx`, fileData: res, fileType: 'application/vnd.ms-excel;charset=utf-8' })
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
//打开设备页面
|
//打开设备页面
|
||||||
|
|
|
||||||
|
|
@ -387,8 +387,8 @@
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
|
|
||||||
<!-- 图片查看弹窗 -->
|
<!-- 图片查看弹窗 -->
|
||||||
<el-dialog :visible.sync="dialogVisible">
|
<el-dialog :visible.sync="dialogVisible" width="500px" height="500px">
|
||||||
<img width="100%" height="650px" :src="dialogImageUrl" />
|
<img width="100%" height="500px" :src="dialogImageUrl" />
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue