1
lzhe
2024-10-06 31f08375ddf2b7d0937fd222f9df4d2a6b3d9115
src/views/console/workstation/Dialog.vue
@@ -323,9 +323,10 @@
                Object.keys(this.form).forEach(key => {
                    this.form[key] = params[key]
                })
                if (this.form.calendarCode) this.form.calendarCodeWaiting = this.form.calendarCodeWaiting || this.form.calendarCode
                this.$HTTP.get(`/api/blade-cps/workstation/get?workstationId=${params.id}`).then(res => {
                    this.form = res?.data
                    if (this.form.calendarCode && !this.form.calendarCodeWaiting) this.form.calendarCodeWaiting = this.form.calendarCode
                    this.$HTTP.get(`/api/blade-cps/workstation-workbench/listWorkbench?workstationId=${params.id}`).then(res => {
                        this.form.workbenchVOList = res?.data?.workstationList || []
                    })