增加工作流全局埋点
This commit is contained in:
@@ -33,6 +33,7 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
import AiWorkflow from "./AiWorkflow";
|
import AiWorkflow from "./AiWorkflow";
|
||||||
|
import {mapActions} from "vuex"
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "add",
|
name: "add",
|
||||||
@@ -55,6 +56,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
...mapActions(['getWorkflowConfigs']),
|
||||||
getDetail() {
|
getDetail() {
|
||||||
let {id} = this.$route.query
|
let {id} = this.$route.query
|
||||||
id && this.instance.post("/app/appworkflowmanage/queryDetailById", null, {
|
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 => {
|
this.instance.post("/app/appworkflowmanage/addOrUpdate", {...this.form, config}).then(res => {
|
||||||
if (res?.code == 0) {
|
if (res?.code == 0) {
|
||||||
this.$message.success("提交成功!")
|
this.$message.success("提交成功!")
|
||||||
|
this.getWorkflowConfigs()
|
||||||
this.back()
|
this.back()
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user