增加工作流全局埋点

This commit is contained in:
aixianling
2022-08-11 15:01:52 +08:00
parent 1711b37750
commit c08514c60f

View File

@@ -33,6 +33,7 @@
<script>
import AiWorkflow from "./AiWorkflow";
import {mapActions} from "vuex"
export default {
name: "add",
@@ -55,6 +56,7 @@ export default {
}
},
methods: {
...mapActions(['getWorkflowConfigs']),
getDetail() {
let {id} = this.$route.query
id && this.instance.post("/app/appworkflowmanage/queryDetailById", null, {
@@ -78,6 +80,7 @@ export default {
this.instance.post("/app/appworkflowmanage/addOrUpdate", {...this.form, config}).then(res => {
if (res?.code == 0) {
this.$message.success("提交成功!")
this.getWorkflowConfigs()
this.back()
}
})