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 @@
-
重置
-
- +