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