From 4877550f7b74038606c4d70cfa3b07fceda685e1 Mon Sep 17 00:00:00 2001 From: renxiangke Date: Mon, 27 Jul 2026 17:29:07 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E6=8F=90=E5=87=BA=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/yxcj/index.vue | 55 +++++++++++++++----------- src/pages/yxcj/monitOrAnalog/index.vue | 2 +- src/pages/yxcj/univarBan/index.vue | 6 ++- 3 files changed, 39 insertions(+), 24 deletions(-) diff --git a/src/pages/yxcj/index.vue b/src/pages/yxcj/index.vue index c64f3442..d07d0b95 100644 --- a/src/pages/yxcj/index.vue +++ b/src/pages/yxcj/index.vue @@ -271,7 +271,7 @@ function listUpload() { const columns = ref([ { prop: 'taskName', label: '任务名称', type: 'text' }, // width: 180 - { prop: 'taskStatus', label: '任务状态', type: 'select', colorArr: ['#f42a2a', '#f42a2a', '#ffcb40', '#ffcb40', '#2af442', '#f42a2a'], width: 90 }, + { prop: 'taskStatus', label: '任务状态', type: 'select', colorArr: ['#8C8C8C', '#FAAD14', '#1677FF', '#52C41A', '#F5222D', '#fff'], width: 90 }, { prop: 'releaseType', label: '释放类型', type: 'select', width: 90 }, { prop: 'releaseSourceLocation', label: '释放源位置', type: 'select', width: 100 }, { prop: 'timeRange', label: '数据时间范围', type: 'text', width: 200 }, @@ -284,7 +284,7 @@ const taskFlag = ref(''); function handleTaskStatusChange(value: number) { console.log('选择的任务状态:', value); queryForm.value.taskStatus = value; - getList(); // 刷新列表 + // getList(); // 刷新列表 } function addTask(): void { taskFlag.value = 'add'; @@ -907,7 +907,7 @@ onMounted(() => { @close="viewDetailVisible = false" > - {{ t('upload') }}abc + {{ t('upload') }} { - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -1338,6 +1338,17 @@ onMounted(() => { margin: 16px 0; // flex:0.5; } + + display: flex; + flex-wrap: wrap; + justify-content: space-between; + padding: 0 3%; + + ::v-deep .el-form-item__content{ + .el-input{ + width: 100%; + } + } } } :deep(.el-dialog__footer) { diff --git a/src/pages/yxcj/monitOrAnalog/index.vue b/src/pages/yxcj/monitOrAnalog/index.vue index e45df67e..b9d7d514 100644 --- a/src/pages/yxcj/monitOrAnalog/index.vue +++ b/src/pages/yxcj/monitOrAnalog/index.vue @@ -171,7 +171,7 @@ defineExpose({ function getData() { // 观测值和模拟值的活度浓度比较结果数据 // taskId: props.taskId - getAcTimeSeries({ taskId: 8 }, (responce: any) => { + getAcTimeSeries({ taskId: props.taskId}, (responce: any) => { const resuit = responce.result; let maxValue = 0; let minValue = 0; diff --git a/src/pages/yxcj/univarBan/index.vue b/src/pages/yxcj/univarBan/index.vue index 4a5cb253..46181395 100644 --- a/src/pages/yxcj/univarBan/index.vue +++ b/src/pages/yxcj/univarBan/index.vue @@ -6,6 +6,10 @@ import { ref } from 'vue'; import { useECharts } from '@/hooks/useECharts'; import { exportUnivariateTxt, getUnivariate } from '@/utils/axios/yxcj'; +const props = defineProps({ + taskId: Number, +}); + const diskCardRef = ref(); function setLonData(data: any) { const histogramData = data?.histogramChartBarDataList.map((item: { xleftVal: any; yvalue: any; xrightVal: any }) => { @@ -651,7 +655,7 @@ function setStartData(data) { } const resFlag = ref(false); function getData() { - getUnivariate({ taskId: 8 }, (res) => { + getUnivariate({ taskId: props.taskId }, (res) => { // console.log(res, 'res'); const { lonChartStru, latChartStru, log10_QChartStru, stopChartStru, startChartStru } = res.result; setLonData(lonChartStru);