From f93241de6caf7ee30d4f8cd7360cdbe2017a4790 Mon Sep 17 00:00:00 2001
From: zhc077 <565291854@qq.com>
Date: Wed, 6 Nov 2024 16:18:28 +0800
Subject: [PATCH] =?UTF-8?q?=E9=A1=B9=E7=9B=AE=E6=8F=90=E4=BA=A4=E3=80=81?=
=?UTF-8?q?=E5=AE=A1=E6=A0=B8=E6=B5=81=E7=A8=8B=E3=80=81=E5=AE=A1=E6=A0=B8?=
=?UTF-8?q?=E6=97=A5=E5=BF=97=20=E5=8A=9F=E8=83=BD=E6=B7=BB=E5=8A=A0=2011.?=
=?UTF-8?q?6?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../project/ProjectList.vue | 20 +-
.../src/views/projectLog/ProjectLog.data.ts | 12 +-
.../views/projectLog/ProjectLogBasicModal.vue | 218 +++++++++++++++---
.../src/views/projectLog/ProjectLogList.vue | 23 +-
4 files changed, 208 insertions(+), 65 deletions(-)
diff --git a/jeecgboot-vue3/src/views/projectApplication/project/ProjectList.vue b/jeecgboot-vue3/src/views/projectApplication/project/ProjectList.vue
index 9d569c4..5d978bb 100644
--- a/jeecgboot-vue3/src/views/projectApplication/project/ProjectList.vue
+++ b/jeecgboot-vue3/src/views/projectApplication/project/ProjectList.vue
@@ -42,21 +42,9 @@
-
+
+
diff --git a/jeecgboot-vue3/src/views/projectLog/ProjectLogList.vue b/jeecgboot-vue3/src/views/projectLog/ProjectLogList.vue
index 4f716d7..71e5049 100644
--- a/jeecgboot-vue3/src/views/projectLog/ProjectLogList.vue
+++ b/jeecgboot-vue3/src/views/projectLog/ProjectLogList.vue
@@ -3,7 +3,7 @@
-
+
+ <!– 高级查询 –>
-
+ <!–操作栏–>
-
+ <!–字段回显插槽–>
-
+ -->
@@ -46,16 +46,25 @@
import {list, deleteOne, batchDelete, getImportUrl,getExportUrl} from './ProjectLog.api';
import { downloadFile } from '/@/utils/common/renderUtils';
import { useUserStore } from '/@/store/modules/user';
+ import {useRoute} from "vue-router";
+ import {defHttp} from "@/utils/http/axios";
const queryParam = reactive({});
const checkedKeys = ref>([]);
const userStore = useUserStore();
//注册model
const [registerModal, {openModal}] = useModal();
+
+ const route = useRoute();
+ const listByProjectId = () =>{
+ // console.log("projectId",props.projectId)
+ let params = {projectId: route.query.id}
+ return defHttp.get({url: '/projectLog/projectLog/list', params});
+ }
//注册table数据
const { prefixCls,tableContext,onExportXls,onImportXls } = useListPage({
tableProps:{
title: '项目操作日志',
- api: list,
+ api: listByProjectId,
columns,
canResize:false,
formConfig: {
@@ -187,4 +196,4 @@
:deep(.ant-picker),:deep(.ant-input-number){
width: 100%;
}
-
\ No newline at end of file
+