|
@@ -1,7 +1,7 @@
|
|
|
<template>
|
|
|
<div v-loading="loading" class="box">
|
|
|
<el-button type="primary" size="small" class="returnBtn" @click="retrunA()">返回</el-button>
|
|
|
- <div v-if="cPan == 2" class="noneClass">项目数据不完善,无法显示数据,请前去完善</div>
|
|
|
+ <!-- <div v-if="cPan == 2" class="noneClass">项目数据不完善,无法显示数据,请前去完善</div> -->
|
|
|
<div class="proMan" v-if="cPan == 1">
|
|
|
<div class="title"><img src="../../../assets/icon/task.png" alt />任务进展甘特图</div>
|
|
|
<ganChart :Json="unitJson"></ganChart>
|
|
@@ -54,27 +54,27 @@ export default {
|
|
|
j < this.unitJson[i].chapterInfo[0].taskJson.length;
|
|
|
j++
|
|
|
) {
|
|
|
- if (
|
|
|
- !this.unitJson[i].chapterInfo[0].taskJson[j].task
|
|
|
- ) {
|
|
|
- // this.$message.error("请填写任务名称");
|
|
|
- this.cPan = 2
|
|
|
- break;
|
|
|
- }
|
|
|
- if (
|
|
|
- !this.unitJson[i].chapterInfo[0].taskJson[j].people
|
|
|
- ) {
|
|
|
- // this.$message.error("请填写负责人");
|
|
|
- this.cPan = 2
|
|
|
- break;
|
|
|
- }
|
|
|
- if (
|
|
|
- !this.unitJson[i].chapterInfo[0].taskJson[j].time
|
|
|
- ) {
|
|
|
- // this.$message.error("请填写任务完成时间");
|
|
|
- this.cPan = 2
|
|
|
- break;
|
|
|
- }
|
|
|
+ // if (
|
|
|
+ // !this.unitJson[i].chapterInfo[0].taskJson[j].task
|
|
|
+ // ) {
|
|
|
+ // // this.$message.error("请填写任务名称");
|
|
|
+ // this.cPan = 2
|
|
|
+ // break;
|
|
|
+ // }
|
|
|
+ // if (
|
|
|
+ // !this.unitJson[i].chapterInfo[0].taskJson[j].people
|
|
|
+ // ) {
|
|
|
+ // // this.$message.error("请填写负责人");
|
|
|
+ // this.cPan = 2
|
|
|
+ // break;
|
|
|
+ // }
|
|
|
+ // if (
|
|
|
+ // !this.unitJson[i].chapterInfo[0].taskJson[j].time
|
|
|
+ // ) {
|
|
|
+ // // this.$message.error("请填写任务完成时间");
|
|
|
+ // this.cPan = 2
|
|
|
+ // break;
|
|
|
+ // }
|
|
|
if (this.unitJson[i].chapterInfo[0].taskJson[j].eList) {
|
|
|
this.unitJson[i].chapterInfo[0].taskJson[j].eList = this.unitJson[
|
|
|
i
|