luohairen
2024-12-11 ce20e86b57be436a42b65befe8e1da2283922030
src/views/projectManage/plan/planInfoCheck.vue
@@ -279,13 +279,8 @@
    // 获取传递过来的项目计划详情
    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();
    },
    // 获取项目计划项
@@ -345,15 +340,6 @@
      this.tableData[index].startTime = '';
      this.tableData[index].endTime = '';
    },
    /** 返回项目计划记录 */
    handlePlanRecord() {
      this.$router.replace({
        path: '/projectManage/planRecord',
        query: {
          data: this.projectInfoData
        }
      })
    }
  },
  created() {
    this.getPlanRecordData();