diff --git a/src/components/FormCreate/src/utils/index.ts b/src/components/FormCreate/src/utils/index.ts index e5480981..403db331 100644 --- a/src/components/FormCreate/src/utils/index.ts +++ b/src/components/FormCreate/src/utils/index.ts @@ -23,7 +23,7 @@ export function upper(str) { } export function makeOptionsRule(t, to, userOptions) { - console.log(userOptions[0]) + //console.log(userOptions[0]) const options = [ { label: t('props.optionsType.struct'), value: 0 }, { label: t('props.optionsType.json'), value: 1 }, diff --git a/src/components/PreviewFile/index.vue b/src/components/PreviewFile/index.vue index a61898c3..886ac96d 100644 --- a/src/components/PreviewFile/index.vue +++ b/src/components/PreviewFile/index.vue @@ -43,7 +43,6 @@ if (VITE_FLAG) { }) } else { setTimeout(async () => { - const previewUrl = await previewFile(currentRoute.value?.href?.split('?')[1]) url.value = previewUrl excelOptions.value = ref({ diff --git a/src/components/bpmnProcessDesigner/package/designer/ProcessDesigner.vue b/src/components/bpmnProcessDesigner/package/designer/ProcessDesigner.vue index 3b29d17a..7513c6c3 100644 --- a/src/components/bpmnProcessDesigner/package/designer/ProcessDesigner.vue +++ b/src/components/bpmnProcessDesigner/package/designer/ProcessDesigner.vue @@ -707,7 +707,7 @@ const processSave = async () => { // return result.value || ' ' // } onBeforeMount(() => { - console.log(props, 'propspropspropsprops') + //console.log(props, 'propspropspropsprops') }) onMounted(() => { initBpmnModeler() diff --git a/src/components/bpmnProcessDesigner/package/palette/ProcessPalette.vue b/src/components/bpmnProcessDesigner/package/palette/ProcessPalette.vue index ba97d967..f06ff096 100644 --- a/src/components/bpmnProcessDesigner/package/palette/ProcessPalette.vue +++ b/src/components/bpmnProcessDesigner/package/palette/ProcessPalette.vue @@ -15,7 +15,7 @@ const addTask = (event, options: any = {}) => { const ElementFactory = bpmnInstances().elementFactory const create = bpmnInstances().modeler.get('create') - console.log(ElementFactory, create) + //console.log(ElementFactory, create) const shape = ElementFactory.createShape(assign({ type: 'bpmn:UserTask' }, options)) @@ -23,8 +23,8 @@ const addTask = (event, options: any = {}) => { shape.businessObject.di.isExpanded = options.isExpanded } - console.log(event, 'event') - console.log(shape, 'shape') + //console.log(event, 'event') + //console.log(shape, 'shape') create.start(event, shape) } diff --git a/src/components/bpmnProcessDesigner/package/penal/PropertiesPanel.vue b/src/components/bpmnProcessDesigner/package/penal/PropertiesPanel.vue index 85ec651b..c51ac9e8 100644 --- a/src/components/bpmnProcessDesigner/package/penal/PropertiesPanel.vue +++ b/src/components/bpmnProcessDesigner/package/penal/PropertiesPanel.vue @@ -172,7 +172,7 @@ const unwatchBpmn = watch( return } - console.log('props.bpmnModeler 有值了!!!') + //console.log('props.bpmnModeler 有值了!!!') const w = window as any w.bpmnInstances = { modeler: props.bpmnModeler, diff --git a/src/components/bpmnProcessDesigner/package/penal/flow-condition/FlowCondition.vue b/src/components/bpmnProcessDesigner/package/penal/flow-condition/FlowCondition.vue index 345670ae..2e887f71 100644 --- a/src/components/bpmnProcessDesigner/package/penal/flow-condition/FlowCondition.vue +++ b/src/components/bpmnProcessDesigner/package/penal/flow-condition/FlowCondition.vue @@ -179,7 +179,7 @@ onBeforeUnmount(() => { watch( () => props.businessObject, (val) => { - console.log(val, 'val') + //console.log(val, 'val') nextTick(() => { resetFlowCondition() }) diff --git a/src/components/bpmnProcessDesigner/package/penal/listeners/UserTaskListeners.vue b/src/components/bpmnProcessDesigner/package/penal/listeners/UserTaskListeners.vue index 1db16011..9a838bad 100644 --- a/src/components/bpmnProcessDesigner/package/penal/listeners/UserTaskListeners.vue +++ b/src/components/bpmnProcessDesigner/package/penal/listeners/UserTaskListeners.vue @@ -376,7 +376,7 @@ const openListenerForm = (listener, index?) => { } // 移除监听器 const removeListener = (listener, index?) => { - console.log(listener, 'listener') + //console.log(listener, 'listener') ElMessageBox.confirm('确认移除该监听器吗?', '提示', { confirmButtonText: '确 认', cancelButtonText: '取 消' diff --git a/src/components/bpmnProcessDesigner/package/penal/listeners/utilSelf.ts b/src/components/bpmnProcessDesigner/package/penal/listeners/utilSelf.ts index b4eb1d27..c88bc351 100644 --- a/src/components/bpmnProcessDesigner/package/penal/listeners/utilSelf.ts +++ b/src/components/bpmnProcessDesigner/package/penal/listeners/utilSelf.ts @@ -20,7 +20,7 @@ export function initListenerForm(listener) { self.eventDefinitionType = key.replace('time', '').toLowerCase() } } - console.log(k) + //console.log(k) self.eventTimeDefinitions = listener.eventDefinitions[0][k].body } } diff --git a/src/components/bpmnProcessDesigner/package/penal/signal-message/SignalAndMessage.vue b/src/components/bpmnProcessDesigner/package/penal/signal-message/SignalAndMessage.vue index a72d4b83..4f7028c4 100644 --- a/src/components/bpmnProcessDesigner/package/penal/signal-message/SignalAndMessage.vue +++ b/src/components/bpmnProcessDesigner/package/penal/signal-message/SignalAndMessage.vue @@ -68,7 +68,7 @@ const modelConfig = computed(() => { const bpmnInstances = () => (window as any)?.bpmnInstances const initDataList = () => { - console.log(window, 'window') + //console.log(window, 'window') rootElements.value = bpmnInstances().modeler.getDefinitions().rootElements messageIdMap.value = {} signalIdMap.value = {} diff --git a/src/components/bpmnProcessDesigner/src/utils/xml2json.js b/src/components/bpmnProcessDesigner/src/utils/xml2json.js index fe1a52fb..03e1bc8a 100644 --- a/src/components/bpmnProcessDesigner/src/utils/xml2json.js +++ b/src/components/bpmnProcessDesigner/src/utils/xml2json.js @@ -39,7 +39,7 @@ function xml2json(xml) { function xmlObj2json(xml) { const xmlObj = xmlStr2XmlObj(xml) - console.log(xmlObj) + // console.log(xmlObj) let jsonObj = {} if (xmlObj.childNodes.length > 0) { jsonObj = xml2json(xmlObj) diff --git a/src/components/form/datePicker/index.vue b/src/components/form/datePicker/index.vue index 7580b78f..03087e75 100644 --- a/src/components/form/datePicker/index.vue +++ b/src/components/form/datePicker/index.vue @@ -127,7 +127,7 @@ const timeChange = (e: number) => { // 当前 const nowTime = () => { - console.log(interval.value, '000000000') + //console.log(interval.value, '000000000') timeChange(interval.value) } // 上一个 @@ -312,7 +312,7 @@ const next = () => { } } else { month = month + 3 - console.log('🚀 ~ next ~ presentM:', presentM, month) + // console.log('🚀 ~ next ~ presentM:', presentM, month) // 季度进位后,超过当前月份是不科学的 if (year == presentY && !props.nextFlag) { @@ -327,7 +327,7 @@ const next = () => { endTime = year + '-0' + presentM + '-' + presentD } } else if (presentM > 3 && presentM < 7) { - console.log(123123) + // console.log(123123) // 第二季度 startTime = year + '-04-01' if (presentD < 10) { @@ -380,7 +380,7 @@ const next = () => { } } } - console.log(startTime, endTime) + // console.log(startTime, endTime) } else if (interval.value == 5) { } else if (interval.value == 4) { //根据开始时间推 diff --git a/src/components/table/header/index.vue b/src/components/table/header/index.vue index 4083d5d2..e1efaece 100644 --- a/src/components/table/header/index.vue +++ b/src/components/table/header/index.vue @@ -258,7 +258,7 @@ const setTheDate = (val: any) => { } // 导出 const onExport = () => { - console.log('222') + tableStore.onTableAction('export', { showAllFlag: true }) } diff --git a/src/components/tree/index.vue b/src/components/tree/index.vue index 16b72413..cc26a99c 100644 --- a/src/components/tree/index.vue +++ b/src/components/tree/index.vue @@ -147,7 +147,7 @@ const onMenuCollapse = () => { } // 查看详情 const viewDetails = (data: any) => { - console.log('🚀 ~ viewDetails ~ data:', data) + // console.log('🚀 ~ viewDetails ~ data:', data) if (data.level == 3) { // 变电站详情 // substationDetails @@ -201,7 +201,7 @@ onMounted(async () => { }) const scrollToNode = (id: string) => { - console.log("🚀 ~ scrollToNode ~ id:", id) + // console.log("🚀 ~ scrollToNode ~ id:", id) if (!treeRef.value) return // 获取目标节点的元素 diff --git a/src/components/tree/pqs/algorithmTree.vue b/src/components/tree/pqs/algorithmTree.vue index 1395d2ae..5720da4a 100644 --- a/src/components/tree/pqs/algorithmTree.vue +++ b/src/components/tree/pqs/algorithmTree.vue @@ -35,7 +35,7 @@ const tree = ref() const treeRef = ref() const loadData = (id?: any) => { - console.log('🚀 ~ loadData ~ id:', id) + // console.log('🚀 ~ loadData ~ id:', id) let nodeKey = '' queryAllAlgorithmLibrary().then(res => { res.data.forEach((item: any) => { diff --git a/src/components/tree/pqs/bearingTree.vue b/src/components/tree/pqs/bearingTree.vue index 77d28e30..dd1db0ef 100644 --- a/src/components/tree/pqs/bearingTree.vue +++ b/src/components/tree/pqs/bearingTree.vue @@ -56,7 +56,7 @@ const loadData = () => { form.statisticalType = classificationData.find((item: any) => item.id == form.statisticalType) let nodeKey = '' getTerminalTreeForFive(form).then(res => { - console.log(res) + if (obj.code == 'Power_Network') { res.data = [ { diff --git a/src/components/tree/pqs/standardTree.vue b/src/components/tree/pqs/standardTree.vue index a6b24b82..50d38010 100644 --- a/src/components/tree/pqs/standardTree.vue +++ b/src/components/tree/pqs/standardTree.vue @@ -28,7 +28,7 @@ const tree = ref() const treeRef = ref() const loadData = (id?: any) => { - console.log('🚀 ~ loadData ~ id:', id) + let nodeKey = '' queryAll().then(res => { res.data.forEach((item: any) => { diff --git a/src/layouts/admin/components/globalPopUp.vue b/src/layouts/admin/components/globalPopUp.vue index bd720671..355a2542 100644 --- a/src/layouts/admin/components/globalPopUp.vue +++ b/src/layouts/admin/components/globalPopUp.vue @@ -79,7 +79,7 @@ const init = async () => { // 设置消息接收回调 mqttClient.onMessage((topic, message) => { const msg = JSON.parse(message.toString()) - console.log('🚀 ~ init ~ msg:', msg) + // console.log('🚀 ~ init ~ msg:', msg) if (msg.deptList.includes(adminInfo.$state.deptId)) { drawer.value = true isLoading.value = true diff --git a/src/layouts/components/UserInfo/src/components/LockDialog.vue b/src/layouts/components/UserInfo/src/components/LockDialog.vue index 95de6ec8..0ba6322c 100644 --- a/src/layouts/components/UserInfo/src/components/LockDialog.vue +++ b/src/layouts/components/UserInfo/src/components/LockDialog.vue @@ -29,7 +29,7 @@ const emit = defineEmits(['update:modelValue']) const dialogVisible = computed({ get: () => props.modelValue, set: (val) => { - console.log('set: ', val) + emit('update:modelValue', val) } }) diff --git a/src/stores/monitoringPoint.ts b/src/stores/monitoringPoint.ts index 9aeca746..3c4c81fb 100644 --- a/src/stores/monitoringPoint.ts +++ b/src/stores/monitoringPoint.ts @@ -29,9 +29,9 @@ export const useMonitoringPoint = defineStore( const setShowCheckBox = (val: boolean) => { if (val && state.lineIds.length === 0) { state.lineIds = [state.lineId] - console.log('====================================') - console.log(state.lineIds) - console.log('====================================') + // console.log('====================================') + // console.log(state.lineIds) + // console.log('====================================') } state.showCheckBox = val } diff --git a/src/utils/fileDownLoad.ts b/src/utils/fileDownLoad.ts index 030d39ba..fc0f51e1 100644 --- a/src/utils/fileDownLoad.ts +++ b/src/utils/fileDownLoad.ts @@ -1,8 +1,13 @@ import { downloadFile } from '@/api/system-boot/file' + +const sanitizeUrl = (url: string): string => { + return url.replace(/\[/g, '(').replace(/\]/g, ')') +} + // 下载文件 export const download = (urls: string) => { //console.log('下载', urls) - + downloadFile({ filePath: urls }) .then((res: any) => { // 1. 确定文件MIME类型(优化:用更简洁的方式) @@ -55,10 +60,8 @@ function removeLastDotSuffix(str: string) { export const previewFile = async (urls: any) => { //console.log('预览', urls) let url = '' - //console.log('urls', decodeURI(urls)) await downloadFile({ filePath: decodeURI(urls) }) - .then((res: any) => { - + .then((res: any) => { // 1. 确定文件MIME类型(优化:用更简洁的方式) const getFileType = (url: string) => { const ext = url.split('.').pop()?.toLowerCase() || '' @@ -74,11 +77,8 @@ export const previewFile = async (urls: any) => { jpg: 'image/jpg' } return mimeMap[ext] || '' - } - + } const blob = new Blob([res], { type: getFileType(decodeURI(urls)) }) - - // 3. 创建下载链接 url = window.URL.createObjectURL(blob) }) diff --git a/src/views/LN/newEnergy/newEnergyAnalysis/index.vue b/src/views/LN/newEnergy/newEnergyAnalysis/index.vue index 721616e0..afcfca92 100644 --- a/src/views/LN/newEnergy/newEnergyAnalysis/index.vue +++ b/src/views/LN/newEnergy/newEnergyAnalysis/index.vue @@ -786,7 +786,7 @@ onMounted(() => { }) const handleNodeClick = (data: any, node: any) => { - console.log('🚀 ~ handleNodeClick ~ data:', data) + //console.log('🚀 ~ handleNodeClick ~ data:', data) if (data.level == 6) { dotList.value = data // dotList.value.id = '6469e77fda42db12c7ca6620a092f03c1' diff --git a/src/views/LN/newEnergy/newEnergyAnalysis/test.vue b/src/views/LN/newEnergy/newEnergyAnalysis/test.vue index a0aaa0b2..d9fa212b 100644 --- a/src/views/LN/newEnergy/newEnergyAnalysis/test.vue +++ b/src/views/LN/newEnergy/newEnergyAnalysis/test.vue @@ -757,7 +757,7 @@ const timeClick = (row: any) => { } // 点击越限 const detailClick = (row: any, title: string, key: string) => { - console.log('🚀 ~ detailClick ~ row:', row) + // console.log('🚀 ~ detailClick ~ row:', row) detailRef.value.open({ row: row, title: title, @@ -802,7 +802,7 @@ onMounted(() => { }) const handleNodeClick = (data: any, node: any) => { - console.log('🚀 ~ handleNodeClick ~ data:', data) + // console.log('🚀 ~ handleNodeClick ~ data:', data) if (data.level == 6) { dotList.value = data // dotList.value.id = '6469e77fda42db12c7ca6620a092f03c1' diff --git a/src/views/pqs/bearingCapacity/evaluationList/components/charge.vue b/src/views/pqs/bearingCapacity/evaluationList/components/charge.vue index f7991547..ddeec4a0 100644 --- a/src/views/pqs/bearingCapacity/evaluationList/components/charge.vue +++ b/src/views/pqs/bearingCapacity/evaluationList/components/charge.vue @@ -450,7 +450,7 @@ const selChange = async (e: any) => { } // 导出 const onExport = () => { - console.log("🚀 ~ onExport ~ document.getElementById('exportId'):", document.getElementById('exportId')) + // console.log("🚀 ~ onExport ~ document.getElementById('exportId'):", document.getElementById('exportId')) // 转换成canvas html2canvas(document.getElementById('exportId'), { @@ -459,7 +459,7 @@ const onExport = () => { logging: false, // 关闭日志 scale: 2 // 提高缩放比例以获得更清晰的截图 }).then(function (canvas) { - console.log('🚀 ~ onExport ~ canvas:', canvas) + // console.log('🚀 ~ onExport ~ canvas:', canvas) // 创建a标签,实现下载 let creatIMg = document.createElement('a') creatIMg.download = '光伏电站承载能力评估结果.png' // 设置下载的文件名, diff --git a/src/views/pqs/bearingCapacity/evaluationList/components/policy.vue b/src/views/pqs/bearingCapacity/evaluationList/components/policy.vue index 4359c615..b92113b0 100644 --- a/src/views/pqs/bearingCapacity/evaluationList/components/policy.vue +++ b/src/views/pqs/bearingCapacity/evaluationList/components/policy.vue @@ -176,7 +176,7 @@ const info = () => { }) }) }) - console.log('🚀 ~ queyDetail ~ photovoltaicData.value:', photovoltaicData.value) + // console.log('🚀 ~ queyDetail ~ photovoltaicData.value:', photovoltaicData.value) }) // 电弧炉 queyDetailDhl().then(res => { diff --git a/src/views/pqs/business/terminal/FrontManagement/index.vue b/src/views/pqs/business/terminal/FrontManagement/index.vue index 5870cdbf..e9a54771 100644 --- a/src/views/pqs/business/terminal/FrontManagement/index.vue +++ b/src/views/pqs/business/terminal/FrontManagement/index.vue @@ -430,7 +430,7 @@ const currentChangeEvent = () => { // 重启进程 const restart = (data: any) => { - console.log('🚀 ~ restart ~ data:', data) + // console.log('🚀 ~ restart ~ data:', data) askRestartProcess({ deviceRebootType: data.processNo, nodeId: nodeId.value, diff --git a/src/views/pqs/business/terminal/TerminalManagement/components/detail.vue b/src/views/pqs/business/terminal/TerminalManagement/components/detail.vue index b62671d4..e28e2b03 100644 --- a/src/views/pqs/business/terminal/TerminalManagement/components/detail.vue +++ b/src/views/pqs/business/terminal/TerminalManagement/components/detail.vue @@ -35,7 +35,7 @@ const dialogVisible = ref(false) const tableData = ref([]) const open = (e: any) => { - console.log("🚀 ~ open ~ e:", e) + //console.log("🚀 ~ open ~ e:", e) echartsXq.value = { title: { text: e.name + '性能详情' diff --git a/src/views/pqs/business/terminal/TerminalManagement/index.vue b/src/views/pqs/business/terminal/TerminalManagement/index.vue index 4cb645f2..a9c35d8c 100644 --- a/src/views/pqs/business/terminal/TerminalManagement/index.vue +++ b/src/views/pqs/business/terminal/TerminalManagement/index.vue @@ -223,7 +223,7 @@ const manage = (name: string, key: number) => { .getCheckboxRecords() .filter((item: any) => item.level == 4) .map(item => item.id) - console.log('🚀 ~ deviceData ~ selectRecords:', selectRecords) + //console.log('🚀 ~ deviceData ~ selectRecords:', selectRecords) if (selectRecords.length == 0) { return ElMessage({ message: '请至少选择一台装置', diff --git a/src/views/pqs/business/terminal/deviceter/index.vue b/src/views/pqs/business/terminal/deviceter/index.vue index d171fb12..2138f16e 100644 --- a/src/views/pqs/business/terminal/deviceter/index.vue +++ b/src/views/pqs/business/terminal/deviceter/index.vue @@ -2313,7 +2313,7 @@ const remove = () => { const next = async () => { await mainForm.value.validate((valid: any) => { if (valid) { - console.log('🚀 ~ awaitmainForm.value.validate ~ nodeLevel.value:', nodeLevel.value) + // console.log('🚀 ~ awaitmainForm.value.validate ~ nodeLevel.value:', nodeLevel.value) switch (nodeLevel.value) { case 100: diff --git a/src/views/pqs/business/terminal/userLedger/components/addForm.vue b/src/views/pqs/business/terminal/userLedger/components/addForm.vue index c471e5f2..02cc0f7d 100644 --- a/src/views/pqs/business/terminal/userLedger/components/addForm.vue +++ b/src/views/pqs/business/terminal/userLedger/components/addForm.vue @@ -1059,7 +1059,7 @@ const filterUsers = (arr: any) => { userTypeList.value = userTypeList.value.filter(item => !arr.includes(item.value)) } const setcontroFlag = () => { - console.log(12333) + controFlag.value = true } diff --git a/src/views/pqs/business/terminal/userLedger/components/detail.vue b/src/views/pqs/business/terminal/userLedger/components/detail.vue index 9c60651f..341b9bef 100644 --- a/src/views/pqs/business/terminal/userLedger/components/detail.vue +++ b/src/views/pqs/business/terminal/userLedger/components/detail.vue @@ -383,7 +383,7 @@ const preview = (val: any, url: any) => { } //预测评估报告 if (val == 'predictionEvaluationReport') { - console.log(url, '9999999') + predictionEvaluationReportRef?.value.open(url) } //预测评估评审意见报告 diff --git a/src/views/pqs/cockpit/homePage/index.vue b/src/views/pqs/cockpit/homePage/index.vue index 3d58c154..1436aa65 100644 --- a/src/views/pqs/cockpit/homePage/index.vue +++ b/src/views/pqs/cockpit/homePage/index.vue @@ -181,7 +181,7 @@ const zoom = (value: any) => { component: registerComponent(item.path) })) } - console.log('🚀 ~ zoom ~ layout.value:', layout.value) + // console.log('🚀 ~ zoom ~ layout.value:', layout.value) flag.value = !flag.value diff --git a/src/views/pqs/database/algorithm/components/form.vue b/src/views/pqs/database/algorithm/components/form.vue index fc791a62..b7bc4a7c 100644 --- a/src/views/pqs/database/algorithm/components/form.vue +++ b/src/views/pqs/database/algorithm/components/form.vue @@ -83,7 +83,7 @@ const cycle = [ { value: '3', label: '年' } ] const changeTree = (row: any) => { - console.log("🚀 ~ changeTree ~ row:", row) + // console.log("🚀 ~ changeTree ~ row:", row) TreeList.value = row if (title.value == '修改算法') { if (row.level != 4) { diff --git a/src/views/pqs/database/standard/index.vue b/src/views/pqs/database/standard/index.vue index 9b55e8f9..b66b001c 100644 --- a/src/views/pqs/database/standard/index.vue +++ b/src/views/pqs/database/standard/index.vue @@ -81,7 +81,7 @@ onMounted(() => { const urlKey=ref('') const VITE_FLAG = import.meta.env.VITE_NAME == 'jibei' const handleNodeClick = (data: any, node: any) => { - console.log("🚀 ~ handleNodeClick ~ data:", data) + // console.log("🚀 ~ handleNodeClick ~ data:", data) dotList.value = data url.value = '' flag.value = false diff --git a/src/views/pqs/harmonicMonitoring/area/onlinerate/index.vue b/src/views/pqs/harmonicMonitoring/area/onlinerate/index.vue index 00b8aefd..1f5e6dd3 100644 --- a/src/views/pqs/harmonicMonitoring/area/onlinerate/index.vue +++ b/src/views/pqs/harmonicMonitoring/area/onlinerate/index.vue @@ -153,7 +153,7 @@ const treeData = ref([]) const idArr = ref([]) const activeName = ref(0) const getTreeData = async () => { - console.log('getTreeData') + await getAreaDept().then(res => { var data = res.data data.forEach(element => { diff --git a/src/views/pqs/harmonicMonitoring/area/powerAssessment/index.vue b/src/views/pqs/harmonicMonitoring/area/powerAssessment/index.vue index 2182c093..7964c78d 100644 --- a/src/views/pqs/harmonicMonitoring/area/powerAssessment/index.vue +++ b/src/views/pqs/harmonicMonitoring/area/powerAssessment/index.vue @@ -170,7 +170,7 @@ tableStore.table.params.statisticalType = {} // 柱状图数据处理 const histogram = (res: any) => { - console.log(123); + echartList.value = { title: { diff --git a/src/views/pqs/harmonicMonitoring/detailed/dirtyAreas/components/provinceDetails.vue b/src/views/pqs/harmonicMonitoring/detailed/dirtyAreas/components/provinceDetails.vue index 5bba71b5..726ae282 100644 --- a/src/views/pqs/harmonicMonitoring/detailed/dirtyAreas/components/provinceDetails.vue +++ b/src/views/pqs/harmonicMonitoring/detailed/dirtyAreas/components/provinceDetails.vue @@ -85,7 +85,7 @@ const title = ref('') const key = ref(0) const statisticalName = ref('') const open = (row: any, flag: boolean, params: any) => { - console.log('🚀 ~ open ~ row:', row) + voltageLevelFlag.value = flag loading.value = true title.value = row.name + '详情' diff --git a/src/views/pqs/harmonicMonitoring/detailed/division/index.vue b/src/views/pqs/harmonicMonitoring/detailed/division/index.vue index bb4cd0c2..711e4c3a 100644 --- a/src/views/pqs/harmonicMonitoring/detailed/division/index.vue +++ b/src/views/pqs/harmonicMonitoring/detailed/division/index.vue @@ -62,7 +62,7 @@ const tableStore = new TableStore({ render: 'basicButton', click: row => { - console.log("🚀 ~ row:", row) + push({ path: "/admin/division/detail", query: { diff --git a/src/views/pqs/harmonicMonitoring/detailed/pollutionReport/components/userEvaluation.vue b/src/views/pqs/harmonicMonitoring/detailed/pollutionReport/components/userEvaluation.vue index bbf83f42..cb460c0e 100644 --- a/src/views/pqs/harmonicMonitoring/detailed/pollutionReport/components/userEvaluation.vue +++ b/src/views/pqs/harmonicMonitoring/detailed/pollutionReport/components/userEvaluation.vue @@ -122,7 +122,7 @@ const tableStore = new TableStore({ }, click: row => { detailDialogTitle.value = '监测点污染详情' - console.log('🚀 ~ row:', row) + detailLoading.value = true detailData.value = row.powerFlagPollutionList detailDialogVisible.value = true diff --git a/src/views/pqs/harmonicMonitoring/detailed/powerQualityPollutionMap/index.vue b/src/views/pqs/harmonicMonitoring/detailed/powerQualityPollutionMap/index.vue index 4b3fb6f1..dcf934a2 100644 --- a/src/views/pqs/harmonicMonitoring/detailed/powerQualityPollutionMap/index.vue +++ b/src/views/pqs/harmonicMonitoring/detailed/powerQualityPollutionMap/index.vue @@ -111,7 +111,7 @@ const tableStore = new TableStore({ map(tableStore.table.data) histogram(tableStore.table.data) EchartMap.value.GetEchar(header.value.areaRef.areaName) - console.log("🚀 ~ header.value.areaRef.areaName:", header.value.areaRef.areaName) + // console.log("🚀 ~ header.value.areaRef.areaName:", header.value.areaRef.areaName) } }) @@ -124,7 +124,7 @@ provide('tableStore', tableStore) // 地图点击事件 const getRegionByRegion = (list: any) => { - console.log("🚀 ~ getRegionByRegion ~ list:", list) + // console.log("🚀 ~ getRegionByRegion ~ list:", list) tableStore.table.params.deptIndex = list.id tableStore.onTableAction('search', {}) } @@ -134,7 +134,7 @@ const getRegionByRegion = (list: any) => { // 地图数处理 const map = (res: any) => { - console.log("🚀 ~ map ~ res:", res) + // console.log("🚀 ~ map ~ res:", res) let areaData: any = [] let xarr = [] let yarr = [] diff --git a/src/views/pqs/harmonicMonitoring/embed/lntegruty/components/table.vue b/src/views/pqs/harmonicMonitoring/embed/lntegruty/components/table.vue index 3df0eee6..1ee6ca13 100644 --- a/src/views/pqs/harmonicMonitoring/embed/lntegruty/components/table.vue +++ b/src/views/pqs/harmonicMonitoring/embed/lntegruty/components/table.vue @@ -249,7 +249,7 @@ const searchEvent = debounce(() => { (item: any) => searchProps.some(key => String(item[key]).toLowerCase().indexOf(filterVal) > -1), options ) - console.log('🚀 ~ searchEvent ~ rest:', rest) + // console.log('🚀 ~ searchEvent ~ rest:', rest) tableStore.table.data = rest diff --git a/src/views/pqs/harmonicMonitoring/embed/lntegruty/components_JB/table.vue b/src/views/pqs/harmonicMonitoring/embed/lntegruty/components_JB/table.vue index dcd6a0ce..86f925df 100644 --- a/src/views/pqs/harmonicMonitoring/embed/lntegruty/components_JB/table.vue +++ b/src/views/pqs/harmonicMonitoring/embed/lntegruty/components_JB/table.vue @@ -249,7 +249,7 @@ const searchEvent = debounce(() => { (item: any) => searchProps.some(key => String(item[key]).toLowerCase().indexOf(filterVal) > -1), options ) - console.log('🚀 ~ searchEvent ~ rest:', rest) + // console.log('🚀 ~ searchEvent ~ rest:', rest) tableStore.table.data = rest diff --git a/src/views/pqs/harmonicMonitoring/embed/onlinerate/components/table.vue b/src/views/pqs/harmonicMonitoring/embed/onlinerate/components/table.vue index 865758b0..13509b25 100644 --- a/src/views/pqs/harmonicMonitoring/embed/onlinerate/components/table.vue +++ b/src/views/pqs/harmonicMonitoring/embed/onlinerate/components/table.vue @@ -193,7 +193,7 @@ const searchEvent = debounce(() => { (item: any) => searchProps.some(key => String(item[key]).toLowerCase().indexOf(filterVal) > -1), options ) - console.log("🚀 ~ searchEvent ~ rest:", rest) + // console.log("🚀 ~ searchEvent ~ rest:", rest) tableStore.table.data = rest diff --git a/src/views/pqs/harmonicMonitoring/embed/onlinerate/index_JB.vue b/src/views/pqs/harmonicMonitoring/embed/onlinerate/index_JB.vue index 28d72dba..f2a03352 100644 --- a/src/views/pqs/harmonicMonitoring/embed/onlinerate/index_JB.vue +++ b/src/views/pqs/harmonicMonitoring/embed/onlinerate/index_JB.vue @@ -271,7 +271,7 @@ const tableStore = new TableStore({ return k.citName != '上送国网' && k.citName != '非上送国网' } }) - console.log(123, tableStore.table.params.statisticalType.name) + // console.log(123, tableStore.table.params.statisticalType.name) // 合并子集数据 并去重 totalData.value = Array.from( diff --git a/src/views/pqs/harmonicMonitoring/monitoringPoint/online/gaojingshujutongji/index.vue b/src/views/pqs/harmonicMonitoring/monitoringPoint/online/gaojingshujutongji/index.vue index 1a02fc60..4a3c4cbe 100644 --- a/src/views/pqs/harmonicMonitoring/monitoringPoint/online/gaojingshujutongji/index.vue +++ b/src/views/pqs/harmonicMonitoring/monitoringPoint/online/gaojingshujutongji/index.vue @@ -194,9 +194,9 @@ const checkChange = () => { } } const close = () => { - console.log('====================================') - console.log(2123123) - console.log('====================================') + // console.log('====================================') + // console.log(2123123) + // console.log('====================================') options.value = null } const showCharts = (row: any, valueType: number, name: string) => { diff --git a/src/views/pqs/harmonicMonitoring/monitoringPoint/online/index.vue b/src/views/pqs/harmonicMonitoring/monitoringPoint/online/index.vue index bebb4216..b924d608 100644 --- a/src/views/pqs/harmonicMonitoring/monitoringPoint/online/index.vue +++ b/src/views/pqs/harmonicMonitoring/monitoringPoint/online/index.vue @@ -175,7 +175,7 @@ const findNodeByTreeId = (treeData: any, id: any) => { const getTargetNode = () => { const targetId = '9b7adecf588b4110acb7018f297592a7' const node = findNodeByTreeId(treeData.value, targetId) - console.log('Vue中找到的节点:', node) + // console.log('Vue中找到的节点:', node) } const changeTab = (e: string) => { activeName.value = e diff --git a/src/views/pqs/harmonicMonitoring/monitoringPoint/online/statisticalReport/index.vue b/src/views/pqs/harmonicMonitoring/monitoringPoint/online/statisticalReport/index.vue index 7d3cf0c8..f9a03f3b 100644 --- a/src/views/pqs/harmonicMonitoring/monitoringPoint/online/statisticalReport/index.vue +++ b/src/views/pqs/harmonicMonitoring/monitoringPoint/online/statisticalReport/index.vue @@ -86,7 +86,7 @@ const tableStore = new TableStore({ item.data[k.r][k.c].v ? (item.data[k.r][k.c] = k.v) : '' }) }) - console.log(tableStore.table.data) + setTimeout(() => { luckysheet.create({ container: 'luckysheet', @@ -126,7 +126,7 @@ const changetype = (val: any) => { reportForm.value = val.reportForm } const selectChange = () => { - console.log('🚀 ~ selectChange ~ tableStore.table.data.lnegth :', tableStore.table.data.length) + if (tableStore.table.data.length != 0) { setTimeout(() => { luckysheet && luckysheet?.resize() diff --git a/src/views/pqs/harmonicMonitoring/monitoringPoint/online/wentaishujufenxi/index1.vue b/src/views/pqs/harmonicMonitoring/monitoringPoint/online/wentaishujufenxi/index1.vue index ef0dfa7a..172c1afc 100644 --- a/src/views/pqs/harmonicMonitoring/monitoringPoint/online/wentaishujufenxi/index1.vue +++ b/src/views/pqs/harmonicMonitoring/monitoringPoint/online/wentaishujufenxi/index1.vue @@ -1300,7 +1300,7 @@ const rendering = () => { getEcharts() } const getEcharts = () => { - console.log("🚀 ~ list.value.forEach ~ list.value:", list.value) + list.value.forEach((item: any, i: number) => { item.option = { diff --git a/src/views/pqs/harmonicMonitoring/monitoringPoint/online/wentaizhibiaohegelv/index.vue b/src/views/pqs/harmonicMonitoring/monitoringPoint/online/wentaizhibiaohegelv/index.vue index 0b656ef9..afae9758 100644 --- a/src/views/pqs/harmonicMonitoring/monitoringPoint/online/wentaizhibiaohegelv/index.vue +++ b/src/views/pqs/harmonicMonitoring/monitoringPoint/online/wentaizhibiaohegelv/index.vue @@ -231,7 +231,7 @@ const init = () => { }, backgroundColor: 'rgba(0,0,0,0.55)', formatter: function (params: any) { - console.log(params) + let msg = '' msg += params[0].name for (let i in params) { diff --git a/src/views/pqs/harmonicMonitoring/runManage/quantitativeStatistics/index2.vue b/src/views/pqs/harmonicMonitoring/runManage/quantitativeStatistics/index2.vue index a9049796..0921722e 100644 --- a/src/views/pqs/harmonicMonitoring/runManage/quantitativeStatistics/index2.vue +++ b/src/views/pqs/harmonicMonitoring/runManage/quantitativeStatistics/index2.vue @@ -1099,7 +1099,7 @@ const toColTreeData = (treeData: any[]) => { item.keys = parent ? parent.keys.concat([item.id]) : [item.id] if (!item.children || !item.children.length) { const row: any = {} - console.log("🚀 ~ item.keys.forEach ~ item:", item) + item.keys.forEach((key: any, index: number) => { const level = index + 1 @@ -1114,8 +1114,7 @@ const toColTreeData = (treeData: any[]) => { list.push(row) } }, options) - console.log("🚀 ~ toColTreeData ~ list:", list) - + tableData.value = list } diff --git a/src/views/pqs/panorama/components/line/history.vue b/src/views/pqs/panorama/components/line/history.vue index e0d78f7a..176f3171 100644 --- a/src/views/pqs/panorama/components/line/history.vue +++ b/src/views/pqs/panorama/components/line/history.vue @@ -1116,7 +1116,7 @@ const rendering = () => { } opitonserise.push(data) } else if (item.chufa !== undefined && item2 == '暂态触发点') { - console.log(123, new URL('@/assets/point.png', import.meta.url).href) + // console.log(123, new URL('@/assets/point.png', import.meta.url).href) let data = { name: item2, diff --git a/src/views/pqs/panorama/components/line/info.vue b/src/views/pqs/panorama/components/line/info.vue index a2672bc2..1f79b284 100644 --- a/src/views/pqs/panorama/components/line/info.vue +++ b/src/views/pqs/panorama/components/line/info.vue @@ -653,7 +653,7 @@ const echart = (row: any) => { data: [item.ratioList] }) }) - console.log("🚀 ~ echart ~ option:", option) + // console.log("🚀 ~ echart ~ option:", option) chart.setOption(option) } diff --git a/src/views/pqs/panorama/index1.vue b/src/views/pqs/panorama/index1.vue index c5b9a5ae..33080fac 100644 --- a/src/views/pqs/panorama/index1.vue +++ b/src/views/pqs/panorama/index1.vue @@ -56,7 +56,7 @@ const addMarkers= async()=>{ const mouseover = () => { - console.log(123); + } onMounted(() => { diff --git a/src/views/pqs/qualityInspeection/panorama/components/details/evaluate.vue b/src/views/pqs/qualityInspeection/panorama/components/details/evaluate.vue index c25c8bcd..34bc32b1 100644 --- a/src/views/pqs/qualityInspeection/panorama/components/details/evaluate.vue +++ b/src/views/pqs/qualityInspeection/panorama/components/details/evaluate.vue @@ -106,7 +106,7 @@ const loadingTab = ref(false) const PollutionList = dictData.getBasicData('Pollution_Calc').filter(item => item.name == '谐波电压') const open = async (row: any, list: any) => { - console.log('🚀 ~ open ~ list:', list) + // getAssessDetail(row).then(res => { tableData.value = list subdata.value = tableData.value[0]?.powerFlagPollutionList || [] diff --git a/src/views/pqs/qualityInspeection/panorama/components/details/point.vue b/src/views/pqs/qualityInspeection/panorama/components/details/point.vue index b59eda95..fb72b312 100644 --- a/src/views/pqs/qualityInspeection/panorama/components/details/point.vue +++ b/src/views/pqs/qualityInspeection/panorama/components/details/point.vue @@ -75,7 +75,7 @@ const picList: any = ref([]) const Voltage = dictData.getBasicData('Dev_Voltage_Stand') const tableData: any = ref([]) const options = dictData.getBasicData('Statistical_Type', ['Report_Type', 'Power_Network', 'JB_Power_Flag']) -console.log("🚀 ~ options:", options) + const time = ref('1') const statisticalType = ref('Load_Type') const loadTypeArr = dictData.getBasicData('Interference_Source') @@ -239,7 +239,7 @@ const handleClose = () => { dialogVisible.value = false } const echartClick = (params: any) => { - console.log('🚀 ~ echartClick ~ params:', params.name.split('(')[0]) + // console.log('🚀 ~ echartClick ~ params:', params.name.split('(')[0]) router.push({ name: 'Supervision/Terminaldetection', query: { diff --git a/src/views/pqs/qualityInspeection/panorama/components/details/propInfo.vue b/src/views/pqs/qualityInspeection/panorama/components/details/propInfo.vue index 96c18cf3..102e039a 100644 --- a/src/views/pqs/qualityInspeection/panorama/components/details/propInfo.vue +++ b/src/views/pqs/qualityInspeection/panorama/components/details/propInfo.vue @@ -114,7 +114,7 @@ function filterDataByKeyword(data, keyword) { } const currentChangeEvent = () => { // tableRef.value.getCurrentRecord() - console.log('🚀 ~ currentChangeEvent ~ tableRef.value.getCurrentRecord():', tableRef.value.getCurrentRecord()) + // console.log('🚀 ~ currentChangeEvent ~ tableRef.value.getCurrentRecord():', tableRef.value.getCurrentRecord()) let data = tableRef.value.getCurrentRecord() emit('flyTo', { coordinate: [data.lng, data.lat] }, 16) } diff --git a/src/views/pqs/qualityInspeection/panorama/components/details/stand.vue b/src/views/pqs/qualityInspeection/panorama/components/details/stand.vue index dc309bdd..dd24a0b0 100644 --- a/src/views/pqs/qualityInspeection/panorama/components/details/stand.vue +++ b/src/views/pqs/qualityInspeection/panorama/components/details/stand.vue @@ -278,7 +278,7 @@ const contaminateC = () => { num6: item[7] } }) - console.log(123, tableData.value) + let data = [] let a1 = tableData.value.reduce((t, item) => t + (item.num1 - 0 || 0), 0) diff --git a/src/views/pqs/qualityInspeection/panorama/components/line/history.vue b/src/views/pqs/qualityInspeection/panorama/components/line/history.vue index 1c55d79c..c9ad5617 100644 --- a/src/views/pqs/qualityInspeection/panorama/components/line/history.vue +++ b/src/views/pqs/qualityInspeection/panorama/components/line/history.vue @@ -1116,7 +1116,7 @@ const rendering = () => { } opitonserise.push(data) } else if (item.chufa !== undefined && item2 == '暂态触发点') { - console.log(123, new URL('@/assets/point.png', import.meta.url).href) + // console.log(123, new URL('@/assets/point.png', import.meta.url).href) let data = { name: item2, diff --git a/src/views/pqs/runManage/alarmCleaning/components/alarmDetails.vue b/src/views/pqs/runManage/alarmCleaning/components/alarmDetails.vue index 0d8eb37b..b606b51e 100644 --- a/src/views/pqs/runManage/alarmCleaning/components/alarmDetails.vue +++ b/src/views/pqs/runManage/alarmCleaning/components/alarmDetails.vue @@ -202,7 +202,7 @@ const change = () => { if (!targetList.value.some(item => item.key == targetKey.value) ) { targetKey.value = '' } - console.log('🚀 ~ change ~ targetList.value:', targetList.value) + // console.log('🚀 ~ change ~ targetList.value:', targetList.value) } // 核心去重逻辑 function deduplicateByKey(data) { diff --git a/src/views/pqs/runManage/assessment/components/dictionary/index.vue b/src/views/pqs/runManage/assessment/components/dictionary/index.vue index a534996a..ca808251 100644 --- a/src/views/pqs/runManage/assessment/components/dictionary/index.vue +++ b/src/views/pqs/runManage/assessment/components/dictionary/index.vue @@ -17,7 +17,7 @@ import load from './components/load/index.vue' const activeName = ref('1') const handleClick = (tab: TabsPaneContext, event: Event) => { - console.log(tab, event) + // console.log(tab, event) } diff --git a/src/views/pqs/runManage/runEvaluate/components/map.vue b/src/views/pqs/runManage/runEvaluate/components/map.vue index 4b9275aa..69431f3c 100644 --- a/src/views/pqs/runManage/runEvaluate/components/map.vue +++ b/src/views/pqs/runManage/runEvaluate/components/map.vue @@ -528,7 +528,7 @@ const DeviceQ = () => { // 定位 const flyTo = (e: any, zoom?: number) => { - console.log('🚀 ~ flyTo ~ e:', e) + // console.log('🚀 ~ flyTo ~ e:', e) let regex = new RegExp(e.psrName, 'i') center.value.lng = e.coordinate[0] center.value.lat = e.coordinate[1] @@ -548,14 +548,14 @@ const grids = (row: any) => { // 综合评估 getRunEvaluate({ ...row, deptIndex: props.params.deptIndex }).then((res: any) => { - console.log('🚀 ~ getRunEvaluate ~ res:', res) + // console.log('🚀 ~ getRunEvaluate ~ res:', res) AreaData.value = res.data GridDiagramArea() }) // if (powerManageGridMap.value) powerLoad() } const radiusPop = (k: any) => { - console.log('🚀 ~ radiusPop ~ k:', k) + // console.log('🚀 ~ radiusPop ~ k:', k) if (k != undefined) PopKey.value = k } const GridDiagramArea = () => { diff --git a/src/views/pqs/supervise/electricalEnergy/components/process1.vue b/src/views/pqs/supervise/electricalEnergy/components/process1.vue index 1deeeca4..be549cea 100644 --- a/src/views/pqs/supervise/electricalEnergy/components/process1.vue +++ b/src/views/pqs/supervise/electricalEnergy/components/process1.vue @@ -155,7 +155,7 @@ onMounted(() => { } }) const submit = (num: number) => { - console.log(prop.addData.problemSources) + //console.log(prop.addData.problemSources) form1Ref.value.validate(async (valid: any) => { if (valid) { diff --git a/src/views/pqs/supervise/electricalEnergy/components1/online.vue b/src/views/pqs/supervise/electricalEnergy/components1/online.vue index 4d87f964..69627990 100644 --- a/src/views/pqs/supervise/electricalEnergy/components1/online.vue +++ b/src/views/pqs/supervise/electricalEnergy/components1/online.vue @@ -403,7 +403,7 @@ const changeAlarm = e => { let flagList = exceeded.filter(item => item.name == '谐波电压' || item.name == '谐波电流').map(item => item.id) // 发起预警单 const launch = (title: string) => { - console.log('🚀 ~ flagList:', flagList) + // console.log('🚀 ~ flagList:', flagList) if (tableStore.table.selection.length == 0) { ElMessage.warning('请选择一条数据') @@ -420,7 +420,7 @@ const launch = (title: string) => { return } - console.log('🚀 ~ launch ~ list.value:', tableStore.table.selection) + // console.log('🚀 ~ launch ~ list.value:', tableStore.table.selection) alarmListRef.value.open({ text: title, diff --git a/src/views/pqs/supervise/interfere/components/normalizationManager/detail.vue b/src/views/pqs/supervise/interfere/components/normalizationManager/detail.vue index b48bb49a..e8b36895 100644 --- a/src/views/pqs/supervise/interfere/components/normalizationManager/detail.vue +++ b/src/views/pqs/supervise/interfere/components/normalizationManager/detail.vue @@ -432,7 +432,7 @@ const getInfo = async () => { try { userReportGoNetById({ id: props.id }).then(r => { getUserReportById(r.data.userReportId).then(res => { - console.log("🚀 ~ getInfo ~ res:", res) + // console.log("🚀 ~ getInfo ~ res:", res) detailData.value = res.data detailData.value.otherReport = r.data.otherReport detailData.value.simulationReport = r.data.simulationReport diff --git a/src/views/pqs/supervise/technology/components/earlyWarn.vue b/src/views/pqs/supervise/technology/components/earlyWarn.vue index 77651cd3..39bf3863 100644 --- a/src/views/pqs/supervise/technology/components/earlyWarn.vue +++ b/src/views/pqs/supervise/technology/components/earlyWarn.vue @@ -156,10 +156,8 @@ const tableStore = new TableStore({ // } // return true; }, - click: row => { // const match = row.filePath.match(/excelreport(\/[^?#]*)/) - // window.open(window.location.origin + '/#/previewFile?' + match[1]) window.open(window.location.origin + '/#/previewFile?/' + row.absFilePath) } @@ -174,16 +172,10 @@ const tableStore = new TableStore({ return row.problemType != 2 }, click: row => { - //window.open(row.filePath) // const match = row.filePath.match(/excelreport(\/[^?#]*)/) // const decodedPath = decodeURI(match[1]) // 解码URL中的中文字符 download('/' + row.absFilePath) - - //download('/supervision/微服务系统测试页面功能-20251224合并版本.docx') - - //download('/onlineReport/电能[预]2025年18号-张家口地市 电能质量技术监督预警单.docx') - } }, // { @@ -281,7 +273,6 @@ const tableStore = new TableStore({ ) } }, - { name: 'cancel', title: '取消', diff --git a/src/views/pqs/supervise_hn/harmonicSurvey/components/planAdd.vue b/src/views/pqs/supervise_hn/harmonicSurvey/components/planAdd.vue index 5e4b9066..e57711b6 100644 --- a/src/views/pqs/supervise_hn/harmonicSurvey/components/planAdd.vue +++ b/src/views/pqs/supervise_hn/harmonicSurvey/components/planAdd.vue @@ -191,7 +191,7 @@ const rules = ref({ // fileList: [{ required: true, message: '请上传文件', trigger: 'change' }], }) const changeSubstationFlag = () => { - console.log(form.value.customSubstationFlag) + //处理所属变电站手都输入1/下拉数据0 key.value += 1 if (form.value.customSubstationFlag == 0) { @@ -283,7 +283,6 @@ const changeArea = () => { treeList.value.forEach((item: any) => { if (item.id == form.value.deptId) { list.push(item) - } else { if (item.children.filter((v: any) => v.id == form.value.deptId).length == 0) { item.children.forEach((v: any) => { @@ -295,15 +294,10 @@ const changeArea = () => { // return k // } // })) - // })) - console.log("🚀 ~ list.push ~ list:", list) - - + // })) } else { list.push(item.children.filter((v: any) => v.id == form.value.deptId)[0]) } - - // if (form.value.deptId != treeListCgy.value[0].id) { // list.push(...treeListCgy.value) // } diff --git a/src/views/pqs/supervise_hn/interfere/components/undocumented/addForm.vue b/src/views/pqs/supervise_hn/interfere/components/undocumented/addForm.vue index 86daa43c..68ed1546 100644 --- a/src/views/pqs/supervise_hn/interfere/components/undocumented/addForm.vue +++ b/src/views/pqs/supervise_hn/interfere/components/undocumented/addForm.vue @@ -1328,7 +1328,6 @@ const filterUsers = (arr: any) => { userTypeList.value = userTypeList.value.filter(item => !arr.includes(item.value)) } const setcontroFlag = () => { - console.log(12333) controFlag.value = true } diff --git a/src/views/pqs/supervise_hn/interfere/components/undocumented/detail.vue b/src/views/pqs/supervise_hn/interfere/components/undocumented/detail.vue index a18e4658..cfb5078a 100644 --- a/src/views/pqs/supervise_hn/interfere/components/undocumented/detail.vue +++ b/src/views/pqs/supervise_hn/interfere/components/undocumented/detail.vue @@ -603,7 +603,7 @@ const preview = (val: any, url: any) => { } //预测评估报告 if (val == 'predictionEvaluationReport') { - console.log(url, '9999999') + predictionEvaluationReportRef?.value.open(url) } //预测评估评审意见报告 diff --git a/src/views/pqs/supervise_hn/plan/components/detail.vue b/src/views/pqs/supervise_hn/plan/components/detail.vue index 9fad057b..b3bf2f12 100644 --- a/src/views/pqs/supervise_hn/plan/components/detail.vue +++ b/src/views/pqs/supervise_hn/plan/components/detail.vue @@ -160,7 +160,7 @@ const { query } = useRoute() // 查询参数 const props = defineProps({ id: propTypes.string.def(undefined) }) -console.log(propTypes.string.def(undefined), '999999999999传参') + const detailLoading = ref(false) // 表单的加载中 const detailData = ref({}) // 详情数据 const queryId = query.id as unknown as string // 从 URL 传递过来的 id 编号 @@ -199,7 +199,7 @@ getEffectUserList() /** 获得数据 */ const getInfo = async () => { detailLoading.value = true - console.log(props.id, queryId, '流程详情内部的id') + try { await getPlanDetailsById({ id: props.id || queryId }).then(res => { detailData.value = res.data diff --git a/src/views/pqs/supervise_hn/technology/components/technology.vue b/src/views/pqs/supervise_hn/technology/components/technology.vue index ecefff60..5f43352f 100644 --- a/src/views/pqs/supervise_hn/technology/components/technology.vue +++ b/src/views/pqs/supervise_hn/technology/components/technology.vue @@ -117,7 +117,7 @@ const tableStore = new TableStore({ inactiveValue: '1', render: 'switch', onChangeField: (row: any, value) => { - console.log('🚀 ~ row:', 444123, value) + } }, diff --git a/src/views/pqs/supervise_hn/technology/feedbackPopup.vue b/src/views/pqs/supervise_hn/technology/feedbackPopup.vue index 6832bb3b..c641fa5d 100644 --- a/src/views/pqs/supervise_hn/technology/feedbackPopup.vue +++ b/src/views/pqs/supervise_hn/technology/feedbackPopup.vue @@ -152,7 +152,7 @@ const open = async ( } if (supervisionReport) { let arrPath = supervisionReport.split(',') - console.log('🚀 ~ arrPath:', arrPath) + await getFileNameAndFilePath({ filePath: arrPath[0] }).then(res => { supervisionReportDetail.supervisionReportPath = res.data.url supervisionReportDetail.supervisionReportName = res.data.fileName diff --git a/src/views/pqs/supervise_hn/terminal/components/detail.vue b/src/views/pqs/supervise_hn/terminal/components/detail.vue index 9f13f55d..34d5607a 100644 --- a/src/views/pqs/supervise_hn/terminal/components/detail.vue +++ b/src/views/pqs/supervise_hn/terminal/components/detail.vue @@ -602,7 +602,7 @@ const preview = (val: any, url: any) => { } //预测评估报告 if (val == 'predictionEvaluationReport') { - console.log(url, '9999999') + predictionEvaluationReportRef?.value.open(url) } //预测评估评审意见报告 diff --git a/src/views/pqs/supervise_hn/terminalNetworkDetection/components/terminainal/addForm.vue b/src/views/pqs/supervise_hn/terminalNetworkDetection/components/terminainal/addForm.vue index 0f58ff40..09e4bdb8 100644 --- a/src/views/pqs/supervise_hn/terminalNetworkDetection/components/terminainal/addForm.vue +++ b/src/views/pqs/supervise_hn/terminalNetworkDetection/components/terminainal/addForm.vue @@ -455,7 +455,7 @@ const terminalModelList = [ const substationList: any = ref([]) //字典获取通讯类型 const frontTypeList = dictData.getBasicData('Front_Type', ['CLD', '61850']) -console.log('🚀 ~ frontTypeList:', frontTypeList) + //定义通讯状态下拉框数据 const communicationStatusList = [ { diff --git a/src/views/pqs/supervise_hn/testRun/components/detail.vue b/src/views/pqs/supervise_hn/testRun/components/detail.vue index 7fdc2d98..958076e3 100644 --- a/src/views/pqs/supervise_hn/testRun/components/detail.vue +++ b/src/views/pqs/supervise_hn/testRun/components/detail.vue @@ -63,7 +63,7 @@ const getInfo = async () => { getFileNameAndFilePath({ filePath: res.data.testRunReport }).then(report => { detailData.value.reportUrl = report.data.url detailData.value.reportName = report.data.fileName - console.log('🚀 ~ getFileNameAndFilePath ~ detailData.value:', detailData.value) + // console.log('🚀 ~ getFileNameAndFilePath ~ detailData.value:', detailData.value) }) } }) diff --git a/src/views/pqs/supervise_hn/testRun/testRun.vue b/src/views/pqs/supervise_hn/testRun/testRun.vue index 9c4582a0..d0a69979 100644 --- a/src/views/pqs/supervise_hn/testRun/testRun.vue +++ b/src/views/pqs/supervise_hn/testRun/testRun.vue @@ -376,7 +376,6 @@ const startRunTest = () => { // 下载报告 const downloadTheReport = (url: string) => { getFileNameAndFilePath({ filePath: url }).then((res: any) => { - console.log(res.data.url, 'res') const link = document.createElement('a') link.href = res.data.url link.download = res.data.name diff --git a/src/views/pqs/voltageSags/Region/transientList/index.vue b/src/views/pqs/voltageSags/Region/transientList/index.vue index 6efc3991..20d16def 100644 --- a/src/views/pqs/voltageSags/Region/transientList/index.vue +++ b/src/views/pqs/voltageSags/Region/transientList/index.vue @@ -9,8 +9,8 @@ 离线 - - + + { }