|
@ -74,7 +74,8 @@
|
|
|
showServerItemDetail: false,
|
|
|
serverItemInfo: undefined,
|
|
|
islimit: false,
|
|
|
scList: []
|
|
|
scList: [],
|
|
|
lastPlan: null
|
|
|
},
|
|
|
mounted: function () {
|
|
|
if (!this.planId) {
|
|
@ -458,7 +459,7 @@
|
|
|
nMnow = this.mnow + 1
|
|
|
nYnow = this.ynow
|
|
|
}
|
|
|
var m_days = new Array(31, 28 + this.is_leap(nYnow), 31, 30, 31, 01, 31, 31, 30, 31, 30, 31) //每个月的天数
|
|
|
var m_days = new Array(31, 28 + this.is_leap(nYnow), 31, 30, 31, 30, 31, 31, 30, 31, 30, 31) //每个月的天数
|
|
|
return {
|
|
|
days: m_days[nMnow],
|
|
|
date: nYnow + '-' + (++nMnow >= 10 ? nMnow : '0' + nMnow)
|
|
@ -803,6 +804,7 @@
|
|
|
}
|
|
|
rehaAPI.calendarPlanDetailItems(params).then(function (res) {
|
|
|
if (res.status == 200) {
|
|
|
vm.lastPlan = res.json
|
|
|
var arr = []
|
|
|
$.each(res.data, function (i, o) {
|
|
|
if (o.code == '3' && o.type) {
|
|
@ -918,6 +920,9 @@
|
|
|
layer.close(loading)
|
|
|
layer.msg('系统繁忙', { icon: 5 })
|
|
|
})
|
|
|
},
|
|
|
toLastPlan(){
|
|
|
window.location.href = `${window.location.pathname}?planId=${this.lastPlan.id}&patientCode=${this.patientCode}`
|
|
|
}
|
|
|
},
|
|
|
watch: {
|