Bonus-AI-LargeScreen/src/views/updateIDCard/updateIDCard.vue

106 lines
3.1 KiB
Vue
Raw Normal View History

2024-07-26 18:26:40 +08:00
<template>
<div class="main">
<largeScreenHeader></largeScreenHeader>
<div class="mainContent">
<div class="boxLevelOne sideBoxLevelOne">
<div class="boxLevelTwo boxLevelTwoFst">
<boxHeader :boxHeaderText="'识别结果统计'"></boxHeader>
<pieIDResultCount></pieIDResultCount>
</div>
<div class="boxLevelTwo">
<boxHeader :boxHeaderText="'识别结果展示'"></boxHeader>
2024-07-29 17:49:56 +08:00
<listIDResultShow></listIDResultShow>
2024-07-26 18:26:40 +08:00
</div>
</div>
<div class="boxLevelOne midBoxLevelOne">
<boxHeader :boxHeaderText="'OCR识别应用'"></boxHeader>
2024-07-29 17:49:56 +08:00
<checkChangeUrl :thisUrlPage="'1'"></checkChangeUrl>
<midPic></midPic>
<IDrecognition></IDrecognition>
2024-07-26 18:26:40 +08:00
</div>
<div class="boxLevelOne sideBoxLevelOne">
<div class="boxLevelTwo boxLevelTwoFst">
<boxHeader :boxHeaderText="'识别结果统计'"></boxHeader>
<rectangleIDInvokeCount></rectangleIDInvokeCount>
</div>
<div class="boxLevelTwo boxLevelTwoSnd">
<boxHeader :boxHeaderText="'服务响应监控'"></boxHeader>
2024-07-29 17:49:56 +08:00
<listSevericeResWatch></listSevericeResWatch>
2024-07-26 18:26:40 +08:00
</div>
</div>
</div>
</div>
</template>
<script>
2024-07-29 17:49:56 +08:00
2024-07-26 18:26:40 +08:00
import largeScreenHeader from '@/components/LargeScreen'
import boxHeader from '@/views/components/boxHeader.vue'
2024-07-29 17:49:56 +08:00
import IDrecognition from '@/views/components/IDrecognition.vue'
import checkChangeUrl from '@/views/components/checkChangeUrl.vue'
2024-07-26 18:26:40 +08:00
import pieIDResultCount from '@/views/updateIDCard/pieIDResultCount.vue'
import RectangleIDInvokeCount from '@/views/updateIDCard/rectangleIDInvokeCount.vue'
2024-07-29 17:49:56 +08:00
import listIDResultShow from '@/views/updateIDCard/listIDResultShow.vue'
import listSevericeResWatch from '@/views/updateIDCard/listSevericeResWatch.vue'
import midPic from '@/views/updateIDCard/midPic.vue'
2024-07-26 18:26:40 +08:00
export default {
components: {
RectangleIDInvokeCount,
boxHeader,
largeScreenHeader,
pieIDResultCount,
2024-07-29 17:49:56 +08:00
IDrecognition,
listIDResultShow,
listSevericeResWatch,
checkChangeUrl,
midPic
2024-07-26 18:26:40 +08:00
},
props: {
value: [String, Object, Array],
// 图片数量限制
limit: {
type: Number,
default: 1,
},
// 大小限制(MB)
fileSize: {
type: Number,
default: 5,
},
// 文件类型, 例如['png', 'jpg', 'jpeg']
fileType: {
type: Array,
default: () => ["png", "jpg", "jpeg"],
},
// 是否显示提示
isShowTip: {
type: Boolean,
default: true,
},
showSize: {
type: Boolean,
default: true,
},
},
computed: {
// 是否显示提示
showTip() {
return this.isShowTip && (this.fileType || this.fileSize);
},
},
data() {
2024-07-29 17:49:56 +08:00
return {
2024-07-26 18:26:40 +08:00
dataList: [],
2024-07-29 17:49:56 +08:00
2024-07-26 18:26:40 +08:00
}
},
}
</script>
<style scoped>
@import url('./../../assets/styles/updateIDCard.css');
</style>