From 9cb2e9e81f334e200c3c35ffd322495d74fa6ad0 Mon Sep 17 00:00:00 2001 From: a0049873 <79py69t9wb@privaterelay.appleid.com> Date: Thu, 14 Jul 2022 16:50:51 +0800 Subject: [PATCH] =?UTF-8?q?=E6=88=91=E7=9A=84=E7=94=B3=E8=AF=B7=E6=A8=A1?= =?UTF-8?q?=E5=9D=97=E5=BC=80=E5=8F=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- front/public/index.html | 4 +- front/src/api/personalCenter.js | 7 + .../home/components/searchResultList.vue | 160 +++++++----- .../components/ApplyDetails.vue | 55 +++-- .../personalCenter/components/Comment.vue | 207 ++++++++++++++++ .../personalCenter/components/Demand.vue | 216 +++++++++++++++++ .../personalCenter/components/MyApply.vue | 140 ++++++++--- .../personalCenter/components/OffTheShelf.vue | 210 ++++++++++++++++ .../components/OtherApplications .vue | 229 ++++++++++++++++++ .../components/PutOnTheShelf .vue | 214 ++++++++++++++++ 10 files changed, 1325 insertions(+), 117 deletions(-) create mode 100644 front/src/views/personalCenter/components/Comment.vue create mode 100644 front/src/views/personalCenter/components/Demand.vue create mode 100644 front/src/views/personalCenter/components/OffTheShelf.vue create mode 100644 front/src/views/personalCenter/components/OtherApplications .vue create mode 100644 front/src/views/personalCenter/components/PutOnTheShelf .vue diff --git a/front/public/index.html b/front/public/index.html index 04ec2b7b..040ff813 100644 --- a/front/public/index.html +++ b/front/public/index.html @@ -2,7 +2,7 @@ * @Author: hisense.wuhongjian * @Date: 2022-03-29 16:45:25 * @LastEditors: hisense.liangjunhua - * @LastEditTime: 2022-07-14 09:34:08 + * @LastEditTime: 2022-07-14 10:58:46 * @Description: 告诉大家这是什么 --> @@ -49,7 +49,7 @@ window.SITE_CONFIG['backUrl'] = 'http://15.2.21.238:9797'; window.SITE_CONFIG['previewUrl'] = 'http://15.2.21.238:9796/'; window.SITE_CONFIG['frontUrl'] = 'http://15.2.21.238:9796/document/#/devModelFile/'; - window.SITE_CONFIG['apiURL'] = 'http://15.2.21.239:8888/renren-admin'; + window.SITE_CONFIG['apiURL'] = 'http://15.2.21.238:8888/renren-admin'; window.SITE_CONFIG['POI_URL'] = 'http://15.2.21.238:8090/iserver/services/addressmatch-qingdaoPOI181015/restjsr/v1/address'; // 穿透版本 // window.SITE_CONFIG['backUrl'] = 'http://124.222.94.39:9797'; diff --git a/front/src/api/personalCenter.js b/front/src/api/personalCenter.js index b58168f4..86d0f684 100644 --- a/front/src/api/personalCenter.js +++ b/front/src/api/personalCenter.js @@ -197,6 +197,13 @@ export function getMyComment(params) { params, }) } +export function demandComment(params) { + return request({ + url: '/demandComment/'+ params, + method: 'get', + params, + }) +} // 能力上架属性名查询 export function getCategoryTree(params) { return request({ diff --git a/front/src/views/home/components/searchResultList.vue b/front/src/views/home/components/searchResultList.vue index 47d0dd5f..03d81ba4 100644 --- a/front/src/views/home/components/searchResultList.vue +++ b/front/src/views/home/components/searchResultList.vue @@ -10,10 +10,17 @@ }}
-
@@ -84,7 +97,7 @@ p-id="3062" width="40" height="40" - v-if="item.applyState == '通过'" + v-if="item.applyState == '通过' && item.type !== '应用资源'" style="margin-left: 10px" >
{{ item.shareType || '--' }} @@ -142,13 +157,28 @@
-
+
浏览量:{{ item.visits || 0 }}次
-
+
申请量:{{ item.applyCount || 0 }}次
-
+
数据量:{{ item.sjlCount || 0 }}
@@ -208,8 +238,11 @@ > 查看详情 - + 一键申请 ', typeObj); - if(!typeObj) { - selData.value = 'total'; + console.log('typeObj------------>', typeObj) + if (!typeObj) { + selData.value = 'total' } - if(typeObj && typeObj.type === '融合服务') { + if (typeObj && typeObj.type === '融合服务') { orderList.value = [ { value: 'collectCount', name: '收藏量', - orderType: 'DESC' + orderType: 'DESC', }, { value: 'create_date', name: '发布时间', - orderType: 'DESC' + orderType: 'DESC', }, { value: 'update_date', name: '更新时间', - orderType: 'DESC' + orderType: 'DESC', }, ] } - - }) let videoUrl = ref('') const options = reactive({ diff --git a/front/src/views/personalCenter/components/ApplyDetails.vue b/front/src/views/personalCenter/components/ApplyDetails.vue index 977986a6..9a60c7b0 100644 --- a/front/src/views/personalCenter/components/ApplyDetails.vue +++ b/front/src/views/personalCenter/components/ApplyDetails.vue @@ -1,6 +1,20 @@