Browse Source

优化样式,去掉发布限制以便测试

cxmo 1 năm trước cách đây
mục cha
commit
2b397cb408

+ 3 - 2
src/views/ppt_manage/newVersion/pptCatalog.vue

@@ -778,14 +778,15 @@ export default {
             window.open(urlMap[item.key],'_blank');
           }else if(item.key==='publish'){
             //this.$message.warning('该PPT页数超过60页或图表数量超过100张,无法发布,请修改后重试')
-            if(!this.pptItem.overLimitHint.chartNum){
+            /* if(!this.pptItem.overLimitHint.chartNum){
               this.$message.warning(this.$t('Slides.exceed_ppt_msg') )
               return
             }
             if(!this.pptItem.overLimitHint.pageNum){
               this.$message.warning(this.$t('Slides.exceed_sixty_ppt_msg') )
               return
-            }
+            } */
+            window.open(urlMap[item.key],'_blank');
           }     
         }else{
           if(item.key==='publish'){

+ 12 - 1
src/views/ppt_manage/newVersion/pptPublish.vue

@@ -7,7 +7,7 @@
           <el-radio v-model="transChartType" :label="2">本地转</el-radio>
         </div> -->
         <el-button  type="primary" plain style="width:182px;height:40px;" @click="$router.push({path:'/pptlist'})">{{$t('Slides.return_to_list')}}</el-button>
-        <el-button  type="primary" style="width:182px;height:40px;margin-left: 0;" @click="downloadPPT" :disabled="isPublish">{{$t('Slides.operations_download')}}</el-button>
+        <!-- <el-button  type="primary" style="width:182px;height:40px;margin-left: 0;" @click="downloadPPT" :disabled="isPublish">{{$t('Slides.operations_download')}}</el-button> -->
         <el-dropdown split-button style="width:182px;height:40px;" type="primary" @command="(command)=>{setCompression = command}" @click="downloadPPT">
             {{setCompression?'下载(压缩版)':'下载'}}
             <el-dropdown-menu slot="dropdown">
@@ -810,5 +810,16 @@ $titleColor:#333333;
     width:1100px;
     height: 770px;
   }
+  .el-dropdown{
+    .el-button-group{
+        display: flex;
+        width: 100%;
+        .el-button{
+            &:first-of-type{
+                flex:1;
+            }
+        }
+    }
+  }
 }
 </style>