bug577
This commit is contained in:
parent
3acee93e23
commit
0bf0722e53
|
@ -21,12 +21,18 @@
|
||||||
<span class="label" v-if="props.dataList.type">
|
<span class="label" v-if="props.dataList.type">
|
||||||
{{ props.dataList.type }}
|
{{ props.dataList.type }}
|
||||||
</span>
|
</span>
|
||||||
|
<span class="label" v-if="componentType">
|
||||||
|
{{ componentType }}
|
||||||
|
</span>
|
||||||
<span class="label" v-if="props.dataList.shareType">
|
<span class="label" v-if="props.dataList.shareType">
|
||||||
{{ props.dataList.shareType }}
|
{{ props.dataList.shareType }}
|
||||||
</span>
|
</span>
|
||||||
<span class="label" v-if="props.dataList.shareCondition">
|
<span class="label" v-if="props.dataList.shareCondition">
|
||||||
{{ props.dataList.shareCondition }}
|
{{ props.dataList.shareCondition }}
|
||||||
</span>
|
</span>
|
||||||
|
<span class="label" v-if="deploymentLocation">
|
||||||
|
{{ deploymentLocation }}
|
||||||
|
</span>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<!-- <span class="label">免费</span> -->
|
<!-- <span class="label">免费</span> -->
|
||||||
|
@ -71,6 +77,7 @@
|
||||||
})
|
})
|
||||||
const router = useRouter()
|
const router = useRouter()
|
||||||
const applicationArea = ref('')
|
const applicationArea = ref('')
|
||||||
|
const deploymentLocation = ref('') //部署位置
|
||||||
//加入申购车
|
//加入申购车
|
||||||
const addShoppingCart = () => {
|
const addShoppingCart = () => {
|
||||||
console.log('加入申购车==================>', props.dataList)
|
console.log('加入申购车==================>', props.dataList)
|
||||||
|
@ -128,6 +135,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]
|
||||||
|
) {
|
||||||
|
deploymentLocation.value = props.dataList.infoList.filter(
|
||||||
|
(val) => val.attrType === '部署位置'
|
||||||
|
)[0].attrValue
|
||||||
|
}
|
||||||
if (obj) {
|
if (obj) {
|
||||||
componentType.value = obj.attrValue
|
componentType.value = obj.attrValue
|
||||||
}
|
}
|
||||||
|
@ -142,6 +156,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]
|
||||||
|
) {
|
||||||
|
deploymentLocation.value = props.dataList.infoList.filter(
|
||||||
|
(val) => val.attrType === '部署位置'
|
||||||
|
)[0].attrValue
|
||||||
|
}
|
||||||
if (obj) {
|
if (obj) {
|
||||||
componentType.value = obj.attrValue
|
componentType.value = obj.attrValue
|
||||||
}
|
}
|
||||||
|
@ -189,8 +212,8 @@
|
||||||
}
|
}
|
||||||
.lable-father {
|
.lable-father {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
min-width: 3.5rem;
|
min-width: 5.5rem;
|
||||||
right: -3.5rem;
|
right: -5.5rem;
|
||||||
top: 0;
|
top: 0;
|
||||||
}
|
}
|
||||||
.label {
|
.label {
|
||||||
|
|
|
@ -21,12 +21,18 @@
|
||||||
<span class="label" v-if="props.dataList.type">
|
<span class="label" v-if="props.dataList.type">
|
||||||
{{ props.dataList.type }}
|
{{ props.dataList.type }}
|
||||||
</span>
|
</span>
|
||||||
|
<span class="label" v-if="componentType">
|
||||||
|
{{ componentType }}
|
||||||
|
</span>
|
||||||
<span class="label" v-if="props.dataList.shareType">
|
<span class="label" v-if="props.dataList.shareType">
|
||||||
{{ props.dataList.shareType }}
|
{{ props.dataList.shareType }}
|
||||||
</span>
|
</span>
|
||||||
<span class="label" v-if="props.dataList.shareCondition">
|
<span class="label" v-if="props.dataList.shareCondition">
|
||||||
{{ props.dataList.shareCondition }}
|
{{ props.dataList.shareCondition }}
|
||||||
</span>
|
</span>
|
||||||
|
<span class="label" v-if="deploymentLocation">
|
||||||
|
{{ deploymentLocation }}
|
||||||
|
</span>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<!-- <span class="label">免费</span> -->
|
<!-- <span class="label">免费</span> -->
|
||||||
|
@ -75,6 +81,8 @@
|
||||||
})
|
})
|
||||||
const router = useRouter()
|
const router = useRouter()
|
||||||
const businessArea = ref('')
|
const businessArea = ref('')
|
||||||
|
const deploymentLocation = ref('') //部署位置
|
||||||
|
const componentType = ref('') //组件类型
|
||||||
// // 加入申购车
|
// // 加入申购车
|
||||||
const addShoppingCart = () => {
|
const addShoppingCart = () => {
|
||||||
console.log('加入申购车==================>', props.dataList)
|
console.log('加入申购车==================>', props.dataList)
|
||||||
|
@ -124,14 +132,17 @@
|
||||||
message.success('收藏成功')
|
message.success('收藏成功')
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
const componentType = ref('')
|
|
||||||
if (props.dataList.infoList) {
|
if (props.dataList.infoList) {
|
||||||
businessArea.value = props.dataList.infoList.filter(
|
businessArea.value = props.dataList.infoList.filter(
|
||||||
(val) => val.attrType === '应用领域'
|
(val) => val.attrType === '应用领域'
|
||||||
)[0].attrValue
|
)[0].attrValue
|
||||||
let obj = props.dataList.infoList.filter(
|
if (
|
||||||
(val) => val.attrType === '组件类型'
|
props.dataList.infoList.filter((val) => val.attrType === '部署位置')[0]
|
||||||
)[0]
|
) {
|
||||||
|
deploymentLocation.value = props.dataList.infoList.filter(
|
||||||
|
(val) => val.attrType === '部署位置'
|
||||||
|
)[0].attrValue
|
||||||
|
}
|
||||||
if (obj) {
|
if (obj) {
|
||||||
componentType.value = obj.attrValue
|
componentType.value = obj.attrValue
|
||||||
}
|
}
|
||||||
|
@ -146,6 +157,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]
|
||||||
|
) {
|
||||||
|
deploymentLocation.value = props.dataList.infoList.filter(
|
||||||
|
(val) => val.attrType === '部署位置'
|
||||||
|
)[0].attrValue
|
||||||
|
}
|
||||||
if (obj) {
|
if (obj) {
|
||||||
componentType.value = obj.attrValue
|
componentType.value = obj.attrValue
|
||||||
}
|
}
|
||||||
|
@ -197,8 +217,8 @@
|
||||||
|
|
||||||
.lable-father {
|
.lable-father {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
min-width: 3.5rem;
|
min-width: 5.5rem;
|
||||||
right: -3.5rem;
|
right: -5.5rem;
|
||||||
top: 0;
|
top: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -21,12 +21,18 @@
|
||||||
<span class="label" v-if="props.dataList.type">
|
<span class="label" v-if="props.dataList.type">
|
||||||
{{ props.dataList.type }}
|
{{ props.dataList.type }}
|
||||||
</span>
|
</span>
|
||||||
|
<span class="label" v-if="componentType">
|
||||||
|
{{ componentType }}
|
||||||
|
</span>
|
||||||
<span class="label" v-if="props.dataList.shareType">
|
<span class="label" v-if="props.dataList.shareType">
|
||||||
{{ props.dataList.shareType }}
|
{{ props.dataList.shareType }}
|
||||||
</span>
|
</span>
|
||||||
<span class="label" v-if="props.dataList.shareCondition">
|
<span class="label" v-if="props.dataList.shareCondition">
|
||||||
{{ props.dataList.shareCondition }}
|
{{ props.dataList.shareCondition }}
|
||||||
</span>
|
</span>
|
||||||
|
<span class="label" v-if="deploymentLocation">
|
||||||
|
{{ deploymentLocation }}
|
||||||
|
</span>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<!-- <span class="label">免费</span> -->
|
<!-- <span class="label">免费</span> -->
|
||||||
|
@ -71,6 +77,7 @@
|
||||||
})
|
})
|
||||||
const router = useRouter()
|
const router = useRouter()
|
||||||
const applicationArea = ref('')
|
const applicationArea = ref('')
|
||||||
|
const deploymentLocation = ref('') //部署位置
|
||||||
// 加入申购车
|
// 加入申购车
|
||||||
const addShoppingCart = () => {
|
const addShoppingCart = () => {
|
||||||
console.log('加入申购车==================>', props.dataList)
|
console.log('加入申购车==================>', props.dataList)
|
||||||
|
@ -128,6 +135,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]
|
||||||
|
) {
|
||||||
|
deploymentLocation.value = props.dataList.infoList.filter(
|
||||||
|
(val) => val.attrType === '部署位置'
|
||||||
|
)[0].attrValue
|
||||||
|
}
|
||||||
if (obj) {
|
if (obj) {
|
||||||
componentType.value = obj.attrValue
|
componentType.value = obj.attrValue
|
||||||
}
|
}
|
||||||
|
@ -142,6 +156,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]
|
||||||
|
) {
|
||||||
|
deploymentLocation.value = props.dataList.infoList.filter(
|
||||||
|
(val) => val.attrType === '部署位置'
|
||||||
|
)[0].attrValue
|
||||||
|
}
|
||||||
if (obj) {
|
if (obj) {
|
||||||
componentType.value = obj.attrValue
|
componentType.value = obj.attrValue
|
||||||
}
|
}
|
||||||
|
@ -188,8 +211,8 @@
|
||||||
}
|
}
|
||||||
.lable-father {
|
.lable-father {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
min-width: 3.5rem;
|
min-width: 5.5rem;
|
||||||
right: -3.5rem;
|
right: -5.5rem;
|
||||||
top: 0;
|
top: 0;
|
||||||
}
|
}
|
||||||
.label {
|
.label {
|
||||||
|
|
|
@ -21,12 +21,18 @@
|
||||||
<span class="label" v-if="props.dataList.type">
|
<span class="label" v-if="props.dataList.type">
|
||||||
{{ props.dataList.type }}
|
{{ props.dataList.type }}
|
||||||
</span>
|
</span>
|
||||||
|
<span class="label" v-if="componentType">
|
||||||
|
{{ componentType }}
|
||||||
|
</span>
|
||||||
<span class="label" v-if="props.dataList.shareType">
|
<span class="label" v-if="props.dataList.shareType">
|
||||||
{{ props.dataList.shareType }}
|
{{ props.dataList.shareType }}
|
||||||
</span>
|
</span>
|
||||||
<span class="label" v-if="props.dataList.shareCondition">
|
<span class="label" v-if="props.dataList.shareCondition">
|
||||||
{{ props.dataList.shareCondition }}
|
{{ props.dataList.shareCondition }}
|
||||||
</span>
|
</span>
|
||||||
|
<span class="label" v-if="deploymentLocation">
|
||||||
|
{{ deploymentLocation }}
|
||||||
|
</span>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<!-- <span class="label">免费</span> -->
|
<!-- <span class="label">免费</span> -->
|
||||||
|
@ -71,6 +77,7 @@
|
||||||
})
|
})
|
||||||
const router = useRouter()
|
const router = useRouter()
|
||||||
const businessArea = ref('')
|
const businessArea = ref('')
|
||||||
|
const deploymentLocation = ref('') //部署位置
|
||||||
// 加入申购车
|
// 加入申购车
|
||||||
const addShoppingCart = () => {
|
const addShoppingCart = () => {
|
||||||
console.log('加入申购车==================>', props.dataList)
|
console.log('加入申购车==================>', props.dataList)
|
||||||
|
@ -129,6 +136,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]
|
||||||
|
) {
|
||||||
|
deploymentLocation.value = props.dataList.infoList.filter(
|
||||||
|
(val) => val.attrType === '部署位置'
|
||||||
|
)[0].attrValue
|
||||||
|
}
|
||||||
if (obj) {
|
if (obj) {
|
||||||
componentType.value = obj.attrValue
|
componentType.value = obj.attrValue
|
||||||
}
|
}
|
||||||
|
@ -145,6 +159,15 @@
|
||||||
let obj = props.dataList.infoList.filter(
|
let obj = props.dataList.infoList.filter(
|
||||||
(item) => item.attrType === '组件类型'
|
(item) => item.attrType === '组件类型'
|
||||||
)[0]
|
)[0]
|
||||||
|
if (
|
||||||
|
props.dataList.infoList.filter(
|
||||||
|
(val) => val.attrType === '部署位置'
|
||||||
|
)[0]
|
||||||
|
) {
|
||||||
|
deploymentLocation.value = props.dataList.infoList.filter(
|
||||||
|
(val) => val.attrType === '部署位置'
|
||||||
|
)[0].attrValue
|
||||||
|
}
|
||||||
if (obj) {
|
if (obj) {
|
||||||
componentType.value = obj.attrValue
|
componentType.value = obj.attrValue
|
||||||
}
|
}
|
||||||
|
@ -191,8 +214,8 @@
|
||||||
}
|
}
|
||||||
.lable-father {
|
.lable-father {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
min-width: 3.5rem;
|
min-width: 5.5rem;
|
||||||
right: -3.5rem;
|
right: -5.5rem;
|
||||||
top: 0;
|
top: 0;
|
||||||
}
|
}
|
||||||
.label {
|
.label {
|
||||||
|
|
Loading…
Reference in New Issue