From 2c9999d20ae7e98cb1ac31ff5b4594ce4c49a9d6 Mon Sep 17 00:00:00 2001
From: luohairen <3399054449@qq.com>
Date: 星期四, 12 十二月 2024 17:24:24 +0800
Subject: [PATCH] 调整
---
src/views/projectManage/plan/planInfo.vue | 4 ++--
src/assets/styles/index.scss | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/assets/styles/index.scss b/src/assets/styles/index.scss
index 074c329..85f793c 100644
--- a/src/assets/styles/index.scss
+++ b/src/assets/styles/index.scss
@@ -139,7 +139,7 @@
//main-container鍏ㄥ眬鏍峰紡
.app-container {
padding: 20px;
- height: calc(100vh - 96px);
+ min-height: calc(100vh - 96px);
display: flex;
flex-direction: column;
box-sizing: border-box;
diff --git a/src/views/projectManage/plan/planInfo.vue b/src/views/projectManage/plan/planInfo.vue
index ca24a31..b8451ad 100644
--- a/src/views/projectManage/plan/planInfo.vue
+++ b/src/views/projectManage/plan/planInfo.vue
@@ -7,7 +7,6 @@
<el-card shadow="hover">
<el-row :gutter="20">
<el-col :span="24" class="mb-4">
- <el-button type="primary" size="small" @click="handlePlanRecord" style="float: right; margin-bottom: 10px; margin-left: 10px">杩斿洖</el-button>
<el-button type="primary" size="small" @click="handleAdd" style="float: right; margin-bottom: 10px">鏂板</el-button>
<el-table :data="tableData" border stripe style="width: 100%; margin-bottom: 20px">
<el-table-column prop="index" label="搴忓彿" width="50" align="center">
@@ -168,6 +167,7 @@
// 淇濆瓨褰撳墠琛屾暟鎹�
handleSave(index) {
this.tableData[index].projectPlanRecordId = this.projectInfoData.id;
+ console.log(this.tableData[index])
savePlanInfo(this.tableData[index], this.planInfoData.id).then(response => {
this.$message.success('淇濆瓨鎴愬姛');
});
@@ -177,7 +177,7 @@
this.$router.push({
path: '/projectManage/planRecord',
query: {
- data: this.projectInfoData
+ data: JSON.stringify(this.projectInfoData)
}
})
}
--
Gitblit v1.8.0