saasDialog.vue 3.03 KB
<template>
    <GLDialog :mode="mode" title="#5.服务商战报 预览配置显示字段" :before-close="handlebattleClose" :visible.sync="isDialogVisible" @onOk="handlebattleClose" @onCancel="handlebattleClose">
      <div class="popup-wrap">
        <div class="left-wrap">
          <div class="img-wrap">
            <img src="@/assets/buttetin/saas.png" />
          </div>
          <p class="color-3 txt-center text-14">图示效果</p>
        </div>
        <div class="right-wrap">
          <div class="empty">
            <img src="@/assets/buttetin/empty.png" />
          </div>
          <p class="empty-text">暂无配置项</p>
          <div class="explain">
            <div class="color6 weight-6 font-14">
              <i class="el-icon-warning"></i>
              推送机制说明
            </div>
            <p class="mrp">配置后每日早上7点,统计前一日门店汇总数据进行推送</p>
          </div>
        </div>
      </div>
    </GLDialog>
  </template>
  
  <script>
  import dialog from './dialog'
  export default {
    mixins: [dialog],
    data() {
      return {
        mode: 'big'
      }
    },
    methods: {
      initData(){},
      handlebattleConfirm() {
        this.isDialogVisible = false
        //   let switchList = []
        //   const params = ['vehicleType', 'goodsType', 'proceedsType', 'verbalType']
        //   params.forEach(data => {
        //     this[data].switchStatus = this[data].switchStatus ? 'Y' : 'N'
        //     switchList.push(this[data])
        //   })
        //   this.$emit('handlePreview',{key:'saPerReport',data:switchList})
      }
    }
  }
  </script>
  
  <style lang="scss" scoped>
  .popup-wrap {
    display: flex;
    padding: 0 72px;
    .img-wrap {
      width: 250px;
      height: 560px;
      margin-bottom: 14px;
      img {
        width: 100%;
        height: 100%;
      }
    }
    .right-wrap {
      display: 1;
      position: relative;
      width: 100%;
      margin-top: 12px;
      /deep/.el-form-item {
        margin-bottom: 0px;
      }
      .item-line {
        margin-bottom: 20px;
      }
      .empty {
        width: 420px;
        height: 260px;
        position: absolute;
        top: 35%;
        left: 50%;
        transform: translate(-50%, -50%);
        img {
          width: 100%;
          height: 100%;
        }
      }
      .empty-text {
        font-size: 16px;
        color: #666666;
        line-height: 20px;
        position: absolute;
        top: 45%;
        left: 50%;
        transform: translate(-50%, -50%);
      }
      .explain {
        width: 486px;
        background: #f4f6fc;
        padding: 16px;
        margin-left: 70px;
        box-sizing: border-box;
        position: absolute;
        bottom: 30px;
        .el-icon-warning {
          width: 16px;
          height: 16px;
          margin-right: 4px;
        }
        .mrp {
          margin: 8px 0 0 20px;
          line-height: 22px;
        }
      }
    }
    .warn {
      font-size: 12px;
      color: #999999;
      margin-left: 154px;
    }
  }
  </style>