|
|
@@ -140,6 +140,7 @@ import endOfDay from 'date-fns/endOfDay';
|
|
|
export default {
|
|
|
name: 'ProgrammeSignList',
|
|
|
mixins: [pageableTable, delChild],
|
|
|
+ props: ['review'],
|
|
|
data() {
|
|
|
return {
|
|
|
multipleMode: false,
|
|
|
@@ -160,7 +161,8 @@ export default {
|
|
|
signForm: {},
|
|
|
addresses: [],
|
|
|
columnKeys: ['arrangeName', 'gradingOrganization', 'organization'],
|
|
|
- addressList: []
|
|
|
+ addressList: [],
|
|
|
+ online: true
|
|
|
};
|
|
|
},
|
|
|
created() {
|
|
|
@@ -185,7 +187,6 @@ export default {
|
|
|
value: item.id
|
|
|
});
|
|
|
});
|
|
|
- // this.form.performanceId = res.content[0].id;
|
|
|
this.form.performanceId = res.content[0].id;
|
|
|
this.performance = res.content[0];
|
|
|
this.getData();
|
|
|
@@ -356,6 +357,14 @@ export default {
|
|
|
this.performance = this.performances.find(item => {
|
|
|
return item.id == this.form.performanceId;
|
|
|
});
|
|
|
+ },
|
|
|
+ setPerformance(row) {
|
|
|
+ this.form.performanceId = row.id;
|
|
|
+ this.performance = row;
|
|
|
+ this.online = row.online;
|
|
|
+ if (this.review) {
|
|
|
+ this.online = this.reviewOnline;
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
};
|