diff --git a/acupuncture-前台/src/api/indexCom.js b/acupuncture-前台/src/api/indexCom.js
index 4c77e047..3440c928 100644
--- a/acupuncture-前台/src/api/indexCom.js
+++ b/acupuncture-前台/src/api/indexCom.js
@@ -122,4 +122,18 @@ export function zlInfo(data) {
});
}
// 治疗类型
+export function zlType(data) {
+ return request({
+ url: "/statistics/zlType",
+ method: "post",
+ data: data,
+ });
+}
// 随访分布
+export function sffb(data) {
+ return request({
+ url: "/statistics/sffb",
+ method: "post",
+ data: data,
+ });
+}
\ No newline at end of file
diff --git a/acupuncture-前台/src/views/index.vue b/acupuncture-前台/src/views/index.vue
index ed5f9388..365846bd 100644
--- a/acupuncture-前台/src/views/index.vue
+++ b/acupuncture-前台/src/views/index.vue
@@ -23,17 +23,17 @@
-
+
diff --git a/acupuncture-前台/src/views/indexCom/XGZL.vue b/acupuncture-前台/src/views/indexCom/XGZL.vue
index 3ad3b97e..0872908b 100644
--- a/acupuncture-前台/src/views/indexCom/XGZL.vue
+++ b/acupuncture-前台/src/views/indexCom/XGZL.vue
@@ -1,324 +1,312 @@
-
-
-
-
-
-
-
-
-
-
-
- 桥接治疗人数
-
-
-
- 非桥接治疗人数
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ≤60 min
-
-
- ≤90 min
-
-
- >90 min
-
-
-
-
-
-
-
-
-
-
-
-
-
- ≤60 min
-
-
- ≤90 min
-
-
- >90 min
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 治愈
+
+
+
+ 显效
+
+
+
+ 好转
+
+
+
+ 无效
+
+
+
+
+
+
+
+
+
+
+ >>>.el-card__body {
+ padding: 10px 0 !important;
+ }
+
+ .dis {
+ display: flex;
+ }
+
+ .header-title {
+ font-size: 18px;
+ }
+
+ .title-box {
+ padding: 10px 20px;
+ border-bottom: 1px solid #dfe6ec;
+ }
+
+ .dian-box {
+ align-items: center;
+ }
+
+ .dian {
+ display: inline-block;
+ width: 16px;
+ height: 16px;
+ border-radius: 50%;
+ margin: 0 10px;
+ }
+
+ .title-box {
+ justify-content: space-between;
+ }
+
+ .>>>.el-radio--small.is-bordered {
+ margin-right: 20px !important;
+ margin-left: 0 !important;
+ }
+
+ >>>.el-radio__input {
+ display: none;
+ }
+
+ >>>.el-radio__label {
+ padding-left: 5px;
+ }
+
+ .app-container {
+ padding: 0;
+ display: flex;
+ justify-content: space-between;
+ }
+
+ .title {
+ display: flex;
+ align-items: center;
+ font-size: 20px;
+ font-weight: 600;
+ }
+
+ .title-bor {
+ display: inline-block;
+ height: 20px;
+ width: 6px;
+ background: #4f8bff;
+ margin-right: 10px;
+ border-radius: 8px;
+ }
+
\ No newline at end of file
diff --git a/acupuncture-前台/src/views/indexCom/index.js b/acupuncture-前台/src/views/indexCom/index.js
index 93cd4a03..e3613111 100644
--- a/acupuncture-前台/src/views/indexCom/index.js
+++ b/acupuncture-前台/src/views/indexCom/index.js
@@ -573,6 +573,163 @@ export const anxietyEcharts = {
],
};
+// -------- 治疗类型 --------
+// 治疗类型
+export const healTypeEcharts = {
+ tooltip: {
+ trigger: "item",
+ },
+ title: {
+ text: "",
+ left: "center",
+ top: "40%",
+ textStyle: {
+ textAlign: "center",
+ color: "#393D4E",
+ fontSize: 40,
+ fontWeight: 600,
+ },
+ },
+ grid: {
+ top: "0%",
+ left: "0",
+ right: "0%",
+ bottom: "0%",
+ containLabel: true,
+ },
+ color: ["#91CC75", "#5470C6"],
+ series: [
+ {
+ type: "pie",
+ radius: "80%",
+ avoidLabelOverlap: false,
+ label: {
+ show: false,
+ position: "center",
+ },
+ labelLine: {
+ show: false,
+ },
+ data: [],
+ },
+ ],
+};
+// 病种方法
+export const diseaseMethodEcharts = {
+ tooltip: {
+ trigger: "axis",
+ axisPointer: {
+ type: "cross",
+ label: {
+ backgroundColor: "#6a7985",
+ },
+ },
+ formatter: function (params) {
+ let res1 = params[0].name;
+ for (var i = 0, l = params.length; i < l; i++) {
+ res1 +=
+ "
" +
+ `` +
+ params[i].seriesName +
+ " : " +
+ params[i].value +
+ "个";
+ }
+ return res1;
+ },
+ },
+ xAxis: {
+ type: "category",
+ data: ['肥胖症', '失眠症','其他'],
+
+ },
+ grid: {
+ top: "12%",
+ left: "5%",
+ right: "2%",
+ bottom: "0%",
+ containLabel: true,
+ },
+ yAxis: {
+ name: "数量( 个 )",
+ type: "value",
+ minInterval: 1,
+ splitLine: {
+ show: true,
+ lineStyle: {
+ type: "dashed",
+ },
+ },
+ },
+ series: [
+ {
+ name: "数量1:",
+ data: [1,2],
+ type: "bar",
+ barMaxWidth: 24, //柱图宽度
+ itemStyle: {
+ normal: {
+ //这里设置柱形图圆角 [左上角,右上角,右下角,左下角]
+ barBorderRadius: [50, 50, 0, 0],
+ },
+ },
+ },
+ {
+ name: "数量2:",
+ data: [1,3],
+ type: "bar",
+ barMaxWidth: 24, //柱图宽度
+ itemStyle: {
+ normal: {
+ //这里设置柱形图圆角 [左上角,右上角,右下角,左下角]
+ barBorderRadius: [50, 50, 0, 0],
+ },
+ },
+ },
+ ],
+};
+// 治疗效果
+export const effectEcharts = {
+ tooltip: {
+ trigger: "item",
+ },
+ title: {
+ text: "",
+ left: "center",
+ top: "40%",
+ textStyle: {
+ textAlign: "center",
+ color: "#393D4E",
+ fontSize: 40,
+ fontWeight: 600,
+ },
+ },
+ grid: {
+ top: "0%",
+ left: "0",
+ right: "0%",
+ bottom: "0%",
+ containLabel: true,
+ },
+ color: ["#5C7BD9", "#91CC75",'#FAC858','#EE6666'],
+ series: [
+ {
+ type: "pie",
+ radius: "80%",
+ avoidLabelOverlap: false,
+ label: {
+ show: false,
+ position: "center",
+ },
+ labelLine: {
+ show: false,
+ },
+ data: [],
+ },
+ ],
+};
+
+
// 患者信息 - 数据分析
export const HZXXSJFX = {
tooltip: {