1
0
mirror of https://github.com/PanJiaChen/vue-element-admin.git synced 2025-08-10 20:39:48 +08:00

fix/ correction of dialog (#665)

* action value correction in dialog when defined
This commit is contained in:
Diego Chavez 2021-03-13 11:14:46 -04:00 committed by GitHub
parent ce13f82ec7
commit 4c1a34077d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -146,7 +146,7 @@ export default {
}
}, () => {})
this.closeDialog()
} else if (action !== undefined) {
} else if (!this.isEmptyValue(action)) {
const fieldNotReady = this.$store.getters.isNotReadyForSubmit(action.uuid)
if (this.panelType === 'From') {
this.$store.dispatch('processPos', {
@ -167,7 +167,7 @@ export default {
const porcesTabla = this.$store.getters.getProcessSelect.processTablaSelection
const selection = this.$store.getters.getProcessSelect
if (porcesTabla) {
// selection.forEach(element => {
// manage excecute process with records selection
this.$store.dispatch('selectionProcess', {
action: action, // process metadata
parentUuid: this.parentUuid,
@ -178,7 +178,6 @@ export default {
isProcessTableSelection: true,
routeToDelete: this.$route
})
// })
} else {
this.$store.dispatch('startProcess', {
action: action, // process metadata