From 5d0a077b235fa694bd356b94edbba7c2f483d36a Mon Sep 17 00:00:00 2001
From: gaoshp <291585735@qq.com>
Date: 星期日, 10 十一月 2024 19:42:06 +0800
Subject: [PATCH] 添加饼图
---
src/views/dnc/setting/FTP.vue | 15 ++++++++-------
1 files changed, 8 insertions(+), 7 deletions(-)
diff --git a/src/views/dnc/setting/FTP.vue b/src/views/dnc/setting/FTP.vue
index c4a7cfd..c218118 100644
--- a/src/views/dnc/setting/FTP.vue
+++ b/src/views/dnc/setting/FTP.vue
@@ -1,7 +1,7 @@
<!--
* @Date: 2024-05-26 22:26:35
* @LastEditors: Sneed
- * @LastEditTime: 2024-06-02 21:20:21
+ * @LastEditTime: 2024-06-16 16:19:27
* @FilePath: /belleson-frontend/Users/mache/Documents/demo/cps-web/src/views/dnc/setting/FTP.vue
-->
<template>
@@ -61,10 +61,11 @@
</el-icon> -->
</div>
</div>
- <el-tree v-if="rootNodeId && showTree" ref="group" node-key="id" :props="{
- label: 'name',
- hasChildren: 'id'
- }" @node-click="nodeClick" highlight-current :current-node-key="selectNode.id" :load="loadNode"
+ <el-tree :expand-on-click-node="false" v-if="rootNodeId && showTree" ref="group" node-key="id"
+ :props="{
+ label: 'name',
+ hasChildren: 'id'
+ }" @node-click="nodeClick" highlight-current :current-node-key="selectNode.id" :load="loadNode"
lazy>
<template #default="{ node, data }">
<div class="custom-tree-node">
@@ -176,7 +177,7 @@
},
methods: {
init() {
- this.$HTTP.post(`/api/blade-cps/group/groupWorkstation`, { groupCategory: 1, groupType: 'group_workstation' }).then(res => {
+ this.$HTTP.post(`/api/smis/group/groupWorkstation`, { groupCategory: 1, groupType: 'group_workstation' }).then(res => {
this.treeData = this.formatData(res.data)
})
@@ -231,7 +232,7 @@
})
},
getAddList(transferDirectorId) {
- return this.$HTTP.post(`/api/blade-cps/group/groupFtpDirectory/ftp`, { groupCategory: 1, groupType: 'group_workstation', transferDirectorId }).then(res => {
+ return this.$HTTP.post(`/api/smis/group/groupFtpDirectory/ftp`, { groupCategory: 1, groupType: 'group_workstation', transferDirectorId }).then(res => {
this.addTreeData = this.formatData(res.data, null, 'disabled')
return this.addTreeData
})
--
Gitblit v1.9.3