gaoshp
2024-11-03 3e091224ab26252d8624b42b461ba773ee8bee0f
src/views/console/base/Dialog.vue
@@ -295,11 +295,11 @@
                    let res
                    try {
                        if (this.form.id) {
                            res = await this.$HTTP.put('/api/blade-cps/shift', data).catch(() => {
                            res = await this.$HTTP.put('/api/smis/shift', data).catch(() => {
                                throw new Error()
                            })
                        } else {
                            res = await this.$HTTP.post('/api/blade-cps/shift', data).catch(() => {
                            res = await this.$HTTP.post('/api/smis/shift', data).catch(() => {
                                throw new Error()
                            })
                        }