Compare commits
2 Commits
0a8cc6257d
...
fd32fd6769
Author | SHA1 | Date |
---|---|---|
851673013@qq.com | fd32fd6769 | |
851673013@qq.com | 46aef1c4df |
|
@ -33,6 +33,9 @@
|
||||||
<span class="label" v-if="deploymentLocation">
|
<span class="label" v-if="deploymentLocation">
|
||||||
{{ deploymentLocation }}
|
{{ deploymentLocation }}
|
||||||
</span>
|
</span>
|
||||||
|
<span class="label" v-if="classOfAlgorithm.attrValue">
|
||||||
|
{{ classOfAlgorithm.attrValue }}
|
||||||
|
</span>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<!-- <span class="label">免费</span> -->
|
<!-- <span class="label">免费</span> -->
|
||||||
|
@ -77,6 +80,7 @@
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
dataList: { type: Object, default: null },
|
dataList: { type: Object, default: null },
|
||||||
})
|
})
|
||||||
|
const classOfAlgorithm = ref('')
|
||||||
// console.log('==================>', props.dataList.isCollect)
|
// console.log('==================>', props.dataList.isCollect)
|
||||||
const router = useRouter()
|
const router = useRouter()
|
||||||
const applicationArea = ref('')
|
const applicationArea = ref('')
|
||||||
|
@ -164,6 +168,13 @@
|
||||||
let obj = props.dataList.infoList.filter(
|
let obj = props.dataList.infoList.filter(
|
||||||
(val) => val.attrType === '组件类型'
|
(val) => val.attrType === '组件类型'
|
||||||
)[0]
|
)[0]
|
||||||
|
if (
|
||||||
|
props.dataList.infoList.filter((val) => val.attrType === '算法类别')[0]
|
||||||
|
) {
|
||||||
|
classOfAlgorithm.value = props.dataList.infoList.filter(
|
||||||
|
(val) => val.attrType === '算法类别'
|
||||||
|
)[0]
|
||||||
|
}
|
||||||
if (
|
if (
|
||||||
props.dataList.infoList.filter((val) => val.attrType === '部署位置')[0]
|
props.dataList.infoList.filter((val) => val.attrType === '部署位置')[0]
|
||||||
) {
|
) {
|
||||||
|
@ -185,6 +196,15 @@
|
||||||
let obj = props.dataList.infoList.filter(
|
let obj = props.dataList.infoList.filter(
|
||||||
(val) => val.attrType === '组件类型'
|
(val) => val.attrType === '组件类型'
|
||||||
)[0]
|
)[0]
|
||||||
|
if (
|
||||||
|
props.dataList.infoList.filter(
|
||||||
|
(val) => val.attrType === '算法类别'
|
||||||
|
)[0]
|
||||||
|
) {
|
||||||
|
classOfAlgorithm.value = props.dataList.infoList.filter(
|
||||||
|
(val) => val.attrType === '算法类别'
|
||||||
|
)[0]
|
||||||
|
}
|
||||||
if (
|
if (
|
||||||
props.dataList.infoList.filter(
|
props.dataList.infoList.filter(
|
||||||
(val) => val.attrType === '部署位置'
|
(val) => val.attrType === '部署位置'
|
||||||
|
|
Loading…
Reference in New Issue