Browse Source

封期弹窗修改

kevin_zhangl 2 years ago
parent
commit
f362d5ca7c
1 changed files with 3 additions and 1 deletions
  1. 3 1
      src/views/bonus/period.vue

+ 3 - 1
src/views/bonus/period.vue

@@ -83,7 +83,7 @@
               <!-- 挂网 -->{{ $t('bonus.spreadNet') }}
             </el-button>
 
-            <el-dialog :title="$t('bonus.logTitle', { currentPeriod: currentPeriod })" :visible.sync="dialogTableVisible" append-to-body width="60%">
+            <el-dialog :title="$t('bonus.logTitle', { currentPeriod: currentPeriod })" :visible.sync="dialogTableVisible" append-to-body :width="screenWidth">
               <el-row>
                 <el-button style="margin-left:10px;" class="button" type="primary" @click.native="getDialogData();dialogLoading=true;" >
                   {{$t('bonus.logRefresh')}}
@@ -244,6 +244,8 @@ export default {
       },
       formLabelWidth: '120px',
 			fixed: getScreenWidth() < 500 ? false : 'right',
+			screenWidth: getScreenWidth() > 600 ? '600px' : getScreenWidth() + 'px',
+			labelPosition: getScreenWidth() >= 600 ? 'right' : 'top',
     };
 
   },