From 6e2d146ca89ccafa0ddf03d4f3e1783b18637d7d Mon Sep 17 00:00:00 2001
From: "851673013@qq.com" <851673013@qq.com>
Date: Wed, 10 Aug 2022 14:54:45 +0800
Subject: [PATCH 01/10] =?UTF-8?q?=E7=AE=97=E6=B3=95=E5=B9=BF=E5=9C=BA?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../views/capacitySquare/components/algorithm.vue | 14 ++++----------
1 file changed, 4 insertions(+), 10 deletions(-)
diff --git a/front/src/views/capacitySquare/components/algorithm.vue b/front/src/views/capacitySquare/components/algorithm.vue
index c83f48e8..b947db0a 100644
--- a/front/src/views/capacitySquare/components/algorithm.vue
+++ b/front/src/views/capacitySquare/components/algorithm.vue
@@ -56,17 +56,11 @@
pageWithAttrsFunction()
//图片显示
const algorithmCardPhoto = (List) => {
- let obj = List.filter((item) => item.attrType === '图层缩略图')[0]
- if (obj) {
- List.map((item) => {
- if (item.attrType === '图层缩略图') {
- url.value = item.attrValue
- }
- })
- } else {
- url.value = '@/assets/capacitySquare/algorithm-photo.jpg'
+ let obj = List.filter((item) => item.attrType === '应用场景')[0]
+ if (obj && obj.attrValue != '') {
+ obj = JSON.parse(obj.attrValue)[0].img
}
- return url.value
+ return obj || ''
}
//跳转详情页
const detailFunction = (id) => {
From b99ec35e904b9aed9583b115e9dfb8a48c5fa5e7 Mon Sep 17 00:00:00 2001
From: a0049873 <79py69t9wb@privaterelay.appleid.com>
Date: Wed, 10 Aug 2022 14:55:56 +0800
Subject: [PATCH 02/10] =?UTF-8?q?=E8=83=BD=E5=8A=9B=E5=B9=BF=E5=9C=BA?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
front/src/views/capacitySquare/components/application.vue | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/front/src/views/capacitySquare/components/application.vue b/front/src/views/capacitySquare/components/application.vue
index 17711d46..b21d5686 100644
--- a/front/src/views/capacitySquare/components/application.vue
+++ b/front/src/views/capacitySquare/components/application.vue
@@ -2,7 +2,7 @@
* @Author: hisense.liangjunhua
* @Date: 2022-08-09 09:31:25
* @LastEditors: hisense.liangjunhua
- * @LastEditTime: 2022-08-09 18:25:06
+ * @LastEditTime: 2022-08-10 14:29:05
* @Description: 应用资源
-->
@@ -50,12 +50,13 @@
const selectFlag = ref(false)
let dom = null
const goToView = (id) => {
- router.push({
+ const newpage = router.resolve({
path: '/details',
query: {
id: id,
},
})
+ window.open(newpage.href, '_blank')
}
const getList = (str) => {
if (str) {
From 607e119c61a4338559e6fba82abcca88efe47bd8 Mon Sep 17 00:00:00 2001
From: guoyue
- 备选 - {{ pagination.total }} - 个 -
- -- 已选 - {{ selectedRowKeys.length }} - 个 -
+ ++ 备选 + {{ pagination.total }} + 个 +
+ ++ 已选 + {{ selectedRowKeys.length }} + 个 +
+