From d2d18fc0a6b7ace01f8985170c1dab70cdb10064 Mon Sep 17 00:00:00 2001
From: gaoyuanwei <2826352639@qq.com>
Date: Tue, 9 Aug 2022 11:31:14 +0800
Subject: [PATCH] =?UTF-8?q?=E8=83=BD=E5=8A=9B=E5=B9=BF=E5=9C=BA=E5=BC=B9?=
=?UTF-8?q?=E7=AA=97?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
front/src/views/capacitySquare/index.vue | 24 +++++--
.../views/newHome/components/WorkDynamics.vue | 68 ++++++++++++++++++-
2 files changed, 85 insertions(+), 7 deletions(-)
diff --git a/front/src/views/capacitySquare/index.vue b/front/src/views/capacitySquare/index.vue
index 62dffa03..e6e885ed 100644
--- a/front/src/views/capacitySquare/index.vue
+++ b/front/src/views/capacitySquare/index.vue
@@ -1,23 +1,35 @@
-
+
-
+
diff --git a/front/src/views/newHome/components/WorkDynamics.vue b/front/src/views/newHome/components/WorkDynamics.vue
index f4d6907e..7e9b860a 100644
--- a/front/src/views/newHome/components/WorkDynamics.vue
+++ b/front/src/views/newHome/components/WorkDynamics.vue
@@ -113,6 +113,37 @@
+
@@ -142,6 +173,7 @@
abilityToTypeFunctionData.value = item
}
let abilityToType = ref(['组件服务', '应用资源'])
+ let abilitySquare = ref(['智能算法', '图层服务', '应用资源'])
let componentType = ref([
'智能算法',
'图层服务',
@@ -154,6 +186,11 @@
const showModal = () => {
visible.value = true
}
+ // 能力广场
+ const visibleAbilitySquare = ref(false)
+ const showAbilitySquare = () => {
+ visibleAbilitySquare.value = true
+ }
let componentTypeValueOld = ref('')
function componentTypeValueFunction(item) {
if (componentTypeValueOld.value != item) {
@@ -252,6 +289,28 @@
watch(abilityToTypeFunctionData, () => {
componentTypeValue.value = ''
})
+ // 能力广场
+ const handleOkAbilitySquare = (e) => {
+ let snumSquare = ref({})
+ snumSquare.value = {
+ abilityToType: abilitySquareFunctionData.value,
+ }
+ const applypage = router.resolve({
+ path: '/capacitySquare', // 跳转的页面路由
+ query: snumSquare.value,
+ })
+ window.open(applypage.href, '_blank')
+ console.log(e, abilitySquareFunctionData.value, 'hahhaha')
+ visibleAbilitySquare.value = false
+ abilitySquareFunctionData.value = '智能算法'
+ }
+ let abilitySquareFunctionData = ref('智能算法')
+ function abilitySquareFunction(item) {
+ abilitySquareFunctionData.value = item
+ }
+ function handlecancelAbilitySquare() {
+ abilitySquareFunctionData.value = '智能算法'
+ }