亿点点修改

This commit is contained in:
gaoyuanwei 2022-08-23 17:47:24 +08:00
parent 07198b8ebc
commit 0c4015cb5c
13 changed files with 744 additions and 298 deletions

View File

@ -44,7 +44,7 @@
</p> </p>
<p> <p>
<span> <span>
应用背景<span> 需求依据<span>
{{ dataForm.content.applicationBackground || '--' }}</span {{ dataForm.content.applicationBackground || '--' }}</span
></span> ></span>
</p> </p>

View File

@ -38,8 +38,8 @@ if (newLocation === 'qingdao') {
// { name: '', key: 'personalCenter' }, // { name: '', key: 'personalCenter' },
{ name: '区市站点', key: 'mapTest' }, { name: '区市站点', key: 'mapTest' },
// { name: '', key: 'houtaiguanli' }, // { name: '', key: 'houtaiguanli' },
{ name: '赋能案例', key: 'assignCase' }, { name: '典型赋能案例', key: 'assignCase' },
{ name: '融合服务', key: 'integrationServices' }, // { name: '', key: 'integrationServices' },
{ name: 'CIM专区', key: 'cimSpecialArea' }, { name: 'CIM专区', key: 'cimSpecialArea' },
] ]
footerDataList.footerList = { footerDataList.footerList = {

View File

@ -236,6 +236,8 @@
/> />
</a-list> </a-list>
</div> </div>
<!-- 关闭需求申请 -->
<div class="closeMain" @click="closeMain">X</div>
</div> </div>
</div> </div>
</template> </template>
@ -378,7 +380,9 @@
} }
} }
} }
const closeMain = () => {
window.history.go(-1)
}
onMounted(() => { onMounted(() => {
// const formData = computed(() => store.getters['home/demandDetailsData']) // const formData = computed(() => store.getters['home/demandDetailsData'])
// formName.value = formData.value // formName.value = formData.value
@ -410,6 +414,7 @@
display: flex; display: flex;
justify-content: center; justify-content: center;
.main { .main {
position: relative;
width: 1550px; width: 1550px;
height: 100%; height: 100%;
padding-top: 30px; padding-top: 30px;
@ -476,6 +481,13 @@
} }
} }
} }
.closeMain {
position: absolute;
top: 40px;
right: 20px;
font-size: 0.2rem;
cursor: pointer;
}
} }
.form-container { .form-container {
padding: 20px 20px 30px 20px; padding: 20px 20px 30px 20px;

View File

@ -70,6 +70,13 @@
</template> </template>
</a-pagination> </a-pagination>
</div> </div>
<!-- 需求申请 -->
<div class="fixedmount">
<div @click="toView()">
<p></p>
<p>需求申请</p>
</div>
</div>
</div> </div>
</div> </div>
</template> </template>
@ -166,6 +173,12 @@
}, },
}) })
} }
const newpage = router.resolve({
path: '/addApplication', //
})
const toView = () => {
window.open(newpage.href, '_blank')
}
onMounted(() => { onMounted(() => {
const params = { const params = {
@ -284,6 +297,41 @@
margin-top: 10px; margin-top: 10px;
} }
} }
.fixedmount {
height: 1.5rem;
display: flex;
position: fixed;
right: 2.6rem;
z-index: 10;
flex-direction: column;
justify-content: space-between;
align-items: center;
}
.fixedmount div {
width: 0.7rem;
height: 0.7rem;
border-radius: 0.04rem;
border: 0.01rem #94aac9 solid;
display: flex;
flex-direction: column;
// justify-content: center;
align-items: center;
padding-top: 0.13rem;
position: relative;
cursor: pointer;
background: #e3edfc;
p {
margin: 0;
}
}
.fixedmount div p:nth-child(1) {
height: 0.24rem;
width: 0.24rem;
background: url('~@/assets/home/shenqing.png') no-repeat;
background-size: contain;
background-position: center;
}
} }
} }
</style> </style>

View File

@ -7,6 +7,137 @@
:type="dataFrom.englishTitle" :type="dataFrom.englishTitle"
></DetalsTitle> ></DetalsTitle>
</div> </div>
<!-- 青岛市局 -->
<div v-if="whoShow1 && whoShow1.itShowQingDao">
<div
class="content"
v-for="item in dataFrom.content"
:key="item.title"
v-show="approveStatus == '通过'"
>
<div class="content-left" v-if="item.titleType === '调用接口'">
<div class="left">
<div class="content-left-title">
<span>{{ item.title }}{{ item.titleType }}</span>
</div>
<div class="content-left-content">
<p>
<span>{{ item.link.name }}</span>
<a-tooltip>
<template #title>{{ item.link.value }}</template>
<span>{{ item.link.value }}</span>
</a-tooltip>
</p>
<p>
<span>{{ item.postMethod.name }}</span>
<span>{{ item.postMethod.value }}</span>
</p>
</div>
</div>
<div class="right">
<div @click="technical()">技术文档</div>
<!-- <div @click="technicalNew()">新手指引</div> -->
<!-- <div @click="SDKClick()">SDK安装包</div> -->
</div>
</div>
<div class="content-left" v-else-if="item.titleType === '平台对接'">
<div class="left">
<div class="content-left-title">
<span>{{ item.title }}{{ item.titleType }}</span>
</div>
<div class="content-left-content">
<p>
<span>{{ item.linkPlatform.name }}</span>
<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>
<div class="right">
<div @click="technical()">技术文档</div>
<!-- <div @click="technicalNew()">新手指引</div> -->
<!-- <div @click="SDKClick()">SDK安装包</div> -->
</div>
</div>
<div class="content-left" v-else-if="item.titleType === 'SDK'">
<div class="left">
<div class="content-left-title">
<span>{{ item.title }}{{ item.titleType }}</span>
</div>
</div>
<div class="right">
<div @click="technical()">技术文档</div>
<!-- <div @click="technicalNew()">新手指引</div> -->
<div @click="SDKClick()">SDK安装包</div>
</div>
</div>
<div class="content-right">
<div class="content-right-left">
<div class="content-right-title">{{ item.contact }}</div>
<div class="content-right-content">
<p>
<span>{{ item.facilitator.name }}</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>
<template #title>{{ item.people.value }}</template>
<span>{{ item.people.value }}</span>
</a-tooltip>
</p>
<p>
<span>{{ item.phone.name }}</span>
<a-tooltip>
<template #title>{{ item.phone.value }}</template>
<span>{{ item.phone.value }}</span>
</a-tooltip>
</p>
</div>
</div>
<div class="content-right-right">
<div class="content-right-title">{{ item.contact2 }}</div>
<div class="content-right-content">
<p>
<span>{{ item.facilitator2.name }}</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>
<template #title>{{ item.people2.value }}</template>
<span>{{ item.people2.value }}</span>
</a-tooltip>
</p>
<p>
<span>{{ item.phone2.name }}</span>
<a-tooltip>
<template #title>{{ item.phone2.value }}</template>
<span>{{ item.phone2.value }}</span>
</a-tooltip>
</p>
</div>
</div>
</div>
</div>
<div v-show="approveStatus !== '通过'" class="contentOther">
请申请后查看
</div>
</div>
<!-- 其他 -->
<div v-else>
<div class="content" v-for="item in dataFrom.content" :key="item.title"> <div class="content" v-for="item in dataFrom.content" :key="item.title">
<div class="content-left" v-if="item.titleType === '调用接口'"> <div class="content-left" v-if="item.titleType === '调用接口'">
<div class="left"> <div class="left">
@ -126,6 +257,7 @@
</div> </div>
</div> </div>
</div> </div>
</div>
</template> </template>
<script setup> <script setup>
@ -133,7 +265,8 @@
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('') const approveStatus = ref('通过')
const whoShow1 = ref(whoShow)
let dataFrom = ref({ let dataFrom = ref({
title: '使用方式', title: '使用方式',
englishTitle: 'USAGE', englishTitle: 'USAGE',
@ -188,7 +321,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 // 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 === '组件地址') {
@ -449,5 +582,10 @@
} }
} }
} }
.contentOther {
width: 100%;
height: 0.3rem;
background: pink;
}
} }
</style> </style>

View File

@ -7,6 +7,30 @@
:type="dataFrom.englishTitle" :type="dataFrom.englishTitle"
></DetalsTitle> ></DetalsTitle>
</div> </div>
<div v-if="whoShow1 && whoShow1.itShowQingDao">
<div class="content" v-show="approveStatus == '通过'">
<div
v-for="(item, index) in dataFrom.content"
:key="index"
class="content-card"
>
<div class="card-title">{{ item.childrenTitle }}</div>
<div class="card-content">
<div v-for="carditem in item.childrenContent" :key="carditem">
<div style="display: flex">
<span>{{ carditem.attrType }}</span>
<a-tooltip>
<template #title>{{ carditem.attrValue }}</template>
<span>{{ carditem.attrValue }}</span>
</a-tooltip>
</div>
</div>
</div>
</div>
</div>
<div v-show="approveStatus !== '通过'">请申请后查看</div>
</div>
<div v-else>
<div class="content"> <div class="content">
<div <div
v-for="(item, index) in dataFrom.content" v-for="(item, index) in dataFrom.content"
@ -28,11 +52,14 @@
</div> </div>
</div> </div>
</div> </div>
</div>
</template> </template>
<script setup> <script setup>
import DetalsTitle from '@/views/detailsAll/components/DetalsTitle' import DetalsTitle from '@/views/detailsAll/components/DetalsTitle'
import { ref, defineProps, watch } from 'vue' import { ref, defineProps, watch } from 'vue'
const approveStatus = ref('通过')
const whoShow1 = ref(whoShow)
let dataFrom = ref({ let dataFrom = ref({
title: '归属部门与服务商', title: '归属部门与服务商',
englishTitle: 'DEPARTMENT&ERVICE', englishTitle: 'DEPARTMENT&ERVICE',
@ -105,6 +132,7 @@
() => props.dataList, () => props.dataList,
(val) => { (val) => {
if (val) { if (val) {
approveStatus.value = val.approveStatus
// dataFrom.value.content[0].childrenContent = [] // dataFrom.value.content[0].childrenContent = []
// dataFrom.value.content[1].childrenContent = [] // dataFrom.value.content[1].childrenContent = []
let obj = { let obj = {

View File

@ -7,6 +7,91 @@
:type="dataFrom.englishTitle" :type="dataFrom.englishTitle"
></DetalsTitle> ></DetalsTitle>
</div> </div>
<div v-if="whoShow1 && whoShow1.itShowQingDao">
<div
class="content"
v-for="item in dataFrom.content"
:key="item.title"
v-show="approveStatus == '通过'"
>
<div class="content-left">
<div class="left">
<div class="content-left-title">
<span>{{ item.title }}</span>
</div>
<div class="content-left-content">
<p>
<span>{{ item.link.name }}</span>
<a-tooltip>
<template #title>{{ item.linkValue }}</template>
<span>{{ item.linkValue }}</span>
</a-tooltip>
</p>
</div>
</div>
<div class="right">
<div @click="technical()">技术文档</div>
<div @click="technicalNew()">新手指引</div>
</div>
</div>
<div class="content-right">
<div class="content-right-left">
<div class="content-right-title">{{ item.contact }}</div>
<div class="content-right-content">
<p>
<span>{{ item.facilitator.name }}</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>
<template #title>{{ item.people.value }}</template>
<span>{{ item.people.value }}</span>
</a-tooltip>
</p>
<p>
<span>{{ item.phone.name }}</span>
<a-tooltip>
<template #title>{{ item.phone.value }}</template>
<span>{{ item.phone.value }}</span>
</a-tooltip>
</p>
</div>
</div>
<div class="content-right-right">
<div class="content-right-title">{{ item.contact2 }}</div>
<div class="content-right-content">
<p>
<span>{{ item.facilitator2.name }}</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>
<template #title>{{ item.people2.value }}</template>
<span>{{ item.people2.value }}</span>
</a-tooltip>
</p>
<p>
<span>{{ item.phone2.name }}</span>
<a-tooltip>
<template #title>{{ item.phone2.value }}</template>
<span>{{ item.phone2.value }}</span>
</a-tooltip>
</p>
</div>
</div>
</div>
</div>
<div v-show="approveStatus !== '通过'">请申请后查看</div>
</div>
<div v-else>
<div class="content" v-for="item in dataFrom.content" :key="item.title"> <div class="content" v-for="item in dataFrom.content" :key="item.title">
<div class="content-left"> <div class="content-left">
<div class="left"> <div class="left">
@ -84,6 +169,7 @@
</div> </div>
</div> </div>
</div> </div>
</div>
</template> </template>
<script setup> <script setup>
@ -91,6 +177,8 @@
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('通过')
const whoShow1 = ref(whoShow)
let dataFrom = ref({ let dataFrom = ref({
title: '使用方式', title: '使用方式',
englishTitle: 'USAGE', englishTitle: 'USAGE',
@ -157,6 +245,7 @@
if (!obj) { if (!obj) {
flag.value = false flag.value = false
} else { } else {
approveStatus.value = val.approveStatus
dataFrom.value.content[0].link.value = val.apiUrl || '--' dataFrom.value.content[0].link.value = val.apiUrl || '--'
dataFrom.value.content[0].facilitator.value = val.deptName || '--' dataFrom.value.content[0].facilitator.value = val.deptName || '--'
dataFrom.value.content[0].people.value = val.deptContacts || '--' dataFrom.value.content[0].people.value = val.deptContacts || '--'

View File

@ -7,6 +7,43 @@
:type="dataFrom.englishTitle" :type="dataFrom.englishTitle"
></DetalsTitle> ></DetalsTitle>
</div> </div>
<div v-if="whoShow1 && whoShow1.itShowQingDao">
<div class="content" v-show="approveStatus == '通过'">
<div class="content-card">
<div class="left">
<p>{{ dataFrom.linkName }}</p>
<a-tooltip>
<template #title>{{ dataFrom.link }}</template>
<p>{{ dataFrom.link }}</p>
</a-tooltip>
</div>
<div class="right">
<div @click="technical()">技术文档</div>
<div @click="technicaltow()">新手指引</div>
</div>
</div>
<div class="content-card">
<div v-for="(item, index) in dataFrom.content" :key="index">
<div class="card-title">
{{ item.childrenTitle }}
</div>
<div class="card-content">
<div v-for="carditem in item.childrenContent" :key="carditem">
<div>
<span>{{ carditem.attrType }}</span>
<a-tooltip>
<template #title>{{ carditem.attrValue }}</template>
<span>{{ carditem.attrValue }}</span>
</a-tooltip>
</div>
</div>
</div>
</div>
</div>
</div>
<div v-show="approveStatus !== '通过'">请申请后查看</div>
</div>
<div v-else>
<div class="content"> <div class="content">
<div class="content-card"> <div class="content-card">
<div class="left"> <div class="left">
@ -41,6 +78,7 @@
</div> </div>
</div> </div>
</div> </div>
</div>
</template> </template>
<script setup> <script setup>

View File

@ -39,7 +39,7 @@
flag.value = false flag.value = false
} else { } else {
props.dataList.infoList.map((item) => { props.dataList.infoList.map((item) => {
if (item.attrType === '预览服务地址') { if (item.attrType === '图层服务地址') {
img.value = item.attrValue.replace(/amp;/g, '') || '--' img.value = item.attrValue.replace(/amp;/g, '') || '--'
} }
}) })
@ -56,7 +56,7 @@
flag.value = false flag.value = false
} else { } else {
val.infoList.map((item) => { val.infoList.map((item) => {
if (item.attrType === '预览服务地址') { if (item.attrType === '图层服务地址') {
img.value = item.attrValue.replace(/amp;/g, '') || '--' img.value = item.attrValue.replace(/amp;/g, '') || '--'
} }
}) })

View File

@ -7,6 +7,93 @@
:type="dataFrom.englishTitle" :type="dataFrom.englishTitle"
></DetalsTitle> ></DetalsTitle>
</div> </div>
<div v-if="whoShow1 && whoShow1.itShowQingDao">
<div
class="content"
v-for="item in dataFrom.content"
:key="item.title"
v-show="approveStatus == '通过'"
>
<div class="content-left">
<div class="left">
<a-tooltip>
<template #title>{{ item.linkValue }}</template>
<p @click="ServiceAddressFunction(item.linkValue)">
服务地址
{{ item.linkValue }}
</p>
</a-tooltip>
<a-tooltip>
<template #title>{{ item.csslinkValue }}</template>
<p @click="ServiceAddressFunction(item.csslinkValue)">
样式服务地址
{{ item.csslinkValue }}
</p>
</a-tooltip>
</div>
<div class="right">
<div @click="technical()">技术文档</div>
<div @click="technicalNew()">新手指引</div>
</div>
</div>
<div class="content-right">
<div class="content-right-left">
<div class="content-right-title">{{ item.contact }}</div>
<div class="content-right-content">
<p>
<span>{{ item.facilitator.name }}</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>
<template #title>{{ item.people.value }}</template>
<span>{{ item.people.value }}</span>
</a-tooltip>
</p>
<p>
<span>{{ item.phone.name }}</span>
<a-tooltip>
<template #title>{{ item.phone.value }}</template>
<span>{{ item.phone.value }}</span>
</a-tooltip>
</p>
</div>
</div>
<div class="content-right-right">
<div class="content-right-title">{{ item.contact2 }}</div>
<div class="content-right-content">
<p>
<span>{{ item.facilitator2.name }}</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>
<template #title>{{ item.people2.value }}</template>
<span>{{ item.people2.value }}</span>
</a-tooltip>
</p>
<p>
<span>{{ item.phone2.name }}</span>
<a-tooltip>
<template #title>{{ item.phone2.value }}</template>
<span>{{ item.phone2.value }}</span>
</a-tooltip>
</p>
</div>
</div>
</div>
</div>
<div v-show="approveStatus !== '通过'">请申请后查看</div>
</div>
<div v-else>
<div class="content" v-for="item in dataFrom.content" :key="item.title"> <div class="content" v-for="item in dataFrom.content" :key="item.title">
<div class="content-left"> <div class="content-left">
<div class="left"> <div class="left">
@ -86,6 +173,7 @@
</div> </div>
</div> </div>
</div> </div>
</div>
</template> </template>
<script setup> <script setup>

View File

@ -112,15 +112,15 @@
</div> </div>
<div> <div>
<a-form-item <a-form-item
label="应用背景" label="需求依据"
name="applicationBackground" name="applicationBackground"
:rules="[ :rules="[
{ required: true, message: '请输入应用背景' }, { required: true, message: '请输入需求依据' },
{ min: 50, message: '应用背景最少为50个字' }, { min: 50, message: '需求依据最少为50个字' },
]" ]"
> >
<a-textarea <a-textarea
placeholder="请输入应用背景" placeholder="请输入需求依据"
v-model:value="formName.applicationBackground" v-model:value="formName.applicationBackground"
:rows="4" :rows="4"
/> />

View File

@ -247,6 +247,11 @@
path: '/assignCase', path: '/assignCase',
}) })
break break
case '典型赋能案例':
router.push({
path: '/assignCase',
})
break
case '融合服务': case '融合服务':
router.push({ router.push({
path: '/integrationServices', path: '/integrationServices',

View File

@ -840,7 +840,7 @@
const tabList = ref([ const tabList = ref([
{ {
title: '设施类型', title: '设施类型',
content: ['视频资源', '云资源', '感知资源', '会议室'], content: ['视频资源', '云资源', '感知资源', '城市云脑会客厅'],
}, },
{ {
title: '视频标签', title: '视频标签',
@ -971,7 +971,7 @@
} }
// //
const disabledStartMinutes = (selectedHour) => { const disabledStartMinutes = (selectedHour) => {
if (roomEndTime) { if (roomEndTime.value) {
let minutes = [] let minutes = []
let hour = moment().hour() let hour = moment().hour()
let minute = moment().minute() let minute = moment().minute()
@ -985,7 +985,7 @@
} }
// //
const disabledStartSeconds = (selectedHour, selectedMinute) => { const disabledStartSeconds = (selectedHour, selectedMinute) => {
if (roomEndTime) { if (roomEndTime.value) {
let seconds = [] let seconds = []
let hour = moment().hour() let hour = moment().hour()
let minute = moment().minute() let minute = moment().minute()
@ -1011,7 +1011,7 @@
} }
// //
const disabledEndMinutes = (selectedHour) => { const disabledEndMinutes = (selectedHour) => {
if (roomCreateTime) { if (roomCreateTime.value) {
let minutes = [] let minutes = []
let hour = moment().hour() let hour = moment().hour()
let minute = moment().minute() let minute = moment().minute()
@ -1025,7 +1025,7 @@
} }
// //
const disabledEndSeconds = (selectedHour, selectedMinute) => { const disabledEndSeconds = (selectedHour, selectedMinute) => {
if (roomCreateTime) { if (roomCreateTime.value) {
let seconds = [] let seconds = []
let hour = moment().hour() let hour = moment().hour()
let minute = moment().minute() let minute = moment().minute()
@ -1262,7 +1262,7 @@
dataSource.value = [] dataSource.value = []
dataSource2.value = [] dataSource2.value = []
pagination.value.total = 0 pagination.value.total = 0
} else if (name == '会议室') { } else if (name == '城市云脑会客厅') {
// room.value = false // room.value = false
// wrjFlag.value = true // wrjFlag.value = true
// showMap.value = false // showMap.value = false
@ -1380,7 +1380,7 @@
}) })
}) })
wrjFlag.value = true wrjFlag.value = true
} else if (name == '会议室') { } else if (name == '城市云脑会客厅') {
showMap.value = false showMap.value = false
dataSource.value = [] dataSource.value = []
dataSource2.value = [] dataSource2.value = []