This commit is contained in:
2025-11-26 17:31:53 +08:00
parent deab83fc81
commit c6eca577c7
6 changed files with 16 additions and 131 deletions

View File

@@ -1,7 +1,7 @@
<template>
<div>
<!-- publish 引用编辑页面 -->
<editPublicRefRdit ref="editPublicRefRdit" :chanFerForm = 'chanFerForm' :gridData = 'gridData' :p_article_id='p_article_id' @ChanFerMashUp="ChanFerMashUp" @refrashComp="refrashComp" @changeRefer="changeRefer"></editPublicRefRdit>
<editPublicRefRdit ref="editPublicRefRdit" :chanFerFormRepeatList="chanFerFormRepeatList" :chanFerForm = "chanFerForm" :gridData = "gridData" :p_article_id='p_article_id' @ChanFerMashUp="ChanFerMashUp" @refrashComp="refrashComp" @changeRefer="changeRefer"></editPublicRefRdit>
</div>
</template>
@@ -15,6 +15,7 @@ export default {
return{
article_id: this.$route.query.id,
chanFerForm: [],
chanFerFormRepeatList: [],
gridData: '',
p_article_id: this.$route.query.pid,
}
@@ -80,7 +81,8 @@ export default {
'p_article_id': this.p_article_id
})
.then(res => {
this.chanFerForm = res.data.refers
this.chanFerForm = res.data.refers;
this.chanFerFormRepeatList = Object.values(res.data.repeat);
for (var i = 0; i < this.chanFerForm.length; i++) {
this.chanFerForm[i].edit_mark = 1
if (this.chanFerForm[i].refer_frag != '') {
@@ -128,7 +130,8 @@ export default {
'p_article_id': this.p_article_id
})
.then(res => {
this.chanFerForm = res.data.refers
this.chanFerForm = res.data.refers;
this.chanFerFormRepeatList = Object.values(res.data.repeat);
for (var i = 0; i < this.chanFerForm.length; i++) {
this.chanFerForm[i].edit_mark = 1
}