From 1eb1522eb39f58603155302f072e2ead3045d2ef Mon Sep 17 00:00:00 2001
From: feige <feige@qq.com>
Date: 星期二, 25 十一月 2025 09:57:49 +0800
Subject: [PATCH] 修改信息
---
ruoyi-ui/src/views/mindMap/index.vue | 77 ++++++++++++++++++++++++++++++++++++++
ruoyi-ui/src/views/economy/economyInfo.vue | 6 +-
ruoyi-ui/src/views/device/equipmentInfo.vue | 6 +-
ruoyi-ui/src/views/note/propertyInfo.vue | 6 +-
ruoyi-ui/src/views/collection/collectionInfo.vue | 6 +-
ruoyi-ui/src/views/bignote/familyeventInfo.vue | 6 +-
ruoyi-ui/src/views/doctor/doctorInfo.vue | 6 +-
ruoyi-ui/src/views/honor/honorInfo.vue | 6 +-
8 files changed, 97 insertions(+), 22 deletions(-)
diff --git a/ruoyi-ui/src/views/bignote/familyeventInfo.vue b/ruoyi-ui/src/views/bignote/familyeventInfo.vue
index 6e4f83f..2a14ab1 100644
--- a/ruoyi-ui/src/views/bignote/familyeventInfo.vue
+++ b/ruoyi-ui/src/views/bignote/familyeventInfo.vue
@@ -2,7 +2,7 @@
<div class="app-container" id="printable-content">
<div class="form-header mt">
<h1 style="font-size:21px;padding-top:30px;display: flex;justify-content: space-between;align-items: center;" >
- <span>瀹跺ぇ浜嬭璇︽儏</span>
+ <span>浜嬬邯</span>
<div style="display: flex; align-items: center;">
<el-button size="mini" type="text" v-print="'#printable-content'" v-hasPermi="['person:information:memo']">
<div class="form" ><el-icon style="padding-right:100px;"></el-icon>
@@ -285,11 +285,11 @@
this.dsb = !jd
this.isShow=true
// document.title = "淇敼澶т簨璁拌缁嗕俊鎭�";
- this.$route.meta.title = "淇敼澶т簨璁拌缁嗕俊鎭�";//鍒楄〃鐨勫悕绉�
+ this.$route.meta.title = "淇敼浜嬬邯璇︾粏淇℃伅";//鍒楄〃鐨勫悕绉�
}
else{
// document.title = "瀹跺ぇ浜嬭璇︾粏淇℃伅";
- this.$route.meta.title = "瀹跺ぇ浜嬭璇︾粏淇℃伅";//鍒楄〃鐨勫悕绉�
+ this.$route.meta.title = "瀹朵簨绾缁嗕俊鎭�";//鍒楄〃鐨勫悕绉�
this.btn = false;
this.isShow=false
// alert(this.btn)
diff --git a/ruoyi-ui/src/views/collection/collectionInfo.vue b/ruoyi-ui/src/views/collection/collectionInfo.vue
index 319744e..150afef 100644
--- a/ruoyi-ui/src/views/collection/collectionInfo.vue
+++ b/ruoyi-ui/src/views/collection/collectionInfo.vue
@@ -2,7 +2,7 @@
<div class="app-container" id="printable-content">
<div class="form-header mt">
<h1 style="font-size:21px;padding-top:30px;display: flex;justify-content: space-between;align-items: center;" >
- <span>鏀惰棌涓庤崳瑾夎缁嗕俊鎭�</span>
+ <span>鏀惰棌璇︾粏淇℃伅</span>
<div style="display: flex; align-items: center;">
<el-button size="mini" type="text" v-print="'#printable-content'" v-hasPermi="['person:information:memo']">
<div class="form" ><el-icon style="padding-right:100px;"></el-icon>
@@ -336,11 +336,11 @@
this.showInput=true
this.isShow=true
// document.title = "淇敼鏀惰棌涓庤崳瑾夎缁嗕俊鎭�";
- this.$route.meta.title = "淇敼鏀惰棌涓庤崳瑾夎缁嗕俊鎭�";//鍒楄〃鐨勫悕绉�
+ this.$route.meta.title = "淇敼鏀惰棌璇︾粏淇℃伅";//鍒楄〃鐨勫悕绉�
}
else{
// document.title = "鏀惰棌涓庤崳瑾夎缁嗕俊鎭�";
- this.$route.meta.title = "鏀惰棌涓庤崳瑾夎缁嗕俊鎭�";//鍒楄〃鐨勫悕绉�
+ this.$route.meta.title = "鏀惰棌璇︾粏淇℃伅";//鍒楄〃鐨勫悕绉�
this.isShow=false
this.btn = false;
}
diff --git a/ruoyi-ui/src/views/device/equipmentInfo.vue b/ruoyi-ui/src/views/device/equipmentInfo.vue
index 742076f..be3f3f6 100644
--- a/ruoyi-ui/src/views/device/equipmentInfo.vue
+++ b/ruoyi-ui/src/views/device/equipmentInfo.vue
@@ -2,7 +2,7 @@
<div class="app-container" id="printable-content">
<div class="form-header mt">
<h1 style="font-size:21px;padding-top:30px;display: flex;justify-content: space-between;align-items: center;">
- <span>瀹跺涵璁惧璇︽儏</span>
+ <span>璁惧璇︽儏</span>
<div style="display: flex; align-items: center;">
<el-button size="mini" type="text" @click="checkNote" v-hasPermi="['person:information:memo']">
<div class="form" ><el-icon style="padding-right:110px;"></el-icon>
@@ -310,11 +310,11 @@
this.dsb = !jd
this.isShow=true
// document.title = "淇敼瀹跺涵璁惧璇︾粏淇℃伅";
- this.$route.meta.title = "淇敼瀹跺涵璁惧璇︾粏淇℃伅";//鍒楄〃鐨勫悕绉�
+ this.$route.meta.title = "淇敼璁惧璇︾粏淇℃伅";//鍒楄〃鐨勫悕绉�
}
else{
// document.title = "瀹跺涵璁惧璇︾粏淇℃伅";
- this.$route.meta.title = "瀹跺涵璁惧璇︾粏淇℃伅";//鍒楄〃鐨勫悕绉�
+ this.$route.meta.title = "瀹跺涵璇︾粏淇℃伅";//鍒楄〃鐨勫悕绉�
this.btn = false;
this.isShow=false
}
diff --git a/ruoyi-ui/src/views/doctor/doctorInfo.vue b/ruoyi-ui/src/views/doctor/doctorInfo.vue
index 0c76b4b..727382a 100644
--- a/ruoyi-ui/src/views/doctor/doctorInfo.vue
+++ b/ruoyi-ui/src/views/doctor/doctorInfo.vue
@@ -2,7 +2,7 @@
<div class="app-container" id="printable-content">
<div class="form-header mt">
<h1 style="font-size:21px;padding-top:30px;display: flex;justify-content: space-between;align-items: center;" >
- <span>灏卞尰璁板綍璇︾粏淇℃伅</span>
+ <span>鑽柟璇︾粏淇℃伅</span>
<div style="display: flex; align-items: center;">
<el-button size="mini" type="text" v-print="'#printable-content'" v-hasPermi="['person:information:memo']">
<div class="form" ><el-icon style="padding-right:100px;"></el-icon>
@@ -369,11 +369,11 @@
this.isShow=true
this.showInput=true
// document.title = "淇敼灏卞尰璁板綍璇︾粏淇℃伅";
- this.$route.meta.title = "淇敼灏卞尰璁板綍璇︾粏淇℃伅";//鍒楄〃鐨勫悕绉�
+ this.$route.meta.title = "淇敼鑽柟璇︾粏淇℃伅";//鍒楄〃鐨勫悕绉�
}
else{
// document.title = "灏卞尰璁板綍璇︾粏淇℃伅";
- this.$route.meta.title = "灏卞尰璁板綍璇︾粏淇℃伅";//鍒楄〃鐨勫悕绉�
+ this.$route.meta.title = "鑽柟璇︾粏淇℃伅";//鍒楄〃鐨勫悕绉�
this.isShow=false
this.btn = false;
}
diff --git a/ruoyi-ui/src/views/economy/economyInfo.vue b/ruoyi-ui/src/views/economy/economyInfo.vue
index fdc1d57..52a3fa9 100644
--- a/ruoyi-ui/src/views/economy/economyInfo.vue
+++ b/ruoyi-ui/src/views/economy/economyInfo.vue
@@ -2,7 +2,7 @@
<div class="app-container" id="printable-content">
<div class="form-header mt">
<h1 style="font-size:21px;padding-top:30px;display: flex;justify-content: space-between;align-items: center;" >
- <span>瀹跺涵鏀舵敮鍙拌处璇︾粏淇℃伅</span>
+ <span>鏀舵敮璇︾粏淇℃伅</span>
<div style="display: flex; align-items: center;">
<el-button size="mini" type="text" v-print="'#printable-content'" v-hasPermi="['person:information:memo']">
<div class="form" ><el-icon style="padding-right:100px;"></el-icon>
@@ -306,10 +306,10 @@
this.btn= jd;
this.dsb = !jd;
this.isShow=true;
- this.$route.meta.title = "淇敼瀹跺涵鏀舵敮鍙拌处淇℃伅";//鍒楄〃鐨勫悕绉�
+ this.$route.meta.title = "淇敼鏀舵敮淇℃伅";//鍒楄〃鐨勫悕绉�
}
else{
- this.$route.meta.title = "瀹跺涵鏀舵敮鍙拌处璇︾粏淇℃伅";//鍒楄〃鐨勫悕绉�
+ this.$route.meta.title = "瀹跺涵鏀舵敮璇︾粏淇℃伅";//鍒楄〃鐨勫悕绉�
this.isShow=false;
this.btn = false;
}
diff --git a/ruoyi-ui/src/views/honor/honorInfo.vue b/ruoyi-ui/src/views/honor/honorInfo.vue
index 062deff..28b37aa 100644
--- a/ruoyi-ui/src/views/honor/honorInfo.vue
+++ b/ruoyi-ui/src/views/honor/honorInfo.vue
@@ -2,7 +2,7 @@
<div class="app-container" id="printable-content">
<div class="form-header mt">
<h1 style="font-size:21px;padding-top:30px;display: flex;justify-content: space-between;align-items: center;" >
- <span>鑽h獕璇佷功璇︾粏淇℃伅</span>
+ <span>鑽h獕璇︾粏淇℃伅</span>
<div style="display: flex; align-items: center;">
<el-button size="mini" type="text" v-print="'#printable-content'" v-hasPermi="['person:information:memo']">
<div class="form" ><el-icon style="padding-right:100px;"></el-icon>
@@ -361,11 +361,11 @@
this.isEditing=true
// document.title = "淇敼鑽h獕璇佷功璇︾粏淇℃伅";
- this.$route.meta.title = "淇敼鑽h獕璇佷功璇︾粏淇℃伅";//鍒楄〃鐨勫悕绉�
+ this.$route.meta.title = "淇敼鑽h獕璇︾粏淇℃伅";//鍒楄〃鐨勫悕绉�
}
else{
// document.title = "鏌ョ湅鑽h獕璇佷功璇︾粏淇℃伅";
- this.$route.meta.title = "鏌ョ湅鑽h獕璇佷功璇︾粏淇℃伅";//鍒楄〃鐨勫悕绉�
+ this.$route.meta.title = "鏌ョ湅鑽h獕璇︾粏淇℃伅";//鍒楄〃鐨勫悕绉�
this.isShow=false
this.btn = false;
}
diff --git a/ruoyi-ui/src/views/mindMap/index.vue b/ruoyi-ui/src/views/mindMap/index.vue
index 6125b69..836007f 100644
--- a/ruoyi-ui/src/views/mindMap/index.vue
+++ b/ruoyi-ui/src/views/mindMap/index.vue
@@ -1,5 +1,20 @@
<template>
<div class="app-container">
+ <el-select
+ v-model="selectedClan"
+ placeholder="璇烽�夋嫨瀹舵棌"
+ @change="handleClanChange"
+ style="margin-bottom: 20px; width: 200px;"
+ >
+ <el-option
+ v-for="clan in clanList"
+ :key="clan.id"
+ :label="clan.name"
+ :value="clan.id"
+ >
+ </el-option>
+ </el-select>
+ 6565565665
<!-- <div class="text" style="background-color: #FEF7FC;" >
<h1 style="font-size: 21px;">{{ greeting +'锛�' + user.userName }}</h1></div> -->
<div class="image-container" style="background-color: #FEF7FC;">
@@ -31,7 +46,11 @@
showMindMap: false,
user: {},
greeting: "",
- rootList:[]
+ rootList:[],
+ // 鏂板瀹舵棌鍒楄〃
+ clanList: [],
+ // 鏂板褰撳墠閫変腑鐨勫鏃� ID
+ selectedClan: null
};
},
mounted() {
@@ -93,6 +112,62 @@
})
},
+
+ // 鍔犺浇瀵瑰簲瀹舵棌鐨勫璋卞浘鏁版嵁
+ loadMindMapData(clanId) {
+ listRoot(10, clanId).then(response => {
+ this.rootList = response.data;
+ const mindMapData = this.rootList[0];
+ console.log(mindMapData);
+ console.log('9999');
+ this.mapData = this.drawData(mindMapData);
+ this.showMindMap = true;
+ });
+ },
+
+ // 澶勭悊瀹舵棌閫夋嫨鍙樺寲
+ handleClanChange(clanId) {
+ this.loadMindMapData(clanId);
+ },
+
+ drawData(mpdata) {
+ let tp = "https://www.bendudu.com:8080/profile/upload/2023/03/19/test7_20230319222030A007.jpg"
+ if (mpdata == null)
+ return null;
+
+ var data = {
+ "label": mpdata['spouse'] != null ? eval(mpdata['spouse']).nickName : '',
+ "prop": mpdata['nickName'],
+ "url": mpdata['url'] != null ? 'https://www.bendudu.com:8080/' + mpdata['url'] : tp,
+ "purl": mpdata['spouse'] != null ? (mpdata['spouse'].url != null ? 'https://www.bendudu.com:8080/' + mpdata['spouse'].url : tp) : tp,
+ "id": mpdata['userId'],
+ "spid": mpdata['spouseId'] != null ? mpdata['spouseId'] : '',
+ "link": mpdata['nickName'],
+ "children": []
+ };
+
+ if (mpdata['childList'] != null) {
+ for (var i = 0; i < mpdata['childList'].length; i++) {
+ var dt = {
+ "label": mpdata['childList'][i]['spouse'] != null ? eval(mpdata['childList'][i]['spouse']).nickName : "",
+ "prop": mpdata['childList'][i]['nickName'],
+ "url": mpdata['childList'][i]['url'] != null ? 'https://www.bendudu.com:8080/' + mpdata['childList'][i]['url'] : tp,
+ "id": mpdata['childList'][i]['userId'],
+ "spid": mpdata['childList'][i]['spouseId'] != null ? mpdata['childList'][i]['spouseId'] : '',
+ "purl": (mpdata['childList'][i]['spouse'] != null) ? (mpdata['childList'][i]['spouse'].url != null ? 'https://www.bendudu.com:8080/' + mpdata['childList'][i]['spouse'].url : tp) : tp,
+ "link": mpdata['childList'][i]['nickName'],
+ "children": []
+ };
+ if (mpdata['childList'][i]['childList'] != null) {
+ for (var j = 0; j < mpdata['childList'][i]['childList'].length; j++) {
+ dt['children'].push(this.drawData(mpdata['childList'][i]['childList'][j]));
+ }
+ }
+ data['children'].push(dt);
+ }
+ }
+ return data;
+ },
drawData(mpdata) {
let tp = "https://www.bendudu.com:8080/profile/upload/2023/03/19/test7_20230319222030A007.jpg"
if (mpdata == null)
diff --git a/ruoyi-ui/src/views/note/propertyInfo.vue b/ruoyi-ui/src/views/note/propertyInfo.vue
index 044551e..f7ffcfb 100644
--- a/ruoyi-ui/src/views/note/propertyInfo.vue
+++ b/ruoyi-ui/src/views/note/propertyInfo.vue
@@ -2,7 +2,7 @@
<div class="app-container" id="printable-content">
<div class="form-header mt" >
<h1 style="font-size:21px;padding-top:30px;display: flex;justify-content: space-between;align-items: center;">
- <span>瀹跺涵璧勪骇璇︽儏</span>
+ <span>瀹朵骇璇︽儏</span>
<div style="display: flex; align-items: center;">
<el-button size="mini" type="text" @click="checkNote" v-hasPermi="['person:information:memo']">
<div class="form" ><el-icon style="padding-right:110px;"></el-icon>
@@ -286,11 +286,11 @@
this.dsb = !jd
this.isShow=true
// document.title = "淇敼璧勪骇璇︾粏淇℃伅";
- this.$route.meta.title = "淇敼璧勪骇璇︾粏淇℃伅";//鍒楄〃鐨勫悕绉�
+ this.$route.meta.title = "淇敼瀹朵骇璇︾粏淇℃伅";//鍒楄〃鐨勫悕绉�
}
else{
// document.title = "瀹跺涵璧勪骇璇︾粏淇℃伅";
- this.$route.meta.title = "瀹跺涵璧勪骇璇︾粏淇℃伅";//鍒楄〃鐨勫悕绉�
+ this.$route.meta.title = "瀹朵骇璇︾粏淇℃伅";//鍒楄〃鐨勫悕绉�
this.btn = false;
// alert(this.btn)
this.isShow=false
--
Gitblit v1.9.1