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"> <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 === '部署位置'