|  | @ -5,7 +5,7 @@ $.ajax('../../../component/statistics/breastCancerPatient/index.html', {
 | 
	
		
			
				|  |  |   cache: false,
 | 
	
		
			
				|  |  |   timeout: 60000,
 | 
	
		
			
				|  |  |   async: false,
 | 
	
		
			
				|  |  |   error: function (res) {},
 | 
	
		
			
				|  |  |   error: function (res) { },
 | 
	
		
			
				|  |  |   success: function (res) {
 | 
	
		
			
				|  |  |     template = res
 | 
	
		
			
				|  |  |   }
 | 
	
	
		
			
				|  | @ -29,6 +29,11 @@ Vue.component('breast-cancer-patient', {
 | 
	
		
			
				|  |  |         { label: '机构', value: '2' },
 | 
	
		
			
				|  |  |         { label: '居住地', value: '3' }
 | 
	
		
			
				|  |  |       ],
 | 
	
		
			
				|  |  |       followupOptions: [
 | 
	
		
			
				|  |  |         { label: '全部', value: '' },
 | 
	
		
			
				|  |  |         { label: '已随访', value: '1' },
 | 
	
		
			
				|  |  |         { label: '未随访', value: '0' }
 | 
	
		
			
				|  |  |       ],
 | 
	
		
			
				|  |  |       areaOptions: [
 | 
	
		
			
				|  |  |         { label: '思明区', value: '350203' },
 | 
	
		
			
				|  |  |         { label: '海沧区', value: '350205' },
 | 
	
	
		
			
				|  | @ -50,7 +55,8 @@ Vue.component('breast-cancer-patient', {
 | 
	
		
			
				|  |  |         { label: '个人筛查状态', prop: 'statusName', width: '100' }
 | 
	
		
			
				|  |  |       ],
 | 
	
		
			
				|  |  |       form: {
 | 
	
		
			
				|  |  |         range: '1'
 | 
	
		
			
				|  |  |         range: '1',
 | 
	
		
			
				|  |  |         followUp: ''
 | 
	
		
			
				|  |  |       },
 | 
	
		
			
				|  |  |       query: {
 | 
	
		
			
				|  |  |         page: 1,
 | 
	
	
		
			
				|  | @ -214,7 +220,14 @@ Vue.component('breast-cancer-patient', {
 | 
	
		
			
				|  |  |             { prop: 'labelWait', label: '待评估' },
 | 
	
		
			
				|  |  |             { prop: 'rate6', label: '高风险人群比例' }
 | 
	
		
			
				|  |  |           ]
 | 
	
		
			
				|  |  |         }
 | 
	
		
			
				|  |  |         },
 | 
	
		
			
				|  |  |         {
 | 
	
		
			
				|  |  |           label: '随访状态',
 | 
	
		
			
				|  |  |           children: [
 | 
	
		
			
				|  |  |             { prop: 'label1', label: '已随访' },
 | 
	
		
			
				|  |  |             { prop: 'label2', label: '未随访' },
 | 
	
		
			
				|  |  |           ]
 | 
	
		
			
				|  |  |         },
 | 
	
		
			
				|  |  |       ],
 | 
	
		
			
				|  |  |       dialogLoading: false
 | 
	
		
			
				|  |  |     }
 | 
	
	
		
			
				|  | @ -290,7 +303,6 @@ Vue.component('breast-cancer-patient', {
 | 
	
		
			
				|  |  |           params.town = this.areaOptions.find(item => item.value == this.form.town).label
 | 
	
		
			
				|  |  |         }
 | 
	
		
			
				|  |  |       }
 | 
	
		
			
				|  |  |       console.log('22222222222222222222', vm)
 | 
	
		
			
				|  |  |       vm.tableData = []
 | 
	
		
			
				|  |  |       if (this.chooseTime) {
 | 
	
		
			
				|  |  |         params.startTime = this.chooseTime[0]
 | 
	
	
		
			
				|  | @ -350,7 +362,6 @@ Vue.component('breast-cancer-patient', {
 | 
	
		
			
				|  |  |       this.yearType = '1'
 | 
	
		
			
				|  |  |       this.chooseYear = new Date().getFullYear()
 | 
	
		
			
				|  |  |       this.chooseTime = null
 | 
	
		
			
				|  |  |       console.log('1111111111111111', this)
 | 
	
		
			
				|  |  |       const now = new Date()
 | 
	
		
			
				|  |  |       // 获取当前日期
 | 
	
		
			
				|  |  |       const endDate = new Date()
 | 
	
	
		
			
				|  | @ -403,6 +414,18 @@ Vue.component('breast-cancer-patient', {
 | 
	
		
			
				|  |  |     },
 | 
	
		
			
				|  |  |     openDialog(row, prop) {
 | 
	
		
			
				|  |  |       var vm = this
 | 
	
		
			
				|  |  |       // todo 需改为未随访字段  未随访不可点击
 | 
	
		
			
				|  |  |       const excludeFields = ['infoCompleteNum']
 | 
	
		
			
				|  |  |       if (excludeFields.includes(prop)) {
 | 
	
		
			
				|  |  |         return
 | 
	
		
			
				|  |  |       }
 | 
	
		
			
				|  |  |       // 随访字段 需改随访字段  点击已随访需待状态过去
 | 
	
		
			
				|  |  |       const includeFields = ["followUp", ]
 | 
	
		
			
				|  |  |       if (includeFields.includes(prop)) {
 | 
	
		
			
				|  |  |         this.query.followUp = row.followUp
 | 
	
		
			
				|  |  |       }else{
 | 
	
		
			
				|  |  |         this.query.followUp = ''
 | 
	
		
			
				|  |  |       }
 | 
	
		
			
				|  |  |       vm.dialogLoading = true
 | 
	
		
			
				|  |  |       this.query.type = 'r_' + prop
 | 
	
		
			
				|  |  |       this.query.orgCode = row.orgCode
 | 
	
	
		
			
				|  | @ -427,7 +450,6 @@ Vue.component('breast-cancer-patient', {
 | 
	
		
			
				|  |  |     caseDataList() {
 | 
	
		
			
				|  |  |       var vm = this
 | 
	
		
			
				|  |  |       vm.dialogLoading = true
 | 
	
		
			
				|  |  |       // console.log('statusstatus', this.query)
 | 
	
		
			
				|  |  |       // this.query.type = this.query.type.substring(0, this.query.type.length - 1) + this.query.status
 | 
	
		
			
				|  |  |       var params = {
 | 
	
		
			
				|  |  |         ...this.query,
 | 
	
	
		
			
				|  | @ -488,8 +510,6 @@ Vue.component('breast-cancer-patient', {
 | 
	
		
			
				|  |  |       })
 | 
	
		
			
				|  |  |     },
 | 
	
		
			
				|  |  |     dialogResetFn() {
 | 
	
		
			
				|  |  |       console.log('22222222222222', this)
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |       this.query = {
 | 
	
		
			
				|  |  |         page: 1,
 | 
	
		
			
				|  |  |         size: 10,
 |