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/economy/economyInfo.vue         |    2 
 ruoyi-ui/src/views/device/equipmentInfo.vue        |    2 
 ruoyi-ui/src/views/selfeconomy/selfeconomyInfo.vue |    2 
 ruoyi-ui/src/views/genealogy/index.vue             |   50 ++++++++++++------------
 ruoyi-ui/src/views/collection/collectionInfo.vue   |    2 
 ruoyi-ui/src/views/self/memoInfo.vue               |    2 
 ruoyi-ui/src/views/secret/secretInfo.vue           |    4 +-
 ruoyi-ui/src/views/bignote/familyeventInfo.vue     |    2 
 ruoyi-ui/src/views/healthy/healthyInfo.vue         |    2 
 ruoyi-ui/src/views/honor/honorInfo.vue             |    4 +-
 ruoyi-ui/src/views/clean/cleanInfo.vue             |    2 
 ruoyi-ui/src/views/wish/wishInfo.vue               |    2 
 12 files changed, 38 insertions(+), 38 deletions(-)

diff --git a/ruoyi-ui/src/views/bignote/familyeventInfo.vue b/ruoyi-ui/src/views/bignote/familyeventInfo.vue
index 63cdca6..d3c8c93 100644
--- a/ruoyi-ui/src/views/bignote/familyeventInfo.vue
+++ b/ruoyi-ui/src/views/bignote/familyeventInfo.vue
@@ -20,7 +20,7 @@
         </el-input>
       </el-form-item>
       <el-form-item label="鍙戠敓鏃堕棿" prop="happenTime">
-        <el-input v-model="formData.happenTime" placeholder="璇疯緭鍏ュ彂鐢熸椂闂�" clearable :style="{width: '100%'}" :disabled="dsb">
+        <el-input v-model="formData.happenTime" placeholder="璇疯緭鍏ュ彂鐢熸椂闂�" type="date" clearable :style="{width: '100%'}" :disabled="dsb">
         </el-input>
       </el-form-item>
 
diff --git a/ruoyi-ui/src/views/clean/cleanInfo.vue b/ruoyi-ui/src/views/clean/cleanInfo.vue
index 81b6889..e218ac8 100644
--- a/ruoyi-ui/src/views/clean/cleanInfo.vue
+++ b/ruoyi-ui/src/views/clean/cleanInfo.vue
@@ -34,7 +34,7 @@
         </el-input>
       </el-form-item>
       <el-form-item label="鏃堕棿" prop="happenTime">
-        <el-input v-model="formData.happenTime" placeholder="璇疯緭鍏ユ椂闂�" clearable :style="{width: '100%'}" :disabled="dsb"></el-input>
+        <el-input v-model="formData.happenTime" placeholder="璇疯緭鍏ユ椂闂�" type="date" clearable :style="{width: '100%'}" :disabled="dsb"></el-input>
       </el-form-item>
       <el-form-item label="澶囨敞" prop="remark">
         <el-input v-model="formData.remark" placeholder="璇疯緭鍏ュ娉�" clearable :style="{width: '100%'}" :disabled="dsb"></el-input>
diff --git a/ruoyi-ui/src/views/collection/collectionInfo.vue b/ruoyi-ui/src/views/collection/collectionInfo.vue
index b194bce..8756a7e 100644
--- a/ruoyi-ui/src/views/collection/collectionInfo.vue
+++ b/ruoyi-ui/src/views/collection/collectionInfo.vue
@@ -17,7 +17,7 @@
            <el-row :span="12">
              <el-cow >
               <el-form-item label="鑾峰緱鏃堕棿" prop="happenTime" label-width="70px" style="background: #FAD1E0;border-radius: 7px 7px 7px 7px;opacity: 1;">
-                <el-input v-model="formData.happenTime" placeholder="璇疯緭鍏ヨ幏寰楁椂闂�" clearable :style="{width: '100%'}" :disabled="dsb">
+                <el-input v-model="formData.happenTime" placeholder="璇疯緭鍏ヨ幏寰楁椂闂�" type="date" clearable :style="{width: '100%'}" :disabled="dsb">
                 </el-input>
 
               </el-form-item>
diff --git a/ruoyi-ui/src/views/device/equipmentInfo.vue b/ruoyi-ui/src/views/device/equipmentInfo.vue
index 484547a..0e5ef72 100644
--- a/ruoyi-ui/src/views/device/equipmentInfo.vue
+++ b/ruoyi-ui/src/views/device/equipmentInfo.vue
@@ -11,7 +11,7 @@
         <el-input v-model="formData.name" placeholder="璇疯緭鍏ヨ澶囧悕绉�" clearable :style="{width: '100%'}" :disabled="dsb"></el-input>
       </el-form-item>
       <el-form-item label="鏃堕棿" prop="happenTime">
-        <el-input v-model="formData.happenTime" placeholder="璇疯緭鍏ユ椂闂�" clearable :style="{width: '100%'}" :disabled="dsb">
+        <el-input v-model="formData.happenTime" placeholder="璇疯緭鍏ユ椂闂�" type="date" clearable :style="{width: '100%'}" :disabled="dsb">
         </el-input>
       </el-form-item>
       <el-form-item label="璐拱浜�" prop="buyer">
diff --git a/ruoyi-ui/src/views/economy/economyInfo.vue b/ruoyi-ui/src/views/economy/economyInfo.vue
index a298aaf..4a9ada3 100644
--- a/ruoyi-ui/src/views/economy/economyInfo.vue
+++ b/ruoyi-ui/src/views/economy/economyInfo.vue
@@ -12,7 +12,7 @@
         </el-select>
       </el-form-item>
       <el-form-item label="鏃堕棿" prop="createTime">
-        <el-input v-model="formData.createTime" placeholder="璇烽�夋嫨鏃堕棿" clearable :style="{width: '100%'}" :disabled="dsb"></el-input>
+        <el-input v-model="formData.createTime" placeholder="璇烽�夋嫨鏃堕棿" type="date" clearable :style="{width: '100%'}" :disabled="dsb"></el-input>
       </el-form-item>
       <el-form-item label="鏀跺叆/鏀嚭" prop="price">
         <el-input v-model="formData.price" placeholder="璇疯緭鍏ラ�夋嫨鏀跺叆/鏀嚭" clearable :style="{width: '100%'}" :disabled="dsb">
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`)
       }
diff --git a/ruoyi-ui/src/views/healthy/healthyInfo.vue b/ruoyi-ui/src/views/healthy/healthyInfo.vue
index 6a43147..dcf5cf2 100644
--- a/ruoyi-ui/src/views/healthy/healthyInfo.vue
+++ b/ruoyi-ui/src/views/healthy/healthyInfo.vue
@@ -7,7 +7,7 @@
 
     <el-form ref="elForm" :model="formData" :rules="rules" size="medium" label-width="120px">
       <el-form-item label="浣撴鏃堕棿" prop="checkTime">
-        <el-input v-model="formData.checkTime" placeholder="璇烽�夋嫨浣撴鏃堕棿" clearable :style="{width: '100%'}" :disabled="dsb"></el-input>
+        <el-input v-model="formData.checkTime" placeholder="璇烽�夋嫨浣撴鏃堕棿" type="date" clearable :style="{width: '100%'}" :disabled="dsb"></el-input>
       </el-form-item>
 
       <el-form-item label="灏辩梾鍖婚櫌" prop="hospital">
diff --git a/ruoyi-ui/src/views/honor/honorInfo.vue b/ruoyi-ui/src/views/honor/honorInfo.vue
index 20a6cf7..94b0816 100644
--- a/ruoyi-ui/src/views/honor/honorInfo.vue
+++ b/ruoyi-ui/src/views/honor/honorInfo.vue
@@ -60,13 +60,13 @@
               <el-row>
                 <el-cow :span="8">
                   <el-form-item label="鏈夋晥鏃堕棿" prop="validityDate" label-width="68px" style="background: #FAD1E0;border-radius: 7px 7px 7px 7px;opacity: 1;">
-                    <el-input v-model="formData.validityDate" placeholder="璇疯緭鍏ユ湁鏁堟椂闂�" clearable :style="{width: '100%'}" :disabled="dsb">
+                    <el-input v-model="formData.validityDate" type="date" placeholder="璇疯緭鍏ユ湁鏁堟椂闂�" clearable :style="{width: '100%'}" :disabled="dsb">
                     </el-input>
                   </el-form-item>
                 </el-cow>
                 <el-cow :span="8">
                   <el-form-item label="鑾峰緱鏃堕棿" prop="getDate" label-width="68px" style="background: #FAD1E0;border-radius: 7px 7px 7px 7px;opacity: 1;">
-                    <el-input v-model="formData.getDate" placeholder="璇疯緭鍏ヨ幏寰楁椂闂�" clearable :style="{width: '100%'}" :disabled="dsb">
+                    <el-input v-model="formData.getDate" type="date" placeholder="璇疯緭鍏ヨ幏寰楁椂闂�" clearable :style="{width: '100%'}" :disabled="dsb">
                     </el-input>
                   </el-form-item>
                 </el-cow>
diff --git a/ruoyi-ui/src/views/secret/secretInfo.vue b/ruoyi-ui/src/views/secret/secretInfo.vue
index 0a40f0d..7432182 100644
--- a/ruoyi-ui/src/views/secret/secretInfo.vue
+++ b/ruoyi-ui/src/views/secret/secretInfo.vue
@@ -7,14 +7,14 @@
 
       <el-form ref="elForm" :model="formData" :rules="rules" size="medium" label-width="120px">
         <el-form-item label="鍙戠敓鏃堕棿" prop="happenTime">
-          <el-input v-model="formData.happenTime" placeholder="璇烽�夋嫨鏃堕棿" clearable :style="{width: '100%'}" :disabled="dsb"></el-input>
+          <el-input v-model="formData.happenTime" placeholder="璇烽�夋嫨鏃堕棿" type="date" clearable :style="{width: '100%'}" :disabled="dsb"></el-input>
         </el-form-item>
         <el-form-item label="绫诲瀷" prop="type">
           <el-select v-model="formData.type" placeholder="璇烽�夋嫨鍩洪噾/鍙拌处" clearable :style="{width: '100%'}" :disabled="dsb" >
           </el-select>
         </el-form-item>
         <el-form-item label="鏈夋晥鏈�" prop="validityDate">
-          <el-input v-model="formData.validityDate" placeholder="璇烽�夋嫨鏃堕棿" clearable :style="{width: '100%'}" :disabled="dsb"></el-input>
+          <el-input v-model="formData.validityDate" placeholder="璇烽�夋嫨鏃堕棿" type="date" clearable :style="{width: '100%'}" :disabled="dsb"></el-input>
         </el-form-item>
         <el-form-item label="璐﹀彿" prop="accNo">
           <el-input v-model="formData.accNo" placeholder="璇疯緭鍏ョ敤閫�" clearable :style="{width: '100%'}" :disabled="dsb">
diff --git a/ruoyi-ui/src/views/self/memoInfo.vue b/ruoyi-ui/src/views/self/memoInfo.vue
index f7dc743..85d6e21 100644
--- a/ruoyi-ui/src/views/self/memoInfo.vue
+++ b/ruoyi-ui/src/views/self/memoInfo.vue
@@ -13,7 +13,7 @@
               <el-row>
                 <el-cow :span="8">
                   <el-form-item label="鏃堕棿" prop="happenTime" label-width="50px" style="background: #FAD1E0;border-radius: 7px 7px 7px 7px;opacity: 1;">
-                    <el-input v-model="formData.happenTime" placeholder="璇疯緭鍏ユ椂闂�" clearable :style="{width: '100%'}" :disabled="dsb">
+                    <el-input v-model="formData.happenTime" placeholder="璇疯緭鍏ユ椂闂�" type="date" clearable :style="{width: '100%'}" :disabled="dsb">
                     </el-input>
                   </el-form-item>
                 </el-cow>
diff --git a/ruoyi-ui/src/views/selfeconomy/selfeconomyInfo.vue b/ruoyi-ui/src/views/selfeconomy/selfeconomyInfo.vue
index 97f6d0c..b6feb26 100644
--- a/ruoyi-ui/src/views/selfeconomy/selfeconomyInfo.vue
+++ b/ruoyi-ui/src/views/selfeconomy/selfeconomyInfo.vue
@@ -11,7 +11,7 @@
             <el-row :span="12">
               <el-cow >
                 <el-form-item label="鏃ユ湡" prop="happenTime" label-width="70px" style="background: #FAD1E0;border-radius: 7px 7px 7px 7px;opacity: 1;">
-                  <el-input v-model="formData.happenTime" placeholder="璇疯緭鍏ユ椂闂�" clearable :style="{width: '100%'}" :disabled="dsb">
+                  <el-input v-model="formData.happenTime" placeholder="璇疯緭鍏ユ椂闂�" type="date" clearable :style="{width: '100%'}" :disabled="dsb">
                   </el-input>
                 </el-form-item>
               </el-cow>
diff --git a/ruoyi-ui/src/views/wish/wishInfo.vue b/ruoyi-ui/src/views/wish/wishInfo.vue
index 9d4bc4f..db76db6 100644
--- a/ruoyi-ui/src/views/wish/wishInfo.vue
+++ b/ruoyi-ui/src/views/wish/wishInfo.vue
@@ -17,7 +17,7 @@
           <el-row :span="12">
             <el-cow >
               <el-form-item label="鏃堕棿" prop="happenTime" label-width="70px" style="background: #FAD1E0;border-radius: 7px 7px 7px 7px;opacity: 1;">
-                <el-input v-model="formData.happenTime" placeholder="璇疯緭鍏ユ椂闂�" clearable :style="{width: '100%'}" :disabled="dsb">
+                <el-input v-model="formData.happenTime" placeholder="璇疯緭鍏ユ椂闂�" type="date" clearable :style="{width: '100%'}" :disabled="dsb">
                 </el-input>
 
               </el-form-item>

--
Gitblit v1.9.1