|  | @ -18,8 +18,14 @@ Vue.component('lasc-cervical', {
 | 
	
		
			
				|  |  |     return {
 | 
	
		
			
				|  |  |       years: [],
 | 
	
		
			
				|  |  |       yearType: '1',
 | 
	
		
			
				|  |  |       loadingTwo: false,
 | 
	
		
			
				|  |  |       chooseYear: null,
 | 
	
		
			
				|  |  |       chooseTime: null,
 | 
	
		
			
				|  |  |       query: {
 | 
	
		
			
				|  |  |         page: 1,
 | 
	
		
			
				|  |  |         size: 10,
 | 
	
		
			
				|  |  |         total: 0
 | 
	
		
			
				|  |  |       },
 | 
	
		
			
				|  |  |       rangeOptions: [
 | 
	
		
			
				|  |  |         { label: '区', value: '1' },
 | 
	
		
			
				|  |  |         { label: '社区', value: '2' },
 | 
	
	
		
			
				|  | @ -56,10 +62,17 @@ Vue.component('lasc-cervical', {
 | 
	
		
			
				|  |  |       ],
 | 
	
		
			
				|  |  |       level: 0,
 | 
	
		
			
				|  |  |       visible: false,
 | 
	
		
			
				|  |  |       query: {},
 | 
	
		
			
				|  |  |       dataRangeOption: [],
 | 
	
		
			
				|  |  |       dialogTableData: [],
 | 
	
		
			
				|  |  |       dialogHeader: [],
 | 
	
		
			
				|  |  |       dialogHeader: [
 | 
	
		
			
				|  |  |         { label: '居民姓名', prop: 'name', width: '100' },
 | 
	
		
			
				|  |  |         { label: '证件号码', prop: 'idcard', width: '100' },
 | 
	
		
			
				|  |  |         { label: '手机号', prop: 'mobile', width: '110' },
 | 
	
		
			
				|  |  |         { label: '年龄', prop: 'age', width: '90' },
 | 
	
		
			
				|  |  |         { label: '出生日期', prop: 'birthday', width: '90' },
 | 
	
		
			
				|  |  |         { label: '常驻地址', prop: 'address', width: '100' },
 | 
	
		
			
				|  |  |         { label: '个人筛查状态', prop: 'statusName', width: '100' }
 | 
	
		
			
				|  |  |       ],
 | 
	
		
			
				|  |  |       page: 1,
 | 
	
		
			
				|  |  |       size: 10,
 | 
	
		
			
				|  |  |       total: 0,
 | 
	
	
		
			
				|  | @ -79,10 +92,187 @@ Vue.component('lasc-cervical', {
 | 
	
		
			
				|  |  |       communityHospitals: [],
 | 
	
		
			
				|  |  |       title: '',
 | 
	
		
			
				|  |  |       dialogVisible: false,
 | 
	
		
			
				|  |  |       signatoryList: []
 | 
	
		
			
				|  |  |       signatoryList: [],
 | 
	
		
			
				|  |  |       cervicalHeaderGroups: [
 | 
	
		
			
				|  |  |         {
 | 
	
		
			
				|  |  |           label: '宫颈癌管理情况',
 | 
	
		
			
				|  |  |           children: [
 | 
	
		
			
				|  |  |             { prop: 'num2', label: '妇科检查人数' },
 | 
	
		
			
				|  |  |             { prop: 'assessNum', label: '线上评估人数' },
 | 
	
		
			
				|  |  |             { prop: 'orderNum', label: '线上预约人数' }
 | 
	
		
			
				|  |  |           ]
 | 
	
		
			
				|  |  |         },
 | 
	
		
			
				|  |  |         {
 | 
	
		
			
				|  |  |           label: '宫颈妇科检查情况',
 | 
	
		
			
				|  |  |           children: [
 | 
	
		
			
				|  |  |             { prop: 'jujueNum', label: '拒绝' },
 | 
	
		
			
				|  |  |             { prop: 'yicongNum', label: '依从' },
 | 
	
		
			
				|  |  |             { prop: 'num3', label: '检查人数' },
 | 
	
		
			
				|  |  |             { prop: 'waitNum', label: '待完善人数' }
 | 
	
		
			
				|  |  |           ]
 | 
	
		
			
				|  |  |         },
 | 
	
		
			
				|  |  |         {
 | 
	
		
			
				|  |  |           label: 'HPV检查情况',
 | 
	
		
			
				|  |  |           children: [
 | 
	
		
			
				|  |  |             { prop: 'hpvNum', label: '检查人数' },
 | 
	
		
			
				|  |  |             { prop: 'n1', label: '待完善人数' }
 | 
	
		
			
				|  |  |           ]
 | 
	
		
			
				|  |  |         },
 | 
	
		
			
				|  |  |         {
 | 
	
		
			
				|  |  |           label: '高危HPV分型检测情况',
 | 
	
		
			
				|  |  |           children: [
 | 
	
		
			
				|  |  |             { prop: 'hpvH', label: '高危HPV阳性人数' },
 | 
	
		
			
				|  |  |             { prop: 'hpv16', label: '16型阳性人数' },
 | 
	
		
			
				|  |  |             { prop: 'hpv18', label: '18型阳性人数' },
 | 
	
		
			
				|  |  |             { prop: 'hpv31', label: '31型阳性人数' },
 | 
	
		
			
				|  |  |             { prop: 'hpv33', label: '33型阳性人数' },
 | 
	
		
			
				|  |  |             { prop: 'hpv35', label: '35型阳性人数' },
 | 
	
		
			
				|  |  |             { prop: 'hpv39', label: '39型阳性人数' },
 | 
	
		
			
				|  |  |             { prop: 'hpv45', label: '45型阳性人数' },
 | 
	
		
			
				|  |  |             { prop: 'hpv51', label: '51型阳性人数' },
 | 
	
		
			
				|  |  |             { prop: 'hpv52', label: '52型阳性人数' },
 | 
	
		
			
				|  |  |             { prop: 'hpv53', label: '53型阳性人数' },
 | 
	
		
			
				|  |  |             { prop: 'hpv56', label: '56型阳性人数' },
 | 
	
		
			
				|  |  |             { prop: 'hpv58', label: '58型阳性人数' },
 | 
	
		
			
				|  |  |             { prop: 'hpv59', label: '59型阳性人数' },
 | 
	
		
			
				|  |  |             { prop: 'hpv66', label: '66型阳性人数' },
 | 
	
		
			
				|  |  |             { prop: 'hpv68', label: '68型阳性人数' },
 | 
	
		
			
				|  |  |             { prop: 'hpv73', label: '73型阳性人数' },
 | 
	
		
			
				|  |  |             { prop: 'hpv82', label: '82型阳性人数' }
 | 
	
		
			
				|  |  |           ]
 | 
	
		
			
				|  |  |         },
 | 
	
		
			
				|  |  |         {
 | 
	
		
			
				|  |  |           label: '低危HPV分型检测情况',
 | 
	
		
			
				|  |  |           children: [
 | 
	
		
			
				|  |  |             { prop: 'hpvL', label: '低危HPV阳性人数' },
 | 
	
		
			
				|  |  |             { prop: 'hpv6', label: '6型阳性人数' },
 | 
	
		
			
				|  |  |             { prop: 'hpv11', label: '11型阳性人数' },
 | 
	
		
			
				|  |  |             { prop: 'hpv42', label: '42型阳性人数' },
 | 
	
		
			
				|  |  |             { prop: 'hpv43', label: '43型阳性人数' },
 | 
	
		
			
				|  |  |             { prop: 'hpv44', label: '44型阳性人数' },
 | 
	
		
			
				|  |  |             { prop: 'hpv81', label: '81型阳性人数' },
 | 
	
		
			
				|  |  |             { prop: 'hpv83', label: '83型阳性人数' }
 | 
	
		
			
				|  |  |           ]
 | 
	
		
			
				|  |  |         },
 | 
	
		
			
				|  |  |         {
 | 
	
		
			
				|  |  |           label: '宫颈细胞学检查情况',
 | 
	
		
			
				|  |  |           children: [
 | 
	
		
			
				|  |  |             { prop: 'cytNum', label: '检查人数' },
 | 
	
		
			
				|  |  |             { prop: 'cytNum1', label: '检查异常人数' },
 | 
	
		
			
				|  |  |             { prop: 'cytNum2', label: '待完善人数' }
 | 
	
		
			
				|  |  |           ]
 | 
	
		
			
				|  |  |         },
 | 
	
		
			
				|  |  |         {
 | 
	
		
			
				|  |  |           label: '初筛结果临床评估情况',
 | 
	
		
			
				|  |  |           children: [
 | 
	
		
			
				|  |  |             { prop: 'preNum', label: '检查人数' },
 | 
	
		
			
				|  |  |             { prop: 'preNum1', label: '待完善人数' },
 | 
	
		
			
				|  |  |             { prop: 'preNum2', label: '未见异常,定期筛查' },
 | 
	
		
			
				|  |  |             { prop: 'preNum3', label: '异常,6-12个月复查' },
 | 
	
		
			
				|  |  |             { prop: 'preNum4', label: '异常,嘱进一步行阴道镜检查' }
 | 
	
		
			
				|  |  |           ]
 | 
	
		
			
				|  |  |         },
 | 
	
		
			
				|  |  |         {
 | 
	
		
			
				|  |  |           label: '阴道镜检查情况',
 | 
	
		
			
				|  |  |           children: [
 | 
	
		
			
				|  |  |             { prop: 'colNum', label: '需要阴道镜检查人数' },
 | 
	
		
			
				|  |  |             { prop: 'colNum1', label: '阴道镜检查人数' },
 | 
	
		
			
				|  |  |             { prop: 'colNum2', label: '接受检查人数' },
 | 
	
		
			
				|  |  |             { prop: 'colNum3', label: '拒绝检查人数' },
 | 
	
		
			
				|  |  |             { prop: 'colNum4', label: '未见异常人数' },
 | 
	
		
			
				|  |  |             { prop: 'colNum5', label: '异常人数' },
 | 
	
		
			
				|  |  |             { prop: 'colNum6', label: '待完善人数' }
 | 
	
		
			
				|  |  |           ]
 | 
	
		
			
				|  |  |         },
 | 
	
		
			
				|  |  |         {
 | 
	
		
			
				|  |  |           label: '阴道镜检查随访情况',
 | 
	
		
			
				|  |  |           children: [
 | 
	
		
			
				|  |  |             { prop: 'colfNum', label: '已随访人数' },
 | 
	
		
			
				|  |  |             { prop: 'colfNum1', label: '待随访人数' },
 | 
	
		
			
				|  |  |             { prop: 'colfNum2', label: '未见异常' },
 | 
	
		
			
				|  |  |             { prop: 'colfNum3', label: '低度病变' },
 | 
	
		
			
				|  |  |             { prop: 'colfNum4', label: '高度病变' },
 | 
	
		
			
				|  |  |             { prop: 'colfNum5', label: '可疑癌' },
 | 
	
		
			
				|  |  |             { prop: 'colfNum6', label: '其他' },
 | 
	
		
			
				|  |  |             { prop: 'colfNum7', label: '不详' }
 | 
	
		
			
				|  |  |           ]
 | 
	
		
			
				|  |  |         },
 | 
	
		
			
				|  |  |         {
 | 
	
		
			
				|  |  |           label: '组织病理学检查情况',
 | 
	
		
			
				|  |  |           children: [
 | 
	
		
			
				|  |  |             { prop: 'cpatNum', label: '需要组织病理学检查' },
 | 
	
		
			
				|  |  |             { prop: 'cpatNum1', label: '病理学检查人数' },
 | 
	
		
			
				|  |  |             { prop: 'cpatNum2', label: '接受检查人数' },
 | 
	
		
			
				|  |  |             { prop: 'cpatNum3', label: '拒绝检查人数' },
 | 
	
		
			
				|  |  |             { prop: 'cpatNum4', label: '未见异常人数' },
 | 
	
		
			
				|  |  |             { prop: 'cpatNum5', label: '炎症' },
 | 
	
		
			
				|  |  |             { prop: 'cpatNum6', label: '低级别病变(原CIN1)' },
 | 
	
		
			
				|  |  |             { prop: 'cpatNum7', label: '高级别病变(原CIN2及CIN3)' },
 | 
	
		
			
				|  |  |             { prop: 'cpatNum8', label: '宫颈原位腺癌(AIS)' },
 | 
	
		
			
				|  |  |             { prop: 'cpatNum9', label: '宫颈微小浸润癌(鳞癌/腺癌)' },
 | 
	
		
			
				|  |  |             { prop: 'cpatNum10', label: '宫颈浸润癌(鳞癌/腺癌)' }
 | 
	
		
			
				|  |  |           ]
 | 
	
		
			
				|  |  |         },
 | 
	
		
			
				|  |  |         {
 | 
	
		
			
				|  |  |           label: '组织病理学检查随访情况',
 | 
	
		
			
				|  |  |           children: [
 | 
	
		
			
				|  |  |             { prop: 'cpatfNum', label: '已随访人数' },
 | 
	
		
			
				|  |  |             { prop: 'cpatfNum1', label: '待随访人数' },
 | 
	
		
			
				|  |  |             { prop: 'cpatfNum2', label: '炎症' },
 | 
	
		
			
				|  |  |             { prop: 'cpatfNum3', label: '低级别病变(原CIN1)' },
 | 
	
		
			
				|  |  |             { prop: 'cpatfNum4', label: '高级别病变(原CIN2及CIN3)' },
 | 
	
		
			
				|  |  |             { prop: 'cpatfNum5', label: '宫颈原位腺癌(AIS)' },
 | 
	
		
			
				|  |  |             { prop: 'cpatfNum6', label: '宫颈微小浸润癌(鳞癌/腺癌)' },
 | 
	
		
			
				|  |  |             { prop: 'cpatfNum7', label: '宫颈浸润癌(鳞癌/腺癌)' }
 | 
	
		
			
				|  |  |           ]
 | 
	
		
			
				|  |  |         },
 | 
	
		
			
				|  |  |         {
 | 
	
		
			
				|  |  |           label: '最后诊断情况',
 | 
	
		
			
				|  |  |           children: [
 | 
	
		
			
				|  |  |             { prop: 'finNum', label: '未见异常人数' },
 | 
	
		
			
				|  |  |             { prop: 'finNum1', label: '炎症' },
 | 
	
		
			
				|  |  |             { prop: 'finNum2', label: '低级别病变(原CIN1)' },
 | 
	
		
			
				|  |  |             { prop: 'finNum3', label: '高级别病变(原CIN2及CIN3)' },
 | 
	
		
			
				|  |  |             { prop: 'finNum4', label: '宫颈原位腺癌(AIS)' },
 | 
	
		
			
				|  |  |             { prop: 'finNum5', label: '宫颈微小浸润癌(鳞癌/腺癌)' },
 | 
	
		
			
				|  |  |             { prop: 'finNum6', label: '宫颈浸润癌(鳞癌/腺癌)' },
 | 
	
		
			
				|  |  |             { prop: 'finNum7', label: '待完善人数' }
 | 
	
		
			
				|  |  |           ]
 | 
	
		
			
				|  |  |         },
 | 
	
		
			
				|  |  |         {
 | 
	
		
			
				|  |  |           label: '宫颈病变接受治疗情况',
 | 
	
		
			
				|  |  |           children: [
 | 
	
		
			
				|  |  |             { prop: 'finTNum1', label: '接受治疗人数' },
 | 
	
		
			
				|  |  |             { prop: 'finTNum2', label: '不接受治疗人数' },
 | 
	
		
			
				|  |  |             { prop: 'finTNum3', label: '不详人数' }
 | 
	
		
			
				|  |  |           ]
 | 
	
		
			
				|  |  |         },
 | 
	
		
			
				|  |  |         {
 | 
	
		
			
				|  |  |           label: '术后病理—接受组织病理学检查情况',
 | 
	
		
			
				|  |  |           children: [
 | 
	
		
			
				|  |  |             { prop: 'finSNum1', label: '接受检查人数' },
 | 
	
		
			
				|  |  |             { prop: 'finSNum2', label: '不接受检查人数' },
 | 
	
		
			
				|  |  |             { prop: 'finSNum3', label: '炎症' },
 | 
	
		
			
				|  |  |             { prop: 'finSNum4', label: '低级别病变(原CIN1)' },
 | 
	
		
			
				|  |  |             { prop: 'finSNum5', label: '高级别病变(原CIN2及CIN3)' },
 | 
	
		
			
				|  |  |             { prop: 'finSNum6', label: '宫颈微小浸润癌(鳞癌/腺癌)' },
 | 
	
		
			
				|  |  |             { prop: 'finSNum7', label: '宫颈浸润癌(鳞癌/腺癌)' }
 | 
	
		
			
				|  |  |           ]
 | 
	
		
			
				|  |  |         }
 | 
	
		
			
				|  |  |       ],
 | 
	
		
			
				|  |  |       currentEditData: '',
 | 
	
		
			
				|  |  |       serviceRecordVisable: false
 | 
	
		
			
				|  |  |     }
 | 
	
		
			
				|  |  |   },
 | 
	
		
			
				|  |  |   methods: {
 | 
	
		
			
				|  |  |     back() {
 | 
	
		
			
				|  |  |       this.currentEditData = ''
 | 
	
		
			
				|  |  |       this.serviceRecordVisable = false
 | 
	
		
			
				|  |  |     },
 | 
	
		
			
				|  |  |     gotoService(item) {
 | 
	
		
			
				|  |  |       this.currentEditData = item.patient
 | 
	
		
			
				|  |  |       this.serviceRecordVisable = true
 | 
	
		
			
				|  |  |     },
 | 
	
		
			
				|  |  |     init() {
 | 
	
		
			
				|  |  |       var selectedRole = JSON.parse(sessionStorage.getItem('selectedRole'))
 | 
	
		
			
				|  |  |       if (selectedRole.code.indexOf('350200') > -1) {
 | 
	
	
		
			
				|  | @ -106,9 +296,7 @@ Vue.component('lasc-cervical', {
 | 
	
		
			
				|  |  |         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 }]
 | 
	
		
			
				|  |  |         this.hospitalOptions = [{ name: selectedRole.name, code: selectedRole.code }]
 | 
	
		
			
				|  |  |         this.form = {
 | 
	
	
		
			
				|  | @ -144,16 +332,14 @@ Vue.component('lasc-cervical', {
 | 
	
		
			
				|  |  |         delete this.form.team
 | 
	
		
			
				|  |  |       }
 | 
	
		
			
				|  |  |     },
 | 
	
		
			
				|  |  |     getDictData() {
 | 
	
		
			
				|  |  |     
 | 
	
		
			
				|  |  |     },
 | 
	
		
			
				|  |  |     getDictData() {},
 | 
	
		
			
				|  |  |     searchFn() {
 | 
	
		
			
				|  |  |       var vm = this
 | 
	
		
			
				|  |  |       this.loading = true
 | 
	
		
			
				|  |  |       var params = {
 | 
	
		
			
				|  |  |         ...this.form,
 | 
	
		
			
				|  |  |         page:this.page,
 | 
	
		
			
				|  |  |         size:this.size
 | 
	
		
			
				|  |  |         page: this.page,
 | 
	
		
			
				|  |  |         size: this.size
 | 
	
		
			
				|  |  |       }
 | 
	
		
			
				|  |  |       vm.tableData = []
 | 
	
		
			
				|  |  |       if (this.chooseTime) {
 | 
	
	
		
			
				|  | @ -165,15 +351,15 @@ Vue.component('lasc-cervical', {
 | 
	
		
			
				|  |  |           vm.tableData = res.detailModelList
 | 
	
		
			
				|  |  |           vm.total = res.totalCount
 | 
	
		
			
				|  |  |         }
 | 
	
		
			
				|  |  |         console.log('22222222222222222',vm.tableData)
 | 
	
		
			
				|  |  |         console.log('22222222222222222', vm.tableData)
 | 
	
		
			
				|  |  |         vm.loading = false
 | 
	
		
			
				|  |  |       })
 | 
	
		
			
				|  |  |     },
 | 
	
		
			
				|  |  |     exportTable() {
 | 
	
		
			
				|  |  |       var params = {
 | 
	
		
			
				|  |  |         ...this.form,
 | 
	
		
			
				|  |  |         page:this.page,
 | 
	
		
			
				|  |  |         size:this.size
 | 
	
		
			
				|  |  |         page: this.page,
 | 
	
		
			
				|  |  |         size: this.size
 | 
	
		
			
				|  |  |       }
 | 
	
		
			
				|  |  |       if (this.chooseTime) {
 | 
	
		
			
				|  |  |         params.startTime = this.chooseTime[0]
 | 
	
	
		
			
				|  | @ -241,43 +427,6 @@ Vue.component('lasc-cervical', {
 | 
	
		
			
				|  |  |         vm.teamOptions = res.data
 | 
	
		
			
				|  |  |       })
 | 
	
		
			
				|  |  |     },
 | 
	
		
			
				|  |  |     load(row, treeNode, resolve) {
 | 
	
		
			
				|  |  |       var params = {}
 | 
	
		
			
				|  |  |       var len = row.code.length
 | 
	
		
			
				|  |  |       if (len == 6) {
 | 
	
		
			
				|  |  |         params.range = 'hospital'
 | 
	
		
			
				|  |  |         params.area = row.code
 | 
	
		
			
				|  |  |       } else if (len == 10) {
 | 
	
		
			
				|  |  |         params.range = 'team'
 | 
	
		
			
				|  |  |         params.hospital = row.code
 | 
	
		
			
				|  |  |       }
 | 
	
		
			
				|  |  |       if (this.yearType == '1') {
 | 
	
		
			
				|  |  |         params.startDate = this.chooseYear + '-01-01'
 | 
	
		
			
				|  |  |         params.endDate = this.chooseYear + '-12-31'
 | 
	
		
			
				|  |  |       } else {
 | 
	
		
			
				|  |  |         if (this.chooseTime) {
 | 
	
		
			
				|  |  |           params.startDate = this.chooseTime[0]
 | 
	
		
			
				|  |  |           params.endDate = this.chooseTime[1]
 | 
	
		
			
				|  |  |         }
 | 
	
		
			
				|  |  |       }
 | 
	
		
			
				|  |  |       httpRequest.get('statistics/collaborate/gxbTurnDownInfo', { data: params }).then(function (res) {
 | 
	
		
			
				|  |  |         if (res.status == 200) {
 | 
	
		
			
				|  |  |           var children = res.detailModelList.map(function (item) {
 | 
	
		
			
				|  |  |             var data = JSON.parse(JSON.stringify(item))
 | 
	
		
			
				|  |  |             if (len == 6) {
 | 
	
		
			
				|  |  |               data.hospital = item.name
 | 
	
		
			
				|  |  |               data.hasChildren = true
 | 
	
		
			
				|  |  |             } else if (len == 10) {
 | 
	
		
			
				|  |  |               data.team = item.name
 | 
	
		
			
				|  |  |             }
 | 
	
		
			
				|  |  |             return data
 | 
	
		
			
				|  |  |           })
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |           resolve(children)
 | 
	
		
			
				|  |  |         }
 | 
	
		
			
				|  |  |       })
 | 
	
		
			
				|  |  |     },
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |     handleCurrentChange(val) {
 | 
	
		
			
				|  |  |       this.page = val
 | 
	
	
		
			
				|  | @ -329,92 +478,86 @@ Vue.component('lasc-cervical', {
 | 
	
		
			
				|  |  |           })
 | 
	
		
			
				|  |  |       }
 | 
	
		
			
				|  |  |     },
 | 
	
		
			
				|  |  |     openDialog(row, prop) {
 | 
	
		
			
				|  |  |       if (!row.code) return
 | 
	
		
			
				|  |  |       this.page = 1
 | 
	
		
			
				|  |  |       if (['totalTimes', 'mzTimes', 'zyTimes'].includes(prop)) {
 | 
	
		
			
				|  |  |         this.query = {
 | 
	
		
			
				|  |  |           status: '',
 | 
	
		
			
				|  |  |           hospitalCode: '',
 | 
	
		
			
				|  |  |           orgCode: '',
 | 
	
		
			
				|  |  |           archiveStatus: '',
 | 
	
		
			
				|  |  |           patientType: ''
 | 
	
		
			
				|  |  |         }
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |         this.visible = true
 | 
	
		
			
				|  |  |         this.title = '康复下转明细列表'
 | 
	
		
			
				|  |  |         this.dialogHeader = [
 | 
	
		
			
				|  |  |           { label: '姓名', prop: 'name' },
 | 
	
		
			
				|  |  |           { label: '性别', prop: 'sex' },
 | 
	
		
			
				|  |  |           { label: '年龄', prop: 'age' },
 | 
	
		
			
				|  |  |           { label: '手机号', prop: 'mobile' },
 | 
	
		
			
				|  |  |           { label: '下转医院', prop: 'hospitalName' },
 | 
	
		
			
				|  |  |           { label: '下转医生', prop: 'hospitalDoctor' },
 | 
	
		
			
				|  |  |           { label: '下转时间', prop: 'createTime' },
 | 
	
		
			
				|  |  |           { label: '患者类型', prop: 'patientType' },
 | 
	
		
			
				|  |  |           { label: '下转状态', prop: 'statusName' },
 | 
	
		
			
				|  |  |           { label: '接收社区医院', prop: 'orgName' },
 | 
	
		
			
				|  |  |           { label: '接收签约医生', prop: 'doctorName' },
 | 
	
		
			
				|  |  |           { label: '接收时间', prop: 'receiveTime' },
 | 
	
		
			
				|  |  |           { label: '档案状态', prop: 'archiveStatusName' }
 | 
	
		
			
				|  |  |         ]
 | 
	
		
			
				|  |  |         switch (prop) {
 | 
	
		
			
				|  |  |           case 'mzTimes':
 | 
	
		
			
				|  |  |             this.query.patientType = '1'
 | 
	
		
			
				|  |  |             break
 | 
	
		
			
				|  |  |           case 'zyTimes':
 | 
	
		
			
				|  |  |             this.query.patientType = '2'
 | 
	
		
			
				|  |  |             break
 | 
	
		
			
				|  |  |         }
 | 
	
		
			
				|  |  |       } else if (['totalNum', 'mzNum', 'zyNum'].includes(prop)) {
 | 
	
		
			
				|  |  |         this.visible = true
 | 
	
		
			
				|  |  |         this.title = '下转情况数据列表'
 | 
	
		
			
				|  |  |         this.query = {
 | 
	
		
			
				|  |  |           sex: '',
 | 
	
		
			
				|  |  |           isSign: '',
 | 
	
		
			
				|  |  |           eventType: ''
 | 
	
		
			
				|  |  |         }
 | 
	
		
			
				|  |  |         this.dialogHeader = [
 | 
	
		
			
				|  |  |           { label: '姓名', prop: 'name' },
 | 
	
		
			
				|  |  |           { label: '性别', prop: 'sex' },
 | 
	
		
			
				|  |  |           { label: '年龄', prop: 'age' },
 | 
	
		
			
				|  |  |           { label: '手机号', prop: 'mobile' },
 | 
	
		
			
				|  |  |           { label: '是否签约', prop: 'isSign' },
 | 
	
		
			
				|  |  |           { label: '社区医院', prop: 'hospitalName' },
 | 
	
		
			
				|  |  |           { label: '下转次数', prop: 'num' },
 | 
	
		
			
				|  |  |           { label: '最近一次下转诊断', prop: 'diagnosisName' },
 | 
	
		
			
				|  |  |           { label: '最近一次下转时间', prop: 'turnDownTime' },
 | 
	
		
			
				|  |  |           { label: '最近一次下转类型', prop: 'eventType' }
 | 
	
		
			
				|  |  |         ]
 | 
	
		
			
				|  |  |         switch (prop) {
 | 
	
		
			
				|  |  |           case 'mzNum':
 | 
	
		
			
				|  |  |             this.query.eventType = '1'
 | 
	
		
			
				|  |  |             break
 | 
	
		
			
				|  |  |           case 'zyNum':
 | 
	
		
			
				|  |  |             this.query.eventType = '2'
 | 
	
		
			
				|  |  |             break
 | 
	
		
			
				|  |  |         }
 | 
	
		
			
				|  |  |     openDialog(scope, prop) {
 | 
	
		
			
				|  |  |       var vm = this
 | 
	
		
			
				|  |  |       vm.dialogLoading = true
 | 
	
		
			
				|  |  |       this.query.type = 'g_' + prop
 | 
	
		
			
				|  |  |       var params = {
 | 
	
		
			
				|  |  |         ...this.query,
 | 
	
		
			
				|  |  |         range: (this.form && this.form.range) || '',
 | 
	
		
			
				|  |  |         town: (this.form && this.form.town) || ''
 | 
	
		
			
				|  |  |       }
 | 
	
		
			
				|  |  |       var len = row.code.length
 | 
	
		
			
				|  |  |       if (len == 6) {
 | 
	
		
			
				|  |  |         this.query.range = 'town'
 | 
	
		
			
				|  |  |         this.query.area = row.code
 | 
	
		
			
				|  |  |       } else if (len == 10) {
 | 
	
		
			
				|  |  |         this.query.range = 'hospital'
 | 
	
		
			
				|  |  |         this.query.hospital = row.code
 | 
	
		
			
				|  |  |       } else {
 | 
	
		
			
				|  |  |         this.query.range = 'team'
 | 
	
		
			
				|  |  |         this.query.team = row.code
 | 
	
		
			
				|  |  |       vm.dialogTableData = []
 | 
	
		
			
				|  |  |       if (this.chooseTime) {
 | 
	
		
			
				|  |  |         params.startTime = this.chooseTime[0]
 | 
	
		
			
				|  |  |         params.endTime = this.chooseTime[1]
 | 
	
		
			
				|  |  |       }
 | 
	
		
			
				|  |  |       delete params.total
 | 
	
		
			
				|  |  |       httpRequest.get('doctor/twoCancers/count/caseDataList', { data: params }).then(function (res) {
 | 
	
		
			
				|  |  |         vm.dialogTableData = res.detailModelList
 | 
	
		
			
				|  |  |         vm.query.total = res.totalCount
 | 
	
		
			
				|  |  |         vm.visible = true
 | 
	
		
			
				|  |  |         vm.dialogLoading = false
 | 
	
		
			
				|  |  |       })
 | 
	
		
			
				|  |  |     },
 | 
	
		
			
				|  |  |     caseDataList() {
 | 
	
		
			
				|  |  |       var vm = this
 | 
	
		
			
				|  |  |       vm.dialogLoading = true
 | 
	
		
			
				|  |  |       var params = {
 | 
	
		
			
				|  |  |         ...this.query,
 | 
	
		
			
				|  |  |         range: (this.form && this.form.range) || '',
 | 
	
		
			
				|  |  |         town: (this.form && this.form.town) || '',
 | 
	
		
			
				|  |  |         hospital: (this.form && this.form.hospital) || ''
 | 
	
		
			
				|  |  |       }
 | 
	
		
			
				|  |  |       this.dataRangeOption = [{ label: row.name, value: row.code }]
 | 
	
		
			
				|  |  |       if (['totalTimes', 'mzTimes', 'zyTimes'].includes(prop)) {
 | 
	
		
			
				|  |  |         this.rehabilitationPatientInfo()
 | 
	
		
			
				|  |  |       } else if (['totalNum', 'mzNum', 'zyNum'].includes(prop)) {
 | 
	
		
			
				|  |  |         this.turnDownDataPage()
 | 
	
		
			
				|  |  |       vm.dialogTableData = []
 | 
	
		
			
				|  |  |       if (this.chooseTime) {
 | 
	
		
			
				|  |  |         params.startTime = this.chooseTime[0]
 | 
	
		
			
				|  |  |         params.endTime = this.chooseTime[1]
 | 
	
		
			
				|  |  |       }
 | 
	
		
			
				|  |  |       delete params.total
 | 
	
		
			
				|  |  |       httpRequest.get('doctor/twoCancers/count/caseDataList', { data: params }).then(function (res) {
 | 
	
		
			
				|  |  |         vm.dialogTableData = res.detailModelList
 | 
	
		
			
				|  |  |         vm.query.total = res.totalCount
 | 
	
		
			
				|  |  |         vm.dialogLoading = false
 | 
	
		
			
				|  |  |       })
 | 
	
		
			
				|  |  |     },
 | 
	
		
			
				|  |  |     dialogSearchFn() {
 | 
	
		
			
				|  |  |       this.caseDataList()
 | 
	
		
			
				|  |  |     },
 | 
	
		
			
				|  |  |     handleCurrentChange1(val) {
 | 
	
		
			
				|  |  |       this.query.page = val
 | 
	
		
			
				|  |  |       this.caseDataList()
 | 
	
		
			
				|  |  |     },
 | 
	
		
			
				|  |  |     handleSizeChange1(val) {
 | 
	
		
			
				|  |  |       this.query.size = val
 | 
	
		
			
				|  |  |       this.caseDataList()
 | 
	
		
			
				|  |  |     },
 | 
	
		
			
				|  |  |     dialogExportFn() {
 | 
	
		
			
				|  |  |       var vm = this
 | 
	
		
			
				|  |  |       this.dialogExportLoading = true
 | 
	
		
			
				|  |  |       var params = {
 | 
	
		
			
				|  |  |         ...this.query,
 | 
	
		
			
				|  |  |         range: (this.form && this.form.range) || '',
 | 
	
		
			
				|  |  |         town: (this.form && this.form.town) || '',
 | 
	
		
			
				|  |  |         hospital: (this.form && this.form.hospital) || ''
 | 
	
		
			
				|  |  |       }
 | 
	
		
			
				|  |  |       if (this.chooseTime) {
 | 
	
		
			
				|  |  |         params.startTime = this.chooseTime[0]
 | 
	
		
			
				|  |  |         params.endTime = this.chooseTime[1]
 | 
	
		
			
				|  |  |       }
 | 
	
		
			
				|  |  |       var fileName = `个案数据列表${new Date().getTime()}.xls`
 | 
	
		
			
				|  |  |       httpRequest.downLoadFileForAjax('doctor/twoCancers/count/exportCaseDataList', fileName, params).then(function () {
 | 
	
		
			
				|  |  |         vm.dialogExportLoading = false
 | 
	
		
			
				|  |  |       })
 | 
	
		
			
				|  |  |     },
 | 
	
		
			
				|  |  |     dialogResetFn() {
 | 
	
		
			
				|  |  |       this.query = {
 | 
	
		
			
				|  |  |         page: 1,
 | 
	
		
			
				|  |  |         size: 10,
 | 
	
		
			
				|  |  |         total: 0
 | 
	
		
			
				|  |  |       }
 | 
	
		
			
				|  |  |       this.caseDataList()
 | 
	
		
			
				|  |  |     },
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |     closeDialog() {
 | 
	
		
			
				|  |  |       this.visible = false
 | 
	
	
		
			
				|  | @ -449,9 +592,7 @@ Vue.component('lasc-cervical', {
 | 
	
		
			
				|  |  |       } else {
 | 
	
		
			
				|  |  |         this.init()
 | 
	
		
			
				|  |  |       }
 | 
	
		
			
				|  |  |     },
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |     }
 | 
	
		
			
				|  |  |   },
 | 
	
		
			
				|  |  |   mounted() {
 | 
	
		
			
				|  |  |     this.init()
 |