|
@ -14,7 +14,9 @@ $.ajax('../../../component/statistics/LascModifyPatient/index.html', {
|
|
Vue.component('lasc-modify-patient', {
|
|
Vue.component('lasc-modify-patient', {
|
|
template: template,
|
|
template: template,
|
|
name: 'lasc-modify-patient',
|
|
name: 'lasc-modify-patient',
|
|
props: ['currentInfo'],
|
|
|
|
|
|
props: {
|
|
|
|
currentInfo: {}
|
|
|
|
},
|
|
data: function () {
|
|
data: function () {
|
|
return {
|
|
return {
|
|
form: {},
|
|
form: {},
|
|
@ -36,6 +38,8 @@ Vue.component('lasc-modify-patient', {
|
|
}
|
|
}
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
|
|
// 编辑
|
|
|
|
updJkCopdPatient() {},
|
|
handleItemChange(item, type) {
|
|
handleItemChange(item, type) {
|
|
if (type == 1) {
|
|
if (type == 1) {
|
|
this.form.sickProvince = item[0] || ''
|
|
this.form.sickProvince = item[0] || ''
|
|
@ -103,7 +107,7 @@ Vue.component('lasc-modify-patient', {
|
|
}
|
|
}
|
|
},
|
|
},
|
|
mounted() {
|
|
mounted() {
|
|
// console.log(this.currentInfo)
|
|
|
|
|
|
// console.log('currentInfocurrentInfo: ', this.currentInfo)
|
|
this.form = this.currentInfo
|
|
this.form = this.currentInfo
|
|
for (var i = 8; i < 21; i++) {
|
|
for (var i = 8; i < 21; i++) {
|
|
this.menophaniaAgeList.push(i)
|
|
this.menophaniaAgeList.push(i)
|