|
@ -102,6 +102,14 @@ export default { |
|
|
this.page = 1 |
|
|
this.page = 1 |
|
|
this.query() |
|
|
this.query() |
|
|
}, |
|
|
}, |
|
|
|
|
|
// 新增 / 修改
|
|
|
|
|
|
addOrUpdateHandle (id) { |
|
|
|
|
|
this.addOrUpdateVisible = true |
|
|
|
|
|
this.$nextTick(() => { |
|
|
|
|
|
this.$refs.addOrUpdate.dataForm.id = id |
|
|
|
|
|
this.$refs.addOrUpdate.init() |
|
|
|
|
|
}) |
|
|
|
|
|
}, |
|
|
// 删除
|
|
|
// 删除
|
|
|
deleteHandle (id) { |
|
|
deleteHandle (id) { |
|
|
if (this.mixinViewModuleOptions.deleteIsBatch && !id && this.dataListSelections.length <= 0) { |
|
|
if (this.mixinViewModuleOptions.deleteIsBatch && !id && this.dataListSelections.length <= 0) { |
|
|