|
|
|
@ -579,7 +579,8 @@ export default {
|
|
|
|
async getDetail() {
|
|
|
|
async getDetail() {
|
|
|
|
const res = await show({ id: this.id });
|
|
|
|
const res = await show({ id: this.id });
|
|
|
|
for (var m of res.plan_link) {
|
|
|
|
for (var m of res.plan_link) {
|
|
|
|
m.label = m.plan ? m.plan.name : "无计划名称";
|
|
|
|
let plan = res.plans.find(i => i.id === m.plan_id);
|
|
|
|
|
|
|
|
m.label = plan ? plan.name : "无计划名称";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
this.$integrateData(this.form, res);
|
|
|
|
this.$integrateData(this.form, res);
|
|
|
|
this.fileList = res.files_detail.map(i => {
|
|
|
|
this.fileList = res.files_detail.map(i => {
|
|
|
|
|