From f3b2ba4fffd62fed0752f065be8542fce7e304ca Mon Sep 17 00:00:00 2001
From: kun <1422840143@qq.com>
Date: Tue, 29 Aug 2023 18:14:14 +0800
Subject: [PATCH] =?UTF-8?q?fix:=20BUG=E4=BF=AE=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/enterprise/AIwarning/accessSituation/index.vue | 2 ++
.../enterprise/engineeringAcceptance/acceptancePlan/index.vue | 3 +++
src/views/enterprise/unmannedVideo/videoData/index.vue | 3 +++
src/views/goverment/AIwarning/accessSituation/index.vue | 1 +
.../goverment/engineeringAcceptance/acceptancePlan/index.vue | 1 -
src/views/project/AIwarning/accessSituation/index.vue | 2 ++
.../project/engineeringAcceptance/acceptancePlan/index.vue | 3 +++
src/views/project/unmannedVideo/videoData/index.vue | 3 +++
8 files changed, 17 insertions(+), 1 deletion(-)
diff --git a/src/views/enterprise/AIwarning/accessSituation/index.vue b/src/views/enterprise/AIwarning/accessSituation/index.vue
index ac19a9b..d79dedc 100644
--- a/src/views/enterprise/AIwarning/accessSituation/index.vue
+++ b/src/views/enterprise/AIwarning/accessSituation/index.vue
@@ -294,6 +294,7 @@ const onShowImg = (params: any) => {
// 页面的分页
const handleCurrentChange = async (page: number) => {
+ pageable.value.pageNo = page;
const res = await getAIQuestionPage({
pageNo: page,
pageSize: pageable.value.pageSize,
@@ -304,6 +305,7 @@ const handleCurrentChange = async (page: number) => {
};
const handleSizeChange = async (size: number) => {
+ pageable.value.pageSize = size;
const res = await getAIQuestionPage({
pageNo: pageable.value.pageNo,
pageSize: size,
diff --git a/src/views/enterprise/engineeringAcceptance/acceptancePlan/index.vue b/src/views/enterprise/engineeringAcceptance/acceptancePlan/index.vue
index 5190c8f..9df8bcd 100644
--- a/src/views/enterprise/engineeringAcceptance/acceptancePlan/index.vue
+++ b/src/views/enterprise/engineeringAcceptance/acceptancePlan/index.vue
@@ -370,6 +370,9 @@ const handleEditItem = async (index: number, row: any) => {
} else {
newTitle.value = "编辑验收计划";
planFormData.value = reactive({ ...row });
+ if (row.fileUrl) {
+ planFormData.value.fileUrl = JSON.parse(row.fileUrl);
+ }
fileList1.value = row.fileUrl ? [{ ...JSON.parse(row.fileUrl) }] : [];
}
planVisible.value = true;
diff --git a/src/views/enterprise/unmannedVideo/videoData/index.vue b/src/views/enterprise/unmannedVideo/videoData/index.vue
index bff5d28..acfe6ae 100644
--- a/src/views/enterprise/unmannedVideo/videoData/index.vue
+++ b/src/views/enterprise/unmannedVideo/videoData/index.vue
@@ -321,6 +321,9 @@ const handleEditItem = (index: number, row: any) => {
title.value = "编辑录像";
formData.value = { ...row };
console.log(formData.value);
+ if (row.videoUrl) {
+ formData.value.videoUrl = JSON.parse(row.videoUrl);
+ }
fileList.value = row.videoUrl ? [row.videoUrl] : [];
visible.value = true;
};
diff --git a/src/views/goverment/AIwarning/accessSituation/index.vue b/src/views/goverment/AIwarning/accessSituation/index.vue
index 9eb4b69..35de53c 100644
--- a/src/views/goverment/AIwarning/accessSituation/index.vue
+++ b/src/views/goverment/AIwarning/accessSituation/index.vue
@@ -292,6 +292,7 @@ const onShowImg = (params: any) => {
// 页面的分页
const handleCurrentChange = async (page: number) => {
+ pageable.value.pageNo = page;
const { result } = await getAIQuestionPage(
active.value === 0
? {
diff --git a/src/views/goverment/engineeringAcceptance/acceptancePlan/index.vue b/src/views/goverment/engineeringAcceptance/acceptancePlan/index.vue
index 5372da9..fd114fa 100644
--- a/src/views/goverment/engineeringAcceptance/acceptancePlan/index.vue
+++ b/src/views/goverment/engineeringAcceptance/acceptancePlan/index.vue
@@ -45,7 +45,6 @@
资料下载
-
{{ row.examineState === 1 ? "待审核" : row.examineState === 2 ? "审核驳回" : "审核通过" }}
diff --git a/src/views/project/AIwarning/accessSituation/index.vue b/src/views/project/AIwarning/accessSituation/index.vue
index fdb67e4..e5aa6a9 100644
--- a/src/views/project/AIwarning/accessSituation/index.vue
+++ b/src/views/project/AIwarning/accessSituation/index.vue
@@ -363,6 +363,7 @@ const handSearch = async () => {
// 页面的分页
const handleCurrentChange = async (page: number) => {
+ pages.value.pageNo = page;
const res = await getAIAlarmPage({
pageNo: page,
pageSize: pages.value.pageSize
@@ -372,6 +373,7 @@ const handleCurrentChange = async (page: number) => {
};
const handleSizeChange = async (size: number) => {
+ pages.value.pageSize = size;
const res = await getAIAlarmPage({
pageNo: pages.value.pageNo,
pageSize: size
diff --git a/src/views/project/engineeringAcceptance/acceptancePlan/index.vue b/src/views/project/engineeringAcceptance/acceptancePlan/index.vue
index 67812e6..2ac33df 100644
--- a/src/views/project/engineeringAcceptance/acceptancePlan/index.vue
+++ b/src/views/project/engineeringAcceptance/acceptancePlan/index.vue
@@ -377,6 +377,9 @@ const handleEditItem = async (index: number, row: any) => {
} else {
newTitle.value = "编辑验收计划";
planFormData.value = reactive({ ...row });
+ if (row.fileUrl) {
+ planFormData.value.fileUrl = JSON.parse(row.fileUrl);
+ }
fileList1.value = row.fileUrl ? [{ ...JSON.parse(row.fileUrl) }] : [];
}
planVisible.value = true;
diff --git a/src/views/project/unmannedVideo/videoData/index.vue b/src/views/project/unmannedVideo/videoData/index.vue
index 895690d..a043393 100644
--- a/src/views/project/unmannedVideo/videoData/index.vue
+++ b/src/views/project/unmannedVideo/videoData/index.vue
@@ -266,6 +266,9 @@ const handleEditItem = (index: number, row: any) => {
title.value = "编辑录像";
formData.value = { ...row };
console.log(formData.value);
+ if (row.videoUrl) {
+ formData.value.videoUrl = JSON.parse(row.videoUrl);
+ }
fileList.value = row.videoUrl ? [row.videoUrl] : [];
visible.value = true;
};