|
@@ -2,17 +2,18 @@
|
|
|
<view class="back-content">
|
|
|
<!-- 轮播图 -->
|
|
|
<swiper class="top-ad-swiper" :indicator-dots="false" :autoplay="true" :interval="5000" :duration="600" :circular="true">
|
|
|
- <swiper-item v-for="(item,index) in imageTopList" :key="index">
|
|
|
+ <swiper-item v-if="infoData.backlogPhotoList && infoData.backlogPhotoList.length" v-for="(item,index) in infoData.backlogPhotoList" :key="index">
|
|
|
<div class="swiper-item uni-bg-red">
|
|
|
<!-- <image class="swiper-item-imgse" :fade-show='true' :src="item.photo"></image> -->
|
|
|
<u-image mode="scaleToFill" width="750upx" height="400upx" :src="item.photo"></u-image>
|
|
|
</div>
|
|
|
</swiper-item>
|
|
|
+ <u-image v-else mode="scaleToFill" width="750upx" height="400upx" src="/static/noPic.jpg"></u-image>
|
|
|
</swiper>
|
|
|
<view class="back-text">
|
|
|
<!-- 门店 -->
|
|
|
<view class="text-item">
|
|
|
- 常青二路店
|
|
|
+ {{infoData.storeName}}
|
|
|
</view>
|
|
|
<!-- 处理人 -->
|
|
|
<view class="text-item">
|
|
@@ -21,7 +22,7 @@
|
|
|
<text class="margin-left ellipsis-one">张三丰</text>
|
|
|
</view>
|
|
|
<view class="time ">
|
|
|
- 2020-08-07 到期
|
|
|
+ {{infoData.effectiveEndTime}} 到期
|
|
|
</view>
|
|
|
</view>
|
|
|
<!-- 创建人 -->
|
|
@@ -31,7 +32,7 @@
|
|
|
<text class="margin-left ellipsis-one">张三丰</text>
|
|
|
</view>
|
|
|
<view class="time">
|
|
|
- 2020-08-07 创建
|
|
|
+ {{infoData.createTime}} 创建
|
|
|
</view>
|
|
|
</view>
|
|
|
<!-- 指标 -->
|
|
@@ -40,7 +41,7 @@
|
|
|
考评指标
|
|
|
</view>
|
|
|
<view class="margin-left">
|
|
|
- 正常营业
|
|
|
+ {{infoData.clsName}}
|
|
|
</view>
|
|
|
</view>
|
|
|
<!-- 描述 -->
|
|
@@ -49,7 +50,7 @@
|
|
|
描述
|
|
|
</view>
|
|
|
<view class="margin-left">
|
|
|
- 正常营业
|
|
|
+ {{infoData.problemDesc}}
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
@@ -57,13 +58,13 @@
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
+ import { getBackLogDetail } from '@/api/backLog.js'
|
|
|
export default {
|
|
|
components: {
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
|
- // 顶部轮播图片
|
|
|
- imageTopList:[],
|
|
|
+ infoData:{}, // 详情数据
|
|
|
}
|
|
|
},
|
|
|
onLoad(option) {
|
|
@@ -73,7 +74,14 @@
|
|
|
methods: {
|
|
|
// 获取详情数据
|
|
|
getData (id) {
|
|
|
-
|
|
|
+ getBackLogDetail({id:id}).then(res=>{
|
|
|
+ if(res.status==200){
|
|
|
+ this.infoData = res.data
|
|
|
+ } else {
|
|
|
+ this.toashMsg(res.message)
|
|
|
+ this.infoData = {}
|
|
|
+ }
|
|
|
+ })
|
|
|
}
|
|
|
|
|
|
}
|