|
@ -58,12 +58,12 @@ Vue.component('lasc-progress-data', {
|
|
|
code: '',
|
|
|
qualityControlId: '1',
|
|
|
statisticalIndex: {},
|
|
|
exportLoading:false
|
|
|
exportLoading: false
|
|
|
}
|
|
|
},
|
|
|
methods: {
|
|
|
eliminateClick() {
|
|
|
this.form={
|
|
|
this.form = {
|
|
|
name: '',
|
|
|
orderId: '',
|
|
|
phone: '',
|
|
@ -73,7 +73,7 @@ Vue.component('lasc-progress-data', {
|
|
|
molStatus: '',
|
|
|
colStatus: ''
|
|
|
}
|
|
|
this.rangeTime=[]
|
|
|
this.rangeTime = []
|
|
|
},
|
|
|
outputServerOrder() {},
|
|
|
search: function () {
|
|
@ -82,7 +82,7 @@ Vue.component('lasc-progress-data', {
|
|
|
},
|
|
|
outputServerOrder: function (num) {
|
|
|
var vm = this
|
|
|
console.log('111111111111111111',vm)
|
|
|
console.log('111111111111111111', vm)
|
|
|
vm.exportLoading = true
|
|
|
httpRequest
|
|
|
.downLoadFileForAjax('doctor/twoCancers/count/excel', '两癌筛查数据.xls', this.getDoorOrderParameters())
|
|
@ -95,14 +95,13 @@ Vue.component('lasc-progress-data', {
|
|
|
},
|
|
|
|
|
|
hospitalList() {
|
|
|
|
|
|
var vm = this
|
|
|
var data={
|
|
|
town:this.level==2?this.area:'',
|
|
|
hospital:this.level==3?this.area:''
|
|
|
var data = {
|
|
|
town: this.level == 2 ? this.area : '',
|
|
|
hospital: this.level == 3 ? this.area : ''
|
|
|
}
|
|
|
|
|
|
httpRequest.get('doctor/twoCancers/count/hospitalList', {data}).then(function (res) {
|
|
|
httpRequest.get('doctor/twoCancers/count/hospitalList', { data }).then(function (res) {
|
|
|
if (res.status == 200) {
|
|
|
res.data.forEach(item => {
|
|
|
vm.resDistrictData.push({
|
|
@ -128,10 +127,10 @@ Vue.component('lasc-progress-data', {
|
|
|
size: this.pageSize,
|
|
|
molStatus: this.form.molStatus,
|
|
|
colStatus: this.form.colStatus,
|
|
|
queryCode:this.loginDoctor.currentUserRole.code,
|
|
|
queryCode: this.loginDoctor.currentUserRole.code,
|
|
|
queryLevel: this.level,
|
|
|
level:'',
|
|
|
area:''
|
|
|
level: '',
|
|
|
area: ''
|
|
|
}
|
|
|
return parameters
|
|
|
},
|
|
@ -155,7 +154,7 @@ Vue.component('lasc-progress-data', {
|
|
|
this.page = page
|
|
|
this.getDoorOrderList()
|
|
|
},
|
|
|
handleSizeChange: function(val) {
|
|
|
handleSizeChange: function (val) {
|
|
|
this.pageSize = val
|
|
|
this.getDoorOrderList()
|
|
|
},
|
|
@ -170,16 +169,16 @@ Vue.component('lasc-progress-data', {
|
|
|
},
|
|
|
mounted() {
|
|
|
var selectedRole = JSON.parse(sessionStorage.getItem('selectedRole'))
|
|
|
if (selectedRole.code.indexOf('350200') > -1) {
|
|
|
this.level = 1 // 市卫健委
|
|
|
} else if (selectedRole.code.length == 6) {
|
|
|
this.level = 2 // 区管理
|
|
|
this.area=selectedRole.code
|
|
|
} else {
|
|
|
this.level=3
|
|
|
this.area=selectedRole.code
|
|
|
}
|
|
|
this.loginDoctor=JSON.parse(window.localStorage.getItem('wlyyAgent'));
|
|
|
if (selectedRole.code.indexOf('350200') > -1 || selectedRole.code.indexOf('8d94ce907e4d4356b68f6c5d4d0d6bc9') > -1) {
|
|
|
this.level = 1 // 市卫健委
|
|
|
} else if (selectedRole.code.length == 6) {
|
|
|
this.level = 2 // 区管理
|
|
|
this.area = selectedRole.code
|
|
|
} else {
|
|
|
this.level = 3
|
|
|
this.area = selectedRole.code
|
|
|
}
|
|
|
this.loginDoctor = JSON.parse(window.localStorage.getItem('wlyyAgent'))
|
|
|
this.hospitalList()
|
|
|
this.getDoorOrderList()
|
|
|
}
|