|
@@ -0,0 +1,32 @@
|
|
|
+<script setup lang="ts">
|
|
|
+import { useRoute } from 'vue-router';
|
|
|
+import { FlowDTO, getNextActivity } from '@/service/flow';
|
|
|
+
|
|
|
+
|
|
|
+const route = useRoute();
|
|
|
+const { activityInstanceId, participantId } = route.query as {
|
|
|
+ activityInstanceId: string;
|
|
|
+ participantId: string;
|
|
|
+};
|
|
|
+const activityData: FlowDTO = {
|
|
|
+ activityInstanceId,
|
|
|
+ participantId,
|
|
|
+ flowOpinion: ''
|
|
|
+}
|
|
|
+const submitNextActivity = async () => {
|
|
|
+ const result = await getNextActivity(activityData)
|
|
|
+ // getNextActivity(activityData).then(result => {
|
|
|
+ // console.log(result)
|
|
|
+ // }).catch((err) => {
|
|
|
+ // console.error(err)
|
|
|
+ // })
|
|
|
+}
|
|
|
+</script>
|
|
|
+
|
|
|
+<template>
|
|
|
+ <div class="Leave_box"></div>
|
|
|
+</template>
|
|
|
+
|
|
|
+<style lang="scss" scoped>
|
|
|
+@import "./index.scss";
|
|
|
+</style>
|