|
@@ -60,11 +60,12 @@
|
|
|
</template>
|
|
|
|
|
|
<script setup name="flow_modal">
|
|
|
-import { ref } from 'vue'
|
|
|
+import { ref, onMounted } from 'vue'
|
|
|
const input = ref('')
|
|
|
const activeNames = ref(['1'])
|
|
|
import { ArrowDown } from '@element-plus/icons-vue'
|
|
|
import process from '@/api/flow/definition'
|
|
|
+import model from '@/api/flow/process'
|
|
|
const handleChange = val => {
|
|
|
console.log(val)
|
|
|
}
|
|
@@ -85,6 +86,15 @@ const copyEv = async id => {
|
|
|
const updateEv = async () => {
|
|
|
console.log('修改')
|
|
|
}
|
|
|
+
|
|
|
+// 列表
|
|
|
+const listEv = async () => {
|
|
|
+ const res = await model.progressListCategoryApi()
|
|
|
+ console.log(res, 'res====');
|
|
|
+}
|
|
|
+onMounted(() => {
|
|
|
+ listEv()
|
|
|
+})
|
|
|
</script>
|
|
|
|
|
|
<style scoped lang="scss">
|