From 9a9ed7fb6bf8cffb9946c97ba5fb63a68591f44a Mon Sep 17 00:00:00 2001 From: why <986973311@qq.com> Date: Wed, 26 Apr 2023 10:47:46 +0800 Subject: [PATCH 1/4] =?UTF-8?q?=E6=94=B9=E9=A2=9C=E8=89=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/home/index.vue | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/src/views/home/index.vue b/src/views/home/index.vue index 69f8071..b5ec45f 100644 --- a/src/views/home/index.vue +++ b/src/views/home/index.vue @@ -277,12 +277,12 @@ const initLineChart = (xData,data1, data2) => { symbol: 'circle', smooth: true, data: data2, - lineStyle: { color: '#44c05b' }, - itemStyle: { color: '#44c05b', borderColor: '#44c05b' }, + lineStyle: { color: 'rgba(145,204,117,1)' }, + itemStyle: { color: 'rgba(145,204,117,1)', borderColor: 'rgba(145,204,117,1)' }, areaStyle: { color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [ - { offset: 0, color: '#44c05b' }, - { offset: 1, color: '#44c05b' }, + { offset: 0, color: 'rgba(145,204,117,1)' }, + { offset: 1, color: 'rgba(145,204,117,0)' }, ]), }, } @@ -328,12 +328,12 @@ const initLineVandDChart = (xData,data1, data2) => { symbol: 'circle', smooth: true, data: data2, - lineStyle: { color: '#3d91e7' }, - itemStyle: { color: '#3d91e7', borderColor: '#3d91e7' }, + lineStyle: { color: 'rgba(84,112,198,1)' }, + itemStyle: { color: 'rgba(84,112,198,1)', borderColor: 'rgba(84,112,198,1)' }, areaStyle: { color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [ - { offset: 0, color: '#3d91e7' }, - { offset: 1, color: '#3d91e7' }, + { offset: 0, color: 'rgba(84,112,198,1)' }, + { offset: 1, color: 'rgba(84,112,198,0)' }, ]), }, },{ @@ -343,12 +343,12 @@ const initLineVandDChart = (xData,data1, data2) => { symbol: 'circle', smooth: true, data: data1, - lineStyle: { color: '#e78d3d' }, - itemStyle: { color: '#e78d3d', borderColor: '#e78d3d' }, + lineStyle: { color: 'rgba(250,200,88,1)' }, + itemStyle: { color: 'rgba(250,200,88,1)', borderColor: 'rgba(250,200,88,1)' }, areaStyle: { color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [ - { offset: 0, color: '#e78d3d' }, - { offset: 1, color: '#e78d3d' }, + { offset: 0, color: 'rgba(250,200,88,1)' }, + { offset: 1, color: 'rgba(250,200,88,0)' }, ]), }, } @@ -398,8 +398,8 @@ const initChiefChart = (xData,yData) => { barWidth: 30, itemStyle: { color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [ - { offset: 0, color: '#fe9a8bb3' }, - { offset: 1, color: '#fe9a8b03' }, + { offset: 0, color: 'rgba(238,102,102,1)' }, + { offset: 1, color: 'rgba(238,102,102,0)' }, ]), //柱状图圆角 borderRadius: [30, 30, 0, 0], @@ -451,8 +451,8 @@ const initAdministratorsChart = (xData,yData) => { yAxisIndex: 0, itemStyle: { color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [ - { offset: 0, color: 'rgba(108,80,243,0.3)' }, - { offset: 1, color: 'rgba(108,80,243,0)' }, + { offset: 0, color: 'rgba(115,192,222,1)' }, + { offset: 1, color: 'rgba(115,192,222,0)' }, ]), //柱状图圆角 borderRadius: [30, 30, 0, 0], From 0c7d010c538930ae16156e0991f6c405cd8636a6 Mon Sep 17 00:00:00 2001 From: glj Date: Wed, 26 Apr 2023 11:40:07 +0800 Subject: [PATCH 2/4] =?UTF-8?q?glj-=E4=BB=A3=E7=A0=81=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/table/DisasterTable.vue | 54 ++++++++++--------- src/utils/request.js | 2 +- .../dataService/multimediaData/index.vue | 3 +- src/views/dataService/otherData/index.vue | 25 +++------ src/views/dataService/pictureInfo/index.vue | 27 +++------- src/views/dataService/visualData/index.vue | 19 ++----- 6 files changed, 51 insertions(+), 79 deletions(-) diff --git a/src/components/table/DisasterTable.vue b/src/components/table/DisasterTable.vue index 17e5fd7..da2e2b6 100644 --- a/src/components/table/DisasterTable.vue +++ b/src/components/table/DisasterTable.vue @@ -1,13 +1,12 @@ - diff --git a/src/views/dataService/visualData/index.vue b/src/views/dataService/visualData/index.vue index eafd692..e87802f 100644 --- a/src/views/dataService/visualData/index.vue +++ b/src/views/dataService/visualData/index.vue @@ -18,7 +18,10 @@ search --> - + + Generate + + @@ -32,7 +35,7 @@ - + @@ -53,7 +56,7 @@ :total="state.tableData.total"> - + @@ -105,6 +108,8 @@ const editWordCloudsRef = ref(); import { defineAsyncComponent, reactive, onMounted, ref } from 'vue'; import { ElMessageBox, ElMessage } from 'element-plus'; import disasterTable from "/@/components/table/DisasterTable.vue"; +import { ta } from 'element-plus/es/locale'; +import { landsat } from '/@/api/crawl/index.js' // 引入组件 const RoleDialog = defineAsyncComponent(() => import('/@/views/system/role/dialog.vue')); const auditRef = ref(); @@ -112,6 +117,7 @@ const uploadRef = ref(); // 定义变量内容 const roleDialogRef = ref(); const state = reactive({ + nameNew:false, multipleWord: [], multipleHotspot: [], tabVal: 'first', @@ -145,7 +151,13 @@ const handleSelectionChange = (val) => { const handleSelectionHotspotChange = (val) => { state.multipleHotspot = val } + const handleClick = (tab) => { + if (tab=="second") { + state.nameNew = true; + }else{ + state.nameNew = false; + } state.tabVal = tab; state.tableData = { data: [], @@ -236,6 +248,14 @@ const uploadData = () => { } state.tabVal == 'first' ? wordCloudsRef.value.openDialog(state.disasterId) : hotspotRef.value.openDialog(state.disasterId); }; +//获取图文信息 +const generateData =()=>{ + landsat(state.disasterId,10,).then(da=>{ + console.log(da); + + }) +} + // 打开修改热点弹窗 const editHotspot = (row) => { editHotspotRef.value.openDialog(row); From 355cd9d3aa7bb3cd472a3d83deb7f888f06def42 Mon Sep 17 00:00:00 2001 From: glj Date: Wed, 26 Apr 2023 14:34:20 +0800 Subject: [PATCH 4/4] =?UTF-8?q?glj-=E4=BB=A3=E7=A0=81=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/dataService/otherData/index.vue | 548 ++++++++---------- src/views/dataService/visualData/index.vue | 2 +- .../responseManagement/userResponse/index.vue | 406 +++++++------ 3 files changed, 455 insertions(+), 501 deletions(-) diff --git a/src/views/dataService/otherData/index.vue b/src/views/dataService/otherData/index.vue index c4a9229..770274f 100644 --- a/src/views/dataService/otherData/index.vue +++ b/src/views/dataService/otherData/index.vue @@ -1,368 +1,298 @@ - - diff --git a/src/views/dataService/visualData/index.vue b/src/views/dataService/visualData/index.vue index e87802f..fc3f4db 100644 --- a/src/views/dataService/visualData/index.vue +++ b/src/views/dataService/visualData/index.vue @@ -250,7 +250,7 @@ const uploadData = () => { }; //获取图文信息 const generateData =()=>{ - landsat(state.disasterId,10,).then(da=>{ + landsat(state.disasterId).then(da=>{ console.log(da); }) diff --git a/src/views/responseManagement/userResponse/index.vue b/src/views/responseManagement/userResponse/index.vue index 11c9194..915594b 100644 --- a/src/views/responseManagement/userResponse/index.vue +++ b/src/views/responseManagement/userResponse/index.vue @@ -1,45 +1,45 @@ -