소스 검색

需求池 906 init

bding 1 년 전
부모
커밋
9472a9ca7f
1개의 변경된 파일12개의 추가작업 그리고 0개의 파일을 삭제
  1. 12 0
      pages/reportForm/reportForm.vue

+ 12 - 0
pages/reportForm/reportForm.vue

@@ -298,6 +298,12 @@ export default {
         ChartPermissionId: this.tabAct_id,
       }).then((res) => {
         this.tabBarsTow = res.Data.List;
+        this.tabBarsTow.push({
+          CategoryId: 100001,
+          IsRed: false,
+          MatchTypeName: "曲线工具",
+          SubCategoryName: "",
+        });
         if (!this.tabAct_idTwo) {
           this.tabAct_idTwo = res.Data.List[0].CategoryId;
         }
@@ -330,6 +336,12 @@ export default {
     },
     //tabs切换二级事件
     toggleTabTwo(item, index) {
+      if (item.CategoryId === 100001) {
+        uni.navigateTo({
+          url: "/reportPages/selectedBulletin/selectedBulletin",
+        });
+        return;
+      }
       this.matchTypeName = item.MatchTypeName;
       this.strategyIndexTwo = index;
       if (this.tabAct_idTwo !== item.CategoryId) {