diff --git a/ruoyi-ui/src/api/database/wangbingyan.js b/ruoyi-ui/src/api/database/wangbingyan.js new file mode 100644 index 000000000..c760cb0a3 --- /dev/null +++ b/ruoyi-ui/src/api/database/wangbingyan.js @@ -0,0 +1,53 @@ +import request from '@/utils/request' + +// 查询王冰堰列表 +export function listWangbingyan(query) { + return request({ + url: '/database/product/list', + method: 'get', + params: query + }) +} + +// 查询王冰堰详细 +export function getWangbingyan(id) { + return request({ + url: '/database/product/' + id, + method: 'get' + }) +} + +// 新增王冰堰 +export function addWangbingyan(data) { + return request({ + url: '/database/product', + method: 'post', + data: data + }) +} + +// 修改王冰堰 +export function updateWangbingyan(data) { + return request({ + url: '/database/product', + method: 'put', + data: data + }) +} + +// 删除王冰堰 +export function delWangbingyan(id) { + return request({ + url: '/database/product/' + id, + method: 'delete' + }) +} + +// 导出王冰堰 +export function exportWangbingyan(query) { + return request({ + url: '/database/product/export', + method: 'get', + params: query + }) +} \ No newline at end of file diff --git a/ruoyi-ui/src/router/index.js b/ruoyi-ui/src/router/index.js index c78bd1d25..eaeb0cf48 100644 --- a/ruoyi-ui/src/router/index.js +++ b/ruoyi-ui/src/router/index.js @@ -124,6 +124,12 @@ export const constantRoutes = [ component: () => import('@/views/database/zhangjialin/index'), name: 'Zhangjialin', meta: { title: '张佳琳', icon: 'user' } + }, + { + path: 'wangbingyan', + component: () => import('@/views/database/wangbingyan/index'), + name: 'Wangbingyan', + meta: { title: '王冰堰', icon: 'user' } } ] }, diff --git a/ruoyi-ui/src/views/database/wangbingyan/index.vue b/ruoyi-ui/src/views/database/wangbingyan/index.vue new file mode 100644 index 000000000..59bab19da --- /dev/null +++ b/ruoyi-ui/src/views/database/wangbingyan/index.vue @@ -0,0 +1,220 @@ + + + + + + + + + + 搜索 + 重置 + + + + + + + + 新增 + 修改 + 删除 + 导出 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file