From 82f6d257e08139342f7fa1bcbf58dd7b4c0c2e52 Mon Sep 17 00:00:00 2001 From: tianq Date: Thu, 9 Mar 2023 15:54:47 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9B=9B=E5=A4=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/index.js | 9 + src/views/dataBoard/sida/cpts/bread.vue | 142 ----- src/views/dataBoard/sida/cpts/fwBarOption.js | 130 ----- src/views/dataBoard/sida/cpts/fwPieOption.js | 93 --- src/views/dataBoard/sida/cpts/fwgl.vue | 540 ----------------- src/views/dataBoard/sida/cpts/jmBarOption.js | 140 ----- src/views/dataBoard/sida/cpts/jmPieOption.js | 90 --- src/views/dataBoard/sida/cpts/jmgl.vue | 482 ---------------- src/views/dataBoard/sida/cpts/rkyj.vue | 281 --------- src/views/dataBoard/sida/cpts/szsq.vue | 197 ------- src/views/dataBoard/sida/fw.vue | 227 ++++++++ src/views/dataBoard/sida/house/list.vue | 274 --------- src/views/dataBoard/sida/index.vue | 573 ++++++------------- src/views/dataBoard/sida/resi/analyze.vue | 259 --------- src/views/dataBoard/sida/resi/class.vue | 325 ----------- src/views/dataBoard/sida/resi/list.vue | 259 --------- src/views/dataBoard/sida/warn/building.vue | 255 --------- src/views/dataBoard/sida/warn/resi.vue | 234 -------- 18 files changed, 404 insertions(+), 4106 deletions(-) delete mode 100644 src/views/dataBoard/sida/cpts/bread.vue delete mode 100644 src/views/dataBoard/sida/cpts/fwBarOption.js delete mode 100644 src/views/dataBoard/sida/cpts/fwPieOption.js delete mode 100644 src/views/dataBoard/sida/cpts/fwgl.vue delete mode 100644 src/views/dataBoard/sida/cpts/jmBarOption.js delete mode 100644 src/views/dataBoard/sida/cpts/jmPieOption.js delete mode 100644 src/views/dataBoard/sida/cpts/jmgl.vue delete mode 100644 src/views/dataBoard/sida/cpts/rkyj.vue delete mode 100644 src/views/dataBoard/sida/cpts/szsq.vue create mode 100644 src/views/dataBoard/sida/fw.vue delete mode 100644 src/views/dataBoard/sida/house/list.vue delete mode 100644 src/views/dataBoard/sida/resi/analyze.vue delete mode 100644 src/views/dataBoard/sida/resi/class.vue delete mode 100644 src/views/dataBoard/sida/resi/list.vue delete mode 100644 src/views/dataBoard/sida/warn/building.vue delete mode 100644 src/views/dataBoard/sida/warn/resi.vue diff --git a/src/router/index.js b/src/router/index.js index 08e59b7f3..9ee32c637 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -235,6 +235,15 @@ export const dataBoardRoutes = { title: "四大清单", isTab: false, }, + }, { + path: "sida/fw", + props: true, + component: () => import("@/views/dataBoard/sida/fw"), + name: "dataBoard-sida-index", + meta: { + title: "四大清单-服务清单查看更多", + isTab: false, + }, }, { path: "404", props: true, diff --git a/src/views/dataBoard/sida/cpts/bread.vue b/src/views/dataBoard/sida/cpts/bread.vue deleted file mode 100644 index 3df62f75d..000000000 --- a/src/views/dataBoard/sida/cpts/bread.vue +++ /dev/null @@ -1,142 +0,0 @@ - - - diff --git a/src/views/dataBoard/sida/cpts/fwBarOption.js b/src/views/dataBoard/sida/cpts/fwBarOption.js deleted file mode 100644 index 9ae582204..000000000 --- a/src/views/dataBoard/sida/cpts/fwBarOption.js +++ /dev/null @@ -1,130 +0,0 @@ -import * as echarts from 'echarts' -export function barOption () { - - return { - title: { - text: '单位(户)', - left: 5, - textStyle: { - - fontSize: 14, - color: " rgba(255,255,255,0.65)", - fontWeight: 400, - }, - }, - tooltip: { - trigger: 'axis', - axisPointer: { - type: 'shadow' - } - }, - // legend: {}, - grid: { - top:40, - left: '3%', - right: '4%', - bottom: 19, - containLabel: true - }, - xAxis: [ - { - type: 'category', - axisLine: { - lineStyle: { - color:'rgba(255,255,255,0.15)', - width: 1, - type: 'solid' - } - }, - axisTick: { - alignWithLabel: true - }, - axisLabel: { - show: true, - textStyle: { - color: 'rgba(255,255,255,0.85)', //更改坐标轴文字颜色 - fontSize : 12 //更改坐标轴文字大小 - } - }, - - data: [] - } - ], - yAxis: [ - { - type: 'value', - max : 1000, - splitNumber : 5, - splitLine: { - show: true, - lineStyle:{ - color:'rgba(255,255,255,0.15)', - width: 1, - type: 'solid' - } - }, - axisLabel: { - show: true, - textStyle: { - color: 'rgba(255,255,255,0.85)', //更改坐标轴文字颜色 - fontSize : 12 //更改坐标轴文字大小 - } - }, - } - ], - series: [ - - { - name: '自住房屋', - type: 'bar', - stack: 'Ad', - barWidth:12, - emphasis: { - focus: 'series' - }, - itemStyle: { - color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [ - { offset: 0, color: '#6FDEFF' }, - { offset: 1, color: 'rgba(168,241,255,0)' } - ]) - }, - data: [] - }, - { - name: '出租房屋', - type: 'bar', - barWidth:12, - stack: 'Ad', - emphasis: { - focus: 'series' - }, - itemStyle: { - color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [ - { offset: 0, color: '#1A95FF' }, - { offset: 1, color: 'rgba(168,241,255,0)' } - ]) - }, - data: [] - }, - { - name: '闲置房屋', - type: 'bar', - barWidth:12, - stack: 'Ad', - emphasis: { - focus: 'series' - }, - itemStyle: { - color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [ - { offset: 0, color: '#FFAA00' }, - { offset: 1, color: 'rgba(168,241,255,0)' } - ]) - }, - data: [] - }, - - - ] - - } -} diff --git a/src/views/dataBoard/sida/cpts/fwPieOption.js b/src/views/dataBoard/sida/cpts/fwPieOption.js deleted file mode 100644 index c7ca041d4..000000000 --- a/src/views/dataBoard/sida/cpts/fwPieOption.js +++ /dev/null @@ -1,93 +0,0 @@ -import * as echarts from 'echarts' -export function pieOption() { - const center = ["50%", "170px"]; - return { - title: { - text: "0", - top: 45, - left: "center", - textStyle: { - width: "100%", - fontSize: 24, - color: "#FFFFFF", - fontWeight: 400, - }, - itemGap: 5, - // subtext: "总数", - // subtextStyle: { - // fontSize: 20, - // color: "#fff", - // fontWeight: 400, - // }, - }, - tooltip: { - show: false, - }, - // legend: { - // top: 350, - // bottom: 0, - // itemWidth: 20, - // itemHeight: 10, - // textStyle: { - // color: '#D2E7FF', - // fontSize: 16, - // lineHeight: 20, - // }, - - // }, - series: [ - { - name: 'Access From', - type: 'pie', - radius: ['60%', '90%'], - avoidLabelOverlap: false, - label: { - show: false, - position: 'center' - }, - // emphasis: { - // label: { - // show: true, - // fontSize: 40, - // fontWeight: 'bold' - // } - // }, - labelLine: { - show: false - }, - itemStyle: { - normal: { - color: (list) => { - // 注意 !!!!! 这里的数组一定要和实际的类目长度相等或大于,不然会缺少颜色报错 - var colorList = [ - { - colorStart:'#00023A', - colorEnd:'#6FDEFF' - }, - { - colorStart:'#00023A', - colorEnd:'#FFAA00' - }, - { - colorStart:'#00023A', - colorEnd:'#1A95FF' - }, - - ] - return new echarts.graphic.LinearGradient(1, 0, 0, 0, [{ //左、下、右、上 - offset: 0, - color: colorList[list.dataIndex]['colorStart'] - }, { - offset: 1, - color: colorList[list.dataIndex]['colorEnd'] - }]) - } - } - }, - - data: [ - ] - } - ] - }; -} diff --git a/src/views/dataBoard/sida/cpts/fwgl.vue b/src/views/dataBoard/sida/cpts/fwgl.vue deleted file mode 100644 index d2c112759..000000000 --- a/src/views/dataBoard/sida/cpts/fwgl.vue +++ /dev/null @@ -1,540 +0,0 @@ - - - - - diff --git a/src/views/dataBoard/sida/cpts/jmBarOption.js b/src/views/dataBoard/sida/cpts/jmBarOption.js deleted file mode 100644 index 1c24850ab..000000000 --- a/src/views/dataBoard/sida/cpts/jmBarOption.js +++ /dev/null @@ -1,140 +0,0 @@ -import * as echarts from 'echarts' -export function barOption () { - - return { - title: { - text: '单位(人)', - left: 5, - textStyle: { - - fontSize: 14, - color: " rgba(255,255,255,0.65)", - fontWeight: 400, - }, - }, - tooltip: { - trigger: 'axis', - axisPointer: { - type: 'shadow' - } - }, - // legend: {}, - grid: { - top:40, - left: '3%', - right: '4%', - bottom: 19, - containLabel: true - }, - xAxis: [ - { - type: 'category', - axisLine: { - lineStyle: { - color:'rgba(255,255,255,0.15)', - width: 1, - type: 'solid' - } - }, - axisTick: { - alignWithLabel: true - }, - axisLabel: { - show: true, - textStyle: { - color: 'rgba(255,255,255,0.85)', //更改坐标轴文字颜色 - fontSize : 12 //更改坐标轴文字大小 - } - }, - - data: [] - } - ], - yAxis: [ - { - type: 'value', - max : 1000, - splitNumber : 5, - splitLine: { - show: true, - lineStyle:{ - color:'rgba(255,255,255,0.15)', - width: 1, - type: 'solid' - } - }, - axisLabel: { - show: true, - textStyle: { - color: 'rgba(255,255,255,0.85)', //更改坐标轴文字颜色 - fontSize : 12 //更改坐标轴文字大小 - } - }, - } - ], - series: [ - - { - name: '常住人口', - type: 'line', - stack: 'Total', - barWidth:12, - emphasis: { - focus: 'series' - }, - itemStyle: { - normal: { - color: "#FFAA00", //图例颜色 - borderWidth: 2, - borderColor: "#FFAA00", - lineStyle: { color: "#FFAA00", width: 1 } - } - }, - - areaStyle: { - normal: { - // 渐变填充色(线条下半部分) - color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [ - { offset: 0, color: "#FFAA00" }, - { offset: 1, color: "rgba(255,170,0,0)" } - ]) - } - }, - - data: [] - }, - { - name: '流动人口', - type: 'line', - barWidth:12, - stack: 'Total', - emphasis: { - focus: 'series' - }, - itemStyle: { - normal: { - color: "#1A95FF", //图例颜色 - borderWidth: 2, - borderColor: "#1A95FF", - lineStyle: { color: "#1A95FF", width: 1 } - } - }, - - areaStyle: { - normal: { - // 渐变填充色(线条下半部分) - color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [ - { offset: 0, color: "#1A95FF" }, - { offset: 1, color: "rgba(255,170,0,0)" } - ]) - } - }, - data: [] - }, - - - - ] - - } -} diff --git a/src/views/dataBoard/sida/cpts/jmPieOption.js b/src/views/dataBoard/sida/cpts/jmPieOption.js deleted file mode 100644 index 99480650b..000000000 --- a/src/views/dataBoard/sida/cpts/jmPieOption.js +++ /dev/null @@ -1,90 +0,0 @@ -import * as echarts from 'echarts' -export function pieOption() { - const center = ["50%", "170px"]; - return { - title: { - text: "0", - top: 45, - left: "center", - textStyle: { - width: "100%", - fontSize: 24, - color: "#FFFFFF", - fontWeight: 400, - }, - itemGap: 5, - // subtext: "总数", - // subtextStyle: { - // fontSize: 20, - // color: "#fff", - // fontWeight: 400, - // }, - }, - tooltip: { - show: false, - }, - // legend: { - // top: 350, - // bottom: 0, - // itemWidth: 20, - // itemHeight: 10, - // textStyle: { - // color: '#D2E7FF', - // fontSize: 16, - // lineHeight: 20, - // }, - - // }, - series: [ - { - name: 'Access From', - type: 'pie', - radius: ['60%', '90%'], - avoidLabelOverlap: false, - label: { - show: false, - position: 'center' - }, - // emphasis: { - // label: { - // show: true, - // fontSize: 40, - // fontWeight: 'bold' - // } - // }, - labelLine: { - show: false - }, - itemStyle: { - normal: { - color: (list) => { - // 注意 !!!!! 这里的数组一定要和实际的类目长度相等或大于,不然会缺少颜色报错 - var colorList = [ - { - colorStart:'#00023A', - colorEnd:'#6FDEFF' - }, - { - colorStart:'#00023A', - colorEnd:'#FFAA00' - }, - - - ] - return new echarts.graphic.LinearGradient(1, 0, 0, 0, [{ //左、下、右、上 - offset: 0, - color: colorList[list.dataIndex]['colorStart'] - }, { - offset: 1, - color: colorList[list.dataIndex]['colorEnd'] - }]) - } - } - }, - - data: [ - ] - } - ] - }; -} diff --git a/src/views/dataBoard/sida/cpts/jmgl.vue b/src/views/dataBoard/sida/cpts/jmgl.vue deleted file mode 100644 index a498e359d..000000000 --- a/src/views/dataBoard/sida/cpts/jmgl.vue +++ /dev/null @@ -1,482 +0,0 @@ - - - - - diff --git a/src/views/dataBoard/sida/cpts/rkyj.vue b/src/views/dataBoard/sida/cpts/rkyj.vue deleted file mode 100644 index e8d375d5a..000000000 --- a/src/views/dataBoard/sida/cpts/rkyj.vue +++ /dev/null @@ -1,281 +0,0 @@ - - - - - diff --git a/src/views/dataBoard/sida/cpts/szsq.vue b/src/views/dataBoard/sida/cpts/szsq.vue deleted file mode 100644 index 7b42cf36c..000000000 --- a/src/views/dataBoard/sida/cpts/szsq.vue +++ /dev/null @@ -1,197 +0,0 @@ - - - - - diff --git a/src/views/dataBoard/sida/fw.vue b/src/views/dataBoard/sida/fw.vue new file mode 100644 index 000000000..a702e2735 --- /dev/null +++ b/src/views/dataBoard/sida/fw.vue @@ -0,0 +1,227 @@ + + + diff --git a/src/views/dataBoard/sida/house/list.vue b/src/views/dataBoard/sida/house/list.vue deleted file mode 100644 index 4c943ec90..000000000 --- a/src/views/dataBoard/sida/house/list.vue +++ /dev/null @@ -1,274 +0,0 @@ - - - - - diff --git a/src/views/dataBoard/sida/index.vue b/src/views/dataBoard/sida/index.vue index f14e1c7bd..eae3aeaa3 100644 --- a/src/views/dataBoard/sida/index.vue +++ b/src/views/dataBoard/sida/index.vue @@ -1,6 +1,5 @@ diff --git a/src/views/dataBoard/sida/resi/analyze.vue b/src/views/dataBoard/sida/resi/analyze.vue deleted file mode 100644 index 9f5b084dc..000000000 --- a/src/views/dataBoard/sida/resi/analyze.vue +++ /dev/null @@ -1,259 +0,0 @@ - - - - - diff --git a/src/views/dataBoard/sida/resi/class.vue b/src/views/dataBoard/sida/resi/class.vue deleted file mode 100644 index 4f8e9da32..000000000 --- a/src/views/dataBoard/sida/resi/class.vue +++ /dev/null @@ -1,325 +0,0 @@ - - - - - diff --git a/src/views/dataBoard/sida/resi/list.vue b/src/views/dataBoard/sida/resi/list.vue deleted file mode 100644 index 0cdf7b3ce..000000000 --- a/src/views/dataBoard/sida/resi/list.vue +++ /dev/null @@ -1,259 +0,0 @@ - - - - - diff --git a/src/views/dataBoard/sida/warn/building.vue b/src/views/dataBoard/sida/warn/building.vue deleted file mode 100644 index 2a98b3571..000000000 --- a/src/views/dataBoard/sida/warn/building.vue +++ /dev/null @@ -1,255 +0,0 @@ - - - - - diff --git a/src/views/dataBoard/sida/warn/resi.vue b/src/views/dataBoard/sida/warn/resi.vue deleted file mode 100644 index 18534820d..000000000 --- a/src/views/dataBoard/sida/warn/resi.vue +++ /dev/null @@ -1,234 +0,0 @@ - - - - -