shuishen
2024-03-22 fdef23064b801a06bbf369785dbbc14db14b707f
subPackage/workbench/views/audit.vue
@@ -11,7 +11,7 @@
                     <text class="f-28">时间筛选</text>
                     <u-icon name="arrow-down"></u-icon>
                  </view>
                  <u-search placeholder="请输入需要查询信息的名称" v-model="keyWord" :clearabled="true" :showAction="true"
                  <u-search placeholder="请输入需要查询信息的名称" v-model="keyword" :clearabled="true" :showAction="true"
                     :animation="true" @search="searchConfirm" @clear="clearConfirm"></u-search>
               </view>
            </view>
@@ -96,19 +96,34 @@
         console.log(option);
         if (option.reportType) {
            this.reportType = option.reportType;
            uni.setNavigationBarTitle({
               title: "取保候审"
            })
            if (option.from == "task") {
               this.tabIndex = 2;
               this.currentStatus = 1;
            }
            if (option.reportType == 1) {
               uni.setNavigationBarTitle({
                  title: "取保候审"
               })
            } else if (option.reportType == 7) {
               uni.setNavigationBarTitle({
                  title: "消防自查"
               })
            } else if (option.reportType == 5) {
               uni.setNavigationBarTitle({
                  title: "二手交易"
               })
               // 去掉已完成状态
               this.tabList.splice(1, 1);
               this.tabIndex = 1;
            }
         }
         if (option.from == "index") {
            uni.setNavigationBarTitle({
               title: "场所任务"
            })
         }
         if (option.from == "task") {
            this.tabIndex = 1;
            this.currentStatus = 1;
         }
         if (option.code) {
            this.houseCode = option.code;
         }
@@ -131,7 +146,7 @@
            this.getList()
         },
         clearConfirm() {
            this.keyWord = ''
            this.keyword = ''
            this.searchConfirm()
         },
         changeTab(e) {
@@ -241,7 +256,7 @@
            if (reportType == 1) {
               this.$u.func.globalNavigator(`bailReportDetail?id=${id}`)
            } else if (reportType == 2) {
            } else if (reportType == 7) {
               this.$u.func.globalNavigator(`selfCheckDetail?id=${id}`)
            } else if (reportType == 5) {
               this.$u.func.globalNavigator(`labelReportDetail?id=${id}`)