From acf78f6ef785df7f5fa15d1ee0fc62c0bbbe74f6 Mon Sep 17 00:00:00 2001 From: luohairen <3399054449@qq.com> Date: 星期五, 29 十一月 2024 02:37:42 +0800 Subject: [PATCH] 项目计划审批 --- src/views/projectManage/progress/progressRecord.vue | 20 ++++++++++---------- 1 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/views/projectManage/progress/progressRecord.vue b/src/views/projectManage/progress/progressRecord.vue index bd35447..566a7e9 100644 --- a/src/views/projectManage/progress/progressRecord.vue +++ b/src/views/projectManage/progress/progressRecord.vue @@ -1,8 +1,8 @@ <template> <div class="app-container"> <el-container> - <el-header v-show="planRecordData && planRecordData.projectName" class="header-title">椤圭洰鍚嶇О锛歿{ planRecordData.projectName }}</el-header> - <h4 v-show="planRecordData && planRecordData.projectCode" style="text-align: center">椤圭洰浠g爜锛歿{ planRecordData.projectCode }}</h4> + <el-header v-show="projectInfoData && projectInfoData.projectName" class="header-title">椤圭洰鍚嶇О锛歿{ projectInfoData.projectName }}</el-header> + <h4 v-show="projectInfoData && projectInfoData.projectCode" style="text-align: center">椤圭洰浠g爜锛歿{ projectInfoData.projectCode }}</h4> <el-main> <el-card shadow="hover"> <el-row :gutter="20"> @@ -180,7 +180,7 @@ import progressRecord from "./progressRecord.vue"; export default { - name: "progressRecord", + name: "ProgressRecord", computed: { progressRecord() { return progressRecord @@ -189,7 +189,7 @@ data() { return { // 鎺ユ敹浼犻�掕繃鏉ョ殑椤圭洰璁″垝鏁版嵁 - planRecordData: {}, + projectInfoData: {}, monthProgress: [], seasonProgress: [], yearProgress: [], @@ -215,15 +215,15 @@ }, methods: { search() { - this.getPlanRecordData() - this.getProjectProgressForm(this.planRecordData.id); + this.getProjectInfoData() + this.getProjectProgressForm(this.projectInfoData.id); }, // 鑾峰彇浼犻�掕繃鏉ョ殑椤圭洰璁″垝璇︽儏 - getPlanRecordData() { + getProjectInfoData() { // 浠庢煡璇㈠弬鏁颁腑鑾峰彇鏁版嵁 if (this.$route.query.data) { - this.planRecordData = JSON.parse(this.$route.query.data); - this.getProgressInfoList(this.planRecordData.id); + this.projectInfoData = JSON.parse(this.$route.query.data); + this.getProgressInfoList(this.projectInfoData.id); } }, getProjectProgressForm(id) { @@ -269,7 +269,7 @@ }, // 淇濆瓨 handleSave() { - this.projectProgressForm.projectReportId = this.planRecordData.id; + this.projectProgressForm.projectReportId = this.projectInfoData.id; // 鍒ゆ柇鏂囦欢涓嶄负绌� saveProjectProgressFileLists(this.projectProgressForm).then(res => { this.$message.success('淇濆瓨鎴愬姛'); -- Gitblit v1.8.0