明树Git Lab

Commit c247fd5e authored by zhanghan's avatar zhanghan

1

parent 4798c9ed
Pipeline #109905 passed with stage
in 20 seconds
......@@ -51,7 +51,11 @@ import { useRouter } from "vue-router";
import { ElMessage, ElMessageBox } from "element-plus";
import CommonTable from "@/components/common/commonTable.vue";
import SearchForm from "@/components/common/SearchForm.vue";
import { useProjectInfoStore } from "@/stores/projectInfo";
const { projectLzType } = defineProps({
projectLzType: [String, Number],
});
const handleSearch = (formData) => {
currentPage.value = 1;
......@@ -127,7 +131,14 @@ const getProjectData = (params = {}) => {
};
onMounted(() => {
if (!window.location.href.includes("xmdakDetaill")) {
useProjectInfoStore().clearProjectInfo();
getProjectData();
} else {
getProjectData({
projectId: useProjectInfoStore().getProjectInfo.projectId,
});
}
});
// 分页
const handleSizeChange = (size) => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment