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