企标计划-导出完成关闭模态框

This commit is contained in:
zyn
2023-10-11 17:26:55 +08:00
parent f7aad64091
commit 178f8276c4
2 changed files with 3 additions and 2 deletions
@@ -7,7 +7,7 @@
</el-form-item>
</el-form>
<span slot="footer" class="demo-drawer-footer">
<el-button class="common-button-default" icon="el-icon-close" @click="cancal">取消</el-button>
<el-button class="common-button-default" icon="el-icon-close" @click="cancel">取消</el-button>
<el-button type="primary" round class="common-button-primary" icon="el-icon-check" @click="submit">提交</el-button>
</span>
</el-dialog>
@@ -27,7 +27,7 @@ export default {
this.exportName = ''
this.exportModelFlag = true
},
cancal () {
cancel () {
this.exportModelFlag = false
},
submit () {
@@ -927,6 +927,7 @@
}
query = query.slice(0,-1)
window.open('/api/esRevisePlan/es-revise-plan/exportEsRevisePlanInfoExcel' + query)
this.$refs.exportDialogRef.cancel()
this.$message({
message: '导出信息成功',
type: 'success'