|
@@ -1,5 +1,5 @@
|
|
|
<template>
|
|
<template>
|
|
|
- <div>
|
|
|
|
|
|
|
+ <div class="historicalDetails">
|
|
|
<!-- 顶部条-->
|
|
<!-- 顶部条-->
|
|
|
<van-nav-bar class="navBar" title="拜访任务" left-arrow @click-left="onClickLeft">
|
|
<van-nav-bar class="navBar" title="拜访任务" left-arrow @click-left="onClickLeft">
|
|
|
<template #right>
|
|
<template #right>
|
|
@@ -96,15 +96,17 @@
|
|
|
<template v-if="list.isSku == '是'">
|
|
<template v-if="list.isSku == '是'">
|
|
|
<div style="padding: 10px 16px; font-size: 16px; font-weight: bold">SKU图像识别结果</div>
|
|
<div style="padding: 10px 16px; font-size: 16px; font-weight: bold">SKU图像识别结果</div>
|
|
|
<div class="card">
|
|
<div class="card">
|
|
|
- <div class="info" @click="toSkuRecognize">
|
|
|
|
|
|
|
+ <div
|
|
|
|
|
+ class="info"
|
|
|
|
|
+ @click="toSkuRecognize"
|
|
|
|
|
+ style="
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+ justify-content: space-between;
|
|
|
|
|
+ padding: 3px;
|
|
|
|
|
+ ">
|
|
|
<p
|
|
<p
|
|
|
- style="
|
|
|
|
|
- width: 94%;
|
|
|
|
|
- margin: 0;
|
|
|
|
|
- line-height: 24px;
|
|
|
|
|
- padding: 10px 0;
|
|
|
|
|
- display: inline-block;
|
|
|
|
|
- ">
|
|
|
|
|
|
|
+ style="flex: 1; margin: 0; line-height: 24px; padding: 10px 0; display: inline-block">
|
|
|
拍摄的所有产品陈列照识别结果:<span v-if="list.skuTotal" style="color: red"
|
|
拍摄的所有产品陈列照识别结果:<span v-if="list.skuTotal" style="color: red"
|
|
|
>{{ list.skuTotal }}个</span
|
|
>{{ list.skuTotal }}个</span
|
|
|
>
|
|
>
|
|
@@ -119,20 +121,41 @@
|
|
|
<div class="card" v-if="list.visitSource != 2">
|
|
<div class="card" v-if="list.visitSource != 2">
|
|
|
<div
|
|
<div
|
|
|
class="info"
|
|
class="info"
|
|
|
- style="line-height: 44px; font-size: 14px"
|
|
|
|
|
|
|
+ style="
|
|
|
|
|
+ font-size: 14px;
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+ justify-content: space-between;
|
|
|
|
|
+ padding: 3px;
|
|
|
|
|
+ "
|
|
|
v-for="(item, index) in list.sfaTaskList"
|
|
v-for="(item, index) in list.sfaTaskList"
|
|
|
:key="index"
|
|
:key="index"
|
|
|
@click="historiStoreVisit(item, index)">
|
|
@click="historiStoreVisit(item, index)">
|
|
|
- <p
|
|
|
|
|
- style="
|
|
|
|
|
- width: 94%;
|
|
|
|
|
- margin: 0;
|
|
|
|
|
- line-height: 24px;
|
|
|
|
|
- padding: 10px 0;
|
|
|
|
|
- display: inline-block;
|
|
|
|
|
- ">
|
|
|
|
|
|
|
+ <p style="flex: 1; margin: 0">
|
|
|
{{ item.taskName }}
|
|
{{ item.taskName }}
|
|
|
</p>
|
|
</p>
|
|
|
|
|
+
|
|
|
|
|
+ <div class="taskPhotoConditionPassed" @click.stop>
|
|
|
|
|
+ <el-popover
|
|
|
|
|
+ :popper-class="item.taskPhotoConditionPassed == 1 ? 'zpoverSuccess' : 'zpover'"
|
|
|
|
|
+ placement="bottom"
|
|
|
|
|
+ width="120"
|
|
|
|
|
+ trigger="click"
|
|
|
|
|
+ :content="
|
|
|
|
|
+ item.taskPhotoConditionPassed == 1
|
|
|
|
|
+ ? '陈列奖励案拍照AI识别通过'
|
|
|
|
|
+ : '陈列奖励案拍照AI识别不通过'
|
|
|
|
|
+ ">
|
|
|
|
|
+ <div class="taskPhotoConditionPassed" slot="reference">
|
|
|
|
|
+ <img
|
|
|
|
|
+ v-if="item.taskPhotoConditionPassed == 1"
|
|
|
|
|
+ :src="require('@/assets/taskPhotoSu.png')" />
|
|
|
|
|
+ <img
|
|
|
|
|
+ v-if="item.taskPhotoConditionPassed == 0"
|
|
|
|
|
+ :src="require('@/assets/taskPhotoErr.png')" />
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </el-popover>
|
|
|
|
|
+ </div>
|
|
|
<p class="arrowdetils1">
|
|
<p class="arrowdetils1">
|
|
|
<van-icon name="arrow" />
|
|
<van-icon name="arrow" />
|
|
|
</p>
|
|
</p>
|
|
@@ -441,6 +464,8 @@ export default {
|
|
|
};
|
|
};
|
|
|
</script>
|
|
</script>
|
|
|
<style lang="scss" scoped>
|
|
<style lang="scss" scoped>
|
|
|
|
|
+.historicalDetails {
|
|
|
|
|
+}
|
|
|
.container {
|
|
.container {
|
|
|
padding-bottom: 50px;
|
|
padding-bottom: 50px;
|
|
|
}
|
|
}
|
|
@@ -485,13 +510,20 @@ export default {
|
|
|
font-size: 14px;
|
|
font-size: 14px;
|
|
|
margin-top: 9px;
|
|
margin-top: 9px;
|
|
|
}
|
|
}
|
|
|
|
|
+ .taskPhotoConditionPassed {
|
|
|
|
|
+ width: 33px;
|
|
|
|
|
+ margin: 0 5px;
|
|
|
|
|
+ display: inline-flex;
|
|
|
|
|
+ img {
|
|
|
|
|
+ width: 33px;
|
|
|
|
|
+ height: 25px;
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
.arrowdetils1 {
|
|
.arrowdetils1 {
|
|
|
background: #fff;
|
|
background: #fff;
|
|
|
- position: absolute;
|
|
|
|
|
- top: 50%;
|
|
|
|
|
color: #444;
|
|
color: #444;
|
|
|
- right: 0;
|
|
|
|
|
- margin-top: -22px;
|
|
|
|
|
|
|
+ margin: 0;
|
|
|
|
|
+ margin-left: 5px;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
@@ -505,7 +537,7 @@ export default {
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
</style>
|
|
</style>
|
|
|
-<style>
|
|
|
|
|
|
|
+<style lang="scss">
|
|
|
.fontWeit .van-cell__title {
|
|
.fontWeit .van-cell__title {
|
|
|
font-weight: bold;
|
|
font-weight: bold;
|
|
|
font-size: 16px;
|
|
font-size: 16px;
|
|
@@ -522,4 +554,20 @@ export default {
|
|
|
border-radius: 6px;
|
|
border-radius: 6px;
|
|
|
overflow: hidden;
|
|
overflow: hidden;
|
|
|
}
|
|
}
|
|
|
|
|
+.historicalDetails {
|
|
|
|
|
+ .card {
|
|
|
|
|
+ .el-popover__reference-wrapper {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+}
|
|
|
|
|
+.zpoverSuccess {
|
|
|
|
|
+ background-color: #28e978 !important;
|
|
|
|
|
+ color: #fff !important;
|
|
|
|
|
+ padding: 8px 10px !important;
|
|
|
|
|
+ z-index: 1 !important;
|
|
|
|
|
+ border-radius: 6px !important;
|
|
|
|
|
+ border: 0 !important;
|
|
|
|
|
+ box-shadow: none !important;
|
|
|
|
|
+}
|
|
|
</style>
|
|
</style>
|