zhujindu před 8 měsíci
rodič
revize
d5805c765b

+ 1 - 1
src/views/agentList/index.vue

@@ -356,7 +356,7 @@
         </van-radio-group>
         <van-checkbox-group v-model="result" direction="horizontal">
           <p class="searchchecktitle" @click="otherfxdShow = !otherfxdShow">
-            &nbsp;客户分类<van-icon name="arrow-down" style="float: right" />
+            &nbsp;身份类型<van-icon name="arrow-down" style="float: right" />
           </p>
           <div v-if="otherfxdShow" style="margin: 0 14px; width: 100%">
             <p class="searchchecktitle1" @click="otherfxdShow1 = !otherfxdShow1">

+ 1 - 1
src/views/agentList/visitHistory.vue

@@ -13,7 +13,7 @@
           }}</span
           >)
         </div>
-        <div class="info">客户分类:{{ urlParameter.typeName2 }}</div>
+        <div class="info">身份类型:{{ urlParameter.typeName2 }}</div>
         <div class="info">实际经营者:{{ urlParameter.customerManager }}</div>
         <div class="info">开户日期:{{ formatCompactDate(urlParameter.openDate) }}</div>
         <div class="info">是否冻结:{{ urlParameter.freeze }}</div>

+ 0 - 180
src/views/agentList/visitHistoryDetail copy.vue

@@ -1,180 +0,0 @@
-<template>
-  <!-- 拜访历史详情 -->
-  <div class="visitHistoryDetail">
-    <div class="headers">
-      <van-nav-bar class="navBar" :title="$route.meta.title" left-arrow @click-left="onClickLeft">
-      </van-nav-bar>
-    </div>
-    <div class="container">
-      <div class="lineGrey"></div>
-      <div class="card mt10">
-        <div class="title">
-          {{ urlParameter.chainName }}(<span style="color: #1989fa">{{
-            urlParameter.chainCode
-          }}</span
-          >)
-        </div>
-        <div class="info">客户分类:{{ urlParameter.typeName2 }}</div>
-        <div class="info">实际经营者:{{ urlParameter.customerManager }}</div>
-        <div class="info">开户日期:{{ formatCompactDate(urlParameter.openDate) }}</div>
-        <div class="info">是否冻结:{{ urlParameter.freeze }}</div>
-        <div class="info">是否关户:{{ urlParameter.close }}</div>
-      </div>
-      <div style="padding: 10px 16px; font-size: 16px; font-weight: bold">任务</div>
-      <div class="card" v-if="list.visitSource != 2">
-        <div
-          class="info"
-          style="line-height: 44px; font-size: 14px"
-          v-for="(item, index) in list.sfaTaskList"
-          :key="index"
-          @click="historiStoreVisit(item, index)">
-          <p
-            style="
-              width: 94%;
-              margin: 0;
-              line-height: 24px;
-              padding: 10px 0;
-              display: inline-block;
-            ">
-            {{ item.taskName }}
-          </p>
-          <p class="arrowdetils1">
-            <van-icon name="arrow" />
-          </p>
-        </div>
-      </div>
-      <div v-if="list.visitSource == 2" style="background-color: #fff">
-        <van-cell title="异常事由" :value="selectDictLabel(typeList, list.abnormalReason)" />
-        <van-cell title="异常信息照" />
-        <div style="padding: 10px 16px 0">
-          <delete-upload-img :imgs="imgs"></delete-upload-img>
-        </div>
-        <van-cell title="异常信息" :value="list.remark" />
-      </div>
-    </div>
-  </div>
-</template>
-
-<script>
-import deleteUploadImg from '@/components/deleteUploadImg';
-import { getPhotoTypeList1 } from '@/api/index';
-import { getVisitsDetail } from '@/api/agentList';
-
-export default {
-  components: { deleteUploadImg },
-  data() {
-    return {
-      visitsId: '',
-      imgs: '',
-      typeList: [],
-      ListHistoryTOTLE: '',
-      managerRemarkContent: '',
-      updateTimeShow: false,
-      insert: true,
-      list: '',
-      urlParameter: null,
-      imgs: '',
-    };
-  },
-  created() {
-    this.urlParameter = this.$route.query;
-    this.getVisitsDetailFn();
-    this.getPhotoTypeList();
-  },
-  methods: {
-    getPhotoTypeList() {
-      getPhotoTypeList1({}).then((res) => {
-        this.typeList = res.data;
-      });
-    },
-    getVisitsDetailFn() {
-      getVisitsDetail({ visitsId: this.urlParameter.id }).then((res) => {
-        if (res.code == 200) {
-          this.list = res.data;
-          if (res.data.visitSource == 2) {
-            this.imgs = res.data.sysFileInfos;
-          }
-        } else {
-          this.$toast.fail(res.msg);
-        }
-      });
-    },
-    historiStoreVisit(val, index) {
-      this.$router.push({
-        path: '/visitedTaskDetail',
-        query: { ...this.urlParameter, activatedIndex: index, taskType: val.taskType },
-      });
-      sessionStorage.setItem('collectionItemList', JSON.stringify(val.collectionItemList));
-    },
-    onClickLeft() {
-      this.$router.go(-1);
-    },
-  },
-};
-</script>
-<style lang="scss" scoped>
-.visitHistoryDetail {
-  width: 100%;
-  height: 100%;
-  overflow: hidden;
-  display: flex;
-  flex-direction: column;
-  .container {
-    overflow-y: auto;
-    flex: 1;
-    margin-bottom: 10px;
-    background-color: white;
-    .custom-titles {
-      white-space: break-spaces;
-    }
-    .card {
-      background: #fff;
-      padding: 10px 15px;
-      box-sizing: border-box;
-      .title {
-        line-height: 30px;
-        font-size: 16px;
-        font-weight: bold;
-        color: #333;
-      }
-      .subtitle {
-        line-height: 24px;
-        font-size: 14px;
-        color: #7b7b7b;
-      }
-      .info {
-        font-size: 16px;
-        color: #484848;
-        line-height: 40px;
-        border-bottom: 1px solid #dedede;
-        position: relative;
-        &:last-child {
-          // border-bottom: 0;
-        }
-        .arrow {
-          float: right;
-          display: inline-block;
-          height: 20px;
-          width: 20px;
-          line-height: 20px;
-          text-align: center;
-          border-radius: 50%;
-          background: #1989fa;
-          color: #fff;
-          font-weight: bold;
-          font-size: 14px;
-          margin-top: 9px;
-        }
-        .arrowdetils1 {
-          background: #fff;
-          position: absolute;
-          top: 50%;
-          color: #444;
-          right: 0;
-          margin-top: -22px;
-        }
-      }
-    }
-  }
-}
-</style>

+ 1 - 1
src/views/agentList/visitHistoryDetail.vue

@@ -27,7 +27,7 @@
           }}</span
           >)
         </div>
-        <div class="info">客户分类:{{ urlParameter.typeName2 }}</div>
+        <div class="info">身份类型:{{ urlParameter.typeName2 }}</div>
         <div class="info">实际经营者:{{ urlParameter.customerManager }}</div>
         <div class="info">开户日期:{{ formatCompactDate(urlParameter.openDate) }}</div>
         <div class="info">是否冻结:{{ urlParameter.freeze }}</div>

+ 2 - 1
src/views/agentList/visitPage.vue

@@ -12,7 +12,7 @@
           }}</span
           >)
         </div>
-        <div class="info1">客户分类:{{ urlParameter.typeName2 }}</div>
+        <div class="info1">身份类型:{{ urlParameter.typeName2 }}</div>
         <div class="info1">上次拜访备注:{{ notes }}</div>
         <div class="info1">拜访时长:{{ showTime }}</div>
         <div class="info1">
@@ -200,6 +200,7 @@ export default {
         .then(() => {
           stopVisit({ visitsId: this.visitId }).then((res) => {
             if (res.code == 200) {
+              localStorage.removeItem('visitId');
               this.$dialog
                 .alert({
                   title: '系统提示',

+ 1 - 0
src/views/home/noVisit.vue

@@ -223,6 +223,7 @@ export default {
       this.$router.push({
         path: '/visitPage',
         query: {
+          typeName2: this.activatStoreVal.typeName2,
           chainId: this.activatStoreVal.chainId,
           rdId: this.activatStoreVal.rdId,
           lat: this.TXisBD.lat,