| | |
| | | <script> |
| | | import { memberSync } from '@/api/business/member' |
| | | |
| | | export default { |
| | | name: 'BaseOpera', |
| | | data () { |
| | |
| | | this.api.create(this.form) |
| | | .then(() => { |
| | | // that.$tip.apiSuccess('新建成功') |
| | | that.$dialog.actionConfirmButton('是否停留该页面继续新建数据?', '新建成功','继续添加','关闭返回') |
| | | .then(() => { |
| | | // that.$dialog.actionConfirmButton('是否停留该页面继续新建数据?', '新建成功','继续添加','关闭返回') |
| | | // .then(() => { |
| | | that.$refs.form.resetFields() |
| | | that.visible = false |
| | | that.form[this.configData['field.id']] = null |
| | | that.$emit('success') |
| | | }) |
| | | .catch(() => { |
| | | that.visible = false |
| | | that.$emit('success') |
| | | }) |
| | | // }) |
| | | // .catch(() => { |
| | | // that.visible = false |
| | | // that.$emit('success') |
| | | // }) |
| | | }) |
| | | .catch(e => { |
| | | this.$tip.apiFailed(e) |