From 8886fb13aed022f43be4c8fc6d6e4150c223473c Mon Sep 17 00:00:00 2001 From: yyhouc <792163605@qq.com> Date: Fri, 26 May 2023 10:07:44 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E6=89=80=E6=9C=89=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E7=9A=84=E6=97=A5=E5=BF=97=E8=BE=93=E5=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Map.vue | 11 ----------- src/stores/userInfo.js | 1 - .../dataService/multimediaData/component/boot.vue | 1 - .../multimediaData/component/uploadData.vue | 1 - src/views/dataService/multimediaData/index.vue | 4 ---- src/views/dataService/otherData/component/upload.vue | 1 - src/views/dataService/otherData/index.vue | 4 ---- .../dataService/pictureInfo/component/editPicture.vue | 4 ---- .../dataService/pictureInfo/component/upload.vue | 1 - .../components/retrievalCondition.vue | 9 --------- .../remoteSensingData/components/uploadData.vue | 8 -------- .../visualData/component/editHotspotForm.vue | 1 - .../visualData/component/editWordCloudForm.vue | 1 - .../dataService/visualData/component/hotspotForm.vue | 1 - .../visualData/component/wordCloudForm.vue | 1 - src/views/dataService/visualData/index.vue | 2 -- src/views/home/index.vue | 1 - src/views/responseManagement/contact/index.vue | 1 - .../responseManagement/dataUpload/component/audit.vue | 1 - src/views/responseManagement/dataUpload/index.vue | 3 --- src/views/responseManagement/userResponse/index.vue | 1 - .../administrator/component/audit.vue | 1 - src/views/systemManagement/administrator/index.vue | 4 ---- .../systemManagement/chiefAdministrator/index.vue | 5 ----- 24 files changed, 68 deletions(-) diff --git a/src/components/Map.vue b/src/components/Map.vue index 550c20f..a922f2a 100644 --- a/src/components/Map.vue +++ b/src/components/Map.vue @@ -105,17 +105,14 @@ const mapOperations = { variableStore.layerGroupPoly = res; let polygons = []; for (let i = 0; i < attr[0].feature.geometry.coordinates.length; i++) { - console.log(attr[0].feature.geometry.coordinates[i]) polygons.push(turf.polygon([attr[0].feature.geometry.coordinates[i]])); } let centers = polygons.map(polygon => turf.centroid(polygon)); - // console.log(centers) let features = [] for (let i = 0; i < centers.length; i++) { features.push(turf.point(centers[i].geometry.coordinates)) } let final_center = turf.center(turf.featureCollection(features)) - // console.log(final_center) homeMap.flyTo([final_center.geometry.coordinates[1], final_center.geometry.coordinates[0]], 3) return { 'layer': layer, 'location': null } } @@ -152,7 +149,6 @@ const mapOperations = { featureLayerG_point ) let features = featureLayerG_point.toGeoJSON().features - // console.log(features) variableStore.layerGroupPoint = features.map(function (feature) { return WKT.convert(feature.geometry) }) @@ -276,7 +272,6 @@ const mapOperations = { */ goPosition: (param) => { homeMap.setView(L.latLng(Number(param.y), Number(param.x)), param.zoom) - // console.log(homeMap); }, /** 监听事件 * Object param 参数集合 @@ -286,7 +281,6 @@ const mapOperations = { * } */ on: (event, func) => { - // console.log("1-1") homeMap.on(event, func) }, /** 事件注销 @@ -297,7 +291,6 @@ const mapOperations = { * } */ off: (event, func) => { - // console.log('2-1') homeMap.off(event, func) }, /** 清除所有图层 @@ -335,7 +328,6 @@ const mapOperations = { * } */ drawPolygon: () => { - // console.log('2-2') variableStore.layerGroupPoint = null featureLayerG_point.clearLayers() homeMap.pm.enableDraw('Polygon', { snappable: false }); @@ -359,7 +351,6 @@ const mapOperations = { return polygon }, clearPolygon: () => { - // console.log('1-2') featureLayerG_area.clearLayers() variableStore.layerGroupPoly = null @@ -378,7 +369,6 @@ const mapOperations = { // }) // featureLayerG_area.addLayer(elll.layer) // let features = featureLayerG_area.toGeoJSON().features - // // console.log(features) // variableStore.layerGroupPoly = features.map(function (feature) { // return WKT.convert(feature.geometry) // }) @@ -414,7 +404,6 @@ const mapOperations = { }); } else { - console.log('error') } }, drawRectangle: () => { diff --git a/src/stores/userInfo.js b/src/stores/userInfo.js index 9b983ab..417608d 100644 --- a/src/stores/userInfo.js +++ b/src/stores/userInfo.js @@ -28,7 +28,6 @@ export const useUserInfo = defineStore('userInfo', { async Buttons() { return new Promise((resolve) => { getButtons().then(data => { - console.log(data) resolve(this.formatBtns(data)); }) }) diff --git a/src/views/dataService/multimediaData/component/boot.vue b/src/views/dataService/multimediaData/component/boot.vue index f82dc01..c4100d8 100644 --- a/src/views/dataService/multimediaData/component/boot.vue +++ b/src/views/dataService/multimediaData/component/boot.vue @@ -287,7 +287,6 @@ const start = (text) => { state.twitterOption.buttonIs = true; } clearInterval(countdown); - console.log('倒计时结束'); } }, 1000); let keywords = (text == 'baidu' ? state.baidu.keywords :text == 'bing' ?state.bing.keywords:state.twitter.keywords); diff --git a/src/views/dataService/multimediaData/component/uploadData.vue b/src/views/dataService/multimediaData/component/uploadData.vue index 797e1fb..a350505 100644 --- a/src/views/dataService/multimediaData/component/uploadData.vue +++ b/src/views/dataService/multimediaData/component/uploadData.vue @@ -46,7 +46,6 @@ const state = reactive({ //通过onchanne触发方法获得文件列表 const handleChange = (file, fileList) => { state.fileList = fileList; - console.log(state.fileList) }; //上传处理 diff --git a/src/views/dataService/multimediaData/index.vue b/src/views/dataService/multimediaData/index.vue index 7fb4a62..9f9228c 100644 --- a/src/views/dataService/multimediaData/index.vue +++ b/src/views/dataService/multimediaData/index.vue @@ -238,11 +238,7 @@ const getDisasterData = () => { } getList(param).then(res => { state.disasterData.data = res.records; - console.log(state.disasterData.data[0], "state.disasterData.data[0]"); - state.disasterId = state.disasterData.data[0].disasterId; - console.log(state.disasterId, "state.disasterId "); - getTableData() state.disasterData.data.forEach(item => { let date = item.disasterTime.slice(0, 10); diff --git a/src/views/dataService/otherData/component/upload.vue b/src/views/dataService/otherData/component/upload.vue index 67db0fa..2bcfcf0 100644 --- a/src/views/dataService/otherData/component/upload.vue +++ b/src/views/dataService/otherData/component/upload.vue @@ -121,7 +121,6 @@ const uploadPic = (data) => { //移除时 const removePic = (data) => { state.fileArray.splice(state.fileArray.findIndex(item => item.uid === data.raw.uid), 1) - console.log(state.fileArray) } //重置表单 const resetField = () => { diff --git a/src/views/dataService/otherData/index.vue b/src/views/dataService/otherData/index.vue index c5beb58..a307a94 100644 --- a/src/views/dataService/otherData/index.vue +++ b/src/views/dataService/otherData/index.vue @@ -181,8 +181,6 @@ const getDisasterData = () => { const getTableData = () => { state.tableData.loading = true; getOtherDataPage(state.tableData.param.pageNum, state.tableData.param.pageSize, { "disasterId": state.disasterId, "type": state.searchName, "isDeleted": 0 }).then(res => { - console.log(res); - state.tableData.data = res.records; state.tableData.total = res.total; }) @@ -244,7 +242,6 @@ const del = (row) => { // 删除其他数据 const pub = (row) => { - console.log(row, "发布信息"); let da = { vordm_id:state.vordmId, link:row.link, @@ -252,7 +249,6 @@ const pub = (row) => { name:row.title } pushing(da).then(data => { - console.log(data,"datadatadatadata"); if(data.code == 1500){ ElMessage.error(data.msg); } diff --git a/src/views/dataService/pictureInfo/component/editPicture.vue b/src/views/dataService/pictureInfo/component/editPicture.vue index 46cb12e..6aaf88c 100644 --- a/src/views/dataService/pictureInfo/component/editPicture.vue +++ b/src/views/dataService/pictureInfo/component/editPicture.vue @@ -116,7 +116,6 @@ const uploadPic = (data) => { //移除时 const removePic = (data) => { state.fileArray.splice(state.fileArray.findIndex(item => item.uid === data.raw.uid), 1) - console.log(state.fileArray) } //重置表单 const resetField = () => { @@ -151,13 +150,10 @@ const onCancel = () => { const onSubmit = () => { adminAddFormRef.value.validate((valid, fields) => { if (valid) { - console.log(state.fileList); state.isLoading = true; state.fileList.forEach(item => { - console.log(item.raw,"item.raw"); if (item.raw) { - console.log(1111111111111); state.dataForm.append('file', item.raw); } }) diff --git a/src/views/dataService/pictureInfo/component/upload.vue b/src/views/dataService/pictureInfo/component/upload.vue index 79ab822..0845c14 100644 --- a/src/views/dataService/pictureInfo/component/upload.vue +++ b/src/views/dataService/pictureInfo/component/upload.vue @@ -94,7 +94,6 @@ const uploadPic = (data) => { //移除时 const removePic = (data) => { state.fileArray.splice(state.fileArray.findIndex(item => item.uid === data.raw.uid), 1) - console.log(state.fileArray) } //重置表单 const resetField = () => { diff --git a/src/views/dataService/remoteSensingData/components/retrievalCondition.vue b/src/views/dataService/remoteSensingData/components/retrievalCondition.vue index ee264ab..6df7f37 100644 --- a/src/views/dataService/remoteSensingData/components/retrievalCondition.vue +++ b/src/views/dataService/remoteSensingData/components/retrievalCondition.vue @@ -309,8 +309,6 @@ const getData = () => { } const addRemoteSensingData = (data, fileList) => { - console.log(data, "data"); - console.log(fileList, "fileListfileList"); if (state.disasterId == null) { ElMessage.warning('Please select the disaster first'); return false; @@ -408,15 +406,9 @@ const searchRemoteSensingSourceData = () => { getDataByCondition(state.tableData.param.pageNum, state.tableData.param.pageSize, dataNew) } -const reviseDownload = (row) => { - console.log(row, "rowrowrow"); -} - // 根据检索条件检索遥感元数据 const getDataByCondition = (current, size, dataNew) => { - console.log('传过来的数据:', state.tableData.param.pageNum); - getRemoteSensingSourceDataByCondition(current, size, JSON.stringify(dataNew)).then( (res) => { state.requestData = res.records; @@ -549,7 +541,6 @@ const onHandleSizeChange = (val) => { const onHandleCurrentChange = (val) => { state.tableData.param.pageSize = state.tableData.param.pageSize; state.tableData.param.pageNum = val; - console.log('当前页:', state.tableData.param.pageNum); let dataNew = {}; if (state.satelliteCodeList.length != 0) { dataNew = { diff --git a/src/views/dataService/remoteSensingData/components/uploadData.vue b/src/views/dataService/remoteSensingData/components/uploadData.vue index 647e919..4d224af 100644 --- a/src/views/dataService/remoteSensingData/components/uploadData.vue +++ b/src/views/dataService/remoteSensingData/components/uploadData.vue @@ -58,14 +58,6 @@ const uploadHandler = () => { closeDialog(); }; -const handleRemove = (uploadFile, uploadFiles) => { - console.log(uploadFile, uploadFiles) -} - -const handlePreview = (file) => { - console.log(file) -} - //重置表单 const resetField = () => { adminAddFormRef.value.resetFields(); diff --git a/src/views/dataService/visualData/component/editHotspotForm.vue b/src/views/dataService/visualData/component/editHotspotForm.vue index 81c5f6b..58a7bb8 100644 --- a/src/views/dataService/visualData/component/editHotspotForm.vue +++ b/src/views/dataService/visualData/component/editHotspotForm.vue @@ -62,7 +62,6 @@ const uploadPic = (data) => { //移除时 const removePic = (data) => { state.fileArray.splice(state.fileArray.findIndex(item=>item.uid===data.raw.uid), 1) - console.log(state.fileArray) } //校验规则 const rules = reactive({ diff --git a/src/views/dataService/visualData/component/editWordCloudForm.vue b/src/views/dataService/visualData/component/editWordCloudForm.vue index 1dfa173..5d4bfa0 100644 --- a/src/views/dataService/visualData/component/editWordCloudForm.vue +++ b/src/views/dataService/visualData/component/editWordCloudForm.vue @@ -68,7 +68,6 @@ const uploadPic = (data) => { //移除时 const removePic = (data) => { state.fileArray.splice(state.fileArray.findIndex(item=>item.uid===data.raw.uid), 1) - console.log(state.fileArray) } //校验规则 const rules = reactive({ diff --git a/src/views/dataService/visualData/component/hotspotForm.vue b/src/views/dataService/visualData/component/hotspotForm.vue index 5f451b5..552aba1 100644 --- a/src/views/dataService/visualData/component/hotspotForm.vue +++ b/src/views/dataService/visualData/component/hotspotForm.vue @@ -62,7 +62,6 @@ const uploadPic = (data) => { //移除时 const removePic = (data) => { state.fileArray.splice(state.fileArray.findIndex(item=>item.uid===data.raw.uid), 1) - console.log(state.fileArray) } //校验规则 const rules = reactive({ diff --git a/src/views/dataService/visualData/component/wordCloudForm.vue b/src/views/dataService/visualData/component/wordCloudForm.vue index 108b47b..ddde0f5 100644 --- a/src/views/dataService/visualData/component/wordCloudForm.vue +++ b/src/views/dataService/visualData/component/wordCloudForm.vue @@ -68,7 +68,6 @@ const uploadPic = (data) => { //移除时 const removePic = (data) => { state.fileArray.splice(state.fileArray.findIndex(item=>item.uid===data.raw.uid), 1) - console.log(state.fileArray) } //校验规则 const rules = reactive({ diff --git a/src/views/dataService/visualData/index.vue b/src/views/dataService/visualData/index.vue index 10a5d65..bdb1734 100644 --- a/src/views/dataService/visualData/index.vue +++ b/src/views/dataService/visualData/index.vue @@ -208,8 +208,6 @@ const formatSizeUnits = (size) => { } //灾害表格点击事件 const tableClick = (i) => { - console.log(i); - state.disasterId = i.disasterId; getTableData(); } diff --git a/src/views/home/index.vue b/src/views/home/index.vue index 53fafe4..864fa86 100644 --- a/src/views/home/index.vue +++ b/src/views/home/index.vue @@ -712,7 +712,6 @@ const setDisasterType = (data) => { const getDashBoradData = () => { state.param.year = state.year.getFullYear() statistics(state.param.year).then(res=>{ - console.log(res); //第一栏 setHeadData(res.header); //第二栏 diff --git a/src/views/responseManagement/contact/index.vue b/src/views/responseManagement/contact/index.vue index c3ad634..392e2af 100644 --- a/src/views/responseManagement/contact/index.vue +++ b/src/views/responseManagement/contact/index.vue @@ -146,7 +146,6 @@ const state = reactive({ }); const setValue = () => { const text = toRaw(myQuillEditor.value).getHTML() - console.log(text) } // 初始化表格数据 const initTableData = () => { diff --git a/src/views/responseManagement/dataUpload/component/audit.vue b/src/views/responseManagement/dataUpload/component/audit.vue index 119914a..b659bda 100644 --- a/src/views/responseManagement/dataUpload/component/audit.vue +++ b/src/views/responseManagement/dataUpload/component/audit.vue @@ -51,7 +51,6 @@ const resetField = () => { // 打开弹窗 const openDialog = (row) => { - console.log(row); state.isShowDialog = true; state.data = row; }; diff --git a/src/views/responseManagement/dataUpload/index.vue b/src/views/responseManagement/dataUpload/index.vue index 3a714fd..bd82c77 100644 --- a/src/views/responseManagement/dataUpload/index.vue +++ b/src/views/responseManagement/dataUpload/index.vue @@ -58,9 +58,6 @@ import type { TabsPaneContext } from 'element-plus'; import { getDataUploadPage, getDisasterPage, remove } from '/@/api/response/dataUpload.js' const activeName = ref('first'); -const handleClick = (tab: TabsPaneContext, event: Event) => { - console.log(tab, event); -}; const removeThis =(row) =>{ let arr = []; arr.push(row.id); diff --git a/src/views/responseManagement/userResponse/index.vue b/src/views/responseManagement/userResponse/index.vue index 608a8b8..c657176 100644 --- a/src/views/responseManagement/userResponse/index.vue +++ b/src/views/responseManagement/userResponse/index.vue @@ -502,7 +502,6 @@ const ClearSubmit = () => { const mapClick = (res) => { // // mapRef.value.mapOperations.removeLayer( state.wktPoint_Poly ) // mapRef.value.mapOperations.addInteractMarker(res.latlng.lat.toFixed(3), res.latlng.lng.toFixed(3)) - // // console.log(state.wktPoint_Poly) state.dislat = res.latlng.lat.toFixed(3) state.dislon = res.latlng.lng.toFixed(3) mapRef.value.mapOperations.addInteractMarker(res.latlng.lat.toFixed(3), res.latlng.lng.toFixed(3)) diff --git a/src/views/systemManagement/administrator/component/audit.vue b/src/views/systemManagement/administrator/component/audit.vue index f7ff178..79d0748 100644 --- a/src/views/systemManagement/administrator/component/audit.vue +++ b/src/views/systemManagement/administrator/component/audit.vue @@ -50,7 +50,6 @@ const resetField = () => { // 打开弹窗 const openDialog = (row) => { - console.log(row); state.isShowDialog = true; state.data = row; }; diff --git a/src/views/systemManagement/administrator/index.vue b/src/views/systemManagement/administrator/index.vue index 9252e8f..2732e91 100644 --- a/src/views/systemManagement/administrator/index.vue +++ b/src/views/systemManagement/administrator/index.vue @@ -58,11 +58,7 @@ import en from 'element-plus/dist/locale/en.mjs' import type { TabsPaneContext } from 'element-plus'; import { getAdminManagerPage, auditData } from '/@/api/response/adminManager.js'; import Audit from './component/audit.vue'; -const activeName = ref('first'); const auditRef = ref(); -const handleClick = (tab: TabsPaneContext, event: Event) => { - console.log(tab, event); -}; //复制内容 import { defineAsyncComponent, reactive, onMounted, ref } from 'vue'; diff --git a/src/views/systemManagement/chiefAdministrator/index.vue b/src/views/systemManagement/chiefAdministrator/index.vue index 5f8347e..024921c 100644 --- a/src/views/systemManagement/chiefAdministrator/index.vue +++ b/src/views/systemManagement/chiefAdministrator/index.vue @@ -107,14 +107,9 @@ const gridData = [ address: 'Queens, New York City', }, ] -const activeName = ref('first'); const administratorRef = ref(); const editAdministratorRef = ref(); const manageRef = ref(); -const handleClick = (tab: TabsPaneContext, event: Event) => { - console.log(tab, event); -}; - //复制内容 import { defineAsyncComponent, reactive, onMounted, ref } from 'vue'; import { ElMessageBox, ElMessage } from 'element-plus';