From 5111f3f9c1c31b81af25cb737ec9608d9ff09f42 Mon Sep 17 00:00:00 2001
From: YM <479443481@qq.com>
Date: 星期一, 20 五月 2024 16:51:20 +0800
Subject: [PATCH] 替换图片和地图层级

---
 src/pages/knowledgeBase/knowledgeBase.vue |   35 ++++++++++++++++-------------------
 1 files changed, 16 insertions(+), 19 deletions(-)

diff --git a/src/pages/knowledgeBase/knowledgeBase.vue b/src/pages/knowledgeBase/knowledgeBase.vue
index 99525f7..c478af6 100644
--- a/src/pages/knowledgeBase/knowledgeBase.vue
+++ b/src/pages/knowledgeBase/knowledgeBase.vue
@@ -15,7 +15,7 @@
         class="advancedSea"
         @click="isAvancedClick"
         style="color: #244a7b; cursor: pointer"
-        >楂樼骇鎼滅储 锕�</view
+        >楂樼骇鎼滅储 鈭�</view
       >
     </view>
     <!-- 鐑棬鎼滅储 -->
@@ -47,7 +47,7 @@
         class="advancedSeaTrue1"
       >
         <h3>楂樼骇鎼滅储</h3>
-        <MyForm @submit="onSubmit" :from="from" />
+        <MyForm @submit="onSubmit" @reset="resetForm" :from="from" />
       </view>
     </view>
     <uni-row
@@ -91,10 +91,10 @@
           <view v-if="profession.list.length - 1 > 3" class="flex flex-center">
             <view
               class="toggleButton"
-              style="color: #c1d3ea"
+              style="color: #244a7b"
               @click="shrinkClick('a', '鑱屼笟')"
             >
-              {{ activeBox !== "a" ? "鏇村  锕�" : "鏀惰捣  锔�" }}
+              {{ activeBox !== "a" ? "鏇村  鈭�" : "鏀惰捣  鈭�" }}
             </view>
           </view>
         </view>
@@ -129,10 +129,10 @@
           <view v-if="dynasty.list.length - 1 > 3" class="flex flex-center">
             <view
               class="toggleButton"
-              style="color: #c1d3ea"
+              style="color: #244a7b"
               @click="shrinkClick('b', '鏃舵湡')"
             >
-              {{ activeBox !== "b" ? "鏇村  锕�" : "鏀惰捣  锔�" }}
+              {{ activeBox !== "b" ? "鏇村  鈭�" : "鏀惰捣  鈭�" }}
             </view>
           </view>
         </view>
@@ -165,7 +165,7 @@
           </ul>
           <!-- 	<view class="flex flex-center">
 							<view class="toggleButton" style="font-size: 25rpx;color: #C1D3EA;" @click="shrinkClick('b')">
-								{{ activeBox !== 'b' ? '鏇村  锕�' : '鏀惰捣  锔�' }}
+								{{ activeBox !== 'b' ? '鏇村  鈭�' : '鏀惰捣  鈭�' }}
 							</view>
 						</view> -->
         </view>
@@ -213,7 +213,7 @@
           <el-table-column prop="official" label="瀹樿亴"></el-table-column>
         </el-table>
         <!-- 鍒嗛〉 -->
-        <el-row class="fenye" style="position: absolute; bottom: 0.1rem">
+        <el-row class="fenye">
           <el-pagination
             class="paging flex"
             :current-page="CurrentPage"
@@ -386,20 +386,17 @@
     };
   },
   onLoad(options) {
-    this.onSearch({ text: options.name });
-    this.keywords = options.name;
+    console.log(options.keyword);
+    this.onSearch({ text: options.keyword });
   },
   mounted() {
-    // 淇敼涓ゆ鐨勯珮搴︿繚鎸佷竴鑷�
-    var box1Height = document.querySelector(".fbox2").offsetHeight;
-    document.querySelector(".fbox3").style.height =
-      box1Height + box1Height / 18 + "px";
-    console.log(box1Height, "box1Height");
     this.getStatistics();
-    // 榛樿鍏堣皟鐢ㄦ悳绱竴娆�
-    this.onSearch("");
   },
   methods: {
+    //閲嶇疆鎼滅储缁撴灉
+    resetForm() {
+      this.onSearch("");
+    },
     // ExportJsonExcel瀹炰緥
     Ture() {
       //   鍒涘缓ExportJsonExcel瀹炰緥瀵硅薄
@@ -412,7 +409,7 @@
       const dataList = this.tableData;
       console.log(this.keywords, "keywords");
       let Obj = {
-        keywords: '妤�', //鎼滅储妗嗘绱�
+        keywords: "", //鎼滅储妗嗘绱�
         // keywords: this.keywords, //鎼滅储妗嗘绱�
         name: this.submitData.name, //濮撳悕
         alias: this.submitData.alias, //鍒悕
@@ -590,7 +587,6 @@
         var box1Height = document.querySelector(".fbox").offsetHeight;
         // let box2Height= document.querySelector('.fbox1').style.height = box1Height + 'px';
         let box2Height = document.querySelector(".fbox1").offsetHeight;
-        console.log(box1Height, box2Height);
         if (box1Height <= box2Height) {
           document.querySelector(".fbox1").style.height = box1Height + "px";
         }
@@ -655,6 +651,7 @@
         page: this.CurrentPage,
         pageSize: this.pageSize,
       };
+      console.log(Obj, "ObjObjObj");
       // // 鎼滅储
       await getPersonList(Obj).then((res) => {
         if (res.success) {

--
Gitblit v1.9.1