From 77f7a0dbd33e1e8dfe89c2983cc15e6fb3feb7ab Mon Sep 17 00:00:00 2001
From: zhaofang <752743406@qq.com>
Date: Tue, 7 Jun 2022 16:01:58 +0800
Subject: [PATCH] =?UTF-8?q?=E6=A1=88=E4=BE=8B@=E6=88=91=E7=9A=84?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/components/Portal/comments.vue | 1 +
src/views/article/contactMine.vue | 9 +++++----
src/views/portal/case/Detail.vue | 13 ++++++-------
3 files changed, 12 insertions(+), 11 deletions(-)
diff --git a/src/components/Portal/comments.vue b/src/components/Portal/comments.vue
index 31092a0e..cdfcdc6c 100644
--- a/src/components/Portal/comments.vue
+++ b/src/components/Portal/comments.vue
@@ -320,6 +320,7 @@
this.loadData();
},
inputValue(val,oldVal) {
+ console.log("333333");
let fu = val.substr(-1);
if(fu == '@'&&!oldVal) {
this.toUserId = '';
diff --git a/src/views/article/contactMine.vue b/src/views/article/contactMine.vue
index 18874e52..991c7eae 100644
--- a/src/views/article/contactMine.vue
+++ b/src/views/article/contactMine.vue
@@ -11,7 +11,7 @@
-
+
@@ -154,6 +154,8 @@ export default {
}else if(this.dataList.type == 4){
this.$router.push({ path: '/qa/answer', query: { id: item.objId } });
+ } else if(this.dataList.type == 3){
+ this.$router.push({ path: '/case/detail', query: { id: item.objId } });
}
},
@@ -266,12 +268,11 @@ export default {
toAname:this.replayContent.sysCreateBy,
parentRead:true
}
- if(this.dataList.type == 2) {
- apiComment.reply(replayInfo).then(res=>{
+ if(this.dataList.type == 2 || this.dataList.type == 3) {
+ apiComment.reply(replayInfo).then(res=>{
if(res.status==200){
this.$message.success("回复成功");
this.shareShow = false;
- //this.getData();
if(!this.replyItem.replys){
this.replyItem.replys=[];
}
diff --git a/src/views/portal/case/Detail.vue b/src/views/portal/case/Detail.vue
index c96a70df..672059fd 100644
--- a/src/views/portal/case/Detail.vue
+++ b/src/views/portal/case/Detail.vue
@@ -35,7 +35,7 @@
-
+
@@ -143,7 +143,8 @@ export default {
},
data() {
return {
- ankingList:[],
+ toUsers:[],
+ ankingList:[],
Popularity:[],
Positive:[],
resolveId: '',
@@ -215,16 +216,11 @@ export default {
}
})
},
-
-
-
getCaseData() {
apiCase.detail(this.resolveId,true).then(res => {
if (res.status == 200) {
-
if (JSON.stringify(res.result) != '{}') {
this.caseDetail = res.result;
- console.log(this.caseDetail.filePath)
this.getCaseUserDetail();
if(this.caseDetail.filePath){
this.pdfPath=this.basePath+this.caseDetail.filePath;
@@ -240,6 +236,9 @@ export default {
apiUser.getByIds([this.caseDetail.sysCreateAid]).then(res => {
if (res.status == 200 && res.result.length>0) {
this.authorInfo = res.result[0];
+ this.toUsers = [
+ {name: res.result[0].name, aid:res.result[0].aid ,sex:res.result[0].sex}
+ ];
//console.log(res.result,'res.result');
}
});