|
@ -278,15 +278,8 @@ Vue.component('breast-cancer-patient', {
|
|
},
|
|
},
|
|
resetArea() {
|
|
resetArea() {
|
|
if (this.level == 1) {
|
|
if (this.level == 1) {
|
|
delete this.form.area
|
|
|
|
delete this.form.hospital
|
|
|
|
delete this.form.team
|
|
|
|
} else if (this.level == 2) {
|
|
|
|
delete this.form.hospital
|
|
|
|
delete this.form.team
|
|
|
|
} else {
|
|
|
|
delete this.form.team
|
|
|
|
}
|
|
|
|
|
|
this.areaOptions.push({ label: '其他', value: 'other' })
|
|
|
|
}
|
|
},
|
|
},
|
|
getList() {
|
|
getList() {
|
|
var vm = this
|
|
var vm = this
|
|
@ -296,10 +289,9 @@ Vue.component('breast-cancer-patient', {
|
|
|
|
|
|
}
|
|
}
|
|
if(this.form.range==3){
|
|
if(this.form.range==3){
|
|
if(this.form.town){
|
|
|
|
|
|
if(this.form.town&&this.form.town!='other'){
|
|
params.town=this.areaOptions.find(item=>item.value==this.form.town).label
|
|
params.town=this.areaOptions.find(item=>item.value==this.form.town).label
|
|
}
|
|
}
|
|
|
|
|
|
}
|
|
}
|
|
console.log('22222222222222222222',vm)
|
|
console.log('22222222222222222222',vm)
|
|
vm.tableData = []
|
|
vm.tableData = []
|
|
@ -420,7 +412,7 @@ Vue.component('breast-cancer-patient', {
|
|
var params = {
|
|
var params = {
|
|
...this.query,
|
|
...this.query,
|
|
range: (this.form && this.form.range) || '',
|
|
range: (this.form && this.form.range) || '',
|
|
town: (this.form && this.form.town) || ''
|
|
|
|
|
|
town: this.form.range==3?row.orgCode: (this.form && this.form.town) || ''
|
|
}
|
|
}
|
|
vm.dialogTableData = []
|
|
vm.dialogTableData = []
|
|
if (this.chooseTime) {
|
|
if (this.chooseTime) {
|
|
@ -438,10 +430,11 @@ Vue.component('breast-cancer-patient', {
|
|
caseDataList() {
|
|
caseDataList() {
|
|
var vm = this
|
|
var vm = this
|
|
vm.dialogLoading = true
|
|
vm.dialogLoading = true
|
|
|
|
this.query.type = this.query.type.substring(0,this.query.type.length-1)+this.query.status
|
|
var params = {
|
|
var params = {
|
|
...this.query,
|
|
...this.query,
|
|
range: (this.form && this.form.range) || '',
|
|
range: (this.form && this.form.range) || '',
|
|
town: (this.form && this.form.town) || '',
|
|
|
|
|
|
town: this.form.range==3?row.orgCode: (this.form && this.form.town) || '',
|
|
hospital: (this.form && this.form.hospital) || ''
|
|
hospital: (this.form && this.form.hospital) || ''
|
|
}
|
|
}
|
|
vm.dialogTableData = []
|
|
vm.dialogTableData = []
|