1
lzhe
2024-11-02 e1bbf2e1ead77183e75aca8f511cf49ba53f8a74
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()
                            })
                        }