NEZ-2271 feat:license 支持QR code 导出界面开发

This commit is contained in:
zhangyu
2022-10-20 13:42:25 +08:00
parent ee8786f99f
commit 02653c5552
5 changed files with 76 additions and 20 deletions

View File

@@ -21,13 +21,9 @@ export default {
end: this.$stringTimeParseToUnix(bus.formateTimeToTime(this.searchTime[1])),
vars: vars
}
const loading = Loading.service({
lock: true,
customClass: 'export-pdf-mask',
background: 'rgba(0,0,0,.2)'
})
this.$store.dispatch('dispatchHomeLoading', true)
this.$get('/visual/panel/snapshot', params, 'blob').then(res => {
loading.close()
this.$store.dispatch('dispatchHomeLoading', false)
const self = this
let fileName = name
const resFileName = ''