|  |  |  | 
|---|
|  |  |  | <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> | 
|---|
|  |  |  | 
|---|
|  |  |  | visible: { | 
|---|
|  |  |  | type: Boolean, | 
|---|
|  |  |  | required: true | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | // 是否显示下载按钮 | 
|---|
|  |  |  | isDownload: { | 
|---|
|  |  |  | type: Boolean, | 
|---|
|  |  |  | required: false | 
|---|
|  |  |  | } | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | methods: { | 
|---|
|  |  |  | 
|---|
|  |  |  | close () { | 
|---|
|  |  |  | this.$emit('close') | 
|---|
|  |  |  | this.$emit('update:visible', false) | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | downloadFile() { | 
|---|
|  |  |  | this.$emit('downloadFile') | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|