|
@@ -1,6 +1,6 @@
|
|
|
<template>
|
|
<template>
|
|
|
<div class="taskPhotoTaking">
|
|
<div class="taskPhotoTaking">
|
|
|
- <van-nav-bar class="navBar" left-arrow title="拜访任务" @click-left="onClickLeft">
|
|
|
|
|
|
|
+ <van-nav-bar class="navBar" left-arrow title="生动化陈列" @click-left="onClickLeft">
|
|
|
<template #right>
|
|
<template #right>
|
|
|
<span
|
|
<span
|
|
|
v-if="isEdit && insert == '1'"
|
|
v-if="isEdit && insert == '1'"
|
|
@@ -23,9 +23,11 @@
|
|
|
<div v-if="item.answerType == 'zp'" class="formLabel z-cell">
|
|
<div v-if="item.answerType == 'zp'" class="formLabel z-cell">
|
|
|
<van-cell>
|
|
<van-cell>
|
|
|
<template #title>
|
|
<template #title>
|
|
|
- <span v-if="item.isMust == 0" class="van-f-red">*</span>
|
|
|
|
|
- <span>1.</span>
|
|
|
|
|
- {{ item.collectionName }}
|
|
|
|
|
|
|
+ <!-- <span v-if="item.isMust == 0" class="van-f-red">*</span> -->
|
|
|
|
|
+ <div class="headline">
|
|
|
|
|
+ <span class="headlineIcon"></span>
|
|
|
|
|
+ <span class="headlineTitle">上传照片</span>
|
|
|
|
|
+ </div>
|
|
|
<!-- 操作说明图片和电话 -->
|
|
<!-- 操作说明图片和电话 -->
|
|
|
<taskTips
|
|
<taskTips
|
|
|
v-if="item.contactPhone || item.examplePhoto"
|
|
v-if="item.contactPhone || item.examplePhoto"
|
|
@@ -34,7 +36,7 @@
|
|
|
</taskTips>
|
|
</taskTips>
|
|
|
</template>
|
|
</template>
|
|
|
</van-cell>
|
|
</van-cell>
|
|
|
- <delete-upload-img
|
|
|
|
|
|
|
+ <deleteUploadImg
|
|
|
:imgs="item.fileInfoList"
|
|
:imgs="item.fileInfoList"
|
|
|
:storeGroupId="storeGroupId"
|
|
:storeGroupId="storeGroupId"
|
|
|
:taskIds="taskIds"
|
|
:taskIds="taskIds"
|
|
@@ -46,18 +48,22 @@
|
|
|
:pictureSource="item.pictureSource"
|
|
:pictureSource="item.pictureSource"
|
|
|
:continuousShoot="item.continuousShoot"
|
|
:continuousShoot="item.continuousShoot"
|
|
|
:insert="insert"
|
|
:insert="insert"
|
|
|
- :objectType="objectType"></delete-upload-img>
|
|
|
|
|
|
|
+ :objectType="objectType"></deleteUploadImg>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
</van-form>
|
|
</van-form>
|
|
|
</div>
|
|
</div>
|
|
|
<div class="dataList" v-if="dataList">
|
|
<div class="dataList" v-if="dataList">
|
|
|
|
|
+ <div class="headline" style="margin-top: 10px">
|
|
|
|
|
+ <span class="headlineIcon"></span>
|
|
|
|
|
+ <span class="headlineTitle">门店参与的陈列任务要求</span>
|
|
|
|
|
+ </div>
|
|
|
<div class="dataItem" v-for="(item, index) in dataList">
|
|
<div class="dataItem" v-for="(item, index) in dataList">
|
|
|
<div class="itemTop">
|
|
<div class="itemTop">
|
|
|
<div class="itemIndex">
|
|
<div class="itemIndex">
|
|
|
<p>{{ index + 1 }}、</p>
|
|
<p>{{ index + 1 }}、</p>
|
|
|
</div>
|
|
</div>
|
|
|
- <div v-html="item.displayInstructions"></div>
|
|
|
|
|
|
|
+ <div class="itemHtml" v-html="item.displayInstructions"></div>
|
|
|
</div>
|
|
</div>
|
|
|
<div class="itemBottom" v-if="insert == '0'">
|
|
<div class="itemBottom" v-if="insert == '0'">
|
|
|
<img
|
|
<img
|
|
@@ -67,9 +73,6 @@
|
|
|
? require('@/assets/taskPhotoSu.png')
|
|
? require('@/assets/taskPhotoSu.png')
|
|
|
: require('@/assets/taskPhotoErr.png')
|
|
: require('@/assets/taskPhotoErr.png')
|
|
|
" />
|
|
" />
|
|
|
- <!-- <img
|
|
|
|
|
- v-if="item.taskPhotoConditionPassed == 0"
|
|
|
|
|
- :src="require('@/assets/taskPhotoErr.png')" /> -->
|
|
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
@@ -224,11 +227,12 @@ export default {
|
|
|
background: #fff;
|
|
background: #fff;
|
|
|
width: 100%;
|
|
width: 100%;
|
|
|
border-radius: 6px;
|
|
border-radius: 6px;
|
|
|
- padding: 10px;
|
|
|
|
|
|
|
+ // padding: 10px;
|
|
|
|
|
+ padding: 0 10px 10px 0px;
|
|
|
}
|
|
}
|
|
|
.formLabel {
|
|
.formLabel {
|
|
|
- margin-left: 20px;
|
|
|
|
|
- border-bottom: 1px solid #f1f1f1;
|
|
|
|
|
|
|
+ // margin-left: 20px;
|
|
|
|
|
+ // border-bottom: 1px solid #f1f1f1;
|
|
|
}
|
|
}
|
|
|
.formLabel .van-cell {
|
|
.formLabel .van-cell {
|
|
|
padding: 10px 0;
|
|
padding: 10px 0;
|
|
@@ -259,24 +263,53 @@ export default {
|
|
|
display: inline-block;
|
|
display: inline-block;
|
|
|
line-height: 26px;
|
|
line-height: 26px;
|
|
|
}
|
|
}
|
|
|
|
|
+ .headline {
|
|
|
|
|
+ font-weight: 600;
|
|
|
|
|
+ font-size: 16px;
|
|
|
|
|
+ position: relative;
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+ .headlineIcon {
|
|
|
|
|
+ display: inline-block;
|
|
|
|
|
+ position: absolute;
|
|
|
|
|
+ width: 3px;
|
|
|
|
|
+ height: 60%;
|
|
|
|
|
+ background: #3875c6;
|
|
|
|
|
+ border-radius: 5px;
|
|
|
|
|
+ }
|
|
|
|
|
+ .headlineTitle {
|
|
|
|
|
+ display: inline-block;
|
|
|
|
|
+ padding: 0px 20px;
|
|
|
|
|
+ background: #eef5ff;
|
|
|
|
|
+ border-radius: 0 18px 18px 0;
|
|
|
|
|
+ height: 36px;
|
|
|
|
|
+ line-height: 36px;
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
.dataList {
|
|
.dataList {
|
|
|
width: 100%;
|
|
width: 100%;
|
|
|
margin-top: 10px;
|
|
margin-top: 10px;
|
|
|
overflow-y: auto;
|
|
overflow-y: auto;
|
|
|
|
|
+ background: #fff;
|
|
|
.dataItem {
|
|
.dataItem {
|
|
|
display: flex;
|
|
display: flex;
|
|
|
- background: #fff;
|
|
|
|
|
- border-radius: 6px;
|
|
|
|
|
- flex-direction: column;
|
|
|
|
|
|
|
+ // border-radius: 6px;
|
|
|
|
|
+ flex-direction: row;
|
|
|
margin-bottom: 10px;
|
|
margin-bottom: 10px;
|
|
|
- padding: 10px;
|
|
|
|
|
|
|
+ // padding: 10px;
|
|
|
font-size: 16px;
|
|
font-size: 16px;
|
|
|
- padding-left: 20px;
|
|
|
|
|
|
|
+ margin-left: 20px;
|
|
|
|
|
+ border-bottom: 1px solid #e2e1e1;
|
|
|
.itemIndex {
|
|
.itemIndex {
|
|
|
}
|
|
}
|
|
|
.itemTop {
|
|
.itemTop {
|
|
|
flex: 1;
|
|
flex: 1;
|
|
|
|
|
+ overflow: hidden;
|
|
|
|
|
+ padding-bottom: 10px;
|
|
|
|
|
+ .itemHtml {
|
|
|
|
|
+ overflow-x: auto;
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
.itemTop,
|
|
.itemTop,
|
|
|
.itemBottom {
|
|
.itemBottom {
|
|
@@ -284,13 +317,27 @@ export default {
|
|
|
flex-direction: row;
|
|
flex-direction: row;
|
|
|
}
|
|
}
|
|
|
.itemBottom {
|
|
.itemBottom {
|
|
|
- justify-content: end;
|
|
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+ width: 35px;
|
|
|
|
|
+ margin-left: 5px;
|
|
|
|
|
+ img {
|
|
|
|
|
+ width: 100%;
|
|
|
|
|
+ height: 30px;
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
</style>
|
|
</style>
|
|
|
<style lang="scss">
|
|
<style lang="scss">
|
|
|
|
|
+// .taskPhotoTaking {
|
|
|
|
|
+// .itenHtml {
|
|
|
|
|
+// overflow: hidden;
|
|
|
|
|
+// img {
|
|
|
|
|
+// width: 100%;
|
|
|
|
|
+// }
|
|
|
|
|
+// }
|
|
|
|
|
+// }
|
|
|
.identifyResultdialog {
|
|
.identifyResultdialog {
|
|
|
width: vw(690) !important;
|
|
width: vw(690) !important;
|
|
|
margin-top: 1vh !important;
|
|
margin-top: 1vh !important;
|