From 83523284c40666a99543785f1f717bddde06bd6e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=A5=B6=E7=A7=8B=E9=9C=96?= <3435598628@qq.com> Date: Sun, 1 Dec 2024 21:37:47 +0800 Subject: [PATCH] C --- api/system/login.js | 44 +++++++ views/login/index.vue | 283 ++++++++++++++++++++++++++++++++++++++++++ views/new_file.html | 67 ---------- views/new_file2.html | 48 ------- 4 files changed, 327 insertions(+), 115 deletions(-) create mode 100644 api/system/login.js create mode 100644 views/login/index.vue delete mode 100644 views/new_file.html delete mode 100644 views/new_file2.html diff --git a/api/system/login.js b/api/system/login.js new file mode 100644 index 0000000..0c1bdaf --- /dev/null +++ b/api/system/login.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询登录列表 +export function listLogin(query) { + return request({ + url: '/system/login/list', + method: 'get', + params: query + }) +} + +// 查询登录详细 +export function getLogin(id) { + return request({ + url: '/system/login/' + id, + method: 'get' + }) +} + +// 新增登录 +export function addLogin(data) { + return request({ + url: '/system/login', + method: 'post', + data: data + }) +} + +// 修改登录 +export function updateLogin(data) { + return request({ + url: '/system/login', + method: 'put', + data: data + }) +} + +// 删除登录 +export function delLogin(id) { + return request({ + url: '/system/login/' + id, + method: 'delete' + }) +} diff --git a/views/login/index.vue b/views/login/index.vue new file mode 100644 index 0000000..0ca20e4 --- /dev/null +++ b/views/login/index.vue @@ -0,0 +1,283 @@ + + + diff --git a/views/new_file.html b/views/new_file.html deleted file mode 100644 index 554fd26..0000000 --- a/views/new_file.html +++ /dev/null @@ -1,67 +0,0 @@ - - - - - - - Medical Information - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - \ No newline at end of file diff --git a/views/new_file2.html b/views/new_file2.html deleted file mode 100644 index d3fac6b..0000000 --- a/views/new_file2.html +++ /dev/null @@ -1,48 +0,0 @@ - - - - - - - User Information - - - - - - -
- - - - - - - - - - - - - -
- - - - - \ No newline at end of file