| | |
| | | <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">
|
| | |
| | | <view class="phone">
|
| | | <text>手机号:</text>
|
| | | <text>{{ records.phone || '未完善' }}</text>
|
| | | </view>
|
| | | <view class="phone">
|
| | | <text>时间:</text>
|
| | | <text>{{records.createTime}}</text>
|
| | | </view>
|
| | | </view>
|
| | | </view>
|
| | |
| | | this.searchConfirm()
|
| | | },
|
| | | pushPage({
|
| | | id
|
| | | id,
|
| | | status,
|
| | | houseCode
|
| | | }) {
|
| | | if (!id) {
|
| | | uni.showToast({
|
| | |
| | | })
|
| | | 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) {
|
| | |
| | | .search-ipt {
|
| | | border: 0;
|
| | | border-radius: 9999rpx;
|
| | | background-color: #f6f6f6;
|
| | | background-color: #F5F5F5;
|
| | | }
|
| | | }
|
| | |
|
| | |
| | | // 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,
|