Browse Source

fix version funcation delete. (#4265)

pull/3/MERGE
zhuangchong 4 years ago committed by GitHub
parent
commit
a731be72a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 23
      dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/dag.vue

23
dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/dag.vue

@ -753,6 +753,29 @@
})
},
/**
* delete one version of process definition
*
* @param version the version need to delete
* @param processDefinitionId the process definition id user want to delete
* @param fromThis fromThis
*/
mVersionDeleteProcessDefinitionVersion ({ version, processDefinitionId, fromThis }) {
this.deleteProcessDefinitionVersion({
version: version,
processDefinitionId: processDefinitionId
}).then(res => {
this.$message.success(res.msg || '')
this.mVersionGetProcessDefinitionVersionsPage({
pageNo: 1,
pageSize: 10,
processDefinitionId: processDefinitionId,
fromThis: fromThis
})
}).catch(e => {
this.$message.error(e.msg || '')
})
},
/**
* query the process definition pagination version
*/

Loading…
Cancel
Save