From 83dfded91b5caf837a3d7ba71aa86dafbcf3e3a1 Mon Sep 17 00:00:00 2001
From: yz3456 <2753272399@qq.com>
Date: 星期五, 01 三月 2024 15:47:10 +0800
Subject: [PATCH] 修改了那个allmemo里面index.js

---
 ruoyi-ui/src/views/search/index.vue |   85 ++++++++++++++++++++++++++----------------
 1 files changed, 53 insertions(+), 32 deletions(-)

diff --git a/ruoyi-ui/src/views/search/index.vue b/ruoyi-ui/src/views/search/index.vue
index a60c0c7..39fac62 100644
--- a/ruoyi-ui/src/views/search/index.vue
+++ b/ruoyi-ui/src/views/search/index.vue
@@ -15,7 +15,7 @@
       <el-form-item label="鏃堕棿" prop="happenTime">
         <el-date-picker
           v-model="dateRange"
-          style="width:  197px;
+          style="width:  240px;
           height: 30px;
           background: #FFFFFF;
           border-radius: 14px 14px 14px 14px;
@@ -47,14 +47,20 @@
         <template slot-scope="scope">{{scope.row.ctTableName? scope.row.ctTableName: '鈥斺�斺�斺��'}}</template>
         <!--        <template slot-scope="scope">{{ getSrc1(scope.row.type) }}</template>-->
       </el-table-column>
-      <el-table-column label="瀛楁" prop="remark" sortable  width="120" align="center" >
-        <template slot-scope="scope">{{scope.row.remark? scope.row.remark: '鈥斺�斺�斺��'}}</template>
+      <el-table-column label=" " prop="by1" sortable  width="120" align="center" >
+        <template slot-scope="scope">{{scope.row.by1? scope.row.by1: '鈥斺�斺�斺��'}}</template>
       </el-table-column>
-      <el-table-column label="鏃堕棿" prop="getDate" sortable width="170" align="center" >
-        <template slot-scope="scope">{{scope.row.getDate? scope.row.getDate: '鈥斺�斺�斺��'}}</template>
+      <el-table-column label=" " prop="by2" sortable width="170" align="center" >
+        <template slot-scope="scope">{{scope.row.by2? scope.row.by2: '鈥斺�斺�斺��'}}</template>
       </el-table-column>
-      <el-table-column label="浣嶇疆" prop="by5" sortable width="170" align="center" >
-        <template slot-scope="scope">{{scope.row.by5 ? scope.row.by5: '鈥斺�斺�斺��'}}</template>
+      <el-table-column label=" " prop="by3" sortable width="170" align="center" >
+        <template slot-scope="scope">{{scope.row.by3 ? scope.row.by3: '鈥斺�斺�斺��'}}</template>
+      </el-table-column>
+      <el-table-column label=" " prop="by4" sortable width="170" align="center" >
+        <template slot-scope="scope">{{scope.row.by4? scope.row.by4: '鈥斺�斺�斺��'}}</template>
+      </el-table-column>
+      <el-table-column label=" " prop="by6" sortable width="170" align="center" >
+        <template slot-scope="scope">{{scope.row.by6 ? scope.row.by6: '鈥斺�斺�斺��'}}</template>
       </el-table-column>
 
       <!--      </el-table-column>-->
@@ -136,9 +142,15 @@
       formDat: {
         ctTableName:undefined,
         createTime:undefined,
+        by1:undefined,
+        by2:undefined,
+        by3:undefined,
+        by4:undefined,
         by5:undefined,
+        by6:undefined,
         remark:undefined,
-
+        location:undefined,
+        ctId:undefined
       },
       // 鏌ヨ鍙傛暟
       queryParams: {
@@ -187,7 +199,6 @@
         }
       );
     },
-
     // 鍙栨秷鎸夐挳
     cancel() {
       this.open = false;
@@ -243,33 +254,43 @@
       this.single = selection.length!=1
       this.multiple = !selection.length
     },
-    // //姣忔鏀瑰彉input妗嗗�兼椂灏辨敼鍙榯his.myTableData鐨勫��
-    // inputChange() { //寰幆姣忎竴椤� 鍙content鐨勫�煎惈鏈夎緭鍏ョ殑searchVal鍊硷紝灏卞姞杩沶ewList锛涘弽涔嬶紝灏辨棤涓滆タ鍔犺繘newList
-    //   let newlist = this.formDat.filter(
-    //     (item) => item.content.indexOf(this.searchVal) > -1
-    //   );
-    //   this.contactList = newlist;
-    // },
-
-
     /** 鏌ョ湅璇︾粏淇℃伅 */
     handleCheck(row){
-      const id = row.id;
-      this.$router.push("/self/Honor/honorInfo/" + id);
-    },
-    /** 淇敼鎸夐挳鎿嶄綔 */
-    handleUpdate(row) {
-      const id = row.id;
-      let jd = true
+      // const id = row.id;
+      console.log(row.by5 +'/' + row.ctId);
+      var path = row.by5
+      if (row.by5=="/family/zfEvent" ){ //瀹跺ぇ浜嬭
+        path = "/familymodel/bignote/familyeventInfo/"
 
-      this.$router.push({
-        path:"/self/Honor/honorInfo/" + id,
-        query:{
-          detail:jd
-        }
-      });
-    },
+      }else if(row.by5=="/family/zfProperty"){//瀹跺涵璧勪骇绠$悊
+        path ="/familymodel/property/propertyInfo/"
 
+      }else if(row.by5=="/family/zfEquipment"){//瀹跺涵璁惧
+        path ="/familymodel/Device/equipmentInfo/"
+
+      }else if(row.by5=="/family/zfCollection"){//鏀惰棌鍜岃崳瑾�
+        path = "/familymodel/collection/collectionInfo/"
+
+      }else if(row.by5=="/family/zfDoctor"){//瀹跺涵灏忓尰鐢�
+        path ="/familymodel/Doctor/doctorInfo/"
+
+      }else if(row.by5=="/family/zfClean"){ // 淇濇磥鏀剁撼  -----------鏈夐棶棰�----宸茶В鍐�
+        path = "/familymodel/clean/cleanInfo/"
+
+      }else if(row.by5=="/family/zfContact"){  //閫氳褰�
+        path ="/familymodel/Contact/contactsInfo/"
+
+      }else if(row.by5=="/familymodel/zfPet"){ // 榄呭疇
+        path = "/familymodel/pet/petInfo/"
+
+      }else if(row.by5=="/family/zfEconomy"){ // 瀹跺涵鏀舵敮鍙拌处
+        path = "/familymodel/economy/economyInfo/"
+      }
+
+      this.$router.push(path + row.ctId);
+
+
+    },
 
   },
 

--
Gitblit v1.9.1