Lou
2023-12-29 b69fadd4c960e4287af0bcf782b865353b4f5633
subPackage/workbench/views/cscj.vue
@@ -121,6 +121,10 @@
            </view>
            <lineItem :dataInfo="comprehensiveData.basic">
            </lineItem>
            <!-- <view class="bgc-ff flex j-c-s-b a-i-c" @click="navTo(1)" style="padding:20rpx;">
               <text>历史事件</text>
               <u-icon name="arrow-right"></u-icon>
            </view> -->
            <lineItem :dataInfo="comprehensiveData.scene">
               <template v-slot:pic="{scope}">
@@ -151,6 +155,10 @@
            </view>
            <lineItem :dataInfo="publicData.basic">
            </lineItem>
            <!-- <view class="bgc-ff flex j-c-s-b a-i-c" @click="navTo(2)" style="padding:20rpx;">
               <text>历史事件</text>
               <u-icon name="arrow-right"></u-icon>
            </view> -->
            <lineItem :dataInfo="publicData.scene">
               <template v-slot:pic="{scope}">
@@ -312,10 +320,10 @@
                     name: 'createTime',
                     value: "未完善"
                  },
                  {
                     label: "历史事件",
                     value: "未完善",
                  }
                  // {
                  //    label: "历史事件",
                  //    value: "未完善",
                  // }
               ],
            },
            publicData: {
@@ -366,10 +374,10 @@
                  //    label: "采集时间",
                  //    value: "未完善",
                  // },
                  {
                     label: "历史事件",
                     value: "未完善",
                  }
                  // {
                  //    label: "历史事件",
                  //    value: "未完善",
                  // }
               ],
            },
@@ -386,7 +394,8 @@
            categoryIndex: [],
            firstId: "",
            secondId: "",
            categoryValue: ""
            categoryValue: "",
            houseCode: ""
         }
      },
      created() {
@@ -487,6 +496,18 @@
         //    })
         // },
         navTo(type) {
            if (type == 1) {
               uni.navigateTo({
                  url: `/subPackage/workbench/views/report?code=${this.houseCode}`
               })
            } else {
               uni.navigateTo({
                  url: `/subPackage/workbench/views/audit?code=${this.houseCode}`
               })
            }
         },
         //获取分类
         getCategory(level = 2, id) {
            let params = {
@@ -578,6 +599,7 @@
                  })
                  return
               }
               this.houseCode = data.houseCode;
               const dpaEntity = data?.doorplateAddressEntity || {}
               const gridEntity = data?.grid || {}
               // this.form.buildingCode = dpaEntity?.buildingCode || ''
@@ -662,6 +684,8 @@
                     })
                     this.form.imageUrls = urls.join(",")
                  }
                  this.form.roleName = uni.getStorageSync("activeRole").roleName;
                  add(this.form).then(res => {
                     uni.showToast({
                        icon: 'success',