Files
zhgh_whcp/target/classes/static/components/plugins/snaker/snakerStart.vue
T
2026-01-08 14:58:16 +08:00

36 lines
632 B
Vue

<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>
<el-link type="primary" @click="openChart">流程图</el-link>
</el-row>
<snaker-chart ref="snakerChartRef"></snaker-chart>
</div>
</template>
<style scoped>
</style>