|
@@ -464,6 +464,14 @@
|
|
>
|
|
>
|
|
<span>初诊单</span>
|
|
<span>初诊单</span>
|
|
</el-button>
|
|
</el-button>
|
|
|
|
+ <el-button
|
|
|
|
+ size="mini"
|
|
|
|
+ type="text"
|
|
|
|
+ @click="handleInfoCollection(scope.row)"
|
|
|
|
+ v-if="scope.row.fsUserId"
|
|
|
|
+ >
|
|
|
|
+ <span>信息采集</span>
|
|
|
|
+ </el-button>
|
|
|
|
|
|
<!-- <el-button v-if="scope.row.customerId"-->
|
|
<!-- <el-button v-if="scope.row.customerId"-->
|
|
<!-- size="mini"-->
|
|
<!-- size="mini"-->
|
|
@@ -831,6 +839,9 @@
|
|
<el-dialog :title="user.title" :visible.sync="user.open" width="800px" append-to-body>
|
|
<el-dialog :title="user.title" :visible.sync="user.open" width="800px" append-to-body>
|
|
<selectUser ref="selectUser" @bindMiniCustomerId="bindMiniCustomerId"></selectUser>
|
|
<selectUser ref="selectUser" @bindMiniCustomerId="bindMiniCustomerId"></selectUser>
|
|
</el-dialog>
|
|
</el-dialog>
|
|
|
|
+ <el-dialog :title="collection.title" :visible.sync="collection.open" width="1100px" append-to-body>
|
|
|
|
+ <collection ref="collection" />
|
|
|
|
+ </el-dialog>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
|
|
|
|
@@ -867,11 +878,16 @@ import { editTalk,editAllTalk } from "@/api/qw/externalContactInfo";
|
|
import {createLinkUrl} from "@/api/course/sopCourseLink";
|
|
import {createLinkUrl} from "@/api/course/sopCourseLink";
|
|
import {docList} from "@/api/doctor/doctor";
|
|
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';
|
|
export default {
|
|
export default {
|
|
name: "ExternalContact",
|
|
name: "ExternalContact",
|
|
- components:{PaginationMore, mycustomer,customerDetails,SopDialog,selectUser,info},
|
|
|
|
|
|
+ components:{PaginationMore, mycustomer,customerDetails,SopDialog,selectUser,info,Collection},
|
|
data() {
|
|
data() {
|
|
return {
|
|
return {
|
|
|
|
+ collection:{
|
|
|
|
+ titile:"信息采集",
|
|
|
|
+ open:false,
|
|
|
|
+ },
|
|
doctorList:[],
|
|
doctorList:[],
|
|
diagnosisForm:{},
|
|
diagnosisForm:{},
|
|
diagnosisOpen:false,
|
|
diagnosisOpen:false,
|
|
@@ -1088,6 +1104,17 @@ export default {
|
|
|
|
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
|
|
+ handleInfoCollection(row){
|
|
|
|
+ this.collection.title = "信息采集";
|
|
|
|
+ this.collection.open = true;
|
|
|
|
+ this.userId = row.fsUserId;
|
|
|
|
+ setTimeout(() => {
|
|
|
|
+ this.$refs.collection.getCollectionInfo(row.fsUserId);
|
|
|
|
+ }, 1);
|
|
|
|
+ },
|
|
|
|
+ closeCollection(){
|
|
|
|
+ this.collection.open = false;
|
|
|
|
+ },
|
|
doctorChange(val){
|
|
doctorChange(val){
|
|
for(const doctor of this.doctorList) {
|
|
for(const doctor of this.doctorList) {
|
|
if(doctor.id == val) {
|
|
if(doctor.id == val) {
|