修改 树后面按钮
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
<template>
|
||||
<div class="static">
|
||||
<div class="left_tree">
|
||||
<tree ref="treeRef" />
|
||||
<tree ref="treeRef" @jump="jump"/>
|
||||
</div>
|
||||
<!-- <span class="new_span">测试scss颜色</span> -->
|
||||
<div class="right_container">
|
||||
@@ -99,7 +99,7 @@
|
||||
<el-button type="primary" v-if="form.activeTabs === 5"
|
||||
>设备导入</el-button
|
||||
>
|
||||
<el-button type="primary" @click="planDetail">计划详情</el-button>
|
||||
<!-- <el-button type="primary" @click="planDetail">计划详情</el-button> -->
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
</div>
|
||||
@@ -393,6 +393,13 @@ const handleCheckFunction = (val: any) => {
|
||||
});
|
||||
form.value.activeTabs=val;
|
||||
};
|
||||
// 树点击跳转
|
||||
const jump=(e:any) => {
|
||||
console.log("🚀 ~ jump ~ e:", e)
|
||||
router.push({
|
||||
path: "/plan/planList",
|
||||
});
|
||||
}
|
||||
onMounted(() => {
|
||||
console.log();
|
||||
getTree();
|
||||
|
||||
Reference in New Issue
Block a user