liukangdong
2025-02-08 c7d99f5e11c4cf0667f67b8170e1c585db2e2016
admin/src/components/common/GlobalWindow.vue
@@ -22,6 +22,7 @@
      <slot name="footer">
        <el-button v-if="showConfirm" @click="confirm" :loading="confirmWorking" type="primary">{{text}}</el-button>
        <slot name="btns" />
        <el-button type="primary" v-if="isDownload" @click="downloadFile">下载催缴通知单</el-button>
        <el-button @click="close">{{ backText }}</el-button>
      </slot>
    </div>
@@ -68,6 +69,11 @@
    visible: {
      type: Boolean,
      required: true
    },
    // 是否显示下载按钮
    isDownload: {
      type: Boolean,
      required: false
    }
  },
  methods: {
@@ -77,6 +83,9 @@
    close () {
      this.$emit('close')
      this.$emit('update:visible', false)
    },
    downloadFile() {
      this.$emit('downloadFile')
    }
  }
}
@@ -87,7 +96,7 @@
// 输入框高度
$input-height: 32px;
.global-window {
  top: 56px !important;
  top: 0;
  left: 250px !important;
  // 头部标题
  ::v-deep .el-drawer__header {
@@ -125,11 +134,11 @@
    .window__body {
      // width: 1100px;
      // margin: 0 auto;
      // background-color: #fff;
      background-color: #fff;
      width: 100%;
      height: 100%;
      overflow-y: auto;
      padding: 12px 16px;
      padding: 0 16px 12px 16px;
      // 标签
      // .el-form-item__label {
      //   float: none;