| | |
| | | v-model="progressReportData.actualStartTime" |
| | | type="date" |
| | | placeholder="选择日期" |
| | | value-format="yyyy-MM-dd HH:mm:ss" |
| | | size="small" |
| | | style="width: 130px" |
| | | :readonly="projectInfoData.managerFlag || dialogFlag !== 0"/> |
| | |
| | | v-model="progressReportData.actualEndTime" |
| | | type="date" |
| | | placeholder="选择日期" |
| | | value-format="yyyy-MM-dd HH:mm:ss" |
| | | size="small" |
| | | style="width: 130px" |
| | | :readonly="projectInfoData.managerFlag || dialogFlag !== 0"/> |
| | |
| | | accept: ['pdf','jpg','mp4'], |
| | | } |
| | | }, |
| | | created() { |
| | | this.getProjectInfoData() |
| | | }, |
| | | methods: { |
| | | search() { |
| | | this.getProjectProgressForm(this.projectInfoData.id); |
| | | this.getProgressInfoList(this.projectInfoData.id); |
| | | this.progressReportData = {}; |
| | | }, |
| | | // 获取传递过来的项目计划详情 |
| | | getProjectInfoData() { |
| | | // 从查询参数中获取数据 |
| | | this.projectInfoData = this.$route.query.data; |
| | | this.projectInfoData = JSON.parse(this.$route.query.data); |
| | | this.search(); |
| | | }, |
| | | getProjectProgressForm(id) { |
| | |
| | | // 回复 |
| | | handleReply() { |
| | | reply(this.progressReportData).then(res => { |
| | | // this.dialogFormVisible = false; |
| | | this.dialogFormVisible = false; |
| | | this.$message.success('回复成功'); |
| | | this.search(); |
| | | }) |
| | |
| | | this.dialogFormVisible = false; |
| | | this.isShowReplyBtn = true; |
| | | this.dialogFlag = 0; |
| | | this.progressReportData = {}; |
| | | }, |
| | | // 保存 |
| | | handleSave() { |
| | |
| | | }) |
| | | } |
| | | }, |
| | | created() { |
| | | this.getProjectInfoData() |
| | | }, |
| | | |
| | | }; |
| | | </script> |
| | | |