Browse Source

统计分析-明细查询-提示修改

chenyubai 2 years ago
parent
commit
caaedcbe8c
1 changed files with 30 additions and 6 deletions
  1. 30 6
      app/statistics/js/comprehensive-query.js

+ 30 - 6
app/statistics/js/comprehensive-query.js

@ -274,12 +274,16 @@ new Vue({
				pageSize:vm.currentSize,
				pageSize:vm.currentSize,
				page:vm.currentPage,
				page:vm.currentPage,
			}).then(function(res){
			}).then(function(res){
				console.log(res,"咨询分析")
				// console.log(res,"咨询分析")
				if(res.status == 200) {
				if(res.status == 200) {
					vm.analyseData = res.data.list
					vm.analyseData = res.data.list
					vm.datatotal = res.data.total
					vm.datatotal = res.data.total
					vm.loadingTwo = false
					vm.loadingTwo = false
				}
				}
				if(res.status == -1) {
					vm.loadingTwo = false
					vm.$message.error(res.msg)
				}
			})
			})
		},
		},
		// 签约分析
		// 签约分析
@ -309,7 +313,7 @@ new Vue({
				pageSize:vm.currentSize,
				pageSize:vm.currentSize,
				page:vm.currentPage,
				page:vm.currentPage,
			}).then(function(res){
			}).then(function(res){
				console.log(res,"签约分析")
				// console.log(res,"签约分析")
				if(res.status == 200) {
				if(res.status == 200) {
					res.data.list.forEach(function(item){
					res.data.list.forEach(function(item){
						item.sscNum = item.sscNum.replace(/^(.{4})(?:\d+)(.{1})$/,"$1****$2")
						item.sscNum = item.sscNum.replace(/^(.{4})(?:\d+)(.{1})$/,"$1****$2")
@ -319,6 +323,10 @@ new Vue({
					vm.datatotal = res.data.total
					vm.datatotal = res.data.total
					vm.loadingTwo = false
					vm.loadingTwo = false
				}
				}
				if(res.status == -1) {
					vm.loadingTwo = false
					vm.$message.error(res.msg)
				}
			})
			})
		},
		},
		// 专病分析
		// 专病分析
@ -348,7 +356,7 @@ new Vue({
				pageSize:vm.currentSize,
				pageSize:vm.currentSize,
				page:vm.currentPage,
				page:vm.currentPage,
			}).then(function(res){
			}).then(function(res){
				console.log(res,"专病分析")
				// console.log(res,"专病分析")
				if(res.status == 200) {
				if(res.status == 200) {
					res.data.list.forEach(function(item){
					res.data.list.forEach(function(item){
						item.sscNum = item.sscNum.replace(/^(.{4})(?:\d+)(.{1})$/,"$1****$2")
						item.sscNum = item.sscNum.replace(/^(.{4})(?:\d+)(.{1})$/,"$1****$2")
@ -358,6 +366,10 @@ new Vue({
					vm.datatotal = res.data.total
					vm.datatotal = res.data.total
					vm.loadingTwo = false
					vm.loadingTwo = false
				}
				}
				if(res.status == -1) {
					vm.loadingTwo = false
					vm.$message.error(res.msg)
				}
			})
			})
		},
		},
		// 生日祝福分析明细
		// 生日祝福分析明细
@ -379,7 +391,7 @@ new Vue({
				page:vm.currentPage,
				page:vm.currentPage,
			}).then(function(res){
			}).then(function(res){
				if(res.status == 200) {
				if(res.status == 200) {
					console.log(res,"Sddddd")
					// console.log(res,"Sddddd")
					res.data.detailModelList.forEach(function(item){
					res.data.detailModelList.forEach(function(item){
						item.ssc = item.ssc.replace(/^(.{4})(?:\d+)(.{1})$/,"$1****$2")
						item.ssc = item.ssc.replace(/^(.{4})(?:\d+)(.{1})$/,"$1****$2")
						item.idcard = item.idcard.replace(/^(.{6})(?:\d+)(.{4})$/,"$1****$2")
						item.idcard = item.idcard.replace(/^(.{6})(?:\d+)(.{4})$/,"$1****$2")
@ -388,6 +400,10 @@ new Vue({
					vm.datatotal = res.data.total
					vm.datatotal = res.data.total
					vm.loadingTwo = false
					vm.loadingTwo = false
				}
				}
				if(res.status == -1) {
					vm.loadingTwo = false
					vm.$message.error(res.msg)
				}
			})
			})
		},
		},
		// 长处方分析明细
		// 长处方分析明细
@ -412,7 +428,7 @@ new Vue({
			}).then(function(res){
			}).then(function(res){
				if(res.status == 200) {
				if(res.status == 200) {
					res.data.detailModelList.forEach(function(item){
					res.data.detailModelList.forEach(function(item){
						console.log(item.finish_time,"长处方分析")
						// console.log(item.finish_time,"长处方分析")
						item.ssc = item.ssc.replace(/^(.{4})(?:\d+)(.{1})$/,"$1****$2")
						item.ssc = item.ssc.replace(/^(.{4})(?:\d+)(.{1})$/,"$1****$2")
						item.idcard = item.idcard.replace(/^(.{6})(?:\d+)(.{4})$/,"$1****$2")
						item.idcard = item.idcard.replace(/^(.{6})(?:\d+)(.{4})$/,"$1****$2")
					})
					})
@ -420,6 +436,10 @@ new Vue({
					vm.datatotal = res.data.total
					vm.datatotal = res.data.total
					vm.loadingTwo = false
					vm.loadingTwo = false
				}
				}
				if(res.status == -1) {
					vm.loadingTwo = false
					vm.$message.error(res.msg)
				}
			})
			})
		},
		},
		// 上门服务分析明细
		// 上门服务分析明细
@ -448,7 +468,7 @@ new Vue({
				page:vm.currentPage,
				page:vm.currentPage,
			}).then(function(res){
			}).then(function(res){
				if(res.status == 200) {
				if(res.status == 200) {
					console.log(res,"上门服务分析明细")
					// console.log(res,"上门服务分析明细")
					res.data.detailModelList.forEach(function(item){
					res.data.detailModelList.forEach(function(item){
						item.ssc = item.ssc.replace(/^(.{4})(?:\d+)(.{1})$/,"$1****$2")
						item.ssc = item.ssc.replace(/^(.{4})(?:\d+)(.{1})$/,"$1****$2")
						item.idcard = item.idcard.replace(/^(.{6})(?:\d+)(.{4})$/,"$1****$2")
						item.idcard = item.idcard.replace(/^(.{6})(?:\d+)(.{4})$/,"$1****$2")
@ -457,6 +477,10 @@ new Vue({
					vm.datatotal = res.data.total
					vm.datatotal = res.data.total
					vm.loadingTwo = false
					vm.loadingTwo = false
				}
				}
				if(res.status == -1) {
					vm.loadingTwo = false
					vm.$message.error(res.msg)
				}
			})
			})
		},
		},
		analysFunction:function(id) {
		analysFunction:function(id) {