Compare commits

...

2 Commits

Author SHA1 Message Date
851673013@qq.com fd32fd6769 Merge branch 'hi-ucs-dev' of http://15.2.21.221:3000/wuhongjian/hi-ucs into hi-ucs-dev 2022-07-18 18:17:53 +08:00
851673013@qq.com 46aef1c4df bug577 2022-07-18 18:17:48 +08:00
1 changed files with 20 additions and 0 deletions

View File

@ -33,6 +33,9 @@
<span class="label" v-if="deploymentLocation">
{{ deploymentLocation }}
</span>
<span class="label" v-if="classOfAlgorithm.attrValue">
{{ classOfAlgorithm.attrValue }}
</span>
</p>
</div>
<!-- <span class="label">免费</span> -->
@ -77,6 +80,7 @@
const props = defineProps({
dataList: { type: Object, default: null },
})
const classOfAlgorithm = ref('')
// console.log('==================>', props.dataList.isCollect)
const router = useRouter()
const applicationArea = ref('')
@ -164,6 +168,13 @@
let obj = props.dataList.infoList.filter(
(val) => val.attrType === '组件类型'
)[0]
if (
props.dataList.infoList.filter((val) => val.attrType === '算法类别')[0]
) {
classOfAlgorithm.value = props.dataList.infoList.filter(
(val) => val.attrType === '算法类别'
)[0]
}
if (
props.dataList.infoList.filter((val) => val.attrType === '部署位置')[0]
) {
@ -185,6 +196,15 @@
let obj = props.dataList.infoList.filter(
(val) => val.attrType === '组件类型'
)[0]
if (
props.dataList.infoList.filter(
(val) => val.attrType === '算法类别'
)[0]
) {
classOfAlgorithm.value = props.dataList.infoList.filter(
(val) => val.attrType === '算法类别'
)[0]
}
if (
props.dataList.infoList.filter(
(val) => val.attrType === '部署位置'