|
@ -29,7 +29,7 @@ Vue.component('lasc-patient', {
|
|
|
formDialogVisible: true,
|
|
|
rangeOptions: [
|
|
|
{ label: '区', value: '1' },
|
|
|
{ label: '社区', value: '2' }
|
|
|
{ label: '机构', value: '2' }
|
|
|
],
|
|
|
areaOptions: [
|
|
|
{ label: '思明区', value: '350203' },
|
|
@ -91,6 +91,7 @@ Vue.component('lasc-patient', {
|
|
|
if (selectedRole.code.indexOf('350200') > -1) {
|
|
|
this.level = 1 // 市卫健委
|
|
|
this.areaOptions = [
|
|
|
{ label:'厦门市',value:''},
|
|
|
{ label: '思明区', value: '350203' },
|
|
|
{ label: '海沧区', value: '350205' },
|
|
|
{ label: '湖里区', value: '350206' },
|
|
@ -108,7 +109,7 @@ Vue.component('lasc-patient', {
|
|
|
this.getHospital(selectedRole.code)
|
|
|
} else {
|
|
|
this.level = 3 // 社区管理
|
|
|
this.rangeOptions = [{ label: '社区', value: '2' }]
|
|
|
this.rangeOptions = [{ label: '机构', value: '2' }]
|
|
|
this.areaOptions = [{ label: selectedRole.name.substring(0, 3), value: selectedRole.code.substring(0, 6) }]
|
|
|
this.hospitalOptions = [{ name: selectedRole.name, code: selectedRole.code }]
|
|
|
this.form = {
|
|
@ -195,7 +196,6 @@ Vue.component('lasc-patient', {
|
|
|
size: this.size,
|
|
|
timeType: this.yearType
|
|
|
}
|
|
|
console.log('11111111111111111', this)
|
|
|
if (this.yearType && this.yearType == 1) {
|
|
|
if (this.chooseTime) {
|
|
|
params.startTime = this.chooseTime[0]
|