Commit dd4c083c authored by liwei's avatar liwei

Merge remote-tracking branch 'origin/master'

parents 38e799b7 83cb433e
...@@ -108,6 +108,7 @@ ...@@ -108,6 +108,7 @@
<!-- </view>--> <!-- </view>-->
</view> </view>
<ELM ref="elm" :msg="tipMsg" :isConfirm="isConfirm" @confirm="confirm"></ELM> <ELM ref="elm" :msg="tipMsg" :isConfirm="isConfirm" @confirm="confirm"></ELM>
<ELM ref="elmReject" :msg="tipMsg" :isConfirm="isRejectConfirm" :isCancel="false" @confirm="rejectConfirm"></ELM>
</view> </view>
</template> </template>
...@@ -141,6 +142,7 @@ export default{ ...@@ -141,6 +142,7 @@ export default{
parentId:null, parentId:null,
tipMsg: '', tipMsg: '',
isConfirm: false, isConfirm: false,
isRejectConfirm: false,
} }
}, },
onLoad(params){ onLoad(params){
...@@ -260,6 +262,13 @@ export default{ ...@@ -260,6 +262,13 @@ export default{
comment(params).then(res=>{ comment(params).then(res=>{
if (res.data.code == 200){ if (res.data.code == 200){
//方便回到动态页的时候刷新数据 //方便回到动态页的时候刷新数据
if (res.data.data.examStatus == '3'){
const remarks = JSON.parse(res.data.data.remarks)
this.tipMsg = remarks[0].msg;
this.isRejectConfirm = true;
this.$refs.elmReject.showDialog();
return
}
uni.setStorageSync("isRefresh", true) uni.setStorageSync("isRefresh", true)
this.getArticleDetail() this.getArticleDetail()
} else { } else {
...@@ -354,6 +363,9 @@ export default{ ...@@ -354,6 +363,9 @@ export default{
url: "/pagesme/me/doubleauth" url: "/pagesme/me/doubleauth"
}) })
}, },
rejectConfirm(){
this.isRejectConfirm = false;
}
} }
} }
</script> </script>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment