Sfoglia il codice sorgente

企微客户--会员详情,迁移到我的企微客户

wjj 1 giorno fa
parent
commit
96f7bef6d8
1 ha cambiato i file con 29 aggiunte e 1 eliminazioni
  1. 29 1
      src/views/qw/externalContact/myExternalContact.vue

+ 29 - 1
src/views/qw/externalContact/myExternalContact.vue

@@ -484,6 +484,14 @@
           >
           >
             <span>初诊单</span>
             <span>初诊单</span>
           </el-button>
           </el-button>
+          <el-button
+             size="mini"
+             type="text"
+             @click="handleMemberdetails(scope.row)"
+             v-if="scope.row.fsUserId"
+             >
+             <span>会员详情</span>
+          </el-button>
           <el-button
           <el-button
              size="mini"
              size="mini"
              type="text"
              type="text"
@@ -913,6 +921,13 @@
         />
         />
       </div>
       </div>
     </el-drawer>
     </el-drawer>
+    
+    <el-drawer
+        :with-header="false"
+        size="75%"
+          :title="member.title" :visible.sync="member.open">
+      <userDetails  ref="userDetails" />
+    </el-drawer>
 
 
     <!-- 绑定客户   -->
     <!-- 绑定客户   -->
     <el-dialog :title="bindCustomer.title" :visible.sync="bindCustomer.open"  width="1200px" append-to-body>
     <el-dialog :title="bindCustomer.title" :visible.sync="bindCustomer.open"  width="1200px" append-to-body>
@@ -991,11 +1006,16 @@ import {docList} from "@/api/doctor/doctor";
 import PaginationMore from "../../../components/PaginationMore/index.vue";
 import PaginationMore from "../../../components/PaginationMore/index.vue";
 import Collection from './collection.vue';
 import Collection from './collection.vue';
 import {courseList, videoList} from "@/api/course/courseRedPacketLog";
 import {courseList, videoList} from "@/api/course/courseRedPacketLog";
+import userDetails from '@/views/store/components/userDetails.vue';
 export default {
 export default {
   name: "ExternalContact",
   name: "ExternalContact",
-  components:{PaginationMore, mycustomer,customerDetails,SopDialog,selectUser,info,Collection},
+  components:{PaginationMore, mycustomer,customerDetails,SopDialog,selectUser,info,Collection,userDetails},
   data() {
   data() {
     return {
     return {
+      member:{
+        title:"客户详情",
+        open:false,
+      },
       projectOptions: [],
       projectOptions: [],
       courseLists: [],
       courseLists: [],
       videoList: [],
       videoList: [],
@@ -1285,6 +1305,14 @@ export default {
         this.videoList = response.list
         this.videoList = response.list
       });
       });
     },
     },
+
+    handleMemberdetails(row){
+            this.member.open=true;
+            setTimeout(() => {
+                 this.$refs.userDetails.getDetails(row.fsUserId);
+            }, 1);
+    },
+
     handleInfoCollection(row){
     handleInfoCollection(row){
       this.collection.title = "信息采集";
       this.collection.title = "信息采集";
       this.collection.open = true;
       this.collection.open = true;