Merge branch 'hi-ucs-dev' of http://15.2.21.221:3000/wuhongjian/hi-ucs into hi-ucs-dev

This commit is contained in:
wuhongjian 2022-07-18 13:56:06 +08:00
commit 8f0fbc0551
2 changed files with 32 additions and 33 deletions

View File

@ -48,15 +48,12 @@
password2: '', password2: '',
}) })
if (props.dataList.infoList) { if (props.dataList.infoList) {
// let obj = props.dataList.infoList.filter( let obj = props.dataList.applyState
// (item) => item.attrType === '' && item.attrValue === '' if (obj !== '已申请') {
// )[0] flag.value = false
// if (obj) { } else {
// flag.value = false
// } else {
props.dataList.infoList.map((item) => { props.dataList.infoList.map((item) => {
if (item.attrType == '访问地址') { if (item.attrType == '访问地址') {
debugger
dataFrom.value.link = item.attrValue dataFrom.value.link = item.attrValue
} else if (item.attrType == '试用用户名') { } else if (item.attrType == '试用用户名') {
dataFrom.value.number = item.attrValue dataFrom.value.number = item.attrValue
@ -64,7 +61,7 @@
dataFrom.value.password2 = item.attrValue dataFrom.value.password2 = item.attrValue
} }
}) })
// } }
} }
const clickLink = (link) => { const clickLink = (link) => {
window.open(link) window.open(link)
@ -95,12 +92,10 @@
() => props.dataList, () => props.dataList,
(val) => { (val) => {
if (val) { if (val) {
// let obj = val.infoList.filter( let obj = props.dataList.applyState
// (item) => item.attrType === '' && item.attrValue === '' if (obj !== '已申请') {
// )[0] flag.value = false
// if (!obj) { } else {
// flag.value = false
// } else {
props.dataList.infoList.map((item) => { props.dataList.infoList.map((item) => {
if (item.attrType == '访问地址') { if (item.attrType == '访问地址') {
dataFrom.value.link = item.attrValue dataFrom.value.link = item.attrValue
@ -110,7 +105,7 @@
dataFrom.value.password2 = item.attrValue dataFrom.value.password2 = item.attrValue
} }
}) })
// } }
} }
} }
) )

View File

@ -100,6 +100,8 @@
list.value.push(item.attrType) list.value.push(item.attrType)
} else if (item.attrType === '应用展示视频') { } else if (item.attrType === '应用展示视频') {
list.value.push('应用展示') list.value.push('应用展示')
} else if (item.attrType === '访问地址') {
list.value.push('应用详情')
} }
}) })
list.value.unshift('关联组件') list.value.unshift('关联组件')
@ -141,6 +143,8 @@
list.value.push(item.attrType) list.value.push(item.attrType)
} else if (item.attrType === '应用展示视频') { } else if (item.attrType === '应用展示视频') {
list.value.push('应用展示') list.value.push('应用展示')
} else if (item.attrType === '访问地址') {
list.value.push('应用详情')
} }
}) })
list.value.unshift('关联组件') list.value.unshift('关联组件')