|
@ -197,6 +197,7 @@ Vue.component('server-items-detail', {
|
|
|
tabStatus: 1,
|
|
|
title: '',
|
|
|
docInfo: JSON.parse(window.localStorage.getItem('wlyyAgent')),
|
|
|
docInfo1 : JSON.parse(window.localStorage.getItem('docInfo')),
|
|
|
upImgs: [],
|
|
|
upImgArr: [],
|
|
|
imgData: {
|
|
@ -219,7 +220,7 @@ Vue.component('server-items-detail', {
|
|
|
if (this.islimit) {
|
|
|
this.goToLoadData(true)
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
},
|
|
|
mounted: function () {
|
|
|
_vm = this
|
|
@ -228,6 +229,7 @@ Vue.component('server-items-detail', {
|
|
|
methods: {
|
|
|
initData: function () {
|
|
|
var vm = this
|
|
|
|
|
|
this.planDetaiId = this.plandetailid
|
|
|
this.getServiceItem()
|
|
|
},
|
|
@ -244,6 +246,7 @@ Vue.component('server-items-detail', {
|
|
|
top.layer.close(loadding)
|
|
|
if (res.status == 200) {
|
|
|
vm.service = res.data
|
|
|
|
|
|
var isZK = vm.docInfo.doctorType == 1 ? true : false
|
|
|
vm.service.isZK = isZK
|
|
|
if (vm.service.isMyTask == 1) {
|
|
@ -269,6 +272,8 @@ Vue.component('server-items-detail', {
|
|
|
vm.tabStatus = 2
|
|
|
vm.selectByPlanDetaiId()
|
|
|
}
|
|
|
vm.getList()
|
|
|
|
|
|
vm.selectByGuidance()
|
|
|
vm.$forceUpdate()
|
|
|
} else {
|
|
@ -980,23 +985,25 @@ Vue.component('server-items-detail', {
|
|
|
},
|
|
|
getList: function () {
|
|
|
var vm = this
|
|
|
console.log('211111111111111111111111', vm.planInfo)
|
|
|
|
|
|
var params = {
|
|
|
doctor: vm.docInfo1.code,
|
|
|
diseaseType: vm.service.disease,
|
|
|
type: '',
|
|
|
patientName: '',
|
|
|
patientCode: vm.patientcode,
|
|
|
isDanger: '',
|
|
|
pageNo: 1,
|
|
|
pageSize: 1,
|
|
|
filterType: 1,
|
|
|
isAscvd: vm.service.disease == '3' ? 1 : ''
|
|
|
}
|
|
|
|
|
|
|
|
|
rehaAPI
|
|
|
.getList({
|
|
|
doctor: docInfo.code,
|
|
|
diseaseType: vm.service.disease,
|
|
|
type: '',
|
|
|
patientName: '',
|
|
|
patientCode: this.patientCode,
|
|
|
isDanger: '',
|
|
|
pageNo: 1,
|
|
|
pageSize: 1,
|
|
|
filterType: 1,
|
|
|
isAscvd: vm.planInfo.disease == '3' ? 1 : ''
|
|
|
})
|
|
|
.getList(params)
|
|
|
.then(function (res) {
|
|
|
vm.scList = res.data
|
|
|
console.log(res, 'dasssssssssssssssssss')
|
|
|
})
|
|
|
},
|
|
|
viewDetail: function (planids, type, recordId) {
|
|
@ -1029,6 +1036,7 @@ Vue.component('server-items-detail', {
|
|
|
})
|
|
|
return
|
|
|
}
|
|
|
|
|
|
layer.open({
|
|
|
// 康复计划的所有服务项
|
|
|
type: 2,
|
|
@ -1081,7 +1089,6 @@ Vue.component('server-items-detail', {
|
|
|
imgShow('#outerdiv', '#innerdiv', '#bigimg', url)
|
|
|
},
|
|
|
toDoorDialog() {
|
|
|
// console.log("server");
|
|
|
top.layer.open({
|
|
|
type: 2,
|
|
|
area: ['850px', '700px'],
|