ljc hace 1 mes
padre
commit
4fe9eb542a
Se han modificado 1 ficheros con 12 adiciones y 4 borrados
  1. 12 4
      pages/ib/report.vue

+ 12 - 4
pages/ib/report.vue

@@ -1,6 +1,6 @@
 <template>
   <cwg-page-wrapper class="create-page" :isHeaderFixed="true">
-    <cwg-header :title="t('Home.page_ib.item3')" />
+    <cwg-header :title="titleList[reportType]" />
     <uni-loading v-if="loading"/>
     <view v-else class="account-content">
       <view class="search-content">
@@ -59,6 +59,14 @@
     //  加点报告
     // { text: t('Ib.Report.Title8'), value: 24 },
   ])
+  const titleList = computed(() => {
+    return {
+      1: t('Ib.Report.Title1'),
+      2: t('Ib.Report.Title2'),
+      3: t('Ib.Report.Title3'),
+      6: t('news_add_field.IbReport.Title6'),
+    }
+  })
 
   const detailTypeList = computed(() => [
     { text: t('Ib.Report.Tit1'), value: 1 },
@@ -313,9 +321,9 @@
           }
         })
       } else {
-        uni.showToast({
-          title: res.msg, icon: 'none',
-        })
+        // uni.showToast({
+        //   title: res.msg, icon: 'success',
+        // })
       }
     }
   }