|
@@ -122,7 +122,7 @@
|
|
|
</a-row>
|
|
|
<a-form-item :wrapper-col="{ span: 24, offset: 10 }">
|
|
|
<a-button type="primary" @click="handleSubmit()">保存</a-button>
|
|
|
- <a-button :style="{ marginLeft: '8px' }" @click="handleCancel()">取消</a-button>
|
|
|
+ <a-button :style="{ marginLeft: '8px' }" @click="cancel()">取消</a-button>
|
|
|
</a-form-item>
|
|
|
</a-form>
|
|
|
</a-modal>
|
|
@@ -349,20 +349,6 @@ export default {
|
|
|
}
|
|
|
})
|
|
|
},
|
|
|
- // 取消
|
|
|
- handleCancel () {
|
|
|
- const _this = this
|
|
|
- this.$confirm({
|
|
|
- title: '提示',
|
|
|
- content: '确定取消吗?',
|
|
|
- okText: '确定',
|
|
|
- cancelText: '取消',
|
|
|
- onOk () {
|
|
|
- _this.clear()
|
|
|
- _this.cancel()
|
|
|
- }
|
|
|
- })
|
|
|
- },
|
|
|
clear () {
|
|
|
this.form.resetFields()
|
|
|
this.pageInit()
|