diff --git a/src/api/ranger.js b/src/api/ranger.js
index 5488d07180a8b01edd811c77647377962d98c053..48ae1187c71b5345b64577c83d8aef1a6003253d 100644
--- a/src/api/ranger.js
+++ b/src/api/ranger.js
@@ -70,3 +70,22 @@ export function getExemptionApi(id) {
export function updateExemptionApi(data) {
return putReq(`/ranger/inspection/api/v1/exemptions`, data);
}
+
+export function addMajorApi(data) {
+ return postReq(`/ranger/inspection/api/v1/specialities`, data);
+}
+export function updateMajorApi(data) {
+ return putReq('/ranger/inspection/api/v1/specialities', data);
+}
+
+export function getMajorInfoApi(id) {
+ return getReq(`/ranger/inspection/api/v1/specialities/${id}`);
+}
+
+export function getOrganizationUserApi(id) {
+ return getReq(`/api/v1/users/organizations/${id}`);
+}
+
+export function addSpecialitiesStaffsApi(data) {
+ return postReq(`/ranger/inspection/api/v1/specialities/staffs`, data);
+}
diff --git a/src/pages/oceanus/equipment/Left/OrganizationTree.vue b/src/pages/oceanus/equipment/Left/OrganizationTree.vue
index da83e55f94b32ad13c499ecac675ae830caf0497..96dc167c563b8d3707bed3e4402a0ddd3af291f1 100644
--- a/src/pages/oceanus/equipment/Left/OrganizationTree.vue
+++ b/src/pages/oceanus/equipment/Left/OrganizationTree.vue
@@ -12,10 +12,11 @@
@change="onChange"
/>
-
+
diff --git a/src/pages/ranger/basic/major/add_member.vue b/src/pages/ranger/basic/major/add_member.vue
new file mode 100644
index 0000000000000000000000000000000000000000..5915e562c1c47770cb92bfecfd675cf266a2d7c4
--- /dev/null
+++ b/src/pages/ranger/basic/major/add_member.vue
@@ -0,0 +1,80 @@
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/pages/ranger/basic/major/index.js b/src/pages/ranger/basic/major/index.js
new file mode 100644
index 0000000000000000000000000000000000000000..65e6b7ac8be7b3cdd19dfcbd0fd73f92df8aa640
--- /dev/null
+++ b/src/pages/ranger/basic/major/index.js
@@ -0,0 +1,3 @@
+import Index from './index.vue';
+
+export default Index;
diff --git a/src/pages/ranger/basic/major/index.vue b/src/pages/ranger/basic/major/index.vue
new file mode 100644
index 0000000000000000000000000000000000000000..26eac089c647c5764b4572f4c7deb30eac6e2b79
--- /dev/null
+++ b/src/pages/ranger/basic/major/index.vue
@@ -0,0 +1,73 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/pages/ranger/basic/major/member.vue b/src/pages/ranger/basic/major/member.vue
new file mode 100644
index 0000000000000000000000000000000000000000..841702b8db3b676c4938dd589b8315114f6b746b
--- /dev/null
+++ b/src/pages/ranger/basic/major/member.vue
@@ -0,0 +1,63 @@
+
+
+
+
+
+
+
diff --git a/src/router/config.js b/src/router/config.js
index cc4e3a13ae0e14a6c12dae2515ebaf16851096f2..b21d25ea07a1e490fa662e54c27368bc8142aa0a 100644
--- a/src/router/config.js
+++ b/src/router/config.js
@@ -81,6 +81,13 @@ const hasAuthorityRoutes = [
component: () => import('@/pages/ranger/basic/unit'),
},
{
+
+ path: 'major',
+ name: '专业配置',
+ component: () => import('@/pages/ranger/basic/major'),
+ },
+ {
+
path: 'item',
name: '项目配置',
component: () => import('@/pages/ranger/basic/item'),