增加工作流全局埋点
This commit is contained in:
@@ -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()
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user