From f64f44172efee217e339cb961bb49f84f568f6f4 Mon Sep 17 00:00:00 2001 From: a0049873 <79py69t9wb@privaterelay.appleid.com> Date: Tue, 14 Jun 2022 11:32:25 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B7=B3=E8=BD=AC=E6=8C=82=E8=BD=BD=E5=89=8D?= =?UTF-8?q?=20=20=20=E6=96=B0=E5=A2=9E=E5=88=86=E6=94=AF=E9=80=89=E6=8B=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Application/ApplicationNavigation.vue | 18 +- .../Application/ApplicationPresentation.vue | 18 +- .../Application/ApplicationTopDetails.vue | 52 +-- .../personalCenter/components/MyPublish.vue | 308 ++++++++++++++---- .../components/TheNewRelease.vue | 18 +- 5 files changed, 305 insertions(+), 109 deletions(-) diff --git a/front/src/views/detailsAll/components/Application/ApplicationNavigation.vue b/front/src/views/detailsAll/components/Application/ApplicationNavigation.vue index 5434c8ef..b4846a29 100644 --- a/front/src/views/detailsAll/components/Application/ApplicationNavigation.vue +++ b/front/src/views/detailsAll/components/Application/ApplicationNavigation.vue @@ -2,7 +2,7 @@ * @Author: hisense.liangjunhua * @Date: 2022-06-08 14:54:01 * @LastEditors: hisense.liangjunhua - * @LastEditTime: 2022-06-14 10:30:32 + * @LastEditTime: 2022-06-14 11:31:07 * @Description: 应用详情页导航 --> @@ -215,6 +264,50 @@ let name = ref('') let tabIndex = ref(0) let tabIndex2 = ref(-1) + const visible2 = ref(false) + const showModal2 = () => { + visible2.value = true + } + let componentTypeValue = ref('') + let abilityToTypeFunctionData = ref('组件服务') + function handlecancel() { + abilityToTypeFunctionData.value = '组件服务' + componentTypeValue.value = '' + } + function abilityToTypeFunction(item) { + abilityToTypeFunctionData.value = item + } + const handleOk = (e) => { + let snum = ref({}) + if (abilityToTypeFunctionData.value == '组件服务') { + snum.value = { + abilityToType: abilityToTypeFunctionData.value, + componentTypeValue: componentTypeValue.value, + } + } else { + snum.value = { + abilityToType: abilityToTypeFunctionData.value, + } + } + const applypage = router.resolve({ + path: '/nenglishangjia', // 跳转的页面路由 + query: snum.value, + }) + window.open(applypage.href, '_blank') + visible.value = false + abilityToTypeFunctionData.value = '组件服务' + componentTypeValue.value = '' + console.log(e) + } + let abilityToType = ref(['组件服务', '应用资源']) + let componentType = ref([ + '智能算法', + 'GIS图层', + '开发组件', + '办公组件', + '业务组件', + '其他', + ]) let tabname = ref('组件服务') function tabqiehuan(item, index) { // debugger @@ -333,11 +426,11 @@ const newpage = router.resolve({ path: '/nenglishangjia', // 跳转的页面路由 }) - const nenglishangjia = () => { - // debugger - window.open(newpage.href, '_blank') - // router.resolve('/nenglishangjia') - } + // const nenglishangjia = () => { + // // debugger + // window.open(newpage.href, '_blank') + // // router.resolve('/nenglishangjia') + // } const handlePageSizeChange = (current, size) => { page.value = current limt.value = size @@ -377,88 +470,88 @@ + + diff --git a/front/src/views/personalCenter/components/TheNewRelease.vue b/front/src/views/personalCenter/components/TheNewRelease.vue index 0bd3d14b..b51d7160 100644 --- a/front/src/views/personalCenter/components/TheNewRelease.vue +++ b/front/src/views/personalCenter/components/TheNewRelease.vue @@ -2,7 +2,7 @@ * @Author: hisense.liangjunhua * @Date: 2022-06-01 17:49:38 * @LastEditors: hisense.liangjunhua - * @LastEditTime: 2022-06-14 10:48:43 + * @LastEditTime: 2022-06-14 11:30:30 * @Description: 能力上架 -->