gaoshp
2024-11-05 e2fdfe540eaf160dc7d063c60667041edcc64e86
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()
                            })
                        }