From b3e4d2793ac80c49478115d8547cd94c521b8942 Mon Sep 17 00:00:00 2001 From: laozt <2721205210@qq.com> Date: Wed, 13 Dec 2023 17:10:25 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9A=82=E5=AD=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/yingji/new.js | 44 +++++++ src/views/components/dialog/index.vue | 182 ++++++++++++++++---------- 2 files changed, 154 insertions(+), 72 deletions(-) create mode 100644 src/api/yingji/new.js diff --git a/src/api/yingji/new.js b/src/api/yingji/new.js new file mode 100644 index 0000000..a027273 --- /dev/null +++ b/src/api/yingji/new.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询企业新列表 +export function listNew(query) { + return request({ + url: '/programManagement/new/list', + method: 'get', + params: query + }) +} + +// 查询企业新详细 +export function getNew(id) { + return request({ + url: '/system/new/' + id, + method: 'get' + }) +} + +// 新增企业新 +export function addNew(data) { + return request({ + url: '/system/new', + method: 'post', + data: data + }) +} + +// 修改企业新 +export function updateNew(data) { + return request({ + url: '/system/new', + method: 'put', + data: data + }) +} + +// 删除企业新 +export function delNew(id) { + return request({ + url: '/system/new/' + id, + method: 'delete' + }) +} \ No newline at end of file diff --git a/src/views/components/dialog/index.vue b/src/views/components/dialog/index.vue index f4025f2..2495b17 100644 --- a/src/views/components/dialog/index.vue +++ b/src/views/components/dialog/index.vue @@ -22,7 +22,7 @@
@@ -30,7 +30,7 @@
@@ -38,7 +38,7 @@
@@ -81,7 +81,6 @@
-
重置
-
- +