后台引用编辑前

This commit is contained in:
@fawn-nine
2023-07-07 10:22:27 +08:00
parent c509b53180
commit 85cc743ba0
7 changed files with 1652 additions and 206 deletions

View File

@@ -47,7 +47,7 @@
<div :ref="tabsList[0].refName" class="scroll-item">
<div class="bor_style_onli">
<h4>{{tabsList[0].name}}</h4>
<div class="liter_ture">
<div class="liter_ture" v-if="0==2">
<div class="chanSelLef">
<!-- 1 -->
<div :class="showB_step ==1?'C_style':''">
@@ -170,6 +170,7 @@
</div>
</div>
</div>
<editPublicRefRdit ref="editPublicRefRdit" :chanFerForm = 'chanFerForm' :gridData = 'gridData' :p_article_id='p_article_id' @ChanFerMashUp="ChanFerMashUp" @refrashComp="refrashComp" @changeRefer="changeRefer"></editPublicRefRdit>
</div>
</div>
@@ -284,14 +285,15 @@
{{msgform.title}}
</p> -->
<div class="talkDialog">
<timetalk :talkMsgs="talkMsgs" :msgform="msgform" @talksave="getTalkList"></timetalk>
<timetalk :talkMsgs="talkMsgs" :msgform="msgform" @talksave="getTalkList" ></timetalk>
</div>
</el-dialog>
</div>
</template>
<script>
<script>
import editPublicRefRdit from './editPublicRefRdit' // 公共引用编辑页面
import 'quill/dist/quill.core.css';
import 'quill/dist/quill.snow.css';
import 'quill/dist/quill.bubble.css';
@@ -532,7 +534,7 @@
editFomauthor: {},
addFomschool: {},
editFomschool: {},
showB_step: 1,
chanFerForm: [],
refProcess: 0,
refReal: 0,
@@ -699,7 +701,12 @@
// this.getWorldPdf();
},
methods: {
methods: {
// 刷新引用组件
refrashComp(){
this.$refs.editPublicRefRdit.$forceUpdate()
console.log('editPublicRefRdit')
},
// 跳转邮件
linkEmail() {
this.$router.push({
@@ -885,6 +892,9 @@
this.showB_step = 2
}
}
this.$nextTick(()=>{ // 更新引用列表
this.$refs.editPublicRefRdit.init(this.chanFerForm)
})
})
.catch(err => {
console.log(err);
@@ -1395,6 +1405,7 @@
// 5----重新获取加载参考文献
changeRefer(val) {
console.log('重新获取参考文献')
this.$api
.post('api/Production/getReferList', {
'p_article_id': this.p_article_id
@@ -1409,6 +1420,7 @@
.catch(err => {
console.log(err);
});
},
@@ -2174,7 +2186,8 @@
},
components: {
quillEditor,
timetalk
timetalk,
editPublicRefRdit
},
}
</script>