Browse Source

Merge branch 'fix_eta1.8.3'

Karsa 3 months ago
parent
commit
3295d3e4b1
1 changed files with 21 additions and 3 deletions
  1. 21 3
      src/views/ficc_manage/reportVariety.vue

+ 21 - 3
src/views/ficc_manage/reportVariety.vue

@@ -54,7 +54,7 @@
         >
           <el-form-item
             prop="showType"
-            label="展示形式"
+            label="列表页展示"
             v-if="aeForm.parent_id == 0"
           >
             <el-select
@@ -67,6 +67,22 @@
               <el-option label="品种" :value="3"></el-option>
             </el-select>
           </el-form-item>
+          
+          <el-form-item
+            prop="showType"
+            label="详情页展示"
+            v-if="aeForm.isLastLevel"
+          >
+            <el-select
+              v-model="aeForm.reportDetailShowType"
+              placeholder="请选择"
+              style="width: 400px"
+            >
+              <el-option label="拼接" :value="1"></el-option>
+              <el-option label="目录" :value="2"></el-option>
+            </el-select>
+          </el-form-item>
+
           <!-- 一级目录子目录 -->
           <el-form-item
             label="子目录"
@@ -225,7 +241,6 @@
               >
             </el-input>
           </el-form-item>
-          
 
           <!-- 二级分类配置列表背景图 -->
           <el-form-item
@@ -429,6 +444,7 @@ export default {
         YbRightBanner: '',//报告合集配图
         relate: [],
         RelateVideo:false,//关联线上路演
+        reportDetailShowType: 1,//详情展示形式
       },
       aerules: {
         abstract: [{
@@ -598,6 +614,7 @@ export default {
             MenuList:[],
             RelateTel:this.aeForm.relate.includes(1)?1:0,
             RelateVideo:this.aeForm.RelateVideo?1:0,
+            ReportDetailShowType: this.aeForm.reportDetailShowType
           }
           params.MenuList=this.ClassifyMenuList.map(item=>{
 						return {
@@ -651,7 +668,8 @@ export default {
         YbRightBanner: item.YbRightBanner || '',
         relate: [item.RelateTel == 1 ? 1 : null, item.RelateVideo == 1 ? 2 : null],
         RelateVideo:item.RelateVideo == 1?true:false,
-        isLastLevel: item.Child ? false : true
+        isLastLevel: item.Child ? false : true,
+        reportDetailShowType: item.ReportDetailShowType||1
       }
       this.ClassifyMenuList = item.ClassifyMenuList ? item.ClassifyMenuList.map(item => {
         return {