|
@@ -5,9 +5,9 @@
|
|
:width="drawerWidth"
|
|
:width="drawerWidth"
|
|
placement="right"
|
|
placement="right"
|
|
:closable="true"
|
|
:closable="true"
|
|
- @close="handleCancel"
|
|
|
|
|
|
+ @close="close"
|
|
:visible="visible"
|
|
:visible="visible"
|
|
- style="height: calc(100% - 55px);overflow: auto;padding-bottom: 53px;position:fixed;z-index:9999999;"
|
|
|
|
|
|
+ style="height: calc(100% - 55px);overflow: auto;padding-bottom: 53px;"
|
|
>
|
|
>
|
|
<template slot="title">
|
|
<template slot="title">
|
|
<div style="width: 100%;">
|
|
<div style="width: 100%;">
|
|
@@ -149,12 +149,10 @@
|
|
</a-form-item>
|
|
</a-form-item>
|
|
</a-form>
|
|
</a-form>
|
|
</a-spin>
|
|
</a-spin>
|
|
- <depart-window ref="departWindow" @ok="modalFormOk"></depart-window>
|
|
|
|
|
|
|
|
|
|
+ <depart-window ref="departWindow" @ok="modalFormOk"></depart-window>
|
|
<div class="drawer-bootom-button" v-show="!disableSubmit">
|
|
<div class="drawer-bootom-button" v-show="!disableSubmit">
|
|
- <a-popconfirm title="确定放弃编辑?" @confirm="handleCancel" okText="确定" cancelText="取消">
|
|
|
|
- <a-button style="margin-right: .8rem">取消</a-button>
|
|
|
|
- </a-popconfirm>
|
|
|
|
|
|
+ <a-button style="margin-right: .8rem" @click="handleCancel">取消</a-button>
|
|
<a-button @click="handleSubmit" type="primary" :loading="confirmLoading">提交</a-button>
|
|
<a-button @click="handleSubmit" type="primary" :loading="confirmLoading">提交</a-button>
|
|
</div>
|
|
</div>
|
|
</a-drawer>
|
|
</a-drawer>
|
|
@@ -425,6 +423,7 @@ export default {
|
|
})
|
|
})
|
|
},
|
|
},
|
|
close () {
|
|
close () {
|
|
|
|
+ console.log('?????')
|
|
this.$emit('close')
|
|
this.$emit('close')
|
|
this.visible = false
|
|
this.visible = false
|
|
this.disableSubmit = false
|
|
this.disableSubmit = false
|