|
|
|
@ -4,23 +4,23 @@
|
|
|
|
|
<view class="card-container border-box"> |
|
|
|
|
<view class="card-item border-box" v-for="(item,index) in lists"> |
|
|
|
|
<view class="card-main border-box"> |
|
|
|
|
<view class="background-view " :class="item.status === 1 ?'blue':'green'"></view> |
|
|
|
|
<view class="background-view " :class="item?.status === 1 ?'blue':'green'"></view> |
|
|
|
|
<view class="title-group row"> |
|
|
|
|
<view class="label">提交时间</view> |
|
|
|
|
<view class="content">{{item.create_time}}</view> |
|
|
|
|
<view class="status" :class="item.status === 1 ?'blue':'green'">{{ item.status === 1 ?'待办结':'已办结' }}</view> |
|
|
|
|
<view class="content">{{item?.create_time}}</view> |
|
|
|
|
<view class="status" :class="item?.status === 1 ?'blue':'green'">{{ item?.status === 1 ?'待办结':'已办结' }}</view> |
|
|
|
|
</view> |
|
|
|
|
<view class="main-hr"></view> |
|
|
|
|
<view class="body-group border-box"> |
|
|
|
|
<view class="body-item row"> |
|
|
|
|
<view class="label">事件类型</view> |
|
|
|
|
<view class="content">{{item.clue_type}}</view> |
|
|
|
|
<view class="content">{{item?.clue_type}}</view> |
|
|
|
|
</view> |
|
|
|
|
<view class="body-item row"> |
|
|
|
|
<view class="label">事件地址</view> |
|
|
|
|
<view class="content col"> |
|
|
|
|
<u-text |
|
|
|
|
:text="item.address" |
|
|
|
|
:text="item?.address" |
|
|
|
|
size="28" |
|
|
|
|
color="#020B18" |
|
|
|
|
custom-style="display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 1; overflow: hidden; "></u-text> |
|
|
|
@ -29,9 +29,9 @@
|
|
|
|
|
</view> |
|
|
|
|
<view class="body-item row"> |
|
|
|
|
<view class="label">文字说明</view> |
|
|
|
|
<view class="content">{{item.describe}}</view> |
|
|
|
|
<view class="content">{{item?.describe}}</view> |
|
|
|
|
</view> |
|
|
|
|
<view class="body-item row image" v-if="item.images || item.video"> |
|
|
|
|
<view class="body-item row image" v-if="item?.images || item?.video"> |
|
|
|
|
<view class="label">图片视频</view> |
|
|
|
|
<view class="content row"> |
|
|
|
|
<view class="content-img col-6" v-for="itemImg in item.images" v-if="item.images"> |
|
|
|
@ -45,7 +45,7 @@
|
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
<view class="card-ext"> |
|
|
|
|
<view class="card-main border-box" v-if="item.handle_time && (item.status ===2)"> |
|
|
|
|
<view class="card-main border-box" v-if="item?.handle_time && (item.status ===2)"> |
|
|
|
|
<view class="line-gun-container"> |
|
|
|
|
<view class="line-gun row"> |
|
|
|
|
<u-image mode="widthFix" width="24" height="84" :src="staticImage.lineGun"></u-image> |
|
|
|
@ -214,21 +214,25 @@ export default {
|
|
|
|
|
|
|
|
|
|
if(!this.isUserList){ |
|
|
|
|
lineList(data).then(res => { |
|
|
|
|
if(res.data.length === 0){ |
|
|
|
|
if(res.data?.length === 0){ |
|
|
|
|
this.status = 'nomore'; |
|
|
|
|
}else{ |
|
|
|
|
this.status = 'loadmore'; |
|
|
|
|
} |
|
|
|
|
this.lists = this.lists.concat(res.data); |
|
|
|
|
if(res.code === 200){ |
|
|
|
|
this.lists = this.lists.concat(res.data); |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
}else{ |
|
|
|
|
userLineList(data).then(res => { |
|
|
|
|
if(res.data.length === 0){ |
|
|
|
|
if(res.data?.length === 0){ |
|
|
|
|
this.status = 'nomore'; |
|
|
|
|
}else{ |
|
|
|
|
this.status = 'loadmore'; |
|
|
|
|
} |
|
|
|
|
this.lists = this.lists.concat(res.data); |
|
|
|
|
if(res.code === 200){ |
|
|
|
|
this.lists = this.lists.concat(res.data); |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|