| | |
| | | // 获取传递过来的项目计划详情 |
| | | getPlanRecordData() { |
| | | // 从查询参数中获取数据 |
| | | this.projectInfoData = this.$route.query.projectInfoData |
| | | this.planInfoData.id = this.$route.query.id; |
| | | this.planInfoData.projectName = this.$route.query.projectName; |
| | | this.planInfoData.projectCode = this.$route.query.projectCode; |
| | | this.planInfoData.planTime = this.$route.query.planTime; |
| | | this.planInfoData.planTimeFlag = this.$route.query.planTimeFlag; |
| | | this.planInfoData.managerFlag = this.$route.query.managerFlag; |
| | | this.projectInfoData = JSON.parse(this.$route.query.projectInfoData) |
| | | this.planInfoData = JSON.parse(this.$route.query.data) |
| | | this.search(); |
| | | }, |
| | | // 获取项目计划项 |
| | |
| | | this.tableData[index].startTime = ''; |
| | | this.tableData[index].endTime = ''; |
| | | }, |
| | | /** 返回项目计划记录 */ |
| | | handlePlanRecord() { |
| | | this.$router.replace({ |
| | | path: '/projectManage/planRecord', |
| | | query: { |
| | | data: this.projectInfoData |
| | | } |
| | | }) |
| | | } |
| | | }, |
| | | created() { |
| | | this.getPlanRecordData(); |