算法 平台地址 添加申请前后 的显示和隐藏
This commit is contained in:
parent
c824e53a50
commit
21e1bb5898
|
@ -41,10 +41,14 @@
|
||||||
<div class="content-left-content">
|
<div class="content-left-content">
|
||||||
<p>
|
<p>
|
||||||
<span>{{ item.linkPlatform.name }}</span>
|
<span>{{ item.linkPlatform.name }}</span>
|
||||||
<a-tooltip>
|
<a-tooltip v-if="approveStatus == '通过'">
|
||||||
<template #title>{{ item.linkPlatform.value }}</template>
|
<template #title>{{ item.linkPlatform.value }}</template>
|
||||||
<span>{{ item.linkPlatform.value }}</span>
|
<span>{{ item.linkPlatform.value }}</span>
|
||||||
</a-tooltip>
|
</a-tooltip>
|
||||||
|
<a-tooltip v-else>
|
||||||
|
<template #title>请申请后查看平台地址</template>
|
||||||
|
<span>****************</span>
|
||||||
|
</a-tooltip>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -129,6 +133,7 @@
|
||||||
import { pinyin } from 'pinyin-pro'
|
import { pinyin } from 'pinyin-pro'
|
||||||
import { ref, defineProps, watch } from 'vue'
|
import { ref, defineProps, watch } from 'vue'
|
||||||
import { message } from 'ant-design-vue'
|
import { message } from 'ant-design-vue'
|
||||||
|
const approveStatus = ref('')
|
||||||
let dataFrom = ref({
|
let dataFrom = ref({
|
||||||
title: '使用方式',
|
title: '使用方式',
|
||||||
englishTitle: 'USAGE',
|
englishTitle: 'USAGE',
|
||||||
|
@ -183,6 +188,7 @@
|
||||||
dataFrom.value.content[0].people.value = props.dataList.deptContacts
|
dataFrom.value.content[0].people.value = props.dataList.deptContacts
|
||||||
dataFrom.value.content[0].phone.value = props.dataList.deptPhone
|
dataFrom.value.content[0].phone.value = props.dataList.deptPhone
|
||||||
dataFrom.value.content[0].postMethod.value = props.dataList.apiMethodType
|
dataFrom.value.content[0].postMethod.value = props.dataList.apiMethodType
|
||||||
|
approveStatus.value = props.dataList.approveStatus
|
||||||
console.log('dataList', props.dataList)
|
console.log('dataList', props.dataList)
|
||||||
props.dataList.infoList.map((item) => {
|
props.dataList.infoList.map((item) => {
|
||||||
if (item.attrType === '组件地址') {
|
if (item.attrType === '组件地址') {
|
||||||
|
|
Loading…
Reference in New Issue