From e430671f4a51cbb954aeddcf526f643351b7d4e9 Mon Sep 17 00:00:00 2001 From: lxg Date: Thu, 3 Aug 2023 15:53:25 +0800 Subject: [PATCH] lixg commit --- src/api/model/paramclass.js | 53 ++++++ src/views/model/paramclass/index.vue | 253 +++++++++++++++++++++++++++ 2 files changed, 306 insertions(+) create mode 100644 src/api/model/paramclass.js create mode 100644 src/views/model/paramclass/index.vue diff --git a/src/api/model/paramclass.js b/src/api/model/paramclass.js new file mode 100644 index 0000000..1f2f0f2 --- /dev/null +++ b/src/api/model/paramclass.js @@ -0,0 +1,53 @@ +import request from '@/utils/request' + +// 查询参数模型信息列表 +export function listParamclass(query) { + return request({ + url: '/model/dcModelParamclass/list', + method: 'get', + params: query + }) +} + +// 查询参数模型信息详细 +export function getParamclass(id) { + return request({ + url: '/model/dcModelParamclass/' + id, + method: 'get' + }) +} + +// 新增参数模型信息 +export function addParamclass(data) { + return request({ + url: '/model/dcModelParamclass', + method: 'post', + data: data + }) +} + +// 修改参数模型信息 +export function updateParamclass(data) { + return request({ + url: '/model/dcModelParamclass', + method: 'put', + data: data + }) +} + +// 删除参数模型信息 +export function delParamclass(id) { + return request({ + url: '/model/dcModelParamclass/' + id, + method: 'delete' + }) +} + +// 导出参数模型信息 +export function exportParamclass(query) { + return request({ + url: '/${baseUrl}/export', + method: 'get', + params: query + }) +} \ No newline at end of file diff --git a/src/views/model/paramclass/index.vue b/src/views/model/paramclass/index.vue new file mode 100644 index 0000000..f60b7d6 --- /dev/null +++ b/src/views/model/paramclass/index.vue @@ -0,0 +1,253 @@ + + +