算法 平台地址 添加申请前后 的显示和隐藏

This commit is contained in:
a0049873 2022-08-22 16:52:42 +08:00
parent c824e53a50
commit 21e1bb5898
1 changed files with 7 additions and 1 deletions

View File

@ -41,10 +41,14 @@
<div class="content-left-content">
<p>
<span>{{ item.linkPlatform.name }}</span>
<a-tooltip>
<a-tooltip v-if="approveStatus == '通过'">
<template #title>{{ item.linkPlatform.value }}</template>
<span>{{ item.linkPlatform.value }}</span>
</a-tooltip>
<a-tooltip v-else>
<template #title>请申请后查看平台地址</template>
<span>****************</span>
</a-tooltip>
</p>
</div>
</div>
@ -129,6 +133,7 @@
import { pinyin } from 'pinyin-pro'
import { ref, defineProps, watch } from 'vue'
import { message } from 'ant-design-vue'
const approveStatus = ref('')
let dataFrom = ref({
title: '使用方式',
englishTitle: 'USAGE',
@ -183,6 +188,7 @@
dataFrom.value.content[0].people.value = props.dataList.deptContacts
dataFrom.value.content[0].phone.value = props.dataList.deptPhone
dataFrom.value.content[0].postMethod.value = props.dataList.apiMethodType
approveStatus.value = props.dataList.approveStatus
console.log('dataList', props.dataList)
props.dataList.infoList.map((item) => {
if (item.attrType === '组件地址') {