|
@@ -165,6 +165,7 @@ export default {
|
|
watch: {
|
|
watch: {
|
|
taskIds: {
|
|
taskIds: {
|
|
handler(newV) {
|
|
handler(newV) {
|
|
|
|
+ console.log(newV, '任务IDs')
|
|
if (newV) {
|
|
if (newV) {
|
|
this.$nextTick(() => {
|
|
this.$nextTick(() => {
|
|
this.taskId = _.cloneDeep(newV)
|
|
this.taskId = _.cloneDeep(newV)
|
|
@@ -179,7 +180,7 @@ export default {
|
|
},
|
|
},
|
|
templateId: {
|
|
templateId: {
|
|
handler(newV) {
|
|
handler(newV) {
|
|
- console.log(newV, '你恐惧烦恼的你')
|
|
|
|
|
|
+ console.log(newV, '准出报告')
|
|
if (newV.name === '新建模版' || newV.name === '编辑模版') { // 新建、编辑模版
|
|
if (newV.name === '新建模版' || newV.name === '编辑模版') { // 新建、编辑模版
|
|
this.releaseType = true
|
|
this.releaseType = true
|
|
this.from = { ...this.from, ...newV.from }
|
|
this.from = { ...this.from, ...newV.from }
|
|
@@ -191,8 +192,8 @@ export default {
|
|
this.reportId = newV.id
|
|
this.reportId = newV.id
|
|
this.reportreleaseGetReportById(newV.id)
|
|
this.reportreleaseGetReportById(newV.id)
|
|
} else { // 新建
|
|
} else { // 新建
|
|
|
|
+ console.log(newV, '准出报告1')
|
|
this.tpsltId = newV
|
|
this.tpsltId = newV
|
|
- // this.reportreleaseInitReportRelease(newV)
|
|
|
|
this.settingGetReportModuleById(newV)
|
|
this.settingGetReportModuleById(newV)
|
|
}
|
|
}
|
|
},
|
|
},
|
|
@@ -225,9 +226,6 @@ export default {
|
|
setDefaultData(dav) {
|
|
setDefaultData(dav) {
|
|
const from = dav
|
|
const from = dav
|
|
this.from = { ...this.from, ...dav, 'taskIds': from.taskId }
|
|
this.from = { ...this.from, ...dav, 'taskIds': from.taskId }
|
|
- // console.log( from.customFields, '编辑')
|
|
|
|
- // this.customList = from.customFields
|
|
|
|
- console.log(dav, '编辑')
|
|
|
|
if (from.devPlanTimeStart) {
|
|
if (from.devPlanTimeStart) {
|
|
this.$set(this.from, 'devPlanTimeStart', [from.devPlanTimeStart, from.devPlanTimeEnd]) // 计划开发开始时间-计划开发结束时间
|
|
this.$set(this.from, 'devPlanTimeStart', [from.devPlanTimeStart, from.devPlanTimeEnd]) // 计划开发开始时间-计划开发结束时间
|
|
}
|
|
}
|
|
@@ -253,9 +251,9 @@ export default {
|
|
} else {
|
|
} else {
|
|
this.customList = [...this.customList]
|
|
this.customList = [...this.customList]
|
|
}
|
|
}
|
|
- // this.from = res.data
|
|
|
|
this.modelID = res.data.id
|
|
this.modelID = res.data.id
|
|
this.from = { ...this.from, ...res.data, 'moduleName': res.data.moduleName, 'passStatus': 0 }
|
|
this.from = { ...this.from, ...res.data, 'moduleName': res.data.moduleName, 'passStatus': 0 }
|
|
|
|
+ console.log(this.from, 'xinjian')
|
|
}
|
|
}
|
|
},
|
|
},
|
|
|
|
|