| | |
| | | <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;">返回</el-button> |
| | | <!--项目计划项--> |
| | | <el-table :data="tableData" border stripe style="width: 100%; margin-bottom: 20px"> |
| | | <el-table-column prop="index" label="序号" width="50" align="center"> |
| | |
| | | // 获取传递过来的项目计划详情 |
| | | getPlanRecordData() { |
| | | // 从查询参数中获取数据 |
| | | if (this.$route.query.data) { |
| | | this.planRecordData = JSON.parse(this.$route.query.data) |
| | | } |
| | | this.planRecordData = this.$route.query.data |
| | | this.planInfoData = this.$route.query.planInfoData |
| | | this.search(); |
| | | }, |
| | |
| | | this.tableData[index].startTime = ''; |
| | | this.tableData[index].endTime = ''; |
| | | }, |
| | | /** 返回项目计划记录页面 */ |
| | | handlePlanRecord(planInfoData) { |
| | | /** 返回项目计划记录 */ |
| | | handlePlanRecord() { |
| | | this.$router.push({ |
| | | name: '/projectManage/planRecord', |
| | | path: '/projectManage/planRecord', |
| | | query: { |
| | | data: JSON.stringify(planInfoData) |
| | | data: this.planRecordData |
| | | } |
| | | }) |
| | | }, |
| | | } |
| | | }, |
| | | created() { |
| | | this.getPlanRecordData(); |