first commit

This commit is contained in:
2026-08-26 14:25:17 +08:00
commit 06debfd1fc
10595 changed files with 1836924 additions and 0 deletions
@@ -0,0 +1,42 @@
<script>
module.exports = {
name: "snakerStart",
props: {
define_key:{
type: String,
required: true
},
label: {
type: String,
required: true
}
},
methods:{
openChart() {
this.$refs.snakerChartRef.onOpen(this.define_key)
}
}
}
</script>
<template>
<div>
<el-row type="flex" justify="space-between" slot="header">
<h3 style="color: var(--color-primary)">{{ label }}</h3>
<div class="header-right">
<slot name="header-right-label"></slot>
<el-link type="primary" @click="openChart">流程图</el-link>
</div>
</el-row>
<snaker-chart ref="snakerChartRef"></snaker-chart>
</div>
</template>
<style scoped>
.header-right {
display: flex;
align-items: center;
justify-content: space-between;
}
</style>