From 37f8463032c06236bfd098133c31cda51217b00f Mon Sep 17 00:00:00 2001
From: yanzhaofeige <yanzhaofeige@qq.com>
Date: Wed, 09 Oct 2024 23:08:37 +0800
Subject: [PATCH] 数据中心编号处理

---
 cpzidc-ui/src/api/bis/idcTelCode.js |   44 ++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 44 insertions(+), 0 deletions(-)

diff --git a/cpzidc-ui/src/api/bis/idcTelCode.js b/cpzidc-ui/src/api/bis/idcTelCode.js
new file mode 100644
index 0000000..3409ff8
--- /dev/null
+++ b/cpzidc-ui/src/api/bis/idcTelCode.js
@@ -0,0 +1,44 @@
+import request from '@/utils/request'
+
+// 查询电话区号列表
+export function listIdcTelCode(query) {
+  return request({
+    url: '/bis/idcTelCode/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询电话区号详细
+export function getIdcTelCode(id) {
+  return request({
+    url: '/bis/idcTelCode/' + id,
+    method: 'get'
+  })
+}
+
+// 新增电话区号
+export function addIdcTelCode(data) {
+  return request({
+    url: '/bis/idcTelCode',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改电话区号
+export function updateIdcTelCode(data) {
+  return request({
+    url: '/bis/idcTelCode',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除电话区号
+export function delIdcTelCode(id) {
+  return request({
+    url: '/bis/idcTelCode/' + id,
+    method: 'delete'
+  })
+}

--
Gitblit v1.9.3