|
|
@@ -63,7 +63,7 @@
|
|
|
</el-table-column>
|
|
|
</c-table>
|
|
|
<el-dialog
|
|
|
- :visible.sync="isPreview"
|
|
|
+ :visible.sync="isPreviewing"
|
|
|
custom-class="c-preview schedule"
|
|
|
:before-close="onCloseScheduleDialog"
|
|
|
>
|
|
|
@@ -92,7 +92,7 @@ export default {
|
|
|
data () {
|
|
|
return {
|
|
|
options: createListOptions({ status: State.RESOLVED }),
|
|
|
- isPreview: false,
|
|
|
+ isPreviewing: false,
|
|
|
scheduleId: null
|
|
|
}
|
|
|
},
|
|
|
@@ -121,7 +121,7 @@ export default {
|
|
|
type: '排期',
|
|
|
target: {
|
|
|
type: PublishType.CALENDAR,
|
|
|
- id: programCalendarId
|
|
|
+ detail: programCalendarId
|
|
|
},
|
|
|
desc: endDateTime ? `${startDateTime} - ${endDateTime}` : `自${startDateTime}开始`
|
|
|
}
|
|
|
@@ -193,14 +193,13 @@ export default {
|
|
|
},
|
|
|
viewSchedule (id) {
|
|
|
this.scheduleId = id
|
|
|
- this.isPreview = true
|
|
|
+ this.isPreviewing = true
|
|
|
},
|
|
|
onCloseScheduleDialog () {
|
|
|
this.scheduleId = null
|
|
|
- this.isPreview = false
|
|
|
+ this.isPreviewing = false
|
|
|
},
|
|
|
viewProgram (id) {
|
|
|
- console.log(id)
|
|
|
window.open(this.$router.resolve({
|
|
|
name: 'view',
|
|
|
params: { id }
|