Browse Source

前台统计空数据处理

newMaster
1747191978@qq.com 4 months ago
parent
commit
7d2bea91c0
  1. 17
      acupuncture-前台/src/views/indexCom/JM.vue
  2. 19
      acupuncture-前台/src/views/indexCom/XGZL.vue
  3. 2
      acupuncture-前台/src/views/indexCom/follow.vue
  4. 4
      acupuncture-前台/src/views/indexCom/patient.vue

17
acupuncture-前台/src/views/indexCom/JM.vue

@ -187,23 +187,23 @@
this.handlePhysique(); this.handlePhysique();
// //
this.postureValue = [{ this.postureValue = [{
value: ttfb.score1, value: ttfb?.score1 || 0,
name: "1分", name: "1分",
}, },
{ {
value: ttfb.score2, value: ttfb?.score2 || 0,
name: "2分", name: "2分",
}, },
{ {
value: ttfb.score3, value: ttfb?.score3 || 0,
name: "3分", name: "3分",
}, },
{ {
value: ttfb.score4, value: ttfb?.score4 || 0,
name: "4分", name: "4分",
}, },
{ {
value: ttfb.score5, value: ttfb?.score5 || 0,
name: "5分", name: "5分",
}, },
]; ];
@ -220,9 +220,12 @@
this.anxietyValue.push(jlfb[key]); this.anxietyValue.push(jlfb[key]);
} }
this.handleAnxiety(); this.handleAnxiety();
});
this.loading = false; this.loading = false;
} catch (e) {} });
} catch (e) {
console.log('诊疗信息', e)
}
}, },
// //
handleDiagnose() { handleDiagnose() {

19
acupuncture-前台/src/views/indexCom/XGZL.vue

@ -199,11 +199,11 @@
} = res.data; } = res.data;
// //
this.healTypeValue = [{ this.healTypeValue = [{
value: zllxtj.zxyjh, value: zllxtj?.zxyjh || 0,
name: "中西医结合", name: "中西医结合",
}, },
{ {
value: zllxtj.czy, value: zllxtj?.czy || 0,
name: "纯中医", name: "纯中医",
}, },
] ]
@ -222,28 +222,31 @@
// //
this.effectValue = [{ this.effectValue = [{
name: '治愈', name: '治愈',
value: zlxwfb.zy value: zlxwfb?.zy || 0
}, },
{ {
name: '显效', name: '显效',
value: zlxwfb.xx value: zlxwfb?.xx || 0
}, },
{ {
name: '好转', name: '好转',
value: zlxwfb.hz value: zlxwfb?.hz || 0
}, },
{ {
name: '无效', name: '无效',
value: zlxwfb.wx value: zlxwfb?.wx || 0
} }
] ]
this.handleEffect() this.handleEffect()
// //
this.costValue = [zlfy.score1, zlfy.score2, zlfy.score3, zlfy.score4, zlfy.score5] this.costValue = [zlfy.score1, zlfy.score2, zlfy.score3, zlfy.score4, zlfy.score5]
this.handleCost() this.handleCost()
});
this.loading = false; this.loading = false;
} catch (e) {} });
} catch (e) {
console.log('治疗类型', e)
}
}, },
// //
handleHealType() { handleHealType() {

2
acupuncture-前台/src/views/indexCom/follow.vue

@ -87,7 +87,7 @@
}); });
this.loading = false; this.loading = false;
} catch (e) { } catch (e) {
console.log('随访', e)
} }
}, },

4
acupuncture-前台/src/views/indexCom/patient.vue

@ -177,7 +177,9 @@
this.handleDisease(); // this.handleDisease(); //
}); });
this.loading = false; this.loading = false;
} catch (e) {} } catch (e) {
console.log('患者统计', e)
}
}, },
// //

Loading…
Cancel
Save