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 = '智能算法'
+ }