|
@@ -30,7 +30,7 @@
|
|
|
</div>
|
|
|
|
|
|
<div class="opt-box">
|
|
|
- <span class="editsty" v-if="['晨报','周报'].includes(data.ClassifyName)" @click="chapterSetting(data)">章节设置</span>
|
|
|
+ <span class="editsty" v-if="!data.Child" @click="chapterSetting(data)">章节设置</span>
|
|
|
<span
|
|
|
style="cursor: pointer; color: #409eff"
|
|
|
@click.stop="handleShowEdit(data)"
|
|
@@ -295,7 +295,7 @@
|
|
|
<el-form-item
|
|
|
label="关联线上路演"
|
|
|
prop="RelateVideo"
|
|
|
- v-if="aeForm.parent_id!=0"
|
|
|
+ v-if="aeForm.isLastLevel"
|
|
|
>
|
|
|
<el-switch
|
|
|
v-model="aeForm.RelateVideo"
|
|
@@ -544,13 +544,13 @@ export default {
|
|
|
},
|
|
|
methods: {
|
|
|
chapterSetting(row){
|
|
|
- let reportType;
|
|
|
+ let reportType='';
|
|
|
if(row.ClassifyName=='周报'){
|
|
|
reportType='week'
|
|
|
- }else{
|
|
|
+ }else if(row.ClassifyName=='晨报'){
|
|
|
reportType='day'
|
|
|
}
|
|
|
- this.$router.push({path:'chapterVariety',query:{reportType}})
|
|
|
+ this.$router.push({path:'chapterVariety',query:{id:row.Id,reportType}})
|
|
|
},
|
|
|
showInput(index){
|
|
|
if(index!=-1){
|
|
@@ -650,7 +650,8 @@ export default {
|
|
|
ClassifyMenuId: item.ClassifyMenuId || '',
|
|
|
YbRightBanner: item.YbRightBanner || '',
|
|
|
relate: [item.RelateTel == 1 ? 1 : null, item.RelateVideo == 1 ? 2 : null],
|
|
|
- RelateVideo:item.RelateVideo == 1?true:false
|
|
|
+ RelateVideo:item.RelateVideo == 1?true:false,
|
|
|
+ isLastLevel: item.Child ? false : true
|
|
|
}
|
|
|
this.ClassifyMenuList = item.ClassifyMenuList ? item.ClassifyMenuList.map(item => {
|
|
|
return {
|