From 065372592235ab12c259df1a5c0d341a489fbd03 Mon Sep 17 00:00:00 2001
From: Tcsm <1377977403@qq.com>
Date: 星期六, 05 八月 2023 00:07:42 +0800
Subject: [PATCH] 完善详情页对于时间的修改问题

---
 ruoyi-ui/src/views/genealogy/index.vue |   50 +++++++++++++++++++++++++-------------------------
 1 files changed, 25 insertions(+), 25 deletions(-)

diff --git a/ruoyi-ui/src/views/genealogy/index.vue b/ruoyi-ui/src/views/genealogy/index.vue
index 12c07ef..16695a5 100644
--- a/ruoyi-ui/src/views/genealogy/index.vue
+++ b/ruoyi-ui/src/views/genealogy/index.vue
@@ -427,30 +427,30 @@
       this.reset();
     },
      //鎷垮埌閰嶅伓鐨勫鍚�
-   //   getPerson(id)
-   //   {
-   //   //  alert(id)
-   // //    alert(typeof(id))
-   //     // this.listRoot.forEach(function(item, index) {
-   //     //             //item 灏辨槸褰撴棩鎸夊惊鐜埌鐨勫璞�
-   //     //             //index鏄惊鐜殑绱㈠紩锛屼粠0寮�濮�
-   //     //              //alert(typeof(item.userId))
-   //     //             if(item.userId==id){
-   //     //            //   alert(89)
-   //     //            alert(item.nickName)
-   //     //               return item.nickName
-   //     //             }
-   //
-   //     // })
-   //     let username = ""
-   //     for(let i = 0; i < this.listRoot.length;i++)
-   //     {
-   //       if(this.listRoot[i].userId==id)
-   //        username = this.listRoot[i].nickName
-   //     }
-   //     return username;
-   //    // return "12ddd"
-   //   },
+     getPerson(id)
+     {
+     //  alert(id)
+   //    alert(typeof(id))
+       // this.listRoot.forEach(function(item, index) {
+       //             //item 灏辨槸褰撴棩鎸夊惊鐜埌鐨勫璞�
+       //             //index鏄惊鐜殑绱㈠紩锛屼粠0寮�濮�
+       //              //alert(typeof(item.userId))
+       //             if(item.userId==id){
+       //            //   alert(89)
+       //            alert(item.nickName)
+       //               return item.nickName
+       //             }
+
+       // })
+       let username = ""
+       for(let i = 0; i < this.listRoot.length;i++)
+       {
+         if(this.listRoot[i].userId==id)
+          username = this.listRoot[i].nickName
+       }
+       return username;
+      // return "12ddd"
+     },
     //闅旇鍙樿壊
     tableRowClassName({ row, rowIndex }) {
       if (rowIndex % 2 == 0) {
@@ -656,7 +656,7 @@
           ...this.queryParams
         }, `zGenealogy_${new Date().getTime()}.xlsx`)
       }else{
-        this.download('/self/user/export/genealogy/'+Ids, {
+        this.download('/self/user/export/genealogy1/'+Ids, {
 
         }, `zGenealogy_${new Date().getTime()}.xlsx`)
       }

--
Gitblit v1.9.1