From 4d94b59a5546b6f7dc5a3237745bd64360253a94 Mon Sep 17 00:00:00 2001 From: gaoyuanwei <2826352639@qq.com> Date: Tue, 2 Aug 2022 13:46:12 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8A=80=E6=9C=AF=E6=96=87=E6=A1=A3-=E5=9B=9B?= =?UTF-8?q?=E4=B8=AA=E8=B7=B3=E8=BD=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- front/src/assets/menu/imgBG-long.png | Bin 0 -> 4343 bytes front/src/assets/menu/imgBG.png | Bin 0 -> 3635 bytes .../instructionManual/components/menuBook.vue | 294 +++++++++++++++++- front/src/views/instructionManual/index.vue | 1 + 4 files changed, 284 insertions(+), 11 deletions(-) create mode 100644 front/src/assets/menu/imgBG-long.png create mode 100644 front/src/assets/menu/imgBG.png diff --git a/front/src/assets/menu/imgBG-long.png b/front/src/assets/menu/imgBG-long.png new file mode 100644 index 0000000000000000000000000000000000000000..95974faaabb4bcc353cc825c0221c1c5e08f2fc3 GIT binary patch literal 4343 zcmaJ_c{o)2{}-|j4U;_?L)OL^yJ0YlK_MiB>@y6;Un&v{OUlcSA@kgO0F7ng{gE!u@M zwsP)c0(_k3cd(oTXOJOVdyr2OapXAvXe<{hh!}tc+Y$VOu`XEup!ldZtSJ{4k0RdH zgY4m8j|e0ZwETZ!v?zo~4x5Y1)SMFO9~g!ug9EU^_y{C~UH1|K#s?uG?)nbe4v|*a z5WH?_7>xz%Yw1G+wc&bTLt`ztK3vZTeiW>u4cCQf>%!o=P`D04+ZX}Y2mgIR zIM$+ra0nMP=5Je^6%rCcCPyM*u(-H5tvFpRVstPJZftA})7F9M=s-CLC@DUI>`#G4 zkd%HYps}RDXnZ6YPmBQnRP+xZ#*mQ^j;H?#fe`tRYy|1=G;tCJqxeU{;9A;0L;3}D zaQOeB1j0XP64?d&Uw{8kVUlZnBo^j^B@tty1387mDg87RiLi>s`jd&#u0&$^uPi!+ z5XnSR2r&|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MKYgppQ_5`gRQ@eKmOt$MaYY->eOJ$^9PN}T_D$1w@8uAh^5Hv9D zcKjkeX63W{=6pT+NYCIe&~4dP8&1HTWN}AWKm_4eh3dw!V9IPvX+qJ2=%1z`nHrx1 z*2%=;dkS2p+ujn!Ji{rc-E_~^SdqZXiBl0tt1&el*C*D+9*jZ*#!qLAf65x|Xnd-G zd3J)!wCeUb{r;nHY)stM2Q!tN_}+XKu1i?An@l-SM))hPWl=&fEWeF?kR1+x-jwh5 z>RIA+5n?-JJ4R@KpSGP6_X*shA_MmVxd)Xy3LpNW_SmaaW?|zJC*FSX@rSW`deQBp zi^kJtAC0;UOF{komyn+I3a#
-
+
{{ 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;