diff --git a/front/src/assets/menu/imgBG-long.png b/front/src/assets/menu/imgBG-long.png new file mode 100644 index 00000000..95974faa Binary files /dev/null and b/front/src/assets/menu/imgBG-long.png differ diff --git a/front/src/assets/menu/imgBG.png b/front/src/assets/menu/imgBG.png new file mode 100644 index 00000000..95b9da2a Binary files /dev/null and b/front/src/assets/menu/imgBG.png differ diff --git a/front/src/views/instructionManual/components/menuBook.vue b/front/src/views/instructionManual/components/menuBook.vue index c79f13c6..34183224 100644 --- a/front/src/views/instructionManual/components/menuBook.vue +++ b/front/src/views/instructionManual/components/menuBook.vue @@ -14,7 +14,15 @@ {{ item.name }}
-
+
{{ v }}
@@ -34,7 +42,9 @@ :class="item.className" :style="{ 'background-image': `url(${item.bgImg || ''})` }" >
-
{{ item.btnText }} >>
+
+ {{ item.btnText }} >> +
@@ -53,20 +63,76 @@

+ + +
+
+ 能力上架申请 +
+
+
能力类型选择
+
+
+ {{ item }} +
+
+
+
+
组件类型选择
+
+ + + + {{ item }} + + +
+
+
+ // 能力上架弹窗 + function handlecancel() { + abilityToTypeFunctionData.value = '组件服务' + componentTypeValue.value = '' + } + let abilityToTypeFunctionData = ref('组件服务') + function abilityToTypeFunction(item) { + abilityToTypeFunctionData.value = item + } + let abilityToType = ref(['组件服务', '应用资源']) + let componentType = ref([ + '智能算法', + '图层服务', + '开发组件', + // '办公组件', + '业务组件', + // '其他', + ]) + const visible = ref(false) + let componentTypeValueOld = ref('') + function componentTypeValueFunction(item) { + if (componentTypeValueOld.value != item) { + componentTypeValue.value = item + componentTypeValueOld.value = item + } else { + componentTypeValue.value = '' + } + } + let componentTypeValue = ref('') + const handleOk = (e) => { + let snum = ref({}) + if (abilityToTypeFunctionData.value == '组件服务') { + if (!componentTypeValue.value || componentTypeValue.value == '') { + message.error('请选择组件类型!') + return + } else if ( + componentTypeValue.value === '智能算法' || + componentTypeValue.value === '开发组件' || + componentTypeValue.value === '业务组件' || + componentTypeValue.value === '图层服务' + ) { + snum.value = { + abilityToType: abilityToTypeFunctionData.value, + componentTypeValue: componentTypeValue.value, + } + } else { + message.error('功能开发中!') + return + } + } 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) + } + // 跳转 + const toWhere = (data) => { + console.log(data, 'wwwwwww') + if (data === '能力上架') { + visible.value = true + } else if (data === '能力申请') { + const newpage = router.resolve({ + path: '/addApplication', // 跳转的页面路由 + }) + window.open(newpage.href, '_blank') + } else if (data === '需求发布') { + const newpage = router.resolve({ + path: '/DetailsPageconetent', + query: { + select: '组件服务', + }, + }) + window.location.href = newpage.href + } else if (data === '资源下架') { + window.sessionStorage.setItem('type', JSON.stringify('PurchaseVehicle')) + const newpage = router.resolve({ + path: '/personalCenter', + }) + window.location.href = newpage.href + } + } + watch(abilityToTypeFunctionData, () => { + componentTypeValue.value = '' + }) + + diff --git a/front/src/views/instructionManual/index.vue b/front/src/views/instructionManual/index.vue index ccbc5966..0995a93f 100644 --- a/front/src/views/instructionManual/index.vue +++ b/front/src/views/instructionManual/index.vue @@ -207,6 +207,7 @@ min-height: 600px; } .manual { + cursor: pointer; z-index: 10; width: 74px; height: 136px;