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');
}
});