From 4440ec866c6ef5f9f68f9b6c4248ab3d2c6f3bb9 Mon Sep 17 00:00:00 2001
From: liuhongfeng <291117974@qq.com>
Date: Mon, 20 Nov 2023 23:32:54 +0800
Subject: [PATCH 1/3] =?UTF-8?q?=E3=80=90=E6=96=B0=E5=A2=9E=E3=80=91ureport?=
=?UTF-8?q?2=20=E9=9B=86=E6=88=90?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/report/ureport/index.ts | 39 ++++
src/views/report/ureport/UreportFileForm.vue | 113 ++++++++++
src/views/report/ureport/index.vue | 219 +++++++++++++++++++
3 files changed, 371 insertions(+)
create mode 100644 src/api/report/ureport/index.ts
create mode 100644 src/views/report/ureport/UreportFileForm.vue
create mode 100644 src/views/report/ureport/index.vue
diff --git a/src/api/report/ureport/index.ts b/src/api/report/ureport/index.ts
new file mode 100644
index 00000000..c11ce960
--- /dev/null
+++ b/src/api/report/ureport/index.ts
@@ -0,0 +1,39 @@
+import request from '@/config/axios'
+
+export interface UreportFileVO {
+ id: number
+ fileName: string
+ status: number
+ fileContent: string
+ remark: string
+}
+
+// 查询Ureport2报表分页
+export const getUreportFilePage = async (params) => {
+ return await request.get({ url: `/report/ureport-file/page`, params })
+}
+
+// 查询Ureport2报表详情
+export const getUreportFile = async (id: number) => {
+ return await request.get({ url: `/report/ureport-file/get?id=` + id })
+}
+
+// 新增Ureport2报表
+export const createUreportFile = async (data: UreportFileVO) => {
+ return await request.post({ url: `/report/ureport-file/create`, data })
+}
+
+// 修改Ureport2报表
+export const updateUreportFile = async (data: UreportFileVO) => {
+ return await request.put({ url: `/report/ureport-file/update`, data })
+}
+
+// 删除Ureport2报表
+export const deleteUreportFile = async (id: number) => {
+ return await request.delete({ url: `/report/ureport-file/delete?id=` + id })
+}
+
+// 导出Ureport2报表 Excel
+export const exportUreportFile = async (params) => {
+ return await request.download({ url: `/report/ureport-file/export-excel`, params })
+}
\ No newline at end of file
diff --git a/src/views/report/ureport/UreportFileForm.vue b/src/views/report/ureport/UreportFileForm.vue
new file mode 100644
index 00000000..7d71055c
--- /dev/null
+++ b/src/views/report/ureport/UreportFileForm.vue
@@ -0,0 +1,113 @@
+
+
+
+
\ No newline at end of file
diff --git a/src/views/report/ureport/index.vue b/src/views/report/ureport/index.vue
new file mode 100644
index 00000000..ef4986dc
--- /dev/null
+++ b/src/views/report/ureport/index.vue
@@ -0,0 +1,219 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 搜索
+ 重置
+
+ 新增
+
+
+ 导出
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 编辑
+
+
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
From aceac6daaea05cb9821e1d210e9e17e4a7e8df0f Mon Sep 17 00:00:00 2001
From: liuhongfeng <291117974@qq.com>
Date: Wed, 22 Nov 2023 22:09:48 +0800
Subject: [PATCH 2/3] =?UTF-8?q?=E3=80=90=E4=BF=AE=E6=94=B9=E3=80=91ureport?=
=?UTF-8?q?2=20=E9=9B=86=E6=88=90?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/report/ureport/index.vue | 220 +---------------------------
src/views/report/ureport/index2.vue | 219 +++++++++++++++++++++++++++
2 files changed, 226 insertions(+), 213 deletions(-)
create mode 100644 src/views/report/ureport/index2.vue
diff --git a/src/views/report/ureport/index.vue b/src/views/report/ureport/index.vue
index ef4986dc..8279ae99 100644
--- a/src/views/report/ureport/index.vue
+++ b/src/views/report/ureport/index.vue
@@ -1,219 +1,13 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 搜索
- 重置
-
- 新增
-
-
- 导出
-
-
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 编辑
-
-
- 删除
-
-
-
-
-
-
-
-
-
-
+
\ No newline at end of file
+const BASE_URL = import.meta.env.VITE_BASE_URL
+const src = ref(BASE_URL + '/ureport/designer?token=' + getAccessToken())
+
diff --git a/src/views/report/ureport/index2.vue b/src/views/report/ureport/index2.vue
new file mode 100644
index 00000000..ef4986dc
--- /dev/null
+++ b/src/views/report/ureport/index2.vue
@@ -0,0 +1,219 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 搜索
+ 重置
+
+ 新增
+
+
+ 导出
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 编辑
+
+
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
From 0b9cf35b17e17eb2aa283bd1f8ebfd059497e96d Mon Sep 17 00:00:00 2001
From: liuhongfeng <291117974@qq.com>
Date: Sun, 3 Dec 2023 17:00:00 +0800
Subject: [PATCH 3/3] =?UTF-8?q?=E3=80=90=E4=BF=AE=E6=94=B9=E3=80=91ureport?=
=?UTF-8?q?2=20=E9=9B=86=E6=88=90?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/report/ureport/index.ts | 78 +++++++++----------
...reportFileForm.vue => UReportDataForm.vue} | 28 +++----
src/views/report/ureport/index.vue | 2 +-
src/views/report/ureport/index2.vue | 33 ++++----
4 files changed, 71 insertions(+), 70 deletions(-)
rename src/views/report/ureport/{UreportFileForm.vue => UReportDataForm.vue} (78%)
diff --git a/src/api/report/ureport/index.ts b/src/api/report/ureport/index.ts
index c11ce960..2a9daea4 100644
--- a/src/api/report/ureport/index.ts
+++ b/src/api/report/ureport/index.ts
@@ -1,39 +1,39 @@
-import request from '@/config/axios'
-
-export interface UreportFileVO {
- id: number
- fileName: string
- status: number
- fileContent: string
- remark: string
-}
-
-// 查询Ureport2报表分页
-export const getUreportFilePage = async (params) => {
- return await request.get({ url: `/report/ureport-file/page`, params })
-}
-
-// 查询Ureport2报表详情
-export const getUreportFile = async (id: number) => {
- return await request.get({ url: `/report/ureport-file/get?id=` + id })
-}
-
-// 新增Ureport2报表
-export const createUreportFile = async (data: UreportFileVO) => {
- return await request.post({ url: `/report/ureport-file/create`, data })
-}
-
-// 修改Ureport2报表
-export const updateUreportFile = async (data: UreportFileVO) => {
- return await request.put({ url: `/report/ureport-file/update`, data })
-}
-
-// 删除Ureport2报表
-export const deleteUreportFile = async (id: number) => {
- return await request.delete({ url: `/report/ureport-file/delete?id=` + id })
-}
-
-// 导出Ureport2报表 Excel
-export const exportUreportFile = async (params) => {
- return await request.download({ url: `/report/ureport-file/export-excel`, params })
-}
\ No newline at end of file
+import request from '@/config/axios'
+
+export interface UReportDataVO {
+ id: number
+ name: string
+ status: number
+ content: string
+ remark: string
+}
+
+// 查询Ureport2报表分页
+export const getUReportDataPage = async (params) => {
+ return await request.get({ url: `/report/ureport-data/page`, params })
+}
+
+// 查询Ureport2报表详情
+export const getUReportData = async (id: number) => {
+ return await request.get({ url: `/report/ureport-data/get?id=` + id })
+}
+
+// 新增Ureport2报表
+export const createUReportData = async (data: UReportDataVO) => {
+ return await request.post({ url: `/report/ureport-data/create`, data })
+}
+
+// 修改Ureport2报表
+export const updateUReportData = async (data: UReportDataVO) => {
+ return await request.put({ url: `/report/ureport-data/update`, data })
+}
+
+// 删除Ureport2报表
+export const deleteUReportData = async (id: number) => {
+ return await request.delete({ url: `/report/ureport-data/delete?id=` + id })
+}
+
+// 导出Ureport2报表 Excel
+export const exportUReportData = async (params) => {
+ return await request.download({ url: `/report/ureport-data/export-excel`, params })
+}
diff --git a/src/views/report/ureport/UreportFileForm.vue b/src/views/report/ureport/UReportDataForm.vue
similarity index 78%
rename from src/views/report/ureport/UreportFileForm.vue
rename to src/views/report/ureport/UReportDataForm.vue
index 7d71055c..0711f3c5 100644
--- a/src/views/report/ureport/UreportFileForm.vue
+++ b/src/views/report/ureport/UReportDataForm.vue
@@ -7,8 +7,8 @@
label-width="100px"
v-loading="formLoading"
>
-
-
+
+
@@ -20,8 +20,8 @@
/>
-
-
+
+
@@ -35,7 +35,7 @@
\ No newline at end of file
+