稿件详情对话框添加交互

创建html流程优化
This commit is contained in:
@fawn-nine
2023-07-17 14:27:23 +08:00
parent b72360a171
commit a8885bf2ee
4 changed files with 59 additions and 35 deletions

View File

@@ -266,7 +266,7 @@
</div>
</el-col>
<el-col :span="8">
<timetalk :talkMsgs="talkMsgs" :msgform="msgform"></timetalk>
<timetalk :talkMsgs="talkMsgs" :msgform="msgform" @talksave="getTalkList"></timetalk>
<div class="tree_box">
<h2 style="margin: 0 0 20px 0;">Manuscript Tracking</h2>
<div class="block">
@@ -661,7 +661,7 @@
return str;
}
},
methods: {
methods: {
//弹出编辑框
testvis() {
this.editVisible = true;
@@ -864,6 +864,20 @@
});
},
// 获取留言列表
getTalkList(){
this.$api
.post('api/Article/getArticleDialogs', {
article_id: this.$route.query.id
})
.then((res) => {
this.talkMsgs = res.data.dialogs;
})
.catch((err) => {
console.log(err);
});
},
// H指数修改
HIndexEdit(row) {
this.HEditVisible = true