diff --git a/src/views/airqualitycollection/index.vue b/src/views/airqualitycollection/index.vue index 1fd28be..0f06173 100644 --- a/src/views/airqualitycollection/index.vue +++ b/src/views/airqualitycollection/index.vue @@ -76,7 +76,7 @@ label="时间" align="center" prop="time" - width="220px" + width="200px" :cell-style="{ borderBottom: '1px solid #EBEEF5' }" :header-cell-style="{ borderBottom: '1px solid #EBEEF5', diff --git a/src/views/enterpriseinspections/detail.vue b/src/views/enterpriseinspections/detail.vue index 3a75377..ddeb521 100644 --- a/src/views/enterpriseinspections/detail.vue +++ b/src/views/enterpriseinspections/detail.vue @@ -12,7 +12,7 @@ text @click=" push({ - path: `/task/create`, + path: `/task/detail`, query: { id: detailData.taskId } }) " diff --git a/src/views/task/create.vue b/src/views/task/create.vue index a862978..0b17c76 100644 --- a/src/views/task/create.vue +++ b/src/views/task/create.vue @@ -312,8 +312,9 @@ const goBack = () => { const handleDeleteTask = async () => { + await message.delConfirm("是否确定删除任务!", "删除任务") try { - await message.delConfirm("是否确定删除任务!", "删除任务") + await TaskInfoApi.deleteTaskInfo(formData.value.id) } finally { message.success('操作成功') diff --git a/src/views/task/detail.vue b/src/views/task/detail.vue index 1aef0e8..a87a571 100644 --- a/src/views/task/detail.vue +++ b/src/views/task/detail.vue @@ -7,30 +7,30 @@