diff --git a/src/views/login/index.vue b/src/views/login/index.vue index b6cb958..04aa579 100644 --- a/src/views/login/index.vue +++ b/src/views/login/index.vue @@ -109,13 +109,14 @@ async function handleLogin() { lStorage.remove('loginInfo') } await addDynamicRoutes() - if (query.redirect) { - const path = query.redirect - Reflect.deleteProperty(query, 'redirect') - router.push({ path, query }) - } else { - router.push('/workbench') - } + // if (query.redirect) { + // const path = query.redirect + // Reflect.deleteProperty(query, 'redirect') + // router.push({ path, query }) + // } else { + // router.push('/workbench') + // } + router.push('/workbench') } catch (error) { $message.removeMessage() } diff --git a/src/views/system/payMag/api.js b/src/views/system/payMag/api.js new file mode 100644 index 0000000..c41c337 --- /dev/null +++ b/src/views/system/payMag/api.js @@ -0,0 +1,7 @@ +import { request } from '@/utils' + +export default { + getData: (data) => request.post('/paytype/list', data), + add: (data) => request.post('/paytype/add', data), + edit: (data) => request.post('/paytype/edit', data), +} diff --git a/src/views/system/payMag/index.vue b/src/views/system/payMag/index.vue new file mode 100644 index 0000000..cc407a4 --- /dev/null +++ b/src/views/system/payMag/index.vue @@ -0,0 +1,283 @@ + + + + +