详情页、审批bug修改
This commit is contained in:
parent
2663665321
commit
d898bbec7e
|
@ -94,7 +94,7 @@
|
|||
placeholder="共享类型"
|
||||
></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="共享方式">
|
||||
<el-form-item label="共享方式" v-if="coverageNotShow">
|
||||
<el-input
|
||||
v-model="dataForm.shareMode"
|
||||
:disabled="fieldDisabled"
|
||||
|
@ -108,14 +108,14 @@
|
|||
placeholder="共享方条件"
|
||||
></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="服务接口">
|
||||
<el-form-item label="服务接口" v-if="coverageNotShow">
|
||||
<el-input
|
||||
v-model="dataForm.apiUrl"
|
||||
:disabled="fieldDisabled"
|
||||
placeholder="服务接口"
|
||||
></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="接口请求方式">
|
||||
<el-form-item label="接口请求方式" v-if="coverageNotShow">
|
||||
<el-input
|
||||
v-model="dataForm.applyCount"
|
||||
:disabled="fieldDisabled"
|
||||
|
@ -179,7 +179,8 @@ export default {
|
|||
fieldDisabled: false,
|
||||
dataForm: [],
|
||||
id: '',
|
||||
shifoushizujian: true
|
||||
shifoushizujian: true,
|
||||
coverageNotShow: true
|
||||
}
|
||||
},
|
||||
watch: {},
|
||||
|
@ -208,6 +209,12 @@ export default {
|
|||
}
|
||||
this.dataForm = res.data.resourceDTO
|
||||
if (this.dataForm.type != '应用资源') {
|
||||
this.dataForm.infoList.forEach((val) => {
|
||||
if (val.attrValue === '图层服务') {
|
||||
this.coverageNotShow = false
|
||||
console.log(this.coverageNotShow, 'wowowo')
|
||||
}
|
||||
})
|
||||
this.shifoushizujian = false
|
||||
} else {
|
||||
this.shifoushizujian = true
|
||||
|
|
|
@ -27,8 +27,15 @@
|
|||
</div>
|
||||
<div class="content-right">
|
||||
<div class="content-right-left">
|
||||
<div class="content-right-title">{{ item.contact }}</div>
|
||||
<!-- <div class="content-right-title">{{ item.contact }}</div> -->
|
||||
<div class="content-right-content">
|
||||
<p>
|
||||
<span>{{ item.contact }}</span>
|
||||
<a-tooltip>
|
||||
<template #title>{{ item.facilitator.value }}</template>
|
||||
<span>{{ item.facilitator.value }}</span>
|
||||
</a-tooltip>
|
||||
</p>
|
||||
<p>
|
||||
<span>{{ item.people.name }}</span>
|
||||
<a-tooltip>
|
||||
|
@ -46,8 +53,15 @@
|
|||
</div>
|
||||
</div>
|
||||
<div class="content-right-right">
|
||||
<div class="content-right-title">{{ item.contact2 }}</div>
|
||||
<!-- <div class="content-right-title">{{ item.contact2 }}</div> -->
|
||||
<div class="content-right-content">
|
||||
<p>
|
||||
<span>{{ item.contact2 }}</span>
|
||||
<a-tooltip>
|
||||
<template #title>{{ item.facilitator2.value }}</template>
|
||||
<span>{{ item.facilitator2.value }}</span>
|
||||
</a-tooltip>
|
||||
</p>
|
||||
<p>
|
||||
<span>{{ item.people2.name }}</span>
|
||||
<a-tooltip>
|
||||
|
@ -83,19 +97,19 @@
|
|||
name: '接口地址:',
|
||||
},
|
||||
linkValue: '',
|
||||
contact: '归属部门',
|
||||
facilitator: { name: '归属部门:', value: '讯飞科大' },
|
||||
people: { name: '部门联系人:', value: '李四' },
|
||||
contact: '归属部门:',
|
||||
facilitator: { name: '归属部门:', value: '' },
|
||||
people: { name: '部门联系人:', value: '' },
|
||||
phone: {
|
||||
name: '联系人电话:',
|
||||
value: '12345678901',
|
||||
value: '',
|
||||
},
|
||||
contact2: '服务商',
|
||||
facilitator2: { name: '服务商:', value: '科大讯飞' },
|
||||
people2: { name: '服务商联系人:', value: '李四' },
|
||||
contact2: '服务商:',
|
||||
facilitator2: { name: '服务商:', value: '' },
|
||||
people2: { name: '服务商联系人:', value: '' },
|
||||
phone2: {
|
||||
name: '联系人电话:',
|
||||
value: '1234567890',
|
||||
value: '',
|
||||
},
|
||||
},
|
||||
],
|
||||
|
@ -114,7 +128,7 @@
|
|||
} else {
|
||||
// eslint-disable-next-line vue/no-setup-props-destructure
|
||||
dataFrom.value.content[0].link.value = props.dataList.apiUrl
|
||||
dataFrom.value.content[0].facilitator.value = props.dataList.deptContacts
|
||||
dataFrom.value.content[0].facilitator.value = props.dataList.deptName
|
||||
dataFrom.value.content[0].people.value = props.dataList.deptContacts
|
||||
dataFrom.value.content[0].phone.value = props.dataList.deptPhone
|
||||
console.log('dataList', props.dataList)
|
||||
|
@ -140,7 +154,7 @@
|
|||
flag.value = false
|
||||
} else {
|
||||
dataFrom.value.content[0].link.value = val.apiUrl
|
||||
dataFrom.value.content[0].facilitator.value = val.deptContacts
|
||||
dataFrom.value.content[0].facilitator.value = val.deptName
|
||||
dataFrom.value.content[0].people.value = val.deptContacts
|
||||
dataFrom.value.content[0].phone.value = val.deptPhone
|
||||
console.log('dataList', val)
|
||||
|
|
|
@ -11,21 +11,30 @@
|
|||
<li v-for="(item, index) in dataFromLeft.content" :key="index">
|
||||
<img :src="iconImg" />
|
||||
<span>{{ item.type }}</span>
|
||||
<a-tooltip>
|
||||
<template #title>{{ item.values }}</template>
|
||||
<p>{{ item.values }}</p>
|
||||
</a-tooltip>
|
||||
</li>
|
||||
</ul>
|
||||
<ul>
|
||||
<li v-for="(item, index) in dataFromCenter.content" :key="index">
|
||||
<img :src="iconImg" />
|
||||
<span>{{ item.type }}</span>
|
||||
<a-tooltip>
|
||||
<template #title>{{ item.values }}</template>
|
||||
<p>{{ item.values }}</p>
|
||||
</a-tooltip>
|
||||
</li>
|
||||
</ul>
|
||||
<ul>
|
||||
<li v-for="(item, index) in dataFromRight.content" :key="index">
|
||||
<img :src="iconImg" />
|
||||
<span>{{ item.type }}</span>
|
||||
<a-tooltip>
|
||||
<template #title>{{ item.values }}</template>
|
||||
<p>{{ item.values }}</p>
|
||||
</a-tooltip>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
|
|
@ -129,7 +129,7 @@
|
|||
}
|
||||
})
|
||||
select.value = navList.value.filter(
|
||||
(item) => item.name === list.value[0]
|
||||
(item) => item.name === '图层展示'
|
||||
)[0].key
|
||||
console.log('11111111111111111111111111', list.value, navList.value)
|
||||
}
|
||||
|
@ -205,7 +205,7 @@
|
|||
})
|
||||
if (list.value.length > 0) {
|
||||
select.value = navList.value.filter(
|
||||
(item) => item.name === list.value[0]
|
||||
(item) => item.name === '图层展示'
|
||||
)[0].key
|
||||
}
|
||||
console.log('11111111111111111111111111', list.value, navList.value)
|
||||
|
|
Loading…
Reference in New Issue