Kaynağa Gözat

业务员拜访记录回显部主管反馈内容

zhujindu 8 ay önce
ebeveyn
işleme
241c29d27e
1 değiştirilmiş dosya ile 32 ekleme ve 0 silme
  1. 32 0
      src/views/historicalVisit/historicalDetails.vue

+ 32 - 0
src/views/historicalVisit/historicalDetails.vue

@@ -139,6 +139,26 @@
           </template>
         </van-cell>
       </van-cell-group>
+      <!-- 业务员拜访记录回显部主管反馈内容 -->
+      <template v-if="list.sfaPhotoApproveList.length">
+        <div
+          class="sfaPhotoApproveList"
+          v-for="(item, index) in list.sfaPhotoApproveList"
+          :key="index">
+          <!-- 1:店招内容识别,2:门店代码识别,3:调色机识别,4:更换店招 -->
+          <template v-if="item.identifyType == 1 || item.identifyType == 3">
+            <div style="padding: 10px 16px; font-size: 16px; font-weight: bold">
+              {{ filterTitle(item.identifyType) }}
+            </div>
+            <van-cell-group>
+              <van-cell> AI识别结果: {{ item.resultCorrect == 1 ? '正确' : '不正确' }} </van-cell>
+              <van-cell>
+                拜访照异常原因及解决方案: {{ item.feedbackError || reasonsSolutions }}
+              </van-cell>
+            </van-cell-group>
+          </template>
+        </div>
+      </template>
       <div
         style="padding: 10px 16px; font-size: 16px; font-weight: bold"
         v-if="managerRemarkContents == null && remarkShow">
@@ -218,6 +238,18 @@ export default {
     this.getVisitsDetailFn();
   },
   methods: {
+    filterTitle(item) {
+      switch (item) {
+        case 1:
+          return '店招识别异常,主管反馈:';
+        // case '2':
+        //   return '门店代码识别';
+        case 3:
+          return '调色机识别异常,主管反馈:';
+        // case '4':
+        //   return '更换店招';
+      }
+    },
     getListHistoryList(instanceId) {
       var form = { visitsId: this.$route.query.visitId, pageNum: 1, pageSize: 999 };
       getListHistoryList(form).then((res) => {