门户需求修改
This commit is contained in:
parent
abd89f6eeb
commit
ca603957cb
|
@ -1,8 +1,8 @@
|
||||||
/*
|
/*
|
||||||
* @Author: hisense.wuhongjian
|
* @Author: hisense.wuhongjian
|
||||||
* @Date: 2020-07-07 16:03:23
|
* @Date: 2020-07-07 16:03:23
|
||||||
* @LastEditors: hisense.wuhongjian
|
* @LastEditors: Light
|
||||||
* @LastEditTime: 2022-10-13 20:53:24
|
* @LastEditTime: 2022-11-01 15:39:13
|
||||||
* @Description: 数据资源参数配置
|
* @Description: 数据资源参数配置
|
||||||
*/
|
*/
|
||||||
// eslint-disable-next-line no-undef
|
// eslint-disable-next-line no-undef
|
||||||
|
@ -32,7 +32,7 @@ if (newLocation !== 'baotou' && newLocation !== 'xihaian') {
|
||||||
infrastructure.deptId = '1067246875800000066'
|
infrastructure.deptId = '1067246875800000066'
|
||||||
navListManagement.navList = [
|
navListManagement.navList = [
|
||||||
{ name: '共享门户', key: 'home' },
|
{ name: '共享门户', key: 'home' },
|
||||||
{ name: '能力集市', key: 'DetailsPageconetent' },
|
{ name: '能力超市', key: 'DetailsPageconetent' },
|
||||||
// { name: '能力云图', key: 'capabilityCloud' },
|
// { name: '能力云图', key: 'capabilityCloud' },
|
||||||
{ name: '能力统计', key: 'abilityStatistics' },
|
{ name: '能力统计', key: 'abilityStatistics' },
|
||||||
// { name: '开发指南', key: 'developmentGuide' },
|
// { name: '开发指南', key: 'developmentGuide' },
|
||||||
|
@ -121,7 +121,7 @@ else if (newLocation === 'baotou') {
|
||||||
]
|
]
|
||||||
navListManagement.navList = [
|
navListManagement.navList = [
|
||||||
{ name: '共享门户', key: 'home' },
|
{ name: '共享门户', key: 'home' },
|
||||||
{ name: '能力集市', key: 'DetailsPageconetent' },
|
{ name: '能力超市', key: 'DetailsPageconetent' },
|
||||||
{ name: '能力云图', key: 'capabilityCloud' },
|
{ name: '能力云图', key: 'capabilityCloud' },
|
||||||
{ name: '能力统计', key: 'abilityStatistics' },
|
{ name: '能力统计', key: 'abilityStatistics' },
|
||||||
// { name: '开发指南', key: 'developmentGuide' },
|
// { name: '开发指南', key: 'developmentGuide' },
|
||||||
|
@ -492,7 +492,7 @@ else if (newLocation === 'xihaian') {
|
||||||
]
|
]
|
||||||
navListManagement.navList = [
|
navListManagement.navList = [
|
||||||
{ name: '共享门户', key: 'home' },
|
{ name: '共享门户', key: 'home' },
|
||||||
{ name: '能力集市', key: 'DetailsPageconetent' },
|
{ name: '能力超市', key: 'DetailsPageconetent' },
|
||||||
{ name: '能力云图', key: 'capabilityCloud' },
|
{ name: '能力云图', key: 'capabilityCloud' },
|
||||||
{ name: '能力统计', key: 'abilityStatistics' },
|
{ name: '能力统计', key: 'abilityStatistics' },
|
||||||
// { name: '开发指南', key: 'developmentGuide' },
|
// { name: '开发指南', key: 'developmentGuide' },
|
||||||
|
|
|
@ -105,14 +105,14 @@ let _cameraUrl =
|
||||||
_global.config.camreaInfo &&
|
_global.config.camreaInfo &&
|
||||||
_global.config.camreaInfo.cameraUrl) ||
|
_global.config.camreaInfo.cameraUrl) ||
|
||||||
'10.134.135.92:9537'
|
'10.134.135.92:9537'
|
||||||
//能力集市基础设施-左侧列表
|
//能力超市基础设施-左侧列表
|
||||||
export function getCameraInfoByAreaId(params) {
|
export function getCameraInfoByAreaId(params) {
|
||||||
return axios.get(
|
return axios.get(
|
||||||
`http://${_cameraUrl}/data_service/getCamera/getCameraInfoByAreaId?areaId=${params.areaId}`,
|
`http://${_cameraUrl}/data_service/getCamera/getCameraInfoByAreaId?areaId=${params.areaId}`,
|
||||||
config2
|
config2
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
//能力集市基础设施-摄像头
|
//能力超市基础设施-摄像头
|
||||||
export function getCameraByCondition(params) {
|
export function getCameraByCondition(params) {
|
||||||
return axios.post(
|
return axios.post(
|
||||||
`http://${_cameraUrl}/data_service/getCamera/getCameraByCondition`,
|
`http://${_cameraUrl}/data_service/getCamera/getCameraByCondition`,
|
||||||
|
|
|
@ -425,7 +425,7 @@ export function updateIntegrationServices(data) {
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
// 全局搜索
|
// 全文检索
|
||||||
export function getCountByFuzzyQuery(params, flag) {
|
export function getCountByFuzzyQuery(params, flag) {
|
||||||
return request({
|
return request({
|
||||||
url:
|
url:
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
/*
|
/*
|
||||||
* @Author: hisense.wuhongjian
|
* @Author: hisense.wuhongjian
|
||||||
* @Date: 2022-03-29 17:48:03
|
* @Date: 2022-03-29 17:48:03
|
||||||
* @LastEditors: hisense.wuhongjian
|
* @LastEditors: Light
|
||||||
* @LastEditTime: 2022-06-01 10:47:06
|
* @LastEditTime: 2022-11-02 09:59:26
|
||||||
* @Description: 告诉大家这是什么
|
* @Description: 告诉大家这是什么
|
||||||
*/
|
*/
|
||||||
/**
|
/**
|
||||||
|
@ -14,7 +14,7 @@ const network = {
|
||||||
//消息框消失时间
|
//消息框消失时间
|
||||||
messageDuration: 3000,
|
messageDuration: 3000,
|
||||||
//最长请求时间
|
//最长请求时间
|
||||||
requestTimeout: 60000,
|
requestTimeout: 300000,
|
||||||
//操作正常code,支持String、Array、int多种类型
|
//操作正常code,支持String、Array、int多种类型
|
||||||
successCode: [200, 0],
|
successCode: [200, 0],
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
/*
|
/*
|
||||||
* @Author: hisense.wuhongjian
|
* @Author: hisense.wuhongjian
|
||||||
* @Date: 2022-03-29 17:48:03
|
* @Date: 2022-03-29 17:48:03
|
||||||
* @LastEditors: hisense.wuhongjian
|
* @LastEditors: Light
|
||||||
* @LastEditTime: 2022-06-20 16:10:57
|
* @LastEditTime: 2022-11-01 15:37:34
|
||||||
* @Description: 告诉大家这是什么
|
* @Description: 告诉大家这是什么
|
||||||
*/
|
*/
|
||||||
/**
|
/**
|
||||||
|
@ -32,7 +32,7 @@ const setting = {
|
||||||
// ? 'http://15.2.21.158:9101'
|
// ? 'http://15.2.21.158:9101'
|
||||||
// : 'mock-server',
|
// : 'mock-server',
|
||||||
//标题 (包括初次加载雪花屏的标题 页面的标题 浏览器的标题)
|
//标题 (包括初次加载雪花屏的标题 页面的标题 浏览器的标题)
|
||||||
title: '城市云脑能力中心管理平台',
|
title: '政务信息系统生态运营平台',
|
||||||
//标题分隔符
|
//标题分隔符
|
||||||
titleSeparator: ' - ',
|
titleSeparator: ' - ',
|
||||||
//标题是否反转 如果为false:"page - title",如果为ture:"title - page"
|
//标题是否反转 如果为false:"page - title",如果为ture:"title - page"
|
||||||
|
|
|
@ -506,6 +506,8 @@ export const RECOURCE_G_ICON = {
|
||||||
'/src/assets/resourceManageMap/pic/point-resettlement-circle.png',
|
'/src/assets/resourceManageMap/pic/point-resettlement-circle.png',
|
||||||
}
|
}
|
||||||
|
|
||||||
// 能力集市-默认选中tab
|
// 能力超市-默认选中tab
|
||||||
// 西海岸-默认基础设施
|
// 西海岸-默认基础设施
|
||||||
export const DETAIL_PAGE_CONTENT_DEFAULT_TAB = whoShow.itShowXiHaiAn ? '基础设施' : '应用资源'
|
export const DETAIL_PAGE_CONTENT_DEFAULT_TAB = whoShow.itShowXiHaiAn
|
||||||
|
? '基础设施'
|
||||||
|
: '应用系统'
|
||||||
|
|
|
@ -104,11 +104,11 @@
|
||||||
return message.error(res.data.msg)
|
return message.error(res.data.msg)
|
||||||
}
|
}
|
||||||
let imgObj = {
|
let imgObj = {
|
||||||
组件服务: require('../../../assets/abilityStatistics/banner-zj.png'),
|
应用系统: require('../../../assets/abilityStatistics/banner-yy.png'),
|
||||||
应用资源: require('../../../assets/abilityStatistics/banner-yy.png'),
|
GIS图层: require('../../../assets/abilityStatistics/banner-zj.png'),
|
||||||
基础设施: require('../../../assets/abilityStatistics/banner-jc.png'),
|
视频资源: require('../../../assets/abilityStatistics/banner-jc.png'),
|
||||||
数据资源: require('../../../assets/abilityStatistics/banner-sj.png'),
|
数据资源: require('../../../assets/abilityStatistics/banner-sj.png'),
|
||||||
知识库: require('../../../assets/abilityStatistics/banner-zs.png'),
|
云网资源: require('../../../assets/abilityStatistics/banner-zs.png'),
|
||||||
}
|
}
|
||||||
res.data.data.total.forEach((val) => {
|
res.data.data.total.forEach((val) => {
|
||||||
let _obj = {
|
let _obj = {
|
||||||
|
@ -172,7 +172,8 @@
|
||||||
// break
|
// break
|
||||||
// }
|
// }
|
||||||
})
|
})
|
||||||
let arr = ['组件服务', '应用资源', '基础设施', '数据资源', '知识库']
|
// let arr = ['组件服务', '应用资源', '基础设施', '数据资源', '知识库']
|
||||||
|
let arr = ['应用系统', 'GIS图层', '视频资源', '数据资源', '云网资源']
|
||||||
dataList.value.dataList.sort((a, b) => {
|
dataList.value.dataList.sort((a, b) => {
|
||||||
return arr.indexOf(a.type) - arr.indexOf(b.type)
|
return arr.indexOf(a.type) - arr.indexOf(b.type)
|
||||||
})
|
})
|
||||||
|
|
|
@ -2,13 +2,13 @@
|
||||||
<!-- 青岛 -->
|
<!-- 青岛 -->
|
||||||
<div class="details-pageconetent" v-if="whoShow1 && whoShow1.itShowQingDao">
|
<div class="details-pageconetent" v-if="whoShow1 && whoShow1.itShowQingDao">
|
||||||
<home-header></home-header>
|
<home-header></home-header>
|
||||||
<div class="details-pageconetent-left" v-if="Cardsname != '基础设施'">
|
<div class="details-pageconetent-left" v-if="Cardsname != '视频资源'">
|
||||||
<detailsPageconetentTree />
|
<detailsPageconetentTree />
|
||||||
</div>
|
</div>
|
||||||
<div class="details-pageconetent-left" v-else>
|
<div class="details-pageconetent-left" v-else>
|
||||||
<detailsPageInfrastructureTree v-show="flag != '6'" />
|
<detailsPageInfrastructureTree v-show="flag != '6'" />
|
||||||
</div>
|
</div>
|
||||||
<div class="top" v-if="Cardsname != '知识库' && Cardsname != '基础设施'">
|
<div class="top" v-if="Cardsname != '云网资源' && Cardsname != '视频资源'">
|
||||||
<div class="resultListSearchInput-father">
|
<div class="resultListSearchInput-father">
|
||||||
<div class="resultListSearchInput-son">
|
<div class="resultListSearchInput-son">
|
||||||
模糊搜索
|
模糊搜索
|
||||||
|
@ -27,10 +27,10 @@
|
||||||
style="margin-left: 0.1rem"
|
style="margin-left: 0.1rem"
|
||||||
@click="globalSearch()"
|
@click="globalSearch()"
|
||||||
>
|
>
|
||||||
全局搜索
|
全文检索
|
||||||
</button>
|
</button>
|
||||||
<button
|
<button
|
||||||
v-if="Cardsname == '应用资源'"
|
v-if="Cardsname == '应用系统'"
|
||||||
class="button-reset"
|
class="button-reset"
|
||||||
@click="applyAll()"
|
@click="applyAll()"
|
||||||
style="margin-left: 0.1rem"
|
style="margin-left: 0.1rem"
|
||||||
|
@ -71,9 +71,7 @@
|
||||||
<div class="top-content-father" :key="listKey">
|
<div class="top-content-father" :key="listKey">
|
||||||
<template
|
<template
|
||||||
v-if="
|
v-if="
|
||||||
Cardsname == '组件服务' ||
|
Cardsname == 'GIS图层' || Cardsname == '应用系统' || Cardsname == ''
|
||||||
Cardsname == '应用资源' ||
|
|
||||||
Cardsname == ''
|
|
||||||
"
|
"
|
||||||
>
|
>
|
||||||
<div class="top-content-son">
|
<div class="top-content-son">
|
||||||
|
@ -155,7 +153,7 @@
|
||||||
<a-empty />
|
<a-empty />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="top" v-else-if="Cardsname === '基础设施'">
|
<div class="top" v-else-if="Cardsname === '视频资源'">
|
||||||
<div class="resultListSearchInput-father">
|
<div class="resultListSearchInput-father">
|
||||||
<div class="resultListSearchInput-son">
|
<div class="resultListSearchInput-son">
|
||||||
模糊搜索
|
模糊搜索
|
||||||
|
@ -174,7 +172,7 @@
|
||||||
style="margin-left: 0.1rem"
|
style="margin-left: 0.1rem"
|
||||||
@click="globalSearch()"
|
@click="globalSearch()"
|
||||||
>
|
>
|
||||||
全局搜索
|
全文检索
|
||||||
</button>
|
</button>
|
||||||
<div class="hengxian" style="background: transparent"></div>
|
<div class="hengxian" style="background: transparent"></div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -234,7 +232,7 @@
|
||||||
style="margin-left: 0.1rem"
|
style="margin-left: 0.1rem"
|
||||||
@click="globalSearch()"
|
@click="globalSearch()"
|
||||||
>
|
>
|
||||||
全局搜索
|
全文检索
|
||||||
</button>
|
</button>
|
||||||
<div class="hengxian" style="background: transparent"></div>
|
<div class="hengxian" style="background: transparent"></div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -298,13 +296,13 @@
|
||||||
v-else-if="whoShow1 && whoShow1.itShowXiHaiAn"
|
v-else-if="whoShow1 && whoShow1.itShowXiHaiAn"
|
||||||
>
|
>
|
||||||
<home-header></home-header>
|
<home-header></home-header>
|
||||||
<div class="details-pageconetent-left" v-if="Cardsname != '基础设施'">
|
<div class="details-pageconetent-left" v-if="Cardsname != '视频资源'">
|
||||||
<detailsPageconetentTree />
|
<detailsPageconetentTree />
|
||||||
</div>
|
</div>
|
||||||
<div class="details-pageconetent-left" v-else>
|
<div class="details-pageconetent-left" v-else>
|
||||||
<detailsPageInfrastructureTree />
|
<detailsPageInfrastructureTree />
|
||||||
</div>
|
</div>
|
||||||
<div class="top" v-if="Cardsname != '知识库' && Cardsname != '基础设施'">
|
<div class="top" v-if="Cardsname != '云网资源' && Cardsname != '视频资源'">
|
||||||
<div class="top-title">
|
<div class="top-title">
|
||||||
<div
|
<div
|
||||||
v-for="item in titleName"
|
v-for="item in titleName"
|
||||||
|
@ -341,9 +339,7 @@
|
||||||
<div class="top-content-father" :key="listKey">
|
<div class="top-content-father" :key="listKey">
|
||||||
<template
|
<template
|
||||||
v-if="
|
v-if="
|
||||||
Cardsname == '组件服务' ||
|
Cardsname == 'GIS图层' || Cardsname == '应用系统' || Cardsname == ''
|
||||||
Cardsname == '应用资源' ||
|
|
||||||
Cardsname == ''
|
|
||||||
"
|
"
|
||||||
>
|
>
|
||||||
<div class="top-content-son">
|
<div class="top-content-son">
|
||||||
|
@ -425,7 +421,7 @@
|
||||||
<a-empty />
|
<a-empty />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="top" v-else-if="Cardsname === '基础设施'">
|
<div class="top" v-else-if="Cardsname === '视频资源'">
|
||||||
<div class="top-title">
|
<div class="top-title">
|
||||||
<div
|
<div
|
||||||
v-for="item in titleName"
|
v-for="item in titleName"
|
||||||
|
@ -505,7 +501,7 @@
|
||||||
<div class="details-pageconetent-left">
|
<div class="details-pageconetent-left">
|
||||||
<detailsPageconetentTree />
|
<detailsPageconetentTree />
|
||||||
</div>
|
</div>
|
||||||
<div class="top" v-if="Cardsname != '知识库' && Cardsname != '数据资源'">
|
<div class="top" v-if="Cardsname != '云网资源' && Cardsname != '数据资源'">
|
||||||
<div class="top-title">
|
<div class="top-title">
|
||||||
<div
|
<div
|
||||||
v-for="item in titleName"
|
v-for="item in titleName"
|
||||||
|
@ -546,9 +542,7 @@
|
||||||
<!-- todo -->
|
<!-- todo -->
|
||||||
<template
|
<template
|
||||||
v-if="
|
v-if="
|
||||||
Cardsname == '组件服务' ||
|
Cardsname == 'GIS图层' || Cardsname == '应用系统' || Cardsname == ''
|
||||||
Cardsname == '应用资源' ||
|
|
||||||
Cardsname == ''
|
|
||||||
"
|
"
|
||||||
>
|
>
|
||||||
<div class="top-content-son">
|
<div class="top-content-son">
|
||||||
|
@ -741,7 +735,7 @@
|
||||||
import KnowledgeBase from '@/views/home/components/KnowledgeBase.vue'
|
import KnowledgeBase from '@/views/home/components/KnowledgeBase.vue'
|
||||||
// 数据资源引用
|
// 数据资源引用
|
||||||
import DetailsPageResource from '@/views/home/components/DetailsPageResource.vue'
|
import DetailsPageResource from '@/views/home/components/DetailsPageResource.vue'
|
||||||
// 基础设施引用
|
// 视频资源引用
|
||||||
import infrastructurePage from '@/views/home/infrastructurePage.vue'
|
import infrastructurePage from '@/views/home/infrastructurePage.vue'
|
||||||
import detailsPageInfrastructureTree from '@/views/home/detailsPageInfrastructureTree.vue'
|
import detailsPageInfrastructureTree from '@/views/home/detailsPageInfrastructureTree.vue'
|
||||||
import { DETAIL_PAGE_CONTENT_DEFAULT_TAB } from '@/global/GlobalConfig.js'
|
import { DETAIL_PAGE_CONTENT_DEFAULT_TAB } from '@/global/GlobalConfig.js'
|
||||||
|
@ -788,7 +782,7 @@
|
||||||
router.currentRoute.value.query.select ||
|
router.currentRoute.value.query.select ||
|
||||||
DETAIL_PAGE_CONTENT_DEFAULT_TAB
|
DETAIL_PAGE_CONTENT_DEFAULT_TAB
|
||||||
console.log('select------------>', select)
|
console.log('select------------>', select)
|
||||||
// 例如:组件服务是大类型,selectSubType是组件服务的智能算法或图层服务等...
|
// 例如:GIS图层是大类型,selectSubType是GIS图层的智能算法或图层服务等...
|
||||||
const selectSubType = router.currentRoute.value.query.type || ''
|
const selectSubType = router.currentRoute.value.query.type || ''
|
||||||
const queryName = ref('')
|
const queryName = ref('')
|
||||||
const str = router.currentRoute.value.query.str
|
const str = router.currentRoute.value.query.str
|
||||||
|
@ -1083,9 +1077,9 @@
|
||||||
ListContentCopy.value = JSON.parse(JSON.stringify(dataCopy))
|
ListContentCopy.value = JSON.parse(JSON.stringify(dataCopy))
|
||||||
ListContent.records = []
|
ListContent.records = []
|
||||||
ListContent.records = JSON.parse(JSON.stringify(dataCopy))
|
ListContent.records = JSON.parse(JSON.stringify(dataCopy))
|
||||||
if (select == '组件服务') {
|
if (select == 'GIS图层') {
|
||||||
queryName.value = '组件类型'
|
queryName.value = '组件类型'
|
||||||
} else if (select == '应用资源') {
|
} else if (select == '应用系统') {
|
||||||
queryName.value = '应用领域'
|
queryName.value = '应用领域'
|
||||||
} else {
|
} else {
|
||||||
queryName.value = ''
|
queryName.value = ''
|
||||||
|
@ -1133,7 +1127,7 @@
|
||||||
const resourceList = reactive({ data: [] })
|
const resourceList = reactive({ data: [] })
|
||||||
const videoList = reactive({ data: [] })
|
const videoList = reactive({ data: [] })
|
||||||
const resourceTotal = ref('')
|
const resourceTotal = ref('')
|
||||||
// 全局搜索
|
// 全文检索
|
||||||
const camera = ref(null)
|
const camera = ref(null)
|
||||||
const globalData = reactive({ data: [] })
|
const globalData = reactive({ data: [] })
|
||||||
const globalFlag = ref(false)
|
const globalFlag = ref(false)
|
||||||
|
@ -1145,21 +1139,21 @@
|
||||||
let r = null
|
let r = null
|
||||||
if (
|
if (
|
||||||
searchValue.value.length >= 2 &&
|
searchValue.value.length >= 2 &&
|
||||||
paramsGetResources.type !== '基础设施'
|
paramsGetResources.type !== '视频资源'
|
||||||
) {
|
) {
|
||||||
str = searchValue.value.substring(0, 2)
|
str = searchValue.value.substring(0, 2)
|
||||||
r = re.test(str)
|
r = re.test(str)
|
||||||
}
|
}
|
||||||
if (
|
if (
|
||||||
(searchValue.value.length > 1 && r) ||
|
(searchValue.value.length > 1 && r) ||
|
||||||
paramsGetResources.type === '基础设施'
|
paramsGetResources.type === '视频资源'
|
||||||
) {
|
) {
|
||||||
flag = false
|
flag = false
|
||||||
} else {
|
} else {
|
||||||
flag = true
|
flag = true
|
||||||
}
|
}
|
||||||
getCountByFuzzyQuery(searchValue.value || '', flag).then((res) => {
|
getCountByFuzzyQuery(searchValue.value || '', flag).then((res) => {
|
||||||
console.log('全局搜索==========》', res.data.data)
|
console.log('全文检索==========》', res.data.data)
|
||||||
globalData.data = res.data.data
|
globalData.data = res.data.data
|
||||||
let mapFlag = true
|
let mapFlag = true
|
||||||
res.data.data.map((val) => {
|
res.data.data.map((val) => {
|
||||||
|
@ -1171,7 +1165,7 @@
|
||||||
if (!mapFlag) {
|
if (!mapFlag) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
if (paramsGetResources.type == '基础设施') {
|
if (paramsGetResources.type == '视频资源') {
|
||||||
console.log('camera1', camera.value)
|
console.log('camera1', camera.value)
|
||||||
camera.value.getCamera(true, searchValue.value)
|
camera.value.getCamera(true, searchValue.value)
|
||||||
} else {
|
} else {
|
||||||
|
@ -1183,7 +1177,7 @@
|
||||||
)
|
)
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
message.warning('全局搜索必须输入关键词!')
|
message.warning('全文检索必须输入关键词!')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// 校验
|
// 校验
|
||||||
|
@ -1202,7 +1196,7 @@
|
||||||
mybus.emit('changeRoomInput', searchValue.value)
|
mybus.emit('changeRoomInput', searchValue.value)
|
||||||
if (
|
if (
|
||||||
whoShow1.value.itShowQingDao &&
|
whoShow1.value.itShowQingDao &&
|
||||||
paramsGetResources.type == '基础设施'
|
paramsGetResources.type == '视频资源'
|
||||||
) {
|
) {
|
||||||
console.log('camera2', camera)
|
console.log('camera2', camera)
|
||||||
camera.value.getCamera(true, searchValue.value)
|
camera.value.getCamera(true, searchValue.value)
|
||||||
|
@ -1220,7 +1214,7 @@
|
||||||
}
|
}
|
||||||
select = router.currentRoute.value.query.select
|
select = router.currentRoute.value.query.select
|
||||||
if (
|
if (
|
||||||
(select == '应用资源' &&
|
(select == '应用系统' &&
|
||||||
(paramsGetResources.orderField == '' ||
|
(paramsGetResources.orderField == '' ||
|
||||||
paramsGetResources.orderField == 'deptSort' ||
|
paramsGetResources.orderField == 'deptSort' ||
|
||||||
paramsGetResources.orderField == 'pin_top')) ||
|
paramsGetResources.orderField == 'pin_top')) ||
|
||||||
|
@ -1259,14 +1253,14 @@
|
||||||
let r = null
|
let r = null
|
||||||
if (
|
if (
|
||||||
searchValue.value.length >= 2 &&
|
searchValue.value.length >= 2 &&
|
||||||
paramsGetResources.type !== '基础设施'
|
paramsGetResources.type !== '视频资源'
|
||||||
) {
|
) {
|
||||||
str = searchValue.value.substring(0, 2)
|
str = searchValue.value.substring(0, 2)
|
||||||
r = re.test(str)
|
r = re.test(str)
|
||||||
}
|
}
|
||||||
if (
|
if (
|
||||||
(searchValue.value.length > 1 && r) ||
|
(searchValue.value.length > 1 && r) ||
|
||||||
paramsGetResources.type === '基础设施'
|
paramsGetResources.type === '视频资源'
|
||||||
) {
|
) {
|
||||||
paramsGetResources.nonChinese = false
|
paramsGetResources.nonChinese = false
|
||||||
paramsGetResources.name = searchValue.value
|
paramsGetResources.name = searchValue.value
|
||||||
|
@ -1308,7 +1302,7 @@
|
||||||
})
|
})
|
||||||
} else if (
|
} else if (
|
||||||
paramsGetResources.type !== '数据资源' &&
|
paramsGetResources.type !== '数据资源' &&
|
||||||
(paramsGetResources.type !== '基础设施' ||
|
(paramsGetResources.type !== '视频资源' ||
|
||||||
!whoShow1.value.itShowXiHaiAn)
|
!whoShow1.value.itShowXiHaiAn)
|
||||||
) {
|
) {
|
||||||
if (switchIndex != '分页查询') {
|
if (switchIndex != '分页查询') {
|
||||||
|
@ -1325,7 +1319,7 @@
|
||||||
)
|
)
|
||||||
resourceList.data = []
|
resourceList.data = []
|
||||||
videoList.data = []
|
videoList.data = []
|
||||||
if (Cardsname.value === '基础设施') {
|
if (Cardsname.value === '视频资源') {
|
||||||
resourceList.data = res.data.data.records || []
|
resourceList.data = res.data.data.records || []
|
||||||
resourceTotal.value = res.data.data.total || ''
|
resourceTotal.value = res.data.data.total || ''
|
||||||
loading.value = false
|
loading.value = false
|
||||||
|
@ -1335,7 +1329,7 @@
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
} else if (
|
} else if (
|
||||||
paramsGetResources.type === '基础设施' &&
|
paramsGetResources.type === '视频资源' &&
|
||||||
whoShow1.value.itShowXiHaiAn
|
whoShow1.value.itShowXiHaiAn
|
||||||
) {
|
) {
|
||||||
if (switchIndex != '分页查询') {
|
if (switchIndex != '分页查询') {
|
||||||
|
@ -1386,7 +1380,7 @@
|
||||||
})
|
})
|
||||||
} else if (
|
} else if (
|
||||||
paramsGetResources.type !== '数据资源' &&
|
paramsGetResources.type !== '数据资源' &&
|
||||||
(paramsGetResources.type !== '基础设施' ||
|
(paramsGetResources.type !== '视频资源' ||
|
||||||
!whoShow1.value.itShowXiHaiAn)
|
!whoShow1.value.itShowXiHaiAn)
|
||||||
) {
|
) {
|
||||||
if (switchIndex != '分页查询') {
|
if (switchIndex != '分页查询') {
|
||||||
|
@ -1403,7 +1397,7 @@
|
||||||
)
|
)
|
||||||
resourceList.data = []
|
resourceList.data = []
|
||||||
videoList.data = []
|
videoList.data = []
|
||||||
if (Cardsname.value === '基础设施') {
|
if (Cardsname.value === '视频资源') {
|
||||||
resourceList.data = res.data.data.records || []
|
resourceList.data = res.data.data.records || []
|
||||||
resourceTotal.value = res.data.data.total || ''
|
resourceTotal.value = res.data.data.total || ''
|
||||||
loading.value = false
|
loading.value = false
|
||||||
|
@ -1413,7 +1407,7 @@
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
} else if (
|
} else if (
|
||||||
paramsGetResources.type === '基础设施' &&
|
paramsGetResources.type === '视频资源' &&
|
||||||
whoShow1.value.itShowXiHaiAn
|
whoShow1.value.itShowXiHaiAn
|
||||||
) {
|
) {
|
||||||
if (switchIndex != '分页查询') {
|
if (switchIndex != '分页查询') {
|
||||||
|
@ -1465,7 +1459,7 @@
|
||||||
})
|
})
|
||||||
} else if (
|
} else if (
|
||||||
paramsGetResources.type !== '数据资源' &&
|
paramsGetResources.type !== '数据资源' &&
|
||||||
(paramsGetResources.type !== '基础设施' ||
|
(paramsGetResources.type !== '视频资源' ||
|
||||||
!whoShow1.value.itShowXiHaiAn)
|
!whoShow1.value.itShowXiHaiAn)
|
||||||
) {
|
) {
|
||||||
if (switchIndex != '分页查询') {
|
if (switchIndex != '分页查询') {
|
||||||
|
@ -1479,7 +1473,7 @@
|
||||||
)
|
)
|
||||||
resourceList.data = []
|
resourceList.data = []
|
||||||
videoList.data = []
|
videoList.data = []
|
||||||
if (Cardsname.value === '基础设施') {
|
if (Cardsname.value === '视频资源') {
|
||||||
resourceList.data = res.data.data.records || []
|
resourceList.data = res.data.data.records || []
|
||||||
resourceTotal.value = res.data.data.total || ''
|
resourceTotal.value = res.data.data.total || ''
|
||||||
loading.value = false
|
loading.value = false
|
||||||
|
@ -1489,7 +1483,7 @@
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
} else if (
|
} else if (
|
||||||
paramsGetResources.type === '基础设施' ||
|
paramsGetResources.type === '视频资源' ||
|
||||||
whoShow1.value.itShowXiHaiAn
|
whoShow1.value.itShowXiHaiAn
|
||||||
) {
|
) {
|
||||||
if (switchIndex != '分页查询') {
|
if (switchIndex != '分页查询') {
|
||||||
|
@ -1645,11 +1639,11 @@
|
||||||
const judgeHasSubSelectType = () => {
|
const judgeHasSubSelectType = () => {
|
||||||
if (selectSubType) {
|
if (selectSubType) {
|
||||||
paramsGetResources.infoList = []
|
paramsGetResources.infoList = []
|
||||||
if (select == '组件服务') {
|
if (select == 'GIS图层') {
|
||||||
queryName.value = '组件类型'
|
queryName.value = '组件类型'
|
||||||
} else if (select == '应用资源') {
|
} else if (select == '应用系统') {
|
||||||
queryName.value = '应用领域'
|
queryName.value = '应用领域'
|
||||||
} else if (select == '基础设施') {
|
} else if (select == '视频资源') {
|
||||||
searchType.value = selectSubType
|
searchType.value = selectSubType
|
||||||
} else {
|
} else {
|
||||||
queryName.value = selectSubType
|
queryName.value = selectSubType
|
||||||
|
@ -1718,7 +1712,7 @@
|
||||||
// 西海岸-特殊处理
|
// 西海岸-特殊处理
|
||||||
if (whoShow1.value.itShowXiHaiAn) {
|
if (whoShow1.value.itShowXiHaiAn) {
|
||||||
if (
|
if (
|
||||||
name !== '基础设施' &&
|
name !== '视频资源' &&
|
||||||
!xhaHasPermissionUser.list.includes(user.value.username)
|
!xhaHasPermissionUser.list.includes(user.value.username)
|
||||||
) {
|
) {
|
||||||
return message.warn('暂无权限')
|
return message.warn('暂无权限')
|
||||||
|
@ -1768,7 +1762,7 @@
|
||||||
const abilitySquareFunction = (e) => {
|
const abilitySquareFunction = (e) => {
|
||||||
let snumSquare = ref({})
|
let snumSquare = ref({})
|
||||||
if (e === '应用广场') {
|
if (e === '应用广场') {
|
||||||
abilitySquareFunctionData.value = '应用资源'
|
abilitySquareFunctionData.value = '应用系统'
|
||||||
} else if (e === '算法广场') {
|
} else if (e === '算法广场') {
|
||||||
abilitySquareFunctionData.value = '智能算法'
|
abilitySquareFunctionData.value = '智能算法'
|
||||||
} else if (e === 'GIS广场') {
|
} else if (e === 'GIS广场') {
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
/>
|
/>
|
||||||
<div class="nav-box">
|
<div class="nav-box">
|
||||||
<a-breadcrumb>
|
<a-breadcrumb>
|
||||||
<a-breadcrumb-item>能力集市</a-breadcrumb-item>
|
<a-breadcrumb-item>能力超市</a-breadcrumb-item>
|
||||||
<a-breadcrumb-item>算法对比</a-breadcrumb-item>
|
<a-breadcrumb-item>算法对比</a-breadcrumb-item>
|
||||||
</a-breadcrumb>
|
</a-breadcrumb>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -469,7 +469,7 @@
|
||||||
window.history.go(-1)
|
window.history.go(-1)
|
||||||
}
|
}
|
||||||
|
|
||||||
// 跳转到能力集市
|
// 跳转到能力超市
|
||||||
const jumpToDetailsPageconetent = () => {
|
const jumpToDetailsPageconetent = () => {
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
router.push({
|
router.push({
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
<div class="details-view">
|
<div class="details-view">
|
||||||
<div class="main">
|
<div class="main">
|
||||||
<div class="hander">
|
<div class="hander">
|
||||||
<span @click="previousPage" style="cursor: pointer">能力集市</span>
|
<span @click="previousPage" style="cursor: pointer">能力超市</span>
|
||||||
/
|
/
|
||||||
<span style="font-weight: 600; cursor: pointer">查看详情</span>
|
<span style="font-weight: 600; cursor: pointer">查看详情</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -10,8 +10,8 @@
|
||||||
<div class="name-bg" v-if="!itShowXiHaiAn"></div>
|
<div class="name-bg" v-if="!itShowXiHaiAn"></div>
|
||||||
<div class="name-bg-xihaian" v-else></div>
|
<div class="name-bg-xihaian" v-else></div>
|
||||||
<div class="name-content">
|
<div class="name-content">
|
||||||
<p>城市云脑通用能力服务平台</p>
|
<p>政务信息系统生态运营平台</p>
|
||||||
<p>(United Capacity System)</p>
|
<p>(Government information ecological operation platform)</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
|
@ -209,7 +209,7 @@
|
||||||
path: '/abilityStatistics',
|
path: '/abilityStatistics',
|
||||||
})
|
})
|
||||||
break
|
break
|
||||||
case '能力集市':
|
case '能力超市':
|
||||||
router.push({
|
router.push({
|
||||||
path: '/DetailsPageconetent',
|
path: '/DetailsPageconetent',
|
||||||
query: {
|
query: {
|
||||||
|
|
|
@ -1,15 +1,22 @@
|
||||||
|
/*
|
||||||
|
* @Author: Light
|
||||||
|
* @Date: 2022-09-14 10:48:25
|
||||||
|
* @LastEditors: Light
|
||||||
|
* @LastEditTime: 2022-11-01 15:56:52
|
||||||
|
* @Description: 告诉大家这是什么
|
||||||
|
*/
|
||||||
export const titleNameArray = [
|
export const titleNameArray = [
|
||||||
{
|
{
|
||||||
photo: require('@/assets/newHome/banner-yy.png'),
|
photo: require('@/assets/newHome/banner-yy.png'),
|
||||||
name: '应用资源',
|
name: '应用系统',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
photo: require('@/assets/newHome/banner-zj.png'),
|
photo: require('@/assets/newHome/banner-zj.png'),
|
||||||
name: '组件服务',
|
name: 'GIS图层',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
photo: require('@/assets/newHome/banner-jc.png'),
|
photo: require('@/assets/newHome/banner-jc.png'),
|
||||||
name: '基础设施',
|
name: '视频资源',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
photo: require('@/assets/newHome/banner-sj.png'),
|
photo: require('@/assets/newHome/banner-sj.png'),
|
||||||
|
@ -17,7 +24,7 @@ export const titleNameArray = [
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
photo: require('@/assets/newHome/banner-zs.png'),
|
photo: require('@/assets/newHome/banner-zs.png'),
|
||||||
name: '知识库',
|
name: '云网资源',
|
||||||
},
|
},
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
|
@ -169,6 +169,7 @@
|
||||||
}
|
}
|
||||||
switch (val.type) {
|
switch (val.type) {
|
||||||
case '市级':
|
case '市级':
|
||||||
|
case '省级':
|
||||||
case '企业':
|
case '企业':
|
||||||
case '其他':
|
case '其他':
|
||||||
generateChildren(val, obj)
|
generateChildren(val, obj)
|
||||||
|
@ -222,7 +223,6 @@
|
||||||
})
|
})
|
||||||
// 生成children
|
// 生成children
|
||||||
const generateChildren = (val, obj) => {
|
const generateChildren = (val, obj) => {
|
||||||
|
|
||||||
if (val.dataList.length > 0) {
|
if (val.dataList.length > 0) {
|
||||||
val.dataList.forEach((child) => {
|
val.dataList.forEach((child) => {
|
||||||
let children = {
|
let children = {
|
||||||
|
@ -239,7 +239,6 @@
|
||||||
}
|
}
|
||||||
// 区级特殊处理
|
// 区级特殊处理
|
||||||
const generateChildren2 = (val, obj) => {
|
const generateChildren2 = (val, obj) => {
|
||||||
|
|
||||||
if (val.dataList.length > 0) {
|
if (val.dataList.length > 0) {
|
||||||
val.dataList.forEach((dis) => {
|
val.dataList.forEach((dis) => {
|
||||||
let children = {
|
let children = {
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
<div class="TheOverallProcess-title-line"></div>
|
<div class="TheOverallProcess-title-line"></div>
|
||||||
</div>
|
</div>
|
||||||
<div class="TheOverallProcess-content">
|
<div class="TheOverallProcess-content">
|
||||||
<span class="neng-li-ji-shi">能力集市</span>
|
<span class="neng-li-ji-shi">能力超市</span>
|
||||||
<span class="neng-li-cha-yue">能力查阅</span>
|
<span class="neng-li-cha-yue">能力查阅</span>
|
||||||
<span class="shen-he-fa-bu-xia-jia">审核发布/下架</span>
|
<span class="shen-he-fa-bu-xia-jia">审核发布/下架</span>
|
||||||
<span class="shen-qing">申请</span>
|
<span class="shen-qing">申请</span>
|
||||||
|
|
|
@ -257,7 +257,7 @@
|
||||||
path: '/DetailsPageconetent',
|
path: '/DetailsPageconetent',
|
||||||
query: {
|
query: {
|
||||||
// select: '组件服务',
|
// select: '组件服务',
|
||||||
select: DETAIL_PAGE_CONTENT_DEFAULT_TAB
|
select: DETAIL_PAGE_CONTENT_DEFAULT_TAB,
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
window.location.href = newpage.href
|
window.location.href = newpage.href
|
||||||
|
|
|
@ -7,20 +7,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="bottom">
|
<div class="bottom">
|
||||||
<div class="item">
|
<div class="item">
|
||||||
<div class="zj">组件服务</div>
|
<div class="yy">应用系统</div>
|
||||||
<div
|
|
||||||
class="name"
|
|
||||||
v-for="(item, index) in zjList.slice(0, 5)"
|
|
||||||
:key="item.name"
|
|
||||||
:class="index == 4 ? 'name-last' : ''"
|
|
||||||
@click="selectOne1(item.name)"
|
|
||||||
>
|
|
||||||
{{ item.name + '-' + item.num + '项' }}
|
|
||||||
</div>
|
|
||||||
<div class="btn" @click="jumpPage('组件服务')">查看更多</div>
|
|
||||||
</div>
|
|
||||||
<div class="item">
|
|
||||||
<div class="yy">应用资源</div>
|
|
||||||
<div
|
<div
|
||||||
class="name"
|
class="name"
|
||||||
v-for="(item, index) in yyList.slice(0, 5)"
|
v-for="(item, index) in yyList.slice(0, 5)"
|
||||||
|
@ -28,12 +15,27 @@
|
||||||
:class="index == 4 ? 'name-last' : ''"
|
:class="index == 4 ? 'name-last' : ''"
|
||||||
@click="selectOne11(item.name)"
|
@click="selectOne11(item.name)"
|
||||||
>
|
>
|
||||||
{{ item.name + '-' + item.num + '项' }}
|
<!-- {{ item.name + '-' + item.num + '项' }} -->
|
||||||
|
{{ index + 1 }}-{{ item.name }}
|
||||||
</div>
|
</div>
|
||||||
<div class="btn" @click="jumpPage('应用资源')">查看更多</div>
|
<div class="btn" @click="jumpPage('应用系统')">查看更多</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="item">
|
<div class="item">
|
||||||
<div class="jc">基础设施</div>
|
<div class="zj">GIS图层</div>
|
||||||
|
<div
|
||||||
|
class="name"
|
||||||
|
v-for="(item, index) in zjList.slice(0, 5)"
|
||||||
|
:key="item.name"
|
||||||
|
:class="index == 4 ? 'name-last' : ''"
|
||||||
|
@click="selectOne1(item.name)"
|
||||||
|
>
|
||||||
|
<!-- {{ item.name + '-' + item.num + '项' }} -->
|
||||||
|
{{ index + 1 }}-{{ item.name }}
|
||||||
|
</div>
|
||||||
|
<div class="btn" @click="jumpPage('GIS图层')">查看更多</div>
|
||||||
|
</div>
|
||||||
|
<div class="item">
|
||||||
|
<div class="jc">视频资源</div>
|
||||||
<div
|
<div
|
||||||
class="name"
|
class="name"
|
||||||
v-for="(item, index) in jcList.slice(0, 5)"
|
v-for="(item, index) in jcList.slice(0, 5)"
|
||||||
|
@ -41,7 +43,7 @@
|
||||||
:class="index == 2 ? 'name-last' : ''"
|
:class="index == 2 ? 'name-last' : ''"
|
||||||
@click="selectOne2(item.name)"
|
@click="selectOne2(item.name)"
|
||||||
>
|
>
|
||||||
{{
|
<!-- {{
|
||||||
item.name +
|
item.name +
|
||||||
'-' +
|
'-' +
|
||||||
item.num +
|
item.num +
|
||||||
|
@ -50,9 +52,10 @@
|
||||||
: item.name == '视频会议'
|
: item.name == '视频会议'
|
||||||
? '个'
|
? '个'
|
||||||
: '项')
|
: '项')
|
||||||
}}
|
}} -->
|
||||||
|
{{ index + 1 }}-{{ item.name }}
|
||||||
</div>
|
</div>
|
||||||
<div class="btn" @click="jumpPage('基础设施')">查看更多</div>
|
<div class="btn" @click="jumpPage('视频资源')">查看更多</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="item">
|
<div class="item">
|
||||||
<div class="sj">数据资源</div>
|
<div class="sj">数据资源</div>
|
||||||
|
@ -63,12 +66,13 @@
|
||||||
:class="index == 4 ? 'name-last' : ''"
|
:class="index == 4 ? 'name-last' : ''"
|
||||||
@click="selectOne3(item.name)"
|
@click="selectOne3(item.name)"
|
||||||
>
|
>
|
||||||
|
<!-- {{ index + 1 }}-{{ item.name }} -->
|
||||||
{{ index + 1 }}-{{ item.name }}
|
{{ index + 1 }}-{{ item.name }}
|
||||||
</div>
|
</div>
|
||||||
<div class="btn" @click="jumpPage('数据资源')">查看更多</div>
|
<div class="btn" @click="jumpPage('数据资源')">查看更多</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="item">
|
<div class="item">
|
||||||
<div class="zs">知识库</div>
|
<div class="zs">云网资源</div>
|
||||||
<div
|
<div
|
||||||
class="name"
|
class="name"
|
||||||
v-for="(item, index) in zsList"
|
v-for="(item, index) in zsList"
|
||||||
|
@ -78,7 +82,7 @@
|
||||||
>
|
>
|
||||||
{{ index + 1 }}-{{ item.name }}
|
{{ index + 1 }}-{{ item.name }}
|
||||||
</div>
|
</div>
|
||||||
<div class="btn" @click="jumpPage('知识库')">查看更多</div>
|
<div class="btn" @click="jumpPage('云网资源')">查看更多</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -104,7 +108,7 @@
|
||||||
const jcList = ref([])
|
const jcList = ref([])
|
||||||
const sjList = ref([])
|
const sjList = ref([])
|
||||||
const yyList = ref([])
|
const yyList = ref([])
|
||||||
// 知识库模块数据
|
// 云网资源模块数据
|
||||||
const zsList = ref([])
|
const zsList = ref([])
|
||||||
// const jcList = ref([])
|
// const jcList = ref([])
|
||||||
const paramsGetResources = {
|
const paramsGetResources = {
|
||||||
|
@ -131,131 +135,196 @@
|
||||||
const getAppResources = (type, obj) => {
|
const getAppResources = (type, obj) => {
|
||||||
paramsGetResources.type = type
|
paramsGetResources.type = type
|
||||||
if (type === '数据资源' && !whoShow1.value.itShowBaoTou) {
|
if (type === '数据资源' && !whoShow1.value.itShowBaoTou) {
|
||||||
getDataResource({
|
sjList.value = [
|
||||||
serviceName: paramsGetResources.name || '', //资源名称
|
{
|
||||||
orderField: whoShow1.value.itShowQingDao ? 'fbrq' : 'createTime', //排序字段
|
name: '阿斯蒂芬',
|
||||||
orderType: paramsGetResources.orderType.toLowerCase(), //排序方式:desc,asc
|
},
|
||||||
pageNum: paramsGetResources.pageNum, //页码
|
{
|
||||||
pageSize: paramsGetResources.pageSize, //分页大小
|
name: '阿斯蒂芬',
|
||||||
}).then((res) => {
|
},
|
||||||
console.log('数据资源==================>', res.data.data)
|
{
|
||||||
if (whoShow1.value.itShowQingDao) {
|
name: '阿斯蒂芬',
|
||||||
res.data.data.data.forEach((val) => {
|
},
|
||||||
val.id = val.guid // id
|
{
|
||||||
val.name = val.zyname // 名字
|
name: '阿斯蒂芬',
|
||||||
val.sjlCount = val.sjcczl // 数据量
|
},
|
||||||
val.applyCount = val.syqk // 申请量
|
{
|
||||||
val.deptName = val.TGBM // 部门
|
name: '阿斯蒂芬',
|
||||||
val.createDate = val.fbrq // 发布时间
|
},
|
||||||
val.description = val.xgxt // 描述
|
]
|
||||||
})
|
// getDataResource({
|
||||||
obj.value = res.data.data.data || []
|
// serviceName: paramsGetResources.name || '', //资源名称
|
||||||
object.sjNum = res.data.data.rows
|
// orderField: whoShow1.value.itShowQingDao ? 'fbrq' : 'createTime', //排序字段
|
||||||
} else if (whoShow1.value.itShowXiHaiAn) {
|
// orderType: paramsGetResources.orderType.toLowerCase(), //排序方式:desc,asc
|
||||||
res.data.data.list.forEach((val) => {
|
// pageNum: paramsGetResources.pageNum, //页码
|
||||||
val.id = val.serviceId // id
|
// pageSize: paramsGetResources.pageSize, //分页大小
|
||||||
val.name = val.serviceName // 名字
|
// }).then((res) => {
|
||||||
val.sjlCount = val.requestQuantity // 数据量
|
// console.log('数据资源==================>', res.data.data)
|
||||||
val.applyCount = val.requestCount // 申请量
|
// if (whoShow1.value.itShowQingDao) {
|
||||||
val.deptName = val.departmentName // 部门
|
// res.data.data.data.forEach((val) => {
|
||||||
val.createTime = val.createTime.split('.')[0]
|
// val.id = val.guid // id
|
||||||
val.createDate = val.createTime // 发布时间
|
// val.name = val.zyname // 名字
|
||||||
})
|
// val.sjlCount = val.sjcczl // 数据量
|
||||||
obj.value = res.data.data.list || []
|
// val.applyCount = val.syqk // 申请量
|
||||||
object.sjNum = res.data.data.total
|
// val.deptName = val.TGBM // 部门
|
||||||
}
|
// val.createDate = val.fbrq // 发布时间
|
||||||
})
|
// val.description = val.xgxt // 描述
|
||||||
|
// })
|
||||||
|
// obj.value = res.data.data.data || []
|
||||||
|
// object.sjNum = res.data.data.rows
|
||||||
|
// } else if (whoShow1.value.itShowXiHaiAn) {
|
||||||
|
// res.data.data.list.forEach((val) => {
|
||||||
|
// val.id = val.serviceId // id
|
||||||
|
// val.name = val.serviceName // 名字
|
||||||
|
// val.sjlCount = val.requestQuantity // 数据量
|
||||||
|
// val.applyCount = val.requestCount // 申请量
|
||||||
|
// val.deptName = val.departmentName // 部门
|
||||||
|
// val.createTime = val.createTime.split('.')[0]
|
||||||
|
// val.createDate = val.createTime // 发布时间
|
||||||
|
// })
|
||||||
|
// obj.value = res.data.data.list || []
|
||||||
|
// object.sjNum = res.data.data.total
|
||||||
|
// }
|
||||||
|
// })
|
||||||
} else {
|
} else {
|
||||||
let type = paramsGetResources.type
|
let type = paramsGetResources.type
|
||||||
|
|
||||||
if (type == '基础设施') {
|
if (type == '视频资源') {
|
||||||
jcList.value = []
|
jcList.value = [
|
||||||
selectInfrastructureList().then((res) => {
|
{
|
||||||
console.log('基础设施------res------>', res)
|
name: '阿斯蒂芬',
|
||||||
for (const key in res.data.data) {
|
},
|
||||||
if (whoShow1.value.itShowXiHaiAn) {
|
{
|
||||||
if (key === '视频资源') {
|
name: '阿斯蒂芬',
|
||||||
jcList.value.push({
|
},
|
||||||
name: key,
|
{
|
||||||
num: res.data.data[key],
|
name: '阿斯蒂芬',
|
||||||
})
|
},
|
||||||
}
|
{
|
||||||
} else {
|
name: '阿斯蒂芬',
|
||||||
jcList.value.push({
|
},
|
||||||
name: key,
|
{
|
||||||
num: res.data.data[key],
|
name: '阿斯蒂芬',
|
||||||
})
|
},
|
||||||
}
|
]
|
||||||
}
|
// selectInfrastructureList().then((res) => {
|
||||||
|
// console.log('视频资源------res------>', res)
|
||||||
|
// for (const key in res.data.data) {
|
||||||
|
// if (whoShow1.value.itShowXiHaiAn) {
|
||||||
|
// if (key === '视频资源') {
|
||||||
// jcList.value.push({
|
// jcList.value.push({
|
||||||
// name: '会客厅',
|
// name: key,
|
||||||
// num: 4,
|
// num: res.data.data[key],
|
||||||
|
// })
|
||||||
|
// }
|
||||||
|
// } else {
|
||||||
|
// jcList.value.push({
|
||||||
|
// name: key,
|
||||||
|
// num: res.data.data[key],
|
||||||
|
// })
|
||||||
|
// }
|
||||||
|
// }
|
||||||
|
// // jcList.value.push({
|
||||||
|
// // name: '会客厅',
|
||||||
|
// // num: 4,
|
||||||
|
// // })
|
||||||
|
// // 西海岸-单兵设备、无人机 获取数量
|
||||||
|
// if (whoShow1.value.itShowXiHaiAn) {
|
||||||
|
// getSoldierData('无人机')
|
||||||
|
// .then((res) => {
|
||||||
|
// let { total = 0 } = res.data.data
|
||||||
|
// jcList.value.push({
|
||||||
|
// name: '无人机',
|
||||||
|
// num: total,
|
||||||
|
// })
|
||||||
|
// })
|
||||||
|
// .catch((err) => {
|
||||||
|
// console.log('err--无人机---------->', err)
|
||||||
|
// })
|
||||||
|
// getSoldierData('单兵设备')
|
||||||
|
// .then((res) => {
|
||||||
|
// let { total = 0 } = res.data.data
|
||||||
|
// jcList.value.push({
|
||||||
|
// name: '单兵设备',
|
||||||
|
// num: total,
|
||||||
|
// })
|
||||||
|
// })
|
||||||
|
// .catch((err) => {
|
||||||
|
// console.log('err--单兵设备---------->', err)
|
||||||
|
// })
|
||||||
|
// }
|
||||||
|
// })
|
||||||
|
} else if (type == 'GIS图层') {
|
||||||
|
zjList.value = [
|
||||||
|
{
|
||||||
|
name: '阿斯蒂芬',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: '阿斯蒂芬',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: '阿斯蒂芬',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: '阿斯蒂芬',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: '阿斯蒂芬',
|
||||||
|
},
|
||||||
|
]
|
||||||
|
// selectCollectComponentList().then((res) => {
|
||||||
|
// console.log('GIS图层----res-------->', res)
|
||||||
|
// for (const key in res.data.data) {
|
||||||
|
// console.log('key------------>', key)
|
||||||
|
// zjList.value.push({
|
||||||
|
// name: key,
|
||||||
|
// num: res.data.data[key],
|
||||||
|
// })
|
||||||
|
// }
|
||||||
|
// console.log('zjList------------>', zjList)
|
||||||
|
// })
|
||||||
|
} else if (type == '应用系统') {
|
||||||
|
yyList.value = [
|
||||||
|
{
|
||||||
|
name: '阿斯蒂芬',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: '阿斯蒂芬',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: '阿斯蒂芬',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: '阿斯蒂芬',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: '阿斯蒂芬',
|
||||||
|
},
|
||||||
|
]
|
||||||
|
// selectCollectResourceList().then((res) => {
|
||||||
|
// console.log('应用系统---res--------->', res)
|
||||||
|
// for (const key in res.data.data) {
|
||||||
|
// yyList.value.push({
|
||||||
|
// name: key,
|
||||||
|
// num: res.data.data[key],
|
||||||
|
// })
|
||||||
|
// }
|
||||||
// })
|
// })
|
||||||
// 西海岸-单兵设备、无人机 获取数量
|
|
||||||
if (whoShow1.value.itShowXiHaiAn) {
|
|
||||||
getSoldierData('无人机')
|
|
||||||
.then((res) => {
|
|
||||||
let { total = 0 } = res.data.data
|
|
||||||
jcList.value.push({
|
|
||||||
name: '无人机',
|
|
||||||
num: total,
|
|
||||||
})
|
|
||||||
})
|
|
||||||
.catch((err) => {
|
|
||||||
console.log('err--无人机---------->', err)
|
|
||||||
})
|
|
||||||
getSoldierData('单兵设备')
|
|
||||||
.then((res) => {
|
|
||||||
let { total = 0 } = res.data.data
|
|
||||||
jcList.value.push({
|
|
||||||
name: '单兵设备',
|
|
||||||
num: total,
|
|
||||||
})
|
|
||||||
})
|
|
||||||
.catch((err) => {
|
|
||||||
console.log('err--单兵设备---------->', err)
|
|
||||||
})
|
|
||||||
}
|
|
||||||
})
|
|
||||||
} else if (type == '组件服务') {
|
|
||||||
zjList.value = []
|
|
||||||
selectCollectComponentList().then((res) => {
|
|
||||||
console.log('组件服务----res-------->', res)
|
|
||||||
for (const key in res.data.data) {
|
|
||||||
console.log('key------------>', key)
|
|
||||||
zjList.value.push({
|
|
||||||
name: key,
|
|
||||||
num: res.data.data[key],
|
|
||||||
})
|
|
||||||
}
|
|
||||||
console.log('zjList------------>', zjList)
|
|
||||||
})
|
|
||||||
} else if (type == '应用资源') {
|
|
||||||
yyList.value = []
|
|
||||||
selectCollectResourceList().then((res) => {
|
|
||||||
console.log('应用资源---res--------->', res)
|
|
||||||
for (const key in res.data.data) {
|
|
||||||
yyList.value.push({
|
|
||||||
name: key,
|
|
||||||
num: res.data.data[key],
|
|
||||||
})
|
|
||||||
}
|
|
||||||
})
|
|
||||||
} else {
|
} else {
|
||||||
pageWithAttrs(paramsGetResources).then((res) => {
|
pageWithAttrs(paramsGetResources).then((res) => {
|
||||||
console.log('object个数======>', type)
|
console.log('object个数======>', type)
|
||||||
obj.value = res.data.data.records
|
obj.value = res.data.data.records
|
||||||
switch (type) {
|
switch (type) {
|
||||||
case '组件服务':
|
case 'GIS图层':
|
||||||
assignmentMethod('zjNum', res)
|
assignmentMethod('zjNum', res)
|
||||||
break
|
break
|
||||||
case '应用资源':
|
case '应用系统':
|
||||||
assignmentMethod('yyNum', res)
|
assignmentMethod('yyNum', res)
|
||||||
break
|
break
|
||||||
case '基础设施':
|
case '视频资源':
|
||||||
assignmentMethod('jcNum', res)
|
assignmentMethod('jcNum', res)
|
||||||
break
|
break
|
||||||
case '知识库':
|
case '云网资源':
|
||||||
assignmentMethod('zsNum', res)
|
assignmentMethod('zsNum', res)
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
|
@ -308,11 +377,11 @@
|
||||||
const assignmentMethod = (type, res) => {
|
const assignmentMethod = (type, res) => {
|
||||||
object[type] = res.data.data.total
|
object[type] = res.data.data.total
|
||||||
}
|
}
|
||||||
getAppResources('组件服务', zjList)
|
getAppResources('GIS图层', zjList)
|
||||||
getAppResources('应用资源', yyList)
|
getAppResources('应用系统', yyList)
|
||||||
getAppResources('基础设施', jcList)
|
getAppResources('视频资源', jcList)
|
||||||
getAppResources('数据资源', sjList)
|
getAppResources('数据资源', sjList)
|
||||||
getAppResources('知识库', zsList)
|
getAppResources('云网资源', zsList)
|
||||||
|
|
||||||
function jumpPage(type) {
|
function jumpPage(type) {
|
||||||
// 点击内存入store
|
// 点击内存入store
|
||||||
|
@ -345,7 +414,7 @@
|
||||||
path: '/DetailsPageconetent',
|
path: '/DetailsPageconetent',
|
||||||
query: {
|
query: {
|
||||||
type: name,
|
type: name,
|
||||||
select: '组件服务',
|
select: 'GIS图层',
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
@ -354,7 +423,7 @@
|
||||||
path: '/DetailsPageconetent',
|
path: '/DetailsPageconetent',
|
||||||
query: {
|
query: {
|
||||||
type: name,
|
type: name,
|
||||||
select: '应用资源',
|
select: '应用系统',
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
@ -371,7 +440,7 @@
|
||||||
path: '/DetailsPageconetent',
|
path: '/DetailsPageconetent',
|
||||||
query: {
|
query: {
|
||||||
type: names,
|
type: names,
|
||||||
select: '基础设施',
|
select: '视频资源',
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
|
@ -36,7 +36,7 @@
|
||||||
const route = useRoute()
|
const route = useRoute()
|
||||||
const navList = ref([
|
const navList = ref([
|
||||||
{ name: '共享门户', key: 'home' },
|
{ name: '共享门户', key: 'home' },
|
||||||
{ name: '能力集市', key: 'DetailsPageconetent' },
|
{ name: '能力超市', key: 'DetailsPageconetent' },
|
||||||
{ name: '能力统计', key: 'abilityStatistics' },
|
{ name: '能力统计', key: 'abilityStatistics' },
|
||||||
{ name: '技术文档', key: 'developmentGuide' },
|
{ name: '技术文档', key: 'developmentGuide' },
|
||||||
{ name: '需求中心', key: 'demandCenter' },
|
{ name: '需求中心', key: 'demandCenter' },
|
||||||
|
@ -77,7 +77,7 @@
|
||||||
path: '/abilityStatistics',
|
path: '/abilityStatistics',
|
||||||
})
|
})
|
||||||
break
|
break
|
||||||
case '能力集市':
|
case '能力超市':
|
||||||
router.push({
|
router.push({
|
||||||
path: '/DetailsPageconetent',
|
path: '/DetailsPageconetent',
|
||||||
query: {
|
query: {
|
||||||
|
|
|
@ -161,13 +161,13 @@
|
||||||
const store = useStore()
|
const store = useStore()
|
||||||
const router = useRouter()
|
const router = useRouter()
|
||||||
const topList = ref([
|
const topList = ref([
|
||||||
'组件服务',
|
'应用系统',
|
||||||
'应用资源',
|
'GIS图层',
|
||||||
'基础设施',
|
'视频资源',
|
||||||
'数据资源',
|
'数据资源',
|
||||||
'知识库',
|
'云网资源',
|
||||||
])
|
])
|
||||||
const select = ref(whoShow.itShowQingDao ? '' : '组件服务')
|
const select = ref(whoShow.itShowQingDao ? '' : '应用系统')
|
||||||
let applicationDataList = ref([])
|
let applicationDataList = ref([])
|
||||||
let technosphereDataList = ref([])
|
let technosphereDataList = ref([])
|
||||||
const fabubumen = ref([
|
const fabubumen = ref([
|
||||||
|
|
|
@ -1,21 +1,10 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="navigation2">
|
<div class="navigation2">
|
||||||
<a-tooltip>
|
<a-tooltip>
|
||||||
<template #title>点击进入组件服务</template>
|
<template #title>点击进入应用系统</template>
|
||||||
<div class="item" @click="jumpPage('组件服务')">
|
<div class="item" @click="jumpPage('应用系统')">
|
||||||
<div class="img zj"></div>
|
|
||||||
<div class="name">组件服务</div>
|
|
||||||
<div class="sl">
|
|
||||||
<span class="num">{{ zjNum || 0 }}</span>
|
|
||||||
项
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</a-tooltip>
|
|
||||||
<a-tooltip>
|
|
||||||
<template #title>点击进入应用资源</template>
|
|
||||||
<div class="item" @click="jumpPage('应用资源')">
|
|
||||||
<div class="img yy"></div>
|
<div class="img yy"></div>
|
||||||
<div class="name">应用资源</div>
|
<div class="name">应用系统</div>
|
||||||
<div class="sl">
|
<div class="sl">
|
||||||
<span class="num">{{ yyNum || 0 }}</span>
|
<span class="num">{{ yyNum || 0 }}</span>
|
||||||
项
|
项
|
||||||
|
@ -23,10 +12,21 @@
|
||||||
</div>
|
</div>
|
||||||
</a-tooltip>
|
</a-tooltip>
|
||||||
<a-tooltip>
|
<a-tooltip>
|
||||||
<template #title>点击进入基础设施</template>
|
<template #title>点击进入GIS图层</template>
|
||||||
<div class="item" @click="jumpPage('基础设施')">
|
<div class="item" @click="jumpPage('GIS图层')">
|
||||||
|
<div class="img zj"></div>
|
||||||
|
<div class="name">GIS图层</div>
|
||||||
|
<div class="sl">
|
||||||
|
<span class="num">{{ zjNum || 0 }}</span>
|
||||||
|
项
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</a-tooltip>
|
||||||
|
<a-tooltip>
|
||||||
|
<template #title>点击进入视频资源</template>
|
||||||
|
<div class="item" @click="jumpPage('视频资源')">
|
||||||
<div class="img jc"></div>
|
<div class="img jc"></div>
|
||||||
<div class="name">基础设施</div>
|
<div class="name">视频资源</div>
|
||||||
<div class="sl">
|
<div class="sl">
|
||||||
<span class="num">{{ jcNum || 0 }}</span>
|
<span class="num">{{ jcNum || 0 }}</span>
|
||||||
项
|
项
|
||||||
|
@ -45,10 +45,10 @@
|
||||||
</div>
|
</div>
|
||||||
</a-tooltip>
|
</a-tooltip>
|
||||||
<a-tooltip>
|
<a-tooltip>
|
||||||
<template #title>点击进入知识库</template>
|
<template #title>点击进入云网资源</template>
|
||||||
<div class="item" @click="jumpPage('知识库')">
|
<div class="item" @click="jumpPage('云网资源')">
|
||||||
<div class="img zs"></div>
|
<div class="img zs"></div>
|
||||||
<div class="name">知识库</div>
|
<div class="name">云网资源</div>
|
||||||
<div class="sl">
|
<div class="sl">
|
||||||
<span class="num">{{ zsNum || 0 }}</span>
|
<span class="num">{{ zsNum || 0 }}</span>
|
||||||
条
|
条
|
||||||
|
@ -82,13 +82,13 @@
|
||||||
console.log('selectTotal===============>', res.data.data)
|
console.log('selectTotal===============>', res.data.data)
|
||||||
res.data.data.total.forEach((val) => {
|
res.data.data.total.forEach((val) => {
|
||||||
switch (val.type) {
|
switch (val.type) {
|
||||||
case '组件服务':
|
case 'GIS图层':
|
||||||
zjNum.value = val.count
|
zjNum.value = val.count
|
||||||
break
|
break
|
||||||
case '应用资源':
|
case '应用系统':
|
||||||
yyNum.value = val.count
|
yyNum.value = val.count
|
||||||
break
|
break
|
||||||
case '基础设施':
|
case '视频资源':
|
||||||
jcNum.value = val.count
|
jcNum.value = val.count
|
||||||
if (uavAndIndividualSoldier.num) {
|
if (uavAndIndividualSoldier.num) {
|
||||||
jcNum.value = jcNum.value - 0 + uavAndIndividualSoldier.num
|
jcNum.value = jcNum.value - 0 + uavAndIndividualSoldier.num
|
||||||
|
@ -97,7 +97,7 @@
|
||||||
case '数据资源':
|
case '数据资源':
|
||||||
sjNum.value = val.count
|
sjNum.value = val.count
|
||||||
break
|
break
|
||||||
case '知识库':
|
case '云网资源':
|
||||||
zsNum.value = val.count
|
zsNum.value = val.count
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
|
|
|
@ -92,17 +92,12 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div
|
<!-- <div
|
||||||
class="component-type"
|
class="component-type"
|
||||||
v-if="abilityToTypeFunctionData == '组件服务'"
|
v-if="abilityToTypeFunctionData == 'GIS图层'"
|
||||||
>
|
>
|
||||||
<div class="title">组件类型选择</div>
|
<div class="title">组件类型选择</div>
|
||||||
<div class="component-type-content">
|
<div class="component-type-content">
|
||||||
<!-- <a-checkbox-group
|
|
||||||
v-model:value="value1"
|
|
||||||
name="checkboxgroup"
|
|
||||||
:options="componentType"
|
|
||||||
/> -->
|
|
||||||
<a-radio-group v-model:value="componentTypeValue">
|
<a-radio-group v-model:value="componentTypeValue">
|
||||||
<a-radio
|
<a-radio
|
||||||
@click="componentTypeValueFunction(item)"
|
@click="componentTypeValueFunction(item)"
|
||||||
|
@ -114,7 +109,7 @@
|
||||||
</a-radio>
|
</a-radio>
|
||||||
</a-radio-group>
|
</a-radio-group>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div> -->
|
||||||
</a-modal>
|
</a-modal>
|
||||||
</div>
|
</div>
|
||||||
<!-- <div @click="showAbilitySquare">
|
<!-- <div @click="showAbilitySquare">
|
||||||
|
@ -169,23 +164,29 @@
|
||||||
// ])
|
// ])
|
||||||
//能力上架弹窗
|
//能力上架弹窗
|
||||||
function handlecancel() {
|
function handlecancel() {
|
||||||
abilityToTypeFunctionData.value = '组件服务'
|
abilityToTypeFunctionData.value = 'GIS图层'
|
||||||
componentTypeValue.value = ''
|
componentTypeValue.value = ''
|
||||||
}
|
}
|
||||||
let abilityToTypeFunctionData = ref('组件服务')
|
let abilityToTypeFunctionData = ref('GIS图层')
|
||||||
function abilityToTypeFunction(item) {
|
function abilityToTypeFunction(item) {
|
||||||
abilityToTypeFunctionData.value = item
|
abilityToTypeFunctionData.value = item
|
||||||
}
|
}
|
||||||
let abilityToType = ref(['组件服务', '应用资源'])
|
let abilityToType = ref([
|
||||||
let abilitySquare = ref(['智能算法', '图层服务', '应用资源'])
|
'应用系统',
|
||||||
let componentType = ref([
|
'GIS图层',
|
||||||
'智能算法',
|
'视频资源',
|
||||||
'图层服务',
|
'数据资源',
|
||||||
'开发组件',
|
'云网资源',
|
||||||
// '办公组件',
|
|
||||||
'业务组件',
|
|
||||||
// '其他',
|
|
||||||
])
|
])
|
||||||
|
let abilitySquare = ref(['智能算法', '图层服务', '应用系统'])
|
||||||
|
// let componentType = ref([
|
||||||
|
// '智能算法',
|
||||||
|
// '图层服务',
|
||||||
|
// '开发组件',
|
||||||
|
// // '办公组件',
|
||||||
|
// '业务组件',
|
||||||
|
// // '其他',
|
||||||
|
// ])
|
||||||
const visible = ref(false)
|
const visible = ref(false)
|
||||||
const showModal = () => {
|
const showModal = () => {
|
||||||
visible.value = true
|
visible.value = true
|
||||||
|
@ -207,7 +208,7 @@
|
||||||
let componentTypeValue = ref('')
|
let componentTypeValue = ref('')
|
||||||
const handleOk = (e) => {
|
const handleOk = (e) => {
|
||||||
let snum = ref({})
|
let snum = ref({})
|
||||||
if (abilityToTypeFunctionData.value == '组件服务') {
|
if (abilityToTypeFunctionData.value == 'GIS图层') {
|
||||||
if (!componentTypeValue.value || componentTypeValue.value == '') {
|
if (!componentTypeValue.value || componentTypeValue.value == '') {
|
||||||
message.error('请选择组件类型!')
|
message.error('请选择组件类型!')
|
||||||
return
|
return
|
||||||
|
@ -236,7 +237,7 @@
|
||||||
})
|
})
|
||||||
window.open(applypage.href, '_blank')
|
window.open(applypage.href, '_blank')
|
||||||
visible.value = false
|
visible.value = false
|
||||||
abilityToTypeFunctionData.value = '组件服务'
|
abilityToTypeFunctionData.value = 'GIS图层'
|
||||||
componentTypeValue.value = ''
|
componentTypeValue.value = ''
|
||||||
console.log(e)
|
console.log(e)
|
||||||
}
|
}
|
||||||
|
@ -270,7 +271,7 @@
|
||||||
function jumpPage() {
|
function jumpPage() {
|
||||||
// 点击内存入store
|
// 点击内存入store
|
||||||
// store.commit('WorkDynList', {
|
// store.commit('WorkDynList', {
|
||||||
// selectCardsnum: '组件服务',
|
// selectCardsnum: 'GIS图层',
|
||||||
// })
|
// })
|
||||||
console.log(
|
console.log(
|
||||||
'选中===================>',
|
'选中===================>',
|
||||||
|
@ -379,6 +380,7 @@
|
||||||
border: unset;
|
border: unset;
|
||||||
background: unset;
|
background: unset;
|
||||||
div {
|
div {
|
||||||
|
margin-bottom: 10px;
|
||||||
margin-right: 0.15rem;
|
margin-right: 0.15rem;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
font-size: 0.14rem;
|
font-size: 0.14rem;
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
<!--
|
<!--
|
||||||
* @Author: hisense.liangjunhua
|
* @Author: hisense.liangjunhua
|
||||||
* @Date: 2022-06-01 17:49:38
|
* @Date: 2022-06-01 17:49:38
|
||||||
* @LastEditors: hisense.liangjunhua
|
* @LastEditors: Light
|
||||||
* @LastEditTime: 2022-06-22 17:01:25
|
* @LastEditTime: 2022-11-02 13:59:46
|
||||||
* @Description: 能力上架
|
* @Description: 能力上架
|
||||||
-->
|
-->
|
||||||
<template>
|
<template>
|
||||||
|
@ -31,7 +31,7 @@
|
||||||
const router = useRouter()
|
const router = useRouter()
|
||||||
const type = ref('')
|
const type = ref('')
|
||||||
const abilityToType = router.currentRoute.value.query.abilityToType
|
const abilityToType = router.currentRoute.value.query.abilityToType
|
||||||
if (abilityToType === '应用资源') {
|
if (abilityToType === '应用系统') {
|
||||||
type.value = 'application'
|
type.value = 'application'
|
||||||
} else {
|
} else {
|
||||||
const componentTypeValue =
|
const componentTypeValue =
|
||||||
|
|
Loading…
Reference in New Issue