wangsisi 2 settimane fa
parent
commit
0da9a2b789

+ 2 - 2
src/views/old_mini/agri_services/components/farmDynamics.vue

@@ -90,7 +90,7 @@
     <review-upload-popup v-model="showUpload" :record-id="sectionId" @success="getContentData" />
 </template>
 <script setup>
-import { ref, onMounted } from "vue";
+import { ref, onActivated } from "vue";
 import recordItem from "@/components/recordItem.vue";
 import tabList from "@/components/pageComponents/TabList.vue";
 import { Popup, Empty } from "vant";
@@ -212,7 +212,7 @@ const handlePlanClick = (value) => {
     getContentData();
 };
 
-onMounted(() => {
+onActivated(() => {
     getContentData();
 });
 

+ 6 - 1
src/views/old_mini/home/components/problemReminder.vue

@@ -34,7 +34,7 @@
                     {{ getOptionLabel(opt) }}
                 </div>
             </div>
-            <div class="forward-btn bottom-btn" v-if="curRole == 2">转发给客户</div>
+            <div class="forward-btn bottom-btn" v-if="curRole == 2" @click="handleForward">转发给客户</div>
         </div>
     </Popup>
     <Popup v-model:show="noShow" class="no-popup">
@@ -240,6 +240,11 @@ const noPopupBtn = async () => {
     //     url: `/pages/subPages/share_page/index?pageParams=${JSON.stringify(query)}&type=priceSheet`,
     // });
 };
+
+const handleForward = () => {
+    // noPopupBtn();
+};
+
 </script>
 <style lang="scss" scoped>
 .problem-reminder-popup {

+ 1 - 1
src/views/old_mini/report_detail/index.vue

@@ -82,7 +82,7 @@
                 <tab title="农事记录" class="tab-item">
                     <div class="item-title">农事记录</div>
                     <div class="item-content">
-                        农事记录
+                        暂无数据
                     </div>
                 </tab>
             </tabs>