From 45d95752f9956c0ea7b7063308970120b92f3b8a Mon Sep 17 00:00:00 2001 From: cwchen <1048842385@qq.com> Date: Fri, 18 Apr 2025 16:04:52 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=86=E5=85=AC=E5=8F=B8=E7=AE=A1=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/system/branchCompany.js | 55 ++++++ src/views/system/branchCompany/index.vue | 175 ++++++++++++++++++ .../branchCompany/prop/branchCompanypop.vue | 169 +++++++++++++++++ 3 files changed, 399 insertions(+) create mode 100644 src/api/system/branchCompany.js create mode 100644 src/views/system/branchCompany/index.vue create mode 100644 src/views/system/branchCompany/prop/branchCompanypop.vue diff --git a/src/api/system/branchCompany.js b/src/api/system/branchCompany.js new file mode 100644 index 00000000..276c65d9 --- /dev/null +++ b/src/api/system/branchCompany.js @@ -0,0 +1,55 @@ +import request from '@/utils/request'; + +// 查询分公司列表 +export function queryBranchCompanyList(query) { + return request({ + url: '/smart-site/branchCompany/queryBranchCompanyList', + method: 'get', + params: query + }) +} + +// 分公司-新增 +export function addBranchCompany(data) { + return request({ + url: '/smart-site/branchCompany/addBranchCompany', + method: 'post', + data + }) +} + +// 分公司-修改 +export function editBranchCompany(data) { + return request({ + url: '/smart-site/branchCompany/editBranchCompany', + method: 'post', + data + }) +} + +// 分公司-删除 +export function delBranchCompany(data) { + return request({ + url: '/smart-site/branchCompany/delBranchCompany', + method: 'post', + data + }) +} + +// 分公司详情 +export function detailBranchCompany(query) { + return request({ + url: '/smart-site/branchCompany/detailBranchCompany', + method: 'get', + params: query + }) +} + +// 分公司-修改状态 +export function editBranchCompanyStatus(data) { + return request({ + url: '/smart-site/branchCompany/editBranchCompanyStatus', + method: 'post', + data + }) +} \ No newline at end of file diff --git a/src/views/system/branchCompany/index.vue b/src/views/system/branchCompany/index.vue new file mode 100644 index 00000000..8426331f --- /dev/null +++ b/src/views/system/branchCompany/index.vue @@ -0,0 +1,175 @@ + + + \ No newline at end of file diff --git a/src/views/system/branchCompany/prop/branchCompanypop.vue b/src/views/system/branchCompany/prop/branchCompanypop.vue new file mode 100644 index 00000000..621b8909 --- /dev/null +++ b/src/views/system/branchCompany/prop/branchCompanypop.vue @@ -0,0 +1,169 @@ + + +