Lou
2024-01-17 ef51ae09decb4e016a849d8a5d96be7f44dafc4f
subPackage/workbench/views/csjl.vue
@@ -22,9 +22,10 @@
      <view class="info-box">
         <view class="records-card" v-for="(records, index) in recordsData" :key="records.id"
            @click="pushPage(records)">
            <view class="title flex j-c-s-b">
               <text>{{ records.placeName }}</text>
               <text>{{ records.createTime }}</text>
            <view class="item-title flex j-c-s-b a-i-c">
               <text class="title">{{ records.placeName }}</text>
               <u-tag v-if="records.status == 1" text="待完善" type="warning" plain plainFill></u-tag>
               <u-tag v-if="records.status == 2" text="已完善" type="success" plain plainFill></u-tag>
            </view>
            <view class="info">
               <view class="charge-man">
@@ -34,6 +35,10 @@
               <view class="phone">
                  <text>手机号:</text>
                  <text>{{ records.phone || '未完善' }}</text>
               </view>
               <view class="phone">
                  <text>时间:</text>
                  <text>{{records.createTime}}</text>
               </view>
            </view>
         </view>
@@ -196,7 +201,9 @@
            this.searchConfirm()
         },
         pushPage({
            id
            id,
            status,
            houseCode
         }) {
            if (!id) {
               uni.showToast({
@@ -205,8 +212,12 @@
               })
               return
            }
            let url = "/subPackage/workbench/views/cscj?id=" + id + "&type=1"
            this.$u.func.globalNavigator(url)
            if (status == 1) {
               this.$u.func.globalNavigator(
                  `/subPackage/workbench/views/editCscj?id=${id}&houseCode=${houseCode}`)
            } else {
               this.$u.func.globalNavigator(`/subPackage/workbench/views/cscj?id=${id}&type=1`)
            }
         },
         selectItem(item, index) {
@@ -271,7 +282,7 @@
         .search-ipt {
            border: 0;
            border-radius: 9999rpx;
            background-color: #f6f6f6;
            background-color: #F5F5F5;
         }
      }
@@ -283,26 +294,22 @@
      // background-color: #f6f6f6;
      .records-card {
         background: #fff;
         padding: 30rpx;
         padding: 0 30rpx 30rpx;
         border-radius: 10rpx;
         margin-bottom: 20rpx;
         .title {
         .item-title {
            padding: 20rpx 0;
            font-size: 35rpx;
            border-bottom: 1rpx solid #f6f6f6;
            border-bottom: 1rpx solid #F5F5F5;
         }
            text {
               &:nth-child(1) {
                  font-weight: 700;
                  width: 50%;
               }
               &:nth-child(2) {
                  font-size: 27rpx;
                  color: #999999;
               }
            }
         .title {
            font-size: 32rpx;
            font-weight: bold;
            max-width: 80%;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
         }
         .charge-man,