From 040a15b595c7020d7cbfa3a09aa6c07b0e282c8c Mon Sep 17 00:00:00 2001 From: zhaofang <752743406@qq.com> Date: Thu, 14 Jul 2022 16:34:01 +0800 Subject: [PATCH] =?UTF-8?q?@=E6=88=91=E7=9A=84=E5=85=A8=E9=83=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/modules/comments.js | 19 ++++--------------- src/views/article/contactMine.vue | 18 ++++++++---------- 2 files changed, 12 insertions(+), 25 deletions(-) diff --git a/src/api/modules/comments.js b/src/api/modules/comments.js index a0292ff4..e7e43283 100644 --- a/src/api/modules/comments.js +++ b/src/api/modules/comments.js @@ -97,25 +97,14 @@ const delReply=function(data){ return ajax.post('/xboe/m/comment/delete-reply',data); } -/** - * @我的全部 - * @pageIndex 页数 - * @paramSize 每页展示行数 - * @uname 根据人员姓名搜索 - * */ -const queryAll=function (query){ - return ajax.post('/xboe/m/comment/queryAll',query); -} - export default{ del, update, add, pagelist, pageQuery, - reply, - replyList, - userReplyList, - delReply, - queryAll + reply, + replyList, + userReplyList, + delReply, } diff --git a/src/views/article/contactMine.vue b/src/views/article/contactMine.vue index 99e28862..41b6221d 100644 --- a/src/views/article/contactMine.vue +++ b/src/views/article/contactMine.vue @@ -8,7 +8,7 @@
- + @@ -16,7 +16,7 @@ - + 搜索 @@ -42,13 +42,11 @@ {{item.sysCreateBy}}@我 - {{ item.content }}
-
@@ -121,11 +119,11 @@ export default { type:0, dataList: { pageIndex:1, - type:4, + type:'', pageSize:10, count:0, list:[], - send:'', + uname:'', }, replyName:'', shareShow: false, @@ -149,13 +147,13 @@ export default { // let routeData = this.$router.resolve({ path:'/article/detail?id='+item.objId}); // , query: { id: 1 } // window.open(routeData.href, '_blank'); // this.$router.push({path:'/article/detail',query:{id:item.objId}}) - if(this.dataList.type == 2){ + if(item.objType == 2){ this.$router.push({path:'/article/detail',query:{id:item.objId}}) - }else if(this.dataList.type == 1){ + }else if(item.objType == 1){ - }else if(this.dataList.type == 4){ + }else if(item.objType == 4){ this.$router.push({ path: '/qa/answer', query: { id: item.objId } }); - } else if(this.dataList.type == 3){ + } else if(item.objType == 3){ this.$router.push({ path: '/case/detail', query: { id: item.objId } }); } },