Quellcode durchsuchen

feat:作业指导书接口更正

hmc vor 11 Monaten
Ursprung
Commit
6c421e8a79
1 geänderte Dateien mit 53 neuen und 0 gelöschten Zeilen
  1. 53 0
      zkqy-ui/src/api/amichi/customerinformation/information.js

+ 53 - 0
zkqy-ui/src/api/amichi/customerinformation/information.js

@@ -0,0 +1,53 @@
+import request from '@/utils/request'
+
+// 查询客户信息列表
+export function listInformation(query) {
+  return request({
+    url: '/amichi/customerinformation/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询客户信息列表
+export function listInformationList(query) {
+  return request({
+    url: '/amichi/customerinformation/listInfo',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询客户信息详细
+export function getInformation(id) {
+  return request({
+    url: '/amichi/customerinformation/' + id,
+    method: 'get'
+  })
+}
+
+// 新增客户信息
+export function addInformation(data) {
+  return request({
+    url: '/amichi/customerinformation',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改客户信息
+export function updateInformation(data) {
+  return request({
+    url: '/amichi/customerinformation',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除客户信息
+export function delInformation(id) {
+  return request({
+    url: '/amichi/customerinformation/' + id,
+    method: 'delete'
+  })
+}