|
@ -4,7 +4,9 @@ |
|
|
<div class="top_info"> |
|
|
<div class="top_info"> |
|
|
<p class="title">{{ imageStore.nuclearCoreName }}</p> |
|
|
<p class="title">{{ imageStore.nuclearCoreName }}</p> |
|
|
<div class="title_left"> |
|
|
<div class="title_left"> |
|
|
<p class="sign">{{ imageStore?.coreInfo?.serialNumber }}</p> |
|
|
|
|
|
|
|
|
<p class="sign"> |
|
|
|
|
|
{{ handleSerialNumber(imageStore?.coreInfo?.serialNumber) }} |
|
|
|
|
|
</p> |
|
|
<div class="tag_wrap"> |
|
|
<div class="tag_wrap"> |
|
|
<p>{{ imageStore?.coreInfo?.firstSign?.substr(-4) }}</p> |
|
|
<p>{{ imageStore?.coreInfo?.firstSign?.substr(-4) }}</p> |
|
|
<p>{{ imageStore?.coreInfo?.secondSign?.substr(-4) }}</p> |
|
|
<p>{{ imageStore?.coreInfo?.secondSign?.substr(-4) }}</p> |
|
@ -89,10 +91,21 @@ |
|
|
|
|
|
|
|
|
<script setup> |
|
|
<script setup> |
|
|
import { onMounted } from 'vue' |
|
|
import { onMounted } from 'vue' |
|
|
|
|
|
import { transNumberToEn } from '@/utils/common' |
|
|
import { useTaskStore, useImageStore } from '@/store' |
|
|
import { useTaskStore, useImageStore } from '@/store' |
|
|
const taskStore = useTaskStore() |
|
|
const taskStore = useTaskStore() |
|
|
const imageStore = useImageStore() |
|
|
const imageStore = useImageStore() |
|
|
|
|
|
|
|
|
|
|
|
const handleSerialNumber = serialNumber => { |
|
|
|
|
|
if (serialNumber) { |
|
|
|
|
|
const arr = serialNumber.split('-') |
|
|
|
|
|
if (arr && arr.length == 2) { |
|
|
|
|
|
return `${transNumberToEn(arr[0])} - ${arr[1]}` |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
return '' |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
const getIdentifyClass = () => { |
|
|
const getIdentifyClass = () => { |
|
|
const res = imageStore?.coreInfo?.result |
|
|
const res = imageStore?.coreInfo?.result |
|
|
if (res == 1) { |
|
|
if (res == 1) { |
|
|