|
|
@ -43,17 +43,13 @@ const emit = defineEmits(['errorClick']) |
|
|
|
const btnClick = () => { |
|
|
|
emit('errorClick', props.type) |
|
|
|
} |
|
|
|
const openClick = ()=>{ |
|
|
|
const url = 'http://172.21.32.31:8080/bi/Viwwer?proc=1&action=viewer&hback=true&db=!6210!!90fd!!6d77!!62c9!!62a5!!8868!!2f!!5236!!54c1!!5b50!!4ef6!!62a5!!5e9f!!8bb0!!5f55!.db&platform=PC&browserType=chrome&dbTabVisible=false&dbTabIndex=1&au_act=login&adminv=CC_WMS&passv=123' |
|
|
|
window.open(url) |
|
|
|
} |
|
|
|
</script> |
|
|
|
|
|
|
|
<template> |
|
|
|
<div class="flex justify-center"> |
|
|
|
<div class="text-center"> |
|
|
|
<img :src="errorMap[type].url" alt="" width="350" /> |
|
|
|
<div class="text-14px text-[var(--el-color-info)]" @click="openClick">{{ errorMap[type].message }}</div> |
|
|
|
<div class="text-14px text-[var(--el-color-info)]">{{ errorMap[type].message }}</div> |
|
|
|
<div class="mt-20px"> |
|
|
|
<ElButton type="primary" @click="btnClick">{{ errorMap[type].buttonText }}</ElButton> |
|
|
|
</div> |
|
|
|