From a1c3cab4f47fc9bfdea929575ae8431b4944f43c Mon Sep 17 00:00:00 2001 From: lion <120344285@qq.com> Date: Thu, 25 Jan 2024 09:27:26 +0800 Subject: [PATCH 1/8] up --- public/dashboard/index.html | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/public/dashboard/index.html b/public/dashboard/index.html index a2e5537..fd847b0 100644 --- a/public/dashboard/index.html +++ b/public/dashboard/index.html @@ -36,7 +36,7 @@
- 驾驶舱1 + 驾驶舱
@@ -293,9 +293,29 @@ ]; $(function () { + getStatistic() initMap(); }); + // http://tiantian2.langye.net/admin/statistic + function getStatistic(){ + var url = "/admin/statistic"; + var data = {} + $.ajax({ + type: "get", + timeout: 15000, + contentType: 'application/json', + data: JSON.stringify(data), + url: url, + dataType: "json", + success: function (result, textStatus, xhr) { + console.log("result",result) + }, + complete: function (xhr, textStatus) { + // + } + }); + }, function initMap() { var center = new TMap.LatLng(31.77956, 119.960747); //初始化地图 From 91de07f2993d1475208d4df1d23678b16febfa49 Mon Sep 17 00:00:00 2001 From: lion <120344285@qq.com> Date: Thu, 25 Jan 2024 09:27:57 +0800 Subject: [PATCH 2/8] up --- public/dashboard/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/dashboard/index.html b/public/dashboard/index.html index fd847b0..f57b6fa 100644 --- a/public/dashboard/index.html +++ b/public/dashboard/index.html @@ -315,7 +315,7 @@ // } }); - }, + } function initMap() { var center = new TMap.LatLng(31.77956, 119.960747); //初始化地图 From a6f52f83d7cf60c6073c6949e011ee33c83e5b84 Mon Sep 17 00:00:00 2001 From: lion <120344285@qq.com> Date: Thu, 25 Jan 2024 09:52:16 +0800 Subject: [PATCH 3/8] up --- public/dashboard/index copy.html | 652 +++++++++++++++++++++++++++++++ public/dashboard/index.html | 66 ++-- 2 files changed, 694 insertions(+), 24 deletions(-) create mode 100644 public/dashboard/index copy.html diff --git a/public/dashboard/index copy.html b/public/dashboard/index copy.html new file mode 100644 index 0000000..f57b6fa --- /dev/null +++ b/public/dashboard/index copy.html @@ -0,0 +1,652 @@ + + + + + + + + + + + + + 护工管理平台驾驶舱 + + + + + + + + + + + + + +
+ +
+
+
+ 驾驶舱 +
+
+
+
+
+ +
+

护工陪护实时概况

+
+

护工数: 736

+

已陪护: 696

+

未陪护: 40

+

陪护单: 855

+

上工率: 122.5%

+
+
+
+ +
+

床位陪护实时概况

+
+

床位数: 7650

+

正在陪护: 855

+

未陪护: 7795

+

陪护率: 11.2%

+
+
+
+
+ +
+ +
+
+ +
+
+

本月陪护订单分析

+
+
+ +
+

本月营收分析

+
+
+
+
+
+ +
+

陪护统计表

+
+
+
+
+
+ +
+

最新陪护单信息

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
张**第一人民医院内科楼15床已派工
任**武进中医院新大楼69床已派工
王**阳湖院外科楼34床待处理
林**常州市中医院188床待派工
刘**常州市妇幼保健院63床待派工
马**第一人民医院外科楼159床已派工
宋**常州市中医院99床已派工
+
+ +
+

最新出院信息

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
周**第一人民医院内科楼132床已结算
张**武进中医院75床已结算
+
+ +
+

最新投诉信息

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
陈**投诉袁护工武进中医院
+
+ +
+

上月满意度评价分析

+ + + + + + + + + + + + + + + + + + + + + + + + + +
工号103 +
+
100
 
工号267 +
+
90
 
工号032 +
+
80
 
工号011 +
+
60
+
+
+
+ + + + + diff --git a/public/dashboard/index.html b/public/dashboard/index.html index f57b6fa..7f6f5fb 100644 --- a/public/dashboard/index.html +++ b/public/dashboard/index.html @@ -46,11 +46,11 @@

护工陪护实时概况

-

护工数: 736

-

已陪护: 696

-

未陪护: 40

-

陪护单: 855

-

上工率: 122.5%

+

护工数: --

+

已陪护: --

+

未陪护: --

+

陪护单: --

+

上工率: --

@@ -58,10 +58,10 @@

床位陪护实时概况

-

床位数: 7650

-

正在陪护: 855

-

未陪护: 7795

-

陪护率: 11.2%

+

床位数: --

+

正在陪护: --

+

未陪护: --

+

陪护率: --

@@ -309,6 +309,38 @@ url: url, dataType: "json", success: function (result, textStatus, xhr) { + var datas = result.data + // paramedic 护工陪护实时概况 + var paramedics = datas.paramedic + var paramedicper = parseFloat(paramedics.has_accompany/paramedics.total).toFixed(2)+"%" + $(".hgleft p").eq(0).children("span").text(paramedics.total) + $(".hgleft p").eq(1).children("span").text(paramedics.has_accompany) + $(".hgleft p").eq(2).children("span").text(paramedics.no_accompany) + $(".hgleft p").eq(3).children("span").text(paramedics.accompany_order) + $(".hgleft p").eq(4).children("span").text(paramedicper) + // 护工陪护实时概况 + var option = { + series: [{ + // name:'访问量', + type: 'pie', + color: ["#04c6c7", "#ffc34a"], + radius: '70%', + data: [ + {value: paramedics.has_accompany, name: '已陪护'}, + {value: paramedics.no_accompany, name: '未陪护'} + ] + }] + }; + var myChart = echarts.init(document.getElementById('hg')); + myChart.setOption(option); + // bed 床位 + var beds = datas.bed + var bedper = parseFloat(beds.has_accompany/beds.total).toFixed(2)+"%" + $(".cwleft p").eq(0).children("span").text(beds.total) + $(".cwleft p").eq(1).children("span").text(beds.has_accompany) + $(".cwleft p").eq(2).children("span").text(beds.no_accompany) + $(".cwleft p").eq(3).children("span").text(bedper) + // console.log("result",result) }, complete: function (xhr, textStatus) { @@ -386,21 +418,7 @@ $('.skillbar').skillbar({ speed: 1000, }); - // 护工陪护实时概况 - var option = { - series: [{ - // name:'访问量', - type: 'pie', - color: ["#04c6c7", "#ffc34a"], - radius: '70%', - data: [ - {value: 696, name: '已陪护'}, - {value: 40, name: '未陪护'} - ] - }] - }; - var myChart = echarts.init(document.getElementById('hg')); - myChart.setOption(option); + // 床位陪护实时概况 var option1 = { series: [{ From 625658b624c22c60d650f1b11e8edc965feaa6dc Mon Sep 17 00:00:00 2001 From: lion <120344285@qq.com> Date: Thu, 25 Jan 2024 09:55:59 +0800 Subject: [PATCH 4/8] up --- public/dashboard/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/dashboard/index.html b/public/dashboard/index.html index 7f6f5fb..967291c 100644 --- a/public/dashboard/index.html +++ b/public/dashboard/index.html @@ -312,7 +312,7 @@ var datas = result.data // paramedic 护工陪护实时概况 var paramedics = datas.paramedic - var paramedicper = parseFloat(paramedics.has_accompany/paramedics.total).toFixed(2)+"%" + var paramedicper = parseFloat(((paramedics.has_accompany/paramedics.total)*100).toFixed(2))+"%" $(".hgleft p").eq(0).children("span").text(paramedics.total) $(".hgleft p").eq(1).children("span").text(paramedics.has_accompany) $(".hgleft p").eq(2).children("span").text(paramedics.no_accompany) @@ -335,7 +335,7 @@ myChart.setOption(option); // bed 床位 var beds = datas.bed - var bedper = parseFloat(beds.has_accompany/beds.total).toFixed(2)+"%" + var bedper = parseFloat(((beds.has_accompany/beds.total)*100).toFixed(2))+"%" $(".cwleft p").eq(0).children("span").text(beds.total) $(".cwleft p").eq(1).children("span").text(beds.has_accompany) $(".cwleft p").eq(2).children("span").text(beds.no_accompany) From 144f2a33375bed787eef14e4b998032fd299fd5b Mon Sep 17 00:00:00 2001 From: lion <120344285@qq.com> Date: Thu, 25 Jan 2024 10:04:57 +0800 Subject: [PATCH 5/8] up --- public/dashboard/index.html | 50 +++++++++++++++++++++---------------- 1 file changed, 28 insertions(+), 22 deletions(-) diff --git a/public/dashboard/index.html b/public/dashboard/index.html index 967291c..e1e39de 100644 --- a/public/dashboard/index.html +++ b/public/dashboard/index.html @@ -319,28 +319,32 @@ $(".hgleft p").eq(3).children("span").text(paramedics.accompany_order) $(".hgleft p").eq(4).children("span").text(paramedicper) // 护工陪护实时概况 - var option = { + paramedicChart = [ + {value:paramedics.has_accompany , name: '已陪护'}, + {value: paramedics.no_accompany, name: '未陪护'}, + ] + // bed 床位 + var beds = datas.bed + var bedper = parseFloat(((beds.has_accompany/beds.total)*100).toFixed(2))+"%" + $(".cwleft p").eq(0).children("span").text(beds.total) + $(".cwleft p").eq(1).children("span").text(beds.has_accompany) + $(".cwleft p").eq(2).children("span").text(beds.no_accompany) + $(".cwleft p").eq(3).children("span").text(bedper) + // 床位陪护实时概况 + var option1 = { series: [{ - // name:'访问量', type: 'pie', color: ["#04c6c7", "#ffc34a"], radius: '70%', data: [ - {value: paramedics.has_accompany, name: '已陪护'}, - {value: paramedics.no_accompany, name: '未陪护'} + {value: 855, name: '已陪护'}, + {value: 7795, name: '未陪护'} ] }] }; - var myChart = echarts.init(document.getElementById('hg')); - myChart.setOption(option); - // bed 床位 - var beds = datas.bed - var bedper = parseFloat(((beds.has_accompany/beds.total)*100).toFixed(2))+"%" - $(".cwleft p").eq(0).children("span").text(beds.total) - $(".cwleft p").eq(1).children("span").text(beds.has_accompany) - $(".cwleft p").eq(2).children("span").text(beds.no_accompany) - $(".cwleft p").eq(3).children("span").text(bedper) - // + var myChart1 = echarts.init(document.getElementById('cw')); + myChart1.setOption(option1); + // 陪护统计表 console.log("result",result) }, complete: function (xhr, textStatus) { @@ -419,20 +423,22 @@ speed: 1000, }); - // 床位陪护实时概况 - var option1 = { + var paramedicChart = [ + {value: 0, name: '已陪护'}, + {value: 0, name: '未陪护'}, + ] + + var option = { series: [{ + // name:'访问量', type: 'pie', color: ["#04c6c7", "#ffc34a"], radius: '70%', - data: [ - {value: 855, name: '已陪护'}, - {value: 7795, name: '未陪护'} - ] + data: paramedicChart }] }; - var myChart1 = echarts.init(document.getElementById('cw')); - myChart1.setOption(option1); + var myChart = echarts.init(document.getElementById('hg')); + myChart.setOption(option); // 本月陪护订单分析 var option2 = { tooltip: {}, From ee02e9f0c5e16d64dc7661dd4ea712eeb8021cf0 Mon Sep 17 00:00:00 2001 From: lion <120344285@qq.com> Date: Thu, 25 Jan 2024 10:09:47 +0800 Subject: [PATCH 6/8] up --- public/dashboard/index.html | 477 ++++++++++++++++++------------------ 1 file changed, 240 insertions(+), 237 deletions(-) diff --git a/public/dashboard/index.html b/public/dashboard/index.html index e1e39de..f4343f4 100644 --- a/public/dashboard/index.html +++ b/public/dashboard/index.html @@ -319,10 +319,10 @@ $(".hgleft p").eq(3).children("span").text(paramedics.accompany_order) $(".hgleft p").eq(4).children("span").text(paramedicper) // 护工陪护实时概况 - paramedicChart = [ - {value:paramedics.has_accompany , name: '已陪护'}, - {value: paramedics.no_accompany, name: '未陪护'}, - ] + var paramedicChart = [ + {value:paramedics.has_accompany , name: '已陪护'}, + {value: paramedics.no_accompany, name: '未陪护'}, + ] // bed 床位 var beds = datas.bed var bedper = parseFloat(((beds.has_accompany/beds.total)*100).toFixed(2))+"%" @@ -330,22 +330,13 @@ $(".cwleft p").eq(1).children("span").text(beds.has_accompany) $(".cwleft p").eq(2).children("span").text(beds.no_accompany) $(".cwleft p").eq(3).children("span").text(bedper) - // 床位陪护实时概况 - var option1 = { - series: [{ - type: 'pie', - color: ["#04c6c7", "#ffc34a"], - radius: '70%', - data: [ - {value: 855, name: '已陪护'}, - {value: 7795, name: '未陪护'} - ] - }] - }; - var myChart1 = echarts.init(document.getElementById('cw')); - myChart1.setOption(option1); + var bedChart = [ + {value: beds.has_accompany, name: '已陪护'}, + {value: beds.no_accompany, name: '未陪护'} + ] // 陪护统计表 console.log("result",result) + initChart() }, complete: function (xhr, textStatus) { // @@ -423,252 +414,264 @@ speed: 1000, }); - var paramedicChart = [ - {value: 0, name: '已陪护'}, - {value: 0, name: '未陪护'}, - ] - - var option = { - series: [{ - // name:'访问量', - type: 'pie', - color: ["#04c6c7", "#ffc34a"], - radius: '70%', - data: paramedicChart - }] - }; - var myChart = echarts.init(document.getElementById('hg')); - myChart.setOption(option); - // 本月陪护订单分析 - var option2 = { - tooltip: {}, - color: ['#018fff'], - lineStyle: { - color: '#018fff' - }, - legend: { - itemWidth: 18, - itemHeight: 8, - itemGap: 10, - data: ['陪护订单量'], - orient: 'vertical', - left: 'center', - textStyle: { - color: "rgba(255,255,255,.7)", - fontSize: '14px' - } - }, - xAxis: { - type: 'category', - axisLine: { - show: true, - lineStyle: { - color: '#018fff', - } - }, - axisTick: { - show: true, - alignWithLabel: true, + // 图表 + function initChart(){ + // 护工陪护实时概况 + var option = { + series: [{ + // name:'访问量', + type: 'pie', + color: ["#04c6c7", "#ffc34a"], + radius: '70%', + data: paramedicChart + }] + }; + var myChart = echarts.init(document.getElementById('hg')); + myChart.setOption(option); + // 床位陪护实时概况 + var option1 = { + series: [{ + type: 'pie', + color: ["#04c6c7", "#ffc34a"], + radius: '70%', + data: bedChart + }] + }; + var myChart1 = echarts.init(document.getElementById('cw')); + myChart1.setOption(option1); + // 本月陪护订单分析 + var option2 = { + tooltip: {}, + color: ['#018fff'], + lineStyle: { + color: '#018fff' }, - axisLabel: { - interval: 0, + legend: { + itemWidth: 18, + itemHeight: 8, + itemGap: 10, + data: ['陪护订单量'], + orient: 'vertical', + left: 'center', textStyle: { - color: '#fff', + color: "rgba(255,255,255,.7)", fontSize: '14px' } }, - data: ["一院", "市中", "武进南院", "阳湖院", "康复医院", "妇幼院", "武中", "溧阳院"], - }, - yAxis: { - axisLine: { - show: true, - lineStyle: { - color: '#018fff', - } - }, - axisTick: { - show: true, - alignWithLabel: true, + xAxis: { + type: 'category', + axisLine: { + show: true, + lineStyle: { + color: '#018fff', + } + }, + axisTick: { + show: true, + alignWithLabel: true, + }, + axisLabel: { + interval: 0, + textStyle: { + color: '#fff', + fontSize: '14px' + } + }, + data: ["一院", "市中", "武进南院", "阳湖院", "康复医院", "妇幼院", "武中", "溧阳院"], }, - axisLabel: { - interval: 0, - textStyle: { - color: '#fff', + yAxis: { + axisLine: { + show: true, + lineStyle: { + color: '#018fff', + } + }, + axisTick: { + show: true, + alignWithLabel: true, + }, + axisLabel: { + interval: 0, + textStyle: { + color: '#fff', + fontSize: '14px' + } + }, + type: 'value', + name: '订单数', + nameTextStyle: { + color: "#2b7ba0", fontSize: '14px' } }, - type: 'value', - name: '订单数', - nameTextStyle: { - color: "#2b7ba0", - fontSize: '14px' - } - }, - series: [{ - name: '陪护订单量', - type: 'pictorialBar', - barCategoryGap: '40%', - symbol: 'triangle', - itemStyle: { - normal: { - opacity: 0.5 + series: [{ + name: '陪护订单量', + type: 'pictorialBar', + barCategoryGap: '40%', + symbol: 'triangle', + itemStyle: { + normal: { + opacity: 0.5 + }, + emphasis: { + opacity: 1 + } }, - emphasis: { - opacity: 1 - } - }, - data: [336, 150, 42, 156, 42, 30, 54, 45], - }, { - name: '陪护订单量', - type: 'pictorialBar', - barGap: '-100%', - symbolPosition: 'end', - symbolSize: 50, - symbolOffset: [0, '-120%'], - }] - }; - var myChart2 = echarts.init(document.getElementById('byph')); - myChart2.setOption(option2); - // 本月营收占比分析 - var option3 = { + data: [336, 150, 42, 156, 42, 30, 54, 45], + }, { + name: '陪护订单量', + type: 'pictorialBar', + barGap: '-100%', + symbolPosition: 'end', + symbolSize: 50, + symbolOffset: [0, '-120%'], + }] + }; + var myChart2 = echarts.init(document.getElementById('byph')); + myChart2.setOption(option2); + // 本月营收占比分析 + var option3 = { - tooltip: { - trigger: 'item' - }, - series: [ - { - type: 'pie', - radius: '70%', - center: ['50%', '50%'], - color: ["#ffb22f", "#ff4954", "#01babb"], - data: [ - {value: 75, name: '一院'}, - {value: 60, name: '市中'}, - {value: 30, name: '武进南院'}, - {value: 25, name: '阳湖院'}, - {value: 30, name: '康复医院'}, - {value: 20, name: '妇幼院'}, - {value: 25, name: '武中'}, - {value: 18, name: '溧阳院'} - ].sort(function (a, b) { - return a.value - b.value; - }), - roseType: 'radius', - emphasis: { - itemStyle: { - shadowBlur: 10, - shadowOffsetX: 0, - shadowColor: 'rgba(0, 0, 0, 0.5)' + tooltip: { + trigger: 'item' + }, + series: [ + { + type: 'pie', + radius: '70%', + center: ['50%', '50%'], + color: ["#ffb22f", "#ff4954", "#01babb"], + data: [ + {value: 75, name: '一院'}, + {value: 60, name: '市中'}, + {value: 30, name: '武进南院'}, + {value: 25, name: '阳湖院'}, + {value: 30, name: '康复医院'}, + {value: 20, name: '妇幼院'}, + {value: 25, name: '武中'}, + {value: 18, name: '溧阳院'} + ].sort(function (a, b) { + return a.value - b.value; + }), + roseType: 'radius', + emphasis: { + itemStyle: { + shadowBlur: 10, + shadowOffsetX: 0, + shadowColor: 'rgba(0, 0, 0, 0.5)' + } } } - } - ] - }; - var myChart3 = echarts.init(document.getElementById('ysbox')); - myChart3.setOption(option3); + ] + }; + var myChart3 = echarts.init(document.getElementById('ysbox')); + myChart3.setOption(option3); - // 陪护统计表 - var app = {}; + // 陪护统计表 + var app = {}; - var chartDom = document.getElementById('phtable'); - var myChart4 = echarts.init(chartDom); - var option4; + var chartDom = document.getElementById('phtable'); + var myChart4 = echarts.init(chartDom); + var option4; - option4 = { - color: ['#018fff'], - lineStyle: { - color: '#018fff' - }, - legend: { - itemWidth: 18, - itemHeight: 8, - itemGap: 10, - data: [{ - name: '陪护', - itemStyle: { - color: "#ffb22f", - } - }, { - name: "护工数", - itemStyle: { - color: "#0087ff", - } - }], - orient: 'horizontal', - left: 'center', - textStyle: { - color: "rgba(255,255,255,.7)", - fontSize: '14px' - } - }, - xAxis: { - type: 'category', - data: ['一院', '市中', '武进南院', '阳湖院', '康复医院', '妇幼院', '武中', '溧阳院'], - axisLine: { - show: true, - lineStyle: { - color: '#018fff', - } - }, - axisTick: { - show: true, - alignWithLabel: true, + option4 = { + color: ['#018fff'], + lineStyle: { + color: '#018fff' }, - axisLabel: { - interval: 0, + legend: { + itemWidth: 18, + itemHeight: 8, + itemGap: 10, + data: [{ + name: '陪护', + itemStyle: { + color: "#ffb22f", + } + }, { + name: "护工数", + itemStyle: { + color: "#0087ff", + } + }], + orient: 'horizontal', + left: 'center', textStyle: { - color: '#fff', + color: "rgba(255,255,255,.7)", fontSize: '14px' } - } - }, - yAxis: { - axisLine: { - show: true, - lineStyle: { - color: '#018fff', - } - }, - axisTick: { - show: true, - alignWithLabel: true, }, - axisLabel: { - interval: 0, - textStyle: { - color: '#fff', - fontSize: '14px' + xAxis: { + type: 'category', + data: ['一院', '市中', '武进南院', '阳湖院', '康复医院', '妇幼院', '武中', '溧阳院'], + axisLine: { + show: true, + lineStyle: { + color: '#018fff', + } + }, + axisTick: { + show: true, + alignWithLabel: true, + }, + axisLabel: { + interval: 0, + textStyle: { + color: '#fff', + fontSize: '14px' + } } }, - type: 'value', - name: '人数', - nameTextStyle: { - color: "#2b7ba0", - fontSize: '14px' - } - }, - series: [ - { - type: 'bar', - name: '陪护单数', - data: [336, 150, 42, 156, 42, 30, 54, 45], - itemStyle: { - color: '#ffb22f', + yAxis: { + axisLine: { + show: true, + lineStyle: { + color: '#018fff', + } + }, + axisTick: { + show: true, + alignWithLabel: true, + }, + axisLabel: { + interval: 0, + textStyle: { + color: '#fff', + fontSize: '14px' + } + }, + type: 'value', + name: '人数', + nameTextStyle: { + color: "#2b7ba0", + fontSize: '14px' } }, - { - type: 'bar', - name: '总护工数', - data: [288, 130, 35, 125, 38, 30, 50, 40], - itemStyle: { - color: '#0087ff' + series: [ + { + type: 'bar', + name: '陪护单数', + data: [336, 150, 42, 156, 42, 30, 54, 45], + itemStyle: { + color: '#ffb22f', + } + }, + { + type: 'bar', + name: '总护工数', + data: [288, 130, 35, 125, 38, 30, 50, 40], + itemStyle: { + color: '#0087ff' + } } - } - ], - color: ["#ffb22f", "#0087ff"], - }; - option4 && myChart4.setOption(option4); + ], + color: ["#ffb22f", "#0087ff"], + }; + option4 && myChart4.setOption(option4); + } + + From 5ad493e317ef597b70e2a92ea060b04ca6b309a7 Mon Sep 17 00:00:00 2001 From: lion <120344285@qq.com> Date: Thu, 25 Jan 2024 10:12:59 +0800 Subject: [PATCH 7/8] up --- public/dashboard/index.html | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/public/dashboard/index.html b/public/dashboard/index.html index f4343f4..b724084 100644 --- a/public/dashboard/index.html +++ b/public/dashboard/index.html @@ -291,7 +291,14 @@ lng: 119.893227 } ]; - + var paramedicChart = [ + {value:0, name: '已陪护'}, + {value: 0, name: '未陪护'}, + ] + var bedChart = [ + {value:0, name: '已陪护'}, + {value: 0, name: '未陪护'}, + ] $(function () { getStatistic() initMap(); @@ -319,7 +326,7 @@ $(".hgleft p").eq(3).children("span").text(paramedics.accompany_order) $(".hgleft p").eq(4).children("span").text(paramedicper) // 护工陪护实时概况 - var paramedicChart = [ + paramedicChart = [ {value:paramedics.has_accompany , name: '已陪护'}, {value: paramedics.no_accompany, name: '未陪护'}, ] @@ -330,7 +337,7 @@ $(".cwleft p").eq(1).children("span").text(beds.has_accompany) $(".cwleft p").eq(2).children("span").text(beds.no_accompany) $(".cwleft p").eq(3).children("span").text(bedper) - var bedChart = [ + bedChart = [ {value: beds.has_accompany, name: '已陪护'}, {value: beds.no_accompany, name: '未陪护'} ] From 4c5e8a84979cf256a4c41a4b0b6324e4d1dc1bdf Mon Sep 17 00:00:00 2001 From: lion <120344285@qq.com> Date: Thu, 25 Jan 2024 10:22:32 +0800 Subject: [PATCH 8/8] up --- public/dashboard/index.html | 1367 ++++++++++++++++++----------------- 1 file changed, 714 insertions(+), 653 deletions(-) diff --git a/public/dashboard/index.html b/public/dashboard/index.html index b724084..7d931ef 100644 --- a/public/dashboard/index.html +++ b/public/dashboard/index.html @@ -1,686 +1,747 @@ - - - - - - - - - - - 护工管理平台驾驶舱 - - - - - - - - - - + + + + + + + + + - - - -
- -
-
-
- 驾驶舱 -
-
-
-
-
- -
-

护工陪护实时概况

-
-

护工数: --

-

已陪护: --

-

未陪护: --

-

陪护单: --

-

上工率: --

+ + + +
+ +
+
+
+ 驾驶舱 +
+
+
+
+
+ +
+

护工陪护实时概况

+
+

护工数: --

+

已陪护: --

+

未陪护: --

+

陪护单: --

+

上工率: --

+
+
+
+ +
+

床位陪护实时概况

+
+

床位数: --

+

正在陪护: --

+

未陪护: --

+

陪护率: --

+
+
+
+
+ +
+
-
- -
-

床位陪护实时概况

-
-

床位数: --

-

正在陪护: --

-

未陪护: --

-

陪护率: --

+ +
+
+

本月陪护订单分析

+
+
+ +
+

本月营收分析

+
-
-
- -
+
+
+ +
+

陪护统计表

+
+
+
+
+
+ +
+

最新陪护单信息

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
张**第一人民医院内科楼15床已派工
任**武进中医院新大楼69床已派工
王**阳湖院外科楼34床待处理
林**常州市中医院188床待派工
刘**常州市妇幼保健院63床待派工
马**第一人民医院外科楼159床已派工
宋**常州市中医院99床已派工
+
+ +
+

最新出院信息

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
周**第一人民医院内科楼132床已结算
张**武进中医院75床已结算
+
+ +
+

最新投诉信息

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
陈**投诉袁护工武进中医院
+
+ +
+

上月满意度评价分析

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - -
-
-

本月陪护订单分析

-
-
- -
-

本月营收分析

-
-
-
-
-
- -
-

陪护统计表

-
-
-
+
工号103 +
+
100
 
工号267 +
+
90
 
工号032 +
+
80
 
工号011 +
+
60
+
- -
-

最新陪护单信息

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
张**第一人民医院内科楼15床已派工
任**武进中医院新大楼69床已派工
王**阳湖院外科楼34床待处理
林**常州市中医院188床待派工
刘**常州市妇幼保健院63床待派工
马**第一人民医院外科楼159床已派工
宋**常州市中医院99床已派工
-
- -
-

最新出院信息

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
周**第一人民医院内科楼132床已结算
张**武进中医院75床已结算
-
- -
-

最新投诉信息

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
陈**投诉袁护工武进中医院
-
- -
-

上月满意度评价分析

- - - - - - - - - - - - - - - - - - - - - - - - - -
工号103 -
-
100
 
工号267 -
-
90
 
工号032 -
-
80
 
工号011 -
-
60
-
-
-
- - - + + - + marker.setMap(null); + marker = null; + marker = new TMap.MultiMarker({ + id: "marker-layer", //图层id + map: map, + styles: { //点标注的相关样式 + "marker": new TMap.MarkerStyle({ + "width": 25, + "height": 35, + "anchor": { + x: 16, + y: 32 + }, + "src": "https://mapapi.qq.com/web/lbs/javascriptGL/demo/img/markerDefault.png" + }) + }, + geometries: [{ //点标注数据数组 + "id": "demo", + "styleId": "marker", + "position": center, + "properties": { + "title": "marker" + } + }] + }); + } + +