|
@ -1,5 +1,5 @@
|
|
|
var httpData=GetRequest();
|
|
|
var docInfo = JSON.parse(window.localStorage.getItem('docInfo'));
|
|
|
var docInfo = JSON.parse(window.localStorage.getItem('wlyyAgent'));
|
|
|
var loginDoctor = docInfo
|
|
|
var clientHeight = Math.max(document.body.scrollHeight,document.documentElement.scrollHeight);
|
|
|
new Vue({
|
|
@ -12,15 +12,15 @@ new Vue({
|
|
|
itemType:"1", //随访计划
|
|
|
followUpItem:{
|
|
|
patientName: '',
|
|
|
planList:[{date:new Date().format("yyyy-MM-dd HH:mm")+":00",type:"22",doctor:loginDoctor.code,followupClass:'',type1:'1'}], //计划列表
|
|
|
planList:[{date:new Date().format("yyyy-MM-dd HH:mm")+":00",type:"22",doctor:loginDoctor.uid,followupClass:'',type1:'1'}], //计划列表
|
|
|
},
|
|
|
rules: {
|
|
|
followupPlanDate: [
|
|
|
{ required: true, message: '请选择随访时间', trigger: 'change' },
|
|
|
],
|
|
|
},
|
|
|
item_1:{patientName: '',planList:[{date:"",type:"22",doctor:loginDoctor.code,type1:'1'}]}, //随访计划列表
|
|
|
planItem:{date:"",type:"22",doctor:loginDoctor.code,type1:'1'}, //随访计划列表项
|
|
|
item_1:{patientName: '',planList:[{date:"",type:"22",doctor:loginDoctor.uid,type1:'1'}]}, //随访计划列表
|
|
|
planItem:{date:"",type:"22",doctor:loginDoctor.uid,type1:'1'}, //随访计划列表项
|
|
|
item_2:{
|
|
|
"patientName": '',
|
|
|
"date":"",
|
|
@ -192,7 +192,7 @@ new Vue({
|
|
|
}
|
|
|
followUpAPI.sign_doctors(params).then(function(msg){
|
|
|
if (msg.status === 200) {
|
|
|
var hasThisDoctor=_.find(msg.list,{code:loginDoctor.code})
|
|
|
var hasThisDoctor=_.find(msg.list,{code:loginDoctor.uid})
|
|
|
if(hasThisDoctor>-1){ //列表里有当前医生
|
|
|
this.doctorList=msg.list
|
|
|
}else{
|
|
@ -329,7 +329,7 @@ new Vue({
|
|
|
followupPlanDate: this.followUpItem.followupDate,
|
|
|
followupType: this.followUpItem.followupType,
|
|
|
followupClass: this.followUpItem.followupClass,
|
|
|
doctorCode: loginDoctor.code,
|
|
|
doctorCode: loginDoctor.uid,
|
|
|
doctorName: loginDoctor.name,
|
|
|
orgCode: loginDoctor.hospital,
|
|
|
orgName: loginDoctor.hospitalName,
|
|
@ -343,7 +343,7 @@ new Vue({
|
|
|
dataFrom: "2",
|
|
|
status: "2",
|
|
|
createTime: new Date().format("yyyy-MM-dd HH:mm:ss"),
|
|
|
creater: loginDoctor.code,
|
|
|
creater: loginDoctor.uid,
|
|
|
type:'3' //区分随访计划1、新增随访2、临时随访3、入户随访
|
|
|
}
|
|
|
// this.$loading('创建入户访视...')
|