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 +