|
@ -4,12 +4,12 @@ Vue.component('follow-bottom', {
|
|
|
<div class="plr30">\
|
|
|
<div class="ui-grid mt10">\
|
|
|
<div class="ui-col-1">签到方式: 定位签到</div>\
|
|
|
<div class="ui-col-1">签到时间: <span v-html="followUpData.createTime">2019-01-01 10:10:10</span></div>\
|
|
|
<div class="ui-col-1">签到时间: <span v-html="followUpData.createTime"></span></div>\
|
|
|
</div>\
|
|
|
<div class="mt10">签到位置: <span v-html="followUpData.address">福建省厦门市思明区软件园望海路</span></div>\
|
|
|
<div class="mt10">签到位置: <span v-html="followUpData.address"></span></div>\
|
|
|
<div class="ui-grid mt10">\
|
|
|
<div class="ui-col-0">签到拍照: </div>\
|
|
|
<div class="ui-col-0"><img v-for="item in imgSrc" :src="httpRequest.getImgUrl(item)" width="50" height="50" style="margin:10px;"></div>\
|
|
|
<div class="ui-col-0"><img v-for="item in imgSrc" :src="getImgUrl(item)" @click="toImgUrl(getImgUrl(item))" width="50" height="50" style="margin:10px;"></div>\
|
|
|
</div>\
|
|
|
</div>\
|
|
|
</div>',
|
|
@ -39,14 +39,21 @@ Vue.component('follow-bottom', {
|
|
|
var data = res.data
|
|
|
if (data != null) {
|
|
|
vm.followUpData = data
|
|
|
vm.imgSrc==data.img?data.img.split(','):''
|
|
|
vm.imgSrc=data.img?data.img.split(','):''
|
|
|
}
|
|
|
} else {
|
|
|
top.toastr.error(res.msg);
|
|
|
}
|
|
|
})
|
|
|
|
|
|
}
|
|
|
},
|
|
|
},
|
|
|
getImgUrl:function(str) {
|
|
|
return httpRequest.getImgUrl(str)
|
|
|
},
|
|
|
toImgUrl:function(str){
|
|
|
return window.location.href=str
|
|
|
},
|
|
|
|
|
|
}
|
|
|
|
|
|
})
|