jwyu 1 год назад
Родитель
Сommit
863cc509f5

+ 2 - 3
src/views/smartReport/components/ImgSource.vue

@@ -27,7 +27,7 @@
                     <el-radio :label="2">版尾</el-radio>
                 </el-radio-group>
             </div> -->
-            <div style="flex:1;overflow-y: auto;">
+            <div style="flex:1;overflow-y: auto;padding:20px 0">
             <tableNoData text="暂无数据" size="mini" v-if="list.length===0&&finished"/>
             <div class="list-wrap" v-infinite-scroll="handleLoadMore" :infinite-scroll-immediate="false">
                 <div 
@@ -156,8 +156,6 @@ div{
             display: flex;
             flex-wrap: wrap;
             gap: 20px;
-            padding-top: 20px;
-            padding-bottom: 20px;
             .item{
                 width: 240px;
                 cursor: pointer;
@@ -199,6 +197,7 @@ div{
             }
         }
         .btns-box{
+            padding-top: 20px;
             text-align: center;
             .el-button{
                 width: 200px;

+ 2 - 0
src/views/smartReport/editReport.vue

@@ -1053,8 +1053,10 @@ export default {
         // 插入版头版尾
         handleInsertImgSource(e){
             if(e.type=='1'){
+                this.$message.success('版头设置成功')
                 this.headImg=e.data.ImgUrl
             }else{
+                this.$message.success('版尾设置成功')
                 this.endImg=e.data.ImgUrl
             }
             this.contentChange=true